''.NET'' is a platform that includes components that apply to different types of apps. For example
<div class="tc-advanced-search"> <<tabs "[all[shadows+tiddlers]tag[$:/tags/AdvancedSearch]!has[draft.of]]" "$:/core/ui/AdvancedSearch/System">> </div>
\define getTiddlerCreation(tiddlerName) <$transclude tiddler=$tiddlerName$ field="created"/> \end
/** * GitHub Gist Theme * Author : Louis Barranqueiro - https://github.com/LouisBarranqueiro */ .hljs { display: block; background: white; padding: 0.5em; color: #333333; overflow-x: auto; } .hljs-comment, .hljs-meta { color: #969896; } .hljs-string, .hljs-variable, .hljs-template-variable, .hljs-strong, .hljs-emphasis, .hljs-quote { color: #df5000; } .hljs-keyword, .hljs-selector-tag, .hljs-type { color: #a71d5d; } .hljs-literal, .hljs-symbol, .hljs-bullet, .hljs-attribute { color: #0086b3; } .hljs-section, .hljs-name { color: #63a35c; } .hljs-tag { color: #333333; } .hljs-title, .hljs-attr, .hljs-selector-id, .hljs-selector-class, .hljs-selector-attr, .hljs-selector-pseudo { color: #795da3; } .hljs-addition { color: #55a532; background-color: #eaffea; } .hljs-deletion { color: #bd2c00; background-color: #ffecec; } .hljs-link { text-decoration: underline; }
@@color:red; Incomplete: Needs more work @@
\define _reveal_inline(buttonText, content) <$reveal type="nomatch" state=<<qualify "$:/temp/popup">> text="show"><$button class="tc-btn-invisible" set=<<qualify "$:/temp/popup">> setTo="show">@@color: #7897f3; + $buttonText$ @@</$button> </$reveal> <$reveal type="match" state=<<qualify "$:/temp/popup">> text="show"> <$button class="tc-btn-invisible" set=<<qualify "$:/temp/popup">> setTo="hide">@@color: #7897f3; - $buttonText$ @@</$button> <div style="border-width:1px; border-color:black;"> $content$ </div> </$reveal> \end
<<_reveal_inline "Title" """{{imageTiddlerTitle}}""">>
\define _link(label, createVal) <$list filter="[field:created[$createVal$]first[]]"> <$link to={{!!title}}> $label$ </$link> </$list> \end
<<list-links "[contains:contained-by[TIDDLERTITLE]sort[title]]">>
<<list-links "[contains:property-of[TIDDLERTITLE]sort[title]]">>
<<list-links "[contains:sources[TIDDLERTITLE]sort[title]]">>
.jd-search-buttons { background-color: #ffffff; } .jd-searchbar { border-radius: 5px; box-shadow: 0 3px 2px rgba(0,0,0,0.19), 0 3px 3px rgba(0,0,0,0.23); } .tc-tab-set { background-color: #ffffff; padding: 4px; border-radius: 10px; } .tc-titlebar { font-size: 1.8em; line-height: 1.5; z-index: 0; } /* Changes the title font thickness */ /* .tc-title { font-weight: 400; } */ .tc-subtitle { display: none; } .tc-tags-wrapper { display: none; } .tc-tiddler-frame { padding: 10px 10px 2px 10px; margin: 5px 0px 2px 0px; box-shadow: 0 6px 5px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); border-radius: 10px; z-index: -1 } .tc-story-river { padding: 0px 15px 0px 20px; } /*For left sided menu*/ /*.tc-tiddler-frame { padding: 10px 0px 0px 0px; margin-bottom: 0px; border: 0px; } .tc-story-river { padding: 10px 15px 0px 0px; left: 350px; width: auto; } .tc-sidebar-scrollable { left: 0; width: 350px; margin: 0; padding: 30px 10px 10px 25px; }*/
\define _note(text:"Text goes here") <$reveal type="nomatch" state=<<qualify "$:/temp/popup">> text="show"> <$button class="tc-btn-invisible" set=<<qualify "$:/temp/popup">> setTo="show">@@color: #7897f3; Show Note @@</$button> </$reveal> <$reveal type="match" state=<<qualify "$:/temp/popup">> text="show"> <$button class="tc-btn-invisible" set=<<qualify "$:/temp/popup">> setTo="hide">@@color: #7897f3; Hide Note @@</$button> $text$ </$reveal> \end
[img width=700 []]
//References:// <<list-links filter:"[<currentTiddler>backlinks[]]">>
<$reveal type="nomatch" state=<<qualify "$:/temp/popup">> text="show"> <$button class="tc-btn-invisible" set=<<qualify "$:/temp/popup">> setTo="show"> @@color: #7897f3;+ References@@</$button> </$reveal> <$reveal type="match" state=<<qualify "$:/temp/popup">> text="show"> <$button class="tc-btn-invisible" set=<<qualify "$:/temp/popup">> setTo="hide">@@color: #7897f3; - References @@</$button> <<list-links filter:"[field:references<currentTiddler>]">> </$reveal>
{{Transclusion||$:/core/ui/TagTemplate}}
\define _reveal(buttonText, content) <$reveal type="nomatch" state=<<qualify "$:/temp/popup">> text="show"> <$button class="tc-btn-invisible" set=<<qualify "$:/temp/popup">> setTo="show">@@color: #7897f3; + $buttonText$ @@</$button> </$reveal> <$reveal type="match" state=<<qualify "$:/temp/popup">> text="show"> <$button class="tc-btn-invisible" set=<<qualify "$:/temp/popup">> setTo="hide">@@color: #7897f3; - $buttonText$ @@</$button> <div style="border-width:1px; border-color:black;"> $content$ </div> </$reveal> \end
<<_reveal "Title" """ Content goes here! :) """>>
<div class="tc-table-of-contents"> <<toc-tabbed-internal-nav 'TableOfContents' sort[title]>> </div>
{{<currentTiddler> || $:/agneuhold/TableOfContentsTemplate}}
<<tabs "[tag[tag title]]">>
\define _transclude(tiddlerName, textToUse) <$reveal type="nomatch" state=<<qualify $tiddlerName$>> text="show"> <$button set=<<qualify $tiddlerName$>> setTo="show"> + $textToUse$ </$button> </$reveal> <$reveal type="match" state=<<qualify $tiddlerName$>> text="show"> <$button set=<<qualify $tiddlerName$>> setTo="hide"> - $textToUse$ </$button> [[$tiddlerName$]]: {{$tiddlerName$}} </$reveal> \end
<<_transclude "title" "text">>
{{ Title ||$:/agneuhold/TransclusionTemplate}}
!!{{!!title}} {{!!text}}
Built from branch 'tiddlywiki-com' at commit 61db047870c630d93f0817b48e31da4384d0c4e9 of https://github.com/Jermolene/TiddlyWiki5.git at 2019-04-12 10:47:40 UTC
350
yes
Sources
no
show
hide
show
show
hide
hide
hide
show
show
hide
hide
show
list
list
list
list
hide
hide
forward
tiddlers
title
system
above
top
permaview
yes
hide
show
hide
hide
hide
hide
hide
no
yes
yes
no
yes
yes
yes
yes
yes
yes
no
no
yes
100
yes
sticky
no
no
tc-btn-invisible
no
show
show
hide
show
disable
<div class="tc-control-panel"> <<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel]!has[draft.of]]" "$:/core/ui/ControlPanel/Info">> </div>
{ "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|http://pivotal.github.io/jasmine/]]\n* [[Normalize.css by Nicolas Gallagher|http://necolas.github.io/normalize.css/]]\n\nAnd media from these projects:\n\n* World flag icons from [[Wikipedia|http://commons.wikimedia.org/wiki/Category:SVG_flags_by_country]]\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-2018, 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": "<svg width=\"22pt\" height=\"22pt\" 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": "<svg class=\"tc-image-add-comment tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\"><path d=\"M56 56H36a8 8 0 1 0 0 16h20v20a8 8 0 1 0 16 0V72h20a8 8 0 1 0 0-16H72V36a8 8 0 1 0-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\" fill-rule=\"evenodd\"/></svg>" }, "$:/core/images/advanced-search-button": { "title": "$:/core/images/advanced-search-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-advanced-search-button tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M74.5651535,87.9848361 C66.9581537,93.0488876 57.8237115,96 48,96 C21.490332,96 0,74.509668 0,48 C0,21.490332 21.490332,0 48,0 C74.509668,0 96,21.490332 96,48 C96,57.8541369 93.0305793,67.0147285 87.9377231,74.6357895 L122.284919,108.982985 C125.978897,112.676963 125.973757,118.65366 122.284271,122.343146 C118.593975,126.033442 112.613238,126.032921 108.92411,122.343793 L74.5651535,87.9848361 Z M48,80 C65.673112,80 80,65.673112 80,48 C80,30.326888 65.673112,16 48,16 C30.326888,16 16,30.326888 16,48 C16,65.673112 30.326888,80 48,80 Z\"></path>\n <circle cx=\"48\" cy=\"48\" r=\"8\"></circle>\n <circle cx=\"28\" cy=\"48\" r=\"8\"></circle>\n <circle cx=\"68\" cy=\"48\" r=\"8\"></circle>\n </g>\n</svg>" }, "$:/core/images/auto-height": { "title": "$:/core/images/auto-height", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-auto-height tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <path d=\"M67.9867828,114.356363 L67.9579626,99.8785426 C67.9550688,98.4248183 67.1636987,97.087107 65.8909901,96.3845863 L49.9251455,87.5716209 L47.992126,95.0735397 L79.8995411,95.0735397 C84.1215894,95.0735397 85.4638131,89.3810359 81.686497,87.4948823 L49.7971476,71.5713518 L48.0101917,79.1500092 L79.992126,79.1500092 C84.2093753,79.1500092 85.5558421,73.4676733 81.7869993,71.5753162 L49.805065,55.517008 L48.0101916,63.0917009 L79.9921259,63.0917015 C84.2035118,63.0917016 85.5551434,57.4217887 81.7966702,55.5218807 L65.7625147,47.4166161 L67.9579705,50.9864368 L67.9579705,35.6148245 L77.1715737,44.8284272 C78.7336709,46.3905243 81.2663308,46.3905243 82.8284279,44.8284271 C84.390525,43.2663299 84.390525,40.7336699 82.8284278,39.1715728 L66.8284271,23.1715728 C65.2663299,21.6094757 62.73367,21.6094757 61.1715729,23.1715729 L45.1715729,39.1715729 C43.6094757,40.73367 43.6094757,43.26633 45.1715729,44.8284271 C46.73367,46.3905243 49.26633,46.3905243 50.8284271,44.8284271 L59.9579705,35.6988837 L59.9579705,50.9864368 C59.9579705,52.495201 60.806922,53.8755997 62.1534263,54.5562576 L78.1875818,62.6615223 L79.9921261,55.0917015 L48.0101917,55.0917009 C43.7929424,55.0917008 42.4464755,60.7740368 46.2153183,62.6663939 L78.1972526,78.7247021 L79.992126,71.1500092 L48.0101917,71.1500092 C43.7881433,71.1500092 42.4459197,76.842513 46.2232358,78.7286665 L78.1125852,94.6521971 L79.8995411,87.0735397 L47.992126,87.0735397 C43.8588276,87.0735397 42.4404876,92.5780219 46.0591064,94.5754586 L62.024951,103.388424 L59.9579785,99.8944677 L59.9867142,114.32986 L50.8284271,105.171573 C49.26633,103.609476 46.73367,103.609476 45.1715729,105.171573 C43.6094757,106.73367 43.6094757,109.26633 45.1715729,110.828427 L61.1715729,126.828427 C62.73367,128.390524 65.2663299,128.390524 66.8284271,126.828427 L82.8284278,110.828427 C84.390525,109.26633 84.390525,106.73367 82.8284279,105.171573 C81.2663308,103.609476 78.7336709,103.609476 77.1715737,105.171573 L67.9867828,114.356363 L67.9867828,114.356363 Z M16,20 L112,20 C114.209139,20 116,18.209139 116,16 C116,13.790861 114.209139,12 112,12 L16,12 C13.790861,12 12,13.790861 12,16 C12,18.209139 13.790861,20 16,20 L16,20 Z\"></path>\n</svg>" }, "$:/core/images/blank": { "title": "$:/core/images/blank", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-blank tc-image-button\" viewBox=\"0 0 128 128\" width=\"22pt\" height=\"22pt\"></svg>" }, "$:/core/images/bold": { "title": "$:/core/images/bold", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-bold tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M41.1456583,51.8095238 L41.1456583,21.8711485 L67.4985994,21.8711485 C70.0084159,21.8711485 72.4285598,22.0802967 74.7591036,22.4985994 C77.0896475,22.9169022 79.1512515,23.6638602 80.9439776,24.7394958 C82.7367036,25.8151314 84.170863,27.3090474 85.2464986,29.2212885 C86.3221342,31.1335296 86.859944,33.5835518 86.859944,36.5714286 C86.859944,41.9496067 85.2465147,45.8337882 82.0196078,48.2240896 C78.792701,50.614391 74.6694929,51.8095238 69.6498599,51.8095238 L41.1456583,51.8095238 Z M13,0 L13,128 L75.0280112,128 C80.7647346,128 86.3519803,127.28292 91.789916,125.848739 C97.2278517,124.414559 102.068139,122.203563 106.310924,119.215686 C110.553709,116.22781 113.929959,112.373506 116.439776,107.652661 C118.949592,102.931816 120.204482,97.3445701 120.204482,90.8907563 C120.204482,82.8832466 118.262391,76.0411115 114.378151,70.3641457 C110.493911,64.6871798 104.607883,60.7133634 96.719888,58.442577 C102.456611,55.6937304 106.788968,52.1680887 109.717087,47.8655462 C112.645206,43.5630037 114.109244,38.1849062 114.109244,31.7310924 C114.109244,25.7553389 113.123259,20.7357813 111.151261,16.6722689 C109.179262,12.6087565 106.400578,9.35201972 102.815126,6.90196078 C99.2296739,4.45190185 94.927196,2.68908101 89.907563,1.61344538 C84.8879301,0.537809748 79.3305627,0 73.2352941,0 L13,0 Z M41.1456583,106.128852 L41.1456583,70.9915966 L71.8011204,70.9915966 C77.896389,70.9915966 82.7964334,72.3958776 86.5014006,75.2044818 C90.2063677,78.0130859 92.0588235,82.7039821 92.0588235,89.2773109 C92.0588235,92.6237329 91.4911355,95.3725383 90.3557423,97.5238095 C89.2203491,99.6750808 87.6965548,101.378145 85.7843137,102.633053 C83.8720726,103.887961 81.661077,104.784311 79.1512605,105.322129 C76.641444,105.859947 74.0121519,106.128852 71.2633053,106.128852 L41.1456583,106.128852 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/cancel-button": { "title": "$:/core/images/cancel-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-cancel-button tc-image-button\" viewBox=\"0 0 128 128\" width=\"22pt\" height=\"22pt\">\n\t<g fill-rule=\"evenodd\">\n\t <path d=\"M64,76.3137085 L47.0294734,93.2842351 C43.9038742,96.4098343 38.8399231,96.4084656 35.7157288,93.2842712 C32.5978915,90.166434 32.5915506,85.0947409 35.7157649,81.9705266 L52.6862915,65 L35.7157649,48.0294734 C32.5901657,44.9038742 32.5915344,39.8399231 35.7157288,36.7157288 C38.833566,33.5978915 43.9052591,33.5915506 47.0294734,36.7157649 L64,53.6862915 L80.9705266,36.7157649 C84.0961258,33.5901657 89.1600769,33.5915344 92.2842712,36.7157288 C95.4021085,39.833566 95.4084494,44.9052591 92.2842351,48.0294734 L75.3137085,65 L92.2842351,81.9705266 C95.4098343,85.0961258 95.4084656,90.1600769 92.2842712,93.2842712 C89.166434,96.4021085 84.0947409,96.4084494 80.9705266,93.2842351 L64,76.3137085 Z M64,129 C99.346224,129 128,100.346224 128,65 C128,29.653776 99.346224,1 64,1 C28.653776,1 1.13686838e-13,29.653776 1.13686838e-13,65 C1.13686838e-13,100.346224 28.653776,129 64,129 Z M64,113 C90.509668,113 112,91.509668 112,65 C112,38.490332 90.509668,17 64,17 C37.490332,17 16,38.490332 16,65 C16,91.509668 37.490332,113 64,113 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/chevron-down": { "title": "$:/core/images/chevron-down", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-chevron-down tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n\t<g fill-rule=\"evenodd\" transform=\"translate(64.000000, 40.500000) rotate(-270.000000) translate(-64.000000, -40.500000) translate(-22.500000, -26.500000)\">\n <path d=\"M112.743107,112.12741 C111.310627,113.561013 109.331747,114.449239 107.145951,114.449239 L27.9777917,114.449239 C23.6126002,114.449239 20.0618714,110.904826 20.0618714,106.532572 C20.0618714,102.169214 23.6059497,98.6159054 27.9777917,98.6159054 L99.2285381,98.6159054 L99.2285381,27.365159 C99.2285381,22.9999675 102.77295,19.4492387 107.145205,19.4492387 C111.508562,19.4492387 115.061871,22.993317 115.061871,27.365159 L115.061871,106.533318 C115.061871,108.71579 114.175869,110.694669 112.743378,112.127981 Z\" transform=\"translate(67.561871, 66.949239) rotate(-45.000000) translate(-67.561871, -66.949239) \"></path>\n <path d=\"M151.35638,112.12741 C149.923899,113.561013 147.94502,114.449239 145.759224,114.449239 L66.5910645,114.449239 C62.225873,114.449239 58.6751442,110.904826 58.6751442,106.532572 C58.6751442,102.169214 62.2192225,98.6159054 66.5910645,98.6159054 L137.841811,98.6159054 L137.841811,27.365159 C137.841811,22.9999675 141.386223,19.4492387 145.758478,19.4492387 C150.121835,19.4492387 153.675144,22.993317 153.675144,27.365159 L153.675144,106.533318 C153.675144,108.71579 152.789142,110.694669 151.356651,112.127981 Z\" transform=\"translate(106.175144, 66.949239) rotate(-45.000000) translate(-106.175144, -66.949239) \"></path>\n\t</g>\n</svg>" }, "$:/core/images/chevron-left": { "title": "$:/core/images/chevron-left", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-chevron-left tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\" version=\"1.1\">\n <g fill-rule=\"evenodd\" transform=\"translate(92.500000, 64.000000) rotate(-180.000000) translate(-92.500000, -64.000000) translate(6.000000, -3.000000)\">\n <path d=\"M112.743107,112.12741 C111.310627,113.561013 109.331747,114.449239 107.145951,114.449239 L27.9777917,114.449239 C23.6126002,114.449239 20.0618714,110.904826 20.0618714,106.532572 C20.0618714,102.169214 23.6059497,98.6159054 27.9777917,98.6159054 L99.2285381,98.6159054 L99.2285381,27.365159 C99.2285381,22.9999675 102.77295,19.4492387 107.145205,19.4492387 C111.508562,19.4492387 115.061871,22.993317 115.061871,27.365159 L115.061871,106.533318 C115.061871,108.71579 114.175869,110.694669 112.743378,112.127981 Z\" transform=\"translate(67.561871, 66.949239) rotate(-45.000000) translate(-67.561871, -66.949239) \"></path>\n <path d=\"M151.35638,112.12741 C149.923899,113.561013 147.94502,114.449239 145.759224,114.449239 L66.5910645,114.449239 C62.225873,114.449239 58.6751442,110.904826 58.6751442,106.532572 C58.6751442,102.169214 62.2192225,98.6159054 66.5910645,98.6159054 L137.841811,98.6159054 L137.841811,27.365159 C137.841811,22.9999675 141.386223,19.4492387 145.758478,19.4492387 C150.121835,19.4492387 153.675144,22.993317 153.675144,27.365159 L153.675144,106.533318 C153.675144,108.71579 152.789142,110.694669 151.356651,112.127981 Z\" transform=\"translate(106.175144, 66.949239) rotate(-45.000000) translate(-106.175144, -66.949239) \"></path>\n </g>\n</svg>" }, "$:/core/images/chevron-right": { "title": "$:/core/images/chevron-right", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-chevron-right tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\" transform=\"translate(-48.000000, -3.000000)\">\n <path d=\"M112.743107,112.12741 C111.310627,113.561013 109.331747,114.449239 107.145951,114.449239 L27.9777917,114.449239 C23.6126002,114.449239 20.0618714,110.904826 20.0618714,106.532572 C20.0618714,102.169214 23.6059497,98.6159054 27.9777917,98.6159054 L99.2285381,98.6159054 L99.2285381,27.365159 C99.2285381,22.9999675 102.77295,19.4492387 107.145205,19.4492387 C111.508562,19.4492387 115.061871,22.993317 115.061871,27.365159 L115.061871,106.533318 C115.061871,108.71579 114.175869,110.694669 112.743378,112.127981 Z\" transform=\"translate(67.561871, 66.949239) rotate(-45.000000) translate(-67.561871, -66.949239) \"></path>\n <path d=\"M151.35638,112.12741 C149.923899,113.561013 147.94502,114.449239 145.759224,114.449239 L66.5910645,114.449239 C62.225873,114.449239 58.6751442,110.904826 58.6751442,106.532572 C58.6751442,102.169214 62.2192225,98.6159054 66.5910645,98.6159054 L137.841811,98.6159054 L137.841811,27.365159 C137.841811,22.9999675 141.386223,19.4492387 145.758478,19.4492387 C150.121835,19.4492387 153.675144,22.993317 153.675144,27.365159 L153.675144,106.533318 C153.675144,108.71579 152.789142,110.694669 151.356651,112.127981 Z\" transform=\"translate(106.175144, 66.949239) rotate(-45.000000) translate(-106.175144, -66.949239) \"></path>\n </g>\n</svg>" }, "$:/core/images/chevron-up": { "title": "$:/core/images/chevron-up", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-chevron-up tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n\t<g fill-rule=\"evenodd\" transform=\"translate(64.000000, 89.500000) rotate(-90.000000) translate(-64.000000, -89.500000) translate(-22.500000, 22.500000)\">\n <path d=\"M112.743107,112.12741 C111.310627,113.561013 109.331747,114.449239 107.145951,114.449239 L27.9777917,114.449239 C23.6126002,114.449239 20.0618714,110.904826 20.0618714,106.532572 C20.0618714,102.169214 23.6059497,98.6159054 27.9777917,98.6159054 L99.2285381,98.6159054 L99.2285381,27.365159 C99.2285381,22.9999675 102.77295,19.4492387 107.145205,19.4492387 C111.508562,19.4492387 115.061871,22.993317 115.061871,27.365159 L115.061871,106.533318 C115.061871,108.71579 114.175869,110.694669 112.743378,112.127981 Z\" transform=\"translate(67.561871, 66.949239) rotate(-45.000000) translate(-67.561871, -66.949239) \"></path>\n <path d=\"M151.35638,112.12741 C149.923899,113.561013 147.94502,114.449239 145.759224,114.449239 L66.5910645,114.449239 C62.225873,114.449239 58.6751442,110.904826 58.6751442,106.532572 C58.6751442,102.169214 62.2192225,98.6159054 66.5910645,98.6159054 L137.841811,98.6159054 L137.841811,27.365159 C137.841811,22.9999675 141.386223,19.4492387 145.758478,19.4492387 C150.121835,19.4492387 153.675144,22.993317 153.675144,27.365159 L153.675144,106.533318 C153.675144,108.71579 152.789142,110.694669 151.356651,112.127981 Z\" transform=\"translate(106.175144, 66.949239) rotate(-45.000000) translate(-106.175144, -66.949239) \"></path>\n\t</g>\n</svg>" }, "$:/core/images/clone-button": { "title": "$:/core/images/clone-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-clone-button tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M32.2650915,96 L32.2650915,120.002359 C32.2650915,124.419334 35.8432884,128 40.2627323,128 L120.002359,128 C124.419334,128 128,124.421803 128,120.002359 L128,40.2627323 C128,35.8457573 124.421803,32.2650915 120.002359,32.2650915 L96,32.2650915 L96,48 L108.858899,48 C110.519357,48 111.853018,49.3405131 111.853018,50.9941198 L111.853018,108.858899 C111.853018,110.519357 110.512505,111.853018 108.858899,111.853018 L50.9941198,111.853018 C49.333661,111.853018 48,110.512505 48,108.858899 L48,96 L32.2650915,96 Z\"></path>\n <path d=\"M40,56 L32.0070969,56 C27.5881712,56 24,52.418278 24,48 C24,43.5907123 27.5848994,40 32.0070969,40 L40,40 L40,32.0070969 C40,27.5881712 43.581722,24 48,24 C52.4092877,24 56,27.5848994 56,32.0070969 L56,40 L63.9929031,40 C68.4118288,40 72,43.581722 72,48 C72,52.4092877 68.4151006,56 63.9929031,56 L56,56 L56,63.9929031 C56,68.4118288 52.418278,72 48,72 C43.5907123,72 40,68.4151006 40,63.9929031 L40,56 Z M7.9992458,0 C3.58138434,0 0,3.5881049 0,7.9992458 L0,88.0007542 C0,92.4186157 3.5881049,96 7.9992458,96 L88.0007542,96 C92.4186157,96 96,92.4118951 96,88.0007542 L96,7.9992458 C96,3.58138434 92.4118951,0 88.0007542,0 L7.9992458,0 Z M19.0010118,16 C17.3435988,16 16,17.336731 16,19.0010118 L16,76.9989882 C16,78.6564012 17.336731,80 19.0010118,80 L76.9989882,80 C78.6564012,80 80,78.663269 80,76.9989882 L80,19.0010118 C80,17.3435988 78.663269,16 76.9989882,16 L19.0010118,16 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/close-all-button": { "title": "$:/core/images/close-all-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-close-all-button tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\" transform=\"translate(-23.000000, -23.000000)\">\n <path d=\"M43,131 L22.9976794,131 C18.5827987,131 15,127.418278 15,123 C15,118.590712 18.5806831,115 22.9976794,115 L43,115 L43,94.9976794 C43,90.5827987 46.581722,87 51,87 C55.4092877,87 59,90.5806831 59,94.9976794 L59,115 L79.0023206,115 C83.4172013,115 87,118.581722 87,123 C87,127.409288 83.4193169,131 79.0023206,131 L59,131 L59,151.002321 C59,155.417201 55.418278,159 51,159 C46.5907123,159 43,155.419317 43,151.002321 L43,131 Z\" transform=\"translate(51.000000, 123.000000) rotate(-45.000000) translate(-51.000000, -123.000000) \"></path>\n <path d=\"M43,59 L22.9976794,59 C18.5827987,59 15,55.418278 15,51 C15,46.5907123 18.5806831,43 22.9976794,43 L43,43 L43,22.9976794 C43,18.5827987 46.581722,15 51,15 C55.4092877,15 59,18.5806831 59,22.9976794 L59,43 L79.0023206,43 C83.4172013,43 87,46.581722 87,51 C87,55.4092877 83.4193169,59 79.0023206,59 L59,59 L59,79.0023206 C59,83.4172013 55.418278,87 51,87 C46.5907123,87 43,83.4193169 43,79.0023206 L43,59 Z\" transform=\"translate(51.000000, 51.000000) rotate(-45.000000) translate(-51.000000, -51.000000) \"></path>\n <path d=\"M115,59 L94.9976794,59 C90.5827987,59 87,55.418278 87,51 C87,46.5907123 90.5806831,43 94.9976794,43 L115,43 L115,22.9976794 C115,18.5827987 118.581722,15 123,15 C127.409288,15 131,18.5806831 131,22.9976794 L131,43 L151.002321,43 C155.417201,43 159,46.581722 159,51 C159,55.4092877 155.419317,59 151.002321,59 L131,59 L131,79.0023206 C131,83.4172013 127.418278,87 123,87 C118.590712,87 115,83.4193169 115,79.0023206 L115,59 Z\" transform=\"translate(123.000000, 51.000000) rotate(-45.000000) translate(-123.000000, -51.000000) \"></path>\n <path d=\"M115,131 L94.9976794,131 C90.5827987,131 87,127.418278 87,123 C87,118.590712 90.5806831,115 94.9976794,115 L115,115 L115,94.9976794 C115,90.5827987 118.581722,87 123,87 C127.409288,87 131,90.5806831 131,94.9976794 L131,115 L151.002321,115 C155.417201,115 159,118.581722 159,123 C159,127.409288 155.419317,131 151.002321,131 L131,131 L131,151.002321 C131,155.417201 127.418278,159 123,159 C118.590712,159 115,155.419317 115,151.002321 L115,131 Z\" transform=\"translate(123.000000, 123.000000) rotate(-45.000000) translate(-123.000000, -123.000000) \"></path>\n </g>\n</svg>" }, "$:/core/images/close-button": { "title": "$:/core/images/close-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-close-button tc-image-button\" viewBox=\"0 0 128 128\" width=\"22pt\" height=\"22pt\">\n <g fill-rule=\"evenodd\">\n <path d=\"M65.0864256,75.4091629 L14.9727349,125.522854 C11.8515951,128.643993 6.78104858,128.64922 3.65685425,125.525026 C0.539017023,122.407189 0.5336324,117.334539 3.65902635,114.209145 L53.7727171,64.0954544 L3.65902635,13.9817637 C0.537886594,10.8606239 0.532659916,5.79007744 3.65685425,2.6658831 C6.77469148,-0.451954124 11.8473409,-0.457338747 14.9727349,2.66805521 L65.0864256,52.7817459 L115.200116,2.66805521 C118.321256,-0.453084553 123.391803,-0.458311231 126.515997,2.6658831 C129.633834,5.78372033 129.639219,10.8563698 126.513825,13.9817637 L76.4001341,64.0954544 L126.513825,114.209145 C129.634965,117.330285 129.640191,122.400831 126.515997,125.525026 C123.39816,128.642863 118.32551,128.648248 115.200116,125.522854 L65.0864256,75.4091629 L65.0864256,75.4091629 Z\"></path>\n </g>\n</svg>\n" }, "$:/core/images/close-others-button": { "title": "$:/core/images/close-others-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-close-others-button tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M64,128 C99.346224,128 128,99.346224 128,64 C128,28.653776 99.346224,0 64,0 C28.653776,0 0,28.653776 0,64 C0,99.346224 28.653776,128 64,128 Z M64,112 C90.509668,112 112,90.509668 112,64 C112,37.490332 90.509668,16 64,16 C37.490332,16 16,37.490332 16,64 C16,90.509668 37.490332,112 64,112 Z M64,96 C81.673112,96 96,81.673112 96,64 C96,46.326888 81.673112,32 64,32 C46.326888,32 32,46.326888 32,64 C32,81.673112 46.326888,96 64,96 Z M64,80 C72.836556,80 80,72.836556 80,64 C80,55.163444 72.836556,48 64,48 C55.163444,48 48,55.163444 48,64 C48,72.836556 55.163444,80 64,80 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/copy-clipboard": { "title": "$:/core/images/copy-clipboard", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-copy-clipboard tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n\t<g fill-rule=\"evenodd\">\n\t\t<rect x=\"40\" y=\"40\" width=\"33\" height=\"8\" rx=\"4\"></rect>\n\t\t<rect x=\"40\" y=\"82\" width=\"17\" height=\"8\" rx=\"4\"></rect>\n\t\t<rect x=\"40\" y=\"54\" width=\"17\" height=\"8\" rx=\"4\"></rect>\n\t\t<rect x=\"40\" y=\"96\" width=\"33\" height=\"8\" rx=\"4\"></rect>\n\t\t<rect x=\"40\" y=\"68\" width=\"12\" height=\"8\" rx=\"4\"></rect>\n\t\t<path d=\"M40,16 L23.9992458,16 C19.5813843,16 16,19.5907123 16,24 C16,24.0016363 16.0000005,24.0032725 16.0000015,24.0049086 C16.0000005,24.0065441 16,24.0081803 16,24.0098166 L16,119.990183 C16,119.99182 16.0000005,119.993456 16.0000015,119.995092 C16.0000005,119.996727 16,119.998364 16,120 C16,124.409288 19.5813843,128 23.9992458,128 L104.000754,128 C106.205061,128 108.203844,127.105595 109.652065,125.659342 C111.102424,124.21251 112,122.214511 112,120.007595 L112,103.992405 C112,99.5776607 108.418278,96 104,96 C99.5907123,96 96,99.5783218 96,103.992405 L96,112 L32,112 L32,32 L96,32 L96,40.0075946 C96,44.4223393 99.581722,48 104,48 C108.409288,48 112,44.4216782 112,40.0075946 L112,23.9924054 C112,21.7851587 111.104671,19.7871591 109.657101,18.3409203 C108.203844,16.8944047 106.205061,16 104.000754,16 L88,16 C88,11.5907123 84.4151006,8 79.9929031,8 L48.0070969,8 C43.5881712,8 40,11.581722 40,16 Z M44,14.9958262 C44,12.7889923 45.7964248,11 48.0000255,11 L79.9999745,11 C82.2091276,11 84,12.7965212 84,14.9958262 L84,19.0041738 C84,21.2110077 82.2035752,23 79.9999745,23 L48.0000255,23 C45.7908724,23 44,21.2034788 44,19.0041738 L44,14.9958262 Z\"></path>\n\t\t<rect x=\"62\" y=\"64\" width=\"66\" height=\"16\" rx=\"8\"></rect>\n\t\t<path d=\"M60.6568542,85.6568542 L76.6568542,69.6568543 L65.3431458,69.6568542 L81.3431458,85.6568542 C84.4673401,88.7810486 89.5326599,88.7810486 92.6568542,85.6568542 C95.7810486,82.5326599 95.7810486,77.4673401 92.6568542,74.3431458 L76.6568542,58.3431458 C73.5326599,55.2189514 68.4673401,55.2189514 65.3431458,58.3431457 L49.3431458,74.3431457 C46.2189514,77.4673401 46.2189514,82.5326599 49.3431457,85.6568542 C52.4673401,88.7810486 57.5326599,88.7810486 60.6568542,85.6568542 L60.6568542,85.6568542 Z\" transform=\"translate(71.000000, 72.000000) rotate(-90.000000) translate(-71.000000, -72.000000) \"></path>\n\t</g>\n</svg>" }, "$:/core/images/delete-button": { "title": "$:/core/images/delete-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-delete-button tc-image-button\" viewBox=\"0 0 128 128\" width=\"22pt\" height=\"22pt\">\n <g fill-rule=\"evenodd\" transform=\"translate(12.000000, 0.000000)\">\n <rect x=\"0\" y=\"11\" width=\"105\" height=\"16\" rx=\"8\"></rect>\n <rect x=\"28\" y=\"0\" width=\"48\" height=\"16\" rx=\"8\"></rect>\n <rect x=\"8\" y=\"16\" width=\"16\" height=\"112\" rx=\"8\"></rect>\n <rect x=\"8\" y=\"112\" width=\"88\" height=\"16\" rx=\"8\"></rect>\n <rect x=\"80\" y=\"16\" width=\"16\" height=\"112\" rx=\"8\"></rect>\n <rect x=\"56\" y=\"16\" width=\"16\" height=\"112\" rx=\"8\"></rect>\n <rect x=\"32\" y=\"16\" width=\"16\" height=\"112\" rx=\"8\"></rect>\n </g>\n</svg>" }, "$:/core/images/done-button": { "title": "$:/core/images/done-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-done-button tc-image-button\" viewBox=\"0 0 128 128\" width=\"22pt\" height=\"22pt\">\n <g fill-rule=\"evenodd\">\n <path d=\"M3.52445141,76.8322939 C2.07397484,75.3828178 1.17514421,73.3795385 1.17514421,71.1666288 L1.17514421,23.1836596 C1.17514421,18.7531992 4.75686621,15.1751442 9.17514421,15.1751442 C13.5844319,15.1751442 17.1751442,18.7606787 17.1751442,23.1836596 L17.1751442,63.1751442 L119.173716,63.1751442 C123.590457,63.1751442 127.175144,66.7568662 127.175144,71.1751442 C127.175144,75.5844319 123.592783,79.1751442 119.173716,79.1751442 L9.17657227,79.1751442 C6.96796403,79.1751442 4.9674142,78.279521 3.51911285,76.8315312 Z\" id=\"Rectangle-285\" transform=\"translate(64.175144, 47.175144) rotate(-45.000000) translate(-64.175144, -47.175144) \"></path>\n </g>\n</svg>" }, "$:/core/images/down-arrow": { "title": "$:/core/images/down-arrow", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-down-arrow tc-image-button\" viewBox=\"0 0 128 128\" width=\"22pt\" height=\"22pt\">\n <path d=\"M109.35638,81.3533152 C107.923899,82.7869182 105.94502,83.6751442 103.759224,83.6751442 L24.5910645,83.6751442 C20.225873,83.6751442 16.6751442,80.1307318 16.6751442,75.7584775 C16.6751442,71.3951199 20.2192225,67.8418109 24.5910645,67.8418109 L95.8418109,67.8418109 L95.8418109,-3.40893546 C95.8418109,-7.77412698 99.3862233,-11.3248558 103.758478,-11.3248558 C108.121835,-11.3248558 111.675144,-7.78077754 111.675144,-3.40893546 L111.675144,75.7592239 C111.675144,77.9416955 110.789142,79.9205745 109.356651,81.3538862 Z\" transform=\"translate(64.175144, 36.175144) rotate(45.000000) translate(-64.175144, -36.175144) \"></path>\n</svg>" }, "$:/core/images/download-button": { "title": "$:/core/images/download-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-download-button tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\"><g fill-rule=\"evenodd\"><path class=\"tc-image-download-button-ring\" d=\"M64,128 C99.346224,128 128,99.346224 128,64 C128,28.653776 99.346224,0 64,0 C28.653776,0 0,28.653776 0,64 C0,99.346224 28.653776,128 64,128 Z M64,112 C90.509668,112 112,90.509668 112,64 C112,37.490332 90.509668,16 64,16 C37.490332,16 16,37.490332 16,64 C16,90.509668 37.490332,112 64,112 Z\"/><path d=\"M34.3496823,66.4308767 L61.2415823,93.634668 C63.0411536,95.4551107 65.9588502,95.4551107 67.7584215,93.634668 L94.6503215,66.4308767 C96.4498928,64.610434 96.4498928,61.6588981 94.6503215,59.8384554 C93.7861334,58.9642445 92.6140473,58.4731195 91.3919019,58.4731195 L82.9324098,58.4731195 C80.3874318,58.4731195 78.3243078,56.3860674 78.3243078,53.8115729 L78.3243078,38.6615466 C78.3243078,36.0870521 76.2611837,34 73.7162058,34 L55.283798,34 C52.7388201,34 50.675696,36.0870521 50.675696,38.6615466 L50.675696,38.6615466 L50.675696,53.8115729 C50.675696,56.3860674 48.612572,58.4731195 46.0675941,58.4731195 L37.608102,58.4731195 C35.063124,58.4731195 33,60.5601716 33,63.134666 C33,64.3709859 33.4854943,65.5566658 34.3496823,66.4308767 L34.3496823,66.4308767 Z\"/></g></svg>" }, "$:/core/images/edit-button": { "title": "$:/core/images/edit-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-edit-button tc-image-button\" viewBox=\"0 0 128 128\" width=\"22pt\" height=\"22pt\">\n <g fill-rule=\"evenodd\">\n <path d=\"M116.870058,45.3431458 L108.870058,45.3431458 L108.870058,45.3431458 L108.870058,61.3431458 L116.870058,61.3431458 L116.870058,45.3431458 Z M124.870058,45.3431458 L127.649881,45.3431458 C132.066101,45.3431458 135.656854,48.9248678 135.656854,53.3431458 C135.656854,57.7524334 132.07201,61.3431458 127.649881,61.3431458 L124.870058,61.3431458 L124.870058,45.3431458 Z M100.870058,45.3431458 L15.6638275,45.3431458 C15.5064377,45.3431458 15.3501085,45.3476943 15.1949638,45.3566664 L15.1949638,45.3566664 C15.0628002,45.3477039 14.928279,45.3431458 14.7913977,45.3431458 C6.68160973,45.3431458 -8.34314575,53.3431458 -8.34314575,53.3431458 C-8.34314575,53.3431458 6.85614548,61.3431458 14.7913977,61.3431458 C14.9266533,61.3431458 15.0596543,61.3384973 15.190398,61.3293588 C15.3470529,61.3385075 15.5049057,61.3431458 15.6638275,61.3431458 L100.870058,61.3431458 L100.870058,45.3431458 L100.870058,45.3431458 Z\" transform=\"translate(63.656854, 53.343146) rotate(-45.000000) translate(-63.656854, -53.343146) \"></path>\n <path d=\"M35.1714596,124.189544 C41.9594858,123.613403 49.068777,121.917633 58.85987,118.842282 C60.6854386,118.268877 62.4306907,117.705515 65.1957709,116.802278 C81.1962861,111.575575 87.0734839,109.994907 93.9414474,109.655721 C102.29855,109.242993 107.795169,111.785371 111.520478,118.355045 C112.610163,120.276732 115.051363,120.951203 116.97305,119.861518 C118.894737,118.771832 119.569207,116.330633 118.479522,114.408946 C113.146151,105.003414 104.734907,101.112919 93.5468356,101.66546 C85.6716631,102.054388 79.4899908,103.716944 62.7116783,109.197722 C59.9734132,110.092199 58.2519873,110.64787 56.4625698,111.20992 C37.002649,117.322218 25.6914684,118.282267 16.8654804,112.957098 C14.9739614,111.815848 12.5154166,112.424061 11.3741667,114.31558 C10.2329168,116.207099 10.84113,118.665644 12.7326489,119.806894 C19.0655164,123.627836 26.4866335,124.926678 35.1714596,124.189544 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/erase": { "title": "$:/core/images/erase", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-erase tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M60.0870401,127.996166 L123.102318,64.980888 C129.636723,58.4464827 129.629513,47.8655877 123.098967,41.3350425 L99.4657866,17.7018617 C92.927448,11.1635231 82.3486358,11.1698163 75.8199411,17.698511 L4.89768189,88.6207702 C-1.63672343,95.1551755 -1.6295126,105.736071 4.90103262,112.266616 L20.6305829,127.996166 L60.0870401,127.996166 Z M25.1375576,120.682546 L10.812569,106.357558 C7.5455063,103.090495 7.54523836,97.793808 10.8048093,94.5342371 L46.2691086,59.0699377 L81.7308914,94.5317205 L55.5800654,120.682546 L25.1375576,120.682546 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/excise": { "title": "$:/core/images/excise", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-excise tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M56,107.313709 L53.6568542,109.656854 C50.5326599,112.781049 45.4673401,112.781049 42.3431457,109.656854 C39.2189514,106.53266 39.2189514,101.46734 42.3431458,98.3431457 L58.3431458,82.3431457 C61.4673401,79.2189514 66.5326599,79.2189514 69.6568542,82.3431458 L85.6568542,98.3431458 C88.7810486,101.46734 88.7810486,106.53266 85.6568542,109.656854 C82.5326599,112.781049 77.4673401,112.781049 74.3431458,109.656854 L72,107.313708 L72,121.597798 C72,125.133636 68.418278,128 64,128 C59.581722,128 56,125.133636 56,121.597798 L56,107.313709 Z M0,40.0070969 C0,35.5848994 3.59071231,32 8,32 C12.418278,32 16,35.5881712 16,40.0070969 L16,71.9929031 C16,76.4151006 12.4092877,80 8,80 C3.581722,80 0,76.4118288 0,71.9929031 L0,40.0070969 Z M32,40.0070969 C32,35.5848994 35.5907123,32 40,32 C44.418278,32 48,35.5881712 48,40.0070969 L48,71.9929031 C48,76.4151006 44.4092877,80 40,80 C35.581722,80 32,76.4118288 32,71.9929031 L32,40.0070969 Z M80,40.0070969 C80,35.5848994 83.5907123,32 88,32 C92.418278,32 96,35.5881712 96,40.0070969 L96,71.9929031 C96,76.4151006 92.4092877,80 88,80 C83.581722,80 80,76.4118288 80,71.9929031 L80,40.0070969 Z M56,8.00709688 C56,3.58489938 59.5907123,0 64,0 C68.418278,0 72,3.58817117 72,8.00709688 L72,39.9929031 C72,44.4151006 68.4092877,48 64,48 C59.581722,48 56,44.4118288 56,39.9929031 L56,8.00709688 Z M112,40.0070969 C112,35.5848994 115.590712,32 120,32 C124.418278,32 128,35.5881712 128,40.0070969 L128,71.9929031 C128,76.4151006 124.409288,80 120,80 C115.581722,80 112,76.4118288 112,71.9929031 L112,40.0070969 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/export-button": { "title": "$:/core/images/export-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-export-button tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M8.00348646,127.999999 C8.00464867,128 8.00581094,128 8.00697327,128 L119.993027,128 C122.205254,128 124.207939,127.101378 125.657096,125.651198 L125.656838,125.65759 C127.104563,124.210109 128,122.21009 128,119.999949 L128,56.0000511 C128,51.5817449 124.409288,48 120,48 C115.581722,48 112,51.5797863 112,56.0000511 L112,112 L16,112 L16,56.0000511 C16,51.5817449 12.4092877,48 8,48 C3.581722,48 7.10542736e-15,51.5797863 7.10542736e-15,56.0000511 L7.10542736e-15,119.999949 C7.10542736e-15,124.418255 3.59071231,128 8,128 C8.00116233,128 8.0023246,128 8.00348681,127.999999 Z M56.6235633,27.3113724 L47.6580188,36.2769169 C44.5333664,39.4015692 39.4634864,39.4061295 36.339292,36.2819351 C33.2214548,33.1640979 33.2173444,28.0901742 36.3443103,24.9632084 L58.9616908,2.34582788 C60.5248533,0.782665335 62.5748436,0.000361191261 64.624516,2.38225238e-14 L64.6193616,0.00151809229 C66.6695374,0.000796251595 68.7211167,0.781508799 70.2854358,2.34582788 L92.9028163,24.9632084 C96.0274686,28.0878607 96.0320289,33.1577408 92.9078345,36.2819351 C89.7899973,39.3997724 84.7160736,39.4038827 81.5891078,36.2769169 L72.6235633,27.3113724 L72.6235633,88.5669606 C72.6235633,92.9781015 69.0418413,96.5662064 64.6235633,96.5662064 C60.2142756,96.5662064 56.6235633,92.984822 56.6235633,88.5669606 L56.6235633,27.3113724 L56.6235633,27.3113724 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/file": { "title": "$:/core/images/file", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-file tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"nonzero\">\n <path d=\"M111.96811,30.5 L112,30.5 L112,119.999079 C112,124.417866 108.419113,128 104.000754,128 L23.9992458,128 C19.5813843,128 16,124.417687 16,119.999079 L16,8.00092105 C16,3.58213437 19.5808867,0 23.9992458,0 L81,0 L81,0.0201838424 C83.1589869,-0.071534047 85.3482153,0.707077645 86.9982489,2.35711116 L109.625176,24.9840387 C111.151676,26.510538 111.932942,28.4998414 111.96811,30.5 L111.96811,30.5 Z M81,8 L24,8 L24,120 L104,120 L104,30.5 L89.0003461,30.5 C84.5818769,30.5 81,26.9216269 81,22.4996539 L81,8 Z\"></path>\n <rect x=\"32\" y=\"36\" width=\"64\" height=\"8\" rx=\"4\"></rect>\n <rect x=\"32\" y=\"52\" width=\"64\" height=\"8\" rx=\"4\"></rect>\n <rect x=\"32\" y=\"68\" width=\"64\" height=\"8\" rx=\"4\"></rect>\n <rect x=\"32\" y=\"84\" width=\"64\" height=\"8\" rx=\"4\"></rect>\n <rect x=\"32\" y=\"100\" width=\"64\" height=\"8\" rx=\"4\"></rect>\n <rect x=\"32\" y=\"20\" width=\"40\" height=\"8\" rx=\"4\"></rect>\n </g>\n</svg>" }, "$:/core/images/fixed-height": { "title": "$:/core/images/fixed-height", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-fixed-height tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M60,35.6568542 L50.8284271,44.8284271 C49.26633,46.3905243 46.73367,46.3905243 45.1715729,44.8284271 C43.6094757,43.26633 43.6094757,40.73367 45.1715729,39.1715729 L61.1715729,23.1715729 C62.73367,21.6094757 65.2663299,21.6094757 66.8284271,23.1715728 L82.8284278,39.1715728 C84.390525,40.7336699 84.390525,43.2663299 82.8284279,44.8284271 C81.2663308,46.3905243 78.7336709,46.3905243 77.1715737,44.8284272 L68,35.6568539 L68,93.3431461 L77.1715737,84.1715728 C78.7336709,82.6094757 81.2663308,82.6094757 82.8284279,84.1715729 C84.390525,85.7336701 84.390525,88.2663301 82.8284278,89.8284272 L66.8284271,105.828427 C65.2663299,107.390524 62.73367,107.390524 61.1715729,105.828427 L45.1715729,89.8284271 C43.6094757,88.26633 43.6094757,85.73367 45.1715729,84.1715729 C46.73367,82.6094757 49.26633,82.6094757 50.8284271,84.1715729 L60,93.3431458 L60,35.6568542 L60,35.6568542 Z M16,116 L112,116 C114.209139,116 116,114.209139 116,112 C116,109.790861 114.209139,108 112,108 L16,108 C13.790861,108 12,109.790861 12,112 C12,114.209139 13.790861,116 16,116 L16,116 Z M16,20 L112,20 C114.209139,20 116,18.209139 116,16 C116,13.790861 114.209139,12 112,12 L16,12 C13.790861,12 12,13.790861 12,16 C12,18.209139 13.790861,20 16,20 L16,20 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/fold-all-button": { "title": "$:/core/images/fold-all-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-fold-all tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <rect x=\"0\" y=\"0\" width=\"128\" height=\"16\" rx=\"8\"></rect>\n <rect x=\"0\" y=\"64\" width=\"128\" height=\"16\" rx=\"8\"></rect>\n <path d=\"M64.0292774,58.6235628 C61.9791013,58.6242848 59.9275217,57.8435723 58.3632024,56.279253 L35.7458219,33.6618725 C32.6211696,30.5372202 32.6166093,25.4673401 35.7408036,22.3431458 C38.8586409,19.2253085 43.9325646,19.2211982 47.0595304,22.348164 L64.0250749,39.3137085 L80.9906194,22.348164 C84.1152717,19.2235117 89.1851518,19.2189514 92.3093461,22.3431458 C95.4271834,25.460983 95.4312937,30.5349067 92.3043279,33.6618725 L69.6869474,56.279253 C68.1237851,57.8424153 66.0737951,58.6247195 64.0241231,58.6250809 Z\" transform=\"translate(64.024316, 39.313708) scale(1, -1) translate(-64.024316, -39.313708) \"></path>\n <path d=\"M64.0292774,123.621227 C61.9791013,123.621949 59.9275217,122.841236 58.3632024,121.276917 L35.7458219,98.6595365 C32.6211696,95.5348842 32.6166093,90.4650041 35.7408036,87.3408098 C38.8586409,84.2229725 43.9325646,84.2188622 47.0595304,87.345828 L64.0250749,104.311373 L80.9906194,87.345828 C84.1152717,84.2211757 89.1851518,84.2166154 92.3093461,87.3408098 C95.4271834,90.458647 95.4312937,95.5325707 92.3043279,98.6595365 L69.6869474,121.276917 C68.1237851,122.840079 66.0737951,123.622383 64.0241231,123.622745 Z\" transform=\"translate(64.024316, 104.311372) scale(1, -1) translate(-64.024316, -104.311372) \"></path>\n </g>\n</svg>" }, "$:/core/images/fold-button": { "title": "$:/core/images/fold-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-fold tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <rect x=\"0\" y=\"0\" width=\"128\" height=\"16\" rx=\"8\"></rect>\n <path d=\"M64.0292774,63.6235628 C61.9791013,63.6242848 59.9275217,62.8435723 58.3632024,61.279253 L35.7458219,38.6618725 C32.6211696,35.5372202 32.6166093,30.4673401 35.7408036,27.3431458 C38.8586409,24.2253085 43.9325646,24.2211982 47.0595304,27.348164 L64.0250749,44.3137085 L80.9906194,27.348164 C84.1152717,24.2235117 89.1851518,24.2189514 92.3093461,27.3431458 C95.4271834,30.460983 95.4312937,35.5349067 92.3043279,38.6618725 L69.6869474,61.279253 C68.1237851,62.8424153 66.0737951,63.6247195 64.0241231,63.6250809 Z\" transform=\"translate(64.024316, 44.313708) scale(1, -1) translate(-64.024316, -44.313708) \"></path>\n <path d=\"M64.0049614,105.998482 C61.9547853,105.999204 59.9032057,105.218491 58.3388864,103.654172 L35.7215059,81.0367916 C32.5968535,77.9121393 32.5922933,72.8422592 35.7164876,69.7180649 C38.8343248,66.6002276 43.9082485,66.5961173 47.0352144,69.7230831 L64.0007589,86.6886276 L80.9663034,69.7230831 C84.0909557,66.5984308 89.1608358,66.5938705 92.2850301,69.7180649 C95.4028673,72.8359021 95.4069777,77.9098258 92.2800119,81.0367916 L69.6626314,103.654172 C68.099469,105.217334 66.0494791,105.999639 63.999807,106 Z\" transform=\"translate(64.000000, 86.688628) scale(1, -1) translate(-64.000000, -86.688628) \"></path>\n </g>\n</svg>" }, "$:/core/images/fold-others-button": { "title": "$:/core/images/fold-others-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-fold-others tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <rect x=\"0\" y=\"56.0314331\" width=\"128\" height=\"16\" rx=\"8\"></rect>\n <path d=\"M101.657101,104.948818 C100.207918,103.498614 98.2051847,102.599976 95.9929031,102.599976 L72,102.599976 L72,78.6070725 C72,76.3964271 71.1036108,74.3936927 69.6545293,72.9441002 L69.6571005,72.9488183 C68.2079177,71.4986143 66.2051847,70.5999756 63.9929031,70.5999756 L32.0070969,70.5999756 C27.5881712,70.5999756 24,74.1816976 24,78.5999756 C24,83.0092633 27.5848994,86.5999756 32.0070969,86.5999756 L56,86.5999756 L56,110.592879 C56,112.803524 56.8963895,114.806259 58.3454713,116.255852 L58.3429,116.251133 C59.7920828,117.701337 61.7948156,118.599976 64.0070969,118.599976 L88,118.599976 L88,142.592879 C88,147.011804 91.581722,150.599976 96,150.599976 C100.409288,150.599976 104,147.015076 104,142.592879 L104,110.607072 C104,108.396427 103.103611,106.393693 101.654529,104.9441 Z\" transform=\"translate(64.000000, 110.599976) rotate(-45.000000) translate(-64.000000, -110.599976) \"></path>\n <path d=\"M101.725643,11.7488671 C100.27646,10.2986632 98.2737272,9.40002441 96.0614456,9.40002441 L72.0685425,9.40002441 L72.0685425,-14.5928787 C72.0685425,-16.8035241 71.1721533,-18.8062584 69.7230718,-20.255851 L69.725643,-20.2511329 C68.2764602,-21.7013368 66.2737272,-22.5999756 64.0614456,-22.5999756 L32.0756394,-22.5999756 C27.6567137,-22.5999756 24.0685425,-19.0182536 24.0685425,-14.5999756 C24.0685425,-10.1906879 27.6534419,-6.59997559 32.0756394,-6.59997559 L56.0685425,-6.59997559 L56.0685425,17.3929275 C56.0685425,19.6035732 56.964932,21.6063078 58.4140138,23.0559004 L58.4114425,23.0511823 C59.8606253,24.5013859 61.8633581,25.4000244 64.0756394,25.4000244 L88.0685425,25.4000244 L88.0685425,49.3929275 C88.0685425,53.8118532 91.6502645,57.4000244 96.0685425,57.4000244 C100.47783,57.4000244 104.068542,53.815125 104.068542,49.3929275 L104.068542,17.4071213 C104.068542,15.1964759 103.172153,13.1937416 101.723072,11.744149 Z\" transform=\"translate(64.068542, 17.400024) scale(1, -1) rotate(-45.000000) translate(-64.068542, -17.400024) \"></path>\n </g>\n</svg>" }, "$:/core/images/folder": { "title": "$:/core/images/folder", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-folder tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M55.6943257,128.000004 L7.99859666,128.000004 C3.5810937,128.000004 0,124.413822 0,119.996384 L0,48.0036243 C0,43.5833471 3.58387508,40.0000044 7.99859666,40.0000044 L16,40.0000044 L16,31.9999914 C16,27.5817181 19.5783731,24 24.0003461,24 L55.9996539,24 C60.4181231,24 64,27.5800761 64,31.9999914 L64,40.0000044 L104.001403,40.0000044 C108.418906,40.0000044 112,43.5861868 112,48.0036243 L112,59.8298353 L104,59.7475921 L104,51.9994189 C104,49.7887607 102.207895,48.0000044 99.9972215,48.0000044 L56,48.0000044 L56,36.0000255 C56,33.7898932 54.2072328,32 51.9957423,32 L28.0042577,32 C25.7890275,32 24,33.7908724 24,36.0000255 L24,48.0000044 L12.0027785,48.0000044 C9.78987688,48.0000044 8,49.7906032 8,51.9994189 L8,116.00059 C8,118.211248 9.79210499,120.000004 12.0027785,120.000004 L58.7630167,120.000004 L55.6943257,128.000004 L55.6943257,128.000004 Z\"></path>\n <path d=\"M23.8728955,55.5 L119.875702,55.5 C124.293205,55.5 126.87957,59.5532655 125.650111,64.5630007 L112.305967,118.936999 C111.077582,123.942356 106.497904,128 102.083183,128 L6.08037597,128 C1.66287302,128 -0.923492342,123.946735 0.305967145,118.936999 L13.650111,64.5630007 C14.878496,59.5576436 19.4581739,55.5 23.8728955,55.5 L23.8728955,55.5 L23.8728955,55.5 Z M25.6530124,64 L113.647455,64 C115.858129,64 117.151473,66.0930612 116.538306,68.6662267 L105.417772,115.333773 C104.803671,117.910859 102.515967,120 100.303066,120 L12.3086228,120 C10.0979492,120 8.8046054,117.906939 9.41777189,115.333773 L20.5383062,68.6662267 C21.1524069,66.0891409 23.4401107,64 25.6530124,64 L25.6530124,64 L25.6530124,64 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/full-screen-button": { "title": "$:/core/images/full-screen-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-full-screen-button tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g>\n <g>\n <path d=\"M5.29777586e-31,8 C1.59060409e-15,3.581722 3.581722,0 8,0 L40,0 C44.418278,0 48,3.581722 48,8 C48,12.418278 44.418278,16 40,16 L16,16 L16,40 C16,44.418278 12.418278,48 8,48 C3.581722,48 -3.55271368e-15,44.418278 0,40 L3.55271368e-15,8 Z\"></path>\n </g>\n <g transform=\"translate(104.000000, 104.000000) rotate(-180.000000) translate(-104.000000, -104.000000) translate(80.000000, 80.000000)\">\n <path d=\"M5.29777586e-31,8 C1.59060409e-15,3.581722 3.581722,0 8,0 L40,0 C44.418278,0 48,3.581722 48,8 C48,12.418278 44.418278,16 40,16 L16,16 L16,40 C16,44.418278 12.418278,48 8,48 C3.581722,48 -3.55271368e-15,44.418278 0,40 L3.55271368e-15,8 Z\"></path>\n </g>\n <g transform=\"translate(24.000000, 104.000000) rotate(-90.000000) translate(-24.000000, -104.000000) translate(0.000000, 80.000000)\">\n <path d=\"M5.29777586e-31,8 C1.59060409e-15,3.581722 3.581722,0 8,0 L40,0 C44.418278,0 48,3.581722 48,8 C48,12.418278 44.418278,16 40,16 L16,16 L16,40 C16,44.418278 12.418278,48 8,48 C3.581722,48 -3.55271368e-15,44.418278 0,40 L3.55271368e-15,8 Z\"></path>\n </g>\n <g transform=\"translate(104.000000, 24.000000) rotate(90.000000) translate(-104.000000, -24.000000) translate(80.000000, 0.000000)\">\n <path d=\"M5.29777586e-31,8 C1.59060409e-15,3.581722 3.581722,0 8,0 L40,0 C44.418278,0 48,3.581722 48,8 C48,12.418278 44.418278,16 40,16 L16,16 L16,40 C16,44.418278 12.418278,48 8,48 C3.581722,48 -3.55271368e-15,44.418278 0,40 L3.55271368e-15,8 Z\"></path>\n </g>\n </g>\n</svg>" }, "$:/core/images/github": { "title": "$:/core/images/github", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-github tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M63.9383506,1.60695328 C28.6017227,1.60695328 -0.055756057,30.2970814 -0.055756057,65.6906208 C-0.055756057,94.003092 18.2804728,118.019715 43.7123154,126.493393 C46.9143781,127.083482 48.0812647,125.104717 48.0812647,123.405261 C48.0812647,121.886765 48.02626,117.85449 47.9948287,112.508284 C30.1929317,116.379268 26.4368926,103.916587 26.4368926,103.916587 C23.5255693,96.5129372 19.3294921,94.5420399 19.3294921,94.5420399 C13.5186324,90.5687739 19.7695302,90.6474524 19.7695302,90.6474524 C26.1933001,91.099854 29.5721638,97.2525155 29.5721638,97.2525155 C35.2808718,107.044059 44.5531024,104.215566 48.1991321,102.575118 C48.7806109,98.4366275 50.4346826,95.612068 52.2616263,94.0109598 C38.0507543,92.3941159 23.1091047,86.8944862 23.1091047,62.3389152 C23.1091047,55.3443933 25.6039634,49.6205298 29.6978889,45.1437211 C29.0378318,43.5229433 26.8415704,37.0044266 30.3265147,28.1845627 C30.3265147,28.1845627 35.6973364,26.4615028 47.9241083,34.7542205 C53.027764,33.330139 58.5046663,32.6220321 63.9462084,32.5944947 C69.3838216,32.6220321 74.856795,33.330139 79.9683085,34.7542205 C92.1872225,26.4615028 97.5501864,28.1845627 97.5501864,28.1845627 C101.042989,37.0044266 98.8467271,43.5229433 98.190599,45.1437211 C102.292382,49.6205298 104.767596,55.3443933 104.767596,62.3389152 C104.767596,86.9574291 89.8023734,92.3744463 75.5482834,93.9598188 C77.8427675,95.9385839 79.8897303,99.8489072 79.8897303,105.828476 C79.8897303,114.392635 79.8111521,121.304544 79.8111521,123.405261 C79.8111521,125.120453 80.966252,127.114954 84.2115327,126.489459 C109.623731,117.996111 127.944244,93.9952241 127.944244,65.6906208 C127.944244,30.2970814 99.2867652,1.60695328 63.9383506,1.60695328\"></path>\n </g>\n </svg>\n" }, "$:/core/images/gitter": { "title": "$:/core/images/gitter", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-gitter tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 18 25\">\n <rect x=\"15\" y=\"5\" width=\"2\" height=\"10\"></rect>\n <rect x=\"10\" y=\"5\" width=\"2\" height=\"20\"></rect>\n <rect x=\"5\" y=\"5\" width=\"2\" height=\"20\"></rect>\n <rect width=\"2\" height=\"15\"></rect>\n</svg>\n" }, "$:/core/images/globe": { "title": "$:/core/images/globe", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-globe tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M72.8111354,37.1275855 C72.8111354,37.9789875 72.8111354,38.8303894 72.8111354,39.6817913 C72.8111354,41.8784743 73.7885604,46.5631866 72.8111354,48.5143758 C71.3445471,51.4420595 68.1617327,52.0543531 66.4170946,54.3812641 C65.2352215,55.9575873 61.7987417,64.9821523 62.7262858,67.3005778 C66.6959269,77.2228204 74.26087,70.4881886 80.6887657,76.594328 C81.5527211,77.415037 83.5758191,78.8666631 83.985137,79.8899578 C87.2742852,88.1128283 76.4086873,94.8989524 87.7419325,106.189751 C88.9872885,107.430443 91.555495,102.372895 91.8205061,101.575869 C92.6726866,99.0129203 98.5458765,96.1267309 100.908882,94.5234439 C102.928056,93.1534443 105.782168,91.8557166 107.236936,89.7775886 C109.507391,86.5342557 108.717505,82.2640435 110.334606,79.0328716 C112.473794,74.7585014 114.163418,69.3979002 116.332726,65.0674086 C120.230862,57.2857361 121.054075,67.1596684 121.400359,67.5059523 C121.757734,67.8633269 122.411167,67.5059523 122.916571,67.5059523 C123.011132,67.5059523 124.364019,67.6048489 124.432783,67.5059523 C125.0832,66.5705216 123.390209,49.5852316 123.114531,48.2089091 C121.710578,41.1996597 116.17083,32.4278331 111.249523,27.7092761 C104.975994,21.6942076 104.160516,11.5121686 92.9912146,12.7547535 C92.7872931,12.7774397 87.906794,22.9027026 85.2136766,26.2672064 C81.486311,30.9237934 82.7434931,22.1144904 78.6876623,22.1144904 C78.6065806,22.1144904 77.5045497,22.0107615 77.4353971,22.1144904 C76.8488637,22.9942905 75.9952305,26.0101404 75.1288269,26.5311533 C74.8635477,26.6906793 73.4071369,26.2924966 73.2826811,26.5311533 C71.0401728,30.8313939 81.5394677,28.7427264 79.075427,34.482926 C76.7225098,39.9642538 72.747373,32.4860199 72.747373,43.0434079\"></path>\n <path d=\"M44.4668556,7.01044608 C54.151517,13.1403033 45.1489715,19.2084878 47.1611905,23.2253896 C48.8157833,26.5283781 51.4021933,28.6198851 48.8753629,33.038878 C46.8123257,36.6467763 42.0052989,37.0050492 39.251679,39.7621111 C36.2115749,42.8060154 33.7884281,48.7028116 32.4624592,52.6732691 C30.8452419,57.5158356 47.0088721,59.5388126 44.5246867,63.6811917 C43.1386839,65.9923513 37.7785192,65.1466282 36.0880227,63.8791519 C34.9234453,63.0059918 32.4946425,63.3331166 31.6713597,62.0997342 C29.0575851,58.1839669 29.4107339,54.0758543 28.0457962,49.9707786 C27.1076833,47.1493864 21.732611,47.8501656 20.2022714,49.3776393 C19.6790362,49.8998948 19.8723378,51.1703278 19.8723378,51.8829111 C19.8723378,57.1682405 26.9914913,55.1986414 26.9914913,58.3421973 C26.9914913,72.9792302 30.9191897,64.8771867 38.1313873,69.6793121 C48.1678018,76.3618966 45.9763926,76.981595 53.0777543,84.0829567 C56.7511941,87.7563965 60.8192437,87.7689005 62.503478,93.3767069 C64.1046972,98.7081071 53.1759798,98.7157031 50.786754,100.825053 C49.663965,101.816317 47.9736094,104.970571 46.5680513,105.439676 C44.7757187,106.037867 43.334221,105.93607 41.6242359,107.219093 C39.1967302,109.040481 37.7241465,112.151588 37.6034934,112.030935 C35.4555278,109.88297 34.0848666,96.5511248 33.7147244,93.7726273 C33.1258872,89.3524817 28.1241923,88.2337027 26.7275443,84.7420826 C25.1572737,80.8164061 28.2518481,75.223612 25.599097,70.9819941 C19.0797019,60.557804 13.7775712,56.4811506 10.2493953,44.6896152 C9.3074899,41.5416683 13.5912267,38.1609942 15.1264825,35.8570308 C17.0029359,33.0410312 17.7876232,30.0028946 19.8723378,27.2224065 C22.146793,24.1888519 40.8551166,9.46076832 43.8574051,8.63490613 L44.4668556,7.01044608 Z\"></path>\n <path d=\"M64,126 C98.2416545,126 126,98.2416545 126,64 C126,29.7583455 98.2416545,2 64,2 C29.7583455,2 2,29.7583455 2,64 C2,98.2416545 29.7583455,126 64,126 Z M64,120 C94.927946,120 120,94.927946 120,64 C120,33.072054 94.927946,8 64,8 C33.072054,8 8,33.072054 8,64 C8,94.927946 33.072054,120 64,120 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/heading-1": { "title": "$:/core/images/heading-1", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-heading-1 tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M14,30 L27.25,30 L27.25,60.104 L61.7,60.104 L61.7,30 L74.95,30 L74.95,105.684 L61.7,105.684 L61.7,71.552 L27.25,71.552 L27.25,105.684 L14,105.684 L14,30 Z M84.3350766,43.78 C86.8790893,43.78 89.3523979,43.5680021 91.7550766,43.144 C94.1577553,42.7199979 96.3307336,42.0133383 98.2740766,41.024 C100.21742,40.0346617 101.87807,38.7626744 103.256077,37.208 C104.634084,35.6533256 105.535075,33.7453446 105.959077,31.484 L115.817077,31.484 L115.817077,105.684 L102.567077,105.684 L102.567077,53.32 L84.3350766,53.32 L84.3350766,43.78 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/heading-2": { "title": "$:/core/images/heading-2", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-heading-2 tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M6,30 L19.25,30 L19.25,60.104 L53.7,60.104 L53.7,30 L66.95,30 L66.95,105.684 L53.7,105.684 L53.7,71.552 L19.25,71.552 L19.25,105.684 L6,105.684 L6,30 Z M125.519077,105.684 L74.8510766,105.684 C74.9217436,99.5359693 76.4057288,94.1653563 79.3030766,89.572 C82.2004244,84.9786437 86.1577182,80.986017 91.1750766,77.594 C93.5777553,75.8273245 96.0863969,74.113675 98.7010766,72.453 C101.315756,70.792325 103.718399,69.0080095 105.909077,67.1 C108.099754,65.1919905 109.901736,63.1250111 111.315077,60.899 C112.728417,58.6729889 113.47041,56.1113478 113.541077,53.214 C113.541077,51.8713266 113.382078,50.4403409 113.064077,48.921 C112.746075,47.4016591 112.127748,45.9883399 111.209077,44.681 C110.290405,43.3736601 109.018418,42.2783377 107.393077,41.395 C105.767735,40.5116622 103.647756,40.07 101.033077,40.07 C98.6303979,40.07 96.6340846,40.5469952 95.0440766,41.501 C93.4540687,42.4550048 92.1820814,43.762325 91.2280766,45.423 C90.2740719,47.083675 89.5674123,49.0446554 89.1080766,51.306 C88.648741,53.5673446 88.3837436,56.0053203 88.3130766,58.62 L76.2290766,58.62 C76.2290766,54.5213128 76.7767378,50.7230175 77.8720766,47.225 C78.9674154,43.7269825 80.610399,40.7060127 82.8010766,38.162 C84.9917542,35.6179873 87.6593942,33.6216739 90.8040766,32.173 C93.948759,30.7243261 97.6057224,30 101.775077,30 C106.297766,30 110.078395,30.7419926 113.117077,32.226 C116.155758,33.7100074 118.611401,35.5826554 120.484077,37.844 C122.356753,40.1053446 123.681739,42.5609868 124.459077,45.211 C125.236414,47.8610133 125.625077,50.3873213 125.625077,52.79 C125.625077,55.7580148 125.165748,58.4433213 124.247077,60.846 C123.328405,63.2486787 122.091751,65.4569899 120.537077,67.471 C118.982402,69.4850101 117.215753,71.3399915 115.237077,73.036 C113.2584,74.7320085 111.209087,76.3219926 109.089077,77.806 C106.969066,79.2900074 104.849087,80.7033266 102.729077,82.046 C100.609066,83.3886734 98.6480856,84.7313266 96.8460766,86.074 C95.0440676,87.4166734 93.47175,88.8123261 92.1290766,90.261 C90.7864032,91.7096739 89.8677458,93.2466585 89.3730766,94.872 L125.519077,94.872 L125.519077,105.684 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/heading-3": { "title": "$:/core/images/heading-3", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-heading-3 tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M6,30 L19.25,30 L19.25,60.104 L53.7,60.104 L53.7,30 L66.95,30 L66.95,105.684 L53.7,105.684 L53.7,71.552 L19.25,71.552 L19.25,105.684 L6,105.684 L6,30 Z M94.8850766,62.224 C96.8637532,62.294667 98.8424001,62.1533351 100.821077,61.8 C102.799753,61.4466649 104.566402,60.8283378 106.121077,59.945 C107.675751,59.0616623 108.930072,57.8426744 109.884077,56.288 C110.838081,54.7333256 111.315077,52.8253446 111.315077,50.564 C111.315077,47.3839841 110.237421,44.8400095 108.082077,42.932 C105.926733,41.0239905 103.153094,40.07 99.7610766,40.07 C97.641066,40.07 95.8037511,40.4939958 94.2490766,41.342 C92.6944022,42.1900042 91.4047484,43.3383261 90.3800766,44.787 C89.3554048,46.2356739 88.5957458,47.860991 88.1010766,49.663 C87.6064075,51.465009 87.3944096,53.3199905 87.4650766,55.228 L75.3810766,55.228 C75.5224107,51.623982 76.1937373,48.2850154 77.3950766,45.211 C78.596416,42.1369846 80.2393995,39.4693446 82.3240766,37.208 C84.4087537,34.9466554 86.9350618,33.1800064 89.9030766,31.908 C92.8710915,30.6359936 96.2277246,30 99.9730766,30 C102.870424,30 105.714729,30.4239958 108.506077,31.272 C111.297424,32.1200042 113.806065,33.3566585 116.032077,34.982 C118.258088,36.6073415 120.042403,38.6743208 121.385077,41.183 C122.72775,43.6916792 123.399077,46.5713171 123.399077,49.822 C123.399077,53.5673521 122.551085,56.8356527 120.855077,59.627 C119.159068,62.4183473 116.509095,64.4499936 112.905077,65.722 L112.905077,65.934 C117.145098,66.7820042 120.448731,68.8843166 122.816077,72.241 C125.183422,75.5976835 126.367077,79.6786426 126.367077,84.484 C126.367077,88.017351 125.660417,91.1796527 124.247077,93.971 C122.833736,96.7623473 120.925755,99.129657 118.523077,101.073 C116.120398,103.016343 113.329093,104.517995 110.149077,105.578 C106.969061,106.638005 103.612428,107.168 100.079077,107.168 C95.7683884,107.168 92.005426,106.549673 88.7900766,105.313 C85.5747272,104.076327 82.8894207,102.327345 80.7340766,100.066 C78.5787325,97.8046554 76.9357489,95.0840159 75.8050766,91.904 C74.6744043,88.7239841 74.0737436,85.1906861 74.0030766,81.304 L86.0870766,81.304 C85.9457426,85.8266893 87.0587315,89.5896517 89.4260766,92.593 C91.7934218,95.5963483 95.3443863,97.098 100.079077,97.098 C104.107097,97.098 107.481396,95.9496782 110.202077,93.653 C112.922757,91.3563219 114.283077,88.0880212 114.283077,83.848 C114.283077,80.9506522 113.717749,78.6540085 112.587077,76.958 C111.456404,75.2619915 109.972419,73.9723378 108.135077,73.089 C106.297734,72.2056623 104.230755,71.6580011 101.934077,71.446 C99.6373985,71.2339989 97.2877553,71.163333 94.8850766,71.234 L94.8850766,62.224 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/heading-4": { "title": "$:/core/images/heading-4", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-heading-4 tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M8,30 L21.25,30 L21.25,60.104 L55.7,60.104 L55.7,30 L68.95,30 L68.95,105.684 L55.7,105.684 L55.7,71.552 L21.25,71.552 L21.25,105.684 L8,105.684 L8,30 Z M84.5890766,78.548 L107.061077,78.548 L107.061077,45.9 L106.849077,45.9 L84.5890766,78.548 Z M128.049077,88.088 L118.509077,88.088 L118.509077,105.684 L107.061077,105.684 L107.061077,88.088 L75.2610766,88.088 L75.2610766,76.11 L107.061077,31.484 L118.509077,31.484 L118.509077,78.548 L128.049077,78.548 L128.049077,88.088 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/heading-5": { "title": "$:/core/images/heading-5", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-heading-5 tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M6,30 L19.25,30 L19.25,60.104 L53.7,60.104 L53.7,30 L66.95,30 L66.95,105.684 L53.7,105.684 L53.7,71.552 L19.25,71.552 L19.25,105.684 L6,105.684 L6,30 Z M83.7550766,31.484 L122.127077,31.484 L122.127077,42.296 L92.7650766,42.296 L88.9490766,61.164 L89.1610766,61.376 C90.7864181,59.5386575 92.8533974,58.1430048 95.3620766,57.189 C97.8707558,56.2349952 100.361731,55.758 102.835077,55.758 C106.509762,55.758 109.795729,56.3763272 112.693077,57.613 C115.590424,58.8496729 118.0284,60.5809889 120.007077,62.807 C121.985753,65.0330111 123.487405,67.6653181 124.512077,70.704 C125.536748,73.7426819 126.049077,77.028649 126.049077,80.562 C126.049077,83.5300148 125.572081,86.5863176 124.618077,89.731 C123.664072,92.8756824 122.144754,95.7376538 120.060077,98.317 C117.9754,100.896346 115.30776,103.016325 112.057077,104.677 C108.806394,106.337675 104.919766,107.168 100.397077,107.168 C96.7930586,107.168 93.454092,106.691005 90.3800766,105.737 C87.3060613,104.782995 84.6030883,103.35201 82.2710766,101.444 C79.939065,99.5359905 78.0840835,97.1863473 76.7060766,94.395 C75.3280697,91.6036527 74.5684107,88.3353521 74.4270766,84.59 L86.5110766,84.59 C86.8644117,88.6180201 88.2423979,91.7096559 90.6450766,93.865 C93.0477553,96.0203441 96.2277235,97.098 100.185077,97.098 C102.729089,97.098 104.884401,96.6740042 106.651077,95.826 C108.417752,94.9779958 109.848738,93.8120074 110.944077,92.328 C112.039415,90.8439926 112.816741,89.1126766 113.276077,87.134 C113.735412,85.1553234 113.965077,83.0353446 113.965077,80.774 C113.965077,78.7246564 113.682413,76.763676 113.117077,74.891 C112.55174,73.018324 111.703749,71.3753404 110.573077,69.962 C109.442404,68.5486596 107.976086,67.4180042 106.174077,66.57 C104.372068,65.7219958 102.269755,65.298 99.8670766,65.298 C97.3230639,65.298 94.9380878,65.7749952 92.7120766,66.729 C90.4860655,67.6830048 88.8784149,69.4673203 87.8890766,72.082 L75.8050766,72.082 L83.7550766,31.484 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/heading-6": { "title": "$:/core/images/heading-6", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-heading-6 tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M6,30 L19.25,30 L19.25,60.104 L53.7,60.104 L53.7,30 L66.95,30 L66.95,105.684 L53.7,105.684 L53.7,71.552 L19.25,71.552 L19.25,105.684 L6,105.684 L6,30 Z M112.587077,50.246 C112.304409,47.2073181 111.226753,44.751676 109.354077,42.879 C107.481401,41.006324 104.955093,40.07 101.775077,40.07 C99.584399,40.07 97.6940846,40.4763293 96.1040766,41.289 C94.5140687,42.1016707 93.1714154,43.1793266 92.0760766,44.522 C90.9807378,45.8646734 90.0974133,47.401658 89.4260766,49.133 C88.7547399,50.864342 88.2070787,52.6839905 87.7830766,54.592 C87.3590745,56.5000095 87.0587442,58.390324 86.8820766,60.263 C86.7054091,62.135676 86.5464107,63.8846585 86.4050766,65.51 L86.6170766,65.722 C88.2424181,62.7539852 90.4860623,60.5456739 93.3480766,59.097 C96.2100909,57.6483261 99.3017267,56.924 102.623077,56.924 C106.297762,56.924 109.583729,57.5599936 112.481077,58.832 C115.378424,60.1040064 117.834067,61.8529889 119.848077,64.079 C121.862087,66.3050111 123.399071,68.9373181 124.459077,71.976 C125.519082,75.0146819 126.049077,78.300649 126.049077,81.834 C126.049077,85.438018 125.466082,88.7769846 124.300077,91.851 C123.134071,94.9250154 121.455754,97.6103219 119.265077,99.907 C117.074399,102.203678 114.459758,103.987994 111.421077,105.26 C108.382395,106.532006 105.025762,107.168 101.351077,107.168 C95.9097161,107.168 91.4400941,106.16101 87.9420766,104.147 C84.4440591,102.13299 81.6880867,99.3770175 79.6740766,95.879 C77.6600666,92.3809825 76.2644138,88.2823568 75.4870766,83.583 C74.7097394,78.8836432 74.3210766,73.8133605 74.3210766,68.372 C74.3210766,63.9199777 74.7980719,59.4326893 75.7520766,54.91 C76.7060814,50.3873107 78.278399,46.2710186 80.4690766,42.561 C82.6597542,38.8509815 85.5393921,35.8300117 89.1080766,33.498 C92.6767611,31.1659883 97.0757171,30 102.305077,30 C105.273091,30 108.064397,30.4946617 110.679077,31.484 C113.293756,32.4733383 115.608067,33.8513245 117.622077,35.618 C119.636087,37.3846755 121.27907,39.5046543 122.551077,41.978 C123.823083,44.4513457 124.529743,47.2073181 124.671077,50.246 L112.587077,50.246 Z M100.927077,97.098 C103.117754,97.098 105.025735,96.6563378 106.651077,95.773 C108.276418,94.8896623 109.636738,93.7413404 110.732077,92.328 C111.827415,90.9146596 112.640074,89.271676 113.170077,87.399 C113.700079,85.526324 113.965077,83.6006766 113.965077,81.622 C113.965077,79.6433234 113.700079,77.7353425 113.170077,75.898 C112.640074,74.0606575 111.827415,72.4530069 110.732077,71.075 C109.636738,69.6969931 108.276418,68.5840042 106.651077,67.736 C105.025735,66.8879958 103.117754,66.464 100.927077,66.464 C98.736399,66.464 96.8107516,66.8703293 95.1500766,67.683 C93.4894017,68.4956707 92.0937489,69.5909931 90.9630766,70.969 C89.8324043,72.3470069 88.9844128,73.9546575 88.4190766,75.792 C87.8537405,77.6293425 87.5710766,79.5726564 87.5710766,81.622 C87.5710766,83.6713436 87.8537405,85.6146575 88.4190766,87.452 C88.9844128,89.2893425 89.8324043,90.9323261 90.9630766,92.381 C92.0937489,93.8296739 93.4894017,94.9779958 95.1500766,95.826 C96.8107516,96.6740042 98.736399,97.098 100.927077,97.098 L100.927077,97.098 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/help": { "title": "$:/core/images/help", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-help tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M36.0548906,111.44117 C30.8157418,115.837088 20.8865444,118.803477 9.5,118.803477 C7.86465619,118.803477 6.25937294,118.742289 4.69372699,118.624467 C12.612543,115.984876 18.7559465,110.02454 21.0611049,102.609942 C8.74739781,92.845129 1.04940554,78.9359851 1.04940554,63.5 C1.04940554,33.9527659 29.2554663,10 64.0494055,10 C98.8433448,10 127.049406,33.9527659 127.049406,63.5 C127.049406,93.0472341 98.8433448,117 64.0494055,117 C53.9936953,117 44.48824,114.999337 36.0548906,111.44117 L36.0548906,111.44117 Z M71.4042554,77.5980086 C71.406883,77.2865764 71.4095079,76.9382011 71.4119569,76.5610548 C71.4199751,75.3262169 71.4242825,74.0811293 71.422912,72.9158546 C71.4215244,71.736154 71.4143321,70.709635 71.4001396,69.8743525 C71.4078362,68.5173028 71.9951951,67.7870427 75.1273009,65.6385471 C75.2388969,65.5619968 76.2124091,64.8981068 76.5126553,64.6910879 C79.6062455,62.5580654 81.5345849,60.9050204 83.2750652,58.5038955 C85.6146327,55.2762841 86.8327108,51.426982 86.8327108,46.8554323 C86.8327108,33.5625756 76.972994,24.9029551 65.3778484,24.9029551 C54.2752771,24.9029551 42.8794554,34.5115163 41.3121702,47.1975534 C40.9043016,50.4989536 43.2499725,53.50591 46.5513726,53.9137786 C49.8527728,54.3216471 52.8597292,51.9759763 53.2675978,48.6745761 C54.0739246,42.1479456 60.2395837,36.9492759 65.3778484,36.9492759 C70.6427674,36.9492759 74.78639,40.5885487 74.78639,46.8554323 C74.78639,50.4892974 73.6853224,52.008304 69.6746221,54.7736715 C69.4052605,54.9593956 68.448509,55.6118556 68.3131127,55.7047319 C65.6309785,57.5445655 64.0858213,58.803255 62.6123358,60.6352315 C60.5044618,63.2559399 59.3714208,66.3518252 59.3547527,69.9487679 C59.3684999,70.8407274 59.3752803,71.8084521 59.3765995,72.9300232 C59.3779294,74.0607297 59.3737237,75.2764258 59.36589,76.482835 C59.3634936,76.8518793 59.3609272,77.1924914 59.3583633,77.4963784 C59.3568319,77.6778944 59.3556368,77.8074256 59.3549845,77.8730928 C59.3219814,81.1994287 61.9917551,83.9227111 65.318091,83.9557142 C68.644427,83.9887173 71.3677093,81.3189435 71.4007124,77.9926076 C71.4014444,77.9187458 71.402672,77.7856841 71.4042554,77.5980086 Z M65.3778489,102.097045 C69.5359735,102.097045 72.9067994,98.7262189 72.9067994,94.5680944 C72.9067994,90.4099698 69.5359735,87.0391439 65.3778489,87.0391439 C61.2197243,87.0391439 57.8488984,90.4099698 57.8488984,94.5680944 C57.8488984,98.7262189 61.2197243,102.097045 65.3778489,102.097045 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/home-button": { "title": "$:/core/images/home-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-home-button tc-image-button\" viewBox=\"0 0 128 128\" width=\"22pt\" height=\"22pt\">\n <g fill-rule=\"evenodd\">\n <path d=\"M112.9847,119.501583 C112.99485,119.336814 113,119.170705 113,119.003406 L113,67.56802 C116.137461,70.5156358 121.076014,70.4518569 124.133985,67.3938855 C127.25818,64.2696912 127.260618,59.2068102 124.131541,56.0777326 L70.3963143,2.34250601 C68.8331348,0.779326498 66.7828947,-0.000743167069 64.7337457,1.61675364e-05 C62.691312,-0.00409949529 60.6426632,0.777559815 59.077717,2.34250601 L33,28.420223 L33,28.420223 L33,8.00697327 C33,3.58484404 29.4092877,0 25,0 C20.581722,0 17,3.59075293 17,8.00697327 L17,44.420223 L5.3424904,56.0777326 C2.21694607,59.2032769 2.22220878,64.2760483 5.34004601,67.3938855 C8.46424034,70.5180798 13.5271213,70.5205187 16.6561989,67.3914411 L17,67.04764 L17,119.993027 C17,119.994189 17.0000002,119.995351 17.0000007,119.996514 C17.0000002,119.997675 17,119.998838 17,120 C17,124.418278 20.5881049,128 24.9992458,128 L105.000754,128 C109.418616,128 113,124.409288 113,120 C113,119.832611 112.99485,119.666422 112.9847,119.501583 Z M97,112 L97,51.5736087 L97,51.5736087 L64.7370156,19.3106244 L33,51.04764 L33,112 L97,112 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/import-button": { "title": "$:/core/images/import-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-import-button tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M105.449437,94.2138951 C105.449437,94.2138951 110.049457,94.1897106 110.049457,99.4026111 C110.049457,104.615512 105.163246,104.615511 105.163246,104.615511 L45.0075072,105.157833 C45.0075072,105.157833 0.367531803,106.289842 0.367532368,66.6449212 C0.367532934,27.0000003 45.0428249,27.0000003 45.0428249,27.0000003 L105.532495,27.0000003 C105.532495,27.0000003 138.996741,25.6734987 138.996741,55.1771866 C138.996741,84.6808745 105.727102,82.8457535 105.727102,82.8457535 L56.1735087,82.8457535 C56.1735087,82.8457535 22.6899229,85.1500223 22.6899229,66.0913753 C22.6899229,47.0327282 56.1735087,49.3383013 56.1735087,49.3383013 L105.727102,49.3383013 C105.727102,49.3383013 111.245209,49.3383024 111.245209,54.8231115 C111.245209,60.3079206 105.727102,60.5074524 105.727102,60.5074524 L56.1735087,60.5074524 C56.1735087,60.5074524 37.48913,60.5074528 37.48913,66.6449195 C37.48913,72.7823862 56.1735087,71.6766023 56.1735087,71.6766023 L105.727102,71.6766029 C105.727102,71.6766029 127.835546,73.1411469 127.835546,55.1771866 C127.835546,35.5304025 105.727102,38.3035317 105.727102,38.3035317 L45.0428249,38.3035317 C45.0428249,38.3035317 11.5287276,38.3035313 11.5287276,66.6449208 C11.5287276,94.9863103 45.0428244,93.9579678 45.0428244,93.9579678 L105.449437,94.2138951 Z\" transform=\"translate(69.367532, 66.000000) rotate(-45.000000) translate(-69.367532, -66.000000) \"></path>\n </g>\n</svg>" }, "$:/core/images/info-button": { "title": "$:/core/images/info-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-info-button tc-image-button\" viewBox=\"0 0 128 128\" width=\"22pt\" height=\"22pt\">\n <g fill-rule=\"evenodd\">\n <g transform=\"translate(0.049406, 0.000000)\">\n <path d=\"M64,128 C99.346224,128 128,99.346224 128,64 C128,28.653776 99.346224,0 64,0 C28.653776,0 0,28.653776 0,64 C0,99.346224 28.653776,128 64,128 Z M64,112 C90.509668,112 112,90.509668 112,64 C112,37.490332 90.509668,16 64,16 C37.490332,16 16,37.490332 16,64 C16,90.509668 37.490332,112 64,112 Z\"></path>\n <circle cx=\"64\" cy=\"32\" r=\"8\"></circle>\n <rect x=\"56\" y=\"48\" width=\"16\" height=\"56\" rx=\"8\"></rect>\n </g>\n </g>\n</svg>" }, "$:/core/images/italic": { "title": "$:/core/images/italic", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-italic tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <polygon points=\"66.7114846 0 89.1204482 0 62.4089636 128 40 128\"></polygon>\n </g>\n</svg>" }, "$:/core/images/left-arrow": { "title": "$:/core/images/left-arrow", "created": "20150315234410875", "modified": "20150315235324760", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-left-arrow tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <path transform=\"rotate(135, 63.8945, 64.1752)\" d=\"m109.07576,109.35336c-1.43248,1.43361 -3.41136,2.32182 -5.59717,2.32182l-79.16816,0c-4.36519,0 -7.91592,-3.5444 -7.91592,-7.91666c0,-4.36337 3.54408,-7.91667 7.91592,-7.91667l71.25075,0l0,-71.25075c0,-4.3652 3.54442,-7.91592 7.91667,-7.91592c4.36336,0 7.91667,3.54408 7.91667,7.91592l0,79.16815c0,2.1825 -0.88602,4.16136 -2.3185,5.59467l-0.00027,-0.00056z\"/>\n</svg>\n" }, "$:/core/images/line-width": { "title": "$:/core/images/line-width", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-line-width tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M128,-97 L112.992786,-97 C112.452362,-97 112,-96.5522847 112,-96 C112,-95.4438648 112.444486,-95 112.992786,-95 L128,-95 L128,-97 Z M128,-78.6794919 L111.216185,-88.3696322 C110.748163,-88.6398444 110.132549,-88.4782926 109.856406,-88 C109.578339,-87.5183728 109.741342,-86.9117318 110.216185,-86.6375814 L128,-76.3700908 L128,-78.6794919 Z M78.6794919,-128 L88.3696322,-111.216185 C88.6437826,-110.741342 88.4816272,-110.134474 88,-109.856406 C87.5217074,-109.580264 86.9077936,-109.748163 86.6375814,-110.216185 L76.3700908,-128 L78.6794919,-128 Z M97,-128 L97,-112.992786 C97,-112.444486 96.5561352,-112 96,-112 C95.4477153,-112 95,-112.452362 95,-112.992786 L95,-128 L97,-128 Z M115.629909,-128 L105.362419,-110.216185 C105.088268,-109.741342 104.481627,-109.578339 104,-109.856406 C103.521707,-110.132549 103.360156,-110.748163 103.630368,-111.216185 L113.320508,-128 L115.629909,-128 Z M128,-113.320508 L111.216185,-103.630368 C110.741342,-103.356217 110.134474,-103.518373 109.856406,-104 C109.580264,-104.478293 109.748163,-105.092206 110.216185,-105.362419 L128,-115.629909 L128,-113.320508 Z M48,-96 C48,-96.5522847 48.4523621,-97 48.9927864,-97 L79.0072136,-97 C79.5555144,-97 80,-96.5561352 80,-96 C80,-95.4477153 79.5476379,-95 79.0072136,-95 L48.9927864,-95 C48.4444856,-95 48,-95.4438648 48,-96 Z M54.4307806,-120 C54.706923,-120.478293 55.3225377,-120.639844 55.7905589,-120.369632 L81.7838153,-105.362419 C82.2586577,-105.088268 82.4216611,-104.481627 82.1435935,-104 C81.8674512,-103.521707 81.2518365,-103.360156 80.7838153,-103.630368 L54.7905589,-118.637581 C54.3157165,-118.911732 54.152713,-119.518373 54.4307806,-120 Z M104,-82.1435935 C104.478293,-82.4197359 105.092206,-82.2518365 105.362419,-81.7838153 L120.369632,-55.7905589 C120.643783,-55.3157165 120.481627,-54.7088482 120,-54.4307806 C119.521707,-54.1546382 118.907794,-54.3225377 118.637581,-54.7905589 L103.630368,-80.7838153 C103.356217,-81.2586577 103.518373,-81.865526 104,-82.1435935 Z M96,-80 C96.5522847,-80 97,-79.5476379 97,-79.0072136 L97,-48.9927864 C97,-48.4444856 96.5561352,-48 96,-48 C95.4477153,-48 95,-48.4523621 95,-48.9927864 L95,-79.0072136 C95,-79.5555144 95.4438648,-80 96,-80 Z M88,-82.1435935 C88.4782926,-81.8674512 88.6398444,-81.2518365 88.3696322,-80.7838153 L73.3624186,-54.7905589 C73.0882682,-54.3157165 72.4816272,-54.152713 72,-54.4307806 C71.5217074,-54.706923 71.3601556,-55.3225377 71.6303678,-55.7905589 L86.6375814,-81.7838153 C86.9117318,-82.2586577 87.5183728,-82.4216611 88,-82.1435935 Z M82.1435935,-88 C82.4197359,-87.5217074 82.2518365,-86.9077936 81.7838153,-86.6375814 L55.7905589,-71.6303678 C55.3157165,-71.3562174 54.7088482,-71.5183728 54.4307806,-72 C54.1546382,-72.4782926 54.3225377,-73.0922064 54.7905589,-73.3624186 L80.7838153,-88.3696322 C81.2586577,-88.6437826 81.865526,-88.4816272 82.1435935,-88 Z M1.30626177e-08,-41.9868843 L15.0170091,-57.9923909 L20.7983821,-52.9749272 L44.7207091,-81.2095939 L73.4260467,-42.1002685 L85.984793,-56.6159488 L104.48741,-34.0310661 L127.969109,-47.4978019 L127.969109,7.99473128e-07 L1.30626177e-08,7.99473128e-07 L1.30626177e-08,-41.9868843 Z M96,-84 C102.627417,-84 108,-89.372583 108,-96 C108,-102.627417 102.627417,-108 96,-108 C89.372583,-108 84,-102.627417 84,-96 C84,-89.372583 89.372583,-84 96,-84 Z\"></path>\n <path d=\"M16,18 L112,18 C113.104569,18 114,17.1045695 114,16 C114,14.8954305 113.104569,14 112,14 L16,14 C14.8954305,14 14,14.8954305 14,16 C14,17.1045695 14.8954305,18 16,18 L16,18 Z M16,35 L112,35 C114.209139,35 116,33.209139 116,31 C116,28.790861 114.209139,27 112,27 L16,27 C13.790861,27 12,28.790861 12,31 C12,33.209139 13.790861,35 16,35 L16,35 Z M16,56 L112,56 C115.313708,56 118,53.3137085 118,50 C118,46.6862915 115.313708,44 112,44 L16,44 C12.6862915,44 10,46.6862915 10,50 C10,53.3137085 12.6862915,56 16,56 L16,56 Z M16,85 L112,85 C117.522847,85 122,80.5228475 122,75 C122,69.4771525 117.522847,65 112,65 L16,65 C10.4771525,65 6,69.4771525 6,75 C6,80.5228475 10.4771525,85 16,85 L16,85 Z M16,128 L112,128 C120.836556,128 128,120.836556 128,112 C128,103.163444 120.836556,96 112,96 L16,96 C7.163444,96 0,103.163444 0,112 C0,120.836556 7.163444,128 16,128 L16,128 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/link": { "title": "$:/core/images/link", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-link tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M128.719999,57.568543 C130.219553,53.8628171 131.045202,49.8121445 131.045202,45.5685425 C131.045202,27.8915447 116.718329,13.5685425 99.0452364,13.5685425 L67.0451674,13.5685425 C49.3655063,13.5685425 35.0452019,27.8954305 35.0452019,45.5685425 C35.0452019,63.2455403 49.3720745,77.5685425 67.0451674,77.5685425 L99.0452364,77.5685425 C100.406772,77.5685425 101.748384,77.4835732 103.065066,77.3186499 C96.4792444,73.7895096 91.1190212,68.272192 87.7873041,61.5685425 L67.0506214,61.5685425 C58.2110723,61.5685425 51.0452019,54.4070414 51.0452019,45.5685425 C51.0452019,36.7319865 58.2005234,29.5685425 67.0506214,29.5685425 L99.0397824,29.5685425 C107.879331,29.5685425 115.045202,36.7300436 115.045202,45.5685425 C115.045202,48.9465282 113.99957,52.0800164 112.21335,54.6623005 C114.314383,56.4735917 117.050039,57.5685425 120.041423,57.5685425 L128.720003,57.5685425 Z\" transform=\"translate(83.045202, 45.568542) rotate(-225.000000) translate(-83.045202, -45.568542)\"></path>\n <path d=\"M-0.106255113,71.0452019 C-1.60580855,74.7509276 -2.43145751,78.8016001 -2.43145751,83.0452019 C-2.43145751,100.7222 11.8954151,115.045202 29.568508,115.045202 L61.568577,115.045202 C79.2482381,115.045202 93.5685425,100.718314 93.5685425,83.0452019 C93.5685425,65.3682041 79.2416699,51.0452019 61.568577,51.0452019 L29.568508,51.0452019 C28.206973,51.0452019 26.8653616,51.1301711 25.5486799,51.2950943 C32.1345,54.8242347 37.4947231,60.3415524 40.8264403,67.0452019 L61.563123,67.0452019 C70.4026721,67.0452019 77.5685425,74.206703 77.5685425,83.0452019 C77.5685425,91.8817579 70.413221,99.0452019 61.563123,99.0452019 L29.573962,99.0452019 C20.7344129,99.0452019 13.5685425,91.8837008 13.5685425,83.0452019 C13.5685425,79.6672162 14.6141741,76.533728 16.4003949,73.9514439 C14.2993609,72.1401527 11.5637054,71.0452019 8.5723215,71.0452019 L-0.106255113,71.0452019 Z\" transform=\"translate(45.568542, 83.045202) rotate(-225.000000) translate(-45.568542, -83.045202)\"></path>\n </g>\n</svg>" }, "$:/core/images/linkify": { "title": "$:/core/images/linkify", "tags": "$:/tags/Image", "text": "<svg class=\"tc-linkify-button tc-image-button\" viewBox=\"0 0 128 128\" width=\"22pt\" height=\"22pt\"><path 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\" fill-rule=\"evenodd\"/></svg>" }, "$:/core/images/list-bullet": { "title": "$:/core/images/list-bullet", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-list-bullet tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M11.6363636,40.2727273 C18.0629498,40.2727273 23.2727273,35.0629498 23.2727273,28.6363636 C23.2727273,22.2097775 18.0629498,17 11.6363636,17 C5.20977746,17 0,22.2097775 0,28.6363636 C0,35.0629498 5.20977746,40.2727273 11.6363636,40.2727273 Z M11.6363636,75.1818182 C18.0629498,75.1818182 23.2727273,69.9720407 23.2727273,63.5454545 C23.2727273,57.1188684 18.0629498,51.9090909 11.6363636,51.9090909 C5.20977746,51.9090909 0,57.1188684 0,63.5454545 C0,69.9720407 5.20977746,75.1818182 11.6363636,75.1818182 Z M11.6363636,110.090909 C18.0629498,110.090909 23.2727273,104.881132 23.2727273,98.4545455 C23.2727273,92.0279593 18.0629498,86.8181818 11.6363636,86.8181818 C5.20977746,86.8181818 0,92.0279593 0,98.4545455 C0,104.881132 5.20977746,110.090909 11.6363636,110.090909 Z M34.9090909,22.8181818 L128,22.8181818 L128,34.4545455 L34.9090909,34.4545455 L34.9090909,22.8181818 Z M34.9090909,57.7272727 L128,57.7272727 L128,69.3636364 L34.9090909,69.3636364 L34.9090909,57.7272727 Z M34.9090909,92.6363636 L128,92.6363636 L128,104.272727 L34.9090909,104.272727 L34.9090909,92.6363636 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/list-number": { "title": "$:/core/images/list-number", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-list-number tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M33.8390805,22.3563218 L128,22.3563218 L128,34.1264368 L33.8390805,34.1264368 L33.8390805,22.3563218 Z M33.8390805,57.6666667 L128,57.6666667 L128,69.4367816 L33.8390805,69.4367816 L33.8390805,57.6666667 Z M33.8390805,92.9770115 L128,92.9770115 L128,104.747126 L33.8390805,104.747126 L33.8390805,92.9770115 Z M0.379509711,42.6307008 L0.379509711,40.4082314 L1.37821948,40.4082314 C2.20382368,40.4082314 2.82301754,40.268077 3.23581964,39.9877642 C3.64862174,39.7074513 3.85501969,39.0400498 3.85501969,37.9855395 L3.85501969,22.7686318 C3.85501969,21.3270228 3.66193774,20.4327047 3.27576803,20.0856507 C2.88959832,19.7385967 1.79768657,19.5650723 0,19.5650723 L0,17.4226919 C3.50215975,17.2758613 6.25191314,16.4683055 8.24934266,15 L10.3666074,15 L10.3666074,37.865406 C10.3666074,38.786434 10.5164123,39.4404875 10.8160268,39.8275862 C11.1156412,40.2146849 11.764796,40.4082314 12.7635108,40.4082314 L13.7622206,40.4082314 L13.7622206,42.6307008 L0.379509711,42.6307008 Z M0.0798967812,77.9873934 L0.0798967812,76.0852799 C7.27064304,69.5312983 10.8659622,63.5046623 10.8659622,58.005191 C10.8659622,56.4434479 10.5397203,55.195407 9.88722667,54.2610308 C9.23473303,53.3266546 8.36253522,52.8594735 7.27060709,52.8594735 C6.3784219,52.8594735 5.61608107,53.1764892 4.98356173,53.8105302 C4.35104238,54.4445712 4.03478745,55.1753759 4.03478745,56.0029663 C4.03478745,56.9773871 4.28113339,57.8316611 4.77383268,58.5658139 C4.88036225,58.7259926 4.93362624,58.8461249 4.93362624,58.9262143 C4.93362624,59.0730449 4.77383427,59.2065252 4.45424555,59.3266593 C4.2411864,59.4067486 3.70188852,59.6336652 2.83633573,60.0074156 C1.99741533,60.3811661 1.47809145,60.5680386 1.2783485,60.5680386 C1.03865696,60.5680386 0.765679018,60.1976307 0.459406492,59.4568039 C0.153133966,58.715977 0,57.9184322 0,57.0641453 C0,55.1153036 0.848894811,53.5202138 2.5467099,52.2788283 C4.24452499,51.0374428 6.34512352,50.4167594 8.84856852,50.4167594 C11.3120649,50.4167594 13.3793735,51.0874979 15.0505562,52.4289952 C16.7217389,53.7704924 17.5573177,55.5224215 17.5573177,57.684835 C17.5573177,58.9662652 17.2743527,60.2076321 16.7084144,61.4089729 C16.142476,62.6103138 14.7875733,64.4623531 12.6436656,66.9651465 C10.4997579,69.4679398 8.40914641,71.7804862 6.3717683,73.902855 L17.8169822,73.902855 L16.7982982,79.6292176 L14.6810335,79.6292176 C14.7609307,79.3489048 14.8008787,79.0952922 14.8008787,78.8683723 C14.8008787,78.4812736 14.7010087,78.237672 14.5012658,78.1375603 C14.3015228,78.0374485 13.9020429,77.9873934 13.3028141,77.9873934 L0.0798967812,77.9873934 Z M12.2042333,97.1935484 C13.9486551,97.2335931 15.4400468,97.8309175 16.6784531,98.9855395 C17.9168594,100.140162 18.5360532,101.75861 18.5360532,103.840934 C18.5360532,106.830938 17.4041935,109.233584 15.14044,111.048943 C12.8766866,112.864303 10.1402492,113.771969 6.93104577,113.771969 C4.92030005,113.771969 3.26245842,113.388213 1.95747114,112.62069 C0.652483855,111.853166 0,110.848727 0,109.607341 C0,108.833144 0.26964894,108.209124 0.808954909,107.735261 C1.34826088,107.261399 1.93749375,107.024472 2.57667119,107.024472 C3.21584864,107.024472 3.73850152,107.224692 4.14464552,107.625139 C4.55078953,108.025586 4.92696644,108.67964 5.27318756,109.587319 C5.73925445,110.855401 6.51158227,111.489433 7.59019421,111.489433 C8.85523291,111.489433 9.87723568,111.012241 10.6562332,110.057842 C11.4352307,109.103444 11.8247236,107.371536 11.8247236,104.862069 C11.8247236,103.153495 11.7048796,101.838714 11.4651881,100.917686 C11.2254966,99.9966584 10.6728827,99.5361513 9.80732989,99.5361513 C9.22141723,99.5361513 8.62219737,99.843156 8.00965231,100.457175 C7.51695303,100.951059 7.07752513,101.197998 6.69135542,101.197998 C6.3584505,101.197998 6.08880156,101.051169 5.88240051,100.757508 C5.67599946,100.463847 5.57280049,100.183539 5.57280049,99.916574 C5.57280049,99.5962164 5.67599946,99.3225818 5.88240051,99.0956618 C6.08880156,98.8687419 6.57150646,98.5016711 7.33052967,97.9944383 C10.2068282,96.0722929 11.6449559,93.9766521 11.6449559,91.7074527 C11.6449559,90.5194601 11.3386879,89.615131 10.7261429,88.9944383 C10.1135978,88.3737455 9.37455999,88.0634038 8.5090072,88.0634038 C7.71003539,88.0634038 6.98431355,88.3270274 6.33181991,88.8542825 C5.67932627,89.3815377 5.35308434,90.0122321 5.35308434,90.7463849 C5.35308434,91.3871 5.60608828,91.9810874 6.11210376,92.5283648 C6.28521432,92.7285883 6.3717683,92.8954387 6.3717683,93.028921 C6.3717683,93.1490551 5.80250943,93.4560598 4.6639746,93.9499444 C3.52543978,94.4438289 2.80970494,94.6907675 2.51674861,94.6907675 C2.10394651,94.6907675 1.76771758,94.3570667 1.50805174,93.6896552 C1.24838591,93.0222436 1.11855494,92.4082342 1.11855494,91.8476085 C1.11855494,90.0989901 2.04734573,88.6240327 3.90495518,87.4226919 C5.76256463,86.2213511 7.86982116,85.6206897 10.226788,85.6206897 C12.2907985,85.6206897 14.0784711,86.0678487 15.5898594,86.9621802 C17.1012478,87.8565117 17.8569306,89.0778566 17.8569306,90.6262514 C17.8569306,91.987771 17.2876717,93.2491599 16.1491369,94.4104561 C15.0106021,95.5717522 13.6956474,96.4994404 12.2042333,97.1935484 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/list": { "title": "$:/core/images/list", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-list tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M0.719999312,185.568543 C2.21955287,181.862817 3.0452019,177.812144 3.0452019,173.568542 C3.0452019,155.891545 -11.2816707,141.568542 -28.9547636,141.568542 L-60.9548326,141.568542 C-78.6344937,141.568542 -92.9547981,155.895431 -92.9547981,173.568542 C-92.9547981,191.24554 -78.6279255,205.568542 -60.9548326,205.568542 L-28.9547636,205.568542 C-27.593228,205.568542 -26.2516158,205.483573 -24.9349335,205.31865 C-31.5207556,201.78951 -36.8809788,196.272192 -40.2126959,189.568542 L-60.9493786,189.568542 C-69.7889277,189.568542 -76.9547981,182.407041 -76.9547981,173.568542 C-76.9547981,164.731986 -69.7994766,157.568542 -60.9493786,157.568542 L-28.9602176,157.568542 C-20.1206685,157.568542 -12.9547981,164.730044 -12.9547981,173.568542 C-12.9547981,176.946528 -14.0004297,180.080016 -15.7866505,182.6623 C-13.6856165,184.473592 -10.949961,185.568542 -7.9585771,185.568542 L0.720002586,185.568542 Z\" transform=\"translate(-44.954798, 173.568542) rotate(-225.000000) translate(44.954798, -173.568542) \"></path>\n <path d=\"M87.7480315,128 L23.9992458,128 C19.5813843,128 16,124.409247 16,119.993027 L16,8.00697327 C16,3.58484404 19.5881049,0 23.9992458,0 L104.000754,0 C108.418616,0 112,3.59075293 112,8.00697327 L112,104 L91.2492027,104 C90.2848199,104 89.410573,104.391703 88.7768998,105.025201 C88.1373658,105.661376 87.7480315,106.53563 87.7480315,107.501171 L87.7480315,128 Z M95.7480315,127.879386 L111.627417,112 L95.7480315,112 L95.7480315,127.879386 Z M40,15.5089165 C40,13.5709954 41.5636015,12 43.4998101,12 L98.5001899,12 C100.433082,12 102,13.5614718 102,15.5089165 L102,16.4910835 C102,18.4290046 100.436399,20 98.5001899,20 L43.4998101,20 C41.5669183,20 40,18.4385282 40,16.4910835 L40,15.5089165 Z M32,22 C35.3137085,22 38,19.3137085 38,16 C38,12.6862915 35.3137085,10 32,10 C28.6862915,10 26,12.6862915 26,16 C26,19.3137085 28.6862915,22 32,22 Z M40,31.5089165 C40,29.5709954 41.5636015,28 43.4998101,28 L98.5001899,28 C100.433082,28 102,29.5614718 102,31.5089165 L102,32.4910835 C102,34.4290046 100.436399,36 98.5001899,36 L43.4998101,36 C41.5669183,36 40,34.4385282 40,32.4910835 L40,31.5089165 Z M40,47.5089165 C40,45.5709954 41.5636015,44 43.4998101,44 L98.5001899,44 C100.433082,44 102,45.5614718 102,47.5089165 L102,48.4910835 C102,50.4290046 100.436399,52 98.5001899,52 L43.4998101,52 C41.5669183,52 40,50.4385282 40,48.4910835 L40,47.5089165 Z M40,63.5089165 C40,61.5709954 41.5636015,60 43.4998101,60 L98.5001899,60 C100.433082,60 102,61.5614718 102,63.5089165 L102,64.4910835 C102,66.4290046 100.436399,68 98.5001899,68 L43.4998101,68 C41.5669183,68 40,66.4385282 40,64.4910835 L40,63.5089165 Z M40,79.5089165 C40,77.5709954 41.5636015,76 43.4998101,76 L98.5001899,76 C100.433082,76 102,77.5614718 102,79.5089165 L102,80.4910835 C102,82.4290046 100.436399,84 98.5001899,84 L43.4998101,84 C41.5669183,84 40,82.4385282 40,80.4910835 L40,79.5089165 Z M40,95.5089165 C40,93.5709954 41.5636015,92 43.4998101,92 L98.5001899,92 C100.433082,92 102,93.5614718 102,95.5089165 L102,96.4910835 C102,98.4290046 100.436399,100 98.5001899,100 L43.4998101,100 C41.5669183,100 40,98.4385282 40,96.4910835 L40,95.5089165 Z M40,111.508916 C40,109.570995 41.5680474,108 43.4972017,108 L76.5027983,108 C78.4342495,108 80,109.561472 80,111.508916 L80,112.491084 C80,114.429005 78.4319526,116 76.5027983,116 L43.4972017,116 C41.5657505,116 40,114.438528 40,112.491084 L40,111.508916 Z M32,38 C35.3137085,38 38,35.3137085 38,32 C38,28.6862915 35.3137085,26 32,26 C28.6862915,26 26,28.6862915 26,32 C26,35.3137085 28.6862915,38 32,38 Z M32,54 C35.3137085,54 38,51.3137085 38,48 C38,44.6862915 35.3137085,42 32,42 C28.6862915,42 26,44.6862915 26,48 C26,51.3137085 28.6862915,54 32,54 Z M32,70 C35.3137085,70 38,67.3137085 38,64 C38,60.6862915 35.3137085,58 32,58 C28.6862915,58 26,60.6862915 26,64 C26,67.3137085 28.6862915,70 32,70 Z M32,86 C35.3137085,86 38,83.3137085 38,80 C38,76.6862915 35.3137085,74 32,74 C28.6862915,74 26,76.6862915 26,80 C26,83.3137085 28.6862915,86 32,86 Z M32,102 C35.3137085,102 38,99.3137085 38,96 C38,92.6862915 35.3137085,90 32,90 C28.6862915,90 26,92.6862915 26,96 C26,99.3137085 28.6862915,102 32,102 Z M32,118 C35.3137085,118 38,115.313708 38,112 C38,108.686292 35.3137085,106 32,106 C28.6862915,106 26,108.686292 26,112 C26,115.313708 28.6862915,118 32,118 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/locked-padlock": { "title": "$:/core/images/locked-padlock", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-locked-padlock tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M96.4723753,64 L105,64 L105,96.0097716 C105,113.673909 90.6736461,128 73.001193,128 L55.998807,128 C38.3179793,128 24,113.677487 24,96.0097716 L24,64 L32.0000269,64 C32.0028554,48.2766389 32.3030338,16.2688026 64.1594984,16.2688041 C95.9543927,16.2688056 96.4648869,48.325931 96.4723753,64 Z M80.5749059,64 L48.4413579,64 C48.4426205,47.71306 48.5829272,31.9999996 64.1595001,31.9999996 C79.8437473,31.9999996 81.1369461,48.1359182 80.5749059,64 Z M67.7315279,92.3641717 C70.8232551,91.0923621 73,88.0503841 73,84.5 C73,79.8055796 69.1944204,76 64.5,76 C59.8055796,76 56,79.8055796 56,84.5 C56,87.947435 58.0523387,90.9155206 61.0018621,92.2491029 L55.9067479,115.020857 L72.8008958,115.020857 L67.7315279,92.3641717 L67.7315279,92.3641717 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/mail": { "title": "$:/core/images/mail", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-mail tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M122.826782,104.894066 C121.945525,105.22777 120.990324,105.41043 119.993027,105.41043 L8.00697327,105.41043 C7.19458381,105.41043 6.41045219,105.289614 5.67161357,105.064967 L5.67161357,105.064967 L39.8346483,70.9019325 L60.6765759,91.7438601 C61.6118278,92.679112 62.8865166,93.0560851 64.0946097,92.8783815 C65.2975108,93.0473238 66.5641085,92.6696979 67.4899463,91.7438601 L88.5941459,70.6396605 C88.6693095,70.7292352 88.7490098,70.8162939 88.8332479,70.9005321 L122.826782,104.894066 Z M127.903244,98.6568194 C127.966933,98.2506602 128,97.8343714 128,97.4103789 L128,33.410481 C128,32.7414504 127.917877,32.0916738 127.763157,31.4706493 L94.2292399,65.0045665 C94.3188145,65.0797417 94.4058701,65.1594458 94.4901021,65.2436778 L127.903244,98.6568194 Z M0.205060636,99.2178117 C0.0709009529,98.6370366 0,98.0320192 0,97.4103789 L0,33.410481 C0,32.694007 0.0944223363,31.9995312 0.27147538,31.3387595 L0.27147538,31.3387595 L34.1777941,65.2450783 L0.205060636,99.2178117 L0.205060636,99.2178117 Z M5.92934613,25.6829218 C6.59211333,25.5051988 7.28862283,25.4104299 8.00697327,25.4104299 L119.993027,25.4104299 C120.759109,25.4104299 121.500064,25.5178649 122.201605,25.7184927 L122.201605,25.7184927 L64.0832611,83.8368368 L5.92934613,25.6829218 L5.92934613,25.6829218 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/menu-button": { "title": "$:/core/images/menu-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-menu-button tc-image-button\" viewBox=\"0 0 128 128\" width=\"22pt\" height=\"22pt\">\n <rect x=\"0\" y=\"16\" width=\"128\" height=\"16\" rx=\"8\"></rect>\n <rect x=\"0\" y=\"56\" width=\"128\" height=\"16\" rx=\"8\"></rect>\n <rect x=\"0\" y=\"96\" width=\"128\" height=\"16\" rx=\"8\"></rect>\n</svg>" }, "$:/core/images/mono-block": { "title": "$:/core/images/mono-block", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-mono-block tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M23.9653488,32.9670593 L24.3217888,32.9670593 C25.0766067,32.9670593 25.6497006,33.1592554 26.0410876,33.5436534 C26.4324747,33.9280514 26.6281653,34.4906619 26.6281653,35.2315017 C26.6281653,36.0562101 26.4219913,36.6502709 26.009637,37.0137017 C25.5972828,37.3771326 24.9158602,37.5588453 23.9653488,37.5588453 L17.6542639,37.5588453 C16.6897744,37.5588453 16.0048573,37.380627 15.5994921,37.0241852 C15.1941269,36.6677435 14.9914474,36.0701882 14.9914474,35.2315017 C14.9914474,34.4207713 15.1941269,33.8406885 15.5994921,33.4912358 C16.0048573,33.141783 16.6897744,32.9670593 17.6542639,32.9670593 L18.388111,32.9670593 L17.5284616,30.5139133 L8.47069195,30.5139133 L7.5691084,32.9670593 L8.30295547,32.9670593 C9.25346691,32.9670593 9.93488953,33.1452775 10.3472438,33.5017193 C10.759598,33.8581611 10.965772,34.4347494 10.965772,35.2315017 C10.965772,36.0562101 10.759598,36.6502709 10.3472438,37.0137017 C9.93488953,37.3771326 9.25346691,37.5588453 8.30295547,37.5588453 L2.89345418,37.5588453 C1.92896463,37.5588453 1.24404754,37.3771326 0.838682371,37.0137017 C0.433317198,36.6502709 0.230637652,36.0562101 0.230637652,35.2315017 C0.230637652,34.4906619 0.426328248,33.9280514 0.817715312,33.5436534 C1.20910238,33.1592554 1.78219626,32.9670593 2.53701417,32.9670593 L2.89345418,32.9670593 L8.51262607,17.3256331 L6.83526132,17.3256331 C5.88474988,17.3256331 5.20332727,17.1439204 4.79097304,16.7804895 C4.37861882,16.4170587 4.1724448,15.8299869 4.1724448,15.0192565 C4.1724448,14.1945481 4.37861882,13.6004873 4.79097304,13.2370565 C5.20332727,12.8736257 5.88474988,12.691913 6.83526132,12.691913 L14.6979086,12.691913 C15.9419603,12.691913 16.815579,13.3628521 17.318791,14.7047506 L17.318791,14.7676518 L23.9653488,32.9670593 Z M12.9786097,17.3256331 L9.9383861,26.1737321 L16.0188333,26.1737321 L12.9786097,17.3256331 Z M35.3809383,26.6979086 L35.3809383,33.0928616 L38.5259972,33.0928616 C40.7485166,33.0928616 42.3140414,32.8482484 43.2226185,32.3590146 C44.1311956,31.8697807 44.5854773,31.0520736 44.5854773,29.9058686 C44.5854773,28.7456855 44.1521624,27.9209895 43.2855197,27.4317556 C42.4188769,26.9425218 40.9022748,26.6979086 38.7356678,26.6979086 L35.3809383,26.6979086 Z M46.0741385,24.370565 C47.5977525,24.9296893 48.7159844,25.6949794 49.428868,26.666458 C50.1417516,27.6379366 50.498188,28.8784752 50.498188,30.388111 C50.498188,31.6601189 50.1906743,32.8202846 49.5756374,33.8686428 C48.9606006,34.917001 48.0799929,35.7766419 46.933788,36.4475911 C46.2628387,36.8389782 45.5115266,37.1220307 44.6798291,37.296757 C43.8481316,37.4714834 42.6704935,37.5588453 41.1468796,37.5588453 L39.3856466,37.5588453 L30.2020747,37.5588453 C29.2795194,37.5588453 28.6190637,37.3771326 28.2206876,37.0137017 C27.8223114,36.6502709 27.6231264,36.0562101 27.6231264,35.2315017 C27.6231264,34.4906619 27.811828,33.9280514 28.189237,33.5436534 C28.5666459,33.1592554 29.118773,32.9670593 29.8456347,32.9670593 L30.2020747,32.9670593 L30.2020747,17.3256331 L29.8456347,17.3256331 C29.118773,17.3256331 28.5666459,17.1299425 28.189237,16.7385554 C27.811828,16.3471683 27.6231264,15.7740744 27.6231264,15.0192565 C27.6231264,14.2085262 27.8258059,13.6179599 28.2311711,13.24754 C28.6365363,12.8771201 29.2934976,12.691913 30.2020747,12.691913 L39.8469219,12.691913 C42.796303,12.691913 45.0362615,13.2650068 46.5668644,14.4112118 C48.0974674,15.5574168 48.8627574,17.2347648 48.8627574,19.443306 C48.8627574,20.5335986 48.6286276,21.4945792 48.1603609,22.3262767 C47.6920943,23.1579742 46.9966938,23.8393968 46.0741385,24.370565 L46.0741385,24.370565 Z M35.3809383,17.1998307 L35.3809383,22.4835296 L38.2114913,22.4835296 C39.9307988,22.4835296 41.1433816,22.2808501 41.8492761,21.8754849 C42.5551706,21.4701197 42.9081126,20.7852027 42.9081126,19.8207131 C42.9081126,18.912136 42.5901154,18.2481858 41.9541114,17.8288425 C41.3181074,17.4094992 40.2872373,17.1998307 38.8614701,17.1998307 L35.3809383,17.1998307 Z M71.244119,13.3838259 C71.5236812,12.880614 71.8102281,12.5241775 72.1037684,12.3145059 C72.3973087,12.1048342 72.7677231,12 73.2150226,12 C73.8999499,12 74.3856819,12.1817127 74.6722332,12.5451435 C74.9587844,12.9085744 75.1020579,13.5305909 75.1020579,14.4112118 L75.143992,19.8626472 C75.143992,20.8271368 74.9867406,21.4771091 74.6722332,21.8125837 C74.3577257,22.1480584 73.7881263,22.3157932 72.9634178,22.3157932 C72.3763372,22.3157932 71.92555,22.1760142 71.6110425,21.896452 C71.2965351,21.6168898 71.0274605,21.0997075 70.8038107,20.3448896 C70.4403799,19.0169692 69.8602971,18.0629775 69.0635448,17.482886 C68.2667926,16.9027945 67.1625385,16.612753 65.7507494,16.612753 C63.5981206,16.612753 61.9487284,17.3396038 60.8025235,18.7933272 C59.6563185,20.2470506 59.0832246,22.3507245 59.0832246,25.104412 C59.0832246,27.8441215 59.6633074,29.9477954 60.8234905,31.4154969 C61.9836736,32.8831984 63.6400547,33.6170381 65.7926836,33.6170381 C67.2603851,33.6170381 68.878327,33.1278116 70.6465578,32.149344 C72.4147886,31.1708763 73.5295261,30.6816498 73.9908037,30.6816498 C74.53595,30.6816498 74.9937262,30.9122852 75.3641461,31.3735628 C75.734566,31.8348404 75.9197732,32.4079343 75.9197732,33.0928616 C75.9197732,34.3229353 74.836486,35.4831009 72.669879,36.5733935 C70.5032721,37.663686 68.0641285,38.2088241 65.3523753,38.2088241 C61.6901107,38.2088241 58.7267959,36.9997358 56.4623422,34.5815228 C54.1978885,32.1633099 53.0656786,29.0043046 53.0656786,25.104412 C53.0656786,21.3443006 54.2118664,18.22024 56.5042763,15.7321366 C58.7966863,13.2440331 61.7040894,12 65.226573,12 C66.2190187,12 67.1974717,12.1118232 68.1619613,12.3354729 C69.1264508,12.5591227 70.1538264,12.9085702 71.244119,13.3838259 L71.244119,13.3838259 Z M81.4645862,32.9670593 L81.4645862,17.3256331 L81.1081461,17.3256331 C80.3533282,17.3256331 79.7802344,17.1299425 79.3888473,16.7385554 C78.9974602,16.3471683 78.8017696,15.7740744 78.8017696,15.0192565 C78.8017696,14.2085262 79.0114381,13.6179599 79.4307814,13.24754 C79.8501247,12.8771201 80.5280528,12.691913 81.4645862,12.691913 L85.4063933,12.691913 L86.6434498,12.691913 C89.5648747,12.691913 91.7034933,12.8177141 93.0593699,13.06932 C94.4152465,13.320926 95.5684233,13.740263 96.5189347,14.3273436 C98.210286,15.3337675 99.5067362,16.7699967 100.408324,18.6360743 C101.309912,20.5021519 101.7607,22.6582429 101.7607,25.104412 C101.7607,27.6903623 101.247012,29.9512876 100.219621,31.8872557 C99.1922296,33.8232239 97.7350336,35.2874089 95.8479888,36.2798546 C94.9953241,36.7271541 93.9959043,37.0521403 92.8496993,37.2548229 C91.7034944,37.4575055 89.9981906,37.5588453 87.7337369,37.5588453 L85.4063933,37.5588453 L81.4645862,37.5588453 C80.5000966,37.5588453 79.8151795,37.380627 79.4098143,37.0241852 C79.0044492,36.6677435 78.8017696,36.0701882 78.8017696,35.2315017 C78.8017696,34.4906619 78.9974602,33.9280514 79.3888473,33.5436534 C79.7802344,33.1592554 80.3533282,32.9670593 81.1081461,32.9670593 L81.4645862,32.9670593 Z M86.8740874,17.2417648 L86.8740874,32.9670593 L88.0692098,32.9670593 C90.7110725,32.9670593 92.6609895,32.3205814 93.9190194,31.0276063 C95.1770492,29.7346312 95.8060547,27.7462749 95.8060547,25.0624779 C95.8060547,22.4206153 95.1665658,20.4497314 93.8875688,19.1497672 C92.6085718,17.849803 90.6831161,17.1998307 88.1111439,17.1998307 C87.7756693,17.1998307 87.5205727,17.2033252 87.3458463,17.2103142 C87.1711199,17.2173033 87.0138685,17.2277867 86.8740874,17.2417648 L86.8740874,17.2417648 Z M121.94052,17.1159625 L112.190837,17.1159625 L112.190837,22.4835296 L115.88104,22.4835296 L115.88104,22.2319249 C115.88104,21.4351727 116.055763,20.841112 116.405216,20.4497249 C116.754669,20.0583378 117.285829,19.8626472 117.998713,19.8626472 C118.627728,19.8626472 119.141415,20.0408655 119.539792,20.3973072 C119.938168,20.753749 120.137353,21.2045363 120.137353,21.7496826 C120.137353,21.7776388 120.144342,21.8684951 120.15832,22.0222543 C120.172298,22.1760135 120.179287,22.3297704 120.179287,22.4835296 L120.179287,26.8237109 C120.179287,27.7602442 120.011552,28.4311834 119.676077,28.8365486 C119.340603,29.2419138 118.795465,29.4445933 118.040647,29.4445933 C117.327763,29.4445933 116.789614,29.2558917 116.426183,28.8784827 C116.062752,28.5010738 115.88104,27.9419578 115.88104,27.201118 L115.88104,26.8237109 L112.190837,26.8237109 L112.190837,33.0928616 L121.94052,33.0928616 L121.94052,30.5977816 C121.94052,29.6612482 122.118738,28.9903091 122.47518,28.5849439 C122.831622,28.1795787 123.415199,27.9768992 124.225929,27.9768992 C125.022682,27.9768992 125.592281,28.1760842 125.934745,28.5744604 C126.277208,28.9728365 126.448438,29.6472701 126.448438,30.5977816 L126.448438,35.6718099 C126.448438,36.4266278 126.30167,36.9298322 126.008129,37.1814382 C125.714589,37.4330442 125.134506,37.5588453 124.267863,37.5588453 L107.095842,37.5588453 C106.173287,37.5588453 105.512831,37.3771326 105.114455,37.0137017 C104.716079,36.6502709 104.516894,36.0562101 104.516894,35.2315017 C104.516894,34.4906619 104.705595,33.9280514 105.083004,33.5436534 C105.460413,33.1592554 106.01254,32.9670593 106.739402,32.9670593 L107.095842,32.9670593 L107.095842,17.3256331 L106.739402,17.3256331 C106.026518,17.3256331 105.477886,17.126448 105.093488,16.7280719 C104.70909,16.3296957 104.516894,15.7600963 104.516894,15.0192565 C104.516894,14.2085262 104.719573,13.6179599 105.124938,13.24754 C105.530304,12.8771201 106.187265,12.691913 107.095842,12.691913 L124.267863,12.691913 C125.120528,12.691913 125.697116,12.8212085 125.997646,13.0798036 C126.298175,13.3383986 126.448438,13.8520864 126.448438,14.6208824 L126.448438,19.3175037 C126.448438,20.2680151 126.273714,20.9494377 125.924261,21.361792 C125.574808,21.7741462 125.008703,21.9803202 124.225929,21.9803202 C123.415199,21.9803202 122.831622,21.7706517 122.47518,21.3513084 C122.118738,20.9319652 121.94052,20.254037 121.94052,19.3175037 L121.94052,17.1159625 Z M19.7719369,47.6405477 C20.037521,47.1373358 20.3205734,46.7808993 20.6211028,46.5712277 C20.9216322,46.361556 21.295541,46.2567218 21.7428405,46.2567218 C22.4277678,46.2567218 22.9134998,46.4384345 23.2000511,46.8018653 C23.4866023,47.1652962 23.6298758,47.7873127 23.6298758,48.6679336 L23.6718099,54.119369 C23.6718099,55.0838586 23.5145586,55.7338309 23.2000511,56.0693055 C22.8855436,56.4047802 22.3089553,56.572515 21.4702687,56.572515 C20.8831881,56.572515 20.4254119,56.4292415 20.0969263,56.1426902 C19.7684407,55.856139 19.4993662,55.3424512 19.2896945,54.6016114 C18.9122856,53.2597129 18.3322027,52.3022267 17.5494286,51.7291243 C16.7666545,51.1560218 15.6693894,50.8694748 14.2576003,50.8694748 C12.1049715,50.8694748 10.4590738,51.5963256 9.31985785,53.050049 C8.18064193,54.5037724 7.61104252,56.6074463 7.61104252,59.3611338 C7.61104252,62.1148214 8.20859773,64.2429566 9.40372609,65.7456034 C10.5988544,67.2482501 12.2936748,67.9995623 14.488238,67.9995623 C14.9914499,67.9995623 15.5645438,67.9401562 16.2075368,67.8213423 C16.8505299,67.7025283 17.6053364,67.5173212 18.4719792,67.2657152 L18.4719792,63.9529198 L16.1027015,63.9529198 C15.1521901,63.9529198 14.4777564,63.7781961 14.0793803,63.4287433 C13.6810042,63.0792906 13.4818191,62.4992078 13.4818191,61.6884774 C13.4818191,60.8497908 13.6810042,60.2522356 14.0793803,59.8957938 C14.4777564,59.5393521 15.1521901,59.3611338 16.1027015,59.3611338 L23.6718099,59.3611338 C24.6502776,59.3611338 25.3386891,59.5358576 25.7370653,59.8853103 C26.1354414,60.2347631 26.3346265,60.8218348 26.3346265,61.6465433 C26.3346265,62.3873831 26.1354414,62.9569825 25.7370653,63.3553586 C25.3386891,63.7537347 24.7621008,63.9529198 24.0072829,63.9529198 L23.6718099,63.9529198 L23.6718099,68.9430799 L23.6718099,69.1946846 C23.6718099,69.6419841 23.6228873,69.9529924 23.5250405,70.1277188 C23.4271937,70.3024451 23.2315031,70.4806634 22.9379628,70.6623788 C22.1412106,71.1376345 20.8762107,71.5569715 19.1429251,71.9204023 C17.4096396,72.2838332 15.6554131,72.4655459 13.8801932,72.4655459 C10.2179286,72.4655459 7.25461383,71.2564576 4.99016011,68.8382446 C2.72570638,66.4200317 1.59349651,63.2610264 1.59349651,59.3611338 C1.59349651,55.6010224 2.73968428,52.4769618 5.03209423,49.9888583 C7.32450417,47.5007549 10.2319073,46.2567218 13.7543909,46.2567218 C14.7328585,46.2567218 15.7078171,46.368545 16.6792957,46.5921947 C17.6507743,46.8158445 18.6816444,47.165292 19.7719369,47.6405477 L19.7719369,47.6405477 Z M35.611576,51.5823548 L35.611576,56.4047785 L42.4678043,56.4047785 L42.4678043,51.5823548 L42.1323314,51.5823548 C41.3775135,51.5823548 40.8009251,51.3866642 40.402549,50.9952772 C40.0041729,50.6038901 39.8049878,50.0307962 39.8049878,49.2759783 C39.8049878,48.4512699 40.0111618,47.8572091 40.4235161,47.4937783 C40.8358703,47.1303474 41.5172929,46.9486347 42.4678043,46.9486347 L47.8773056,46.9486347 C48.8278171,46.9486347 49.5022507,47.1303474 49.9006269,47.4937783 C50.299003,47.8572091 50.498188,48.4512699 50.498188,49.2759783 C50.498188,50.0307962 50.3059919,50.6038901 49.9215939,50.9952772 C49.5371959,51.3866642 48.9745854,51.5823548 48.2337456,51.5823548 L47.8773056,51.5823548 L47.8773056,67.2237811 L48.2337456,67.2237811 C48.9885636,67.2237811 49.5616574,67.4159772 49.9530445,67.8003752 C50.3444316,68.1847732 50.5401222,68.7473837 50.5401222,69.4882235 C50.5401222,70.3129319 50.3374426,70.9069927 49.9320774,71.2704235 C49.5267123,71.6338543 48.8417952,71.815567 47.8773056,71.815567 L42.4678043,71.815567 C41.5033148,71.815567 40.8183977,71.6373488 40.4130325,71.280907 C40.0076674,70.9244652 39.8049878,70.32691 39.8049878,69.4882235 C39.8049878,68.7473837 40.0041729,68.1847732 40.402549,67.8003752 C40.8009251,67.4159772 41.3775135,67.2237811 42.1323314,67.2237811 L42.4678043,67.2237811 L42.4678043,61.0384986 L35.611576,61.0384986 L35.611576,67.2237811 L35.9470489,67.2237811 C36.7018668,67.2237811 37.2784552,67.4159772 37.6768313,67.8003752 C38.0752074,68.1847732 38.2743925,68.7473837 38.2743925,69.4882235 C38.2743925,70.3129319 38.0682185,70.9069927 37.6558642,71.2704235 C37.24351,71.6338543 36.5620874,71.815567 35.611576,71.815567 L30.2020747,71.815567 C29.2375851,71.815567 28.552668,71.6373488 28.1473029,71.280907 C27.7419377,70.9244652 27.5392581,70.32691 27.5392581,69.4882235 C27.5392581,68.7473837 27.7349487,68.1847732 28.1263358,67.8003752 C28.5177229,67.4159772 29.0908168,67.2237811 29.8456347,67.2237811 L30.2020747,67.2237811 L30.2020747,51.5823548 L29.8456347,51.5823548 C29.1047949,51.5823548 28.5421844,51.3866642 28.1577864,50.9952772 C27.7733884,50.6038901 27.5811923,50.0307962 27.5811923,49.2759783 C27.5811923,48.4512699 27.7803773,47.8572091 28.1787534,47.4937783 C28.5771296,47.1303474 29.2515632,46.9486347 30.2020747,46.9486347 L35.611576,46.9486347 C36.5481093,46.9486347 37.2260374,47.1303474 37.6453807,47.4937783 C38.064724,47.8572091 38.2743925,48.4512699 38.2743925,49.2759783 C38.2743925,50.0307962 38.0752074,50.6038901 37.6768313,50.9952772 C37.2784552,51.3866642 36.7018668,51.5823548 35.9470489,51.5823548 L35.611576,51.5823548 Z M67.365213,51.5823548 L67.365213,67.2237811 L70.887679,67.2237811 C71.8381904,67.2237811 72.519613,67.4019993 72.9319673,67.7584411 C73.3443215,68.1148829 73.5504955,68.6914712 73.5504955,69.4882235 C73.5504955,70.2989538 73.340827,70.8895201 72.9214837,71.25994 C72.5021404,71.6303599 71.8242123,71.815567 70.887679,71.815567 L58.4332458,71.815567 C57.4827343,71.815567 56.8013117,71.6338543 56.3889575,71.2704235 C55.9766033,70.9069927 55.7704292,70.3129319 55.7704292,69.4882235 C55.7704292,68.6774931 55.9731088,68.0974103 56.378474,67.7479575 C56.7838391,67.3985048 57.4687562,67.2237811 58.4332458,67.2237811 L61.9557117,67.2237811 L61.9557117,51.5823548 L58.4332458,51.5823548 C57.4827343,51.5823548 56.8013117,51.4006421 56.3889575,51.0372113 C55.9766033,50.6737805 55.7704292,50.0867087 55.7704292,49.2759783 C55.7704292,48.4512699 55.9731088,47.8641981 56.378474,47.5147453 C56.7838391,47.1652926 57.4687562,46.9905689 58.4332458,46.9905689 L70.887679,46.9905689 C71.8801247,46.9905689 72.5720308,47.1652926 72.9634178,47.5147453 C73.3548049,47.8641981 73.5504955,48.4512699 73.5504955,49.2759783 C73.5504955,50.0867087 73.347816,50.6737805 72.9424508,51.0372113 C72.5370856,51.4006421 71.8521685,51.5823548 70.887679,51.5823548 L67.365213,51.5823548 Z M97.8608265,51.5823548 L97.8608265,63.1771386 L97.8608265,63.5755127 C97.8608265,65.4485794 97.7385199,66.8044357 97.493903,67.6431222 C97.2492861,68.4818088 96.8404325,69.2296264 96.26733,69.8865976 C95.5264902,70.7392623 94.4991146,71.3822457 93.1851723,71.815567 C91.87123,72.2488884 90.2917273,72.4655459 88.4466169,72.4655459 C87.1466527,72.4655459 85.8921362,72.3397448 84.6830298,72.0881388 C83.4739233,71.8365328 82.3102631,71.4591296 81.1920144,70.9559176 C80.5769776,70.6763554 80.175113,70.31293 79.9864085,69.8656305 C79.797704,69.418331 79.7033532,68.6914802 79.7033532,67.6850564 L79.7033532,63.3658422 C79.7033532,62.1637247 79.8780769,61.3250508 80.2275297,60.849795 C80.5769824,60.3745393 81.185021,60.136915 82.0516638,60.136915 C83.2957156,60.136915 83.9806326,61.0524675 84.1064356,62.8835998 C84.1204137,63.2050963 84.1413806,63.4497096 84.1693368,63.6174469 C84.3370741,65.2389076 84.7144774,66.3466561 85.301558,66.9407258 C85.8886386,67.5347954 86.8251579,67.8318258 88.1111439,67.8318258 C89.7046484,67.8318258 90.8263749,67.4089943 91.476357,66.5633187 C92.126339,65.7176431 92.4513252,64.1765796 92.4513252,61.9400821 L92.4513252,51.5823548 L88.9288593,51.5823548 C87.9783478,51.5823548 87.2969252,51.4006421 86.884571,51.0372113 C86.4722168,50.6737805 86.2660427,50.0867087 86.2660427,49.2759783 C86.2660427,48.4512699 86.4652278,47.8641981 86.8636039,47.5147453 C87.26198,47.1652926 87.9503916,46.9905689 88.9288593,46.9905689 L99.6220595,46.9905689 C100.600527,46.9905689 101.288939,47.1652926 101.687315,47.5147453 C102.085691,47.8641981 102.284876,48.4512699 102.284876,49.2759783 C102.284876,50.0867087 102.078702,50.6737805 101.666348,51.0372113 C101.253994,51.4006421 100.572571,51.5823548 99.6220595,51.5823548 L97.8608265,51.5823548 Z M112.505343,51.5823548 L112.505343,57.9353738 L118.984165,51.4565525 C118.257303,51.3726838 117.747109,51.1665098 117.453569,50.8380242 C117.160029,50.5095387 117.013261,49.9888619 117.013261,49.2759783 C117.013261,48.4512699 117.212446,47.8572091 117.610822,47.4937783 C118.009198,47.1303474 118.683632,46.9486347 119.634143,46.9486347 L124.771073,46.9486347 C125.721584,46.9486347 126.396018,47.1303474 126.794394,47.4937783 C127.19277,47.8572091 127.391955,48.4512699 127.391955,49.2759783 C127.391955,50.0447743 127.19277,50.6213627 126.794394,51.0057607 C126.396018,51.3901587 125.812441,51.5823548 125.043645,51.5823548 L124.561402,51.5823548 L118.459988,57.641835 C119.592215,58.4805215 120.626579,59.5812811 121.563113,60.9441468 C122.499646,62.3070125 123.596911,64.400203 124.854941,67.2237811 L125.127513,67.2237811 L125.546854,67.2237811 C126.371563,67.2237811 126.98659,67.4124827 127.391955,67.7898917 C127.79732,68.1673006 128,68.7334056 128,69.4882235 C128,70.3129319 127.793826,70.9069927 127.381472,71.2704235 C126.969118,71.6338543 126.287695,71.815567 125.337183,71.815567 L122.758235,71.815567 C121.626008,71.815567 120.710456,71.0537715 120.01155,69.5301576 C119.885747,69.2505954 119.787902,69.026949 119.718012,68.8592117 C118.795456,66.9022764 117.949793,65.3926632 117.180997,64.3303269 C116.412201,63.2679906 115.510627,62.2965265 114.476247,61.4159056 L112.505343,63.302941 L112.505343,67.2237811 L112.840816,67.2237811 C113.595634,67.2237811 114.172222,67.4159772 114.570599,67.8003752 C114.968975,68.1847732 115.16816,68.7473837 115.16816,69.4882235 C115.16816,70.3129319 114.961986,70.9069927 114.549631,71.2704235 C114.137277,71.6338543 113.455855,71.815567 112.505343,71.815567 L107.095842,71.815567 C106.131352,71.815567 105.446435,71.6373488 105.04107,71.280907 C104.635705,70.9244652 104.433025,70.32691 104.433025,69.4882235 C104.433025,68.7473837 104.628716,68.1847732 105.020103,67.8003752 C105.41149,67.4159772 105.984584,67.2237811 106.739402,67.2237811 L107.095842,67.2237811 L107.095842,51.5823548 L106.739402,51.5823548 C105.998562,51.5823548 105.435952,51.3866642 105.051554,50.9952772 C104.667156,50.6038901 104.474959,50.0307962 104.474959,49.2759783 C104.474959,48.4512699 104.674145,47.8572091 105.072521,47.4937783 C105.470897,47.1303474 106.14533,46.9486347 107.095842,46.9486347 L112.505343,46.9486347 C113.441877,46.9486347 114.119805,47.1303474 114.539148,47.4937783 C114.958491,47.8572091 115.16816,48.4512699 115.16816,49.2759783 C115.16816,50.0307962 114.968975,50.6038901 114.570599,50.9952772 C114.172222,51.3866642 113.595634,51.5823548 112.840816,51.5823548 L112.505343,51.5823548 Z M13.439885,96.325622 L17.4445933,84.4372993 C17.6961993,83.6545252 18.0456468,83.0849258 18.4929463,82.728484 C18.9402458,82.3720422 19.5343065,82.193824 20.2751463,82.193824 L23.5460076,82.193824 C24.496519,82.193824 25.1779416,82.3755367 25.5902958,82.7389675 C26.0026501,83.1023984 26.2088241,83.6964591 26.2088241,84.5211676 C26.2088241,85.2759855 26.009639,85.8490794 25.6112629,86.2404664 C25.2128868,86.6318535 24.6362984,86.8275441 23.8814805,86.8275441 L23.5460076,86.8275441 L24.1330852,102.46897 L24.4895252,102.46897 C25.2443431,102.46897 25.8104481,102.661166 26.187857,103.045564 C26.565266,103.429962 26.7539676,103.992573 26.7539676,104.733413 C26.7539676,105.558121 26.5547826,106.152182 26.1564064,106.515613 C25.7580303,106.879044 25.0835967,107.060756 24.1330852,107.060756 L19.4154969,107.060756 C18.4649855,107.060756 17.7905518,106.882538 17.3921757,106.526096 C16.9937996,106.169654 16.7946145,105.572099 16.7946145,104.733413 C16.7946145,103.992573 16.9868106,103.429962 17.3712086,103.045564 C17.7556066,102.661166 18.325206,102.46897 19.0800239,102.46897 L19.4154969,102.46897 L19.1219581,89.6790642 L16.0607674,99.1981091 C15.8371177,99.9109927 15.5191204,100.42468 15.1067662,100.739188 C14.694412,101.053695 14.1248126,101.210947 13.3979509,101.210947 C12.6710892,101.210947 12.0945008,101.053695 11.6681685,100.739188 C11.2418362,100.42468 10.91685,99.9109927 10.6932002,99.1981091 L7.65297664,89.6790642 L7.35943781,102.46897 L7.69491075,102.46897 C8.44972866,102.46897 9.01932808,102.661166 9.40372609,103.045564 C9.78812409,103.429962 9.98032022,103.992573 9.98032022,104.733413 C9.98032022,105.558121 9.77764067,106.152182 9.3722755,106.515613 C8.96691032,106.879044 8.29597114,107.060756 7.35943781,107.060756 L2.62088241,107.060756 C1.68434908,107.060756 1.01340989,106.879044 0.608044719,106.515613 C0.202679546,106.152182 0,105.558121 0,104.733413 C0,103.992573 0.192196121,103.429962 0.57659413,103.045564 C0.960992139,102.661166 1.53059155,102.46897 2.28540946,102.46897 L2.62088241,102.46897 L3.22892713,86.8275441 L2.89345418,86.8275441 C2.13863627,86.8275441 1.56204791,86.6318535 1.16367179,86.2404664 C0.765295672,85.8490794 0.5661106,85.2759855 0.5661106,84.5211676 C0.5661106,83.6964591 0.772284622,83.1023984 1.18463885,82.7389675 C1.59699308,82.3755367 2.27841569,82.193824 3.22892713,82.193824 L6.49978838,82.193824 C7.22665007,82.193824 7.81022738,82.3685477 8.25053783,82.7180005 C8.69084827,83.0674532 9.05077919,83.6405471 9.33034138,84.4372993 L13.439885,96.325622 Z M43.8935644,98.3803938 L43.8935644,86.8275441 L42.7403761,86.8275441 C41.8178209,86.8275441 41.1573651,86.6458314 40.758989,86.2824006 C40.3606129,85.9189697 40.1614278,85.3318979 40.1614278,84.5211676 C40.1614278,83.7104372 40.3606129,83.119871 40.758989,82.7494511 C41.1573651,82.3790312 41.8178209,82.193824 42.7403761,82.193824 L48.6950209,82.193824 C49.6035981,82.193824 50.2605593,82.3790312 50.6659245,82.7494511 C51.0712897,83.119871 51.2739692,83.7104372 51.2739692,84.5211676 C51.2739692,85.2620074 51.0817731,85.8316068 50.6973751,86.2299829 C50.3129771,86.628359 49.7643445,86.8275441 49.051461,86.8275441 L48.6950209,86.8275441 L48.6950209,105.865634 C48.6950209,106.522605 48.6251315,106.934953 48.4853504,107.10269 C48.3455693,107.270428 48.0310665,107.354295 47.5418327,107.354295 L45.4451268,107.354295 C44.7741775,107.354295 44.3024234,107.284406 44.0298503,107.144625 C43.7572771,107.004843 43.5231473,106.76023 43.3274538,106.410777 L34.6051571,91.0838571 L34.6051571,102.46897 L35.8212466,102.46897 C36.7298237,102.46897 37.379796,102.643694 37.7711831,102.993147 C38.1625701,103.3426 38.3582607,103.922682 38.3582607,104.733413 C38.3582607,105.558121 38.1590757,106.152182 37.7606995,106.515613 C37.3623234,106.879044 36.7158456,107.060756 35.8212466,107.060756 L29.8037005,107.060756 C28.8951234,107.060756 28.2381621,106.879044 27.832797,106.515613 C27.4274318,106.152182 27.2247522,105.558121 27.2247522,104.733413 C27.2247522,103.992573 27.4134539,103.429962 27.7908629,103.045564 C28.1682718,102.661166 28.7273878,102.46897 29.4682276,102.46897 L29.8037005,102.46897 L29.8037005,86.8275441 L29.4682276,86.8275441 C28.755344,86.8275441 28.203217,86.628359 27.8118299,86.2299829 C27.4204428,85.8316068 27.2247522,85.2620074 27.2247522,84.5211676 C27.2247522,83.7104372 27.4309263,83.119871 27.8432805,82.7494511 C28.2556347,82.3790312 28.9091015,82.193824 29.8037005,82.193824 L33.2422983,82.193824 C34.0670067,82.193824 34.6261227,82.3021527 34.919663,82.5188134 C35.2132033,82.7354741 35.5416839,83.1722835 35.9051148,83.8292546 L43.8935644,98.3803938 Z M64.6604624,86.3662688 C62.8572863,86.3662688 61.4420239,87.0931196 60.4146329,88.546843 C59.3872418,90.0005663 58.873554,92.0203728 58.873554,94.6063231 C58.873554,97.1922733 59.3907363,99.2190688 60.4251164,100.68677 C61.4594965,102.154472 62.8712644,102.888312 64.6604624,102.888312 C66.4636385,102.888312 67.8823953,102.157966 68.9167754,100.697254 C69.9511555,99.2365414 70.4683378,97.2062514 70.4683378,94.6063231 C70.4683378,92.0203728 69.95465,90.0005663 68.9272589,88.546843 C67.8998679,87.0931196 66.4776166,86.3662688 64.6604624,86.3662688 L64.6604624,86.3662688 Z M64.6604624,81.501911 C68.0990773,81.501911 70.929602,82.7319662 73.1521214,85.1921135 C75.3746408,87.6522607 76.4858838,90.7902992 76.4858838,94.6063231 C76.4858838,98.4503032 75.3816297,101.595331 73.1730884,104.0415 C70.9645471,106.487669 68.1270335,107.710735 64.6604624,107.710735 C61.2358256,107.710735 58.4053009,106.477185 56.1688034,104.010049 C53.9323059,101.542913 52.8140739,98.4083688 52.8140739,94.6063231 C52.8140739,90.7763211 53.9218224,87.6347881 56.1373528,85.1816299 C58.3528831,82.7284717 61.1938912,81.501911 64.6604624,81.501911 L64.6604624,81.501911 Z M87.4611651,98.1707232 L87.4611651,102.46897 L89.6207722,102.46897 C90.5293493,102.46897 91.1758272,102.643694 91.5602252,102.993147 C91.9446232,103.3426 92.1368193,103.922682 92.1368193,104.733413 C92.1368193,105.558121 91.9411287,106.152182 91.5497417,106.515613 C91.1583546,106.879044 90.5153712,107.060756 89.6207722,107.060756 L82.3661697,107.060756 C81.4436145,107.060756 80.7831587,106.879044 80.3847826,106.515613 C79.9864065,106.152182 79.7872214,105.558121 79.7872214,104.733413 C79.7872214,103.992573 79.9759231,103.429962 80.353332,103.045564 C80.730741,102.661166 81.282868,102.46897 82.0097297,102.46897 L82.3661697,102.46897 L82.3661697,86.8275441 L82.0097297,86.8275441 C81.2968461,86.8275441 80.7482136,86.628359 80.3638155,86.2299829 C79.9794175,85.8316068 79.7872214,85.2620074 79.7872214,84.5211676 C79.7872214,83.7104372 79.989901,83.119871 80.3952661,82.7494511 C80.8006313,82.3790312 81.4575926,82.193824 82.3661697,82.193824 L91.0255652,82.193824 C94.450202,82.193824 97.0396079,82.8507853 98.7938606,84.1647276 C100.548113,85.4786699 101.425227,87.414609 101.425227,89.972603 C101.425227,92.6703781 100.551608,94.7111515 98.8043442,96.0949843 C97.0570805,97.4788171 94.4641801,98.1707232 91.0255652,98.1707232 L87.4611651,98.1707232 Z M87.4611651,86.8275441 L87.4611651,93.4531348 L90.4384875,93.4531348 C92.0879044,93.4531348 93.328443,93.1735768 94.1601405,92.6144525 C94.9918381,92.0553281 95.4076806,91.2166541 95.4076806,90.0984053 C95.4076806,89.0500471 94.9778602,88.2428234 94.1182064,87.67671 C93.2585527,87.1105966 92.031992,86.8275441 90.4384875,86.8275441 L87.4611651,86.8275441 Z M114.727851,107.396229 L113.092421,109.03166 C113.69348,108.835966 114.284046,108.689198 114.864137,108.591352 C115.444229,108.493505 116.013828,108.444582 116.572953,108.444582 C117.677223,108.444582 118.840883,108.608823 120.063968,108.937308 C121.287053,109.265794 122.031376,109.430034 122.29696,109.430034 C122.744259,109.430034 123.327837,109.279772 124.047709,108.979242 C124.767582,108.678713 125.253314,108.52845 125.50492,108.52845 C126.02211,108.52845 126.45193,108.727636 126.794394,109.126012 C127.136858,109.524388 127.308087,110.024098 127.308087,110.625156 C127.308087,111.421909 126.836333,112.099837 125.892811,112.658961 C124.949288,113.218086 123.792617,113.497643 122.422762,113.497643 C121.486229,113.497643 120.28413,113.277492 118.816428,112.837181 C117.348727,112.396871 116.286406,112.176719 115.629435,112.176719 C114.636989,112.176719 113.518757,112.449288 112.274706,112.994434 C111.030654,113.53958 110.261869,113.812149 109.968329,113.812149 C109.36727,113.812149 108.857077,113.612964 108.437734,113.214588 C108.01839,112.816212 107.808722,112.337469 107.808722,111.778345 C107.808722,111.386958 107.941512,110.971115 108.207096,110.530805 C108.47268,110.090494 108.94094,109.520895 109.611889,108.821989 L111.729562,106.683349 C109.395218,105.830685 107.536157,104.29661 106.152324,102.08108 C104.768491,99.8655494 104.076585,97.3180772 104.076585,94.4385866 C104.076585,90.6365409 105.180839,87.5299526 107.389381,85.1187288 C109.597922,82.7075049 112.442425,81.501911 115.922974,81.501911 C119.389545,81.501911 122.227059,82.7109994 124.4356,85.1292123 C126.644141,87.5474252 127.748395,90.650519 127.748395,94.4385866 C127.748395,98.2126762 126.65113,101.322759 124.456567,103.768928 C122.262004,106.215097 119.480402,107.438163 116.111677,107.438163 C115.888028,107.438163 115.660887,107.434669 115.430248,107.42768 C115.199609,107.420691 114.965479,107.410207 114.727851,107.396229 L114.727851,107.396229 Z M115.922974,86.3662688 C114.119798,86.3662688 112.704535,87.0931196 111.677144,88.546843 C110.649753,90.0005663 110.136065,92.0203728 110.136065,94.6063231 C110.136065,97.1922733 110.653248,99.2190688 111.687628,100.68677 C112.722008,102.154472 114.133776,102.888312 115.922974,102.888312 C117.72615,102.888312 119.144907,102.157966 120.179287,100.697254 C121.213667,99.2365414 121.730849,97.2062514 121.730849,94.6063231 C121.730849,92.0203728 121.217161,90.0005663 120.18977,88.546843 C119.162379,87.0931196 117.740128,86.3662688 115.922974,86.3662688 L115.922974,86.3662688 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/mono-line": { "title": "$:/core/images/mono-line", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-mono-line tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M60.4374591,84.522627 L61.3450888,84.522627 C63.2671377,84.522627 64.7264493,85.0120303 65.7230673,85.9908515 C66.7196852,86.9696727 67.2179868,88.4022896 67.2179868,90.288745 C67.2179868,92.3887615 66.6929905,93.9014625 65.6429823,94.8268935 C64.5929741,95.7523244 62.857817,96.215033 60.4374591,96.215033 L44.3670747,96.215033 C41.9111232,96.215033 40.1670679,95.7612227 39.1348565,94.8535884 C38.102645,93.9459542 37.586547,92.424355 37.586547,90.288745 C37.586547,88.2243221 38.102645,86.747214 39.1348565,85.8573766 C40.1670679,84.9675391 41.9111232,84.522627 44.3670747,84.522627 L46.235724,84.522627 L44.0467348,78.2759992 L20.9822627,78.2759992 L18.6864935,84.522627 L20.5551429,84.522627 C22.9755008,84.522627 24.7106579,84.9764373 25.7606661,85.8840716 C26.8106743,86.7917058 27.3356705,88.2599156 27.3356705,90.288745 C27.3356705,92.3887615 26.8106743,93.9014625 25.7606661,94.8268935 C24.7106579,95.7523244 22.9755008,96.215033 20.5551429,96.215033 L6.78052766,96.215033 C4.32457622,96.215033 2.58052094,95.7523244 1.54830946,94.8268935 C0.516097994,93.9014625 0,92.3887615 0,90.288745 C0,88.4022896 0.498301511,86.9696727 1.49491948,85.9908515 C2.49153745,85.0120303 3.95084902,84.522627 5.87289797,84.522627 L6.78052766,84.522627 L21.0890427,44.6937008 L16.8178442,44.6937008 C14.3974863,44.6937008 12.6623292,44.2309922 11.612321,43.3055613 C10.5623128,42.3801303 10.0373165,40.8852258 10.0373165,38.8208028 C10.0373165,36.7207864 10.5623128,35.2080854 11.612321,34.2826544 C12.6623292,33.3572234 14.3974863,32.8945149 16.8178442,32.8945149 L36.8390873,32.8945149 C40.0069087,32.8945149 42.231469,34.6029772 43.512835,38.0199531 L43.512835,38.180123 L60.4374591,84.522627 Z M32.4611088,44.6937008 L24.7195615,67.224273 L40.2026561,67.224273 L32.4611088,44.6937008 Z M89.5058233,68.5590225 L89.5058233,84.8429669 L97.5143205,84.8429669 C103.173687,84.8429669 107.160099,84.22009 109.473676,82.9743176 C111.787254,81.7285451 112.944025,79.6463566 112.944025,76.7276897 C112.944025,73.7734293 111.840643,71.6734444 109.633846,70.4276719 C107.427049,69.1818994 103.565213,68.5590225 98.0482204,68.5590225 L89.5058233,68.5590225 Z M116.734714,62.6327346 C120.614405,64.0564746 123.461842,66.0051894 125.277111,68.4789376 C127.092379,70.9526857 128,74.1115614 128,77.9556593 C128,81.1946677 127.216955,84.1488838 125.650841,86.8183962 C124.084727,89.4879087 121.84237,91.676876 118.923703,93.385364 C117.215215,94.3819819 115.302093,95.1027395 113.18428,95.5476582 C111.066467,95.9925769 108.06776,96.215033 104.188068,96.215033 L99.7033098,96.215033 L76.3184979,96.215033 C73.9693269,96.215033 72.2875593,95.7523244 71.2731446,94.8268935 C70.2587299,93.9014625 69.7515301,92.3887615 69.7515301,90.288745 C69.7515301,88.4022896 70.2320352,86.9696727 71.1930596,85.9908515 C72.1540841,85.0120303 73.5600062,84.522627 75.4108682,84.522627 L76.3184979,84.522627 L76.3184979,44.6937008 L75.4108682,44.6937008 C73.5600062,44.6937008 72.1540841,44.1953993 71.1930596,43.1987813 C70.2320352,42.2021633 69.7515301,40.7428518 69.7515301,38.8208028 C69.7515301,36.7563799 70.2676281,35.2525771 71.2998396,34.3093494 C72.3320511,33.3661217 74.0049204,32.8945149 76.3184979,32.8945149 L100.877889,32.8945149 C108.388118,32.8945149 114.09189,34.3538264 117.989378,37.2724934 C121.886867,40.1911603 123.835581,44.4623161 123.835581,50.0860889 C123.835581,52.8623819 123.239399,55.3093982 122.047017,57.4272114 C120.854635,59.5450246 119.083885,61.2801816 116.734714,62.6327346 L116.734714,62.6327346 Z M89.5058233,44.3733609 L89.5058233,57.8276363 L96.7134708,57.8276363 C101.091471,57.8276363 104.179161,57.3115383 105.976633,56.2793268 C107.774104,55.2471153 108.672827,53.50306 108.672827,51.0471086 C108.672827,48.7335312 107.863087,47.0428653 106.243583,45.9750604 C104.624078,44.9072554 101.999097,44.3733609 98.3685602,44.3733609 L89.5058233,44.3733609 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/new-button": { "title": "$:/core/images/new-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-new-button tc-image-button\" viewBox=\"0 0 128 128\" width=\"22pt\" height=\"22pt\">\n <g fill-rule=\"evenodd\">\n <path d=\"M56,72 L8.00697327,72 C3.59075293,72 0,68.418278 0,64 C0,59.5907123 3.58484404,56 8.00697327,56 L56,56 L56,8.00697327 C56,3.59075293 59.581722,0 64,0 C68.4092877,0 72,3.58484404 72,8.00697327 L72,56 L119.993027,56 C124.409247,56 128,59.581722 128,64 C128,68.4092877 124.415156,72 119.993027,72 L72,72 L72,119.993027 C72,124.409247 68.418278,128 64,128 C59.5907123,128 56,124.415156 56,119.993027 L56,72 L56,72 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/new-here-button": { "title": "$:/core/images/new-here-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-new-here-button tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n \t<g transform=\"translate(52.233611, 64.389922) rotate(75.000000) translate(-52.233611, -64.389922) translate(-7.734417, 3.702450)\">\n\t <path d=\"M18.9270186,45.959338 L18.9080585,49.6521741 C18.8884833,53.4648378 21.0574548,58.7482162 23.7526408,61.4434022 L78.5671839,116.257945 C81.2617332,118.952495 85.6348701,118.950391 88.3334363,116.251825 L115.863237,88.7220241 C118.555265,86.0299959 118.564544,81.6509578 115.869358,78.9557717 L61.0548144,24.1412286 C58.3602652,21.4466794 53.0787224,19.2788426 49.2595808,19.3006519 L25.9781737,19.4336012 C22.1633003,19.4553862 19.0471195,22.5673232 19.0275223,26.3842526 L18.9871663,34.2443819 C19.0818862,34.255617 19.1779758,34.2665345 19.2754441,34.2771502 C22.6891275,34.6489512 27.0485594,34.2348566 31.513244,33.2285542 C31.7789418,32.8671684 32.075337,32.5211298 32.4024112,32.1940556 C34.8567584,29.7397084 38.3789778,29.0128681 41.4406288,30.0213822 C41.5958829,29.9543375 41.7503946,29.8866669 41.9041198,29.8183808 L42.1110981,30.2733467 C43.1114373,30.6972371 44.0473796,31.3160521 44.8614145,32.1300869 C48.2842088,35.5528813 48.2555691,41.130967 44.7974459,44.5890903 C41.4339531,47.952583 36.0649346,48.0717177 32.6241879,44.9262969 C27.8170558,45.8919233 23.0726921,46.2881596 18.9270186,45.959338 Z\"></path>\n\t <path d=\"M45.4903462,38.8768094 C36.7300141,42.6833154 26.099618,44.7997354 18.1909048,43.9383587 C7.2512621,42.7468685 1.50150083,35.8404432 4.66865776,24.7010202 C7.51507386,14.6896965 15.4908218,6.92103848 24.3842626,4.38423012 C34.1310219,1.60401701 42.4070208,6.15882777 42.4070209,16.3101169 L34.5379395,16.310117 C34.5379394,11.9285862 31.728784,10.3825286 26.5666962,11.8549876 C20.2597508,13.6540114 14.3453742,19.4148216 12.2444303,26.8041943 C10.4963869,32.9523565 12.6250796,35.5092726 19.0530263,36.2093718 C25.5557042,36.9176104 35.0513021,34.9907189 42.7038419,31.5913902 L42.7421786,31.6756595 C44.3874154,31.5384763 47.8846101,37.3706354 45.9274416,38.6772897 L45.9302799,38.6835285 C45.9166992,38.6895612 45.9031139,38.6955897 45.8895238,38.7016142 C45.8389288,38.7327898 45.7849056,38.7611034 45.7273406,38.7863919 C45.6506459,38.8200841 45.571574,38.8501593 45.4903462,38.8768094 Z\"></path>\n </g>\n <rect x=\"96\" y=\"80\" width=\"16\" height=\"48\" rx=\"8\"></rect>\n <rect x=\"80\" y=\"96\" width=\"48\" height=\"16\" rx=\"8\"></rect>\n </g>\n </g>\n</svg>" }, "$:/core/images/new-image-button": { "title": "$:/core/images/new-image-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-new-image-button tc-image-button\" viewBox=\"0 0 128 128\" width=\"22pt\" height=\"22pt\">\n <g fill-rule=\"evenodd\">\n <path d=\"M81.3619177,73.6270062 L97.1875317,46.2162388 C97.91364,44.9585822 97.4824378,43.3533085 96.2260476,42.6279312 L46.2162388,13.7547547 C44.9585822,13.0286463 43.3533085,13.4598485 42.6279312,14.7162388 L30.0575956,36.4886988 L40.0978909,31.2276186 C43.1404959,29.6333041 46.8692155,31.3421319 47.6479264,34.6877101 L51.2545483,52.3903732 L61.1353556,53.2399953 C63.2899974,53.4346096 65.1046382,54.9309951 65.706105,57.0091178 C65.7395572,57.1246982 65.8069154,57.3539875 65.9047035,57.6813669 C66.0696435,58.2335608 66.2581528,58.852952 66.4667073,59.5238092 C67.0618822,61.4383079 67.6960725,63.3742727 68.3393254,65.2021174 C68.5462918,65.7902259 68.7511789,66.3583016 68.953259,66.9034738 C69.5777086,68.5881157 70.1617856,70.0172008 70.6783305,71.110045 C70.9334784,71.6498566 71.1627732,72.0871602 71.4035746,72.5373068 C71.6178999,72.7492946 71.9508843,72.9623307 72.4151452,73.1586945 C73.5561502,73.6412938 75.1990755,73.899146 77.0720271,73.9171651 C77.9355886,73.9254732 78.7819239,73.8832103 79.5638842,73.8072782 C80.0123946,73.7637257 80.3172916,73.7224469 80.4352582,73.7027375 C80.7503629,73.6500912 81.0598053,73.6256267 81.3619177,73.6270062 L81.3619177,73.6270062 L81.3619177,73.6270062 L81.3619177,73.6270062 Z M37.4707881,2.64867269 C38.9217993,0.135447653 42.1388058,-0.723707984 44.6486727,0.725364314 L108.293614,37.4707881 C110.806839,38.9217993 111.665994,42.1388058 110.216922,44.6486727 L73.4714982,108.293614 C72.0204871,110.806839 68.8034805,111.665994 66.2936136,110.216922 L2.64867269,73.4714982 C0.135447653,72.0204871 -0.723707984,68.8034805 0.725364314,66.2936136 L37.4707881,2.64867269 L37.4707881,2.64867269 L37.4707881,2.64867269 L37.4707881,2.64867269 Z M80.3080975,53.1397764 C82.8191338,54.5895239 86.0299834,53.7291793 87.4797308,51.218143 C88.9294783,48.7071068 88.0691338,45.4962571 85.5580975,44.0465097 C83.0470612,42.5967622 79.8362116,43.4571068 78.3864641,45.968143 C76.9367166,48.4791793 77.7970612,51.6900289 80.3080975,53.1397764 L80.3080975,53.1397764 L80.3080975,53.1397764 L80.3080975,53.1397764 Z M96,112 L88.0070969,112 C83.5881712,112 80,108.418278 80,104 C80,99.5907123 83.5848994,96 88.0070969,96 L96,96 L96,88.0070969 C96,83.5881712 99.581722,80 104,80 C108.409288,80 112,83.5848994 112,88.0070969 L112,96 L119.992903,96 C124.411829,96 128,99.581722 128,104 C128,108.409288 124.415101,112 119.992903,112 L112,112 L112,119.992903 C112,124.411829 108.418278,128 104,128 C99.5907123,128 96,124.415101 96,119.992903 L96,112 L96,112 Z M33.3471097,51.7910932 C40.7754579,59.7394511 42.3564368,62.4818351 40.7958321,65.1848818 C39.2352273,67.8879286 26.9581062,62.8571718 24.7019652,66.7649227 C22.4458242,70.6726735 23.7947046,70.0228006 22.2648667,72.6725575 L41.9944593,84.0634431 C41.9944593,84.0634431 36.3904568,75.8079231 37.7602356,73.4353966 C40.2754811,69.0788636 46.5298923,72.1787882 48.1248275,69.4162793 C50.538989,65.234829 43.0222016,59.7770885 33.3471097,51.7910932 L33.3471097,51.7910932 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/new-journal-button": { "title": "$:/core/images/new-journal-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-new-journal-button tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M102.545455,112.818182 L102.545455,124.636364 L102.545455,124.636364 L102.545455,124.636364 C102.545455,125.941761 103.630828,127 104.969697,127 L111.030303,127 C112.369172,127 113.454545,125.941761 113.454545,124.636364 L113.454545,112.818182 L125.575758,112.818182 C126.914626,112.818182 128,111.759982 128,110.454545 L128,104.545455 C128,103.240018 126.914626,102.181818 125.575758,102.181818 L113.454545,102.181818 L113.454545,90.3636364 C113.454545,89.0582 112.369172,88 111.030303,88 L104.969697,88 L104.969697,88 C103.630828,88 102.545455,89.0582 102.545455,90.3636364 L102.545455,102.181818 L90.4242424,102.181818 L90.4242424,102.181818 C89.0853705,102.181818 88,103.240018 88,104.545455 L88,110.454545 L88,110.454545 L88,110.454545 C88,111.759982 89.0853705,112.818182 90.4242424,112.818182 L102.545455,112.818182 Z\"></path>\n <g transform=\"translate(59.816987, 64.316987) rotate(30.000000) translate(-59.816987, -64.316987) translate(20.316987, 12.816987)\">\n <g transform=\"translate(0.000000, 0.000000)\">\n <path d=\"M9.99631148,0 C4.4755011,0 -2.27373675e-13,4.48070044 -2.27373675e-13,9.99759461 L-2.27373675e-13,91.6128884 C-2.27373675e-13,97.1344074 4.46966773,101.610483 9.99631148,101.610483 L68.9318917,101.610483 C74.4527021,101.610483 78.9282032,97.1297826 78.9282032,91.6128884 L78.9282032,9.99759461 C78.9282032,4.47607557 74.4585355,0 68.9318917,0 L9.99631148,0 Z M20.8885263,26 C24.2022348,26 26.8885263,23.3137085 26.8885263,20 C26.8885263,16.6862915 24.2022348,14 20.8885263,14 C17.5748178,14 14.8885263,16.6862915 14.8885263,20 C14.8885263,23.3137085 17.5748178,26 20.8885263,26 Z M57.3033321,25.6783342 C60.6170406,25.6783342 63.3033321,22.9920427 63.3033321,19.6783342 C63.3033321,16.3646258 60.6170406,13.6783342 57.3033321,13.6783342 C53.9896236,13.6783342 51.3033321,16.3646258 51.3033321,19.6783342 C51.3033321,22.9920427 53.9896236,25.6783342 57.3033321,25.6783342 Z\"></path>\n <text font-family=\"Helvetica\" font-size=\"47.1724138\" font-weight=\"bold\" fill=\"#FFFFFF\">\n <tspan x=\"42\" y=\"77.4847912\" text-anchor=\"middle\"><<now \"DD\">></tspan>\n </text>\n </g>\n </g>\n </g>\n</svg>" }, "$:/core/images/opacity": { "title": "$:/core/images/opacity", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-opacity tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M102.361773,65 C101.833691,67.051742 101.183534,69.0544767 100.419508,71 L82.5835324,71 C83.7602504,69.1098924 84.7666304,67.1027366 85.581205,65 L102.361773,65 Z M102.834311,63 C103.256674,61.0388326 103.568427,59.0365486 103.762717,57 L87.6555706,57 C87.3692052,59.0609452 86.9083652,61.0660782 86.2884493,63 L102.834311,63 Z M99.5852583,73 C98.6682925,75.0747721 97.6196148,77.0783056 96.4498253,79 L75.8124196,79 C77.8387053,77.2115633 79.6621163,75.1985844 81.2437158,73 L99.5852583,73 Z M95.1689122,81 C93.7449202,83.1155572 92.1695234,85.1207336 90.458251,87 L60.4614747,87 C65.1836162,85.86248 69.5430327,83.794147 73.3347255,81 L95.1689122,81 Z M87.6555706,47 L103.762717,47 C101.246684,20.6269305 79.0321807,0 52,0 C23.281193,0 0,23.281193 0,52 C0,77.2277755 17.9651296,98.2595701 41.8000051,103 L62.1999949,103 C67.8794003,101.870444 73.2255333,99.8158975 78.074754,97 L39,97 L39,95 L81.2493857,95 C83.8589242,93.2215015 86.2981855,91.2116653 88.5376609,89 L39,89 L39,87 L43.5385253,87 C27.7389671,83.1940333 16,68.967908 16,52 C16,32.117749 32.117749,16 52,16 C70.1856127,16 85.2217929,29.4843233 87.6555706,47 Z M87.8767787,49 L103.914907,49 C103.971379,49.9928025 104,50.9930589 104,52 C104,53.0069411 103.971379,54.0071975 103.914907,55 L87.8767787,55 C87.958386,54.0107999 88,53.0102597 88,52 C88,50.9897403 87.958386,49.9892001 87.8767787,49 Z\"></path>\n <path d=\"M76,128 C104.718807,128 128,104.718807 128,76 C128,47.281193 104.718807,24 76,24 C47.281193,24 24,47.281193 24,76 C24,104.718807 47.281193,128 76,128 L76,128 Z M76,112 C95.882251,112 112,95.882251 112,76 C112,56.117749 95.882251,40 76,40 C56.117749,40 40,56.117749 40,76 C40,95.882251 56.117749,112 76,112 L76,112 Z\"></path>\n <path d=\"M37,58 L90,58 L90,62 L37,62 L37,58 L37,58 Z M40,50 L93,50 L93,54 L40,54 L40,50 L40,50 Z M40,42 L93,42 L93,46 L40,46 L40,42 L40,42 Z M32,66 L85,66 L85,70 L32,70 L32,66 L32,66 Z M30,74 L83,74 L83,78 L30,78 L30,74 L30,74 Z M27,82 L80,82 L80,86 L27,86 L27,82 L27,82 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/open-window": { "title": "$:/core/images/open-window", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-open-window tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M16,112 L104.993898,112 C108.863261,112 112,115.590712 112,120 C112,124.418278 108.858091,128 104.993898,128 L7.00610161,128 C3.13673853,128 0,124.409288 0,120 C0,119.998364 4.30952878e-07,119.996727 1.29273572e-06,119.995091 C4.89579306e-07,119.993456 0,119.99182 0,119.990183 L0,24.0098166 C0,19.586117 3.59071231,16 8,16 C12.418278,16 16,19.5838751 16,24.0098166 L16,112 Z\"></path>\n <path d=\"M96,43.1959595 L96,56 C96,60.418278 99.581722,64 104,64 C108.418278,64 112,60.418278 112,56 L112,24 C112,19.5907123 108.415101,16 103.992903,16 L72.0070969,16 C67.5881712,16 64,19.581722 64,24 C64,28.4092877 67.5848994,32 72.0070969,32 L84.5685425,32 L48.2698369,68.2987056 C45.1421332,71.4264093 45.1434327,76.4904296 48.267627,79.614624 C51.3854642,82.7324612 56.4581306,82.7378289 59.5835454,79.6124141 L96,43.1959595 Z M32,7.9992458 C32,3.58138434 35.5881049,0 39.9992458,0 L120.000754,0 C124.418616,0 128,3.5881049 128,7.9992458 L128,88.0007542 C128,92.4186157 124.411895,96 120.000754,96 L39.9992458,96 C35.5813843,96 32,92.4118951 32,88.0007542 L32,7.9992458 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/options-button": { "title": "$:/core/images/options-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-options-button tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M110.48779,76.0002544 C109.354214,80.4045063 107.611262,84.5641217 105.354171,88.3838625 L105.354171,88.3838625 L112.07833,95.1080219 C115.20107,98.2307613 115.210098,103.299824 112.089164,106.420759 L106.420504,112.089418 C103.301049,115.208874 98.2346851,115.205502 95.1077675,112.078585 L88.3836082,105.354425 C84.5638673,107.611516 80.4042519,109.354468 76,110.488045 L76,110.488045 L76,119.993281 C76,124.409501 72.4220153,128.000254 68.0083475,128.000254 L59.9916525,128.000254 C55.5800761,128.000254 52,124.41541 52,119.993281 L52,110.488045 C47.5957481,109.354468 43.4361327,107.611516 39.6163918,105.354425 L32.8922325,112.078585 C29.7694931,115.201324 24.7004301,115.210353 21.5794957,112.089418 L15.9108363,106.420759 C12.7913807,103.301303 12.7947522,98.2349395 15.9216697,95.1080219 L22.6458291,88.3838625 C20.3887383,84.5641217 18.6457859,80.4045063 17.5122098,76.0002544 L8.00697327,76.0002544 C3.59075293,76.0002544 2.19088375e-16,72.4222697 4.89347582e-16,68.0086019 L9.80228577e-16,59.9919069 C1.25035972e-15,55.5803305 3.58484404,52.0002544 8.00697327,52.0002544 L17.5122098,52.0002544 C18.6457859,47.5960025 20.3887383,43.4363871 22.6458291,39.6166462 L15.9216697,32.8924868 C12.7989304,29.7697475 12.7899019,24.7006845 15.9108363,21.5797501 L21.5794957,15.9110907 C24.6989513,12.7916351 29.7653149,12.7950065 32.8922325,15.9219241 L39.6163918,22.6460835 C43.4361327,20.3889927 47.5957481,18.6460403 52,17.5124642 L52,8.00722764 C52,3.5910073 55.5779847,0.000254375069 59.9916525,0.000254375069 L68.0083475,0.000254375069 C72.4199239,0.000254375069 76,3.58509841 76,8.00722764 L76,17.5124642 C80.4042519,18.6460403 84.5638673,20.3889927 88.3836082,22.6460835 L95.1077675,15.9219241 C98.2305069,12.7991848 103.29957,12.7901562 106.420504,15.9110907 L112.089164,21.5797501 C115.208619,24.6992057 115.205248,29.7655693 112.07833,32.8924868 L105.354171,39.6166462 L105.354171,39.6166462 C107.611262,43.4363871 109.354214,47.5960025 110.48779,52.0002544 L119.993027,52.0002544 C124.409247,52.0002544 128,55.5782391 128,59.9919069 L128,68.0086019 C128,72.4201783 124.415156,76.0002544 119.993027,76.0002544 L110.48779,76.0002544 L110.48779,76.0002544 Z M64,96.0002544 C81.673112,96.0002544 96,81.6733664 96,64.0002544 C96,46.3271424 81.673112,32.0002544 64,32.0002544 C46.326888,32.0002544 32,46.3271424 32,64.0002544 C32,81.6733664 46.326888,96.0002544 64,96.0002544 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/paint": { "title": "$:/core/images/paint", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-paint tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M83.5265806,76.1907935 C90.430962,69.2864121 91.8921169,59.0000433 87.9100453,50.6642209 L125.812763,12.7615036 C128.732035,9.84223095 128.72611,5.10322984 125.812796,2.18991592 C122.893542,-0.729338085 118.161775,-0.730617045 115.241209,2.18994966 L77.3384914,40.092667 C69.002669,36.1105954 58.7163002,37.5717503 51.8119188,44.4761317 L83.5265806,76.1907935 L83.5265806,76.1907935 L83.5265806,76.1907935 L83.5265806,76.1907935 Z M80.8836921,78.8336819 L49.1690303,47.1190201 C49.1690303,47.1190201 8.50573364,81.242543 0,80.2820711 C0,80.2820711 3.78222974,85.8744423 6.82737483,88.320684 C20.8514801,82.630792 44.1526049,63.720771 44.1526049,63.720771 L44.8144806,64.3803375 C44.8144806,64.3803375 19.450356,90.2231043 9.18040433,92.0477601 C10.4017154,93.4877138 13.5343883,96.1014812 15.4269991,97.8235871 C20.8439164,96.3356979 50.1595367,69.253789 50.1595367,69.253789 L50.8214124,69.9133555 L18.4136144,100.936036 L23.6993903,106.221812 L56.1060358,75.2002881 L56.7679115,75.8598546 C56.7679115,75.8598546 28.9040131,106.396168 28.0841366,108.291555 C28.0841366,108.291555 34.1159238,115.144621 35.6529617,116.115796 C36.3545333,113.280171 63.5365402,82.6307925 63.5365402,82.6307925 L64.1984159,83.290359 C64.1984159,83.290359 43.6013016,107.04575 39.2343772,120.022559 C42.443736,123.571575 46.7339155,125.159692 50.1595362,126.321151 C47.9699978,114.504469 80.8836921,78.8336819 80.8836921,78.8336819 L80.8836921,78.8336819 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/palette": { "title": "$:/core/images/palette", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-palette tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M80.2470434,39.1821571 C75.0645698,38.2680897 69.6261555,37.7814854 64.0193999,37.7814854 C28.6624616,37.7814854 0,57.1324214 0,81.0030106 C0,90.644534 4.67604329,99.5487133 12.5805659,106.738252 C23.5031767,91.1899067 26.3405471,72.3946229 36.8885698,63.5622337 C52.0716764,50.8486559 63.4268694,55.7343343 63.4268694,55.7343343 L80.2470434,39.1821571 Z M106.781666,48.8370714 C119.830962,56.749628 128.0388,68.229191 128.0388,81.0030106 C128.0388,90.3534932 128.557501,98.4142085 116.165191,106.082518 C105.367708,112.763955 112.341384,99.546808 104.321443,95.1851533 C96.3015017,90.8234987 84.3749007,96.492742 86.1084305,103.091059 C89.3087234,115.272303 105.529892,114.54645 92.4224435,119.748569 C79.3149955,124.950687 74.2201582,124.224536 64.0193999,124.224536 C56.1979176,124.224536 48.7040365,123.277578 41.7755684,121.544216 C51.620343,117.347916 69.6563669,109.006202 75.129737,102.088562 C82.7876655,92.4099199 87.3713218,80.0000002 83.3235694,72.4837191 C83.1303943,72.1250117 94.5392656,60.81569 106.781666,48.8370714 Z M1.13430476,123.866563 C0.914084026,123.867944 0.693884185,123.868637 0.473712455,123.868637 C33.9526848,108.928928 22.6351223,59.642592 59.2924543,59.6425917 C59.6085574,61.0606542 59.9358353,62.5865065 60.3541977,64.1372318 C34.4465025,59.9707319 36.7873124,112.168427 1.13429588,123.866563 L1.13430476,123.866563 Z M1.84669213,123.859694 C40.7185279,123.354338 79.9985412,101.513051 79.9985401,79.0466836 C70.7284906,79.0466835 65.9257264,75.5670082 63.1833375,71.1051511 C46.585768,64.1019718 32.81846,116.819636 1.84665952,123.859695 L1.84669213,123.859694 Z M67.1980193,59.8524981 C62.748213,63.9666823 72.0838429,76.2846822 78.5155805,71.1700593 C89.8331416,59.8524993 112.468264,37.2173758 123.785825,25.8998146 C135.103386,14.5822535 123.785825,3.26469247 112.468264,14.5822535 C101.150703,25.8998144 78.9500931,48.9868127 67.1980193,59.8524981 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/permalink-button": { "title": "$:/core/images/permalink-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-permalink-button tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M80.4834582,48 L73.0956761,80 L73.0956761,80 L47.5165418,80 L54.9043239,48 L80.4834582,48 Z M84.1773493,32 L89.8007299,7.64246248 C90.7941633,3.33942958 95.0918297,0.64641956 99.3968675,1.64031585 C103.693145,2.63218977 106.385414,6.93288901 105.390651,11.2416793 L100.598215,32 L104.000754,32 C108.411895,32 112,35.581722 112,40 C112,44.4092877 108.418616,48 104.000754,48 L96.9043239,48 L89.5165418,80 L104.000754,80 C108.411895,80 112,83.581722 112,88 C112,92.4092877 108.418616,96 104.000754,96 L85.8226507,96 L80.1992701,120.357538 C79.2058367,124.66057 74.9081703,127.35358 70.6031325,126.359684 C66.3068546,125.36781 63.6145865,121.067111 64.6093491,116.758321 L69.401785,96 L43.8226507,96 L38.1992701,120.357538 C37.2058367,124.66057 32.9081703,127.35358 28.6031325,126.359684 C24.3068546,125.36781 21.6145865,121.067111 22.6093491,116.758321 L27.401785,96 L23.9992458,96 C19.5881049,96 16,92.418278 16,88 C16,83.5907123 19.5813843,80 23.9992458,80 L31.0956761,80 L38.4834582,48 L23.9992458,48 C19.5881049,48 16,44.418278 16,40 C16,35.5907123 19.5813843,32 23.9992458,32 L42.1773493,32 L47.8007299,7.64246248 C48.7941633,3.33942958 53.0918297,0.64641956 57.3968675,1.64031585 C61.6931454,2.63218977 64.3854135,6.93288901 63.3906509,11.2416793 L58.598215,32 L84.1773493,32 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/permaview-button": { "title": "$:/core/images/permaview-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-permaview-button tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M81.4834582,48 L79.6365127,56 L79.6365127,56 L74.0573784,56 L75.9043239,48 L81.4834582,48 Z M85.1773493,32 L90.8007299,7.64246248 C91.7941633,3.33942958 96.0918297,0.64641956 100.396867,1.64031585 C104.693145,2.63218977 107.385414,6.93288901 106.390651,11.2416793 L101.598215,32 L104.000754,32 C108.411895,32 112,35.581722 112,40 C112,44.4092877 108.418616,48 104.000754,48 L97.9043239,48 L96.0573784,56 L104.000754,56 C108.411895,56 112,59.581722 112,64 C112,68.4092877 108.418616,72 104.000754,72 L92.3634873,72 L90.5165418,80 L104.000754,80 C108.411895,80 112,83.581722 112,88 C112,92.4092877 108.418616,96 104.000754,96 L86.8226507,96 L81.1992701,120.357538 C80.2058367,124.66057 75.9081703,127.35358 71.6031325,126.359684 C67.3068546,125.36781 64.6145865,121.067111 65.6093491,116.758321 L70.401785,96 L64.8226507,96 L59.1992701,120.357538 C58.2058367,124.66057 53.9081703,127.35358 49.6031325,126.359684 C45.3068546,125.36781 42.6145865,121.067111 43.6093491,116.758321 L48.401785,96 L42.8226507,96 L37.1992701,120.357538 C36.2058367,124.66057 31.9081703,127.35358 27.6031325,126.359684 C23.3068546,125.36781 20.6145865,121.067111 21.6093491,116.758321 L26.401785,96 L23.9992458,96 C19.5881049,96 16,92.418278 16,88 C16,83.5907123 19.5813843,80 23.9992458,80 L30.0956761,80 L31.9426216,72 L23.9992458,72 C19.5881049,72 16,68.418278 16,64 C16,59.5907123 19.5813843,56 23.9992458,56 L35.6365127,56 L37.4834582,48 L23.9992458,48 C19.5881049,48 16,44.418278 16,40 C16,35.5907123 19.5813843,32 23.9992458,32 L41.1773493,32 L46.8007299,7.64246248 C47.7941633,3.33942958 52.0918297,0.64641956 56.3968675,1.64031585 C60.6931454,2.63218977 63.3854135,6.93288901 62.3906509,11.2416793 L57.598215,32 L63.1773493,32 L68.8007299,7.64246248 C69.7941633,3.33942958 74.0918297,0.64641956 78.3968675,1.64031585 C82.6931454,2.63218977 85.3854135,6.93288901 84.3906509,11.2416793 L79.598215,32 L85.1773493,32 Z M53.9043239,48 L52.0573784,56 L57.6365127,56 L59.4834582,48 L53.9043239,48 Z M75.9426216,72 L74.0956761,80 L74.0956761,80 L68.5165418,80 L70.3634873,72 L75.9426216,72 L75.9426216,72 Z M48.3634873,72 L46.5165418,80 L52.0956761,80 L53.9426216,72 L48.3634873,72 L48.3634873,72 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/picture": { "title": "$:/core/images/picture", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-picture tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M112,68.2332211 L112,20.0027785 C112,17.7898769 110.207895,16 107.997221,16 L20.0027785,16 C17.7898769,16 16,17.792105 16,20.0027785 L16,58.312373 L25.2413115,43.7197989 C28.041793,39.297674 34.2643908,38.7118128 37.8410347,42.5335275 L56.0882845,63.1470817 L69.7748997,56.7400579 C72.766567,55.3552503 76.3013751,55.9473836 78.678437,58.2315339 C78.8106437,58.3585731 79.0742301,58.609836 79.4527088,58.9673596 C80.0910923,59.570398 80.8117772,60.2441563 81.598127,60.9705595 C83.8422198,63.043576 86.1541548,65.1151944 88.3956721,67.0372264 C89.1168795,67.6556396 89.8200801,68.2492007 90.5021258,68.8146755 C92.6097224,70.5620551 94.4693308,72.0029474 95.9836366,73.0515697 C96.7316295,73.5695379 97.3674038,73.9719282 98.0281481,74.3824999 C98.4724987,74.4989557 99.0742374,74.5263881 99.8365134,74.4317984 C101.709944,74.1993272 104.074502,73.2878514 106.559886,71.8846196 C107.705822,71.2376318 108.790494,70.5370325 109.764561,69.8410487 C110.323259,69.4418522 110.694168,69.1550757 110.834827,69.0391868 C111.210545,68.7296319 111.600264,68.4615815 112,68.2332211 L112,68.2332211 Z M0,8.00697327 C0,3.58484404 3.59075293,0 8.00697327,0 L119.993027,0 C124.415156,0 128,3.59075293 128,8.00697327 L128,119.993027 C128,124.415156 124.409247,128 119.993027,128 L8.00697327,128 C3.58484404,128 0,124.409247 0,119.993027 L0,8.00697327 L0,8.00697327 Z M95,42 C99.418278,42 103,38.418278 103,34 C103,29.581722 99.418278,26 95,26 C90.581722,26 87,29.581722 87,34 C87,38.418278 90.581722,42 95,42 L95,42 Z M32,76 C47.8587691,80.8294182 52.0345556,83.2438712 52.0345556,88 C52.0345556,92.7561288 32,95.4712486 32,102.347107 C32,109.222965 33.2849191,107.337637 33.2849191,112 L67.999999,112 C67.999999,112 54.3147136,105.375255 54.3147136,101.200691 C54.3147136,93.535181 64.9302432,92.860755 64.9302432,88 C64.9302432,80.6425555 50.8523779,79.167282 32,76 L32,76 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/plugin-generic-language": { "title": "$:/core/images/plugin-generic-language", "tags": "$:/tags/Image", "text": "<svg width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M61.2072232,68.1369825 C56.8829239,70.9319564 54.2082892,74.793177 54.2082892,79.0581634 C54.2082892,86.9638335 63.3980995,93.4821994 75.2498076,94.3940006 C77.412197,98.2964184 83.8475284,101.178858 91.5684735,101.403106 C86.4420125,100.27851 82.4506393,97.6624107 80.9477167,94.3948272 C92.8046245,93.4861461 102,86.9662269 102,79.0581634 C102,70.5281905 91.3014611,63.6132813 78.1041446,63.6132813 C71.5054863,63.6132813 65.5315225,65.3420086 61.2072232,68.1369825 Z M74.001066,53.9793443 C69.6767667,56.7743182 63.7028029,58.5030456 57.1041446,58.5030456 C54.4851745,58.5030456 51.9646095,58.2307276 49.6065315,57.7275105 C46.2945155,59.9778212 41.2235699,61.4171743 35.5395922,61.4171743 C35.4545771,61.4171743 35.3696991,61.4168523 35.2849622,61.4162104 C39.404008,60.5235193 42.7961717,58.6691298 44.7630507,56.286533 C37.8379411,53.5817651 33.2082892,48.669413 33.2082892,43.0581634 C33.2082892,34.5281905 43.9068281,27.6132812 57.1041446,27.6132812 C70.3014611,27.6132812 81,34.5281905 81,43.0581634 C81,47.3231498 78.3253653,51.1843704 74.001066,53.9793443 Z M64,0 L118.5596,32 L118.5596,96 L64,128 L9.44039956,96 L9.44039956,32 L64,0 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/plugin-generic-plugin": { "title": "$:/core/images/plugin-generic-plugin", "tags": "$:/tags/Image", "text": "<svg width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M40.3972881,76.4456988 L40.3972881,95.3404069 L54.5170166,95.3404069 L54.5170166,95.3404069 C54.5165526,95.3385183 54.516089,95.3366295 54.515626,95.3347404 C54.6093153,95.3385061 54.7034848,95.3404069 54.7980982,95.3404069 C58.6157051,95.3404069 61.710487,92.245625 61.710487,88.4280181 C61.710487,86.6197822 61.01617,84.9737128 59.8795929,83.7418666 L59.8795929,83.7418666 C59.8949905,83.7341665 59.9104102,83.7265043 59.925852,83.7188798 C58.8840576,82.5086663 58.2542926,80.9336277 58.2542926,79.2114996 C58.2542926,75.3938927 61.3490745,72.2991108 65.1666814,72.2991108 C68.9842884,72.2991108 72.0790703,75.3938927 72.0790703,79.2114996 C72.0790703,81.1954221 71.2432806,82.9841354 69.9045961,84.2447446 L69.9045961,84.2447446 C69.9333407,84.2629251 69.9619885,84.281245 69.9905383,84.2997032 L69.9905383,84.2997032 C69.1314315,85.4516923 68.6228758,86.8804654 68.6228758,88.4280181 C68.6228758,91.8584969 71.1218232,94.7053153 74.3986526,95.2474079 C74.3913315,95.2784624 74.3838688,95.3094624 74.3762652,95.3404069 L95.6963988,95.3404069 L95.6963988,75.5678578 L95.6963988,75.5678578 C95.6466539,75.5808558 95.5967614,75.5934886 95.5467242,75.6057531 C95.5504899,75.5120637 95.5523907,75.4178943 95.5523907,75.3232809 C95.5523907,71.505674 92.4576088,68.4108921 88.6400019,68.4108921 C86.831766,68.4108921 85.1856966,69.105209 83.9538504,70.2417862 L83.9538504,70.2417862 C83.9461503,70.2263886 83.938488,70.2109688 83.9308636,70.1955271 C82.7206501,71.2373215 81.1456115,71.8670865 79.4234834,71.8670865 C75.6058765,71.8670865 72.5110946,68.7723046 72.5110946,64.9546976 C72.5110946,61.1370907 75.6058765,58.0423088 79.4234834,58.0423088 C81.4074059,58.0423088 83.1961192,58.8780985 84.4567284,60.2167829 L84.4567284,60.2167829 C84.4749089,60.1880383 84.4932288,60.1593906 84.511687,60.1308407 L84.511687,60.1308407 C85.6636761,60.9899475 87.0924492,61.4985032 88.6400019,61.4985032 C92.0704807,61.4985032 94.9172991,58.9995558 95.4593917,55.7227265 C95.538755,55.7414363 95.6177614,55.761071 95.6963988,55.7816184 L95.6963988,40.0412962 L74.3762652,40.0412962 L74.3762652,40.0412962 C74.3838688,40.0103516 74.3913315,39.9793517 74.3986526,39.9482971 L74.3986526,39.9482971 C71.1218232,39.4062046 68.6228758,36.5593862 68.6228758,33.1289073 C68.6228758,31.5813547 69.1314315,30.1525815 69.9905383,29.0005925 C69.9619885,28.9821342 69.9333407,28.9638143 69.9045961,28.9456339 C71.2432806,27.6850247 72.0790703,25.8963113 72.0790703,23.9123888 C72.0790703,20.0947819 68.9842884,17 65.1666814,17 C61.3490745,17 58.2542926,20.0947819 58.2542926,23.9123888 C58.2542926,25.6345169 58.8840576,27.2095556 59.925852,28.419769 L59.925852,28.419769 C59.9104102,28.4273935 59.8949905,28.4350558 59.8795929,28.4427558 C61.01617,29.674602 61.710487,31.3206715 61.710487,33.1289073 C61.710487,36.9465143 58.6157051,40.0412962 54.7980982,40.0412962 C54.7034848,40.0412962 54.6093153,40.0393953 54.515626,40.0356296 L54.515626,40.0356296 C54.516089,40.0375187 54.5165526,40.0394075 54.5170166,40.0412962 L40.3972881,40.0412962 L40.3972881,52.887664 L40.3972881,52.887664 C40.4916889,53.3430132 40.5412962,53.8147625 40.5412962,54.2980982 C40.5412962,58.1157051 37.4465143,61.210487 33.6289073,61.210487 C32.0813547,61.210487 30.6525815,60.7019313 29.5005925,59.8428245 C29.4821342,59.8713744 29.4638143,59.9000221 29.4456339,59.9287667 C28.1850247,58.5900823 26.3963113,57.7542926 24.4123888,57.7542926 C20.5947819,57.7542926 17.5,60.8490745 17.5,64.6666814 C17.5,68.4842884 20.5947819,71.5790703 24.4123888,71.5790703 C26.134517,71.5790703 27.7095556,70.9493053 28.919769,69.9075109 L28.919769,69.9075109 C28.9273935,69.9229526 28.9350558,69.9383724 28.9427558,69.95377 C30.174602,68.8171928 31.8206715,68.1228758 33.6289073,68.1228758 C37.4465143,68.1228758 40.5412962,71.2176578 40.5412962,75.0352647 C40.5412962,75.5186004 40.4916889,75.9903496 40.3972881,76.4456988 Z M64,0 L118.5596,32 L118.5596,96 L64,128 L9.44039956,96 L9.44039956,32 L64,0 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/plugin-generic-theme": { "title": "$:/core/images/plugin-generic-theme", "tags": "$:/tags/Image", "text": "<svg width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M29.4078519,91.4716406 L51.4693474,69.4101451 L51.4646675,69.4054652 C50.5969502,68.5377479 50.5929779,67.1348725 51.4693474,66.2585029 C52.3396494,65.3882009 53.7499654,65.3874786 54.6163097,66.2538229 L64.0805963,75.7181095 C64.9483136,76.5858268 64.9522859,77.9887022 64.0759163,78.8650718 C63.2056143,79.7353737 61.7952984,79.736096 60.9289541,78.8697517 L60.9242741,78.8650718 L60.9242741,78.8650718 L38.8627786,100.926567 C36.2518727,103.537473 32.0187578,103.537473 29.4078519,100.926567 C26.796946,98.3156614 26.796946,94.0825465 29.4078519,91.4716406 Z M60.8017407,66.3810363 C58.3659178,63.6765806 56.3370667,61.2899536 54.9851735,59.5123615 C48.1295381,50.4979488 44.671561,55.2444054 40.7586738,59.5123614 C36.8457866,63.7803174 41.789473,67.2384487 38.0759896,70.2532832 C34.3625062,73.2681177 34.5917646,74.3131575 28.3243876,68.7977024 C22.0570105,63.2822473 21.6235306,61.7636888 24.5005999,58.6166112 C27.3776691,55.4695337 29.7823103,60.4247912 35.6595047,54.8320442 C41.5366991,49.2392972 36.5996215,44.2825646 36.5996215,44.2825646 C36.5996215,44.2825646 48.8365511,19.267683 65.1880231,21.1152173 C81.5394952,22.9627517 59.0022276,18.7228947 53.3962199,38.3410355 C50.9960082,46.7405407 53.8429162,44.7613399 58.3941742,48.3090467 C59.7875202,49.3951602 64.4244828,52.7100463 70.1884353,56.9943417 L90.8648751,36.3179019 L92.4795866,31.5515482 L100.319802,26.8629752 L103.471444,30.0146174 L98.782871,37.8548326 L94.0165173,39.4695441 L73.7934912,59.6925702 C86.4558549,69.2403631 102.104532,81.8392557 102.104532,86.4016913 C102.104533,93.6189834 99.0337832,97.9277545 92.5695848,95.5655717 C87.8765989,93.8506351 73.8015497,80.3744087 63.8173444,69.668717 L60.9242741,72.5617873 L57.7726319,69.4101451 L60.8017407,66.3810363 L60.8017407,66.3810363 Z M63.9533761,1.42108547e-13 L118.512977,32 L118.512977,96 L63.9533761,128 L9.39377563,96 L9.39377563,32 L63.9533761,1.42108547e-13 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/preview-closed": { "title": "$:/core/images/preview-closed", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-preview-closed tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M0.0881363238,64 C-0.210292223,65.8846266 0.249135869,67.8634737 1.4664206,69.4579969 C16.2465319,88.8184886 39.1692554,100.414336 64,100.414336 C88.8307446,100.414336 111.753468,88.8184886 126.533579,69.4579969 C127.750864,67.8634737 128.210292,65.8846266 127.911864,64 C110.582357,78.4158332 88.3036732,87.0858436 64,87.0858436 C39.6963268,87.0858436 17.4176431,78.4158332 0.0881363238,64 Z\"></path>\n <rect x=\"62\" y=\"96\" width=\"4\" height=\"16\" rx=\"4\"></rect>\n <rect transform=\"translate(80.000000, 101.000000) rotate(-5.000000) translate(-80.000000, -101.000000) \" x=\"78\" y=\"93\" width=\"4\" height=\"16\" rx=\"4\"></rect>\n <rect transform=\"translate(48.000000, 101.000000) rotate(-355.000000) translate(-48.000000, -101.000000) \" x=\"46\" y=\"93\" width=\"4\" height=\"16\" rx=\"4\"></rect>\n <rect transform=\"translate(32.000000, 96.000000) rotate(-350.000000) translate(-32.000000, -96.000000) \" x=\"30\" y=\"88\" width=\"4\" height=\"16\" rx=\"4\"></rect>\n <rect transform=\"translate(96.000000, 96.000000) rotate(-10.000000) translate(-96.000000, -96.000000) \" x=\"94\" y=\"88\" width=\"4\" height=\"16\" rx=\"4\"></rect>\n <rect transform=\"translate(112.000000, 88.000000) rotate(-20.000000) translate(-112.000000, -88.000000) \" x=\"110\" y=\"80\" width=\"4\" height=\"16\" rx=\"4\"></rect>\n <rect transform=\"translate(16.000000, 88.000000) rotate(-340.000000) translate(-16.000000, -88.000000) \" x=\"14\" y=\"80\" width=\"4\" height=\"16\" rx=\"4\"></rect>\n </g>\n</svg>" }, "$:/core/images/preview-open": { "title": "$:/core/images/preview-open", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-preview-open tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M64.1099282,99.5876785 C39.2791836,99.5876785 16.3564602,87.9918313 1.57634884,68.6313396 C-0.378878622,66.070184 -0.378878622,62.5174945 1.57634884,59.9563389 C16.3564602,40.5958472 39.2791836,29 64.1099282,29 C88.9406729,29 111.863396,40.5958472 126.643508,59.9563389 C128.598735,62.5174945 128.598735,66.070184 126.643508,68.6313396 C111.863396,87.9918313 88.9406729,99.5876785 64.1099282,99.5876785 Z M110.213805,67.5808331 C111.654168,66.0569335 111.654168,63.9430665 110.213805,62.4191669 C99.3257042,50.8995835 82.4391647,44 64.1470385,44 C45.8549124,44 28.9683729,50.8995835 18.0802717,62.4191669 C16.6399094,63.9430665 16.6399094,66.0569335 18.0802717,67.5808331 C28.9683729,79.1004165 45.8549124,86 64.1470385,86 C82.4391647,86 99.3257042,79.1004165 110.213805,67.5808331 Z\"></path>\n <path d=\"M63.5,88 C76.4786916,88 87,77.4786916 87,64.5 C87,51.5213084 76.4786916,41 63.5,41 C50.5213084,41 40,51.5213084 40,64.5 C40,77.4786916 50.5213084,88 63.5,88 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/print-button": { "title": "$:/core/images/print-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-print-button tc-image-button\" viewBox=\"0 0 128 128\" width=\"22pt\" height=\"22pt\">\n <g fill-rule=\"evenodd\">\n <path d=\"M112,71 L112,30.5 L111.96811,30.5 L111.96811,30.5 C111.932942,28.4998414 111.151676,26.510538 109.625176,24.9840387 L86.9982489,2.35711116 C85.3482153,0.707077645 83.1589869,-0.071534047 81,0.0201838424 L81,0 L23.9992458,0 C19.5808867,0 16,3.58213437 16,8.00092105 L16,71 L24,71 L24,8 L81,8 L81,22.4996539 C81,26.9216269 84.5818769,30.5 89.0003461,30.5 L104,30.5 L104,71 L112,71 Z\"></path>\n <rect x=\"32\" y=\"36\" width=\"64\" height=\"8\" rx=\"4\"></rect>\n <rect x=\"32\" y=\"52\" width=\"64\" height=\"8\" rx=\"4\"></rect>\n <rect x=\"32\" y=\"20\" width=\"40\" height=\"8\" rx=\"4\"></rect>\n <path d=\"M0,80.0054195 C0,71.1658704 7.15611005,64 16.0008841,64 L111.999116,64 C120.83616,64 128,71.1553215 128,80.0054195 L128,111.99458 C128,120.83413 120.84389,128 111.999116,128 L16.0008841,128 C7.16383982,128 0,120.844679 0,111.99458 L0,80.0054195 Z M104,96 C108.418278,96 112,92.418278 112,88 C112,83.581722 108.418278,80 104,80 C99.581722,80 96,83.581722 96,88 C96,92.418278 99.581722,96 104,96 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/quote": { "title": "$:/core/images/quote", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-quote tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M51.2188077,117.712501 L51.2188077,62.1993386 L27.4274524,62.1993386 C27.4274524,53.3075754 29.1096526,45.797753 32.4741035,39.669646 C35.8385544,33.541539 42.0867267,28.9154883 51.2188077,25.7913554 L51.2188077,2 C43.7689521,2.96127169 36.8599155,5.18417913 30.4914905,8.668789 C24.1230656,12.1533989 18.6559149,16.5391352 14.0898743,21.8261295 C9.52383382,27.1131238 5.97919764,33.2411389 3.45585945,40.2103586 C0.932521268,47.1795784 -0.208971741,54.6293222 0.0313461819,62.5598136 L0.0313461819,117.712501 L51.2188077,117.712501 Z M128,117.712501 L128,62.1993386 L104.208645,62.1993386 C104.208645,53.3075754 105.890845,45.797753 109.255296,39.669646 C112.619747,33.541539 118.867919,28.9154883 128,25.7913554 L128,2 C120.550144,2.96127169 113.641108,5.18417913 107.272683,8.668789 C100.904258,12.1533989 95.4371072,16.5391352 90.8710666,21.8261295 C86.3050261,27.1131238 82.7603899,33.2411389 80.2370517,40.2103586 C77.7137136,47.1795784 76.5722206,54.6293222 76.8125385,62.5598136 L76.8125385,117.712501 L128,117.712501 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/refresh-button": { "title": "$:/core/images/refresh-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-refresh-button tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M106.369002,39.4325143 C116.529932,60.3119371 112.939592,86.1974934 95.5979797,103.539105 C73.7286194,125.408466 38.2713806,125.408466 16.4020203,103.539105 C-5.46734008,81.6697449 -5.46734008,46.2125061 16.4020203,24.3431458 C19.5262146,21.2189514 24.5915344,21.2189514 27.7157288,24.3431458 C30.8399231,27.4673401 30.8399231,32.5326599 27.7157288,35.6568542 C12.0947571,51.2778259 12.0947571,76.6044251 27.7157288,92.2253967 C43.3367004,107.846368 68.6632996,107.846368 84.2842712,92.2253967 C97.71993,78.7897379 99.5995262,58.1740623 89.9230597,42.729491 L83.4844861,54.9932839 C81.4307001,58.9052072 76.5945372,60.4115251 72.682614,58.3577391 C68.7706907,56.3039532 67.2643728,51.4677903 69.3181587,47.555867 L84.4354914,18.7613158 C86.4966389,14.8353707 91.3577499,13.3347805 95.273202,15.415792 L124.145886,30.7612457 C128.047354,32.8348248 129.52915,37.6785572 127.455571,41.5800249 C125.381992,45.4814927 120.53826,46.9632892 116.636792,44.8897102 L106.369002,39.4325143 Z M98.1470904,27.0648707 C97.9798954,26.8741582 97.811187,26.6843098 97.6409651,26.4953413 L98.6018187,26.1987327 L98.1470904,27.0648707 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/right-arrow": { "title": "$:/core/images/right-arrow", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-right-arrow tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <path d=\"M80.3563798,109.353315 C78.9238993,110.786918 76.9450203,111.675144 74.7592239,111.675144 L-4.40893546,111.675144 C-8.77412698,111.675144 -12.3248558,108.130732 -12.3248558,103.758478 C-12.3248558,99.3951199 -8.78077754,95.8418109 -4.40893546,95.8418109 L66.8418109,95.8418109 L66.8418109,24.5910645 C66.8418109,20.225873 70.3862233,16.6751442 74.7584775,16.6751442 C79.1218352,16.6751442 82.6751442,20.2192225 82.6751442,24.5910645 L82.6751442,103.759224 C82.6751442,105.941695 81.7891419,107.920575 80.3566508,109.353886 Z\" transform=\"translate(35.175144, 64.175144) rotate(-45.000000) translate(-35.175144, -64.175144) \"></path>\n</svg>" }, "$:/core/images/rotate-left": { "title": "$:/core/images/rotate-left", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-rotate-left tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\"><g fill-rule=\"evenodd\"><rect width=\"32\" height=\"80\" rx=\"8\"/><rect x=\"48\" y=\"96\" width=\"80\" height=\"32\" rx=\"8\"/><path d=\"M61.32 36.65c19.743 2.45 35.023 19.287 35.023 39.693a4 4 0 0 1-8 0c0-15.663-11.254-28.698-26.117-31.46l3.916 3.916a4 4 0 1 1-5.657 5.657L49.172 43.142a4 4 0 0 1 0-5.657l11.313-11.313a4 4 0 1 1 5.657 5.656l-4.821 4.822z\"/></g></svg>" }, "$:/core/images/save-button": { "title": "$:/core/images/save-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-save-button tc-image-button\" viewBox=\"0 0 128 128\" width=\"22pt\" height=\"22pt\">\n <g fill-rule=\"evenodd\">\n <path d=\"M120.78304,34.329058 C125.424287,43.1924006 128.049406,53.2778608 128.049406,63.9764502 C128.049406,99.3226742 99.3956295,127.97645 64.0494055,127.97645 C28.7031816,127.97645 0.0494055385,99.3226742 0.0494055385,63.9764502 C0.0494055385,28.6302262 28.7031816,-0.0235498012 64.0494055,-0.0235498012 C82.8568763,-0.0235498012 99.769563,8.08898558 111.479045,21.0056358 L114.159581,18.3250998 C117.289194,15.1954866 122.356036,15.1939641 125.480231,18.3181584 C128.598068,21.4359957 128.601317,26.5107804 125.473289,29.6388083 L120.78304,34.329058 Z M108.72451,46.3875877 C110.870571,51.8341374 112.049406,57.767628 112.049406,63.9764502 C112.049406,90.4861182 90.5590735,111.97645 64.0494055,111.97645 C37.5397375,111.97645 16.0494055,90.4861182 16.0494055,63.9764502 C16.0494055,37.4667822 37.5397375,15.9764502 64.0494055,15.9764502 C78.438886,15.9764502 91.3495036,22.308215 100.147097,32.3375836 L58.9411255,73.5435552 L41.975581,56.5780107 C38.8486152,53.4510448 33.7746915,53.4551552 30.6568542,56.5729924 C27.5326599,59.6971868 27.5372202,64.7670668 30.6618725,67.8917192 L53.279253,90.5090997 C54.8435723,92.073419 56.8951519,92.8541315 58.9380216,92.8558261 C60.987971,92.8559239 63.0389578,92.0731398 64.6049211,90.5071765 L108.72451,46.3875877 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/size": { "title": "$:/core/images/size", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-size tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <path d=\"M92.3431458,26 L83.1715729,35.1715729 C81.6094757,36.73367 81.6094757,39.26633 83.1715729,40.8284271 C84.73367,42.3905243 87.26633,42.3905243 88.8284271,40.8284271 L104.828427,24.8284271 C106.390524,23.26633 106.390524,20.73367 104.828427,19.1715729 L88.8284271,3.17157288 C87.26633,1.60947571 84.73367,1.60947571 83.1715729,3.17157288 C81.6094757,4.73367004 81.6094757,7.26632996 83.1715729,8.82842712 L92.3431457,18 L22,18 C19.790861,18 18,19.790861 18,22 L18,92.3431458 L8.82842712,83.1715729 C7.26632996,81.6094757 4.73367004,81.6094757 3.17157288,83.1715729 C1.60947571,84.73367 1.60947571,87.26633 3.17157288,88.8284271 L19.1715729,104.828427 C20.73367,106.390524 23.26633,106.390524 24.8284271,104.828427 L40.8284271,88.8284271 C42.3905243,87.26633 42.3905243,84.73367 40.8284271,83.1715729 C39.26633,81.6094757 36.73367,81.6094757 35.1715729,83.1715729 L26,92.3431458 L26,22 L22,26 L92.3431458,26 L92.3431458,26 Z M112,52 L112,116 L116,112 L52,112 C49.790861,112 48,113.790861 48,116 C48,118.209139 49.790861,120 52,120 L116,120 C118.209139,120 120,118.209139 120,116 L120,52 C120,49.790861 118.209139,48 116,48 C113.790861,48 112,49.790861 112,52 L112,52 Z\"></path>\n</svg>" }, "$:/core/images/spiral": { "title": "$:/core/images/spiral", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-spiral tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"nonzero\">\n <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.074.14-2.64-1.89-4.89-4.52-5.03-2.64-.14-4.89 1.88-5.03 4.52-.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-.01-.02-.015-.054-.045-.094-.088-.06-.064-.12-.145-.17-.244-.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\"></path>\n </g>\n</svg>" }, "$:/core/images/stamp": { "title": "$:/core/images/stamp", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-stamp tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M49.7334301,64 L16.0098166,64 C11.5838751,64 8,67.5829053 8,72.002643 L8,74.4986785 L8,97 L120,97 L120,74.4986785 L120,72.002643 C120,67.5737547 116.413883,64 111.990183,64 L78.2665699,64 C76.502049,60.7519149 75.5,57.0311962 75.5,53.0769231 C75.5,46.6017951 78.1869052,40.7529228 82.5087769,36.5800577 C85.3313113,32.7688808 87,28.0549983 87,22.952183 C87,10.2760423 76.7025492,0 64,0 C51.2974508,0 41,10.2760423 41,22.952183 C41,28.0549983 42.6686887,32.7688808 45.4912231,36.5800577 C49.8130948,40.7529228 52.5,46.6017951 52.5,53.0769231 C52.5,57.0311962 51.497951,60.7519149 49.7334301,64 Z M8,104 L120,104 L120,112 L8,112 L8,104 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/star-filled": { "title": "$:/core/images/star-filled", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-star-filled tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"nonzero\">\n <path d=\"M61.8361286,96.8228569 L99.1627704,124.110219 C101.883827,126.099427 105.541968,123.420868 104.505636,120.198072 L90.2895569,75.9887263 L89.0292911,79.8977279 L126.314504,52.5528988 C129.032541,50.5595011 127.635256,46.2255025 124.273711,46.2229134 L78.1610486,46.1873965 L81.4604673,48.6032923 L67.1773543,4.41589688 C66.1361365,1.19470104 61.6144265,1.19470104 60.5732087,4.41589688 L46.2900957,48.6032923 L49.5895144,46.1873965 L3.47685231,46.2229134 C0.115307373,46.2255025 -1.28197785,50.5595011 1.43605908,52.5528988 L38.7212719,79.8977279 L37.4610061,75.9887263 L23.2449266,120.198072 C22.2085954,123.420868 25.8667356,126.099427 28.5877926,124.110219 L65.9144344,96.8228569 L61.8361286,96.8228569 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/storyview-classic": { "title": "$:/core/images/storyview-classic", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-storyview-classic tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M8.00697327,0 C3.58484404,0 0,3.59075293 0,8.00697327 L0,119.993027 C0,124.415156 3.59075293,128 8.00697327,128 L119.993027,128 C124.415156,128 128,124.409247 128,119.993027 L128,8.00697327 C128,3.58484404 124.409247,0 119.993027,0 L8.00697327,0 L8.00697327,0 Z M23.9992458,16 C19.5813843,16 16,19.5776607 16,23.9924054 L16,40.0075946 C16,44.4216782 19.5881049,48 23.9992458,48 L104.000754,48 C108.418616,48 112,44.4223393 112,40.0075946 L112,23.9924054 C112,19.5783218 108.411895,16 104.000754,16 L23.9992458,16 L23.9992458,16 Z M23.9992458,64 C19.5813843,64 16,67.5907123 16,72 C16,76.418278 19.5881049,80 23.9992458,80 L104.000754,80 C108.418616,80 112,76.4092877 112,72 C112,67.581722 108.411895,64 104.000754,64 L23.9992458,64 L23.9992458,64 Z M23.9992458,96 C19.5813843,96 16,99.5907123 16,104 C16,108.418278 19.5881049,112 23.9992458,112 L104.000754,112 C108.418616,112 112,108.409288 112,104 C112,99.581722 108.411895,96 104.000754,96 L23.9992458,96 L23.9992458,96 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/storyview-pop": { "title": "$:/core/images/storyview-pop", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-storyview-pop tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M8.00697327,0 C3.58484404,0 0,3.59075293 0,8.00697327 L0,119.993027 C0,124.415156 3.59075293,128 8.00697327,128 L119.993027,128 C124.415156,128 128,124.409247 128,119.993027 L128,8.00697327 C128,3.58484404 124.409247,0 119.993027,0 L8.00697327,0 L8.00697327,0 Z M23.9992458,16 C19.5813843,16 16,19.5776607 16,23.9924054 L16,40.0075946 C16,44.4216782 19.5881049,48 23.9992458,48 L104.000754,48 C108.418616,48 112,44.4223393 112,40.0075946 L112,23.9924054 C112,19.5783218 108.411895,16 104.000754,16 L23.9992458,16 L23.9992458,16 Z M16.0098166,56 C11.586117,56 8,59.5776607 8,63.9924054 L8,80.0075946 C8,84.4216782 11.5838751,88 16.0098166,88 L111.990183,88 C116.413883,88 120,84.4223393 120,80.0075946 L120,63.9924054 C120,59.5783218 116.416125,56 111.990183,56 L16.0098166,56 L16.0098166,56 Z M23.9992458,96 C19.5813843,96 16,99.5907123 16,104 C16,108.418278 19.5881049,112 23.9992458,112 L104.000754,112 C108.418616,112 112,108.409288 112,104 C112,99.581722 108.411895,96 104.000754,96 L23.9992458,96 L23.9992458,96 Z M23.9992458,64 C19.5813843,64 16,67.5907123 16,72 C16,76.418278 19.5881049,80 23.9992458,80 L104.000754,80 C108.418616,80 112,76.4092877 112,72 C112,67.581722 108.411895,64 104.000754,64 L23.9992458,64 L23.9992458,64 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/storyview-zoomin": { "title": "$:/core/images/storyview-zoomin", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-storyview-zoomin tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M8.00697327,0 C3.58484404,0 0,3.59075293 0,8.00697327 L0,119.993027 C0,124.415156 3.59075293,128 8.00697327,128 L119.993027,128 C124.415156,128 128,124.409247 128,119.993027 L128,8.00697327 C128,3.58484404 124.409247,0 119.993027,0 L8.00697327,0 L8.00697327,0 Z M23.9992458,16 C19.5813843,16 16,19.578055 16,24.0085154 L16,71.9914846 C16,76.4144655 19.5881049,80 23.9992458,80 L104.000754,80 C108.418616,80 112,76.421945 112,71.9914846 L112,24.0085154 C112,19.5855345 108.411895,16 104.000754,16 L23.9992458,16 L23.9992458,16 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/strikethrough": { "title": "$:/core/images/strikethrough", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-strikethrough tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M92.793842,38.7255689 L108.215529,38.7255689 C107.987058,31.985687 106.70193,26.1883331 104.360107,21.3333333 C102.018284,16.4783336 98.8197436,12.4516001 94.7643909,9.25301205 C90.7090382,6.05442399 85.9969032,3.71263572 80.6278447,2.22757697 C75.2587862,0.742518233 69.4328739,0 63.1499331,0 C57.552404,0 52.0977508,0.713959839 46.7858099,2.14190094 C41.473869,3.56984203 36.7331757,5.74027995 32.5635877,8.65327979 C28.3939997,11.5662796 25.0526676,15.2788708 22.5394913,19.7911647 C20.026315,24.3034585 18.7697456,29.6438781 18.7697456,35.8125837 C18.7697456,41.4101128 19.883523,46.0651309 22.1111111,49.7777778 C24.3386992,53.4904246 27.3087722,56.5176144 31.021419,58.8594378 C34.7340659,61.2012612 38.9321497,63.0861151 43.6157965,64.5140562 C48.2994433,65.9419973 53.068695,67.1985666 57.9236948,68.2838019 C62.7786945,69.3690371 67.5479462,70.4256977 72.231593,71.4538153 C76.9152398,72.4819329 81.1133237,73.8241773 84.8259705,75.480589 C88.5386174,77.1370007 91.5086903,79.2788802 93.7362784,81.9062918 C95.9638666,84.5337035 97.0776439,87.9607107 97.0776439,92.1874163 C97.0776439,96.6425926 96.1637753,100.298067 94.3360107,103.153949 C92.5082461,106.009831 90.109341,108.265944 87.1392236,109.922356 C84.1691061,111.578768 80.827774,112.749662 77.1151272,113.435074 C73.4024803,114.120485 69.7184476,114.463186 66.0629183,114.463186 C61.4935068,114.463186 57.0383974,113.892018 52.6974565,112.749665 C48.3565156,111.607312 44.5582492,109.836692 41.3025435,107.437751 C38.0468378,105.03881 35.4194656,101.983062 33.4203481,98.270415 C31.4212305,94.5577681 30.4216867,90.1312171 30.4216867,84.9906292 L15,84.9906292 C15,92.4159229 16.3422445,98.8415614 19.0267738,104.267738 C21.711303,109.693914 25.3667774,114.149023 29.9933066,117.633199 C34.6198357,121.117376 39.9888137,123.71619 46.1004016,125.429719 C52.2119895,127.143248 58.6947448,128 65.5488621,128 C71.1463912,128 76.7723948,127.343157 82.4270415,126.029451 C88.0816882,124.715745 93.1936407,122.602424 97.7630522,119.689424 C102.332464,116.776425 106.073613,113.006717 108.986613,108.380187 C111.899613,103.753658 113.356091,98.1847715 113.356091,91.6733601 C113.356091,85.6188899 112.242314,80.5926126 110.014726,76.5943775 C107.787137,72.5961424 104.817065,69.2833688 101.104418,66.6559572 C97.3917708,64.0285455 93.193687,61.9437828 88.5100402,60.4016064 C83.8263934,58.85943 79.0571416,57.5171855 74.2021419,56.3748327 C69.3471422,55.2324798 64.5778904,54.1758192 59.8942436,53.2048193 C55.2105968,52.2338193 51.012513,51.0058084 47.2998661,49.5207497 C43.5872193,48.0356909 40.6171463,46.1222786 38.3895582,43.7804552 C36.1619701,41.4386318 35.0481928,38.3828836 35.0481928,34.6131191 C35.0481928,30.6148841 35.8192694,27.273552 37.3614458,24.5890228 C38.9036222,21.9044935 40.9598265,19.762614 43.5301205,18.1633199 C46.1004145,16.5640259 49.041929,15.4216902 52.3547523,14.7362784 C55.6675757,14.0508667 59.0374661,13.708166 62.4645248,13.708166 C70.9179361,13.708166 77.8576257,15.6786952 83.2838019,19.6198126 C88.709978,23.56093 91.8799597,29.9294518 92.793842,38.7255689 L92.793842,38.7255689 Z\"></path>\n <rect x=\"5\" y=\"54\" width=\"118\" height=\"16\"></rect>\n </g>\n</svg>" }, "$:/core/images/subscript": { "title": "$:/core/images/subscript", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-subscript tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M2.27170276,16 L22.1825093,16 L43.8305003,49.6746527 L66.4138983,16 L85.1220387,16 L53.5854592,61.9685735 L87.3937414,111.411516 L67.0820462,111.411516 L43.295982,74.9306422 L19.1090291,111.411516 L0,111.411516 L33.8082822,61.9685735 L2.27170276,16 Z M127.910914,128.411516 L85.3276227,128.411516 C85.3870139,123.24448 86.6342108,118.730815 89.0692508,114.870386 C91.5042907,111.009956 94.8301491,107.654403 99.0469256,104.803624 C101.066227,103.318844 103.174584,101.878629 105.372059,100.482935 C107.569534,99.0872413 109.588805,97.5876355 111.429933,95.9840726 C113.271061,94.3805097 114.785514,92.6433426 115.973338,90.7725192 C117.161163,88.9016958 117.784761,86.7487964 117.844152,84.3137564 C117.844152,83.1853233 117.710524,81.9826691 117.443264,80.7057579 C117.176003,79.4288467 116.656338,78.2410402 115.884252,77.1423026 C115.112166,76.0435651 114.04314,75.123015 112.677142,74.3806248 C111.311144,73.6382345 109.529434,73.267045 107.331959,73.267045 C105.312658,73.267045 103.634881,73.6679297 102.298579,74.4697112 C100.962276,75.2714926 99.8932503,76.3702137 99.0914688,77.7659073 C98.2896874,79.161601 97.6957841,80.8096826 97.3097412,82.7102016 C96.9236982,84.6107206 96.7009845,86.6596869 96.6415933,88.857162 L86.4857457,88.857162 C86.4857457,85.4124713 86.9460207,82.2202411 87.8665846,79.2803758 C88.7871485,76.3405105 90.1679736,73.801574 92.0091014,71.6634901 C93.8502292,69.5254062 96.092214,67.8476295 98.7351233,66.6301095 C101.378033,65.4125895 104.451482,64.8038386 107.955564,64.8038386 C111.756602,64.8038386 114.933984,65.4274371 117.487807,66.6746527 C120.041629,67.9218683 122.105443,69.4957119 123.67931,71.3962309 C125.253178,73.2967499 126.366746,75.3605638 127.02005,77.5877345 C127.673353,79.8149053 128,81.9381095 128,83.9574109 C128,86.4518421 127.613963,88.7086746 126.841877,90.727976 C126.069791,92.7472774 125.03046,94.6032252 123.723854,96.2958749 C122.417247,97.9885247 120.932489,99.5475208 119.269534,100.97291 C117.60658,102.398299 115.884261,103.734582 114.102524,104.981797 C112.320788,106.229013 110.539078,107.416819 108.757341,108.545253 C106.975605,109.673686 105.327523,110.802102 103.813047,111.930535 C102.298571,113.058968 100.977136,114.231927 99.8487031,115.449447 C98.7202699,116.666967 97.9481956,117.958707 97.5324571,119.324705 L127.910914,119.324705 L127.910914,128.411516 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/superscript": { "title": "$:/core/images/superscript", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-superscript tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M2.27170276,16 L22.1825093,16 L43.8305003,49.6746527 L66.4138983,16 L85.1220387,16 L53.5854592,61.9685735 L87.3937414,111.411516 L67.0820462,111.411516 L43.295982,74.9306422 L19.1090291,111.411516 L0,111.411516 L33.8082822,61.9685735 L2.27170276,16 Z M127.910914,63.4115159 L85.3276227,63.4115159 C85.3870139,58.2444799 86.6342108,53.7308149 89.0692508,49.8703857 C91.5042907,46.0099565 94.8301491,42.654403 99.0469256,39.8036245 C101.066227,38.318844 103.174584,36.8786285 105.372059,35.4829349 C107.569534,34.0872413 109.588805,32.5876355 111.429933,30.9840726 C113.271061,29.3805097 114.785514,27.6433426 115.973338,25.7725192 C117.161163,23.9016958 117.784761,21.7487964 117.844152,19.3137564 C117.844152,18.1853233 117.710524,16.9826691 117.443264,15.7057579 C117.176003,14.4288467 116.656338,13.2410402 115.884252,12.1423026 C115.112166,11.0435651 114.04314,10.123015 112.677142,9.38062477 C111.311144,8.63823453 109.529434,8.26704499 107.331959,8.26704499 C105.312658,8.26704499 103.634881,8.6679297 102.298579,9.46971115 C100.962276,10.2714926 99.8932503,11.3702137 99.0914688,12.7659073 C98.2896874,14.161601 97.6957841,15.8096826 97.3097412,17.7102016 C96.9236982,19.6107206 96.7009845,21.6596869 96.6415933,23.857162 L86.4857457,23.857162 C86.4857457,20.4124713 86.9460207,17.2202411 87.8665846,14.2803758 C88.7871485,11.3405105 90.1679736,8.80157397 92.0091014,6.6634901 C93.8502292,4.52540622 96.092214,2.84762946 98.7351233,1.63010947 C101.378033,0.412589489 104.451482,-0.196161372 107.955564,-0.196161372 C111.756602,-0.196161372 114.933984,0.427437071 117.487807,1.67465266 C120.041629,2.92186826 122.105443,4.49571195 123.67931,6.39623095 C125.253178,8.29674995 126.366746,10.3605638 127.02005,12.5877345 C127.673353,14.8149053 128,16.9381095 128,18.9574109 C128,21.4518421 127.613963,23.7086746 126.841877,25.727976 C126.069791,27.7472774 125.03046,29.6032252 123.723854,31.2958749 C122.417247,32.9885247 120.932489,34.5475208 119.269534,35.97291 C117.60658,37.3982993 115.884261,38.7345816 114.102524,39.9817972 C112.320788,41.2290128 110.539078,42.4168194 108.757341,43.5452525 C106.975605,44.6736857 105.327523,45.8021019 103.813047,46.9305351 C102.298571,48.0589682 100.977136,49.2319272 99.8487031,50.4494472 C98.7202699,51.6669672 97.9481956,52.9587068 97.5324571,54.3247048 L127.910914,54.3247048 L127.910914,63.4115159 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/tag-button": { "title": "$:/core/images/tag-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-tag-button tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M18.1643182,47.6600756 L18.1677196,51.7651887 C18.1708869,55.5878829 20.3581578,60.8623899 23.0531352,63.5573673 L84.9021823,125.406414 C87.5996731,128.103905 91.971139,128.096834 94.6717387,125.396234 L125.766905,94.3010679 C128.473612,91.5943612 128.472063,87.2264889 125.777085,84.5315115 L63.9280381,22.6824644 C61.2305472,19.9849735 55.9517395,17.801995 52.1318769,17.8010313 L25.0560441,17.7942007 C21.2311475,17.7932358 18.1421354,20.8872832 18.1452985,24.7049463 L18.1535504,34.6641936 C18.2481119,34.6754562 18.3439134,34.6864294 18.4409623,34.6971263 C22.1702157,35.1081705 26.9295004,34.6530132 31.806204,33.5444844 C32.1342781,33.0700515 32.5094815,32.6184036 32.9318197,32.1960654 C35.6385117,29.4893734 39.5490441,28.718649 42.94592,29.8824694 C43.0432142,29.8394357 43.1402334,29.7961748 43.2369683,29.7526887 L43.3646982,30.0368244 C44.566601,30.5115916 45.6933052,31.2351533 46.6655958,32.2074439 C50.4612154,36.0030635 50.4663097,42.1518845 46.6769742,45.94122 C43.0594074,49.5587868 37.2914155,49.7181264 33.4734256,46.422636 C28.1082519,47.5454734 22.7987486,48.0186448 18.1643182,47.6600756 Z\"></path>\n <path d=\"M47.6333528,39.5324628 L47.6562932,39.5834939 C37.9670934,43.9391617 26.0718874,46.3819521 17.260095,45.4107025 C5.27267473,44.0894301 -1.02778744,36.4307276 2.44271359,24.0779512 C5.56175386,12.9761516 14.3014034,4.36129832 24.0466405,1.54817001 C34.7269254,-1.53487574 43.7955833,3.51606438 43.7955834,14.7730751 L35.1728168,14.7730752 C35.1728167,9.91428944 32.0946059,8.19982862 26.4381034,9.83267419 C19.5270911,11.8276553 13.046247,18.2159574 10.7440788,26.4102121 C8.82861123,33.2280582 11.161186,36.0634845 18.2047888,36.8398415 C25.3302805,37.6252244 35.7353482,35.4884477 44.1208333,31.7188498 L44.1475077,31.7781871 C44.159701,31.7725635 44.1718402,31.7671479 44.1839238,31.7619434 C45.9448098,31.0035157 50.4503245,38.3109156 47.7081571,39.5012767 C47.6834429,39.512005 47.6585061,39.5223987 47.6333528,39.5324628 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/theme-button": { "title": "$:/core/images/theme-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-theme-button tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M55.854113,66.9453198 C54.3299482,65.1432292 53.0133883,63.518995 51.9542746,62.1263761 C40.8899947,47.578055 35.3091807,55.2383404 28.9941893,62.1263758 C22.6791979,69.0144112 30.6577916,74.5954741 24.6646171,79.4611023 C18.6714426,84.3267304 19.0414417,86.0133155 8.92654943,77.1119468 C-1.18834284,68.2105781 -1.88793412,65.7597832 2.7553553,60.6807286 C7.39864472,55.601674 11.2794845,63.5989423 20.7646627,54.5728325 C30.2498409,45.5467226 22.2819131,37.5470737 22.2819131,37.5470737 C22.2819131,37.5470737 42.0310399,-2.82433362 68.4206088,0.157393922 C94.8101776,3.13912147 58.4373806,-3.70356506 49.3898693,27.958066 C45.5161782,41.5139906 50.1107906,38.3197672 57.4560458,44.0453955 C59.1625767,45.3756367 63.8839488,48.777453 70.127165,53.3625321 C63.9980513,59.2416709 58.9704753,64.0315459 55.854113,66.9453198 Z M67.4952439,79.8919946 C83.5082212,96.9282402 105.237121,117.617674 112.611591,120.312493 C123.044132,124.12481 128.000001,117.170903 128,105.522947 C127.999999,98.3705516 104.170675,78.980486 84.0760493,63.7529565 C76.6683337,70.9090328 70.7000957,76.7055226 67.4952439,79.8919946 Z\"></path>\n <path d=\"M58.2852966,138.232794 L58.2852966,88.3943645 C56.318874,88.3923153 54.7254089,86.7952906 54.7254089,84.8344788 C54.7254089,82.8684071 56.3175932,81.2745911 58.2890859,81.2745911 L79.6408336,81.2745911 C81.608998,81.2745911 83.2045105,82.8724076 83.2045105,84.8344788 C83.2045105,86.7992907 81.614366,88.3923238 79.6446228,88.3943645 L79.6446228,88.3943646 L79.6446228,138.232794 C79.6446228,144.131009 74.8631748,148.912457 68.9649597,148.912457 C63.0667446,148.912457 58.2852966,144.131009 58.2852966,138.232794 Z M65.405072,-14.8423767 L72.5248474,-14.8423767 L76.0847351,-0.690681892 L72.5248474,6.51694947 L72.5248474,81.2745911 L65.405072,81.2745911 L65.405072,6.51694947 L61.8451843,-0.690681892 L65.405072,-14.8423767 Z\" transform=\"translate(68.964960, 67.035040) rotate(45.000000) translate(-68.964960, -67.035040) \"></path>\n </g>\n</svg>" }, "$:/core/images/timestamp-off": { "title": "$:/core/images/timestamp-off", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-timestamp-off tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <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 10c-2.762 0-5-2.24-5-5-.004-2.756 2.238-5 5-5H66.69c2.762 0 5.002 2.24 5 5 .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\"/>\n </g>\n</svg>\n" }, "$:/core/images/timestamp-on": { "title": "$:/core/images/timestamp-on", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-timestamp-on tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <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 10c-2.762 0-5-2.24-5-5-.004-2.756 2.238-5 5-5H66.69c2.762 0 5.002 2.24 5 5 .006 2.757-2.238 5-5 5H49.705z\"/><path d=\"M13.41 27.178c-2.116 1.775-5.27 1.498-7.045-.613-1.772-2.11-1.498-5.27.616-7.047l9.95-8.348c2.115-1.774 5.27-1.5 7.045.618 1.775 2.108 1.498 5.27-.616 7.043l-9.95 8.348zM102.983 27.178c2.116 1.775 5.27 1.498 7.045-.613 1.772-2.11 1.498-5.27-.616-7.047l-9.95-8.348c-2.114-1.774-5.27-1.5-7.044.618-1.775 2.108-1.498 5.27.616 7.043l9.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\"/>\n </g>\n</svg>\n" }, "$:/core/images/tip": { "title": "$:/core/images/tip", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-tip tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M64,128.241818 C99.346224,128.241818 128,99.5880417 128,64.2418177 C128,28.8955937 99.346224,0.241817675 64,0.241817675 C28.653776,0.241817675 0,28.8955937 0,64.2418177 C0,99.5880417 28.653776,128.241818 64,128.241818 Z M75.9358659,91.4531941 C75.3115438,95.581915 70.2059206,98.8016748 64,98.8016748 C57.7940794,98.8016748 52.6884562,95.581915 52.0641341,91.4531941 C54.3299053,94.0502127 58.8248941,95.8192805 64,95.8192805 C69.1751059,95.8192805 73.6700947,94.0502127 75.9358659,91.4531941 L75.9358659,91.4531941 Z M75.9358659,95.9453413 C75.3115438,100.074062 70.2059206,103.293822 64,103.293822 C57.7940794,103.293822 52.6884562,100.074062 52.0641341,95.9453413 C54.3299053,98.5423599 58.8248941,100.311428 64,100.311428 C69.1751059,100.311428 73.6700947,98.5423599 75.9358659,95.9453413 L75.9358659,95.9453413 Z M75.9358659,100.40119 C75.3115438,104.529911 70.2059206,107.74967 64,107.74967 C57.7940794,107.74967 52.6884562,104.529911 52.0641341,100.40119 C54.3299053,102.998208 58.8248941,104.767276 64,104.767276 C69.1751059,104.767276 73.6700947,102.998208 75.9358659,100.40119 L75.9358659,100.40119 Z M75.9358659,104.893337 C75.3115438,109.022058 70.2059206,112.241818 64,112.241818 C57.7940794,112.241818 52.6884562,109.022058 52.0641341,104.893337 C54.3299053,107.490356 58.8248941,109.259423 64,109.259423 C69.1751059,109.259423 73.6700947,107.490356 75.9358659,104.893337 L75.9358659,104.893337 Z M64.3010456,24.2418177 C75.9193117,24.2418188 88.0000013,32.0619847 88,48.4419659 C87.9999987,64.8219472 75.9193018,71.7540963 75.9193021,83.5755932 C75.9193022,89.4486648 70.0521957,92.8368862 63.9999994,92.8368862 C57.947803,92.8368862 51.9731007,89.8295115 51.9731007,83.5755932 C51.9731007,71.1469799 39.9999998,65.4700602 40,48.4419647 C40.0000002,31.4138691 52.6827796,24.2418166 64.3010456,24.2418177 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/transcludify": { "title": "$:/core/images/transcludify", "tags": "$:/tags/Image", "text": "<svg class=\"tc-transcludify-button tc-image-button\" viewBox=\"0 0 128 128\" width=\"22pt\" height=\"22pt\"><path d=\"M0 59.482c.591 0 1.36-.089 2.306-.266a10.417 10.417 0 0 0 2.75-.932 6.762 6.762 0 0 0 2.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 0 0-.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 0 0-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 0 0 2.75-.932 6.762 6.762 0 0 0 2.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 0 0-.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 0 0-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 0 0-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 0 0 .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 0 0-.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 0 0 2.262 2.084 8.868 8.868 0 0 0 2.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 0 0-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 0 0 .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 0 0-.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 0 0 2.262 2.084 8.868 8.868 0 0 0 2.75 1.02c.946.177 1.745.266 2.395.266v7.806z\" fill-rule=\"evenodd\"/></svg>\n" }, "$:/core/images/twitter": { "title": "$:/core/images/twitter", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-twitter tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M41.6263422,115.803477 C27.0279663,115.803477 13.4398394,111.540813 1.99987456,104.234833 C4.02221627,104.472643 6.08004574,104.594302 8.16644978,104.594302 C20.277456,104.594302 31.4238403,100.47763 40.270894,93.5715185 C28.9590538,93.3635501 19.4123842,85.9189246 16.1230832,75.6885328 C17.7011365,75.9892376 19.320669,76.1503787 20.9862896,76.1503787 C23.344152,76.1503787 25.6278127,75.8359011 27.7971751,75.247346 C15.9709927,72.8821073 7.06079851,62.4745062 7.06079851,49.9982394 C7.06079851,49.8898938 7.06079851,49.7820074 7.06264203,49.67458 C10.5482779,51.6032228 14.5339687,52.7615103 18.7717609,52.8951059 C11.8355159,48.277565 7.2714207,40.3958845 7.2714207,31.4624258 C7.2714207,26.7434257 8.54621495,22.3200804 10.7713439,18.5169676 C23.5211299,34.0957738 42.568842,44.3472839 64.0532269,45.4210985 C63.6126256,43.5365285 63.3835682,41.5711584 63.3835682,39.5529928 C63.3835682,25.3326379 74.95811,13.8034766 89.2347917,13.8034766 C96.6697089,13.8034766 103.387958,16.930807 108.103682,21.9353619 C113.991886,20.780288 119.52429,18.6372496 124.518847,15.6866694 C122.588682,21.6993889 118.490075,26.7457211 113.152623,29.9327334 C118.381769,29.3102055 123.363882,27.926045 127.999875,25.8780385 C124.534056,31.0418981 120.151087,35.5772616 115.100763,39.2077561 C115.150538,40.3118708 115.175426,41.4224128 115.175426,42.538923 C115.175426,76.5663154 89.1744164,115.803477 41.6263422,115.803477\"></path>\n </g>\n</svg>\n" }, "$:/core/images/underline": { "title": "$:/core/images/underline", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-underline tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M7,117.421488 L121.247934,117.421488 L121.247934,128 L7,128 L7,117.421488 Z M104.871212,98.8958333 L104.871212,0 L88.6117424,0 L88.6117424,55.8560606 C88.6117424,60.3194668 88.0060035,64.432115 86.7945076,68.1941288 C85.5830116,71.9561425 83.7657949,75.239885 81.342803,78.0454545 C78.9198111,80.8510241 75.8911167,83.0189317 72.2566288,84.5492424 C68.6221409,86.0795531 64.3182067,86.844697 59.344697,86.844697 C53.0959284,86.844697 48.1862552,85.0593613 44.6155303,81.4886364 C41.0448054,77.9179114 39.2594697,73.0720003 39.2594697,66.9507576 L39.2594697,0 L23,0 L23,65.0378788 C23,70.3939662 23.5419769,75.2717583 24.625947,79.6714015 C25.709917,84.0710447 27.5908957,87.864883 30.2689394,91.0530303 C32.9469831,94.2411776 36.4538925,96.6960141 40.7897727,98.4176136 C45.125653,100.139213 50.545422,101 57.0492424,101 C64.3182182,101 70.630655,99.5653553 75.9867424,96.6960227 C81.3428298,93.8266902 85.742407,89.33147 89.1856061,83.2102273 L89.5681818,83.2102273 L89.5681818,98.8958333 L104.871212,98.8958333 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/unfold-all-button": { "title": "$:/core/images/unfold-all-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-unfold-all tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <rect x=\"0\" y=\"0\" width=\"128\" height=\"16\" rx=\"8\"></rect>\n <rect x=\"0\" y=\"64\" width=\"128\" height=\"16\" rx=\"8\"></rect>\n <path d=\"M85.598226,8.34884273 C84.1490432,6.89863875 82.1463102,6 79.9340286,6 L47.9482224,6 C43.5292967,6 39.9411255,9.581722 39.9411255,14 C39.9411255,18.4092877 43.5260249,22 47.9482224,22 L71.9411255,22 L71.9411255,45.9929031 C71.9411255,50.4118288 75.5228475,54 79.9411255,54 C84.3504132,54 87.9411255,50.4151006 87.9411255,45.9929031 L87.9411255,14.0070969 C87.9411255,11.7964515 87.0447363,9.79371715 85.5956548,8.34412458 Z\" transform=\"translate(63.941125, 30.000000) scale(1, -1) rotate(-45.000000) translate(-63.941125, -30.000000) \"></path>\n <path d=\"M85.6571005,72.2899682 C84.2079177,70.8397642 82.2051847,69.9411255 79.9929031,69.9411255 L48.0070969,69.9411255 C43.5881712,69.9411255 40,73.5228475 40,77.9411255 C40,82.3504132 43.5848994,85.9411255 48.0070969,85.9411255 L72,85.9411255 L72,109.934029 C72,114.352954 75.581722,117.941125 80,117.941125 C84.4092877,117.941125 88,114.356226 88,109.934029 L88,77.9482224 C88,75.737577 87.1036108,73.7348426 85.6545293,72.2852501 Z\" transform=\"translate(64.000000, 93.941125) scale(1, -1) rotate(-45.000000) translate(-64.000000, -93.941125) \"></path>\n </g>\n</svg>" }, "$:/core/images/unfold-button": { "title": "$:/core/images/unfold-button", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-unfold tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <rect x=\"0\" y=\"0\" width=\"128\" height=\"16\" rx=\"8\"></rect>\n <path d=\"M85.598226,11.3488427 C84.1490432,9.89863875 82.1463102,9 79.9340286,9 L47.9482224,9 C43.5292967,9 39.9411255,12.581722 39.9411255,17 C39.9411255,21.4092877 43.5260249,25 47.9482224,25 L71.9411255,25 L71.9411255,48.9929031 C71.9411255,53.4118288 75.5228475,57 79.9411255,57 C84.3504132,57 87.9411255,53.4151006 87.9411255,48.9929031 L87.9411255,17.0070969 C87.9411255,14.7964515 87.0447363,12.7937171 85.5956548,11.3441246 Z\" transform=\"translate(63.941125, 33.000000) scale(1, -1) rotate(-45.000000) translate(-63.941125, -33.000000) \"></path>\n <path d=\"M85.6571005,53.4077172 C84.2079177,51.9575133 82.2051847,51.0588745 79.9929031,51.0588745 L48.0070969,51.0588745 C43.5881712,51.0588745 40,54.6405965 40,59.0588745 C40,63.4681622 43.5848994,67.0588745 48.0070969,67.0588745 L72,67.0588745 L72,91.0517776 C72,95.4707033 75.581722,99.0588745 80,99.0588745 C84.4092877,99.0588745 88,95.4739751 88,91.0517776 L88,59.0659714 C88,56.855326 87.1036108,54.8525917 85.6545293,53.4029991 Z\" transform=\"translate(64.000000, 75.058875) scale(1, -1) rotate(-45.000000) translate(-64.000000, -75.058875) \"></path>\n </g>\n</svg>" }, "$:/core/images/unlocked-padlock": { "title": "$:/core/images/unlocked-padlock", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-unlocked-padlock tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M48.6266053,64 L105,64 L105,96.0097716 C105,113.673909 90.6736461,128 73.001193,128 L55.998807,128 C38.3179793,128 24,113.677487 24,96.0097716 L24,64 L30.136303,64 C19.6806213,51.3490406 2.77158986,28.2115132 25.8366966,8.85759246 C50.4723026,-11.8141335 71.6711028,13.2108337 81.613302,25.0594855 C91.5555012,36.9081373 78.9368488,47.4964439 69.1559674,34.9513593 C59.375086,22.4062748 47.9893192,10.8049522 35.9485154,20.9083862 C23.9077117,31.0118202 34.192312,43.2685325 44.7624679,55.8655518 C47.229397,58.805523 48.403443,61.5979188 48.6266053,64 Z M67.7315279,92.3641717 C70.8232551,91.0923621 73,88.0503841 73,84.5 C73,79.8055796 69.1944204,76 64.5,76 C59.8055796,76 56,79.8055796 56,84.5 C56,87.947435 58.0523387,90.9155206 61.0018621,92.2491029 L55.9067479,115.020857 L72.8008958,115.020857 L67.7315279,92.3641717 L67.7315279,92.3641717 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/up-arrow": { "title": "$:/core/images/up-arrow", "created": "20150316000544368", "modified": "20150316000831867", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-up-arrow tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n<path transform=\"rotate(-135, 63.8945, 64.1752)\" d=\"m109.07576,109.35336c-1.43248,1.43361 -3.41136,2.32182 -5.59717,2.32182l-79.16816,0c-4.36519,0 -7.91592,-3.5444 -7.91592,-7.91666c0,-4.36337 3.54408,-7.91667 7.91592,-7.91667l71.25075,0l0,-71.25074c0,-4.3652 3.54442,-7.91592 7.91667,-7.91592c4.36336,0 7.91667,3.54408 7.91667,7.91592l0,79.16815c0,2.1825 -0.88602,4.16136 -2.3185,5.59467l-0.00027,-0.00056l0.00001,-0.00001z\" />\n</svg>\n \n" }, "$:/core/images/video": { "title": "$:/core/images/video", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-video tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M64,12 C29.0909091,12 8.72727273,14.9166667 5.81818182,17.8333333 C2.90909091,20.75 1.93784382e-15,41.1666667 0,64.5 C1.93784382e-15,87.8333333 2.90909091,108.25 5.81818182,111.166667 C8.72727273,114.083333 29.0909091,117 64,117 C98.9090909,117 119.272727,114.083333 122.181818,111.166667 C125.090909,108.25 128,87.8333333 128,64.5 C128,41.1666667 125.090909,20.75 122.181818,17.8333333 C119.272727,14.9166667 98.9090909,12 64,12 Z M54.9161194,44.6182253 C51.102648,42.0759111 48.0112186,43.7391738 48.0112186,48.3159447 L48.0112186,79.6840553 C48.0112186,84.2685636 51.109784,85.9193316 54.9161194,83.3817747 L77.0838806,68.6032672 C80.897352,66.0609529 80.890216,61.9342897 77.0838806,59.3967328 L54.9161194,44.6182253 Z\"></path>\n </g>\n</svg>" }, "$:/core/images/warning": { "title": "$:/core/images/warning", "tags": "$:/tags/Image", "text": "<svg class=\"tc-image-warning tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 128 128\">\n <g fill-rule=\"evenodd\">\n <path d=\"M57.0717968,11 C60.1509982,5.66666667 67.8490018,5.66666667 70.9282032,11 L126.353829,107 C129.433031,112.333333 125.584029,119 119.425626,119 L8.57437416,119 C2.41597129,119 -1.43303051,112.333333 1.64617093,107 L57.0717968,11 Z M64,37 C59.581722,37 56,40.5820489 56,44.9935776 L56,73.0064224 C56,77.4211534 59.5907123,81 64,81 C68.418278,81 72,77.4179511 72,73.0064224 L72,44.9935776 C72,40.5788466 68.4092877,37 64,37 Z M64,104 C68.418278,104 72,100.418278 72,96 C72,91.581722 68.418278,88 64,88 C59.581722,88 56,91.581722 56,96 C56,100.418278 59.581722,104 64,104 Z\"></path>\n </g>\n</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/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/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/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/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/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/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/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/Caption": { "title": "$:/language/ControlPanel/Basics/Caption", "text": "Basics" }, "$:/language/ControlPanel/Basics/DefaultTiddlers/BottomHint": { "title": "$:/language/ControlPanel/Basics/DefaultTiddlers/BottomHint", "text": "Use [[double square brackets]] for titles with spaces. Or you can choose to <$button set=\"$:/DefaultTiddlers\" setTo=\"[list[$:/StoryList]]\">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/OverriddenShadowTiddlers/Prompt": { "title": "$:/language/ControlPanel/Basics/OverriddenShadowTiddlers/Prompt", "text": "Number of overridden shadow tiddlers:" }, "$:/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/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/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/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/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/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/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/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/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/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/Backups": { "title": "$:/language/ControlPanel/Saving/TiddlySpot/Backups", "text": "Backups" }, "$:/language/ControlPanel/Saving/TiddlySpot/Caption": { "title": "$:/language/ControlPanel/Saving/TiddlySpot/Caption", "text": "~TiddlySpot Saver" }, "$:/language/ControlPanel/Saving/TiddlySpot/Description": { "title": "$:/language/ControlPanel/Saving/TiddlySpot/Description", "text": "These settings are only used when saving to http://tiddlyspot.com or a compatible remote server" }, "$:/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": "~TiddlySpot" }, "$:/language/ControlPanel/Saving/TiddlySpot/Hint": { "title": "$:/language/ControlPanel/Saving/TiddlySpot/Hint", "text": "//The server URL defaults to `http://<wikiname>.tiddlyspot.com/store.cgi` 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/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/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/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/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/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/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": "Operands 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-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/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/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/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/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/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/Placeholder": { "title": "$:/language/EditTemplate/Tags/Add/Placeholder", "text": "tag name" }, "$:/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/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\" file" }, "$:/language/Docs/Fields/_canonical_uri": { "title": "$:/language/Docs/Fields/_canonical_uri", "text": "The full URI of an external image tiddler" }, "$:/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/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|AlertMechanism]]" }, "$:/language/Docs/Fields/current-tiddler": { "title": "$:/language/Docs/Fields/current-tiddler", "text": "Used to cache the top tiddler in a [[history list|HistoryMechanism]]" }, "$:/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 wizard" }, "$:/language/Docs/Fields/hack-to-give-us-something-to-compare-against": { "title": "$:/language/Docs/Fields/hack-to-give-us-something-to-compare-against", "text": "A temporary storage field used in [[$:/core/templates/static.content]]" }, "$:/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/name": { "title": "$:/language/Docs/Fields/name", "text": "The human readable name associated with a plugin tiddler" }, "$:/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/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 wizard" }, "$:/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/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/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|<$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> |<<lingo DefaultTiddlers/TopHint>><br> <$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/default": { "title": "$:/language/Help/default", "text": "\\define commandTitle()\n$:/language/Help/$(command)$\n\\end\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>: <$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 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\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 variable\n* ''value'': Value of optional variable\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* 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\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>]\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\nA common usage is to convert a TiddlyWiki HTML file into a wiki folder:\n\n```\ntiddlywiki --load ./mywiki.html --savewikifolder ./mywikifolder\n```\n" }, "$:/language/Help/server": { "title": "$:/language/Help/server", "description": "Provides an HTTP server interface to TiddlyWiki (deprecated in favour of the new listen command)", "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/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/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/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>> being older 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/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/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/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/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 here (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/EditConflict": { "title": "$:/language/Error/EditConflict", "text": "File changed on server" }, "$:/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/IsFilterOperator": { "title": "$:/language/Error/IsFilterOperator", "text": "Filter Error: Unknown operand for the 'is' filter operator" }, "$:/language/Error/LoadingPluginLibrary": { "title": "$:/language/Error/LoadingPluginLibrary", "text": "Error loading plugin library" }, "$:/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/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/InvalidFieldName": { "title": "$:/language/InvalidFieldName", "text": "Illegal characters in field name \"<$text text=<<fieldName>>/>\". Fields can only contain lowercase letters, digits and the characters underscore (`_`), hyphen (`-`) and period (`.`)" }, "$:/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/PluginReloadWarning": { "title": "$:/language/PluginReloadWarning", "text": "Please save {{$:/core/ui/Buttons/save-wiki}} and reload {{$:/core/ui/Buttons/refresh}} to allow changes to plugins to take effect" }, "$:/language/RecentChanges/DateFormat": { "title": "$:/language/RecentChanges/DateFormat", "text": "DDth MMM YYYY" }, "$:/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/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" }, "$:/language/Modals/SaveInstructions": { "title": "$:/language/Modals/SaveInstructions", "subtitle": "Save your work", "footer": "<$button message=\"tm-close-tiddler\">Close</$button>", "help": "https://tiddlywiki.com/static/SavingChanges.html", "text": "Your changes to this wiki need to be saved as a ~TiddlyWiki HTML file.\n\n!!! Desktop browsers\n\n# Select ''Save As'' from the ''File'' menu\n# Choose a filename and location\n#* Some browsers also require you to explicitly specify the file saving format as ''Webpage, HTML only'' or similar\n# Close this tab\n\n!!! Smartphone browsers\n\n# Create a bookmark to this page\n#* If you've got iCloud or Google Sync set up then the bookmark will automatically sync to your desktop where you can open it and save it as above\n# Close this tab\n\n//If you open the bookmark again in Mobile Safari you will see this message again. If you want to go ahead and use the file, just click the ''close'' button below//\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" }, "$:/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/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/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/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/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": "References" }, "$:/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": "Structured Vector Graphics image", "name": "image/svg+xml", "group": "Image", "group-sort": "1" }, "$:/language/Docs/Types/image/x-icon": { "title": "$:/language/Docs/Types/image/x-icon", "description": "ICO format icon file", "name": "image/x-icon", "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/x-tiddlywiki": { "title": "$:/language/Docs/Types/text/x-tiddlywiki", "description": "TiddlyWiki Classic", "name": "text/x-tiddlywiki", "group": "Text", "group-sort": "0" }, "$:/languages/en-GB/icon": { "title": "$:/languages/en-GB/icon", "type": "image/svg+xml", "text": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 60 30\" width=\"1200\" height=\"600\">\n<clipPath id=\"t\">\n\t<path d=\"M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z\"/>\n</clipPath>\n<path d=\"M0,0 v30 h60 v-30 z\" fill=\"#00247d\"/>\n<path d=\"M0,0 L60,30 M60,0 L0,30\" stroke=\"#fff\" stroke-width=\"6\"/>\n<path d=\"M0,0 L60,30 M60,0 L0,30\" clip-path=\"url(#t)\" stroke=\"#cf142b\" stroke-width=\"4\"/>\n<path d=\"M30,0 v30 M0,15 h60\" stroke=\"#fff\" stroke-width=\"10\"/>\n<path d=\"M30,0 v30 M0,15 h60\" stroke=\"#cf142b\" stroke-width=\"6\"/>\n</svg>\n" }, "$:/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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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;\t\t\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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.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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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 = $tw.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)\t \t\t\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\n})();\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(function(){\n\n/*jshint node: true, browser: true */\n/*global $tw: false */\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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 = JSON.parse(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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\tfs = require(\"fs\"),\n\t\tpath = require(\"path\"),\n\t\tupgradeLibraryTitle = this.params[0] || UPGRADE_LIBRARY_TITLE,\n\t\ttiddlers = {};\n\t// Collect up the library plugins\n\tvar collectPlugins = function(folder) {\n\t\t\tvar pluginFolders = fs.readdirSync(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\tpluginFields = $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 = fs.readdirSync(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\tcollectPublisherPlugins(path.resolve($tw.boot.corePath,$tw.config.pluginsPath));\n\tcollectPublisherPlugins(path.resolve($tw.boot.corePath,$tw.config.themesPath));\n\tcollectPlugins(path.resolve($tw.boot.corePath,$tw.config.languagesPath));\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},null,$tw.config.preferences.jsonSpaces)\n\t};\n\twiki.addTiddler(new $tw.Tiddler(pluginFields));\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nvar widget = require(\"$:/core/modules/widgets/widget.js\");\n\nexports.info = {\n\tname: \"render\",\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 tiddler filter\";\n\t}\n\tvar self = this,\n\t\tfs = require(\"fs\"),\n\t\tpath = require(\"path\"),\n\t\twiki = this.commander.wiki,\n\t\ttiddlerFilter = this.params[0],\n\t\tfilenameFilter = this.params[1] || \"[is[tiddler]addsuffix[.html]]\",\n\t\ttype = this.params[2] || \"text/html\",\n\t\ttemplate = this.params[3],\n\t\tvarName = this.params[4],\n\t\tvarValue = this.params[5],\n\t\ttiddlers = wiki.filterTiddlers(tiddlerFilter);\n\t$tw.utils.each(tiddlers,function(title) {\n\t\tvar parser = wiki.parseTiddler(template || title),\n\t\t\tvariables = {currentTiddler: title};\n\t\tif(varName) {\n\t\t\tvariables[varName] = varValue || \"\";\n\t\t}\n\t\tvar widgetNode = wiki.makeWidget(parser,{variables: variables}),\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\tfilepath = path.resolve(self.commander.outputPath,wiki.filterTiddlers(filenameFilter,$tw.rootWidget,wiki.makeTiddlerIterator([title]))[0]);\n\t\tif(self.commander.verbose) {\n\t\t\tconsole.log(\"Rendering \\\"\" + title + \"\\\" to \\\"\" + filepath + \"\\\"\");\n\t\t}\n\t\t$tw.utils.createFileDirectories(filepath);\n\t\tfs.writeFileSync(filepath,text,\"utf8\");\n\t});\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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]),\t\t\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}}),\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,encodeURIComponent(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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nexports.info = {\n\tname: \"save\",\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 filter\";\n\t}\n\tvar self = this,\n\t\tfs = require(\"fs\"),\n\t\tpath = require(\"path\"),\n\t\twiki = this.commander.wiki,\n\t\ttiddlerFilter = this.params[0],\n\t\tfilenameFilter = this.params[1] || \"[is[tiddler]]\",\n\t\ttiddlers = wiki.filterTiddlers(tiddlerFilter);\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\tfilepath = path.resolve(self.commander.outputPath,wiki.filterTiddlers(filenameFilter,$tw.rootWidget,wiki.makeTiddlerIterator([title]))[0]);\n\t\tif(self.commander.verbose) {\n\t\t\tconsole.log(\"Saving \\\"\" + title + \"\\\" to \\\"\" + filepath + \"\\\"\");\n\t\t}\n\t\t$tw.utils.createFileDirectories(filepath);\n\t\tfs.writeFileSync(filepath,tiddler.fields.text,contentTypeInfo.encoding);\n\t});\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\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> <pathname> <skinnylisting>\n\nThe tiddler identifies the bundle tiddler that contains the subtiddlers.\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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 + encodeURIComponent(title) + \".json\");\n\t\t$tw.utils.createFileDirectories(pathname);\n\t\tfs.writeFileSync(pathname,JSON.stringify(tiddler,null,$tw.config.preferences.jsonSpaces),\"utf8\");\n\t\t// Collect the skinny list data\n\t\tvar pluginTiddlers = JSON.parse(tiddler.text),\n\t\t\treadmeContent = (pluginTiddlers.tiddlers[title + \"/readme\"] || {}).text,\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,{text: undefined, readme: readmeContent, icon: iconContent}));\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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,encodeURIComponent(title));\n\t\tfs.writeFileSync(filename,tiddler.fields.text,contentTypeInfo.encoding);\n\t});\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\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> [<filter>]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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 wikifoldermaker = new WikiFolderMaker(this.params[0],this.params[1],this.commander);\n\treturn wikifoldermaker.save();\n};\n\nfunction WikiFolderMaker(wikiFolderPath,wikiFilter,commander) {\n\tthis.wikiFolderPath = wikiFolderPath;\n\tthis.wikiFilter = wikiFilter || \"[all[tiddlers]]\";\n\tthis.commander = commander;\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 {\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}\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 = JSON.parse(pluginTiddler.fields.text).tiddlers; // A hashmap of tiddlers in the plugin\n\t$tw.utils.each(pluginTiddlers,function(tiddler) {\n\t\tself.saveTiddler(directory,new $tw.Tiddler(tiddler));\n\t});\n};\n\nWikiFolderMaker.prototype.saveTiddler = function(directory,tiddler) {\n\tvar fileInfo = $tw.utils.generateTiddlerFileInfo(tiddler,{\n\t\tdirectory: path.resolve(this.wikiFolderPath,directory),\n\t\twiki: this.wiki\n\t});\n\t$tw.utils.saveTiddlerToFileSync(tiddler,fileInfo);\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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, 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, 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,div,dl,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,li,noscript,ol,output,p,pre,section,table,tfoot,ul,video\".split(\",\");\n\nexports.htmlUnsafeElements = \"script\".split(\",\");\n\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\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 parseTiddlerDiv = 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\nexports[\"application/x-tiddler-html-div\"] = function(text,fields) {\n\treturn [parseTiddlerDiv(text,fields)];\n};\n\nexports[\"application/json\"] = function(text,fields) {\n\tvar incoming,\n\t\tresults = [];\n\ttry {\n\t\tincoming = JSON.parse(text);\n\t} catch(e) {\n\t\tincoming = [{\n\t\t\ttitle: \"JSON error: \" + e,\n\t\t\ttext: \"\"\n\t\t}]\n\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\t// Check if we've got a store area\n\tvar storeAreaMarkerRegExp = /<div id=[\"']?storeArea['\"]?( style=[\"']?display:none;[\"']?)?>/gi,\n\t\tmatch = storeAreaMarkerRegExp.exec(text);\n\tif(match) {\n\t\t// If so, it's either a classic TiddlyWiki file or an unencrypted TW5 file\n\t\t// First read the normal tiddlers\n\t\tvar results = deserializeTiddlyWikiFile(text,storeAreaMarkerRegExp.lastIndex,!!match[1],fields);\n\t\t// Then any system tiddlers\n\t\tvar systemAreaMarkerRegExp = /<div id=[\"']?systemArea['\"]?( style=[\"']?display:none;[\"']?)?>/gi,\n\t\t\tsysMatch = systemAreaMarkerRegExp.exec(text);\n\t\tif(sysMatch) {\n\t\t\tresults.push.apply(results,deserializeTiddlyWikiFile(text,systemAreaMarkerRegExp.lastIndex,!!sysMatch[1],fields));\n\t\t}\n\t\treturn results;\n\t} else {\n\t\t// Check whether we've got an encrypted file\n\t\tvar encryptedStoreArea = $tw.utils.extractEncryptedStoreArea(text);\n\t\tif(encryptedStoreArea) {\n\t\t\t// If so, attempt to decrypt it using the current password\n\t\t\treturn $tw.utils.decryptStoreArea(encryptedStoreArea);\n\t\t} else {\n\t\t\t// It's not a TiddlyWiki so we'll return the entire HTML file as a tiddler\n\t\t\treturn deserializeHtmlFile(text,fields);\n\t\t}\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 deserializeTiddlyWikiFile(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 = parseTiddlerDiv(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})();\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(function(){\n\n/*jslint node: true,browser: true */\n/*global $tw: false */\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\tthis.iframeDoc.open();\n\tthis.iframeDoc.write(\"\");\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.iframeNode.style[\"background-color\"] = this.widget.wiki.extractTiddlerDataItem(this.widget.wiki.getTiddlerText(\"$:/palette\"),\"tiddler-editor-background\");\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) {\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\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: \"focus\",handlerObject: this,handlerMethod: \"handleFocusEvent\"},\n\t\t{name: \"input\",handlerObject: this,handlerMethod: \"handleInputEvent\"},\n\t\t{name: \"keydown\",handlerObject: this.widget,handlerMethod: \"handleKeydownEvent\"}\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\tthis.domNode.style[\"background-color\"] = this.widget.wiki.extractTiddlerDataItem(this.widget.wiki.getTiddlerText(\"$:/palette\"),\"tiddler-editor-background\");\n\t// In Chrome setting -webkit-text-fill-color overrides the placeholder text colour\n\tthis.domNode.style[\"-webkit-text-fill-color\"] = \"currentcolor\";\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.domNode.value = text;\n\t\t}\n\t\t// Fix the height if needed\n\t\tthis.fixHeight();\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 + 14) + \"px\"; // +14 for the border on the textarea\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 + 14) + \"px\";\n\t\t}\n\t}\n};\n\n/*\nFocus the engine node\n*/\nFramedEngine.prototype.focus = function() {\n\tif(this.domNode.focus && this.domNode.select) {\n\t\tthis.domNode.focus();\n\t\tthis.domNode.select();\n\t}\n};\n\t\n/*\nHandle the focus event\n*/\nFramedEngine.prototype.handleFocusEvent = function(event) {\n\tthis.widget.cancelPopups();\n\treturn true;\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\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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) {\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\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.domNode.value = text;\n\t\t}\n\t\t// Fix the height if needed\n\t\tthis.fixHeight();\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 && this.domNode.select) {\n\t\tthis.domNode.focus();\n\t\tthis.domNode.select();\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\treturn true;\n};\n\n/*\nHandle a dom \"focus\" event\n*/\nSimpleEngine.prototype.handleFocusEvent = function(event) {\n\tthis.widget.cancelPopups();\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\tvalue = tiddler.getFieldString(this.editField);\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 = \"Type the text for the tiddler '\" + this.editTitle + \"'\";\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.editTabIndex = this.getAttribute(\"tabindex\");\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 || changedTiddlers[HEIGHT_MODE_TITLE] || changedTiddlers[ENABLE_TOOLBAR_TITLE]) {\n\t\t\tthis.refreshSelf();\n\t\t\treturn true;\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\tCancel Popups\n\t*/\n\tEditTextWidget.prototype.cancelPopups = function() {\n\t\t$tw.popup.cancel(0,this.engine.domNode);\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.document.createEventObject ? this.document.createEventObject() : this.document.createEvent(\"Events\");\n\t\tif(newEvent.initEvent) {\n\t\t\tnewEvent.initEvent(\"keydown\", 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.parentDomNode.dispatchEvent(newEvent);\n\t};\n\n\treturn EditTextWidget;\n\n}\n\nexports.editTextWidgetFactory = editTextWidgetFactory;\n\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nexports[\"excise\"] = function(event,operation) {\n\tvar editTiddler = this.wiki.getTiddler(this.editTitle),\n\t\teditTiddlerTitle = this.editTitle;\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(\"New Excision\");\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}\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 = \"[[\" + 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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nexports[\"prefix-lines\"] = function(event,operation) {\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,event.paramObject.count);\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(line.charAt(0) === event.paramObject.character) {\n\t\t\tline = line.substring(1);\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 !== event.paramObject.count) {\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nexports[\"wrap-lines\"] = function(event,operation) {\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// Add the prefix and suffix\n\toperation.replacement = event.paramObject.prefix + \"\\n\" +\n\t\t\t\toperation.text.substring(operation.cutStart,operation.cutEnd) + \"\\n\" +\n\t\t\t\tevent.paramObject.suffix + \"\\n\";\n\toperation.newSelStart = operation.cutStart + event.paramObject.prefix.length + 1;\n\toperation.newSelEnd = operation.newSelStart + (operation.cutEnd - operation.cutStart);\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nexports[\"wrap-selection\"] = function(event,operation) {\n\tif(operation.selStart === operation.selEnd) {\n\t\t// No selection; check if we're within the prefix/suffix\n\t\tif(operation.text.substring(operation.selStart - event.paramObject.prefix.length,operation.selStart + event.paramObject.suffix.length) === event.paramObject.prefix + event.paramObject.suffix) {\n\t\t\t// Remove the prefix and suffix\n\t\t\toperation.cutStart = operation.selStart - event.paramObject.prefix.length;\n\t\t\toperation.cutEnd = operation.selEnd + event.paramObject.suffix.length;\n\t\t\toperation.replacement = \"\";\n\t\t\toperation.newSelStart = operation.cutStart;\n\t\t\toperation.newSelEnd = operation.newSelStart;\n\t\t} else {\n\t\t\t// Wrap the cursor instead\n\t\t\toperation.cutStart = operation.selStart;\n\t\t\toperation.cutEnd = operation.selEnd;\n\t\t\toperation.replacement = event.paramObject.prefix + event.paramObject.suffix;\n\t\t\toperation.newSelStart = operation.selStart + event.paramObject.prefix.length;\n\t\t\toperation.newSelEnd = operation.newSelStart;\n\t\t}\n\t} else if(operation.text.substring(operation.selStart,operation.selStart + event.paramObject.prefix.length) === event.paramObject.prefix && operation.text.substring(operation.selEnd - event.paramObject.suffix.length,operation.selEnd) === event.paramObject.suffix) {\n\t\t// Prefix and suffix are already present, so remove them\n\t\toperation.cutStart = operation.selStart;\n\t\toperation.cutEnd = operation.selEnd;\n\t\toperation.replacement = operation.selection.substring(event.paramObject.prefix.length,operation.selection.length - event.paramObject.suffix.length);\n\t\toperation.newSelStart = operation.selStart;\n\t\toperation.newSelEnd = operation.selStart + operation.replacement.length;\n\t} else {\n\t\t// Add the prefix and suffix\n\t\toperation.cutStart = operation.selStart;\n\t\toperation.cutEnd = operation.selEnd;\n\t\toperation.replacement = event.paramObject.prefix + operation.selection + event.paramObject.suffix;\n\t\toperation.newSelStart = operation.selStart;\n\t\toperation.newSelEnd = operation.selStart + operation.replacement.length;\n\t}\n};\n\n})();\n", "type": "application/javascript", "module-type": "texteditoroperation" }, "$:/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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nExport our filter function\n*/\nexports.missing = function(source,prefix,options) {\n\treturn options.wiki.getMissingTitles();\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nExport our filter function\n*/\nexports.orphans = function(source,prefix,options) {\n\treturn options.wiki.getOrphanTitles();\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nExport our filter function\n*/\nexports.shadows = function(source,prefix,options) {\n\treturn options.wiki.allShadowTitles();\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nExport our filter function\n*/\nexports.tiddlers = function(source,prefix,options) {\n\treturn options.wiki.allTitles();\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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// Get our suboperators\n\tvar allFilterOperators = getAllFilterOperators();\n\t// Cycle through the suboperators accumulating their results\n\tvar results = [],\n\t\tsubops = operator.operand.split(\"+\");\n\t// Check for common optimisations\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\tfor(var t=0; t<subops.length; t++) {\n\t\tvar subop = allFilterOperators[subops[t]];\n\t\tif(subop) {\n\t\t\t$tw.utils.pushTop(results,subop(source,operator.prefix,options));\n\t\t}\n\t}\n\treturn results;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nExport our filter function\n*/\nexports.backlinks = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\t$tw.utils.pushTop(results,options.wiki.getTiddlerBacklinks(title));\n\t});\n\treturn results;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\").toLowerCase();\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nExport our filter function\n*/\nexports.editiondescription = function(source,operator,options) {\n\tvar results = [],\n\t\teditionInfo = $tw.utils.getEditionInfo();\n\tif(editionInfo) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif($tw.utils.hop(editionInfo,title)) {\n\t\t\t\tresults.push(editionInfo[title].description || \"\");\t\t\t\t\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nExport our filter function\n*/\nexports.editions = function(source,operator,options) {\n\tvar results = [],\n\t\teditionInfo = $tw.utils.getEditionInfo();\n\tif(editionInfo) {\n\t\t$tw.utils.each(editionInfo,function(info,name) {\n\t\t\tresults.push(name);\n\t\t});\n\t}\n\tresults.sort();\n\treturn results;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nExport our filter functions\n*/\n\nexports.decodeuricomponent = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tvar value = title;\n\t\ttry {\n\t\t\tvalue = decodeURIComponent(title);\n\t\t} catch(e) {\n\t\t}\n\t\tresults.push(value);\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(encodeURIComponent(title));\n\t});\n\treturn results;\n};\n\nexports.decodeuri = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tvar value = title;\n\t\ttry {\n\t\t\tvalue = decodeURI(title);\n\t\t} catch(e) {\n\t\t}\n\t\tresults.push(value);\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));\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));\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(CSS.escape(title));\n\t});\n\treturn results;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\").toLowerCase();\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) {\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nExport our filter function\n*/\nexports.fields = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tif(tiddler) {\n\t\t\tfor(var fieldName in tiddler.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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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\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.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} else {\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] === \"\")) {\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] === \"\" || tiddler.fields[operator.operand].length === 0)) {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t});\t\t\t\t\n\t\t}\n\t}\n\treturn results;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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 = 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\tresults.push(operator.operand);\n\t\t}\n\t}\n\treturn results;\n};\n\n})();\n", "type": "application/javascript", "module-type": "filteroperator" }, "$:/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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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(!(title in options.widget.variables)) {\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 in options.widget.variables) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nExport our filter function\n*/\nexports.links = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\t$tw.utils.pushTop(results,options.wiki.getTiddlerLinks(title));\n\t});\n\treturn results;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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\treturn results.slice(0,-count);\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})();\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:<field>[<prefix>]]\n\nPrepends the prefix to the selected items and returns the specified field value\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.lookup = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push(options.wiki.getTiddlerText(operator.operand + title) || options.wiki.getTiddlerText(operator.operand + operator.suffix));\n\t});\n\treturn results;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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.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\nfunction makeNumericBinaryOperator(fnCalc) {\n\treturn function(source,operator,options) {\n\t\tvar result = [],\n\t\t\tnumOperand = parseNumber(operator.operand);\n\t\tsource(function(tiddler,title) {\n\t\t\tresult.push(stringifyNumber(fnCalc(parseNumber(title),numOperand)));\n\t\t});\n\t\treturn result;\n\t};\n}\n\nfunction makeNumericReducingOperator(fnCalc,initialValue) {\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(title);\n\t\t});\n\t\treturn [stringifyNumber(result.reduce(function(accumulator,currentValue) {\n\t\t\treturn fnCalc(accumulator,parseNumber(currentValue));\n\t\t},initialValue))];\n\t};\n}\n\nfunction parseNumber(str) {\n\treturn parseFloat(str) || 0;\n}\n\nfunction stringifyNumber(num) {\n\treturn num + \"\";\n}\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nExport our filter function\n*/\nexports.modules = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\t$tw.utils.each($tw.modules.types[title],function(moduleInfo,moduleName) {\n\t\t\tresults.push(moduleName);\n\t\t});\n\t});\n\tresults.sort();\n\treturn results;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nExport our filter function\n*/\nexports.prefix = function(source,operator,options) {\n\tvar results = [];\n\tif(operator.prefix === \"!\") {\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);\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);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nExport our filter function\n*/\nexports.range = function(source,operator,options) {\n\tvar results = [];\n\t// Split the operand into numbers delimited by these symbols\n\tvar parts = operator.operand.split(/[,:;]/g),\n\t\tbeg, 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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\").toLowerCase(),\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nExport our filter function\n*/\nexports.removeprefix = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tif(title.substr(0,operator.operand.length) === operator.operand) {\n\t\t\tresults.push(title.substr(operator.operand.length));\n\t\t}\n\t});\n\treturn results;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nExport our filter function\n*/\nexports.removesuffix = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tif(title && title.substr(-operator.operand.length) === operator.operand) {\n\t\t\tresults.push(title.substr(0,title.length - operator.operand.length));\n\t\t}\n\t});\n\treturn results;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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 = makeStringBinaryOperator(\n\tfunction(a) {return [$tw.utils.trim(a)];}\n);\n\nexports.split = makeStringBinaryOperator(\n\tfunction(a,b) {return (\"\" + a).split(b);}\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\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 || \"\"));\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\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);\t\t\n\t} catch(ex) {\n\t\treturn [\"RegExp error: \" + ex];\n\t}\n\tsource(function(tiddler,title) {\n\t\tArray.prototype.push.apply(result,title.split(regExp));\n\t});\t\t\n\treturn result;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nExport our filter function\n*/\nexports.suffix = function(source,operator,options) {\n\tvar results = [];\n\tif(operator.prefix === \"!\") {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(title.substr(-operator.operand.length) !== operator.operand) {\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.substr(-operator.operand.length) === operator.operand) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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}\t\t\n\t}\n\treturn results;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nExport our filter function\n*/\nexports.untagged = function(source,operator,options) {\n\tvar results = [];\n\tif(operator.prefix === \"!\") {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(tiddler && $tw.utils.isArray(tiddler.fields.tags) && tiddler.fields.tags.length > 0) {\n\t\t\t\t$tw.utils.pushTop(results,title);\n\t\t\t}\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(!tiddler || !tiddler.hasField(\"tags\") || ($tw.utils.isArray(tiddler.fields.tags) && tiddler.fields.tags.length === 0)) {\n\t\t\t\t$tw.utils.pushTop(results,title);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nExport our filter function\n*/\nexports.variables = function(source,operator,options) {\n\tvar names = [];\n\tfor(var variable in options.widget.variables) {\n\t\tnames.push(variable);\n\t}\n\treturn names.sort();\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function () {\n\n /*jslint node: true, browser: true */\n /*global $tw: false */\n \"use strict\";\n\n /*\n Fetch titles from the current list\n */\n var prepare_results = function (source) {\n var results = [];\n source(function (tiddler, title) {\n results.push(title);\n });\n return results;\n };\n\n /*\n Moves a number of items from the tail of the current list before the item named in the operand\n */\n exports.putbefore = function (source, operator) {\n var results = prepare_results(source),\n index = results.indexOf(operator.operand),\n count = $tw.utils.getInt(operator.suffix,1);\n return (index === -1) ?\n results.slice(0, -1) :\n results.slice(0, index).concat(results.slice(-count)).concat(results.slice(index, -count));\n };\n\n /*\n Moves a number of items from the tail of the current list after the item named in the operand\n */\n exports.putafter = function (source, operator) {\n var results = prepare_results(source),\n index = results.indexOf(operator.operand),\n count = $tw.utils.getInt(operator.suffix,1);\n return (index === -1) ?\n results.slice(0, -1) :\n results.slice(0, index + 1).concat(results.slice(-count)).concat(results.slice(index + 1, -count));\n };\n\n /*\n Replaces the item named in the operand with a number of items from the tail of the current list\n */\n exports.replace = function (source, operator) {\n var results = prepare_results(source),\n index = results.indexOf(operator.operand),\n count = $tw.utils.getInt(operator.suffix,1);\n return (index === -1) ?\n results.slice(0, -count) :\n results.slice(0, index).concat(results.slice(-count)).concat(results.slice(index + 1, -count));\n };\n\n /*\n Moves a number of items from the tail of the current list to the head of the list\n */\n exports.putfirst = function (source, operator) {\n var results = prepare_results(source),\n count = $tw.utils.getInt(operator.suffix,1);\n return results.slice(-count).concat(results.slice(0, -count));\n };\n\n /*\n Moves a number of items from the head of the current list to the tail of the list\n */\n exports.putlast = function (source, operator) {\n var results = prepare_results(source),\n count = $tw.utils.getInt(operator.suffix,1);\n return results.slice(count).concat(results.slice(0, count));\n };\n\n /*\n Moves the item named in the operand a number of places forward or backward in the list\n */\n exports.move = function (source, operator) {\n var results = prepare_results(source),\n index = results.indexOf(operator.operand),\n count = $tw.utils.getInt(operator.suffix,1),\n marker = results.splice(index, 1),\n offset = (index + count) > 0 ? index + count : 0;\n return results.slice(0, offset).concat(marker).concat(results.slice(offset));\n };\n\n /*\n Returns the items from the current list that are after the item named in the operand\n */\n exports.allafter = function (source, operator) {\n var results = prepare_results(source),\n index = results.indexOf(operator.operand);\n return (index === -1) ? [] :\n (operator.suffix) ? results.slice(index) :\n results.slice(index + 1);\n };\n\n /*\n Returns the items from the current list that are before the item named in the operand\n */\n exports.allbefore = function (source, operator) {\n var results = prepare_results(source),\n index = results.indexOf(operator.operand);\n return (index === -1) ? [] :\n (operator.suffix) ? results.slice(0, index + 1) :\n results.slice(0, index);\n };\n\n /*\n Appends the items listed in the operand array to the tail of the current list\n */\n exports.append = function (source, operator) {\n var append = $tw.utils.parseStringArray(operator.operand, \"true\"),\n results = prepare_results(source),\n count = parseInt(operator.suffix) || append.length;\n return (append.length === 0) ? results :\n (operator.prefix) ? results.concat(append.slice(-count)) :\n results.concat(append.slice(0, count));\n };\n\n /*\n Prepends the items listed in the operand array to the head of the current list\n */\n exports.prepend = function (source, operator) {\n var prepend = $tw.utils.parseStringArray(operator.operand, \"true\"),\n results = prepare_results(source),\n count = $tw.utils.getInt(operator.suffix,prepend.length);\n return (prepend.length === 0) ? results :\n (operator.prefix) ? prepend.slice(-count).concat(results) :\n prepend.slice(0, count).concat(results);\n };\n\n /*\n Returns all items from the current list except the items listed in the operand array\n */\n exports.remove = function (source, operator) {\n var array = $tw.utils.parseStringArray(operator.operand, \"true\"),\n results = prepare_results(source),\n count = parseInt(operator.suffix) || array.length,\n p,\n len,\n index;\n len = array.length - 1;\n for (p = 0; p < count; ++p) {\n if (operator.prefix) {\n index = results.indexOf(array[len - p]);\n } else {\n index = results.indexOf(array[p]);\n }\n if (index !== -1) {\n results.splice(index, 1);\n }\n }\n return results;\n };\n\n /*\n Returns all items from the current list sorted in the order of the items in the operand array\n */\n exports.sortby = function (source, operator) {\n var results = prepare_results(source);\n if (!results || results.length < 2) {\n return results;\n }\n var lookup = $tw.utils.parseStringArray(operator.operand, \"true\");\n results.sort(function (a, b) {\n return lookup.indexOf(a) - lookup.indexOf(b);\n });\n return results;\n };\n\n /*\n Removes all duplicate items from the current list\n */\n exports.unique = function (source, operator) {\n var results = prepare_results(source);\n var set = results.reduce(function (a, b) {\n if (a.indexOf(b) < 0) {\n a.push(b);\n }\n return a;\n }, []);\n return set;\n };\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\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\n\t\tp = nextBracketPos + 1;\n\t\tswitch (bracket) {\n\t\t\tcase \"{\": // Curly brackets\n\t\t\t\toperator.indirect = true;\n\t\t\t\tnextBracketPos = filterString.indexOf(\"}\",p);\n\t\t\t\tbreak;\n\t\t\tcase \"[\": // Square brackets\n\t\t\t\tnextBracketPos = filterString.indexOf(\"]\",p);\n\t\t\t\tbreak;\n\t\t\tcase \"<\": // Angle brackets\n\t\t\t\toperator.variable = true;\n\t\t\t\tnextBracketPos = filterString.indexOf(\">\",p);\n\t\t\t\tbreak;\n\t\t\tcase \"/\": // regexp brackets\n\t\t\t\tvar rex = /^((?:[^\\\\\\/]*|\\\\.)*)\\/(?:\\(([mygi]+)\\))?/g,\n\t\t\t\t\trexMatch = rex.exec(filterString.substring(p));\n\t\t\t\tif(rexMatch) {\n\t\t\t\t\toperator.regexp = new RegExp(rexMatch[1], rexMatch[2]);\n// DEPRECATION WARNING\nconsole.log(\"WARNING: Filter\",operator.operator,\"has a deprecated regexp operand\",operator.regexp);\n\t\t\t\t\tnextBracketPos = p + rex.lastIndex - 1;\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tthrow \"Unterminated regular expression in filter expression\";\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t}\n\n\t\tif(nextBracketPos === -1) {\n\t\t\tthrow \"Missing closing bracket in filter expression\";\n\t\t}\n\t\tif(!operator.regexp) {\n\t\t\toperator.operand = filterString.substring(p,nextBracketPos);\n\t\t}\n\t\tp = nextBracketPos + 1;\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 = /((?:\\+|\\-|~|=)?)(?:(\\[)|(?:\"([^\"]*)\")|(?:'([^']*)')|([^\\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++;\n\t\t\t}\n\t\t\tif(match[2]) { // 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[3] || match[4] || match[5]) { // Double quoted string, single quoted string or unquoted title\n\t\t\t\toperation.operators.push(\n\t\t\t\t\t{operator: \"title\", operand: match[3] || match[4] || match[5]}\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.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\tvar filterParseTree;\n\ttry {\n\t\tfilterParseTree = this.parseFilter(filterString);\n\t} catch(e) {\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\tcurrTiddlerTitle = widget && widget.getVariable(\"currentTiddler\");\n\t\t\t$tw.utils.each(operation.operators,function(operator) {\n\t\t\t\tvar operand = operator.operand,\n\t\t\t\t\toperatorFunction;\n\t\t\t\tif(!operator.operator) {\n\t\t\t\t\toperatorFunction = filterOperators.title;\n\t\t\t\t} else if(!filterOperators[operator.operator]) {\n\t\t\t\t\toperatorFunction = filterOperators.field;\n\t\t\t\t} else {\n\t\t\t\t\toperatorFunction = filterOperators[operator.operator];\n\t\t\t\t}\n\t\t\t\tif(operator.indirect) {\n\t\t\t\t\toperand = self.getTextReference(operator.operand,\"\",currTiddlerTitle);\n\t\t\t\t}\n\t\t\t\tif(operator.variable) {\n\t\t\t\t\toperand = widget.getVariable(operator.operand,{defaultValue: \"\"});\n\t\t\t\t}\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: operand,\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\t// Wrap the operator functions in a wrapper function that depends on the prefix\n\t\toperationFunctions.push((function() {\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 function(results,source,widget) {\n\t\t\t\t\t\t$tw.utils.pushTop(results,operationSubFunction(source,widget));\n\t\t\t\t\t};\n\t\t\t\tcase \"=\": // The results of the operation are pushed into the result without deduplication\n\t\t\t\t\treturn function(results,source,widget) {\n\t\t\t\t\t\tArray.prototype.push.apply(results,operationSubFunction(source,widget));\n\t\t\t\t\t};\n\t\t\t\tcase \"-\": // The results of this operation are removed from the main result\n\t\t\t\t\treturn function(results,source,widget) {\n\t\t\t\t\t\t$tw.utils.removeArrayEntries(results,operationSubFunction(source,widget));\n\t\t\t\t\t};\n\t\t\t\tcase \"+\": // This operation is applied to the main results so far\n\t\t\t\t\treturn function(results,source,widget) {\n\t\t\t\t\t\t// This replaces all the elements of the array, but keeps the actual array so that references to it are preserved\n\t\t\t\t\t\tsource = self.makeTiddlerIterator(results);\n\t\t\t\t\t\tresults.splice(0,results.length);\n\t\t\t\t\t\t$tw.utils.pushTop(results,operationSubFunction(source,widget));\n\t\t\t\t\t};\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 function(results,source,widget) {\n\t\t\t\t\t\tif(results.length === 0) {\n\t\t\t\t\t\t\t// Main result so far is empty\n\t\t\t\t\t\t\t$tw.utils.pushTop(results,operationSubFunction(source,widget));\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\treturn $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\tvar results = [];\n\t\t$tw.utils.each(operationFunctions,function(operationFunction) {\n\t\t\toperationFunction(results,source,widget);\n\t\t});\n\t\treturn results;\n\t});\n};\n\n})();\n", "type": "application/javascript", "module-type": "wikimethod" }, "$:/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(function(){\n\n/*jslint node: true, browser: true */\n/*global modules: false */\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\tthis.wiki.each.byField = function(name,value) {\n\t\tvar titles = self.wiki.allTitles(),\n\t\t\tlookup = self.lookup(name,value);\n\t\treturn lookup && lookup.filter(function(title) {\n\t\t\treturn titles.indexOf(title) !== -1;\n\t\t});\n\t};\n\tthis.wiki.eachShadow.byField = function(name,value) {\n\t\tvar titles = self.wiki.allShadowTitles(),\n\t\t\tlookup = self.lookup(name,value);\n\t\treturn lookup && lookup.filter(function(title) {\n\t\t\treturn titles.indexOf(title) !== -1;\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});\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global modules: false */\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});\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}\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nexports.getInfoTiddlerFields = function() {\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\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});\t\t\t\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// Language\n\t\tinfoTiddlerFields.push({title: \"$:/info/browser/language\", text: navigator.language || \"\"});\n\t}\n\treturn infoTiddlerFields;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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.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) {\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(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\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));\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\tfor(var t=0; t<keyInfoArray.length; t++) {\n\t\tif(this.checkKeyDescriptor(event,keyInfoArray[t])) {\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\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}\n};\n\nKeyboardManager.prototype.handleKeydownEvent = function(event) {\n\tvar key, action;\n\tfor(var i=0; i<this.shortcutTiddlers.length; i++) {\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);\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\tfor(f in tiddler.fields) {\n\t\t\tif(fields.indexOf(f) === -1) {\n\t\t\t\tfields.push(f);\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\tfor(f=0; f<fields.length; f++) {\n\t\t\t\trow.push(quoteAndEscape(tiddler ? tiddler.getFieldString(fields[f]) || \"\" : \"\"));\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nInformation about this macro\n*/\n\nexports.name = \"jsontiddlers\";\n\nexports.params = [\n\t{name: \"filter\"}\n];\n\n/*\nRun the macro\n*/\nexports.run = function(filter) {\n\treturn this.wiki.getTiddlersAsJson(filter);\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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];\n\n/*\nRun the macro\n*/\nexports.run = function(text,type) {\n\treturn $tw.utils.makeDataUri(text,type);\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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\nMacro to return a new title that is unused in the wiki. It can be given a name as a base.\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nInformation about this macro\n*/\n\nexports.name = \"unusedtitle\";\n\nexports.params = [\n\t{name: \"baseName\"},\n\t{name: \"options\"}\n];\n\n/*\nRun the macro\n*/\nexports.run = function(baseName, options) {\n\tif(!baseName) {\n\t\tbaseName = $tw.language.getString(\"DefaultNewTiddlerTitle\");\n\t}\n\treturn this.wiki.generateNewTitle(baseName, options);\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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}\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};\n\nexports[\"audio/ogg\"] = AudioParser;\nexports[\"audio/mpeg\"] = AudioParser;\nexports[\"audio/mp3\"] = AudioParser;\nexports[\"audio/mp4\"] = AudioParser;\n\n})();\n\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 video parser parses a video tiddler into an embeddable HTML element\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nvar BINARY_WARNING_MESSAGE = \"$:/core/ui/BinaryWarning\";\n\nvar BinaryParser = function(type,text,options) {\n\tthis.tree = [{\n\t\ttype: \"transclude\",\n\t\tattributes: {\n\t\t\ttiddler: {type: \"string\", value: BINARY_WARNING_MESSAGE}\n\t\t}\n\t}];\n};\n\nexports[\"application/octet-stream\"] = BinaryParser;\n\n})();\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nvar CsvParser = function(type,text,options) {\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 = text.split(/\\r?\\n/mg),\n\t\ttag = \"th\";\n\tfor(var line=0; line<lines.length; line++) {\n\t\tvar lineText = lines[line];\n\t\tif(lineText) {\n\t\t\tvar row = {\n\t\t\t\t\t\"type\": \"element\", \"tag\": \"tr\", \"children\": []\n\t\t\t\t};\n\t\t\tvar columns = lineText.split(\",\");\n\t\t\tfor(var column=0; column<columns.length; column++) {\n\t\t\t\trow.children.push({\n\t\t\t\t\t\t\"type\": \"element\", \"tag\": tag, \"children\": [{\n\t\t\t\t\t\t\t\"type\": \"text\",\n\t\t\t\t\t\t\t\"text\": columns[column]\n\t\t\t\t\t\t}]\n\t\t\t\t\t});\n\t\t\t}\n\t\t\ttag = \"td\";\n\t\t\tthis.tree[0].children[0].children[0].children.push(row);\n\t\t}\n\t}\n};\n\nexports[\"text/csv\"] = CsvParser;\n\n})();\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\tsandbox: {type: \"string\", value: \"\"}\n\t\t}\n\t}];\n};\n\nexports[\"text/html\"] = HtmlParser;\n\n})();\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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};\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/x-icon\"] = ImageParser;\n\n})();\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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/*\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: \"macrocall\", name:, parameters:, 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\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\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\n/*\nLook for an HTML attribute definition. Returns null if not found, otherwise returns {type: \"attribute\", name:, valueType: \"string|indirect|macro\", value:, 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 = /\\{\\{\\{(.+?)\\}\\}\\}/g,\n\t\treIndirectValue = /\\{\\{([^\\}]+)\\}\\}/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\tnode.type = \"string\";\n\t\t\t\t\t\t\tnode.value = \"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} 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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nvar ImageParser = function(type,text,options) {\n\tvar element = {\n\t\t\ttype: \"element\",\n\t\t\ttag: \"embed\",\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};\n\nexports[\"application/pdf\"] = ImageParser;\n\n})();\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nvar TextParser = function(type,text,options) {\n\tthis.tree = [{\n\t\ttype: \"codeblock\",\n\t\tattributes: {\n\t\t\tcode: {type: \"string\", value: text},\n\t\t\tlanguage: {type: \"string\", value: type}\n\t\t}\n\t}];\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\n})();\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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}\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};\n\nexports[\"video/mp4\"] = VideoParser;\nexports[\"video/quicktime\"] = VideoParser;\n\n})();\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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// 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},\n\t\t\t\t\tlanguage: {type: \"string\", value: this.match[1]}\n\t\t\t}\n\t}];\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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// 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}]\n\t}];\n};\n\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```\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nexports.name = \"commentblock\";\nexports.types = {block: 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 = startPos + 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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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 = startPos + 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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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 ? \"–\" : \"—\";\n\treturn [{\n\t\ttype: \"entity\",\n\t\tentity: dash\n\t}];\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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: ©\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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]\n\t\t\t}]\n\t\t}];\n\t}\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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}\n\t\t},\n\t\tisBlock: true\n\t};\n\tif(tooltip) {\n\t\tnode.attributes.tooltip = {type: \"string\", value: tooltip};\n\t}\n\tif(template) {\n\t\tnode.attributes.template = {type: \"string\", value: template};\n\t}\n\tif(style) {\n\t\tnode.attributes.style = {type: \"string\", value: style};\n\t}\n\tif(classes) {\n\t\tnode.attributes.itemClass = {type: \"string\", value: classes.split(\".\").join(\" \")};\n\t}\n\treturn [node];\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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}\n\t\t}\n\t};\n\tif(tooltip) {\n\t\tnode.attributes.tooltip = {type: \"string\", value: tooltip};\n\t}\n\tif(template) {\n\t\tnode.attributes.template = {type: \"string\", value: template};\n\t}\n\tif(style) {\n\t\tnode.attributes.style = {type: \"string\", value: style};\n\t}\n\tif(classes) {\n\t\tnode.attributes.itemClass = {type: \"string\", value: classes.split(\".\").join(\" \")};\n\t}\n\treturn [node];\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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\"});\n\t\t\t}\n\t\t}\n\t} while(match && !match[1]);\n\t// Return the nodes\n\treturn tree;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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 classes = this.parser.parseClasses();\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(\" \")}\n\t\t},\n\t\tchildren: tree\n\t}];\n};\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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\t\tvar reEndString = \"</\" + $tw.utils.escapeRegExp(tag.tag) + \">\",\n\t\t\t\treEnd = new RegExp(\"(\" + reEndString + \")\",\"mg\");\n\t\tif(hasLineBreak) {\n\t\t\ttag.children = this.parser.parseBlocks(reEndString);\n\t\t} else {\n\t\t\ttag.children = this.parser.parseInlineRun(reEnd);\n\t\t}\n\t\treEnd.lastIndex = this.parser.pos;\n\t\tvar endMatch = reEnd.exec(this.parser.source);\n\t\tif(endMatch && endMatch.index === this.parser.pos) {\n\t\t\tthis.parser.pos = endMatch.index + endMatch[0].length;\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: [], 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};\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.slice(1).indexOf(\"$\") !== -1) {\n\t\treturn null;\n\t}\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.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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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()};\n\t}\n\tnode.attributes.source = {type: \"string\", value: (token.match[2] || \"\").trim()};\n\t// Update the end position\n\tnode.end = pos;\n\treturn node;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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 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]}\n\t\t},\n\t\tchildren: []\n\t}];\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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: \"p\"}\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 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 = {type: \"element\", tag: listInfo.listTag, children: [\n\t\t\t\t\t{type: \"element\", tag: listInfo.itemTag, children: []}\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({type: \"element\", tag: listInfo.itemTag, children: []});\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 lastListChildren = listStack[listStack.length-1].children,\n\t\t\tlastListItem = lastListChildren[lastListChildren.length-1],\n\t\t\tclasses = this.parser.parseClasses();\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\tif(classes.length > 0) {\n\t\t\t$tw.utils.addClassToParseTreeNode(lastListItem,classes.join(\" \"));\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nexports.name = \"macrocallblock\";\nexports.types = {block: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /<<([^>\\s]+)(?:\\s*)((?:[^>]|(?:>(?!>)))*?)>>(?:\\r?\\n|$)/mg;\n};\n\n/*\nParse the most recent match\n*/\nexports.parse = function() {\n\t// Get all the details of the match\n\tvar macroName = this.match[1],\n\t\tparamString = this.match[2];\n\t// Move past the macro call\n\tthis.parser.pos = this.matchRegExp.lastIndex;\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\tvalue: paramMatch[2] || paramMatch[3] || paramMatch[4] || paramMatch[5] || paramMatch[6]\n\t\t};\n\t\tif(paramMatch[1]) {\n\t\t\tparamInfo.name = paramMatch[1];\n\t\t}\n\t\tparams.push(paramInfo);\n\t\t// Find the next match\n\t\tparamMatch = reParam.exec(paramString);\n\t}\n\treturn [{\n\t\ttype: \"macrocall\",\n\t\tname: macroName,\n\t\tparams: params,\n\t\tisBlock: true\n\t}];\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nexports.name = \"macrocallinline\";\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /<<([^\\s>]+)\\s*([\\s\\S]*?)>>/mg;\n};\n\n/*\nParse the most recent match\n*/\nexports.parse = function() {\n\t// Get all the details of the match\n\tvar macroName = this.match[1],\n\t\tparamString = this.match[2];\n\t// Move past the macro call\n\tthis.parser.pos = this.matchRegExp.lastIndex;\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\tvalue: paramMatch[2] || paramMatch[3] || paramMatch[4] || paramMatch[5]|| paramMatch[6]\n\t\t};\n\t\tif(paramMatch[1]) {\n\t\t\tparamInfo.name = paramMatch[1];\n\t\t}\n\t\tparams.push(paramInfo);\n\t\t// Find the next match\n\t\tparamMatch = reParam.exec(paramString);\n\t}\n\treturn [{\n\t\ttype: \"macrocall\",\n\t\tname: macroName,\n\t\tparams: params\n\t}];\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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 this a multiline definition?\n\tvar reEnd;\n\tif(this.match[3]) {\n\t\t// If so, the end of the body is marked with \\end\n\t\treEnd = /(\\r?\\n\\\\end[^\\S\\n\\r]*(?:$|\\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\treturn [{\n\t\ttype: \"set\",\n\t\tattributes: {\n\t\t\tname: {type: \"string\", value: this.match[1]},\n\t\t\tvalue: {type: \"string\", value: text}\n\t\t},\n\t\tchildren: [],\n\t\tparams: params,\n\t\tisMacroDefinition: true\n\t}];\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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;\n\tif(splitPos) {\n\t\tURL = source.substring(splitPos + 1,closePos).trim();\n\t\ttextNode.text = source.substring(pos,splitPos).trim();\n\t} else {\n\t\tURL = source.substring(pos,closePos).trim();\n\t\ttextNode.text = URL;\n\t}\n\tnode.attributes.href = {type: \"string\", value: URL};\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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\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},\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\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}\n\t\t\t},\n\t\t\tchildren: [{\n\t\t\t\ttype: \"text\", text: text\n\t\t\t}]\n\t\t}];\n\t}\n};\n\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. For example:\n\n```\n\t<<<.optionalClass(es) optional cited from\n\ta quote\n\t<<<\n\t\n\t<<<.optionalClass(es)\n\ta quote\n\t<<< optional cited from\n```\n\nQuotes can be quoted by putting more <s\n\n```\n\t<<<\n\tQuote Level 1\n\t\n\t<<<<\n\tQuoteLevel 2\n\t<<<<\n\t\n\t<<<\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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 = \"^\" + this.match[1] + \"(?!<)\";\n\t// Move past the <s\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\t\n\t// Parse any classes, whitespace and then the optional cite itself\n\tclasses.push.apply(classes, this.parser.parseClasses());\n\tthis.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});\n\tvar cite = this.parser.parseInlineRun(/(\\r?\\n)/mg);\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});\n\t}\n\t// Parse any optional cite\n\tthis.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});\n\tcite = this.parser.parseInlineRun(/(\\r?\\n)/mg);\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});\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(\" \") },\n\t\t},\n\t\tchildren: tree\n\t}];\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\tattributes: {\n\t\t\t\"class\": {type: \"string\", value: \"tc-inline-style\"}\n\t\t},\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\treturn [node];\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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)}];\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}]\n\t\t}];\n\t}\n};\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\tif(chr === \"!\") {\n\t\t\t\tthis.parser.pos++;\n\t\t\t\tcell = {type: \"element\", tag: \"th\", children: []};\n\t\t\t} else {\n\t\t\t\tcell = {type: \"element\", tag: \"td\", 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}\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: []};\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\t\t\t\t\t\t\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: []};\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\t// Increment the row count\n\t\t\t\trowCount++;\n\t\t\t}\n\t\t}\n\t\trowMatch = rowRegExp.exec(this.parser.source);\n\t}\n\treturn [table];\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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// 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// 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// 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: {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 = {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 = {type: \"string\", value: targetTitle};\n\t\t\tif(targetField) {\n\t\t\t\ttranscludeNode.attributes.field = {type: \"string\", value: targetField};\n\t\t\t}\n\t\t\tif(targetIndex) {\n\t\t\t\ttranscludeNode.attributes.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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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// Prepare the transclude widget\n\tvar transcludeNode = {\n\t\t\ttype: \"transclude\",\n\t\t\tattributes: {}\n\t\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: {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 = {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 = {type: \"string\", value: targetTitle};\n\t\t\tif(targetField) {\n\t\t\t\ttranscludeNode.attributes.field = {type: \"string\", value: targetField};\n\t\t\t}\n\t\t\tif(targetIndex) {\n\t\t\t\ttranscludeNode.attributes.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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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}]\n\t\t}];\n\t}\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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}]\n\t}];\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\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// Initialise the classes if we don't have them already\n\tif(!this.pragmaRuleClasses) {\n\t\tWikiParser.prototype.pragmaRuleClasses = $tw.modules.createClassesFromModules(\"wikirule\",\"pragma\",$tw.WikiRuleBase);\n\t\tthis.setupRules(WikiParser.prototype.pragmaRuleClasses,\"$:/config/WikiParserRules/Pragmas/\");\n\t}\n\tif(!this.blockRuleClasses) {\n\t\tWikiParser.prototype.blockRuleClasses = $tw.modules.createClassesFromModules(\"wikirule\",\"block\",$tw.WikiRuleBase);\n\t\tthis.setupRules(WikiParser.prototype.blockRuleClasses,\"$:/config/WikiParserRules/Block/\");\n\t}\n\tif(!this.inlineRuleClasses) {\n\t\tWikiParser.prototype.inlineRuleClasses = $tw.modules.createClassesFromModules(\"wikirule\",\"inline\",$tw.WikiRuleBase);\n\t\tthis.setupRules(WikiParser.prototype.inlineRuleClasses,\"$:/config/WikiParserRules/Inline/\");\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 = false;\n\t// Set current parse position\n\tthis.pos = 0;\n\t// Instantiate the pragma parse rules\n\tthis.pragmaRules = this.instantiateRules(this.pragmaRuleClasses,\"pragma\",0);\n\t// Instantiate the parser block and inline rules\n\tthis.blockRules = this.instantiateRules(this.blockRuleClasses,\"block\",0);\n\tthis.inlineRules = this.instantiateRules(this.inlineRuleClasses,\"inline\",0);\n\t// Parse any pragmas\n\tthis.tree = [];\n\tvar topBranch = this.parsePragmas();\n\t// Parse the text into inline runs or blocks\n\tif(options.parseAsInline) {\n\t\ttopBranch.push.apply(topBranch,this.parseInlineRun());\n\t} else {\n\t\ttopBranch.push.apply(topBranch,this.parseBlocks());\n\t}\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\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\tbreak;\n\t\t}\n\t\t// Process the pragma rule\n\t\tvar subTree = nextMatch.rule.parse();\n\t\tif(subTree.length > 0) {\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}\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\treturn nextMatch.rule.parse();\n\t}\n\t// Treat it as a paragraph if we didn't find a block rule\n\treturn [{type: \"element\", tag: \"p\", children: this.parseInlineRun(terminatorRegExp)}];\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\n*/\nWikiParser.prototype.parseBlocksTerminated = function(terminatorRegExpString) {\n\tvar terminatorRegExp = new RegExp(\"(\" + terminatorRegExpString + \")\",\"mg\"),\n\t\ttree = [];\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\ttree.push.apply(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}\n\treturn tree;\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));\n\t\t\tthis.pos = nextMatch.matchIndex;\n\t\t}\n\t\t// Process the run rule\n\t\ttree.push.apply(tree,nextMatch.rule.parse());\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));\n\t}\n\tthis.pos = this.sourceLength;\n\treturn tree;\n};\n\nWikiParser.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\tif(terminatorMatch.index > this.pos) {\n\t\t\t\t\tthis.pushTextWidget(tree,this.source.substring(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 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\tif(inlineRuleMatch.matchIndex > this.pos) {\n\t\t\t\tthis.pushTextWidget(tree,this.source.substring(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\ttree.push.apply(tree,inlineRuleMatch.rule.parse());\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));\n\t}\n\tthis.pos = this.sourceLength;\n\treturn tree;\n};\n\n/*\nPush a text widget onto an array, respecting the configTrimWhiteSpace setting\n*/\nWikiParser.prototype.pushTextWidget = function(array,text) {\n\tif(this.configTrimWhiteSpace) {\n\t\ttext = $tw.utils.trim(text);\n\t}\n\tif(text) {\n\t\tarray.push({type: \"text\", text: text});\t\t\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 keepFilter;\n\tif(type === \"only\") {\n\t\tkeepFilter = function(name) {\n\t\t\treturn names.indexOf(name) !== -1;\n\t\t};\n\t} else if(type === \"except\") {\n\t\tkeepFilter = function(name) {\n\t\t\treturn names.indexOf(name) === -1;\n\t\t};\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(!keepFilter(ruleArray[t].rule.name)) {\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\n})();\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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 = JSON.parse(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// 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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\tvar tiddler = self.wiki.getTiddler(title);\n\t\t\t\t\titerator(tiddler,title);\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\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\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*/\nSaverHandler.prototype.saveWiki = function(options) {\n\toptions = options || {};\n\tvar self = this,\n\t\tmethod = options.method || \"save\";\n\t// Ignore autosave if disabled\n\tif(method === \"autosave\" && this.wiki.getTiddlerText(this.titleAutoSave,\"yes\") !== \"yes\") {\n\t\treturn false;\n\t}\n\tvar\tvariables = options.variables || {},\n\t\ttemplate = options.template || \"$:/core/save/all\",\n\t\tdownloadType = options.downloadType || \"text/plain\",\n\t\ttext = this.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}})) {\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\tif($tw.browser) {\n\t\t$tw.utils.toggleClass(document.body,\"tc-dirty\",this.isDirty());\n\t}\n};\n\nexports.SaverHandler = SaverHandler;\n\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false, netscape: false, Components: false */\n\"use strict\";\n\nvar AndTidWiki = function(wiki) {\n};\n\nAndTidWiki.prototype.save = function(text,method,callback) {\n\t// Get the pathname of this document\n\tvar pathname = decodeURIComponent(document.location.toString().split(\"#\")[0]);\n\t// Strip the file://\n\tif(pathname.indexOf(\"file://\") === 0) {\n\t\tpathname = pathname.substr(7);\n\t}\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// Save the file\n\twindow.twi.saveFile(pathname,text);\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\"]\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\n})();\n", "type": "application/javascript", "module-type": "saver" }, "$:/core/modules/savers/beaker.js": { "title": "$:/core/modules/savers/beaker.js", "text": "/*\\\ntitle: $:/core/modules/savers/beaker.js\ntype: application/javascript\nmodule-type: saver\n\nSaves files using the Beaker browser's (https://beakerbrowser.com) Dat protocol (https://datproject.org/)\nCompatible with beaker >= V0.7.2\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nSet up the saver\n*/\nvar BeakerSaver = function(wiki) {\n\tthis.wiki = wiki;\n};\n\nBeakerSaver.prototype.save = function(text,method,callback) {\n\tvar dat = new DatArchive(\"\" + window.location),\n\t\tpathname = (\"\" + window.location.pathname).split(\"#\")[0];\n\tdat.stat(pathname).then(function(value) {\n\t\tif(value.isDirectory()) {\n\t\t\tpathname = pathname + \"/index.html\";\n\t\t}\n\t\tdat.writeFile(pathname,text,\"utf8\").then(function(value) {\n\t\t\tcallback(null);\n\t\t},function(reason) {\n\t\t\tcallback(\"Beaker Saver Write Error: \" + reason);\n\t\t});\n\t},function(reason) {\n\t\tcallback(\"Beaker Saver Stat Error: \" + reason);\n\t});\n\treturn true;\n};\n\n/*\nInformation about this saver\n*/\nBeakerSaver.prototype.info = {\n\tname: \"beaker\",\n\tpriority: 3000,\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 !!window.DatArchive && location.protocol===\"dat:\";\n};\n\n/*\nCreate an instance of this saver\n*/\nexports.create = function(wiki) {\n\treturn new BeakerSaver(wiki);\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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 = decodeURIComponent(document.location.pathname.substr(p+1));\n\t\t}\n\t}\n\tif(!filename) {\n\t\tfilename = \"tiddlywiki.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: \"text/html\"});\n\t\tlink.setAttribute(\"href\", URL.createObjectURL(blob));\n\t} else {\n\t\tlink.setAttribute(\"href\",\"data:text/html,\" + 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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\") || \"master\",\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 \" + window.btoa(username + \":\" + password)\n\t\t};\n\t// Bail if we don't have everything we need\n\tif(!username || !password || !repo || !path || !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 = JSON.parse(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.getRawString(\"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 = JSON.parse(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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: true */\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 || !path || !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/\" + encodeURIComponent(path.replace(/^\\/+|\\/$/g, '')),\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 requestType = \"POST\";\n\t\t\tif(xhr.status !== 404) {\n\t\t\t\tgetResponseData = JSON.parse(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.getRawString(\"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 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 = JSON.parse(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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nRetrieve ETag if available\n*/\nvar retrieveETag = function(self) {\n\tvar headers = {\n\t\tAccept: \"*/*;charset=UTF-8\"\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/Jermolene/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.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.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\t// response is textual: \"XMLHttpRequest error code: 412\"\n\t\t\t\tvar status = Number(err.substring(err.indexOf(':') + 2, err.length))\n\t\t\t\tif(status === 412) { // edit conflict\n\t\t\t\t\tvar message = $tw.language.getString(\"Error/EditConflict\");\n\t\t\t\t\tcallback(message);\n\t\t\t\t} else {\n\t\t\t\t\tcallback(err); // fail\n\t\t\t\t}\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false, netscape: false, Components: false */\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\",decodeURIComponent(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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false, netscape: false, Components: false */\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 = decodeURIComponent(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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\turl = this.wiki.getTextReference(\"$:/UploadURL\");\n\t// Bail out if we don't have the bits we need\n\tif(!username || username.toString().trim() === \"\" || !password || password.toString().trim() === \"\") {\n\t\treturn false;\n\t}\n\t// Construct the url if not provided\n\tif(!url) {\n\t\turl = \"http://\" + username + \".tiddlyspot.com/store.cgi\";\n\t}\n\t// Assemble the header\n\tvar boundary = \"---------------------------\" + \"AaB03x\";\t\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\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\t$tw.notifier.display(\"$:/language/Notifications/Save/Starting\");\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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($tw.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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nfunction HeaderAuthenticator(server) {\n\tthis.server = server;\n\tthis.header = server.get(\"authenticated-user-header\");\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\tstate.authenticatedUsername = username;\n\t\treturn true;\n\t}\n};\n\nexports.AuthenticatorClass = HeaderAuthenticator;\n\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(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nexports.method = \"DELETE\";\n\nexports.path = /^\\/bags\\/default\\/tiddlers\\/(.+)$/;\n\nexports.handler = function(request,response,state) {\n\tvar title = decodeURIComponent(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\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(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nexports.method = \"GET\";\n\nexports.path = /^\\/favicon.ico$/;\n\nexports.handler = function(request,response,state) {\n\tresponse.writeHead(200, {\"Content-Type\": \"image/x-icon\"});\n\tvar buffer = state.wiki.getTiddlerText(\"$:/favicon.ico\",\"\");\n\tresponse.end(buffer,\"base64\");\n};\n\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(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\tvar filename = path.resolve($tw.boot.wikiPath,\"files\",decodeURIComponent(state.params[0])),\n\t\textension = path.extname(filename);\n\tfs.readFile(filename,function(err,content) {\n\t\tvar status,content,type = \"text/plain\";\n\t\tif(err) {\n\t\t\tif(err.code === \"ENOENT\") {\n\t\t\t\tstatus = 404;\n\t\t\t\tcontent = \"File '\" + filename + \"' not found\";\n\t\t\t} else if(err.code === \"EACCES\") {\n\t\t\t\tstatus = 403;\n\t\t\t\tcontent = \"You do not have permission to access the file '\" + filename + \"'\";\n\t\t\t} else {\n\t\t\t\tstatus = 500;\n\t\t\t\tcontent = err.toString();\n\t\t\t}\n\t\t} else {\n\t\t\tstatus = 200;\n\t\t\tcontent = content;\n\t\t\ttype = ($tw.config.fileExtensionInfo[extension] ? $tw.config.fileExtensionInfo[extension].type : \"application/octet-stream\");\n\t\t}\n\t\tresponse.writeHead(status,{\n\t\t\t\"Content-Type\": type\n\t\t});\n\t\tresponse.end(content);\n\t});\n};\n\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(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nvar zlib = require('zlib');\n\nexports.method = \"GET\";\n\nexports.path = /^\\/$/;\n\nexports.handler = function(request,response,state) {\n\tvar acceptEncoding = request.headers['accept-encoding'];\n\tif (!acceptEncoding) { acceptEncoding = ''; }\n\n\tvar text = state.wiki.renderTiddler(state.server.get(\"root-render-type\"),state.server.get(\"root-tiddler\"));\n\n\tvar responseHeaders = {\n\t\t\"Content-Type\": state.server.get(\"root-serve-type\")\n\t};\n\n\t/*\n\tIf the gzip=yes flag for `listen` is set, check if the user agent permits\n\tcompression. If so, compress our response. Note that we use the synchronous\n\tfunctions from zlib to stay in the imperative style. The current `Server`\n\tdoesn't depend on this, and we may just as well use the async versions.\n\t*/\n\tif(state.server.enableGzip) {\n\t\tif (/\\bdeflate\\b/.test(acceptEncoding)) {\n\t\t\tresponseHeaders['Content-Encoding'] = 'deflate';\n\t\t\ttext = zlib.deflateSync(text);\n\t\t} else if (/\\bgzip\\b/.test(acceptEncoding)) {\n\t\t\tresponseHeaders['Content-Encoding'] = 'gzip';\n\t\t\ttext = zlib.gzipSync(text);\n\t\t}\n\t}\n\n\tresponse.writeHead(200, responseHeaders);\n\tresponse.end(text);\n};\n\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(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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();\t\t\n\t} else {\n\t\t// Redirect to the root wiki if login worked\n\t\tresponse.writeHead(302,{\n\t\t\tLocation: \"/\"\n\t\t});\n\t\tresponse.end();\n\t}\n};\n\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(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nexports.method = \"GET\";\n\nexports.path = /^\\/status$/;\n\nexports.handler = function(request,response,state) {\n\tresponse.writeHead(200, {\"Content-Type\": \"application/json\"});\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\tspace: {\n\t\t\trecipe: \"default\"\n\t\t},\n\t\ttiddlywiki_version: $tw.version\n\t});\n\tresponse.end(text,\"utf8\");\n};\n\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(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nexports.method = \"GET\";\n\nexports.path = /^\\/([^\\/]+)$/;\n\nexports.handler = function(request,response,state) {\n\tvar title = decodeURIComponent(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\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\tresponse.writeHead(200);\n\t\tresponse.end(text,\"utf8\");\n\t} else {\n\t\tresponse.writeHead(404);\n\t\tresponse.end();\n\t}\n};\n\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(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nexports.method = \"GET\";\n\nexports.path = /^\\/recipes\\/default\\/tiddlers\\/(.+)$/;\n\nexports.handler = function(request,response,state) {\n\tvar title = decodeURIComponent(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.type = tiddlerFields.type || \"text/vnd.tiddlywiki\";\n\t\tresponse.writeHead(200, {\"Content-Type\": \"application/json\"});\n\t\tresponse.end(JSON.stringify(tiddlerFields),\"utf8\");\n\t} else {\n\t\tresponse.writeHead(404);\n\t\tresponse.end();\n\t}\n};\n\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/tiddlers.json\n\n\\*/\n(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nexports.method = \"GET\";\n\nexports.path = /^\\/recipes\\/default\\/tiddlers.json$/;\n\nexports.handler = function(request,response,state) {\n\tresponse.writeHead(200, {\"Content-Type\": \"application/json\"});\n\tvar tiddlers = [];\n\tstate.wiki.forEachTiddler({sortField: \"title\"},function(title,tiddler) {\n\t\tvar tiddlerFields = {};\n\t\t$tw.utils.each(tiddler.fields,function(field,name) {\n\t\t\tif(name !== \"text\") {\n\t\t\t\ttiddlerFields[name] = tiddler.getFieldString(name);\n\t\t\t}\n\t\t});\n\t\ttiddlerFields.revision = state.wiki.getChangeCount(title);\n\t\ttiddlerFields.type = tiddlerFields.type || \"text/vnd.tiddlywiki\";\n\t\ttiddlers.push(tiddlerFields);\n\t});\n\tvar text = JSON.stringify(tiddlers);\n\tresponse.end(text,\"utf8\");\n};\n\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(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nexports.method = \"PUT\";\n\nexports.path = /^\\/recipes\\/default\\/tiddlers\\/(.+)$/;\n\nexports.handler = function(request,response,state) {\n\tvar title = decodeURIComponent(state.params[0]),\n\tfields = JSON.parse(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\tstate.wiki.addTiddler(new $tw.Tiddler(state.wiki.getCreationFields(),fields,{title: title},state.wiki.getModificationFields()));\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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.servername = $tw.utils.transliterateToSafeASCII(this.wiki.getTiddlerText(\"$:/SiteTitle\") || \"TiddlyWiki5\");\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}\t\t\n\t}\n\t$tw.utils.extend({},this.defaultVariables,options.variables);\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// Initialise authorization\n\tvar authorizedUserName = (this.get(\"username\") && this.get(\"password\")) ? this.get(\"username\") : \"(anon)\";\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\t// Load and initialise authenticators\n\t$tw.modules.forEachModuleOfType(\"authenticator\", function(title,authenticatorDefinition) {\n\t\t// console.log(\"Loading server route \" + 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\tif(tlsCertFilepath && tlsKeyFilepath) {\n\t\tthis.listenOptions = {\n\t\t\tkey: fs.readFileSync(path.resolve($tw.boot.wikiPath,tlsKeyFilepath),\"utf8\"),\n\t\t\tcert: fs.readFileSync(path.resolve($tw.boot.wikiPath,tlsCertFilepath),\"utf8\")\n\t\t};\n\t\tthis.protocol = \"https\";\n\t}\n\tthis.transport = require(this.protocol);\n}\n\nServer.prototype.defaultVariables = {\n\tport: \"8080\",\n\thost: \"127.0.0.1\",\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};\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\tvar pathprefix = this.get(\"path-prefix\") || \"\";\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(pathprefix) {\n\t\t\tif(pathname.substr(0,pathprefix.length) === pathprefix) {\n\t\t\t\tpathname = pathname.substr(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) {\n\t// Compose the state object\n\tvar self = this;\n\tvar state = {};\n\tstate.wiki = self.wiki;\n\tstate.server = self;\n\tstate.urlInfo = url.parse(request.url);\n\t// Get the principals authorized to access this resource\n\tvar authorizationType = this.methodMappings[request.method] || \"readers\";\n\t// Check for the CSRF header if this is a write\n\tif(!this.csrfDisable && 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;\t\t\n\t}\n\t// Check whether anonymous access is granted\n\tstate.allowAnon = this.isAuthorized(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}\t\t\n\t}\n\t// Authorize with the authenticated username\n\tif(!this.isAuthorized(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\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$tw.utils.log(\"Serving on \" + this.protocol + \"://\" + host + \":\" + port + prefix,\"brown/orange\");\n\t$tw.utils.log(\"(press ctrl-C to exit)\",\"red\");\n\t// Warn if required plugins are missing\n\tif(!$tw.wiki.getTiddler(\"$:/plugins/tiddlywiki/tiddlyweb\") || !$tw.wiki.getTiddler(\"$:/plugins/tiddlywiki/filesystem\")) {\n\t\t$tw.utils.warning(\"Warning: Plugins required for client-server operation (\\\"tiddlywiki/filesystem\\\" and \\\"tiddlywiki/tiddlyweb\\\") are missing from tiddlywiki.info file\");\n\t}\n\t// Listen\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\treturn server.listen(port,host);\n};\n\nexports.Server = Server;\n\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\t$tw.utils.each(document.getElementsByTagName('iframe'), function(iframe) {\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 = JSON.parse(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 = JSON.parse(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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n})();\n", "type": "application/javascript", "module-type": "startup" }, "$:/core/modules/startup/CSSescape.js": { "title": "$:/core/modules/startup/CSSescape.js", "text": "/*\\\ntitle: $:/core/modules/startup/CSSescape.js\ntype: application/javascript\nmodule-type: startup\n\nPolyfill for CSS.escape()\n\n\\*/\n(function(root,factory){\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n// Export name and synchronous status\nexports.name = \"css-escape\";\nexports.platforms = [\"browser\"];\nexports.after = [\"startup\"];\nexports.synchronous = true;\n\n/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */\n// https://github.com/umdjs/umd/blob/master/returnExports.js\nexports.startup = factory(root);\n}(typeof global != 'undefined' ? global : this, function(root) {\n\n\tif (root.CSS && root.CSS.escape) {\n\t\treturn;\n\t}\n\n\t// https://drafts.csswg.org/cssom/#serialize-an-identifier\n\tvar cssEscape = 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: there’s 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\tif (!root.CSS) {\n\t\troot.CSS = {};\n\t}\n\n\troot.CSS.escape = cssEscape;\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n// Export name and synchronous status\nexports.name = \"favicon\";\nexports.platforms = [\"browser\"];\nexports.after = [\"startup\"];\nexports.synchronous = true;\n\t\t\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\",\"data:\" + tiddler.fields.type + \";base64,\" + tiddler.fields.text);\n\t}\n}\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n// Export name and synchronous status\nexports.name = \"info\";\nexports.before = [\"startup\"];\nexports.after = [\"load-modules\"];\nexports.synchronous = true;\n\nexports.startup = function() {\n\t// Collect up the info tiddlers\n\tvar infoTiddlerFields = {};\n\t// Give each info module a chance to fill in as many info tiddlers as they want\n\t$tw.modules.forEachModuleOfType(\"info\",function(title,moduleExports) {\n\t\tif(moduleExports && moduleExports.getInfoTiddlerFields) {\n\t\t\tvar tiddlerFieldsArray = moduleExports.getInfoTiddlerFields(infoTiddlerFields);\n\t\t\t$tw.utils.each(tiddlerFieldsArray,function(fields) {\n\t\t\t\tif(fields) {\n\t\t\t\t\tinfoTiddlerFields[fields.title] = fields;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t});\n\t// Bake the info tiddlers into a plugin\n\tvar fields = {\n\t\ttitle: \"$:/temp/info-plugin\",\n\t\ttype: \"application/json\",\n\t\t\"plugin-type\": \"info\",\n\t\ttext: JSON.stringify({tiddlers: infoTiddlerFields},null,$tw.config.preferences.jsonSpaces)\n\t};\n\t$tw.wiki.addTiddler(new $tw.Tiddler(fields));\n\t$tw.wiki.readPluginInfo();\n\t$tw.wiki.registerPluginTiddlers(\"info\");\n\t$tw.wiki.unpackPluginTiddlers();\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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/PageTemplate\";\n\n// Time (in ms) that we defer refreshing changes to draft tiddlers\nvar DRAFT_TIDDLER_TIMEOUT_TITLE = \"$:/config/Drafts/TypingTimeout\";\nvar DRAFT_TIDDLER_TIMEOUT = 400;\n\nexports.startup = function() {\n\t// Set up the title\n\t$tw.titleWidgetNode = $tw.wiki.makeTranscludeWidget(PAGE_TITLE_TITLE,{document: $tw.fakeDocument, parseAsInline: true});\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.styleElement = document.createElement(\"style\");\n\t$tw.styleElement.innerHTML = $tw.styleContainer.textContent;\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\t$tw.styleElement.innerHTML = $tw.styleContainer.textContent;\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});\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\t// Add the change event handler\n\t$tw.wiki.addEventListener(\"change\",$tw.perf.report(\"mainRefresh\",function(changes) {\n\t\t// Check if only drafts have changed\n\t\tvar onlyDraftsHaveChanged = true;\n\t\tfor(var title in changes) {\n\t\t\tvar tiddler = $tw.wiki.getTiddler(title);\n\t\t\tif(!tiddler || !tiddler.hasField(\"draft.of\")) {\n\t\t\t\tonlyDraftsHaveChanged = 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(onlyDraftsHaveChanged) {\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 = DRAFT_TIDDLER_TIMEOUT;\n\t\t\t}\n\t\t\ttimerId = setTimeout(refresh,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};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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 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// 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});\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\ttry {\n\t\t\telement = document.querySelector(selector);\n\t\t} catch(e) {\n\t\t\tconsole.log(\"Error in selector: \",selector)\n\t\t}\n\t\tif(element && element.focus) {\n\t\t\telement.focus(event.paramObject);\n\t\t}\n\t});\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}\t\t\t\t\n\t\t\t}\n\t\t});\n\t}\n\t// If we're being viewed on a data: URI then give instructions for how to save\n\tif(document.location.protocol === \"data:\") {\n\t\t$tw.rootWidget.dispatchEvent({\n\t\t\ttype: \"tm-modal\",\n\t\t\tparam: \"$:/language/Modals/SaveInstructions\"\n\t\t});\n\t}\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\tvar modules,n,m,f;\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}\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// Execute any startup actions\n\tvar executeStartupTiddlers = function(tag) {\n\t\t$tw.utils.each($tw.wiki.filterTiddlers(\"[all[shadows+tiddlers]tag[\" + tag + \"]!has[draft.of]]\"),function(title) {\n\t\t\t$tw.rootWidget.invokeActionString($tw.wiki.getTiddlerText(title),$tw.rootWidget);\n\t\t});\n\t};\n\texecuteStartupTiddlers(\"$:/tags/StartupAction\");\n\tif($tw.browser) {\n\t\texecuteStartupTiddlers(\"$:/tags/StartupAction/Browser\");\t\t\n\t}\n\tif($tw.node) {\n\t\texecuteStartupTiddlers(\"$:/tags/StartupAction/Node\");\t\t\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(\"dir\",pluginTiddler.getFieldString(\"text-direction\") || \"auto\");\n\t\t\t\t} else {\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// 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({wiki: $tw.wiki, syncadaptor: $tw.syncadaptor});\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\topenStartupTiddlers({defaultToCurrentStory: true});\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});\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});\t\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 = decodeURIComponent(hash.trim());\n\t\t} else {\n\t\t\ttarget = decodeURIComponent(hash.substr(0,split).trim());\n\t\t\tstoryFilter = decodeURIComponent(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\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\t$tw.wiki.addToHistory(target);\n\t\t} else if(storyList.length > 0) {\n\t\t\t$tw.wiki.addToHistory(storyList[0]);\n\t\t}\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\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\tswitch(options.copyToClipboard) {\n\t\tcase \"permalink\":\n\t\t\t$tw.utils.copyToClipboard($tw.utils.getLocationPath() + \"#\" + encodeURIComponent(targetTiddler));\n\t\t\tbreak;\n\t\tcase \"permaview\":\n\t\t\t$tw.utils.copyToClipboard($tw.utils.getLocationPath() + \"#\" + encodeURIComponent(targetTiddler) + \":\" + encodeURIComponent($tw.utils.stringifyList(storyList)));\n\t\t\tbreak;\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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)\nvar windows = {};\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\ttemplate = paramObject.template || \"$:/core/templates/single.tiddler.window\",\n\t\t\twidth = paramObject.width || \"700\",\n\t\t\theight = paramObject.height || \"600\",\n\t\t\tvariables = $tw.utils.extend({},paramObject,{currentTiddler: title});\n\t\t// Open the window\n\t\tvar srcWindow,\n\t\t srcDocument;\n\t\t// In case that popup blockers deny opening a new window\n\t\ttry {\n\t\t\tsrcWindow = window.open(\"\",\"external-\" + title,\"scrollbars,width=\" + width + \",height=\" + height),\n\t\t\tsrcDocument = srcWindow.document;\n\t\t}\n\t\tcatch(e) {\n\t\t\treturn;\n\t\t}\n\t\twindows[title] = srcWindow;\n\t\t// Check for reopening the same window\n\t\tif(srcWindow.haveInitialisedWindow) {\n\t\t\treturn;\n\t\t}\n\t\t// Initialise the document\n\t\tsrcDocument.write(\"<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 windows[title];\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\t\tname: \"click\",\n\t\t\thandlerObject: $tw.popup,\n\t\t\thandlerMethod: \"handleEvent\"\n\t\t}]);\n\t\tsrcWindow.haveInitialisedWindow = true;\n\t});\n\t// Close open windows when unloading main window\n\t$tw.addUnloadTask(function() {\n\t\t$tw.utils.each(windows,function(win) {\n\t\t\twin.close();\n\t\t});\n\t});\n\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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 instanceof Element)) {\n\t\treturn;\n\t}\n\tif(duration) {\n\t\t// Scroll the node into view\n\t\tthis.listWidget.dispatchEvent({type: \"tm-scroll\", target: targetElement});\t\n\t} else {\n\t\ttargetElement.scrollIntoView();\n\t}\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 instanceof Element)) {\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// Abandon if the list entry isn't a DOM element (it might be a text node)\n\t\tif(!(targetElement instanceof Element)) {\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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 instanceof Element)) {\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 instanceof Element)) {\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 instanceof Element)) {\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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 instanceof Element)) {\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 domNode.querySelector(\".\" + targetClass);\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 instanceof Element)) {\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 instanceof Element)) {\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\t$tw.utils.addClass(toWidgetDomNode,\"tc-storyview-zoomin-tiddler\");\n\t\t$tw.utils.setStyle(toWidgetDomNode,[\n\t\t\t{display: \"block\"},\n\t\t\t{transformOrigin: \"50% 50%\"},\n\t\t\t{transform: \"translateX(0px) translateY(0px) scale(10)\"},\n\t\t\t{transition: $tw.utils.roundTripPropertyName(\"transform\") + \" \" + duration + \"ms \" + easing + \", opacity \" + duration + \"ms \" + easing},\n\t\t\t{opacity: \"0\"},\n\t\t\t{zIndex: \"500\"}\n\t\t]);\n\t\tthis.currentTiddlerDomNode = toWidgetDomNode;\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\nexports.zoomin = ZoominListView;\n\n})();\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. If a syncadaptor is used then individual tiddlers are synchronised through it. If there is no syncadaptor then the entire wiki is saved via saver modules.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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.titleSavedNotification = \"$:/language/Notifications/Save/Done\";\nSyncer.prototype.taskTimerInterval = 1 * 1000; // Interval for sync timer\nSyncer.prototype.throttleInterval = 1 * 1000; // Defer saving tiddlers if they've changed in the last 1s...\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\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 || this.throttleInterval;\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\t\tcolour: \"cyan\",\n\t\t\tenable: this.logging\n\t\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\t// Tasks are {type: \"load\"/\"save\"/\"delete\", title:, queueTime:, lastModificationTime:}\n\tthis.taskQueue = {}; // Hashmap of tasks yet to be performed\n\tthis.taskInProgress = {}; // Hash of tasks in progress\n\tthis.taskTimerId = null; // Timer for task dispatch\n\tthis.pollTimerId = null; // Timer for polling server\n\t// Listen out for changes to tiddlers\n\tthis.wiki.addEventListener(\"change\",function(changes) {\n\t\tself.syncToServer(changes);\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() {\n\t\t\tself.handleLoginEvent();\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}\n\t// Listen out for lazyLoad events\n\tif(!this.disableUI) {\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/*\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\tthis.tiddlerInfo = {};\n\t// Record information for known tiddlers\n\tvar self = this,\n\t\ttiddlers = this.filterFn.call(this.wiki);\n\t$tw.utils.each(tiddlers,function(title) {\n\t\tvar tiddler = self.wiki.getTiddler(title);\n\t\tself.tiddlerInfo[title] = {\n\t\t\trevision: tiddler.fields.revision,\n\t\t\tadaptorInfo: self.syncadaptor && self.syncadaptor.getTiddlerInfo(tiddler),\n\t\t\tchangeCount: self.wiki.getChangeCount(title),\n\t\t\thasBeenLazyLoaded: false\n\t\t};\n\t});\n};\n\n/*\nCreate an tiddlerInfo structure if it doesn't already exist\n*/\nSyncer.prototype.createTiddlerInfo = function(title) {\n\tif(!$tw.utils.hop(this.tiddlerInfo,title)) {\n\t\tthis.tiddlerInfo[title] = {\n\t\t\trevision: null,\n\t\t\tadaptorInfo: {},\n\t\t\tchangeCount: -1,\n\t\t\thasBeenLazyLoaded: false\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\treturn (this.numTasksInQueue() > 0) || (this.numTasksInProgress() > 0);\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\t$tw.utils.toggleClass(document.body,\"tc-dirty\",this.isDirty());\n\t}\n};\n\n/*\nSave an incoming tiddler in the store, and updates the associated tiddlerInfo\n*/\nSyncer.prototype.storeTiddler = function(tiddlerFields,hasBeenLazyLoaded) {\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: tiddlerFields.revision,\n\t\tadaptorInfo: this.syncadaptor.getTiddlerInfo(tiddler),\n\t\tchangeCount: this.wiki.getChangeCount(tiddlerFields.title),\n\t\thasBeenLazyLoaded: hasBeenLazyLoaded !== undefined ? hasBeenLazyLoaded : true\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.logger.alert(err);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t// Set the various status tiddlers\n\t\t\tself.wiki.addTiddler({title: self.titleIsReadOnly,text: isReadOnly ? \"yes\" : \"no\"});\n\t\t\tself.wiki.addTiddler({title: self.titleIsAnonymous,text: isAnonymous ? \"yes\" : \"no\"});\n\t\t\tself.wiki.addTiddler({title: self.titleIsLoggedIn,text: isLoggedIn ? \"yes\" : \"no\"});\n\t\t\tif(isLoggedIn) {\n\t\t\t\tself.wiki.addTiddler({title: self.titleUserName,text: username || \"\"});\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.syncadaptor && this.syncadaptor.getSkinnyTiddlers) {\n\t\tthis.logger.log(\"Retrieving skinny tiddler list\");\n\t\tvar self = this;\n\t\tif(this.pollTimerId) {\n\t\t\tclearTimeout(this.pollTimerId);\n\t\t\tthis.pollTimerId = null;\n\t\t}\n\t\tthis.syncadaptor.getSkinnyTiddlers(function(err,tiddlers) {\n\t\t\t// Trigger the next sync\n\t\t\tself.pollTimerId = setTimeout(function() {\n\t\t\t\tself.pollTimerId = null;\n\t\t\t\tself.syncFromServer.call(self);\n\t\t\t},self.pollTimerInterval);\n\t\t\t// Check for errors\n\t\t\tif(err) {\n\t\t\t\tself.logger.alert($tw.language.getString(\"Error/RetrievingSkinny\") + \":\",err);\n\t\t\t\treturn;\n\t\t\t}\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.wiki.getTiddler(tiddlerFields.title),\n\t\t\t\t\ttiddlerInfo = self.tiddlerInfo[tiddlerFields.title],\n\t\t\t\t\tcurrRevision = tiddlerInfo ? tiddlerInfo.revision : null;\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// Do a full load if we've already got a fat version of the tiddler\n\t\t\t\t\tif(tiddler && tiddler.fields.text !== undefined) {\n\t\t\t\t\t\t// Do a full load of this tiddler\n\t\t\t\t\t\tself.enqueueSyncTask({\n\t\t\t\t\t\t\ttype: \"load\",\n\t\t\t\t\t\t\ttitle: tiddlerFields.title\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Load the skinny version of the tiddler\n\t\t\t\t\t\tself.storeTiddler(tiddlerFields,false);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n};\n\n/*\nSynchronise a set of changes to the server\n*/\nSyncer.prototype.syncToServer = function(changes) {\n\tvar self = this,\n\t\tnow = Date.now(),\n\t\tfilteredChanges = this.filterFn.call(this.wiki,function(callback) {\n\t\t\t$tw.utils.each(changes,function(change,title) {\n\t\t\t\tvar tiddler = self.wiki.getTiddler(title);\n\t\t\t\tcallback(tiddler,title);\n\t\t\t});\n\t\t});\n\t$tw.utils.each(changes,function(change,title,object) {\n\t\t// Process the change if it is a deletion of a tiddler we're already syncing, or is on the filtered change list\n\t\tif((change.deleted && $tw.utils.hop(self.tiddlerInfo,title)) || filteredChanges.indexOf(title) !== -1) {\n\t\t\t// Queue a task to sync this tiddler\n\t\t\tself.enqueueSyncTask({\n\t\t\t\ttype: change.deleted ? \"delete\" : \"save\",\n\t\t\t\ttitle: title\n\t\t\t});\n\t\t}\n\t});\n};\n\n/*\nLazily load a skinny tiddler if we can\n*/\nSyncer.prototype.handleLazyLoadEvent = function(title) {\n\t// Don't lazy load the same tiddler twice\n\tvar info = this.tiddlerInfo[title];\n\tif(!info || !info.hasBeenLazyLoaded) {\n\t\t// Don't lazy load if the tiddler isn't included in the sync filter\n\t\tif(this.filterFn.call(this.wiki).indexOf(title) !== -1) {\n\t\t\tthis.createTiddlerInfo(title);\n\t\t\tthis.tiddlerInfo[title].hasBeenLazyLoaded = true;\n\t\t\t// Queue up a sync task to load this tiddler\n\t\t\tthis.enqueueSyncTask({\n\t\t\t\ttype: \"load\",\n\t\t\t\ttitle: title\n\t\t\t});\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(!isLoggedIn) {\n\t\t\t$tw.passwordPrompt.createPrompt({\n\t\t\t\tserviceName: $tw.language.getString(\"LoginToTiddlySpace\"),\n\t\t\t\tcallback: function(data) {\n\t\t\t\t\tself.login(data.username,data.password,function(err,isLoggedIn) {\n\t\t\t\t\t\tself.syncFromServer();\n\t\t\t\t\t});\n\t\t\t\t\treturn true; // Get rid of the password prompt\n\t\t\t\t}\n\t\t\t});\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(null,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.logger.alert(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/*\nQueue up a sync task. If there is already a pending task for the tiddler, just update the last modification time\n*/\nSyncer.prototype.enqueueSyncTask = function(task) {\n\tvar self = this,\n\t\tnow = Date.now();\n\t// Set the timestamps on this task\n\ttask.queueTime = now;\n\ttask.lastModificationTime = now;\n\t// Fill in some tiddlerInfo if the tiddler is one we haven't seen before\n\tthis.createTiddlerInfo(task.title);\n\t// Bail if this is a save and the tiddler is already at the changeCount that the server has\n\tif(task.type === \"save\" && this.wiki.getChangeCount(task.title) <= this.tiddlerInfo[task.title].changeCount) {\n\t\treturn;\n\t}\n\t// Check if this tiddler is already in the queue\n\tif($tw.utils.hop(this.taskQueue,task.title)) {\n\t\t// this.logger.log(\"Re-queueing up sync task with type:\",task.type,\"title:\",task.title);\n\t\tvar existingTask = this.taskQueue[task.title];\n\t\t// If so, just update the last modification time\n\t\texistingTask.lastModificationTime = task.lastModificationTime;\n\t\t// If the new task is a save then we upgrade the existing task to a save. Thus a pending load is turned into a save if the tiddler changes locally in the meantime. But a pending save is not modified to become a load\n\t\tif(task.type === \"save\" || task.type === \"delete\") {\n\t\t\texistingTask.type = task.type;\n\t\t}\n\t} else {\n\t\t// this.logger.log(\"Queuing up sync task with type:\",task.type,\"title:\",task.title);\n\t\t// If it is not in the queue, insert it\n\t\tthis.taskQueue[task.title] = task;\n\t\tthis.updateDirtyStatus();\n\t}\n\t// Process the queue\n\t$tw.utils.nextTick(function() {self.processTaskQueue.call(self);});\n};\n\n/*\nReturn the number of tasks in progress\n*/\nSyncer.prototype.numTasksInProgress = function() {\n\treturn $tw.utils.count(this.taskInProgress);\n};\n\n/*\nReturn the number of tasks in the queue\n*/\nSyncer.prototype.numTasksInQueue = function() {\n\treturn $tw.utils.count(this.taskQueue);\n};\n\n/*\nTrigger a timeout if one isn't already outstanding\n*/\nSyncer.prototype.triggerTimeout = function() {\n\tvar self = this;\n\tif(!this.taskTimerId) {\n\t\tthis.taskTimerId = setTimeout(function() {\n\t\t\tself.taskTimerId = null;\n\t\t\tself.processTaskQueue.call(self);\n\t\t},self.taskTimerInterval);\n\t}\n};\n\n/*\nProcess the task queue, performing the next task if appropriate\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 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(task) {\n\t\t\t// Remove the task from the queue and add it to the in progress list\n\t\t\tdelete this.taskQueue[task.title];\n\t\t\tthis.taskInProgress[task.title] = task;\n\t\t\tthis.updateDirtyStatus();\n\t\t\t// Dispatch the task\n\t\t\tthis.dispatchTask(task,function(err) {\n\t\t\t\tif(err) {\n\t\t\t\t\tself.logger.alert(\"Sync error while processing '\" + task.title + \"':\\n\" + err);\n\t\t\t\t}\n\t\t\t\t// Mark that this task is no longer in progress\n\t\t\t\tdelete self.taskInProgress[task.title];\n\t\t\t\tself.updateDirtyStatus();\n\t\t\t\t// Process the next task\n\t\t\t\tself.processTaskQueue.call(self);\n\t\t\t});\n\t\t} else {\n\t\t\t// Make sure we've set a time if there wasn't a task to perform, but we've still got tasks in the queue\n\t\t\tif(this.numTasksInQueue() > 0) {\n\t\t\t\tthis.triggerTimeout();\n\t\t\t}\n\t\t}\n\t}\n};\n\n/*\nChoose the next applicable task\n*/\nSyncer.prototype.chooseNextTask = function() {\n\tvar self = this,\n\t\tcandidateTask = null,\n\t\tnow = Date.now();\n\t// Select the best candidate task\n\t$tw.utils.each(this.taskQueue,function(task,title) {\n\t\t// Exclude the task if there's one of the same name in progress\n\t\tif($tw.utils.hop(self.taskInProgress,title)) {\n\t\t\treturn;\n\t\t}\n\t\t// Exclude the task if it is a save and the tiddler has been modified recently, but not hit the fallback time\n\t\tif(task.type === \"save\" && (now - task.lastModificationTime) < self.throttleInterval &&\n\t\t\t(now - task.queueTime) < self.fallbackInterval) {\n\t\t\treturn;\n\t\t}\n\t\t// Exclude the task if it is newer than the current best candidate\n\t\tif(candidateTask && candidateTask.queueTime < task.queueTime) {\n\t\t\treturn;\n\t\t}\n\t\t// Now this is our best candidate\n\t\tcandidateTask = task;\n\t});\n\treturn candidateTask;\n};\n\n/*\nDispatch a task and invoke the callback\n*/\nSyncer.prototype.dispatchTask = function(task,callback) {\n\tvar self = this;\n\tif(task.type === \"save\") {\n\t\tvar changeCount = this.wiki.getChangeCount(task.title),\n\t\t\ttiddler = this.wiki.getTiddler(task.title);\n\t\tthis.logger.log(\"Dispatching 'save' task:\",task.title);\n\t\tif(tiddler) {\n\t\t\tthis.syncadaptor.saveTiddler(tiddler,function(err,adaptorInfo,revision) {\n\t\t\t\tif(err) {\n\t\t\t\t\treturn callback(err);\n\t\t\t\t}\n\t\t\t\t// Adjust the info stored about this tiddler\n\t\t\t\tself.tiddlerInfo[task.title] = {\n\t\t\t\t\tchangeCount: changeCount,\n\t\t\t\t\tadaptorInfo: adaptorInfo,\n\t\t\t\t\trevision: revision\n\t\t\t\t};\n\t\t\t\t// Invoke the callback\n\t\t\t\tcallback(null);\n\t\t\t},{\n\t\t\t\ttiddlerInfo: self.tiddlerInfo[task.title]\n\t\t\t});\n\t\t} else {\n\t\t\tthis.logger.log(\" Not Dispatching 'save' task:\",task.title,\"tiddler does not exist\");\n\t\t\treturn callback(null);\n\t\t}\n\t} else if(task.type === \"load\") {\n\t\t// Load the tiddler\n\t\tthis.logger.log(\"Dispatching 'load' task:\",task.title);\n\t\tthis.syncadaptor.loadTiddler(task.title,function(err,tiddlerFields) {\n\t\t\tif(err) {\n\t\t\t\treturn callback(err);\n\t\t\t}\n\t\t\t// Store the tiddler\n\t\t\tif(tiddlerFields) {\n\t\t\t\tself.storeTiddler(tiddlerFields,true);\n\t\t\t}\n\t\t\t// Invoke the callback\n\t\t\tcallback(null);\n\t\t});\n\t} else if(task.type === \"delete\") {\n\t\t// Delete the tiddler\n\t\tthis.logger.log(\"Dispatching 'delete' task:\",task.title);\n\t\tthis.syncadaptor.deleteTiddler(task.title,function(err) {\n\t\t\tif(err) {\n\t\t\t\treturn callback(err);\n\t\t\t}\n\t\t\tdelete self.tiddlerInfo[task.title];\n\t\t\t// Invoke the callback\n\t\t\tcallback(null);\n\t\t},{\n\t\t\ttiddlerInfo: self.tiddlerInfo[task.title]\n\t\t});\n\t}\n};\n\nexports.Syncer = Syncer;\n\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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) {\n\tvar value = this.fields[field];\n\t// Check for a missing field\n\tif(value === undefined || value === null) {\n\t\treturn \"\";\n\t}\n\t// Parse the field with the associated 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 a list\n*/\nexports.getFieldList = function(field) {\n\tvar value = this.fields[field];\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\"] && incomingTiddler.version) {\n\t\t\t// Upgrade the incoming plugin if it is in the upgrade library\n\t\t\tvar libraryTiddler = getLibraryTiddler(title);\n\t\t\tif(libraryTiddler && libraryTiddler[\"plugin-type\"] && libraryTiddler.version) {\n\t\t\t\ttiddlers[title] = libraryTiddler;\n\t\t\t\tmessages[title] = $tw.language.getString(\"Import/Upgrader/Plugins/Upgraded\",{variables: {incoming: incomingTiddler.version, upgraded: libraryTiddler.version}});\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t// Suppress the incoming plugin if it is older than the currently installed one\n\t\t\tvar existingTiddler = wiki.getTiddler(title);\n\t\t\tif(existingTiddler && existingTiddler.hasField(\"plugin-type\") && existingTiddler.hasField(\"version\")) {\n\t\t\t\t// Reject the incoming plugin by blanking all its fields\n\t\t\t\tif($tw.utils.checkVersions(existingTiddler.fields.version,incomingTiddler.version)) {\n\t\t\t\t\ttiddlers[title] = Object.create(null);\n\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\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif(incomingTiddler && incomingTiddler[\"plugin-type\"]) {\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nvar DONT_IMPORT_LIST = [\"$:/StoryList\",\"$:/HistoryList\"],\n\tDONT_IMPORT_PREFIX_LIST = [\"$:/temp/\",\"$:/state/\",\"$:/Import\"],\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<DONT_IMPORT_PREFIX_LIST.length; t++) {\n\t\t\t\tvar prefix = DONT_IMPORT_PREFIX_LIST[t];\n\t\t\t\tif(title.substr(0,prefix.length) === prefix) {\n\t\t\t\t\ttiddlers[title] = Object.create(null);\n\t\t\t\t\tmessages[title] = $tw.language.getString(\"Import/Upgrader/State/Suppressed\");\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) {\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\tif(showAlert) {\n\t\t\tvar logger = new $tw.utils.Logger(\"import\");\n\t\t\tlogger.alert($tw.language.getString(\"Import/Upgrader/System/Alert\"));\n\t\t}\n\t});\n\treturn messages;\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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++)(e=r.charCodeAt(t))<128?o+=String.fromCharCode(e):e>127&&e<2048?(o+=String.fromCharCode(e>>6|192),o+=String.fromCharCode(63&e|128)):(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;)(t=r.charCodeAt(o))<128?(e+=String.fromCharCode(t),o++):t>191&&t<224?(e+=String.fromCharCode((31&t)<<6|63&r.charCodeAt(o+1)),o+=2):(e+=String.fromCharCode((15&t)<<12|(63&r.charCodeAt(o+1))<<6|63&r.charCodeAt(o+2)),o+=3);return e}}},this),function(r,e,o,t){if(void 0!==o.module&&o.module.exports){if(t&&o.require)for(var n=0;n<t.length;n++)o[t[n]]=o.require(t[n]);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,n,i,d,f,a,h,c=\"\",u=0;u<r.length;)d=(t=r.charCodeAt(u++))>>2,f=(3&t)<<4|(n=r.charCodeAt(u++))>>4,a=(15&n)<<2|(i=r.charCodeAt(u++))>>6,h=63&i,isNaN(n)?a=h=64:isNaN(i)&&(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,n,i,d,f,a,h=\"\",c=0;c<r.length;)t=o.indexOf(r.charAt(c++))<<2|(d=o.indexOf(r.charAt(c++)))>>4,n=(15&d)<<4|(f=o.indexOf(r.charAt(c++)))>>2,i=(3&f)<<6|(a=o.indexOf(r.charAt(c++))),h+=String.fromCharCode(t),64!=f&&(h+=String.fromCharCode(n)),64!=a&&(h+=String.fromCharCode(i));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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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-1));\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 = JSON.parse(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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nParse a CSV string with a header row and return an array of hashmaps.\n*/\nexports.parseCsvStringWithHeader = function(text,options) {\n\toptions = options || {};\n\tvar separator = options.separator || \",\",\n\t\trows = text.split(/\\r?\\n/mg).map(function(row) {\n\t\t\treturn $tw.utils.trim(row);\n\t\t}).filter(function(row) {\n\t\t\treturn row !== \"\";\n\t\t});\n\tif(rows.length < 1) {\n\t\treturn \"Missing header row\";\n\t}\n\tvar headings = rows[0].split(separator),\n\t\tresults = [];\n\tfor(var row=1; row<rows.length; row++) {\n\t\tvar columns = rows[row].split(separator),\n\t\t\tcolumnResult = Object.create(null);\n\t\tif(columns.length !== headings.length) {\n\t\t\treturn \"Malformed CSV row '\" + rows[row] + \"'\";\n\t\t}\n\t\tfor(var column=0; column<columns.length; column++) {\n\t\t\tvar columnName = headings[column];\n\t\t\tcolumnResult[columnName] = $tw.utils.trim(columns[column] || \"\");\n\t\t}\n\t\tresults.push(columnResult);\t\t\t\n\t}\n\treturn results;\n}\n\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,\"&\").replace(d,\"<\").replace(e,\">\").replace(f,\"¶<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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\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.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.className && el.className.toString().split(\" \").indexOf(className) !== -1;\n};\n\nexports.addClass = function(el,className) {\n\tvar c = el.className.split(\" \");\n\tif(c.indexOf(className) === -1) {\n\t\tc.push(className);\n\t}\n\tel.className = c.join(\" \");\n};\n\nexports.removeClass = function(el,className) {\n\tvar c = el.className.split(\" \"),\n\t\tp = c.indexOf(className);\n\tif(p !== -1) {\n\t\tc.splice(p,1);\n\t\tel.className = 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) {\t\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};\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\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\t$tw.notifier.display(succeeded ? \"$:/language/Notifications/CopiedToClipboard/Succeeded\" : \"$:/language/Notifications/CopiedToClipboard/Failed\");\n\t}\n\tdocument.body.removeChild(textArea);\n};\n\nexports.getLocationPath = function() {\n\treturn window.location.toString().split(\"#\")[0];\n};\n\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nOptions:\n\ndomNode: dom node to make draggable\ndragImageType: \"pill\" or \"dom\"\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 contect 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((domNode.tagName || \"\").toLowerCase() !== \"a\") {\n\t\tdomNode.setAttribute(\"draggable\",\"true\");\t\t\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\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 && 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(event.target,\"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\toptions.widget.invokeActionString(startActions,options.widget,event,{actionTiddler: titleString});\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 {\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();\t\t\t\t\t\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\tdataTransfer.setData(\"URL\",\"data:text/vnd.tiddler,\" + encodeURIComponent(jsonData));\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(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\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\toptions.widget.invokeActionString(endActions,options.widget,event,{actionTiddler: titleString});\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(event.target,\"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\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\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 = decodeURIComponent(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 = decodeURIComponent(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\treturn [{title: fallbackTitle, text: data}];\n\t}}\n];\n\nfunction parseJSONTiddlers(json,fallbackTitle) {\n\tvar data = JSON.parse(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\n})();\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\nBrowser HTTP support\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nA quick and dirty HTTP function; to be refactored later. 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\treturnProp: string name of the property to return as first argument of callback\n*/\nexports.httpRequest = function(options) {\n\tvar type = options.type || \"GET\",\n\t\theaders = options.headers || {accept: \"application/json\"},\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\tdata = results.join(\"&\");\n\t\t}\n\t}\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 === 201 || this.status === 204) {\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,null,this);\n\t\t}\n\t};\n\t// Make the request\n\trequest.open(type,options.url,true);\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 && !$tw.utils.hop(headers,\"Content-type\")) {\n\t\trequest.setRequestHeader(\"Content-type\",\"application/x-www-form-urlencoded; charset=UTF-8\");\n\t}\n\tif(!$tw.utils.hop(headers,\"X-Requested-With\")) {\n\t\trequest.setRequestHeader(\"X-Requested-With\",\"TiddlyWiki\");\n\t}\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nvar widget = require(\"$:/core/modules/widgets/widget.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*/\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.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({currentTiddler: title},options.variables);\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\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\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: $tw.rootWidget,\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: $tw.rootWidget,\n\t\tdocument: this.srcDocument,\n\t\tvariables: variables,\n\t\timportPageMacros: true\n\t});\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 && 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.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: $tw.rootWidget,\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// 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};\n\nexports.Modal = Modal;\n\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n\t$tw.utils.addClass(notification,\"tc-notification\");\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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/*\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\tvar popupRect = \"(\" + rect.left + \",\" + rect.top + \",\" + \n\t\t\t\trect.width + \",\" + rect.height + \")\";\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);\t\t\n\t}\n};\n\n/*\nDetect if a Popup contains an input field that has focus\nReturns true or false\n*/\nPopup.prototype.detectInputWithinPopup = function(node) {\n\tvar withinPopup = false,\n\t currNode = node;\n\tfor(var i=0; i<this.popups.length; i++) {\n\t\tvar popup = (this.popups[i] && this.popups[i].domNode) ? this.popups[i].domNode : null;\n\t\twhile(node && popup) {\n\t\t\tif(node === popup || (node.classList && (node.classList.contains(\"tc-popup-keep\") || (node !== currNode && node.classList.contains(\"tc-popup-handle\"))))) {\n\t\t\t\twithinPopup = true;\n\t\t\t}\n\t\t\tnode = node.parentNode;\n\t\t}\n\t}\n\treturn withinPopup;\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,focusedInputNode) {\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 inputWithinPopup;\n\t\tif(focusedInputNode) {\n\t\t\tinputWithinPopup = this.detectInputWithinPopup(focusedInputNode);\n\t\t}\n\t\tif(!inputWithinPopup) {\n\t\t\tvar popup = this.popups.pop();\n\t\t \tif(popup.title) {\n\t\t\t\tif(popup.noStateReference) {\n\t\t\t\t\tpopup.wiki.deleteTiddler(popup.title);\n\t\t\t\t} else {\n\t\t\t\t\tpopup.wiki.deleteTiddler($tw.utils.parseTextReference(popup.title).title);\n \t\t\t}\n\t\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\n*/\nPopup.prototype.readPopupState = function(text) {\n\tvar popupLocationRegExp = /^\\((-?[0-9\\.E]+),(-?[0-9\\.E]+),(-?[0-9\\.E]+),(-?[0-9\\.E]+)\\)$/;\n\treturn popupLocationRegExp.test(text);\n};\n\nexports.Popup = Popup;\n\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\treturn this.scrollIntoView(event.target);\n\t}\n\treturn true;\n};\n\n/*\nHandle a scroll event hitting the page document\n*/\nPageScroller.prototype.scrollIntoView = function(element,callback) {\n\tvar self = this,\n\t\tduration = $tw.utils.getAnimationDuration(),\n\t srcWindow = 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;\t\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\nexports.PageScroller = PageScroller;\n\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\tif(!editionInfo[entry] && $tw.utils.isDirectory(path.resolve(editionPath,entry))) {\n\t\t\t\t\tvar info;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tinfo = JSON.parse(fs.readFileSync(path.resolve(editionPath,entry,\"tiddlywiki.info\"),\"utf8\"));\n\t\t\t\t\t} catch(ex) {\n\t\t\t\t\t}\n\t\t\t\t\tif(info) {\n\t\t\t\t\t\teditionInfo[entry] = info;\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\n})();\n", "type": "application/javascript", "module-type": "utils-node" }, "$:/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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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_TextNode = function(text) {\n\tbumpSequenceNumber(this);\n\tthis.textContent = text + \"\";\n};\n\nObject.defineProperty(TW_TextNode.prototype, \"nodeType\", {\n\tget: function() {\n\t\treturn 3;\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_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 = {};\n\tthis.namespaceURI = namespace || \"http://www.w3.org/1999/xhtml\";\n};\n\nObject.defineProperty(TW_Element.prototype, \"style\", {\n\tget: function() {\n\t\treturn this._style;\n\t},\n\tset: function(str) {\n\t\tvar self = this;\n\t\tstr = str || \"\";\n\t\t$tw.utils.each(str.split(\";\"),function(declaration) {\n\t\t\tvar parts = declaration.split(\":\"),\n\t\t\t\tname = $tw.utils.trim(parts[0]),\n\t\t\t\tvalue = $tw.utils.trim(parts[1]);\n\t\t\tif(name && value) {\n\t\t\t\tself._style[$tw.utils.convertStyleNameToPropertyName(name)] = value;\n\t\t\t}\n\t\t});\n\t}\n});\n\nObject.defineProperty(TW_Element.prototype, \"nodeType\", {\n\tget: function() {\n\t\treturn 1;\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\tthis.attributes[name] = value + \"\";\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.htmlEncode(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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nvar fs = require(\"fs\"),\n\tpath = require(\"path\");\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 = $tw.utils.removeTrailingSeparator(srcPath);\n\tdstPath = $tw.utils.removeTrailingSeparator(dstPath);\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 (NOT the type of the tiddler)\n\thasMetaFile: true if the file also has a companion .meta file\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\twiki: optional wiki for evaluating the pathFilters\n*/\nexports.generateTiddlerFileInfo = function(tiddler,options) {\n\tvar fileInfo = {};\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});\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\") {\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}\n\t// Take the file extension from the tiddler content type\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: contentTypeInfo.extension,\n\t\tdirectory: options.directory,\n\t\tpathFilters: options.pathFilters,\n\t\twiki: options.wiki\n\t});\n\treturn fileInfo;\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*/\nexports.generateTiddlerFilepath = function(title,options) {\n\tvar self = this,\n\t\tdirectory = options.directory || \"\",\n\t\textension = options.extension || \"\",\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\t// If not, generate a base pathname\n\tif(!filepath) {\n\t\tfilepath = title;\n\t\t// If the filepath already ends in the extension then remove it\n\t\tif(filepath.substring(filepath.length - extension.length) === extension) {\n\t\t\tfilepath = filepath.substring(0,filepath.length - extension.length);\n\t\t}\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// Don't let the filename start with a dot because such files are invisible on *nix\n\tfilepath = filepath.replace(/^\\./g,\"_\");\n\t// Remove any characters that can't be used in cross-platform filenames\n\tfilepath = $tw.utils.transliterate(filepath.replace(/<|>|\\:|\\\"|\\||\\?|\\*|\\^/g,\"_\"));\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 characters)\n\tif(!filepath) {\n\t\t// ...then just use the character codes of the title\n\t\tfilepath = \"\";\t\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\n\tvar fullPath,\n\t\tcount = 0;\n\tdo {\n\t\tfullPath = path.resolve(directory,filepath + (count ? \"_\" + count : \"\") + extension);\n\t\tcount++;\n\t} while(fs.existsSync(fullPath));\n\t// Return the full path to the file\n\treturn fullPath;\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\",callback);\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\",callback);\n\t\t} else {\n\t\t\tfs.writeFile(fileInfo.filepath,JSON.stringify([tiddler.getFieldStrings({exclude: [\"bag\"]})],null,$tw.config.preferences.jsonSpaces),\"utf8\",callback);\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};\n\n})();\n", "type": "application/javascript", "module-type": "utils-node" }, "$:/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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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}\n\n/*\nLog a message\n*/\nLogger.prototype.log = function(/* args */) {\n\tif(this.enable && console !== undefined && console.log !== undefined) {\n\t\treturn Function.apply.call(console.log, console, [$tw.utils.terminalColour(this.colour),this.componentName + \":\"].concat(Array.prototype.slice.call(arguments,0)).concat($tw.utils.terminalColour()));\n\t}\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}\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}\t\t\n\t}\n};\n\nexports.Logger = Logger;\n\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nexports.addAttributeToParseTreeNode = function(node,name,value) {\n\tnode.attributes = node.attributes || {};\n\tnode.attributes[name] = {type: \"string\", value: value};\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\tnode.attributes = node.attributes || {};\n\tnode.attributes[\"class\"] = node.attributes[\"class\"] || {type: \"string\", value: \"\"};\n\tif(node.attributes[\"class\"].type === \"string\") {\n\t\tif(node.attributes[\"class\"].value !== \"\") {\n\t\t\tclasses = node.attributes[\"class\"].value.split(\" \");\n\t\t}\n\t\tif(classString !== \"\") {\n\t\t\t$tw.utils.pushTop(classes,classString.split(\" \"));\n\t\t}\n\t\tnode.attributes[\"class\"].value = classes.join(\" \");\n\t}\n};\n\nexports.addStyleToParseTreeNode = function(node,name,value) {\n\t\tnode.attributes = node.attributes || {};\n\t\tnode.attributes.style = node.attributes.style || {type: \"string\", value: \"\"};\n\t\tif(node.attributes.style.type === \"string\") {\n\t\t\tnode.attributes.style.value += name + \":\" + value + \";\";\n\t\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\");\t\t\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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;\n\ttry {\n\t\tjsonPluginTiddler = JSON.parse(pluginTiddler.fields.text);\n\t} catch(e) {\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\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\"Ậ\":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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};\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(/[^\\x00-\\x7F]/g,function(ch) {\n\t\treturn exports.transliterationPairs[ch] || \"\"\n\t});\n};\n\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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/*\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/*\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\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\t\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};\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.formatDateString = function(date,template) {\n\tvar result = \"\",\n\t\tt = template,\n\t\tmatches = [\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.getYearForWeekNo(date);\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 date.getFullYear();\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());\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[/^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(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();\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 \"&\", < to \"<\", > to \">\", \" to \""\"\nexports.htmlEncode = function(s) {\n\tif(s) {\n\t\treturn s.toString().replace(/&/mg,\"&\").replace(/</mg,\"<\").replace(/>/mg,\">\").replace(/\\\"/mg,\""\");\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) {\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\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(/[\\x00-\\x1f\\x80-\\uFFFF]/g, 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) {\n\t// See http://www.json.org/\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(/[\\x00-\\x1f\\x80-\\uFFFF]/g,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// 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|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,4);\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\tname = name.toLowerCase().trim();\n\tvar fieldValidatorRegEx = /^[a-z0-9\\-\\._]+$/mg;\n\treturn fieldValidatorRegEx.test(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/*\nDecode a base64 string\n*/\nexports.base64Decode = function(string64) {\n\treturn base64utf8.base64.decode.call(base64utf8,string64);\n};\n\n/*\nEncode a string to base64\n*/\nexports.base64Encode = function(string64) {\n\treturn base64utf8.base64.encode.call(base64utf8,string64);\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) {\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\tparts.push(\"data:\");\n\tparts.push(type);\n\tparts.push(isBase64 ? \";base64\" : \"\");\n\tparts.push(\",\");\n\tparts.push(isBase64 ? text : encodeURIComponent(text));\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})();\n", "type": "application/javascript", "module-type": "utils" }, "$:/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(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 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.computeAttributes();\n\tthis.execute();\n};\n\n/*\nCompute the internal state of the widget\n*/\nCreateTiddlerWidget.prototype.execute = function() {\n\tthis.actionBaseTitle = this.getAttribute(\"$basetitle\");\n\tthis.actionSaveTitle = this.getAttribute(\"$savetitle\");\n\tthis.actionSaveDraftTitle = this.getAttribute(\"$savedrafttitle\");\n\tthis.actionTimestamp = this.getAttribute(\"$timestamp\",\"yes\") === \"yes\";\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.generateNewTitle(this.actionBaseTitle),\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\tvar tiddler = this.wiki.addTiddler(new $tw.Tiddler(creationFields,fields,modificationFields,{title: 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,this.wiki.generateDraftTitle(title),this.getVariable(\"currentTiddler\"));\n\t}\n\treturn true; // Action was invoked\n};\n\nexports[\"action-createtiddler\"] = CreateTiddlerWidget;\n\n})();\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(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 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\");\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) {\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\thasChanged = true;\n\t\t\t}\n\t\t});\n\t\tif(hasChanged) {\n\t\t\tthis.wiki.addTiddler(new $tw.Tiddler(this.wiki.getCreationFields(),tiddler,removeFields,this.wiki.getModificationFields()));\t\t\t\n\t\t}\n\t}\n\treturn true; // Action was invoked\n};\n\nexports[\"action-deletefield\"] = DeleteFieldWidget;\n\n})();\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(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 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\n})();\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(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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(changedAttributes.$tiddler || changedAttributes.$filter ||\n\t\tchangedAttributes.$subfilter || changedAttributes.$field ||\n\t\tchangedAttributes.$index || changedAttributes.$tags) {\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\ttype = \"!!\",\n\t\tlist = this.listField;\n\tif(this.listIndex) {\n\t\tfield = undefined;\n\t\tindex = this.listIndex;\n\t\ttype = \"##\";\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 subfilter = \"[list[\" + this.target + type + list + \"]] \" + this.subfilter;\n\t\tthis.wiki.setText(this.target, field, index, $tw.utils.stringifyList(\n\t\t\tthis.wiki\n\t\t\t.filterTiddlers(subfilter, this)));\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 = \"[list[\" + this.target + \"!!tags]] \" + 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));\t\t\t\n\t\t}\n\t}\n\treturn true; // Action was invoked\n};\n\nexports[\"action-listops\"] = ActionListopsWidget;\n\n})();\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(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 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\tnavigateSuppressNavigation: suppressNavigation\n\t});\n\treturn true; // Action was invoked\n};\n\nexports[\"action-navigate\"] = NavigateWidget;\n\n})();\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(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 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};\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 attributes as a hashmap\n\tvar paramObject = Object.create(null);\n\tvar count = 0;\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\tcount++;\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\tthis.dispatchEvent({\n\t\ttype: this.actionMessage,\n\t\tparam: param,\n\t\tparamObject: paramObject,\n\t\ttiddlerTitle: this.getVariable(\"currentTiddler\"),\n\t\tnavigateFromTitle: this.getVariable(\"storyTiddler\"),\n\t\tevent: event\n\t});\n\treturn true; // Action was invoked\n};\n\nexports[\"action-sendmessage\"] = SendMessageWidget;\n\n})();\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(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 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.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\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes[\"$tiddler\"] || changedAttributes[\"$field\"] || changedAttributes[\"$index\"] || changedAttributes[\"$value\"]) {\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*/\nSetFieldWidget.prototype.invokeAction = function(triggeringWidget,event) {\n\tvar self = this,\n\t\toptions = {};\n\toptions.suppressTimestamp = !this.actionTimestamp;\n\tif((typeof this.actionField == \"string\") || (typeof this.actionIndex == \"string\") || (typeof this.actionValue == \"string\")) {\n\t\tthis.wiki.setText(this.actionTiddler,this.actionField,this.actionIndex,this.actionValue,options);\n\t}\n\t$tw.utils.each(this.attributes,function(attribute,name) {\n\t\tif(name.charAt(0) !== \"$\") {\n\t\t\tself.wiki.setText(self.actionTiddler,name,undefined,attribute,options);\n\t\t}\n\t});\n\treturn true; // Action was invoked\n};\n\nexports[\"action-setfield\"] = SetFieldWidget;\n\n})();\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(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 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\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\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\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// 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.webkitdirectory = this.getAttribute(\"webkitdirectory\");\n\tthis.nwdirectory = this.getAttribute(\"nwdirectory\");\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\treturn false;\n};\n\nexports.browse = BrowseWidget;\n\n})();\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(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 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// 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 = \"button\";\n\tif(this.buttonTag && $tw.config.htmlUnsafeElements.indexOf(this.buttonTag) === -1) {\n\t\ttag = this.buttonTag;\n\t}\n\tvar domNode = this.document.createElement(tag);\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}\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 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\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\tself.invokeActionString(self.actions,self,event);\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 ? $tw.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\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\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[\"class\"] = this.getAttribute(\"class\",\"\");\n\tthis[\"aria-label\"] = this.getAttribute(\"aria-label\");\n\tthis.tooltip = this.getAttribute(\"tooltip\");\n\tthis.style = this.getAttribute(\"style\");\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\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*/\nButtonWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes.to || changedAttributes.message || changedAttributes.param || changedAttributes.set || changedAttributes.setTo || changedAttributes.popup || changedAttributes.hover || changedAttributes[\"class\"] || changedAttributes.selectedClass || changedAttributes.style || changedAttributes.dragFilter || changedAttributes.dragTiddler || (this.set && changedTiddlers[this.set]) || (this.popup && changedTiddlers[this.popup]) || (this.popupTitle && changedTiddlers[this.popupTitle]) || changedAttributes.setTitle || changedAttributes.setField || changedAttributes.setIndex || changedAttributes.popupTitle) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t}\n\treturn this.refreshChildren(changedTiddlers);\n};\n\nexports.button = ButtonWidget;\n\n})();\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(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 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\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\",this.checkboxClass);\n\tthis.inputDomNode = this.document.createElement(\"input\");\n\tthis.inputDomNode.setAttribute(\"type\",\"checkbox\");\n\tif(this.getValue()) {\n\t\tthis.inputDomNode.setAttribute(\"checked\",\"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\nCheckboxWidget.prototype.getValue = function() {\n\tvar tiddler = this.wiki.getTiddler(this.checkboxTitle);\n\tif(tiddler) {\n\t\tif(this.checkboxTag) {\n\t\t\tif(this.checkboxInvertTag) {\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(this.checkboxField) {\n\t\t\tvar value;\n\t\t\tif($tw.utils.hop(tiddler.fields,this.checkboxField)) {\n\t\t\t\tvalue = tiddler.fields[this.checkboxField] || \"\";\n\t\t\t} else {\n\t\t\t\tvalue = 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}\n\t\tif(this.checkboxIndex) {\n\t\t\tvar value = this.wiki.extractTiddlerDataItem(tiddler,this.checkboxIndex,this.checkboxDefault || \"\");\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}\n\t} else {\n\t\tif(this.checkboxTag) {\n\t\t\treturn false;\n\t\t}\n\t\tif(this.checkboxField) {\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\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\tif(hasChanged) {\n\t\tif(this.checkboxIndex) {\n\t\t\tthis.wiki.setText(this.checkboxTitle,\"\",this.checkboxIndex,value);\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.checkboxChecked = this.getAttribute(\"checked\");\n\tthis.checkboxUnchecked = this.getAttribute(\"unchecked\");\n\tthis.checkboxDefault = this.getAttribute(\"default\");\n\tthis.checkboxClass = this.getAttribute(\"class\",\"\");\n\tthis.checkboxInvertTag = this.getAttribute(\"invertTag\",\"\");\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.checked || changedAttributes.unchecked || changedAttributes[\"default\"] || changedAttributes[\"class\"]) {\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\tthis.inputDomNode.checked = this.getValue();\n\t\t\trefreshed = true;\n\t\t}\n\t\treturn this.refreshChildren(changedTiddlers) || refreshed;\n\t}\n};\n\nexports.checkbox = CheckboxWidget;\n\n})();\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(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 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\treturn false;\n};\n\nexports.codeblock = CodeBlockWidget;\n\n})();\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(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 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 = undefined;\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\n})();\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(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\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\n})();\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(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 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// 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\tvar tag = this.draggableTag;\n\tif($tw.config.htmlUnsafeElements.indexOf(tag) !== -1) {\n\t\ttag = \"div\";\n\t}\n\t// Create our element\n\tvar domNode = this.document.createElement(tag);\n\t// Assign classes\n\tvar classes = [\"tc-draggable\"];\n\tif(this.draggableClasses) {\n\t\tclasses.push(this.draggableClasses);\n\t}\n\tdomNode.setAttribute(\"class\",classes.join(\" \"));\n\t// Add event handlers\n\t$tw.utils.makeDraggable({\n\t\tdomNode: domNode,\n\t\tdragTiddlerFn: function() {return self.getAttribute(\"tiddler\");},\n\t\tdragFilterFn: function() {return self.getAttribute(\"filter\");},\n\t\tstartActions: self.startActions,\n\t\tendActions: self.endActions,\n\t\twidget: this\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\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\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*/\nDraggableWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedTiddlers.tag || changedTiddlers[\"class\"]) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t}\n\treturn this.refreshChildren(changedTiddlers);\n};\n\nexports.draggable = DraggableWidget;\n\n})();\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(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 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// 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.droppableTag && $tw.config.htmlUnsafeElements.indexOf(this.droppableTag) === -1) {\n\t\ttag = this.droppableTag;\n\t}\n\t// Create element and assign classes\n\tvar domNode = this.document.createElement(tag),\n\t\tclasses = (this[\"class\"] || \"\").split(\" \");\n\tclasses.push(\"tc-droppable\");\n\tdomNode.className = classes.join(\" \");\n\t// Add event handlers\n\t$tw.utils.addEventListeners(domNode,[\n\t\t{name: \"dragenter\", handlerObject: this, handlerMethod: \"handleDragEnterEvent\"},\n\t\t{name: \"dragover\", handlerObject: this, handlerMethod: \"handleDragOverEvent\"},\n\t\t{name: \"dragleave\", handlerObject: this, handlerMethod: \"handleDragLeaveEvent\"},\n\t\t{name: \"drop\", handlerObject: this, handlerMethod: \"handleDropEvent\"}\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\t$tw.utils.removeClass(this.domNodes[0],\"tc-dragover\");\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\t$tw.utils.importDataTransfer(dataTransfer,null,function(fieldsArray) {\n\t\tfieldsArray.forEach(function(fields) {\n\t\t\tself.performActions(fields.title || fields.text,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.performActions = function(title,event) {\n\tif(this.droppableActions) {\n\t\tvar modifierKey = event.ctrlKey && ! event.shiftKey ? \"ctrl\" : event.shiftKey && !event.ctrlKey ? \"shift\" : \n\t\t\t\tevent.ctrlKey && event.shiftKey ? \"ctrl-shift\" : \"normal\" ;\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.droppableEffect = this.getAttribute(\"effect\",\"copy\");\n\tthis.droppableTag = this.getAttribute(\"tag\");\n\tthis.droppableClass = 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*/\nDroppableWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes[\"class\"] || changedAttributes.tag) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t}\n\treturn this.refreshChildren(changedTiddlers);\n};\n\nexports.droppable = DroppableWidget;\n\n})();\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(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 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\tdomNode.className = \"tc-dropzone\";\n\t// Add event handlers\n\t$tw.utils.addEventListeners(domNode,[\n\t\t{name: \"dragenter\", handlerObject: this, handlerMethod: \"handleDragEnterEvent\"},\n\t\t{name: \"dragover\", handlerObject: this, handlerMethod: \"handleDragOverEvent\"},\n\t\t{name: \"dragleave\", handlerObject: this, handlerMethod: \"handleDragLeaveEvent\"},\n\t\t{name: \"drop\", handlerObject: this, handlerMethod: \"handleDropEvent\"},\n\t\t{name: \"paste\", handlerObject: this, handlerMethod: \"handlePasteEvent\"},\n\t\t{name: \"dragend\", handlerObject: this, handlerMethod: \"handleDragEndEvent\"}\n\t]);\n\tdomNode.addEventListener(\"click\",function (event) {\n\t},false);\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\nDropZoneWidget.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\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\t$tw.utils.removeClass(this.domNodes[0],\"tc-dragover\");\n\t}\n};\n\nDropZoneWidget.prototype.handleDragEnterEvent = function(event) {\n\t// Check for this window being the source of the drag\n\tif($tw.dragInProgress) {\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\tevent.dataTransfer.dropEffect = \"copy\"; // Explicitly show this is a copy\n};\n\nDropZoneWidget.prototype.handleDragLeaveEvent = function(event) {\n\tthis.leaveDrag(event);\n};\n\nDropZoneWidget.prototype.handleDragEndEvent = function(event) {\n\t$tw.utils.removeClass(this.domNodes[0],\"tc-dragover\");\n};\n\nDropZoneWidget.prototype.handleDropEvent = function(event) {\n\tvar self = this,\n\t\treadFileCallback = function(tiddlerFieldsArray) {\n\t\t\tself.dispatchEvent({type: \"tm-import-tiddlers\", param: JSON.stringify(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\t$tw.utils.removeClass(this.domNodes[0],\"tc-dragover\");\n\t// Import any files in the drop\n\tvar numFiles = 0;\n\tif(dataTransfer.files) {\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\t$tw.utils.importDataTransfer(dataTransfer,this.wiki.generateNewTitle(\"Untitled\"),readFileCallback);\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\t\treadFileCallback = function(tiddlerFieldsArray) {\n\t\t\tself.dispatchEvent({type: \"tm-import-tiddlers\", param: JSON.stringify(tiddlerFieldsArray)});\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) {\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\") {\n\t\t\t\t// Create tiddlers from string items\n\t\t\t\tvar type = item.type;\n\t\t\t\titem.getAsString(function(str) {\n\t\t\t\t\tvar tiddlerFields = {\n\t\t\t\t\t\ttitle: self.wiki.generateNewTitle(\"Untitled\"),\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\tself.dispatchEvent({type: \"tm-import-tiddlers\", param: JSON.stringify([tiddlerFields])});\n\t\t\t\t});\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.dropzoneDeserializer = this.getAttribute(\"deserializer\");\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\treturn this.refreshChildren(changedTiddlers);\n};\n\nexports.dropzone = DropZoneWidget;\n\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nvar BINARY_WARNING_MESSAGE = \"$:/core/ui/BinaryWarning\";\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// Construct the child widgets\n\tthis.makeChildWidgets([{\n\t\ttype: \"transclude\",\n\t\tattributes: {\n\t\t\ttiddler: {type: \"string\", value: BINARY_WARNING_MESSAGE}\n\t\t}\n\t}]);\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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\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// 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;\t\t\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\n})();\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(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 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;\t\t\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\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};\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;\t\t\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) {\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;\t\n\t}\n};\n\nexports[\"edit-shortcut\"] = EditShortcutWidget;\n\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\n})();\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(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 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\tthis.editIndex = this.getAttribute(\"index\");\n\tthis.editClass = this.getAttribute(\"class\");\n\tthis.editPlaceholder = this.getAttribute(\"placeholder\");\n\tthis.editTabIndex = this.getAttribute(\"tabindex\");\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: {\n\t\t\ttiddler: {type: \"string\", value: this.editTitle},\n\t\t\tfield: {type: \"string\", value: this.editField},\n\t\t\tindex: {type: \"string\", value: this.editIndex},\n\t\t\t\"class\": {type: \"string\", value: this.editClass},\n\t\t\t\"placeholder\": {type: \"string\", value: this.editPlaceholder},\n\t\t\t\"tabindex\": {type: \"string\", value: this.editTabIndex}\n\t\t},\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 an attribute has changed, or the type associated with the target tiddler has changed\n\tif(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedAttributes.tabindex || (changedTiddlers[this.editTitle] && 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\n})();\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(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 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\tthis.execute();\n\t// Neuter blacklisted elements\n\tvar tag = this.parseTreeNode.tag;\n\tif($tw.config.htmlUnsafeElements.indexOf(tag) !== -1) {\n\t\ttag = \"safe-\" + tag;\n\t}\n\t// Adjust headings by the current base level\n\tvar headingLevel = [\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\"].indexOf(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\ttag = \"h\" + headingLevel;\n\t}\n\t// Create the DOM node\n\tvar domNode = this.document.createElementNS(this.namespace,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/*\nCompute the internal state of the widget\n*/\nElementWidget.prototype.execute = function() {\n\t// Select the namespace for the tag\n\tvar tagNamespaces = {\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: \"http://www.w3.org/1999/xhtml\"\n\t\t};\n\tthis.namespace = tagNamespaces[this.parseTreeNode.tag];\n\tif(this.namespace) {\n\t\tthis.setVariable(\"namespace\",this.namespace);\n\t} else {\n\t\tthis.namespace = this.getVariable(\"namespace\",{defaultValue: \"http://www.w3.org/1999/xhtml\"});\n\t}\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*/\nElementWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes(),\n\t\thasChangedAttributes = $tw.utils.count(changedAttributes) > 0;\n\tif(hasChangedAttributes) {\n\t\t// Update our attributes\n\t\tthis.assignAttributes(this.domNodes[0],{excludeEventAttributes: true});\n\t}\n\treturn this.refreshChildren(changedTiddlers) || hasChangedAttributes;\n};\n\nexports.element = ElementWidget;\n\n})();\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(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 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\n})();\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(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 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.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;\t\n\t}\n};\n\nexports.entity = EntityWidget;\n\n})();\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(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 FieldManglerWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\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};\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.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);\t\t\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 true;\n};\n\nFieldManglerWidget.prototype.handleAddFieldEvent = function(event) {\n\tvar tiddler = this.wiki.getTiddler(this.mangleTitle),\n\t\taddition = this.wiki.getModificationFields(),\n\t\thadInvalidFieldName = false,\n\t\taddField = function(name,value) {\n\t\t\tvar trimmedName = name.toLowerCase().trim();\n\t\t\tif(!$tw.utils.isValidFieldName(trimmedName)) {\n\t\t\t\tif(!hadInvalidFieldName) {\n\t\t\t\t\talert($tw.language.getString(\n\t\t\t\t\t\t\"InvalidFieldName\",\n\t\t\t\t\t\t{variables:\n\t\t\t\t\t\t\t{fieldName: trimmedName}\n\t\t\t\t\t\t}\n\t\t\t\t\t));\n\t\t\t\t\thadInvalidFieldName = true;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif(!value && tiddler) {\n\t\t\t\t\tvalue = tiddler.fields[trimmedName];\n\t\t\t\t}\n\t\t\t\taddition[trimmedName] = value || \"\";\n\t\t\t}\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 true;\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 true;\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));\t\t\t\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 true;\n};\n\nexports.fieldmangler = FieldManglerWidget;\n\n})();\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(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 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.exclude = this.getAttribute(\"exclude\");\n\tthis.stripTitlePrefix = this.getAttribute(\"stripTitlePrefix\",\"no\") === \"yes\";\n\t// Get the value to display\n\tvar tiddler = this.wiki.getTiddler(this.tiddlerTitle);\n\t// Get the exclusion list\n\tvar exclude;\n\tif(this.exclude) {\n\t\texclude = this.exclude.split(\" \");\n\t} else {\n\t\texclude = [\"text\"]; \n\t}\n\t// Compose the template\n\tvar text = [];\n\tif(this.template && tiddler) {\n\t\tvar fields = [];\n\t\tfor(var fieldName in tiddler.fields) {\n\t\t\tif(exclude.indexOf(fieldName) === -1) {\n\t\t\t\tfields.push(fieldName);\n\t\t\t}\n\t\t}\n\t\tfields.sort();\n\t\tfor(var f=0; f<fields.length; f++) {\n\t\t\tfieldName = fields[f];\n\t\t\tif(exclude.indexOf(fieldName) === -1) {\n\t\t\t\tvar row = this.template,\n\t\t\t\t\tvalue = tiddler.getFieldString(fieldName);\n\t\t\t\tif(this.stripTitlePrefix && fieldName === \"title\") {\n\t\t\t\t\tvar reStrip = /^\\{[^\\}]+\\}(.+)/mg,\n\t\t\t\t\t\treMatch = reStrip.exec(value);\n\t\t\t\t\tif(reMatch) {\n\t\t\t\t\t\tvalue = reMatch[1];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\trow = $tw.utils.replaceString(row,\"$name$\",fieldName);\n\t\t\t\trow = $tw.utils.replaceString(row,\"$value$\",value);\n\t\t\t\trow = $tw.utils.replaceString(row,\"$encoded_value$\",$tw.utils.htmlEncode(value));\n\t\t\t\ttext.push(row);\n\t\t\t}\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 || changedAttributes.stripTitlePrefix || changedTiddlers[this.tiddlerTitle]) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn false;\t\n\t}\n};\n\nexports.fields = FieldsWidget;\n\n})();\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(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 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// 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\n\t\t\t\tswitch(type) {\n\t\t\t\t\tcase \"application/pdf\":\n\t\t\t\t\t\ttag = \"embed\";\n\t\t\t\t\t\tsrc = \"data:application/pdf;base64,\" + text;\n\t\t\t\t\t\tbreak;\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}\n\t\t\t} else if(_canonical_uri) {\n\t\t\t\tswitch(type) {\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}\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);\t\t\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);\t\t\n\t}\n\tif(this.imageAlt) {\n\t\tdomNode.setAttribute(\"alt\",this.imageAlt);\t\t\n\t}\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.imageTooltip = this.getAttribute(\"tooltip\");\n\tthis.imageAlt = this.getAttribute(\"alt\");\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.tooltip || changedTiddlers[this.imageSource]) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn false;\t\t\n\t}\n};\n\nexports.image = ImageWidget;\n\n})();\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(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 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 self = this;\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\tvar widgetStackStart,widgetStackEnd;\n\tfunction addWidgetNode(widgetNode) {\n\t\tif(widgetNode) {\n\t\t\tif(!widgetStackStart && !widgetStackEnd) {\n\t\t\t\twidgetStackStart = widgetNode;\n\t\t\t\twidgetStackEnd = widgetNode;\n\t\t\t} else {\n\t\t\t\twidgetStackEnd.children = [widgetNode];\n\t\t\t\twidgetStackEnd = widgetNode;\n\t\t\t}\n\t\t}\n\t}\n\t$tw.utils.each(this.tiddlerList,function(title) {\n\t\tvar parser = self.wiki.parseTiddler(title);\n\t\tif(parser) {\n\t\t\tvar parseTreeNode = parser.tree[0];\n\t\t\twhile(parseTreeNode && parseTreeNode.type === \"set\") {\n\t\t\t\taddWidgetNode({\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});\n\t\t\t\tparseTreeNode = parseTreeNode.children[0];\n\t\t\t}\n\t\t} \n\t});\n\t// Add our own children to the end of the pile\n\tvar parseTreeNodes;\n\tif(widgetStackStart && widgetStackEnd) {\n\t\tparseTreeNodes = [widgetStackStart];\n\t\twidgetStackEnd.children = this.parseTreeNode.children;\n\t} else {\n\t\tparseTreeNodes = this.parseTreeNode.children;\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*/\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);\t\t\n\t}\n};\n\nexports.importvariables = ImportVariablesWidget;\n\n})();\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(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 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// Add a keyboard event handler\n\tdomNode.addEventListener(\"keydown\",function (event) {\n\t\tif($tw.keyboardManager.checkKeyDescriptors(event,self.keyInfoArray)) {\n\t\t\tself.invokeActions(self,event);\n\t\t\tif(self.actions) {\n\t\t\t\tself.invokeActionString(self.actions,self,event);\n\t\t\t}\n\t\t\tself.dispatchMessage(event);\n\t\t\tevent.preventDefault();\n\t\t\tevent.stopPropagation();\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t},false);\n\t// Insert element\n\tparent.insertBefore(domNode,nextSibling);\n\tthis.renderChildren(domNode,null);\n\tthis.domNodes.push(domNode);\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\tthis.keyInfoArray = $tw.keyboardManager.parseKeyDescriptors(this.key);\n\tthis[\"class\"] = this.getAttribute(\"class\",\"\");\n\tif(this.key.substr(0,2) === \"((\" && this.key.substr(-2,2) === \"))\") {\n\t\tthis.shortcutTiddlers = [];\n\t\tvar name = this.key.substring(2,this.key.length -2);\n\t\t$tw.utils.each($tw.keyboardManager.lookupNames,function(platformDescriptor) {\n\t\t\tself.shortcutTiddlers.push(\"$:/config/\" + platformDescriptor + \"/\" + name);\n\t\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\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes.message || changedAttributes.param || changedAttributes.key || changedAttributes[\"class\"] || changedAttributes.tag) {\n\t\tthis.refreshSelf();\n\t\treturn true;\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)) {\n\t\tthis.keyInfoArray = $tw.keyboardManager.parseKeyDescriptors(this.key);\n\t}\n\treturn this.refreshChildren(changedTiddlers);\n};\n\nexports.keyboard = KeyboardWidget;\n\n})();\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(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 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\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 domNode = this.document.createElement(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);\t\t\t\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$\",encodeURIComponent(this.to));\n\t\twikiLinkText = $tw.utils.replaceString(wikiLinkText,\"$uri_doubleencoded$\",encodeURIComponent(encodeURIComponent(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\tdomNode.setAttribute(\"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// 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\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});\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(changedAttributes.to || changedTiddlers[this.to] || changedAttributes[\"aria-label\"] || changedAttributes.tooltip) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t}\n\treturn this.refreshChildren(changedTiddlers);\n};\n\nexports.link = LinkWidget;\n\n})();\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(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 LinkCatcherWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n\tthis.addEventListeners([\n\t\t{type: \"tm-navigate\", handler: \"handleNavigateEvent\"}\n\t]);\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.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);\t\t\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\tthis.invokeActionString(this.catchActions,this,event,{navigateTo: event.navigateTo});\n\t\t\tthis.executingActions = false;\n\t\t}\n\t} else {\n\t\t// This is a navigate event generated by the actions of this linkcatcher, so we don't trap it again, but just pass it to the parent\n\t\tthis.parentWidget.dispatchEvent({\n\t\t\ttype: \"tm-navigate\",\n\t\t\tparam: event.navigateTo,\n\t\t\tnavigateTo: event.navigateTo\n\t\t});\n\t}\n\treturn false;\n};\n\nexports.linkcatcher = LinkCatcherWidget;\n\n})();\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(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\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// 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\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\n/*\nRender this widget into the DOM\n*/\nListWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\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};\n\n/*\nCompute the internal state of the widget\n*/\nListWidget.prototype.execute = function() {\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.storyViewName = this.getAttribute(\"storyview\");\n\tthis.historyTitle = this.getAttribute(\"history\");\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));\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.getTiddlerList = function() {\n\tvar defaultFilter = \"[!is[system]sort[title]]\";\n\treturn this.wiki.filterTiddlers(this.getAttribute(\"filter\",defaultFilter),this);\n};\n\nListWidget.prototype.getEmptyMessage = function() {\n\tvar emptyMessage = this.getAttribute(\"emptyMessage\",\"\"),\n\t\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 list item\n*/\nListWidget.prototype.makeItemTemplate = function(title) {\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\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\tif(this.parseTreeNode.children && this.parseTreeNode.children.length > 0) {\n\t\t\ttemplateTree = this.parseTreeNode.children;\n\t\t} else {\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\t{type: \"text\", text: title}\n\t\t\t]}]}];\n\t\t}\n\t}\n\t// Return the list item\n\treturn {type: \"listitem\", itemTitle: title, variableName: this.variableName, children: templateTree};\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.template || changedAttributes.editTemplate || 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// Cycle through the list, inserting and removing list items as needed\n\t\tvar hasRefreshed = false;\n\t\tfor(var t=0; t<this.list.length; t++) {\n\t\t\tvar index = this.findListItem(t,this.list[t]);\n\t\t\tif(index === undefined) {\n\t\t\t\t// The list item must be inserted\n\t\t\t\tthis.insertListItem(t,this.list[t]);\n\t\t\t\thasRefreshed = true;\n\t\t\t} else {\n\t\t\t\t// There are intervening list items that must be removed\n\t\t\t\tfor(var n=index-1; n>=t; n--) {\n\t\t\t\t\tthis.removeListItem(n);\n\t\t\t\t\thasRefreshed = true;\n\t\t\t\t}\n\t\t\t\t// Refresh the item we're reusing\n\t\t\t\tvar refreshed = this.children[t].refresh(changedTiddlers);\n\t\t\t\thasRefreshed = hasRefreshed || refreshed;\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));\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\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*/\nListItemWidget.prototype.refresh = function(changedTiddlers) {\n\treturn this.refreshChildren(changedTiddlers);\n};\n\nexports.listitem = ListItemWidget;\n\n})();", "type": "application/javascript", "module-type": "widget" }, "$:/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(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 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\t// Get the parse type if specified\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});\t\t\t\n\t\t}\n\t});\n\t// Get the macro value\n\tvar macroName = this.parseTreeNode.name || this.getAttribute(\"$name\"),\n\t\tvariableInfo = this.getVariableInfo(macroName,{params: params}),\n\t\ttext = variableInfo.text,\n\t\tparseTreeNodes;\n\t// Are we rendering to HTML?\n\tif(this.renderOutput === \"text/html\") {\n\t\t// If so we'll return the parsed macro\n\t\tvar parser = this.wiki.parseText(this.parseType,text,\n\t\t\t\t\t\t\t{parseAsInline: !this.parseTreeNode.isBlock});\n\t\tparseTreeNodes = parser ? parser.tree : [];\n\t\t// Wrap the parse tree in a vars widget assigning the parameters to variables named \"__paramname__\"\n\t\tvar attributes = {};\n\t\t$tw.utils.each(variableInfo.params,function(param) {\n\t\t\tvar name = \"__\" + param.name + \"__\";\n\t\t\tattributes[name] = {\n\t\t\t\tname: name,\n\t\t\t\ttype: \"string\",\n\t\t\t\tvalue: param.value\n\t\t\t};\n\t\t});\n\t\tparseTreeNodes = [{\n\t\t\ttype: \"vars\",\n\t\t\tattributes: attributes,\n\t\t\tchildren: parseTreeNodes\n\t\t}];\n\t} else {\n\t\t// Otherwise, we'll render the text\n\t\tvar plainText = this.wiki.renderText(\"text/plain\",this.parseType,text,{parentWidget: this});\n\t\tparseTreeNodes = [{type: \"text\", text: plainText}];\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\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\t{type: \"tm-rename-tiddler\", handler: \"handleRenameTiddlerEvent\"}\n\t]);\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.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\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));\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}\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}\t\t\n\t}\n};\n\nNavigatorWidget.prototype.addToStory = function(title,fromTitle) {\n\tif(this.storyTitle) {\n\t\tthis.wiki.addToStory(title,fromTitle,this.storyTitle,{\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.wiki.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\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\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 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\tif(!tiddler) {\n\t\treturn false;\n\t}\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((this.wiki.getTiddler(originalTitle) || (tiddler.fields.text || \"\") !== \"\") && !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\t$tw.hooks.invokeHook(\"th-deleting-tiddler\",tiddler);\n\tthis.wiki.deleteTiddler(title);\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\t// Save the initial value of the draft tiddler\n\tdraftTitle = this.generateDraftTitle(targetTitle);\n\tvar draftTiddler = new $tw.Tiddler(\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);\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// 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 = 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);\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)) {\nconsole.log(\"Relinking '\" + draftOf + \"' to '\" + draftTitle + \"'\");\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\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 = 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// 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\tif(templateTiddler && templateTiddler.fields.tags) {\n\t\t// Merge tags\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\ttags: mergedTags\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 = [];\n\ttry {\n\t\ttiddlers = JSON.parse(event.param);\n\t} catch(e) {\n\t}\n\t// Get the current $:/Import tiddler\n\tvar importTiddler = this.wiki.getTiddler(IMPORT_TITLE),\n\t\timportData = this.wiki.getTiddlerData(IMPORT_TITLE,{}),\n\t\tnewFields = new Object({\n\t\t\ttitle: IMPORT_TITLE,\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$tw.utils.each(messages,function(message,title) {\n\t\tnewFields[\"message-\" + title] = message;\n\t});\n\t// Deselect any suppressed tiddlers\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}\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\tif(this.getVariable(\"tv-auto-open-on-import\") !== \"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(IMPORT_TITLE) === -1) {\n\t\t\tstoryList.unshift(IMPORT_TITLE);\n\t\t}\n\t\t// And to history\n\t\thistory.push(IMPORT_TITLE);\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 = this.wiki.getTiddlerDataCached(event.param,{tiddlers: {}}),\n\t\timportReport = [];\n\t// Add the tiddlers to the store\n\timportReport.push($tw.language.getString(\"Import/Imported/Hint\") + \"\\n\");\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\tvar tiddler = new $tw.Tiddler(tiddlerFields);\n\t\t\ttiddler = $tw.hooks.invokeHook(\"th-importing-tiddler\",tiddler);\n\t\t\tself.wiki.addTiddler(tiddler);\n\t\t\timportReport.push(\"# [[\" + tiddlerFields.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\nNavigatorWidget.prototype.handleRenameTiddlerEvent = function(event) {\n\tvar paramObject = event.paramObject || {},\n\t\tfrom = paramObject.from || event.tiddlerTitle,\n\t\tto = paramObject.to;\n\t$tw.wiki.renameTiddler(from,to);\n};\n\nexports.navigator = NavigatorWidget;\n\n})();\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(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 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\n})();\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(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 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\n})();\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(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 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\tif(isChecked) {\n\t\tthis.inputDomNode.setAttribute(\"checked\",\"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 (this.radioIndex) {\n\t\tvalue = this.wiki.extractTiddlerDataItem(this.radioTitle,this.radioIndex);\n\t} else {\n\t\tvalue = tiddler && tiddler.getFieldString(this.radioField);\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};\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\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(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedAttributes.value || changedAttributes[\"class\"]) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\tvar refreshed = false;\n\t\tif(changedTiddlers[this.radioTitle]) {\n\t\t\tthis.inputDomNode.checked = this.getValue() === this.radioValue;\n\t\t\trefreshed = true;\n\t\t}\n\t\treturn this.refreshChildren(changedTiddlers) || refreshed;\n\t}\n};\n\nexports.radio = RadioWidget;\n\n})();\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(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 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\tthis.inputDomNode.value = this.getValue();\n\n\n\t// Add a click event handler\n\t$tw.utils.addEventListeners(this.inputDomNode,[\n\t\t{name: \"input\", handlerObject: this, handlerMethod: \"handleChangeEvent\"}\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\tvalue = this.defaultValue;\n\tif(tiddler) {\n\t\tif($tw.utils.hop(tiddler.fields,this.tiddlerField)) {\n\t\t\tvalue = tiddler.fields[this.tiddlerField] || \"\";\n\t\t} else {\n\t\t\tvalue = this.defaultValue || \"\";\n\t\t}\n\t}\n\treturn value;\n};\n\nRangeWidget.prototype.handleChangeEvent = function(event) {\n\tthis.wiki.setText(this.tiddlerTitle ,this.tiddlerField, null,this.inputDomNode.value);\n};\n\n/*\nCompute the internal state of the widget\n*/\nRangeWidget.prototype.execute = function() {\n\t// Get the parameters from the attributes\n\tthis.tiddlerTitle = this.getAttribute(\"tiddler\",this.getVariable(\"currentTiddler\"));\n\tthis.tiddlerField = this.getAttribute(\"field\");\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\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(changedAttributes.tiddler || changedAttributes.field || changedAttributes['min'] || changedAttributes['max'] || changedAttributes['increment'] || changedAttributes[\"default\"] || changedAttributes[\"class\"]) {\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\tthis.inputDomNode.checked = this.getValue();\n\t\t\trefreshed = true;\n\t\t}\n\t\treturn this.refreshChildren(changedTiddlers) || refreshed;\n\t}\n};\n\nexports.range = RangeWidget;\n\n})();\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(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 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);\t\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\n})();\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(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 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\tvar classes = this[\"class\"].split(\" \") || [];\n\tclasses.push(\"tc-reveal\");\n\tdomNode.className = classes.join(\" \");\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 \"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\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\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\tthis[\"class\"] = this.getAttribute(\"class\",\"\");\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\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\tvar popupLocationRegExp = /^\\((-?[0-9\\.E]+),(-?[0-9\\.E]+),(-?[0-9\\.E]+),(-?[0-9\\.E]+)\\)$/,\n\t\tmatch = popupLocationRegExp.exec(state);\n\t// Check if the state matches the location regexp\n\tif(match) {\n\t\t// If so, we're open\n\t\tthis.isOpen = true;\n\t\t// Get the location\n\t\tthis.popup = {\n\t\t\tleft: parseFloat(match[1]),\n\t\t\ttop: parseFloat(match[2]),\n\t\t\twidth: parseFloat(match[3]),\n\t\t\theight: parseFloat(match[4])\n\t\t};\n\t} else {\n\t\t// If not, we're closed\n\t\tthis.isOpen = false;\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*/\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}\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\n})();\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(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 ScrollableWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\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};\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\tthis.scrollIntoView(event.target);\n\treturn false; // Handled event\n};\n\n/*\nScroll an element into view\n*/\nScrollableWidget.prototype.scrollIntoView = function(element) {\n\tvar duration = $tw.utils.getAnimationDuration();\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;\t\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(window,drawFrame);\n\t\t\t}\n\t\t};\n\t\tdrawFrame();\n\t}\n};\n\n/*\nRender this widget into the DOM\n*/\nScrollableWidget.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 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};\n\n/*\nCompute the internal state of the widget\n*/\nScrollableWidget.prototype.execute = function() {\n\t// Get attributes\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\treturn this.refreshChildren(changedTiddlers);\n};\n\nexports.scrollable = ScrollableWidget;\n\n})();\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(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 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\tthis.renderChildren(parent,nextSibling);\n\tthis.setSelectValue();\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\tif(values.indexOf(select.children[i].value) != -1) {\n\t\t\t\tselect.children[i].selected = true;\n\t\t\t}\n\t\t}\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.children[0].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.selectTooltip = this.getAttribute(\"tooltip\");\n\t// Make the child widgets\n\tvar selectNode = {\n\t\ttype: \"element\",\n\t\ttag: \"select\",\n\t\tchildren: this.parseTreeNode.children\n\t};\n\tif(this.selectClass) {\n\t\t$tw.utils.addAttributeToParseTreeNode(selectNode,\"class\",this.selectClass);\n\t}\n\tif(this.selectMultiple) {\n\t\t$tw.utils.addAttributeToParseTreeNode(selectNode,\"multiple\",\"multiple\");\n\t}\n\tif(this.selectSize) {\n\t\t$tw.utils.addAttributeToParseTreeNode(selectNode,\"size\",this.selectSize);\n\t}\n\tif(this.selectTooltip) {\n\t\t$tw.utils.addAttributeToParseTreeNode(selectNode,\"title\",this.selectTooltip);\n\t}\n\tthis.makeChildWidgets([selectNode]);\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.selectTitle || changedAttributes.selectField || changedAttributes.selectIndex || changedAttributes.selectTooltip) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t// If the target tiddler value has changed, just update setting and refresh the children\n\t} else {\n\t\tvar childrenRefreshed = this.refreshChildren(changedTiddlers);\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\n})();\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(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 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\tthis.setVariable(this.setName,this.getValue(),this.parseTreeNode.params,!!this.parseTreeNode.isMacroDefinition);\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);\t\t\t\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);\t\t\t\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\n})();\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(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 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;\t\n\t}\n};\n\nexports.text = TextNodeWidget;\n\n})();\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(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 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);\t\t\n\t}\n};\n\nexports.tiddler = TiddlerWidget;\n\n})();\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(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 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\tthis.renderChildren(parent,nextSibling);\n};\n\n/*\nCompute the internal state of the widget\n*/\nTranscludeWidget.prototype.execute = function() {\n\t// Get our parameters\n\tthis.transcludeTitle = this.getAttribute(\"tiddler\",this.getVariable(\"currentTiddler\"));\n\tthis.transcludeSubTiddler = this.getAttribute(\"subtiddler\");\n\tthis.transcludeField = this.getAttribute(\"field\");\n\tthis.transcludeIndex = this.getAttribute(\"index\");\n\tthis.transcludeMode = this.getAttribute(\"mode\");\n\t// Parse the text reference\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\tvar parser = 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}),\n\t\tparseTreeNodes = parser ? parser.tree : this.parseTreeNode.children;\n\t// Set context variables for recursion detection\n\tvar recursionMarker = this.makeRecursionMarker();\n\tthis.setVariable(\"transclusion\",recursionMarker);\n\t// Check for recursion\n\tif(parser) {\n\t\tif(this.parentWidget && this.parentWidget.hasVariable(\"transclusion\",recursionMarker)) {\n\t\t\tparseTreeNodes = [{type: \"element\", tag: \"span\", attributes: {\n\t\t\t\t\"class\": {type: \"string\", value: \"tc-error\"}\n\t\t\t}, children: [\n\t\t\t\t{type: \"text\", text: $tw.language.getString(\"Error/RecursiveTransclusion\")}\n\t\t\t]}];\n\t\t}\n\t}\n\t// Construct the child widgets\n\tthis.makeChildWidgets(parseTreeNodes);\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\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(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedTiddlers[this.transcludeTitle]) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn this.refreshChildren(changedTiddlers);\t\t\n\t}\n};\n\nexports.transclude = TranscludeWidget;\n\n})();\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(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 VarsWidget = function(parseTreeNode,options) {\n\t// Call the constructor\n\tWidget.call(this);\n\t// Initialise\t\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nVarsWidget.prototype = Object.create(Widget.prototype);\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(Object.keys(changedAttributes).length) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t}\n\treturn this.refreshChildren(changedTiddlers);\n};\n\nexports[\"vars\"] = VarsWidget;\n\n})();\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(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 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 \"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);\t\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];\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\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.getValueAsUrlEncoded = function() {\n\treturn encodeURIComponent(this.getValueAsText());\n};\n\nViewWidget.prototype.getValueAsDoubleUrlEncoded = function() {\n\treturn encodeURIComponent(encodeURIComponent(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;\t\n\t}\n};\n\nexports.view = ViewWidget;\n\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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.variablesConstructor = function() {};\n\tthis.variablesConstructor.prototype = this.parentWidget ? this.parentWidget.variables : {};\n\tthis.variables = new this.variablesConstructor();\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)\n*/\nWidget.prototype.setVariable = function(name,value,params,isMacroDefinition) {\n\tthis.variables[name] = {value: value, params: params, isMacroDefinition: !!isMacroDefinition};\n};\n\n/*\nGet the prevailing value of a context variable\nname: name of variable\noptions: see below\nOptions include\nparams: array of {name:, value:} for each parameter\ndefaultValue: default value if the variable is not defined\n\nReturns an object with the following fields:\n\nparams: array of {name:,value:} of parameters passed to wikitext variables\ntext: text of variable, with parameters properly substituted\n*/\nWidget.prototype.getVariableInfo = function(name,options) {\n\toptions = options || {};\n\tvar actualParams = options.params || [],\n\t\tparentWidget = this.parentWidget;\n\t// Check for the variable defined in the parent widget (or an ancestor in the prototype chain)\n\tif(parentWidget && name in parentWidget.variables) {\n\t\tvar variable = parentWidget.variables[name],\n\t\t\tvalue = variable.value,\n\t\t\tparams = this.resolveVariableParameters(variable.params,actualParams);\n\t\t// Substitute any parameters specified in the definition\n\t\t$tw.utils.each(params,function(param) {\n\t\t\tvalue = $tw.utils.replaceString(value,new RegExp(\"\\\\$\" + $tw.utils.escapeRegExp(param.name) + \"\\\\$\",\"mg\"),param.value);\n\t\t});\n\t\t// Only substitute variable references if this variable was defined with the \\define pragma\n\t\tif(variable.isMacroDefinition) {\n\t\t\tvalue = this.substituteVariableReferences(value);\t\t\t\n\t\t}\n\t\treturn {\n\t\t\ttext: value,\n\t\t\tparams: params\n\t\t};\n\t}\n\t// If the variable doesn't exist in the parent widget then look for a macro module\n\treturn {\n\t\ttext: this.evaluateMacroModule(name,actualParams,options.defaultValue)\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\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(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\tparamValue = actualParams[nextAnonParameter++].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) {\n\tvar self = this;\n\treturn (text || \"\").replace(/\\$\\(([^\\)\\$]+)\\)\\$/g,function(match,p1,offset,string) {\n\t\treturn 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/*\nCompute the current values of the attributes of the widget. Returns a hashmap of the names of the attributes that have changed\n*/\nWidget.prototype.computeAttributes = function() {\n\tvar changedAttributes = {},\n\t\tself = this,\n\t\tvalue;\n\t$tw.utils.each(this.parseTreeNode.attributes,function(attribute,name) {\n\t\tif(attribute.type === \"filtered\") {\n\t\t\tvalue = self.wiki.filterTiddlers(attribute.filter,self)[0] || \"\";\n\t\t} else if(attribute.type === \"indirect\") {\n\t\t\tvalue = self.wiki.getTextReference(attribute.textReference,\"\",self.getVariable(\"currentTiddler\"));\n\t\t} else if(attribute.type === \"macro\") {\n\t\t\tvalue = self.getVariable(attribute.value.name,{params: attribute.value.params});\n\t\t} else { // String attribute\n\t\t\tvalue = attribute.value;\n\t\t}\n\t\t// Check whether the attribute has changed\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\n/*\nCheck for the presence of an attribute\n*/\nWidget.prototype.hasAttribute = function(name) {\n\treturn $tw.utils.hop(this.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 computed attributes of the widget to a domNode\noptions include:\nexcludeEventAttributes: ignores attributes whose name begins with \"on\"\n*/\nWidget.prototype.assignAttributes = function(domNode,options) {\n\toptions = options || {};\n\tvar self = this;\n\t$tw.utils.each(this.attributes,function(v,a) {\n\t\t// Check exclusions\n\t\tif(options.excludeEventAttributes && a.substr(0,2) === \"on\") {\n\t\t\tv = undefined;\n\t\t}\n\t\tif(v !== undefined) {\n\t\t\tvar b = a.split(\":\");\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\tif (b.length == 2 && b[0] == \"xlink\"){\n\t\t\t\t\tdomNode.setAttributeNS(\"http://www.w3.org/1999/xlink\",b[1],v);\n\t\t\t\t} else {\n\t\t\t\t\tdomNode.setAttributeNS(null,a,v);\n\t\t\t\t}\n\t\t\t} catch(e) {\n\t\t\t}\n\t\t}\n\t});\n};\n\n/*\nMake child widgets correspondng to specified parseTreeNodes\n*/\nWidget.prototype.makeChildWidgets = function(parseTreeNodes) {\n\tthis.children = [];\n\tvar self = this;\n\t$tw.utils.each(parseTreeNodes || (this.parseTreeNode && this.parseTreeNode.children),function(childNode) {\n\t\tself.children.push(self.makeChildWidget(childNode));\n\t});\n};\n\n/*\nConstruct the widget object for a parse tree node\n*/\nWidget.prototype.makeChildWidget = function(parseTreeNode) {\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\treturn new WidgetClass(parseTreeNode,{\n\t\twiki: this.wiki,\n\t\tvariables: {},\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*/\nWidget.prototype.addEventListener = function(type,handler) {\n\tvar self = this;\n\tif(typeof handler === \"string\") { // The handler is a method name on this widget\n\t\tthis.eventListeners[type] = function(event) {\n\t\t\treturn self[handler].call(self,event);\n\t\t};\n\t} else { // The handler is a function\n\t\tthis.eventListeners[type] = function(event) {\n\t\t\treturn handler.call(self,event);\n\t\t};\n\t}\n};\n\n/*\nDispatch an event to a widget. If the widget doesn't handle the event then it is also dispatched to the parent widget\n*/\nWidget.prototype.dispatchEvent = function(event) {\n\t// Dispatch the event if this widget handles it\n\tvar listener = this.eventListeners[event.type];\n\tif(listener) {\n\t\t// Don't propagate the event if the listener returned false\n\t\tif(!listener(event)) {\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// Invoke the child if it is an action widget\n\t\tif(child.invokeAction) {\n\t\t\tchild.refreshSelf();\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\nWidget.prototype.allowActionPropagation = function() {\n\treturn true;\n};\n\nexports.widget = Widget;\n\n})();\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(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 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;\t\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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\tif(!options.dontRenameInTags) {\n\t\t\t\t\t// Rename tags\n\t\t\t\t\t$tw.utils.each(tags,function (title,index) {\n\t\t\t\t\t\tif(title === fromTitle) {\nconsole.log(\"Renaming tag '\" + tags[index] + \"' to '\" + toTitle + \"' of tiddler '\" + tiddler.fields.title + \"'\");\n\t\t\t\t\t\t\ttags[index] = toTitle;\n\t\t\t\t\t\t\tisModified = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\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\t$tw.utils.each(list,function (title,index) {\n\t\t\t\t\t\tif(title === fromTitle) {\nconsole.log(\"Renaming list item '\" + list[index] + \"' to '\" + toTitle + \"' of tiddler '\" + tiddler.fields.title + \"'\");\n\t\t\t\t\t\t\tlist[index] = toTitle;\n\t\t\t\t\t\t\tisModified = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\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\n})();\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(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\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;\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,modificationFields);\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);\t\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*/\nexports.enqueueTiddlerEvent = function(title,isDeleted) {\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\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\n*/\nexports.generateNewTitle = function(baseTitle,options) {\n\toptions = options || {};\n\tvar c = 0,\n\t\ttitle = baseTitle;\n\twhile(this.tiddlerExists(title) || this.isShadowTiddler(title) || this.findDraft(title)) {\n\t\ttitle = baseTitle + \n\t\t\t(options.prefix || \" \") + \n\t\t\t(++c);\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.isImageTiddler = function(title) {\n\tvar tiddler = this.getTiddler(title);\n\tif(tiddler) {\t\t\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\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\ttitles.sort(function(a,b) {\n\t\tvar x,y,\n\t\t\tcompareNumbers = function(x,y) {\n\t\t\t\tvar result = \n\t\t\t\t\tisNaN(x) && !isNaN(y) ? (isDescending ? -1 : 1) :\n\t\t\t\t\t!isNaN(x) && isNaN(y) ? (isDescending ? 1 : -1) :\n\t\t\t\t\t\t\t\t\t\t\t(isDescending ? y - x : x - y);\n\t\t\t\treturn result;\n\t\t\t};\n\t\tif(sortField !== \"title\") {\n\t\t\tvar tiddlerA = self.getTiddler(a),\n\t\t\t\ttiddlerB = self.getTiddler(b);\n\t\t\tif(tiddlerA) {\n\t\t\t\ta = tiddlerA.fields[sortField] || \"\";\n\t\t\t} else {\n\t\t\t\ta = \"\";\n\t\t\t}\n\t\t\tif(tiddlerB) {\n\t\t\t\tb = tiddlerB.fields[sortField] || \"\";\n\t\t\t} else {\n\t\t\t\tb = \"\";\n\t\t\t}\n\t\t}\n\t\tx = Number(a);\n\t\ty = Number(b);\n\t\tif(isNumeric && (!isNaN(x) || !isNaN(y))) {\n\t\t\treturn compareNumbers(x,y);\n\t\t} else if(isAlphaNumeric) {\n\t\t\treturn isDescending ? b.localeCompare(a,undefined,{numeric: true,sensitivity: \"base\"}) : a.localeCompare(b,undefined,{numeric: true,sensitivity: \"base\"});\n\t\t} else if($tw.utils.isDate(a) && $tw.utils.isDate(b)) {\n\t\t\treturn isDescending ? b - a : a - b;\n\t\t} else {\n\t\t\ta = String(a);\n\t\t\tb = String(b);\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 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\t// Count up the links\n\t\tvar links = [],\n\t\t\tcheckParseTree = function(parseTree) {\n\t\t\t\tfor(var t=0; t<parseTree.length; t++) {\n\t\t\t\t\tvar parseTreeNode = parseTree[t];\n\t\t\t\t\tif(parseTreeNode.type === \"link\" && parseTreeNode.attributes.to && parseTreeNode.attributes.to.type === \"string\") {\n\t\t\t\t\t\tvar value = parseTreeNode.attributes.to.value;\n\t\t\t\t\t\tif(links.indexOf(value) === -1) {\n\t\t\t\t\t\t\tlinks.push(value);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(parseTreeNode.children) {\n\t\t\t\t\t\tcheckParseTree(parseTreeNode.children);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\tif(parser) {\n\t\t\tcheckParseTree(parser.tree);\n\t\t}\n\t\treturn links;\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\tbacklinks = [];\n\tthis.forEachTiddler(function(title,tiddler) {\n\t\tvar links = self.getTiddlerLinks(title);\n\t\tif(links.indexOf(targetTitle) !== -1) {\n\t\t\tbacklinks.push(title);\n\t\t}\n\t});\n\treturn backlinks;\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 titles = [];\n\tthis.each(function(tiddler,title) {\n\t\tvar list = $tw.utils.parseStringArray(tiddler.fields[fieldName]);\n\t\tif(list && list.indexOf(targetTitle) !== -1) {\n\t\t\ttitles.push(title);\n\t\t}\n\t});\n\treturn titles;\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\tfunction replaceItem(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\treplaceItem(beforeTitle);\n\t\t\t\t\tnewPos = titles.indexOf(beforeTitle);\n\t\t\t\t} else if(afterTitle) {\n\t\t\t\t\treplaceItem(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// We get the currPos //after// figuring out the newPos, because recursive replaceItem calls might alter title's currPos\n\t\t\t\tvar currPos = titles.indexOf(title);\n\t\t\t\tif(newPos === -1) {\n\t\t\t\t\tnewPos = currPos;\n\t\t\t\t}\n\t\t\t\tif(currPos >= 0 && newPos !== currPos) {\n\t\t\t\t\ttitles.splice(currPos,1);\n\t\t\t\t\tif(newPos >= currPos) {\n\t\t\t\t\t\tnewPos--;\n\t\t\t\t\t}\n\t\t\t\t\ttitles.splice(newPos,0,title);\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\treplaceItem(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) {\n\tvar tiddlers = this.filterTiddlers(filter),\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,$tw.config.preferences.jsonSpaces);\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);\t\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);\t\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\ttry {\n\t\t\t\t\tdata = JSON.parse(tiddler.fields.text);\n\t\t\t\t} catch(ex) {\n\t\t\t\t\treturn defaultData;\n\t\t\t\t}\n\t\t\t\treturn data;\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\n*/\nexports.setTiddlerData = function(title,data,fields) {\n\tvar existingTiddler = this.getTiddler(title),\n\t\tnewFields = {\n\t\t\ttitle: title\n\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(this.getCreationFields(),existingTiddler,fields,newFields,this.getModificationFields()));\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]) {\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});\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});\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,text;\n\tif(options.subTiddler) {\n\t\ttiddler = this.getSubTiddler(title,options.subTiddler);\n\t} else {\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\tif(field === \"text\" || (!field && !index)) {\n\t\tif(tiddler && tiddler.fields) {\n\t\t\treturn this.parseText(tiddler.fields.type,tiddler.fields.text,options);\t\t\t\n\t\t} else {\n\t\t\treturn null;\n\t\t}\n\t} else if(field) {\n\t\tif(field === \"title\") {\n\t\t\ttext = title;\n\t\t} else {\n\t\t\tif(!tiddler || !tiddler.hasField(field)) {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\ttext = tiddler.fields[field];\n\t\t}\n\t\treturn this.parseText(\"text/vnd.tiddlywiki\",text.toString(),options);\n\t} else if(index) {\n\t\tthis.getTiddlerText(title); // Force the tiddler to be lazily loaded\n\t\ttext = this.extractTiddlerDataItem(tiddler,index,undefined);\n\t\tif(text === undefined) {\n\t\t\treturn null;\n\t\t}\n\t\treturn this.parseText(\"text/vnd.tiddlywiki\",text,options);\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 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};\n\t\tcurrWidgetNode.children = [setVariableWidget];\n\t\tcurrWidgetNode = setVariableWidget;\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.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\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\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 = \"[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\";\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 $tw.wiki.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), where 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\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, regardless of adjacency or ordering\n*/\nexports.search = function(text,options) {\n\toptions = options || {};\n\tvar self = this,\n\t\tt,\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)];\t\t\t\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 {\n\t\tterms = text.split(/ +/);\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\t// 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);\t\t\t\t\t\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) !== options.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.fields.text !== undefined) {\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/*\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\", type: type};\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\tif(historyTitle) {\n\t\tvar story = new $tw.Story({wiki: this, historyTitle: historyTitle});\n\t\tstory.addToHistory(title,fromPageRect);\t\t\n\t}\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\tif(storyTitle) {\n\t\tvar story = new $tw.Story({wiki: this, storyTitle: storyTitle});\n\t\tstory.addToStory(title,fromTitle,options);\t\t\n\t}\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})();\n\n", "type": "application/javascript", "module-type": "wikimethod" }, "$:/palettes/Blanca": { "title": "$:/palettes/Blanca", "name": "Blanca", "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: #66cccc\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\nforeground: #333333\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: #7897f3\nselect-tag-background:\nselect-tag-foreground:\nsidebar-button-foreground: <<colour foreground>>\nsidebar-controls-foreground-hover: #000000\nsidebar-controls-foreground: #ccc\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: #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: \nsidebar-tab-foreground: <<colour tab-foreground>>\nsidebar-tiddler-link-foreground-hover: #444444\nsidebar-tiddler-link-foreground: #7897f3\nsite-title-foreground: <<colour tiddler-title-foreground>>\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: #ffeedd\ntag-foreground: #000\ntiddler-background: <<colour background>>\ntiddler-border: #eee\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: #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: #999999\nvery-muted-foreground: #888888\n" }, "$:/palettes/Blue": { "title": "$:/palettes/Blue", "name": "Blue", "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\nforeground: #333353\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", "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\nforeground: #333333\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\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/ContrastLight": { "title": "$:/palettes/ContrastLight", "name": "Contrast (Light)", "description": "High contrast and unambiguous (light version)", "tags": "$:/tags/Palette", "type": "application/x-tiddler-dictionary", "text": "alert-background: #f00\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: #080\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 foreground>>\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\nforeground: #000\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: #00f\nselect-tag-background:\nselect-tag-foreground:\nsidebar-button-foreground: <<colour foreground>>\nsidebar-controls-foreground-hover: <<colour background>>\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>>\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: #fdd\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\n" }, "$:/palettes/ContrastDark": { "title": "$:/palettes/ContrastDark", "name": "Contrast (Dark)", "description": "High contrast and unambiguous (dark version)", "tags": "$:/tags/Palette", "type": "application/x-tiddler-dictionary", "text": "alert-background: #f00\nalert-border: <<colour background>>\nalert-highlight: <<colour foreground>>\nalert-muted-foreground: #800\nbackground: #000\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: #080\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 foreground>>\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\nforeground: #fff\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: #00f\nselect-tag-background:\nselect-tag-foreground:\nsidebar-button-foreground: <<colour foreground>>\nsidebar-controls-foreground-hover: <<colour background>>\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>>\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: #fff\ntag-foreground: #000\ntiddler-background: <<colour background>>\ntiddler-border: <<colour foreground>>\ntiddler-controls-foreground-hover: #ddd\ntiddler-controls-foreground-selected: #fdd\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\n" }, "$:/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", "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\nforeground: #333333\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: #ccf\nsidebar-controls-foreground: #fff\nsidebar-foreground-shadow: rgba(0,0,0, 0.5)\nsidebar-foreground: #fff\nsidebar-muted-foreground-hover: #444444\nsidebar-muted-foreground: #eee\nsidebar-tab-background-selected: rgba(255,255,255, 0.8)\nsidebar-tab-background: rgba(255,255,255, 0.4)\nsidebar-tab-border-selected: <<colour tab-border-selected>>\nsidebar-tab-border: <<colour tab-border>>\nsidebar-tab-divider: rgba(255,255,255, 0.2)\nsidebar-tab-foreground-selected: \nsidebar-tab-foreground: <<colour tab-foreground>>\nsidebar-tiddler-link-foreground-hover: #aaf\nsidebar-tiddler-link-foreground: #ddf\nsite-title-foreground: #fff\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: #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/Nord": { "title": "$:/palettes/Nord", "name": "Nord", "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: #D08770\nalert-highlight: #B48EAD\nalert-muted-foreground: #4C566A\nbackground: #3b4252\nblockquote-bar: <<colour muted-foreground>>\nbutton-background: #4C566A\nbutton-foreground: #D8DEE9\nbutton-border: transparent\ncode-background: #2E3440\ncode-border: #2E3440\ncode-foreground: #BF616A\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 foreground>>\ndiff-invisible-background: \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\nforeground: #d8dee9\nmessage-background: #2E3440\nmessage-border: #2E3440\nmessage-foreground: #547599\nmodal-backdrop: <<colour foreground>>\nmodal-background: <<colour background>>\nmodal-border: #3b4252\nmodal-footer-background: #3b4252\nmodal-footer-border: #3b4252\nmodal-header-border: #3b4252\nmuted-foreground: #4C566A\nnotification-background: <<colour primary>>\nnotification-border: #EBCB8B\npage-background: #2e3440\npre-background: #2E3440\npre-border: #2E3440\nprimary: #5E81AC\nselect-tag-background: #3b4252\nselect-tag-foreground: <<colour foreground>>\nsidebar-button-foreground: <<colour foreground>>\nsidebar-controls-foreground-hover: #4C566A\nsidebar-controls-foreground: #3B4252\nsidebar-foreground-shadow: transparent\nsidebar-foreground: #D8DEE9\nsidebar-muted-foreground-hover: #4C566A\nsidebar-muted-foreground: #4C566A\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>>\nstatic-alert-foreground: #B48EAD\ntab-background-selected: #ECEFF4\ntab-background: #4C566A\ntab-border-selected: #4C566A\ntab-border: #4C566A\ntab-divider: #4C566A\ntab-foreground-selected: #4C566A\ntab-foreground: #D8DEE9\ntable-border: #4C566A\ntable-footer-background: #2e3440\ntable-header-background: #2e3440\ntag-background: #A3BE8C\ntag-foreground: #4C566A\ntiddler-background: <<colour background>>\ntiddler-border: <<colour background>>\ntiddler-controls-foreground-hover: \ntiddler-controls-foreground-selected: #EBCB8B\ntiddler-controls-foreground: #4C566A\ntiddler-editor-background: #2e3440\ntiddler-editor-border-image: #2e3440\ntiddler-editor-border: #2e3440\ntiddler-editor-fields-even: #2e3440\ntiddler-editor-fields-odd: #2e3440\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: #4C566A\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\n" }, "$:/palettes/Rocker": { "title": "$:/palettes/Rocker", "name": "Rocker", "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:\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\nforeground: #333333\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: #000\npre-background: #f5f5f5\npre-border: #cccccc\nprimary: #cc0000\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.0)\nsidebar-foreground: #acacac\nsidebar-muted-foreground-hover: #444444\nsidebar-muted-foreground: #c0c0c0\nsidebar-tab-background-selected: #000\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: #ffbb99\nsidebar-tiddler-link-foreground: #cc0000\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: #ffbb99\ntag-foreground: #000\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\n" }, "$:/palettes/SolarFlare": { "title": "$:/palettes/SolarFlare", "name": "Solar Flare", "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 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 base2>>\n tab-background: <<colour base2>>\n dropdown-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: 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: <<colour primary>>\n tiddler-link-foreground: <<colour primary>>\n\nalert-border: #b99e2f\ndirty-indicator: #ff0000\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\nmessage-border: #cfd6e6\nmodal-border: #999999\nselect-tag-background:\nselect-tag-foreground:\nsidebar-controls-foreground-hover:\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\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\n" }, "$:/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", "text": "alert-background: #eee8d5\nalert-border: #073642\nalert-highlight: #cb4b16\nalert-muted-foreground: #586e75\nbackground: #fdf6e3\nblockquote-bar: <<colour muted-foreground>>\nbutton-background: #cb4b16\nbutton-foreground: #fdf6e3\nbutton-border: transparent\ncode-background: #eee8d5\ncode-border: #93a1a1\ncode-foreground: #d33682\ndiff-delete-background: #BF616A\ndiff-delete-foreground: <<colour foreground>>\ndiff-equal-background: \ndiff-equal-foreground: <<colour foreground>>\ndiff-insert-background: #859900\ndiff-insert-foreground: <<colour foreground>>\ndiff-invisible-background: \ndiff-invisible-foreground: <<colour muted-foreground>>\ndirty-indicator: #D08770\ndownload-background: #859900\ndownload-foreground: <<colour background>>\ndragger-background: <<colour foreground>>\ndragger-foreground: <<colour background>>\ndropdown-background: <<colour background>>\ndropdown-border: <<colour background>>\ndropdown-tab-background-selected: #fdf6e3\ndropdown-tab-background: #93a1a1\ndropzone-background: #859900\nexternal-link-background-hover: inherit\nexternal-link-background-visited: inherit\nexternal-link-background: inherit\nexternal-link-foreground-hover: #d33682\nexternal-link-foreground-visited: #b58900\nexternal-link-foreground: #cb4b16\nforeground: #839496\nmessage-background: #586e75\nmessage-border: #586e75\nmessage-foreground: #eee8d5\nmodal-backdrop: <<colour foreground>>\nmodal-background: <<colour background>>\nmodal-border: #eee8d5\nmodal-footer-background: #eee8d5\nmodal-footer-border: #eee8d5\nmodal-header-border: #eee8d5\nmuted-foreground: #93a1a1\nnotification-background: #EBCB8B\nnotification-border: #D08770\npage-background: #eee8d5\npre-background: #eee8d5\npre-border: #93a1a1\nprimary: #2aa198\nselect-tag-background: #eee8d5\nselect-tag-foreground: <<colour foreground>>\nsidebar-button-foreground: #eee8d5\nsidebar-controls-foreground-hover: #268bd2\nsidebar-controls-foreground: #586e75\nsidebar-foreground-shadow: transparent\nsidebar-foreground: #839496\nsidebar-muted-foreground-hover: #657b83\nsidebar-muted-foreground: #93a1a1\nsidebar-tab-background-selected: #eee8d5\nsidebar-tab-background: #839496\nsidebar-tab-border-selected: <<colour tab-border-selected>>\nsidebar-tab-border: #657b83\nsidebar-tab-divider: <<colour page-background>>\nsidebar-tab-foreground-selected: #839496\nsidebar-tab-foreground: <<colour tab-foreground>>\nsidebar-tiddler-link-foreground-hover: #859900\nsidebar-tiddler-link-foreground: #268bd2\nsite-title-foreground: <<colour tiddler-title-foreground>>\nstatic-alert-foreground: #dc322f\ntab-background-selected: #fdf6e3\ntab-background: #839496\ntab-border-selected: #93a1a1\ntab-border: #93a1a1\ntab-divider: #fdf6e3\ntab-foreground-selected: #839496\ntab-foreground: #eee8d5\ntable-border: #657b83\ntable-footer-background: #657b83\ntable-header-background: #93a1a1\ntag-background: #6c71c4\ntag-foreground: #eee8d5\ntiddler-background: <<colour background>>\ntiddler-border: <<colour background>>\ntiddler-controls-foreground-hover: #b58900\ntiddler-controls-foreground-selected: #b58900\ntiddler-controls-foreground: #073642\ntiddler-editor-background: #eee8d5\ntiddler-editor-border-image: #eee8d5\ntiddler-editor-border: #eee8d5\ntiddler-editor-fields-even: #eee8d5\ntiddler-editor-fields-odd: #fdf6e3\ntiddler-info-background: #eee8d5\ntiddler-info-border: #eee8d5\ntiddler-info-tab-background: #586e75\ntiddler-link-background: <<colour background>>\ntiddler-link-foreground: <<colour primary>>\ntiddler-subtitle-foreground: #586e75\ntiddler-title-foreground: #073642\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: #839496\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", "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: \nforeground: rgba(0, 0, 0, 0.87)\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", "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\nforeground: rgba(255, 255, 255, 0.7)\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.", "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 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: 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)\nforeground: rgb(179, 179, 179)\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)\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", "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: #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\nforeground: #333333\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: #f4f4f4\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: #aaaaaa\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: #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>>\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: #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" }, "$:/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 --> " }, "$:/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", "text": "\\define renderContent()\n<$text text=<<csvtiddlers filter:\"\"\"$(exportFilter)$\"\"\" format:\"quoted-comma-sep\">>/>\n\\end\n<<renderContent>>\n" }, "$:/core/templates/exporters/JsonFile": { "title": "$:/core/templates/exporters/JsonFile", "tags": "$:/tags/Exporter", "description": "{{$:/language/Exporters/JsonFile}}", "extension": ".json", "text": "\\define renderContent()\n<$text text=<<jsontiddlers filter:\"\"\"$(exportFilter)$\"\"\">>/>\n\\end\n<<renderContent>>\n" }, "$:/core/templates/exporters/StaticRiver": { "title": "$:/core/templates/exporters/StaticRiver", "tags": "$:/tags/Exporter", "description": "{{$:/language/Exporters/StaticRiver}}", "extension": ".html", "text": "\\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=\"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\">\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 [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\n<<renderContent>>\n" }, "$:/core/templates/exporters/TidFile": { "title": "$:/core/templates/exporters/TidFile", "tags": "$:/tags/Exporter", "description": "{{$:/language/Exporters/TidFile}}", "extension": ".tid", "text": "\\define renderContent()\n{{{ $(exportFilter)$ +[limit[1]] ||$:/core/templates/tid-tiddler}}}\n\\end\n\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\n<<renderContent>>" }, "$:/core/save/all-external-js": { "title": "$:/core/save/all-external-js", "text": "\\define saveTiddlerFilter()\n[is[tiddler]] -[prefix[$:/state/popup/]] -[[$:/HistoryList]] -[[$:/core]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] $(publishFilter)$\n\\end\n{{$:/core/templates/tiddlywiki5-external-js.html}}\n" }, "$:/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`<!--~~ Library modules ~~-->\n{{{ [is[system]type[application/javascript]library[yes]] ||$:/core/templates/plain-text-tiddler}}}\n<!--~~ Boot prefix ~~-->\n{{ $:/boot/bootprefix.js ||$:/core/templates/plain-text-tiddler}}\n<!--~~ Core plugin ~~-->\n{{$:/core/templates/tiddlywiki5.js/tiddlers}}\n<!--~~ Boot kernel ~~-->\n{{ $:/boot/boot.js ||$:/core/templates/plain-text-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/all-external-js\"\n}]);\n`\n" }, "$:/core/templates/tiddlywiki5-external-js.html": { "title": "$:/core/templates/tiddlywiki5-external-js.html", "text": "\\rules only filteredtranscludeinline transcludeinline\n<!doctype html>\n{{$:/core/templates/MOTW.html}}<html>\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{{{ [all[shadows+tiddlers]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{{{ [all[shadows+tiddlers]tag[$:/core/wiki/rawmarkup]] [all[shadows+tiddlers]tag[$:/tags/RawMarkup]] ||$:/core/templates/plain-text-tiddler}}}\n{{{ [all[shadows+tiddlers]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{{{ [all[shadows+tiddlers]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{{{ [all[shadows+tiddlers]tag[$:/tags/RawMarkupWikified/BottomBody]] ||$:/core/templates/raw-static-tiddler}}}\n</body>\n<script src=\"%24%3A%2Fcore%2Ftemplates%2Ftiddlywiki5.js\" onerror=\"alert('Error: Cannot load tiddlywiki.js');\"></script>\n</html>\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=\"htmlencoded\" />`</pre>\n</div>`\n" }, "$:/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": "\\define saveTiddlerFilter()\n[is[tiddler]] -[prefix[$:/state/popup/]] -[[$:/HistoryList]] -[[$:/boot/boot.css]] -[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]] -[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]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] \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]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] -[!is[system]is[image]] +[sort[title]] \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;\">\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-wikilink-template() $uri_encoded$\n\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\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\">\n<div class=\"tc-tiddler-frame\">\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\">\n<div class=\"tc-titlebar\">\n<h2><$text text=<<currentTiddler>>/></h2>\n</div>\n</div>\n<div class=\"tc-subtitle\">\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\">\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\">\n<$transclude mode=\"block\"/>\n</div>\n" }, "$:/core/templates/single.tiddler.window": { "title": "$:/core/templates/single.tiddler.window", "text": "<$set name=\"themeTitle\" value={{$:/view}}>\n\n<$set name=\"tempCurrentTiddler\" value=<<currentTiddler>>>\n\n<$set name=\"currentTiddler\" value={{$:/language}}>\n\n<$set name=\"languageTitle\" value={{!!name}}>\n\n<$set name=\"currentTiddler\" value=<<tempCurrentTiddler>>>\n\n<$importvariables filter=\"[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\">\n\n<$navigator story=\"$:/StoryList\" history=\"$:/HistoryList\">\n\n<$transclude mode=\"block\"/>\n\n</$navigator>\n\n</$importvariables>\n\n</$set>\n\n</$set>\n\n</$set>\n\n</$set>\n\n</$set>\n\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" }, "$:/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-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-toolbar-icons() no\n\\define tv-config-toolbar-text() no\n\\define tv-config-toolbar-class() tc-btn-invisible\n\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\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\">\n`<$view tiddler=\"$:/core/ui/ViewTemplate\" format=\"htmlwikified\"/>`\n</section>\n</body>\n</html>\n`" }, "$:/core/templates/store.area.template.html": { "title": "$:/core/templates/store.area.template.html", "text": "<$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`</div>`\n</$reveal>\n<$reveal type=\"match\" state=\"$:/isEncrypted\" text=\"yes\">\n`<!--~~ Encrypted tiddlers ~~-->`\n`<pre id=\"encryptedStoreArea\" type=\"text/plain\" style=\"display:none;\">`\n<$encrypt filter=<<saveTiddlerFilter>>/>\n`</pre>`\n</$reveal>" }, "$:/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>\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`{{{ [<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" }, "$:/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": "\\define get-type()\nimage/$(imageType)$\n\\end\n<$vars imageType={{$:/config/NewImageType}}>\n<$action-sendmessage $message=\"tm-new-tiddler\" type=<<get-type>>/>\n</$vars>\n" }, "$:/core/ui/Actions/new-journal": { "title": "$:/core/ui/Actions/new-journal", "tags": "$:/tags/Actions", "description": "create a new journal tiddler", "text": "<$vars journalTitleTemplate={{$:/config/NewJournal/Title}} journalTags={{$:/config/NewJournal/Tags}} journalText={{$:/config/NewJournal/Text}}>\n<$wikify name=\"journalTitle\" text=\"\"\"<$macrocall $name=\"now\" format=<<journalTitleTemplate>>/>\"\"\">\n<$reveal type=\"nomatch\" state=<<journalTitle>> text=\"\">\n<$action-sendmessage $message=\"tm-new-tiddler\" title=<<journalTitle>> tags=<<journalTags>> text={{{ [<journalTitle>get[]] }}}/>\n</$reveal>\n<$reveal type=\"match\" state=<<journalTitle>> text=\"\">\n<$action-sendmessage $message=\"tm-new-tiddler\" title=<<journalTitle>> tags=<<journalTags>> text=<<journalText>>/>\n</$reveal>\n</$wikify>\n</$vars>\n" }, "$:/core/ui/Actions/new-tiddler": { "title": "$:/core/ui/Actions/new-tiddler", "tags": "$:/tags/Actions", "description": "create a new empty tiddler", "text": "<$action-sendmessage $message=\"tm-new-tiddler\"/>\n" }, "$:/core/ui/AdvancedSearch/Filter": { "title": "$:/core/ui/AdvancedSearch/Filter", "tags": "$:/tags/AdvancedSearch", "caption": "{{$:/language/Search/Filter/Caption}}", "text": "\\define lingo-base() $:/language/Search/\n<<lingo Filter/Hint>>\n\n<div class=\"tc-search tc-advanced-search\">\n<$edit-text tiddler=\"$:/temp/advancedsearch\" type=\"search\" tag=\"input\" focus={{$:/config/Search/AutoFocus}}/>\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/AdvancedSearch/FilterButton]!has[draft.of]]\"><$transclude/></$list>\n</div>\n\n<$reveal state=\"$:/temp/advancedsearch\" type=\"nomatch\" text=\"\">\n<$set name=\"resultCount\" value=\"\"\"<$count filter={{$:/temp/advancedsearch}}/>\"\"\">\n<div class=\"tc-search-results\">\n<<lingo Filter/Matches>>\n<$list filter={{$:/temp/advancedsearch}} template=\"$:/core/ui/ListItemTemplate\"/>\n</div>\n</$set>\n</$reveal>\n" }, "$:/core/ui/AdvancedSearch/Filter/FilterButtons/clear": { "title": "$:/core/ui/AdvancedSearch/Filter/FilterButtons/clear", "tags": "$:/tags/AdvancedSearch/FilterButton", "text": "<$reveal state=\"$:/temp/advancedsearch\" type=\"nomatch\" text=\"\">\n<$button class=\"tc-btn-invisible\">\n<$action-setfield $tiddler=\"$:/temp/advancedsearch\" $field=\"text\" $value=\"\"/>\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": "<$reveal state=\"$:/temp/advancedsearch\" type=\"nomatch\" text=\"\">\n<$button 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}}/>\"\"\">\nAre you sure you wish to delete <<resultCount>> tiddler(s)?\n</$set>\n</div>\n<div class=\"tc-dropdown-item-plain\">\n<$button class=\"tc-btn\">\n<$action-deletetiddler $filter={{$:/temp/advancedsearch}}/>\nDelete these tiddlers\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": "<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 to=\"$:/temp/advancedsearch\">\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]]\"><$link to={{!!filter}}><$transclude field=\"description\"/></$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": "<$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}}", "text": "\\define lingo-base() $:/language/Search/\n<$linkcatcher to=\"$:/temp/advancedsearch\">\n\n<<lingo Shadows/Hint>>\n\n<div class=\"tc-search\">\n<$edit-text tiddler=\"$:/temp/advancedsearch\" type=\"search\" tag=\"input\" focus={{$:/config/Search/AutoFocus}}/>\n<$reveal state=\"$:/temp/advancedsearch\" type=\"nomatch\" text=\"\">\n<$button class=\"tc-btn-invisible\">\n<$action-setfield $tiddler=\"$:/temp/advancedsearch\" $field=\"text\" $value=\"\"/>\n{{$:/core/images/close-button}}\n</$button>\n</$reveal>\n</div>\n\n</$linkcatcher>\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=\"\"\"<$count filter=\"[all[shadows]search{$:/temp/advancedsearch}] -[[$:/temp/advancedsearch]]\"/>\"\"\">\n\n<div class=\"tc-search-results\">\n\n<<lingo Shadows/Matches>>\n\n<$list filter=\"[all[shadows]search{$:/temp/advancedsearch}sort[title]limit[250]] -[[$:/temp/advancedsearch]]\" template=\"$:/core/ui/ListItemTemplate\"/>\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": "\\define lingo-base() $:/language/Search/\n<$linkcatcher to=\"$:/temp/advancedsearch\">\n\n<<lingo Standard/Hint>>\n\n<div class=\"tc-search\">\n<$edit-text tiddler=\"$:/temp/advancedsearch\" type=\"search\" tag=\"input\" focus={{$:/config/Search/AutoFocus}}/>\n<$reveal state=\"$:/temp/advancedsearch\" type=\"nomatch\" text=\"\">\n<$button class=\"tc-btn-invisible\">\n<$action-setfield $tiddler=\"$:/temp/advancedsearch\" $field=\"text\" $value=\"\"/>\n{{$:/core/images/close-button}}\n</$button>\n</$reveal>\n</div>\n\n</$linkcatcher>\n\n<$reveal state=\"$:/temp/advancedsearch\" type=\"nomatch\" text=\"\">\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<$set name=\"searchTiddler\" value=\"$:/temp/advancedsearch\">\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]butfirst[]limit[1]]\" emptyMessage=\"\"\"\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]\">\n<$transclude/>\n</$list>\n\"\"\">\n<$macrocall $name=\"tabs\" tabsList=\"[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]\" default={{$:/config/SearchResults/Default}}/>\n</$list>\n</$set>\n</$list>\n</$reveal>\n" }, "$:/core/ui/AdvancedSearch/System": { "title": "$:/core/ui/AdvancedSearch/System", "tags": "$:/tags/AdvancedSearch", "caption": "{{$:/language/Search/System/Caption}}", "text": "\\define lingo-base() $:/language/Search/\n<$linkcatcher to=\"$:/temp/advancedsearch\">\n\n<<lingo System/Hint>>\n\n<div class=\"tc-search\">\n<$edit-text tiddler=\"$:/temp/advancedsearch\" type=\"search\" tag=\"input\" focus={{$:/config/Search/AutoFocus}}/>\n<$reveal state=\"$:/temp/advancedsearch\" type=\"nomatch\" text=\"\">\n<$button class=\"tc-btn-invisible\">\n<$action-setfield $tiddler=\"$:/temp/advancedsearch\" $field=\"text\" $value=\"\"/>\n{{$:/core/images/close-button}}\n</$button>\n</$reveal>\n</div>\n\n</$linkcatcher>\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=\"\"\"<$count filter=\"[is[system]search{$:/temp/advancedsearch}] -[[$:/temp/advancedsearch]]\"/>\"\"\">\n\n<div class=\"tc-search-results\">\n\n<<lingo System/Matches>>\n\n<$list filter=\"[is[system]search{$:/temp/advancedsearch}sort[title]limit[250]] -[[$:/temp/advancedsearch]]\" template=\"$:/core/ui/ListItemTemplate\"/>\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": "<div class=\"tc-advanced-search\">\n<<tabs \"[all[shadows+tiddlers]tag[$:/tags/AdvancedSearch]!has[draft.of]]\" \"$:/core/ui/AdvancedSearch/System\">>\n</div>\n" }, "$:/core/ui/AlertTemplate": { "title": "$:/core/ui/AlertTemplate", "text": "<div class=\"tc-alert\">\n<div class=\"tc-alert-toolbar\">\n<$button class=\"tc-btn-invisible\"><$action-deletetiddler $tiddler=<<currentTiddler>>/>{{$:/core/images/delete-button}}</$button>\n</div>\n<div class=\"tc-alert-subtitle\">\n<$view field=\"component\"/> - <$view field=\"modified\" format=\"date\" template=\"0hh:0mm:0ss DD MM YYYY\"/> <$reveal type=\"nomatch\" state=\"!!count\" text=\"\"><span class=\"tc-alert-highlight\">({{$:/language/Count}}: <$view field=\"count\"/>)</span></$reveal>\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<div class=\"tc-binary-warning\">\n\n<<lingo Prompt>>\n\n</div>\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<div class=\"tc-plugin-info-chunk tc-small-icon\">\n<$reveal type=\"nomatch\" state=<<popup-state>> text=\"yes\" default=\"\"\"$default-popup-state$\"\"\">\n<$button class=\"tc-btn-invisible tc-btn-dropdown\" set=<<popup-state>> setTo=\"yes\">\n{{$:/core/images/right-arrow}}\n</$button>\n</$reveal>\n<$reveal type=\"match\" state=<<popup-state>> text=\"yes\" default=\"\"\"$default-popup-state$\"\"\">\n<$button class=\"tc-btn-invisible tc-btn-dropdown\" set=<<popup-state>> setTo=\"no\">\n{{$:/core/images/down-arrow}}\n</$button>\n</$reveal>\n</div>\n<div class=\"tc-plugin-info-chunk\">\n<$transclude tiddler=<<currentTiddler>> subtiddler=<<plugin-icon-title>>>\n<$transclude tiddler=\"$:/core/images/plugin-generic-$type$\"/>\n</$transclude>\n</div>\n<div class=\"tc-plugin-info-chunk\">\n<h1>\n''<$view field=\"description\"><$view field=\"title\"/></$view>'' $disabledMessage$\n</h1>\n<h2>\n<$view field=\"title\"/>\n</h2>\n<h2>\n<div><em><$view field=\"version\"/></em></div>\n</h2>\n</div>\n\\end\n\n\\define plugin-info(type,default-popup-state)\n<$set name=\"popup-state\" value=<<popup-state-macro>>>\n<$reveal type=\"nomatch\" state=<<plugin-disable-title>> text=\"yes\">\n<$link to={{!!title}} class=\"tc-plugin-info\">\n<<plugin-table-body type:\"$type$\" default-popup-state:\"\"\"$default-popup-state$\"\"\">>\n</$link>\n</$reveal>\n<$reveal type=\"match\" state=<<plugin-disable-title>> text=\"yes\">\n<$link to={{!!title}} class=\"tc-plugin-info tc-plugin-info-disabled\">\n<<plugin-table-body type:\"$type$\" default-popup-state:\"\"\"$default-popup-state$\"\"\" disabledMessage:\"<$macrocall $name='lingo' title='Disabled/Status'/>\">>\n</$link>\n</$reveal>\n<$reveal type=\"match\" text=\"yes\" state=<<popup-state>> default=\"\"\"$default-popup-state$\"\"\">\n<div class=\"tc-plugin-info-dropdown\">\n<div class=\"tc-plugin-info-dropdown-body\">\n<$list filter=\"[all[current]] -[[$:/core]]\">\n<div style=\"float:right;\">\n<$reveal type=\"nomatch\" state=<<plugin-disable-title>> text=\"yes\">\n<$button set=<<plugin-disable-title>> setTo=\"yes\" tooltip={{$:/language/ControlPanel/Plugins/Disable/Hint}} aria-label={{$:/language/ControlPanel/Plugins/Disable/Caption}}>\n<<lingo Disable/Caption>>\n</$button>\n</$reveal>\n<$reveal type=\"match\" state=<<plugin-disable-title>> text=\"yes\">\n<$button set=<<plugin-disable-title>> setTo=\"no\" tooltip={{$:/language/ControlPanel/Plugins/Enable/Hint}} aria-label={{$:/language/ControlPanel/Plugins/Enable/Caption}}>\n<<lingo Enable/Caption>>\n</$button>\n</$reveal>\n</div>\n</$list>\n<$set name=\"tabsList\" filter=\"[<currentTiddler>list[]] contents\">\n<$macrocall $name=\"tabs\" state=<<tabs-state-macro>> tabsList=<<tabsList>> default={{{ [enlist<tabsList>] }}} template=\"$:/core/ui/PluginInfo\"/>\n</$set>\n</div>\n</div>\n</$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": "<$link>\n<$set name=\"backgroundColor\" value={{!!color}}>\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": "{{$:/language/ControlPanel/Advanced/Hint}}\n\n<div class=\"tc-control-panel\">\n<<tabs \"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Advanced]!has[draft.of]]\" \"$:/core/ui/ControlPanel/TiddlerFields\">>\n</div>\n" }, "$:/core/ui/ControlPanel/Appearance": { "title": "$:/core/ui/ControlPanel/Appearance", "tags": "$:/tags/ControlPanel", "caption": "{{$:/language/ControlPanel/Appearance/Caption}}", "text": "{{$:/language/ControlPanel/Appearance/Hint}}\n\n<div class=\"tc-control-panel\">\n<<tabs \"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Appearance]!has[draft.of]]\" \"$:/core/ui/ControlPanel/Theme\">>\n</div>\n" }, "$:/core/ui/ControlPanel/Basics": { "title": "$:/core/ui/ControlPanel/Basics", "tags": "$:/tags/ControlPanel/Info", "caption": "{{$:/language/ControlPanel/Basics/Caption}}", "text": "\\define lingo-base() $:/language/ControlPanel/Basics/\n\n\\define show-filter-count(filter)\n<$button class=\"tc-btn-invisible\">\n<$action-setfield $tiddler=\"$:/temp/advancedsearch\" $value=\"\"\"$filter$\"\"\"/>\n<$action-setfield $tiddler=\"$:/state/tab--1498284803\" $value=\"$:/core/ui/AdvancedSearch/Filter\"/>\n<$action-navigate $to=\"$:/AdvancedSearch\"/>\n''<$count filter=\"\"\"$filter$\"\"\"/>''\n{{$:/core/images/advanced-search-button}}\n</$button>\n\\end\n\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\"/> |\n|<$link to=\"$:/DefaultTiddlers\"><<lingo DefaultTiddlers/Prompt>></$link> |<<lingo DefaultTiddlers/TopHint>><br> <$edit tag=\"textarea\" tiddler=\"$:/DefaultTiddlers\" class=\"tc-edit-texteditor\"/><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\" tag=\"textarea\" class=\"tc-edit-texteditor\" default=\"\"/> |\n|<$link to=\"$:/config/NewJournal/Tags\"><<lingo NewJournal/Tags/Prompt>></$link> |<$edit-text tiddler=\"$:/config/NewJournal/Tags\" default=\"\" tag=\"input\"/> |\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/EditorTypes": { "title": "$:/core/ui/ControlPanel/EditorTypes", "tags": "$:/tags/ControlPanel/Advanced", "caption": "{{$:/language/ControlPanel/EditorTypes/Caption}}", "text": "\\define lingo-base() $:/language/ControlPanel/EditorTypes/\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": "{{$:/language/ControlPanel/Info/Hint}}\n\n<div class=\"tc-control-panel\">\n<<tabs \"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Info]!has[draft.of]]\" \"$:/core/ui/ControlPanel/Basics\">>\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<div class=\"tc-dropdown-item-plain\">\n<$edit-shortcut tiddler=\"$title$\" placeholder={{$:/language/ControlPanel/KeyboardShortcuts/Add/Prompt}} focus=\"true\" style=\"width:auto;\"/> <$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<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<$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 filter=\"[list[$(shortcutTitle)$!!text]sort[title]]\" variable=\"shortcut\" emptyMessage=\"\"\"\n<div class=\"tc-dropdown-item-plain\">\n//<<lingo NoShortcuts/Caption>>//\n</div>\n\"\"\">\n<div class=\"tc-dropdown-item-plain\">\n<$button class=\"tc-btn-invisible\" tooltip=<<lingo Remove/Hint>>>\n<$action-listops\n\t$tiddler=\"$(shortcutTitle)$\"\n\t$field=\"text\"\n\t$subfilter=\"+[remove<shortcut>]\"\n/>\n×\n</$button>\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<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<<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<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''<$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<$set name=\"dropdownStateTitle\" value=<<qualify \"$:/state/dropdown/keyboardshortcut/$(shortcutName)$\">>>\n<<shortcut-item-inner>>\n</$set>\n\\end\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-button()\n<$button>\n<$action-sendmessage $message=\"tm-load-plugin-from-library\" url={{!!url}} title={{$(assetInfo)$!!original-title}}/>\n<$list filter=\"[<assetInfo>get[original-title]get[version]]\" variable=\"installedVersion\" emptyMessage=\"\"\"{{$:/language/ControlPanel/Plugins/Install/Caption}}\"\"\">\n{{$:/language/ControlPanel/Plugins/Reinstall/Caption}}\n</$list>\n</$button>\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<$set name=\"popup-state\" value=<<popup-state-macro>>>\n<div class=\"tc-plugin-info\">\n<div class=\"tc-plugin-info-chunk tc-small-icon\">\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/right-arrow}}\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/down-arrow}}\n</$button>\n</$reveal>\n</div>\n<div class=\"tc-plugin-info-chunk\">\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\">\n<h1><$view tiddler=<<assetInfo>> field=\"description\"/></h1>\n<h2><$view tiddler=<<assetInfo>> field=\"original-title\"/></h2>\n<div><em><$view tiddler=<<assetInfo>> field=\"version\"/></em></div>\n</div>\n<div class=\"tc-plugin-info-chunk\">\n<<install-plugin-button>>\n</div>\n</div>\n<$reveal type=\"match\" text=\"yes\" state=<<popup-state>>>\n<div class=\"tc-plugin-info-dropdown\">\n<div class=\"tc-plugin-info-dropdown-message\">\n<$list filter=\"[<assetInfo>get[original-title]get[version]]\" variable=\"installedVersion\" emptyMessage=\"\"\"{{$:/language/ControlPanel/Plugins/NotInstalled/Hint}}\"\"\">\n<em>\n{{$:/language/ControlPanel/Plugins/AlreadyInstalled/Hint}}\n</em>\n</$list>\n</div>\n<div class=\"tc-plugin-info-dropdown-body\">\n<$transclude tiddler=<<assetInfo>> field=\"readme\" mode=\"block\"/>\n</div>\n</div>\n</$reveal>\n</$set>\n\\end\n\n\\define load-plugin-library-button()\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}} {{$:/language/ControlPanel/Plugins/OpenPluginLibrary}}\n</$button>\n\\end\n\n\\define display-server-assets(type)\n{{$:/language/Search/Search}}: <$edit-text tiddler=\"\"\"$:/temp/RemoteAssetSearch/$(currentTiddler)$\"\"\" default=\"\" type=\"search\" tag=\"input\"/>\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[description]]\" variable=\"assetInfo\">\n<<display-plugin-info \"$type$\">>\n</$list>\n</div>\n\\end\n\n\\define display-server-connection()\n<$list filter=\"[all[tiddlers+shadows]tag[$:/tags/ServerConnection]suffix{!!url}]\" variable=\"connectionTiddler\" emptyMessage=<<load-plugin-library-button>>>\n\n<<tabs \"[[$:/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</$list>\n\\end\n\n\\define close-library-button()\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}} {{$:/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<$list filter=\"[all[tiddlers+shadows]tag[$:/tags/PluginLibrary]]\">\n<div class=\"tc-plugin-library\">\n\n!! <$link><$transclude field=\"caption\"><$view field=\"title\"/></$transclude></$link>\n\n//<$view field=\"url\"/>//\n\n<$transclude/>\n\n<$set name=PluginLibraryURL value={{!!url}}>\n<<close-library-button>>\n</$set>\n\n<<display-server-connection>>\n</div>\n</$list>\n\\end\n\n\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\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<$checkbox\ntiddler=\"\"\"$:/config/WikiParserRules/$Type$/$(rule)$\"\"\"\nfield=\"text\"\nchecked=\"enable\"\nunchecked=\"disable\"\ndefault=\"enable\">\n<<rule>>\n</$checkbox>\n\\end\n\n\\define rules(type,Type)\n<$list filter=\"[wikiparserrules[$type$]]\" variable=\"rule\">\n<dd><<toggle $Type$>></dd>\n</$list>\n\\end\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/AddPlugins": { "title": "$:/core/ui/ControlPanel/Plugins/AddPlugins", "text": "\\define lingo-base() $:/language/ControlPanel/Plugins/\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}} <<lingo Add/Caption>>\n</$button>\n" }, "$:/core/ui/ControlPanel/Plugins/Installed/Languages": { "title": "$:/core/ui/ControlPanel/Plugins/Installed/Languages", "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", "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", "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<$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[description]]\" 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<<tabs \"[[$:/core/ui/ControlPanel/Plugins/Installed/Plugins]] [[$:/core/ui/ControlPanel/Plugins/Installed/Themes]] [[$:/core/ui/ControlPanel/Plugins/Installed/Languages]]\" \"$:/core/ui/ControlPanel/Plugins/Installed/Plugins\">>\n" }, "$:/core/ui/ControlPanel/Saving/DownloadSaver": { "title": "$:/core/ui/ControlPanel/Saving/DownloadSaver", "tags": "$:/tags/ControlPanel/Saving", "caption": "{{$:/language/ControlPanel/Saving/DownloadSaver/Caption}}", "text": "\\define lingo-base() $:/language/ControlPanel/Saving/DownloadSaver/\n\n<<lingo Hint>>\n\n!! <$link to=\"$:/config/DownloadSaver/AutoSave\"><<lingo AutoSave/Hint>></$link>\n\n<$checkbox tiddler=\"$:/config/DownloadSaver/AutoSave\" field=\"text\" checked=\"yes\" unchecked=\"no\" default=\"no\"> <<lingo AutoSave/Description>> </$checkbox>\n" }, "$:/core/ui/ControlPanel/Saving/General": { "title": "$:/core/ui/ControlPanel/Saving/General", "tags": "$:/tags/ControlPanel/Saving", "caption": "{{$:/language/ControlPanel/Saving/General/Caption}}", "list-before": "", "text": "\\define lingo-base() $:/language/ControlPanel/Settings/\n\n{{$:/language/ControlPanel/Saving/General/Hint}}\n\n!! <$link to=\"$:/config/AutoSave\"><<lingo AutoSave/Caption>></$link>\n\n<<lingo AutoSave/Hint>>\n\n<$radio tiddler=\"$:/config/AutoSave\" value=\"yes\"> <<lingo AutoSave/Enabled/Description>> </$radio>\n\n<$radio tiddler=\"$:/config/AutoSave\" value=\"no\"> <<lingo AutoSave/Disabled/Description>> </$radio>\n" }, "$:/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=\"master\" 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\"/> |" }, "$:/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\"/> |" }, "$:/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 backupURL()\nhttp://$(userName)$.tiddlyspot.com/backup/\n\\end\n\\define backupLink()\n<$reveal type=\"nomatch\" state=\"$:/UploadName\" text=\"\">\n<$set name=\"userName\" value={{$:/UploadName}}>\n<$reveal type=\"match\" state=\"$:/UploadURL\" text=\"\">\n<<backupURL>>\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|<<lingo Backups>> |<<backupLink>> |\n\n''<<lingo Advanced/Heading>>''\n\n|<<lingo ServerURL>> |<$edit-text tiddler=\"$:/UploadURL\" default=\"\" tag=\"input\"/> |\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>>" }, "$:/core/ui/ControlPanel/Saving": { "title": "$:/core/ui/ControlPanel/Saving", "tags": "$:/tags/ControlPanel", "caption": "{{$:/language/ControlPanel/Saving/Caption}}", "text": "{{$:/language/ControlPanel/Saving/Hint}}\n\n<div class=\"tc-control-panel\">\n<<tabs \"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Saving]!has[draft.of]]\" \"$:/core/ui/ControlPanel/Saving/General\">>\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": "\\define lingo-base() $:/language/ControlPanel/Settings/CamelCase/\n<<lingo Hint>>\n\n<$checkbox tiddler=\"$:/config/WikiParserRules/Inline/wikilink\" field=\"text\" checked=\"enable\" unchecked=\"disable\" default=\"enable\"> <$link to=\"$:/config/WikiParserRules/Inline/wikilink\"><<lingo Description>></$link> </$checkbox>\n" }, "$:/core/ui/ControlPanel/Settings/DefaultMoreSidebarTab": { "title": "$:/core/ui/ControlPanel/Settings/DefaultMoreSidebarTab", "caption": "{{$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Caption}}", "tags": "$:/tags/ControlPanel/Settings", "text": "\\define lingo-base() $:/language/ControlPanel/Settings/DefaultMoreSidebarTab/\n\n<$link to=\"$:/config/DefaultMoreSidebarTab\"><<lingo Hint>></$link>\n\n<$select tiddler=\"$:/config/DefaultMoreSidebarTab\">\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/MoreSideBar]!has[draft.of]]\">\n<option value=<<currentTiddler>>><$transclude field=\"caption\"><$text text=<<currentTiddler>>/></$transclude></option>\n</$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\n<$link to=\"$:/config/DefaultSidebarTab\"><<lingo Hint>></$link>\n\n<$select tiddler=\"$:/config/DefaultSidebarTab\">\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]\">\n<option value=<<currentTiddler>>><$transclude field=\"caption\"><$text text=<<currentTiddler>>/></$transclude></option>\n</$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": "\\define lingo-base() $:/language/ControlPanel/Settings/EditorToolbar/\n<<lingo Hint>>\n\n<$checkbox tiddler=\"$:/config/TextEditor/EnableToolbar\" field=\"text\" checked=\"yes\" unchecked=\"no\" default=\"yes\"> <$link to=\"$:/config/TextEditor/EnableToolbar\"><<lingo Description>></$link> </$checkbox>\n\n" }, "$:/core/ui/ControlPanel/Settings/InfoPanelMode": { "title": "$:/core/ui/ControlPanel/Settings/InfoPanelMode", "tags": "$:/tags/ControlPanel/Settings", "caption": "{{$:/language/ControlPanel/Settings/InfoPanelMode/Caption}}", "text": "\\define lingo-base() $:/language/ControlPanel/Settings/InfoPanelMode/\n<$link to=\"$:/config/TiddlerInfo/Mode\"><<lingo Hint>></$link>\n\n<$radio tiddler=\"$:/config/TiddlerInfo/Mode\" value=\"popup\"> <<lingo Popup/Description>> </$radio>\n\n<$radio tiddler=\"$:/config/TiddlerInfo/Mode\" value=\"sticky\"> <<lingo Sticky/Description>> </$radio>\n" }, "$:/core/ui/ControlPanel/Settings/LinkToBehaviour": { "title": "$:/core/ui/ControlPanel/Settings/LinkToBehaviour", "tags": "$:/tags/ControlPanel/Settings", "caption": "{{$:/language/ControlPanel/Settings/LinkToBehaviour/Caption}}", "text": "\\define lingo-base() $:/language/ControlPanel/Settings/LinkToBehaviour/\n\n<$link to=\"$:/config/Navigation/openLinkFromInsideRiver\"><<lingo \"InsideRiver/Hint\">></$link>\n\n<$select tiddler=\"$:/config/Navigation/openLinkFromInsideRiver\">\n <option value=\"above\"><<lingo \"OpenAbove\">></option>\n <option value=\"below\"><<lingo \"OpenBelow\">></option>\n <option value=\"top\"><<lingo \"OpenAtTop\">></option>\n <option value=\"bottom\"><<lingo \"OpenAtBottom\">></option>\n</$select>\n\n<$link to=\"$:/config/Navigation/openLinkFromOutsideRiver\"><<lingo \"OutsideRiver/Hint\">></$link>\n\n<$select tiddler=\"$:/config/Navigation/openLinkFromOutsideRiver\">\n <option value=\"top\"><<lingo \"OpenAtTop\">></option>\n <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": "\\define lingo-base() $:/language/ControlPanel/Settings/MissingLinks/\n<<lingo Hint>>\n\n<$checkbox tiddler=\"$:/config/MissingLinks\" field=\"text\" checked=\"yes\" unchecked=\"no\" default=\"yes\"> <$link to=\"$:/config/MissingLinks\"><<lingo Description>></$link> </$checkbox>\n\n" }, "$:/core/ui/ControlPanel/Settings/NavigationAddressBar": { "title": "$:/core/ui/ControlPanel/Settings/NavigationAddressBar", "tags": "$:/tags/ControlPanel/Settings", "caption": "{{$:/language/ControlPanel/Settings/NavigationAddressBar/Caption}}", "text": "\\define lingo-base() $:/language/ControlPanel/Settings/NavigationAddressBar/\n\n<$link to=\"$:/config/Navigation/UpdateAddressBar\"><<lingo Hint>></$link>\n\n<$radio tiddler=\"$:/config/Navigation/UpdateAddressBar\" value=\"permaview\"> <<lingo Permaview/Description>> </$radio>\n\n<$radio tiddler=\"$:/config/Navigation/UpdateAddressBar\" value=\"permalink\"> <<lingo Permalink/Description>> </$radio>\n\n<$radio tiddler=\"$:/config/Navigation/UpdateAddressBar\" value=\"no\"> <<lingo No/Description>> </$radio>\n" }, "$:/core/ui/ControlPanel/Settings/NavigationHistory": { "title": "$:/core/ui/ControlPanel/Settings/NavigationHistory", "tags": "$:/tags/ControlPanel/Settings", "caption": "{{$:/language/ControlPanel/Settings/NavigationHistory/Caption}}", "text": "\\define lingo-base() $:/language/ControlPanel/Settings/NavigationHistory/\n<$link to=\"$:/config/Navigation/UpdateHistory\"><<lingo Hint>></$link>\n\n<$radio tiddler=\"$:/config/Navigation/UpdateHistory\" value=\"yes\"> <<lingo Yes/Description>> </$radio>\n\n<$radio tiddler=\"$:/config/Navigation/UpdateHistory\" value=\"no\"> <<lingo No/Description>> </$radio>\n" }, "$:/core/ui/ControlPanel/Settings/NavigationPermalinkviewMode": { "title": "$:/core/ui/ControlPanel/Settings/NavigationPermalinkviewMode", "tags": "$:/tags/ControlPanel/Settings", "caption": "{{$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Caption}}", "text": "\\define lingo-base() $:/language/ControlPanel/Settings/NavigationPermalinkviewMode/\n<<lingo Hint>>\n\n<$checkbox tiddler=\"$:/config/Navigation/Permalinkview/CopyToClipboard\" field=\"text\" checked=\"yes\" unchecked=\"no\" default=\"yes\"> <$link to=\"$:/config/Navigation/Permalinkview/CopyToClipboard\"><<lingo CopyToClipboard/Description>></$link> </$checkbox>\n\n<$checkbox tiddler=\"$:/config/Navigation/Permalinkview/UpdateAddressBar\" field=\"text\" checked=\"yes\" unchecked=\"no\" default=\"yes\"> <$link to=\"$:/config/Navigation/Permalinkview/UpdateAddressBar\"><<lingo UpdateAddressBar/Description>></$link> </$checkbox>\n" }, "$:/core/ui/ControlPanel/Settings/PerformanceInstrumentation": { "title": "$:/core/ui/ControlPanel/Settings/PerformanceInstrumentation", "tags": "$:/tags/ControlPanel/Settings", "caption": "{{$:/language/ControlPanel/Settings/PerformanceInstrumentation/Caption}}", "text": "\\define lingo-base() $:/language/ControlPanel/Settings/PerformanceInstrumentation/\n<<lingo Hint>>\n\n<$checkbox tiddler=\"$:/config/Performance/Instrumentation\" field=\"text\" checked=\"yes\" unchecked=\"no\" default=\"no\"> <$link to=\"$:/config/Performance/Instrumentation\"><<lingo Description>></$link> </$checkbox>\n" }, "$:/core/ui/ControlPanel/Settings/TitleLinks": { "title": "$:/core/ui/ControlPanel/Settings/TitleLinks", "tags": "$:/tags/ControlPanel/Settings", "caption": "{{$:/language/ControlPanel/Settings/TitleLinks/Caption}}", "text": "\\define lingo-base() $:/language/ControlPanel/Settings/TitleLinks/\n<$link to=\"$:/config/Tiddlers/TitleLinks\"><<lingo Hint>></$link>\n\n<$radio tiddler=\"$:/config/Tiddlers/TitleLinks\" value=\"yes\"> <<lingo Yes/Description>> </$radio>\n\n<$radio tiddler=\"$:/config/Tiddlers/TitleLinks\" value=\"no\"> <<lingo No/Description>> </$radio>\n" }, "$:/core/ui/ControlPanel/Settings/ToolbarButtonStyle": { "title": "$:/core/ui/ControlPanel/Settings/ToolbarButtonStyle", "tags": "$:/tags/ControlPanel/Settings", "caption": "{{$:/language/ControlPanel/Settings/ToolbarButtonStyle/Caption}}", "text": "\\define lingo-base() $:/language/ControlPanel/Settings/ToolbarButtonStyle/\n<$link to=\"$:/config/Toolbar/ButtonClass\"><<lingo \"Hint\">></$link>\n\n<$select tiddler=\"$:/config/Toolbar/ButtonClass\">\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/ToolbarButtonStyle]]\">\n<option value={{!!text}}>{{!!caption}}</option>\n</$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": "\\define lingo-base() $:/language/ControlPanel/Settings/ToolbarButtons/\n<<lingo Hint>>\n\n<$checkbox tiddler=\"$:/config/Toolbar/Icons\" field=\"text\" checked=\"yes\" unchecked=\"no\" default=\"yes\"> <$link to=\"$:/config/Toolbar/Icons\"><<lingo Icons/Description>></$link> </$checkbox>\n\n<$checkbox tiddler=\"$:/config/Toolbar/Text\" field=\"text\" checked=\"yes\" unchecked=\"no\" default=\"no\"> <$link to=\"$:/config/Toolbar/Text\"><<lingo Text/Description>></$link> </$checkbox>\n" }, "$:/core/ui/ControlPanel/Settings": { "title": "$:/core/ui/ControlPanel/Settings", "tags": "$:/tags/ControlPanel", "caption": "{{$:/language/ControlPanel/Settings/Caption}}", "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 style=\"border-top:1px solid #eee;\">\n\n!! <$link><$transclude field=\"caption\"/></$link>\n\n<$transclude/>\n\n</div>\n\n</$list>\n" }, "$:/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/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/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\n<$draggable tiddler=<<currentTiddler>>>\n<$checkbox tiddler=<<config-title>> field=\"text\" checked=\"show\" unchecked=\"hide\" default=\"show\"/> <span class=\"tc-icon-wrapper\"><$transclude tiddler={{!!icon}}/></span> <$transclude field=\"caption\"/> -- <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\n<$draggable tiddler=<<currentTiddler>>>\n<$checkbox tiddler=<<config-title>> field=\"text\" checked=\"show\" unchecked=\"hide\" default=\"show\"/> <span class=\"tc-icon-wrapper\"> <$transclude field=\"caption\"/> <i class=\"tc-muted\">-- <$transclude field=\"description\"/></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": "{{$:/language/ControlPanel/Toolbars/Hint}}\n\n<div class=\"tc-control-panel\">\n<<tabs \"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Toolbars]!has[draft.of]]\" \"$:/core/ui/ControlPanel/Toolbars/ViewToolbar\" \"$:/state/tabs/controlpanel/toolbars\" \"tc-vertical\">>\n</div>\n" }, "$:/ControlPanel": { "title": "$:/ControlPanel", "icon": "$:/core/images/options-button", "color": "#bbb", "text": "<div class=\"tc-control-panel\">\n<<tabs \"[all[shadows+tiddlers]tag[$:/tags/ControlPanel]!has[draft.of]]\" \"$:/core/ui/ControlPanel/Info\">>\n</div>\n" }, "$:/core/ui/DefaultSearchResultList": { "title": "$:/core/ui/DefaultSearchResultList", "tags": "$:/tags/SearchResults", "caption": "{{$:/language/Search/DefaultResults/Caption}}", "text": "\\define searchResultList()\n//<small>{{$:/language/Search/Matches/Title}}</small>//\n\n<$list filter=\"[!is[system]search:title{$(searchTiddler)$}sort[title]limit[250]]\" template=\"$:/core/ui/ListItemTemplate\"/>\n\n//<small>{{$:/language/Search/Matches/All}}</small>//\n\n<$list filter=\"[!is[system]search{$(searchTiddler)$}sort[title]limit[250]]\" template=\"$:/core/ui/ListItemTemplate\"/>\n\n\\end\n<<searchResultList>>\n" }, "$:/core/ui/EditTemplate/body/preview/diffs-current": { "title": "$:/core/ui/EditTemplate/body/preview/diffs-current", "tags": "$:/tags/EditPreview", "caption": "differences from current", "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": "differences from shadow (if any)", "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": "<$set name=\"tv-tiddler-preview\" value=\"yes\">\n\n<$transclude />\n\n</$set>\n" }, "$:/state/showeditpreview": { "title": "$:/state/showeditpreview", "text": "no" }, "$:/core/ui/EditTemplate/body/editor": { "title": "$:/core/ui/EditTemplate/body/editor", "text": "<$edit\n\n field=\"text\"\n class=\"tc-edit-texteditor\"\n placeholder={{$:/language/EditTemplate/Body/Placeholder}}\n tabindex={{$:/config/EditTabIndex}}\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></$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><$button\n\n class=\"tc-btn-invisible $(buttonClasses)$\"\n tooltip=<<tooltip-text>>\n actions={{!!actions}}\n\n><span\n\n data-tw-keyboard-shortcut={{!!shortcuts}}\n\n/><<toolbar-button-icon>><$transclude\n\n tiddler=<<currentTiddler>>\n field=\"text\"\n\n/></$button></$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><$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\n><span\n\n data-tw-keyboard-shortcut={{!!shortcuts}}\n\n/><<toolbar-button-icon>><$transclude\n\n tiddler=<<currentTiddler>>\n field=\"text\"\n\n/></$button><$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": "\\define lingo-base() $:/language/EditTemplate/Body/\n\\define config-visibility-title()\n$:/config/EditorToolbarButtons/Visibility/$(currentTiddler)$\n\\end\n<$list filter=\"[all[current]has[_canonical_uri]]\">\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}}></$edit-text>\n\n</div>\n\n</$list>\n\n<$list filter=\"[all[current]!has[_canonical_uri]]\">\n\n<$reveal state=\"$:/state/showeditpreview\" type=\"match\" text=\"yes\">\n\n<div class=\"tc-tiddler-preview\">\n\n<$transclude tiddler=\"$:/core/ui/EditTemplate/body/editor\" mode=\"inline\"/>\n\n<div class=\"tc-tiddler-preview-preview\">\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</div>\n\n</$reveal>\n\n<$reveal state=\"$:/state/showeditpreview\" type=\"nomatch\" text=\"yes\">\n\n<$transclude tiddler=\"$:/core/ui/EditTemplate/body/editor\" mode=\"inline\"/>\n\n</$reveal>\n\n</$list>\n" }, "$:/core/ui/EditTemplate/controls": { "title": "$:/core/ui/EditTemplate/controls", "tags": "$:/tags/EditTemplate", "text": "\\define config-title()\n$:/config/EditToolbarButtons/Visibility/$(listItem)$\n\\end\n<div class=\"tc-tiddler-title tc-tiddler-edit-title\">\n<$view field=\"title\"/>\n<span class=\"tc-tiddler-controls tc-titlebar\"><$list filter=\"[all[shadows+tiddlers]tag[$:/tags/EditToolbar]!has[draft.of]]\" variable=\"listItem\"><$reveal type=\"nomatch\" state=<<config-title>> text=\"hide\"><$transclude tiddler=<<listItem>>/></$reveal></$list></span>\n<div style=\"clear: both;\"></div>\n</div>\n" }, "$:/core/ui/EditTemplate/fields": { "title": "$:/core/ui/EditTemplate/fields", "tags": "$:/tags/EditTemplate", "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>\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>\n<<lingo Fields/Add/Button>>\n</$button>\n</$reveal>\n</$vars>\n\\end\n\\whitespace trim\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\" storyview=\"pop\">\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}} tabindex={{$:/config/EditTabIndex}}/>\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\">\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\" tabindex={{$:/config/EditTabIndex}}/>\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<$set name=\"tv-show-missing-links\" value=\"yes\">\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</$set>\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\" tabindex={{$:/config/EditTabIndex}}/>\n</span>\n<span class=\"tc-edit-field-add-button\">\n<$macrocall $name=\"new-field\"/>\n</span>\n</div>\n</$fieldmangler>\n" }, "$:/core/ui/EditTemplate/shadow": { "title": "$:/core/ui/EditTemplate/shadow", "tags": "$:/tags/EditTemplate", "text": "\\define lingo-base() $:/language/EditTemplate/Shadow/\n\\define pluginLinkBody()\n<$link to=\"\"\"$(pluginTitle)$\"\"\">\n<$text text=\"\"\"$(pluginTitle)$\"\"\"/>\n</$link>\n\\end\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\\define lingo-base() $:/language/EditTemplate/\n\n\\define tag-styles()\nbackground-color:$(backgroundColor)$;\nfill:$(foregroundColor)$;\ncolor:$(foregroundColor)$;\n\\end\n\n\\define tag-body-inner(colour,fallbackTarget,colourA,colourB,icon)\n\\whitespace trim\n<$vars foregroundColor=<<contrastcolour target:\"\"\"$colour$\"\"\" fallbackTarget:\"\"\"$fallbackTarget$\"\"\" colourA:\"\"\"$colourA$\"\"\" colourB:\"\"\"$colourB$\"\"\">> backgroundColor=\"\"\"$colour$\"\"\">\n<span style=<<tag-styles>> class=\"tc-tag-label tc-tag-list-item\">\n<$transclude tiddler=\"\"\"$icon$\"\"\"/> <$view field=\"title\" format=\"text\" />\n<$button message=\"tm-remove-tag\" param={{!!title}} class=\"tc-btn-invisible tc-remove-tag-button\">{{$:/core/images/close-button}}</$button>\n</span>\n</$vars>\n\\end\n\n\\define tag-body(colour,palette,icon)\n<$macrocall $name=\"tag-body-inner\" colour=\"\"\"$colour$\"\"\" fallbackTarget={{$palette$##tag-background}} colourA={{$palette$##foreground}} colourB={{$palette$##background}} icon=\"\"\"$icon$\"\"\"/>\n\\end\n\n\\define tag-picker-actions()\n<$action-listops\n\t$tiddler=<<currentTiddler>>\n\t$field=\"tags\"\n\t$subfilter=\"[<tag>] [all[current]tags[]]\"\n/>\n\\end\n\n<div class=\"tc-edit-tags\">\n<$fieldmangler>\n<$list filter=\"[all[current]tags[]sort[title]]\" storyview=\"pop\">\n<$macrocall $name=\"tag-body\" colour={{!!color}} palette={{$:/palette}} icon={{!!icon}}/>\n</$list>\n</$fieldmangler>\n<$set name=\"tabIndex\" value={{$:/config/EditTabIndex}}>\n<$macrocall $name=\"tag-picker\" actions=<<tag-picker-actions>>/>\n</$set>\n</div>\n" }, "$:/core/ui/EditTemplate/title": { "title": "$:/core/ui/EditTemplate/title", "tags": "$:/tags/EditTemplate", "text": "<$edit-text field=\"draft.title\" class=\"tc-titlebar tc-edit-texteditor\" focus=\"true\" tabindex={{$:/config/EditTabIndex}}/>\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}} {{$:/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}} {{$:/language/EditTemplate/Title/Exists/Prompt}}\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\"> {{$:/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\">{{$:/core/images/right-arrow}} \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\">{{$:/core/images/down-arrow}} \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", "text": "\\define lingo-base() $:/language/EditTemplate/\n<div class=\"tc-type-selector\"><$fieldmangler>\n<em class=\"tc-edit\"><<lingo Type/Prompt>></em> <$edit-text field=\"type\" tag=\"input\" default=\"\" placeholder={{$:/language/EditTemplate/Type/Placeholder}} focusPopup=<<qualify \"$:/state/popup/type-dropdown\">> class=\"tc-edit-typeeditor tc-popup-handle\" tabindex={{$:/config/EditTabIndex}}/> <$button popup=<<qualify \"$:/state/popup/type-dropdown\">> class=\"tc-btn-invisible tc-btn-dropdown\" 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}}</$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<$list filter=\"[all[shadows+tiddlers]prefix[$:/language/Docs/Types/]group{!!group}] +[sort[description]]\"><$link to={{!!name}}><$view field=\"description\"/> (<$view field=\"name\"/>)</$link>\n</$list>\n</$list>\n</$linkcatcher>\n</div>\n</$reveal>\n</$set>\n</div>\n" }, "$:/core/ui/EditTemplate": { "title": "$:/core/ui/EditTemplate", "text": "\\define actions()\n<$action-sendmessage $message=\"tm-add-tag\" $param={{$:/temp/NewTagName}}/>\n<$action-deletetiddler $tiddler=\"$:/temp/NewTagName\"/>\n<$action-sendmessage $message=\"tm-add-field\" $name={{$:/temp/newfieldname}} $value={{$:/temp/newfieldvalue}}/>\n<$action-deletetiddler $tiddler=\"$:/temp/newfieldname\"/>\n<$action-deletetiddler $tiddler=\"$:/temp/newfieldvalue\"/>\n<$action-sendmessage $message=\"tm-save-tiddler\"/>\n\\end\n\\define frame-classes()\ntc-tiddler-frame tc-tiddler-edit-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$\n\\end\n<div class=<<frame-classes>> data-tiddler-title=<<currentTiddler>>>\n<$fieldmangler>\n<$set name=\"storyTiddler\" value=<<currentTiddler>>>\n<$keyboard key=\"((cancel-edit-tiddler))\" message=\"tm-cancel-tiddler\">\n<$keyboard key=\"((save-tiddler))\" actions=<<actions>>>\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/EditTemplate]!has[draft.of]]\" variable=\"listItem\">\n<$set name=\"tv-config-toolbar-class\" filter=\"[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]\">\n<$transclude tiddler=<<listItem>>/>\n</$set>\n</$list>\n</$keyboard>\n</$keyboard>\n</$set>\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": "<$button message=\"tm-cancel-tiddler\" tooltip={{$:/language/Buttons/Cancel/Hint}} aria-label={{$:/language/Buttons/Cancel/Caption}} class=<<tv-config-toolbar-class>>>\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/cancel-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/Cancel/Caption}}/></span>\n</$list>\n</$button>" }, "$:/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": "<$button message=\"tm-delete-tiddler\" tooltip={{$:/language/Buttons/Delete/Hint}} aria-label={{$:/language/Buttons/Delete/Caption}} class=<<tv-config-toolbar-class>>>\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/delete-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/Delete/Caption}}/></span>\n</$list>\n</$button>" }, "$:/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": "<$fieldmangler><$button tooltip={{$:/language/Buttons/Save/Hint}} aria-label={{$:/language/Buttons/Save/Caption}} class=<<tv-config-toolbar-class>>>\n<$action-sendmessage $message=\"tm-add-tag\" $param={{$:/temp/NewTagName}}/>\n<$action-deletetiddler $tiddler=\"$:/temp/NewTagName\"/>\n<$action-sendmessage $message=\"tm-add-field\" $name={{$:/temp/newfieldname}} $value={{$:/temp/newfieldvalue}}/>\n<$action-deletetiddler $tiddler=\"$:/temp/newfieldname\"/>\n<$action-deletetiddler $tiddler=\"$:/temp/newfieldvalue\"/>\n<$action-sendmessage $message=\"tm-save-tiddler\"/>\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/done-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/Save/Caption}}/></span>\n</$list>\n</$button></$fieldmangler>\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>type[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/>\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]]", "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/]] +[first[]]", "dropdown": "$:/core/ui/EditorToolbar/editor-height-dropdown", "text": "<$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''<<lingo Hint>>''\n\n<<lingo Caption/NewTitle>> <$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\"> <<lingo Caption/Tag>></$checkbox>\n\n<<lingo Caption/Replace>> <$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>> <$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]] +[first[]]", "shortcuts": "((excise))", "dropdown": "$:/core/ui/EditorToolbar/excise-dropdown", "text": "" }, "$:/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>type[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>type[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>type[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>type[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>type[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>type[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>type[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/>\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=\" \"/>\n\n<$entity entity=\"✓\"/>\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]]", "dropdown": "$:/core/ui/EditorToolbar/line-width-dropdown", "text": "<$text text={{$:/config/BitmapEditor/LineWidth}}/>" }, "$:/core/ui/EditorToolbar/link-dropdown": { "title": "$:/core/ui/EditorToolbar/link-dropdown", "text": "\\define lingo-base() $:/language/Buttons/Link/\n\n\\define add-link-actions()\n<$action-sendmessage $message=\"tm-edit-text-operation\" $param=\"make-link\" text={{$(linkTiddler)$}} />\n<$action-deletetiddler $tiddler=<<dropdown-state>> />\n<$action-deletetiddler $tiddler=<<searchTiddler>> />\n<$action-deletetiddler $tiddler=<<linkTiddler>> />\n\\end\n\n\\define external-link()\n<$button class=\"tc-btn-invisible\" style=\"width: auto; display: inline-block; background-colour: inherit;\" actions=<<add-link-actions>>>\n{{$:/core/images/chevron-right}}\n</$button>\n\\end\n\n\\define body(config-title)\n''<<lingo Hint>>''\n\n<$vars searchTiddler=\"\"\"$config-title$/search\"\"\" linkTiddler=\"\"\"$config-title$/link\"\"\" linktext=\"\" >\n\n<$vars linkTiddler=<<searchTiddler>>>\n<$keyboard key=\"ENTER\" actions=<<add-link-actions>>>\n<$edit-text tiddler=<<searchTiddler>> type=\"search\" tag=\"input\" focus=\"true\" placeholder={{$:/language/Search/Search}} default=\"\"/>\n<$reveal tag=\"span\" state=<<searchTiddler>> type=\"nomatch\" text=\"\">\n<<external-link>>\n<$button class=\"tc-btn-invisible\" style=\"width: auto; display: inline-block; background-colour: inherit;\">\n<$action-setfield $tiddler=<<searchTiddler>> text=\"\" />\n{{$:/core/images/close-button}}\n</$button>\n</$reveal>\n</$keyboard>\n</$vars>\n\n<$reveal tag=\"div\" state=<<searchTiddler>> type=\"nomatch\" text=\"\">\n\n<$linkcatcher actions=<<add-link-actions>> to=<<linkTiddler>>>\n\n{{$:/core/ui/SearchResults}}\n\n</$linkcatcher>\n\n</$reveal>\n\n</$vars>\n\n\\end\n\n<$macrocall $name=\"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>type[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>type[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/>\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>type[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>type[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>type[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>type[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/>\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<$list filter={{$(toolbarItem)$!!condition}} variable=\"condition\">\n<$transclude tiddler=\"$:/core/ui/EditTemplate/body/toolbar/button\" mode=\"inline\"/> <$transclude tiddler=<<toolbarItem>> field=\"description\"/>\n</$list>\n\\end\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=\" \"/>\n\n<$entity entity=\"✓\"/>\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]]", "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]]", "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<$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>type[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=\" \"/>\n\n<$entity entity=\"✓\"/>\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": "<$reveal state=\"$:/state/showeditpreview\" type=\"match\" text=\"yes\" tag=\"span\">\n{{$:/core/images/preview-open}}\n<$action-setfield $tiddler=\"$:/state/showeditpreview\" $value=\"no\"/>\n</$reveal>\n<$reveal state=\"$:/state/showeditpreview\" type=\"nomatch\" text=\"yes\" tag=\"span\">\n{{$:/core/images/preview-closed}}\n<$action-setfield $tiddler=\"$:/state/showeditpreview\" $value=\"yes\"/>\n</$reveal>\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>type[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]]", "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>>/> × <$text text=<<height>>/>\n\n</$button>\n\n</$set>\n\n</$set>\n\\end\n\n\\define toolbar-button-size(config-title)\n''{{$:/language/Buttons/Size/Hint}}''\n\n<<lingo Caption/Width>> <$edit-text tag=\"input\" tiddler=\"\"\"$config-title$/new-width\"\"\" default=<<tv-bitmap-editor-width>> focus=\"true\" size=\"8\"/> <<lingo Caption/Height>> <$edit-text tag=\"input\" tiddler=\"\"\"$config-title$/new-height\"\"\" default=<<tv-bitmap-editor-height>> size=\"8\"/> <$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]]", "dropdown": "$:/core/ui/EditorToolbar/size-dropdown", "text": "" }, "$:/core/ui/EditorToolbar/stamp-dropdown": { "title": "$:/core/ui/EditorToolbar/stamp-dropdown", "text": "\\define toolbar-button-stamp-inner()\n<$button tag=\"a\">\n\n<$list filter=\"[[$(snippetTitle)$]addsuffix[/prefix]is[missing]removesuffix[/prefix]addsuffix[/suffix]is[missing]]\">\n\n<$action-sendmessage\n\t$message=\"tm-edit-text-operation\"\n\t$param=\"replace-selection\"\n\ttext={{$(snippetTitle)$}}\n/>\n\n</$list>\n\n\n<$list filter=\"[[$(snippetTitle)$]addsuffix[/prefix]is[missing]removesuffix[/prefix]addsuffix[/suffix]!is[missing]] [[$(snippetTitle)$]addsuffix[/prefix]!is[missing]removesuffix[/prefix]addsuffix[/suffix]is[missing]] [[$(snippetTitle)$]addsuffix[/prefix]!is[missing]removesuffix[/prefix]addsuffix[/suffix]!is[missing]]\">\n\n<$action-sendmessage\n\t$message=\"tm-edit-text-operation\"\n\t$param=\"wrap-selection\"\n\tprefix={{{ [[$(snippetTitle)$]addsuffix[/prefix]get[text]] }}}\nsuffix={{{ [[$(snippetTitle)$]addsuffix[/suffix]get[text]] }}}\n/>\n\n</$list>\n\n<$action-deletetiddler\n\t$tiddler=<<dropdown-state>>\n/>\n\n<$view tiddler=<<snippetTitle>> field=\"caption\" mode=\"inline\">\n\n<$view tiddler=<<snippetTitle>> field=\"title\" mode=\"inline\"/>\n\n</$view>\n\n</$button>\n\\end\n\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/TextEditor/Snippet]!has[draft.of]sort[caption]]\" variable=\"snippetTitle\">\n\n<<toolbar-button-stamp-inner>>\n\n</$list>\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/]] +[first[]]", "shortcuts": "((stamp))", "dropdown": "$:/core/ui/EditorToolbar/stamp-dropdown", "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>type[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/>\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>type[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/>\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>type[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/>\n" }, "$:/core/ui/EditorToolbar/transcludify": { "title": "$:/core/ui/EditorToolbar/transcludify", "caption": "{{$:/language/Buttons/Transcludify/Caption}}", "condition": "[<targetTiddler>!has[type]] [<targetTiddler>type[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/>\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>type[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/>\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()\nmessage-$(payloadTiddler)$\n\\end\n\n\\define selectionField()\nselection-$(payloadTiddler)$\n\\end\n\n\\define previewPopupState()\n$(currentTiddler)$!!popup-$(payloadTiddler)$\n\\end\n\n\\define select-all-actions()\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<table>\n<tbody>\n<tr>\n<th>\n<$checkbox tiddler=\"$:/state/import/select-all\" field=\"text\" checked=\"checked\" unchecked=\"unchecked\" default=\"checked\" actions=<<select-all-actions>>>\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>\n<td>\n<$checkbox field=<<selectionField>> checked=\"checked\" unchecked=\"unchecked\" default=\"checked\"/>\n</td>\n<td>\n<$reveal type=\"nomatch\" stateTitle=<<previewPopupState>> text=\"yes\" tag=\"div\">\n<$button class=\"tc-btn-invisible tc-btn-dropdown\" setTitle=<<previewPopupState>> setTo=\"yes\">\n{{$:/core/images/right-arrow}} <$text text=<<payloadTiddler>>/>\n</$button>\n</$reveal>\n<$reveal type=\"match\" stateTitle=<<previewPopupState>> text=\"yes\" tag=\"div\">\n<$button class=\"tc-btn-invisible tc-btn-dropdown\" setTitle=<<previewPopupState>> setTo=\"no\">\n{{$:/core/images/down-arrow}} <$text text=<<payloadTiddler>>/>\n</$button>\n</$reveal>\n</td>\n<td>\n<$view field=<<messageField>>/>\n</td>\n</tr>\n<tr>\n<td colspan=\"3\">\n<$reveal type=\"match\" text=\"yes\" stateTitle=<<previewPopupState>> tag=\"div\">\n<$list filter=\"[{$:/state/importpreviewtype}has[text]]\" variable=\"listItem\" emptyMessage={{$:/core/ui/ImportPreviews/Text}}>\n<$transclude tiddler={{$:/state/importpreviewtype}}/>\n</$list>\n</$reveal>\n</td>\n</tr>\n</$list>\n</tbody>\n</table>\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": "<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}}", "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": "<$navigator story=\"$:/StoryList\" history=\"$:/HistoryList\">\n<$action-navigate $to=\"$:/AdvancedSearch\"/>\n<$action-sendmessage $message=\"tm-focus-selector\" $param=\"\"\"[data-tiddler-title=\"$:/AdvancedSearch\"] .tc-search input\"\"\"/>\n</$navigator>\n" }, "$:/core/ui/KeyboardShortcuts/new-image": { "title": "$:/core/ui/KeyboardShortcuts/new-image", "tags": "$:/tags/KeyboardShortcut", "key": "((new-image))", "text": "<$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": "<$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": "<$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/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/KeyboardShortcut/toggle-sidebar": { "title": "$:/core/ui/KeyboardShortcut/toggle-sidebar", "tags": "$:/tags/KeyboardShortcut", "key": "((toggle-sidebar))", "text": "<$list filter=\"[[$:/state/sidebar]is[missing]] [{$:/state/sidebar}removeprefix[yes]]\" emptyMessage=\"\"\"\n<$action-setfield $tiddler=\"$:/state/sidebar\" text=\"yes\"/>\n\"\"\">\n<$action-setfield $tiddler=\"$:/state/sidebar\" text=\"no\"/>\n</$list>\n" }, "$:/core/ui/ListItemTemplate": { "title": "$:/core/ui/ListItemTemplate", "text": "<div class=\"tc-menu-list-item\">\n<$link to={{!!title}}>\n<$view field=\"title\"/>\n</$link>\n</div>" }, "$:/Manager/ItemMain/Fields": { "title": "$:/Manager/ItemMain/Fields", "tags": "$:/tags/Manager/ItemMain", "caption": "{{$:/language/Manager/Item/Fields}}", "text": "<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<$vars colour={{!!color}}>\n<p style=<<swatch-styles>>/>\n</$vars>\n<p>\n<$edit-text field=\"color\" tag=\"input\" type=\"color\"/> / <$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": "<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 $name=\"image-picker-include-tagged-images\" actions=\"\"\"\n<$action-setfield $field=\"icon\" $value=<<imageTitle>>/>\n<$action-deletetiddler $tiddler=<<qualify \"$:/state/popup/image-picker\">>/>\n\"\"\"/>\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": "\\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<$action-listops\n\t$tiddler=<<currentTiddler>>\n\t$field=\"tags\"\n\t$subfilter=\"[<tag>] [all[current]tags[]]\"\n/>\n\\end\n\n<p>\n<$list filter=\"[all[current]tags[]] [list[$:/config/Manager/RecentTags]] +[sort[title]] \" variable=\"tag\">\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<$macrocall $name=\"tag-picker\" actions=<<tag-picker-actions>>/>\n</p>\n" }, "$:/Manager/ItemSidebar/Tools": { "title": "$:/Manager/ItemSidebar/Tools", "tags": "$:/tags/Manager/ItemSidebar", "caption": "{{$:/language/Manager/Item/Tools}}", "text": "<p>\n<$button to=<<currentTiddler>>>{{$:/core/images/link}} open</$button>\n</p>\n<p>\n<$button message=\"tm-edit-tiddler\" param=<<currentTiddler>>>{{$:/core/images/edit-button}} edit</$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<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}} <$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}} <$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<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>> <$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>> <$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>> <$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>> <$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<$checkbox tiddler=\"$:/config/Manager/Order\" field=\"text\" checked=\"reverse\" unchecked=\"forward\" default=\"forward\">\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{{$:/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": "<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<<tabs \"[all[shadows+tiddlers]tag[$:/tags/MoreSideBar/Plugins]!has[draft.of]]\" \"$:/core/ui/MoreSideBar/Plugins/Plugins\">>\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": "<$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{{$:/core/ui/Buttons/tag-manager}}\n\n</$set>\n\n</$set>\n\n</$set>\n\n<$list filter={{$:/core/Filters/AllTags!!filter}}>\n\n<$transclude tiddler=\"$:/core/ui/TagTemplate\"/>\n\n</$list>\n\n<hr class=\"tc-untagged-separator\">\n\n{{$:/core/ui/UntaggedTemplate}}\n" }, "$:/core/ui/MoreSideBar/Types": { "title": "$:/core/ui/MoreSideBar/Types", "tags": "$:/tags/MoreSideBar", "caption": "{{$:/language/SideBar/Types/Caption}}", "text": "<$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[description]]\" 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[description]]\" 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[description]]\" 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": "\\define control-panel-button(class)\n<$button to=\"$:/AdvancedSearch\" tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class=\"\"\"$(tv-config-toolbar-class)$ $class$\"\"\">\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/advanced-search-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/AdvancedSearch/Caption}}/></span>\n</$list>\n</$button>\n\\end\n\n<$list filter=\"[list[$:/StoryList]] +[field:title[$:/AdvancedSearch]]\" emptyMessage=<<control-panel-button>>>\n<<control-panel-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": "<$button message=\"tm-close-all-tiddlers\" tooltip={{$:/language/Buttons/CloseAll/Hint}} aria-label={{$:/language/Buttons/CloseAll/Caption}} class=<<tv-config-toolbar-class>>>\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/close-all-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/CloseAll/Caption}}/></span>\n</$list>\n</$button>" }, "$:/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": "\\define control-panel-button(class)\n<$button to=\"$:/ControlPanel\" tooltip={{$:/language/Buttons/ControlPanel/Hint}} aria-label={{$:/language/Buttons/ControlPanel/Caption}} class=\"\"\"$(tv-config-toolbar-class)$ $class$\"\"\">\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/options-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/ControlPanel/Caption}}/></span>\n</$list>\n</$button>\n\\end\n\n<$list filter=\"[list[$:/StoryList]] +[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": "<$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<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/locked-padlock}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/Encryption/ClearPassword/Caption}}/></span>\n</$list>\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<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/unlocked-padlock}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/Encryption/SetPassword/Caption}}/></span>\n</$list>\n</$button>\n</$reveal>" }, "$:/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": "<$macrocall $name=\"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": "<$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<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\" variable=\"listItem\">\n{{$:/core/images/fold-all-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/FoldAll/Caption}}/></span>\n</$list>\n</$button>" }, "$:/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": "<$button message=\"tm-full-screen\" tooltip={{$:/language/Buttons/FullScreen/Hint}} aria-label={{$:/language/Buttons/FullScreen/Caption}} class=<<tv-config-toolbar-class>>>\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/full-screen-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/FullScreen/Caption}}/></span>\n</$list>\n</$button>" }, "$:/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": "<$button message=\"tm-home\" tooltip={{$:/language/Buttons/Home/Hint}} aria-label={{$:/language/Buttons/Home/Caption}} class=<<tv-config-toolbar-class>>>\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/home-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/Home/Caption}}/></span>\n</$list>\n</$button>" }, "$:/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": "<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<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/import-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/Import/Caption}}/></span>\n</$list>\n</$button>\n<$browse tooltip={{$:/language/Buttons/Import/Hint}}/>\n</div>" }, "$:/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": "\\define flag-title()\n$(languagePluginTitle)$/icon\n\\end\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<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n<span class=\"tc-image-button\">\n<$set name=\"languagePluginTitle\" value={{$:/language}}>\n<$image source=<<flag-title>>/>\n</$set>\n</span>\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/Language/Caption}}/></span>\n</$list>\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>" }, "$:/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": "\\define manager-button(class)\n<$button to=\"$:/Manager\" tooltip={{$:/language/Buttons/Manager/Hint}} aria-label={{$:/language/Buttons/Manager/Caption}} class=\"\"\"$(tv-config-toolbar-class)$ $class$\"\"\">\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/list}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/Manager/Caption}}/></span>\n</$list>\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": "\\define config-title()\n$:/config/PageControlButtons/Visibility/$(listItem)$\n\\end\n<$button popup=<<qualify \"$:/state/popup/more\">> tooltip={{$:/language/Buttons/More/Hint}} aria-label={{$:/language/Buttons/More/Caption}} class=<<tv-config-toolbar-class>> selectedClass=\"tc-selected\">\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/down-arrow}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/More/Caption}}/></span>\n</$list>\n</$button><$reveal state=<<qualify \"$:/state/popup/more\">> type=\"popup\" position=\"below\" animate=\"yes\">\n\n<div class=\"tc-drop-down\">\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=\"tc-btn-invisible\">\n\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]] -[[$:/core/ui/Buttons/more-page-actions]]\" variable=\"listItem\">\n\n<$reveal type=\"match\" state=<<config-title>> text=\"hide\">\n\n<$set name=\"tv-config-toolbar-class\" filter=\"[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]\">\n\n<$transclude tiddler=<<listItem>> mode=\"inline\"/>\n\n</$set>\n\n</$reveal>\n\n</$list>\n\n</$set>\n\n</$set>\n\n</$set>\n\n</div>\n\n</$reveal>" }, "$:/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": "<$button tooltip={{$:/language/Buttons/NewImage/Hint}} aria-label={{$:/language/Buttons/NewImage/Caption}} class=<<tv-config-toolbar-class>> actions={{$:/core/ui/Actions/new-image}}>\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/new-image-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/NewImage/Caption}}/></span>\n</$list>\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": "\\define 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<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/new-journal-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/NewJournal/Caption}}/></span>\n</$list>\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": "<$button actions={{$:/core/ui/Actions/new-tiddler}} tooltip={{$:/language/Buttons/NewTiddler/Hint}} aria-label={{$:/language/Buttons/NewTiddler/Caption}} class=<<tv-config-toolbar-class>>>\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/new-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/NewTiddler/Caption}}/></span>\n</$list>\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": "<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<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/palette}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/Palette/Caption}}/></span>\n</$list>\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>" }, "$:/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": "<$button message=\"tm-print\" tooltip={{$:/language/Buttons/Print/Hint}} aria-label={{$:/language/Buttons/Print/Caption}} class=<<tv-config-toolbar-class>>>\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/print-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/Print/Caption}}/></span>\n</$list>\n</$button>" }, "$:/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": "<$button message=\"tm-browser-refresh\" tooltip={{$:/language/Buttons/Refresh/Hint}} aria-label={{$:/language/Buttons/Refresh/Caption}} class=<<tv-config-toolbar-class>>>\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/refresh-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/Refresh/Caption}}/></span>\n</$list>\n</$button>" }, "$:/core/ui/Buttons/save-wiki": { "title": "$:/core/ui/Buttons/save-wiki", "tags": "$:/tags/PageControls", "caption": "{{$:/core/images/save-button}} {{$:/language/Buttons/SaveWiki/Caption}}", "description": "{{$:/language/Buttons/SaveWiki/Hint}}", "text": "<$button tooltip={{$:/language/Buttons/SaveWiki/Hint}} aria-label={{$:/language/Buttons/SaveWiki/Caption}} class=<<tv-config-toolbar-class>>>\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<span class=\"tc-dirty-indicator\">\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/save-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/SaveWiki/Caption}}/></span>\n</$list>\n</span>\n</$button>" }, "$:/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": "\\define icon()\n$:/core/images/storyview-$(storyview)$\n\\end\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<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n<$set name=\"storyview\" value={{$:/view}}>\n<$transclude tiddler=<<icon>>/>\n</$set>\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/StoryView/Caption}}/></span>\n</$list>\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>" }, "$:/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": "\\define control-panel-button(class)\n<$button to=\"$:/TagManager\" tooltip={{$:/language/Buttons/TagManager/Hint}} aria-label={{$:/language/Buttons/TagManager/Caption}} class=\"\"\"$(tv-config-toolbar-class)$ $class$\"\"\">\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/tag-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/TagManager/Caption}}/></span>\n</$list>\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": "<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<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/theme-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/Theme/Caption}}/></span>\n</$list>\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>" }, "$:/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": "<$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<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/timestamp-on}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/Timestamp/On/Caption}}/></span>\n</$list>\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<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/timestamp-off}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/Timestamp/Off/Caption}}/></span>\n</$list>\n</$button>\n</$reveal>" }, "$:/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": "<$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<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\" variable=\"listItem\">\n{{$:/core/images/unfold-all-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$:/language/Buttons/UnfoldAll/Caption}}/></span>\n</$list>\n</$button>" }, "$:/core/ui/PageTemplate/pagecontrols": { "title": "$:/core/ui/PageTemplate/pagecontrols", "text": "\\whitespace trim\n\\define config-title()\n$:/config/PageControlButtons/Visibility/$(listItem)$\n\\end\n<div class=\"tc-page-controls\">\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]\" variable=\"listItem\">\n<$set name=\"hidden\" value=<<config-title>>>\n<$list filter=\"[<hidden>!text[hide]]\" storyview=\"pop\">\n<$set name=\"tv-config-toolbar-class\" filter=\"[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]\">\n<$transclude tiddler=<<listItem>> mode=\"inline\"/>\n</$set>\n</$list>\n</$set>\n</$list>\n</div>\n" }, "$:/core/ui/PageStylesheet": { "title": "$:/core/ui/PageStylesheet", "text": "\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\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=\"[has[plugin-type]haschanged[]!plugin-type[import]limit[1]]\">\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\">\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={{$:/config/ui/ViewTemplate}} editTemplate={{$:/config/ui/EditTemplate}} 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", "text": "\\whitespace trim\n\\define containerClasses()\ntc-page-container tc-page-view-$(storyviewTitle)$ tc-language-$(languageTitle)$\n\\end\n\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\n\n<$set name=\"tv-config-toolbar-icons\" value={{$:/config/Toolbar/Icons}}>\n\n<$set name=\"tv-config-toolbar-text\" value={{$:/config/Toolbar/Text}}>\n\n<$set name=\"tv-config-toolbar-class\" value={{$:/config/Toolbar/ButtonClass}}>\n\n<$set name=\"tv-show-missing-links\" value={{$:/config/MissingLinks}}>\n\n<$set name=\"storyviewTitle\" value={{$:/view}}>\n\n<$set name=\"languageTitle\" value={{{ [{$:/language}get[name]] }}}>\n\n<div class=<<containerClasses>>>\n\n<$navigator story=\"$:/StoryList\" history=\"$:/HistoryList\" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}>\n\n<$dropzone>\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</$set>\n\n</$set>\n\n</$set>\n\n</$set>\n\n</$set>\n\n</$set>\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\\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 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>>/></$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>>/></$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\\define palette-manager-colour-row()\n\\whitespace trim\n<tr>\n<td>\n<span style=\"float:right;\">\n<$button tooltip=<<lingo Delete/Hint>> aria-label=<<lingo 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\\define palette-manager-table()\n\\whitespace trim\n<table>\n<tbody>\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/Palette]indexes[]]\" variable=\"colourName\">\n<$list filter=\"[<currentTiddler>indexes[]removeprefix<colourName>suffix[]]\" variable=\"ignore\" emptyMessage=\"\"\"\n<$list filter=\"[{$:/state/palettemanager/showexternal}removeprefix[yes]suffix[]]\" variable=\"ignore\">\n<<palette-manager-colour-row>>\n</$list>\n\"\"\">\n<<palette-manager-colour-row>>\n</$list>\n</$list>\n</tbody>\n</table>\n\\end\n<$set name=\"currentTiddler\" value={{$:/palette}}>\n\n<<lingo Prompt>> <$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<$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\"> <<lingo Names/External/Show>></$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<$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<<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" }, "$:/core/ui/PluginListItemTemplate": { "title": "$:/core/ui/PluginListItemTemplate", "text": "<div class=\"tc-menu-list-item\">\n<$link to={{!!title}}>\n<$view field=\"description\">\n<$view field=\"title\"/>\n</$view>\n</$link>\n</div>" }, "$:/core/ui/SearchResults": { "title": "$:/core/ui/SearchResults", "text": "<div class=\"tc-search-results\">\n\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]butfirst[]limit[1]]\" emptyMessage=\"\"\"\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]\">\n<$transclude mode=\"block\"/>\n</$list>\n\"\"\">\n\n<$macrocall $name=\"tabs\" tabsList=\"[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]\" default={{$:/config/SearchResults/Default}}/>\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": "<div class=\"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=\"tc-vertical\" />\n</div>" }, "$:/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=\"$:/StoryList\" $subfilter=\"+[insertbefore:currentTiddler<actionTiddler>]\"/>\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>>>\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\">{{$:/core/images/close-button}}</$button> <$link to={{!!title}}><$view field=\"title\"/></$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": "<$macrocall $name=\"timeline\" format={{$:/language/RecentChanges/DateFormat}}/>\n" }, "$:/core/ui/SideBar/Tools": { "title": "$:/core/ui/SideBar/Tools", "tags": "$:/tags/SideBar", "caption": "{{$:/language/SideBar/Tools/Caption}}", "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" }, "$:/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": "<div class=\"tc-sidebar-lists tc-sidebar-search\">\n\n<$set name=\"searchTiddler\" value=\"$:/temp/search\">\n<div class=\"tc-search\">\n<$edit-text tiddler=\"$:/temp/search\" type=\"search\" tag=\"input\" focus={{$:/config/Search/AutoFocus}} focusPopup=<<qualify \"$:/state/popup/search-dropdown\">> class=\"tc-popup-handle\"/>\n<$reveal state=\"$:/temp/search\" type=\"nomatch\" text=\"\">\n<$button tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class=\"tc-btn-invisible\">\n<$action-setfield $tiddler=\"$:/temp/advancedsearch\" text={{$:/temp/search}}/>\n<$action-setfield $tiddler=\"$:/temp/search\" text=\"\"/>\n<$action-navigate $to=\"$:/AdvancedSearch\"/>\n{{$:/core/images/advanced-search-button}}\n</$button>\n<$button class=\"tc-btn-invisible\">\n<$action-setfield $tiddler=\"$:/temp/search\" text=\"\" />\n{{$:/core/images/close-button}}\n</$button>\n<$button popup=<<qualify \"$:/state/popup/search-dropdown\">> class=\"tc-btn-invisible\">\n{{$:/core/images/down-arrow}}\n<$list filter=\"[{$:/temp/search}minlength{$:/config/Search/MinLength}limit[1]]\" variable=\"listItem\">\n<$set name=\"searchTerm\" value={{{ [<searchTiddler>get[text]] }}}>\n<$set name=\"resultCount\" value=\"\"\"<$count filter=\"[!is[system]search<searchTerm>]\"/>\"\"\">\n{{$:/language/Search/Matches}}\n</$set>\n</$set>\n</$list>\n</$button>\n</$reveal>\n<$reveal state=\"$:/temp/search\" 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=\"$:/temp/search\" 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<$list filter=\"[{$:/temp/search}minlength{$:/config/Search/MinLength}limit[1]]\" emptyMessage=\"\"\"<div class=\"tc-search-results\">{{$:/language/Search/Search/TooShort}}</div>\"\"\" variable=\"listItem\">\n\n{{$:/core/ui/SearchResults}}\n\n</$list>\n\n</$reveal>\n\n</$reveal>\n\n</$set>\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\">\n\n<$macrocall $name=\"tabs\" tabsList=\"[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]\" default={{$:/config/DefaultSidebarTab}} state=\"$:/state/tab/sidebar\" />\n\n</div>\n" }, "$:/TagManager": { "title": "$:/TagManager", "icon": "$:/core/images/tag-button", "color": "#bbb", "text": "\\define lingo-base() $:/language/TagManager/\n\\define iconEditorTab(type)\n<$list filter=\"[all[shadows+tiddlers]is[image]] [all[shadows+tiddlers]tag[$:/tags/Image]] -[type[application/pdf]] +[sort[title]] +[$type$is[system]]\">\n<$link to={{!!title}}>\n<$transclude/> <$view field=\"title\"/>\n</$link>\n</$list>\n\\end\n\\define iconEditor(title)\n<div class=\"tc-drop-down-wrapper\">\n<$button popupTitle={{{ [[$:/state/popup/icon/]addsuffix<__title__>] }}} class=\"tc-btn-invisible tc-btn-dropdown\">{{$:/core/images/down-arrow}}</$button>\n<$reveal stateTitle={{{ [[$:/state/popup/icon/]addsuffix<__title__>] }}} type=\"popup\" position=\"belowleft\" text=\"\" default=\"\">\n<div class=\"tc-drop-down\">\n<$linkcatcher actions=\"\"\"<$action-setfield $tiddler=<<__title__>> icon=<<navigateTo>>/>\"\"\">\n<<iconEditorTab type:\"!\">>\n<hr/>\n<<iconEditorTab type:\"\">>\n</$linkcatcher>\n</div>\n</$reveal>\n</div>\n\\end\n\\define toggleButton(state)\n<$reveal stateTitle=<<__state__>> type=\"match\" text=\"closed\" default=\"closed\">\n<$button setTitle=<<__state__>> setTo=\"open\" class=\"tc-btn-invisible tc-btn-dropdown\" selectedClass=\"tc-selected\">\n{{$:/core/images/info-button}}\n</$button>\n</$reveal>\n<$reveal stateTitle=<<__state__>> type=\"match\" text=\"open\" default=\"closed\">\n<$button setTitle=<<__state__>> setTo=\"closed\" class=\"tc-btn-invisible tc-btn-dropdown\" selectedClass=\"tc-selected\">\n{{$:/core/images/info-button}}\n</$button>\n</$reveal>\n\\end\n<table class=\"tc-tag-manager-table\">\n<tbody>\n<tr>\n<th><<lingo Colour/Heading>></th>\n<th class=\"tc-tag-manager-tag\"><<lingo Tag/Heading>></th>\n<th><<lingo Count/Heading>></th>\n<th><<lingo Icon/Heading>></th>\n<th><<lingo Info/Heading>></th>\n</tr>\n<$list filter=\"[tags[]!is[system]sort[title]]\">\n<tr>\n<td><$edit-text field=\"color\" tag=\"input\" type=\"color\"/></td>\n<td>{{||$:/core/ui/TagTemplate}}</td>\n<td><$count filter=\"[all[current]tagging[]]\"/></td>\n<td>\n<$macrocall $name=\"iconEditor\" title={{!!title}}/>\n</td>\n<td>\n<$macrocall $name=\"toggleButton\" state={{{ [[$:/state/tag-manager/]addsuffix<currentTiddler>] }}} /> \n</td>\n</tr>\n<tr>\n<td></td>\n<td colspan=\"4\">\n<$reveal stateTitle={{{ [[$:/state/tag-manager/]addsuffix<currentTiddler>] }}} type=\"match\" text=\"open\" default=\"\">\n<table>\n<tbody>\n<tr><td><<lingo Colour/Heading>></td><td><$edit-text field=\"color\" tag=\"input\" type=\"text\" size=\"9\"/></td></tr>\n<tr><td><<lingo Icon/Heading>></td><td><$edit-text field=\"icon\" tag=\"input\" size=\"45\"/></td></tr>\n</tbody>\n</table>\n</$reveal>\n</td>\n</tr>\n</$list>\n<tr>\n<td></td>\n<td style=\"position:relative;\">\n{{$:/core/ui/UntaggedTemplate}}\n</td>\n<td>\n<small class=\"tc-menu-list-count\"><$count filter=\"[untagged[]!is[system]] -[tags[]]\"/></small>\n</td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n" }, "$:/core/ui/TagTemplate": { "title": "$:/core/ui/TagTemplate", "text": "\\whitespace trim\n<span class=\"tc-tag-list-item\">\n<$set name=\"transclusion\" value=<<currentTiddler>>>\n<$macrocall $name=\"tag-pill-body\" tag=<<currentTiddler>> icon={{!!icon}} colour={{!!color}} palette={{$:/palette}} element-tag=\"\"\"$button\"\"\" element-attributes=\"\"\"popup=<<qualify \"$:/state/popup/tag\">> dragFilter='[all[current]tagging[]]' tag='span'\"\"\"/>\n<$reveal state=<<qualify \"$:/state/popup/tag\">> type=\"popup\" position=\"below\" animate=\"yes\" class=\"tc-drop-down\">\n<$set name=\"tv-show-missing-links\" value=\"yes\">\n<$transclude tiddler=\"$:/core/ui/ListItemTemplate\"/>\n</$set>\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/TagDropdown]!has[draft.of]]\" variable=\"listItem\"> \n<$transclude tiddler=<<listItem>>/> \n</$list>\n<hr>\n<$macrocall $name=\"list-tagged-draggable\" tag=<<currentTiddler>>/>\n</$reveal>\n</$set>\n</span>\n" }, "$:/core/ui/TiddlerFieldTemplate": { "title": "$:/core/ui/TiddlerFieldTemplate", "text": "<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": "<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/TiddlerInfo/Advanced/PluginInfo": { "title": "$:/core/ui/TiddlerInfo/Advanced/PluginInfo", "tags": "$:/tags/TiddlerInfo/Advanced", "text": "\\define lingo-base() $:/language/TiddlerInfo/Advanced/PluginInfo/\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<<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<$transclude tiddler=<<listItem>>/>\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": "<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}}/>" }, "$:/core/ui/TopBar/menu": { "title": "$:/core/ui/TopBar/menu", "tags": "$:/tags/TopRightBar", "text": "<$reveal state=\"$:/state/sidebar\" type=\"nomatch\" text=\"no\">\n<$button set=\"$:/state/sidebar\" setTo=\"no\" tooltip={{$:/language/Buttons/HideSideBar/Hint}} aria-label={{$:/language/Buttons/HideSideBar/Caption}} class=\"tc-btn-invisible\">{{$:/core/images/chevron-right}}</$button>\n</$reveal>\n<$reveal state=\"$:/state/sidebar\" type=\"match\" text=\"no\">\n<$button set=\"$:/state/sidebar\" setTo=\"yes\" tooltip={{$:/language/Buttons/ShowSideBar/Hint}} aria-label={{$:/language/Buttons/ShowSideBar/Caption}} class=\"tc-btn-invisible\">{{$:/core/images/chevron-left}}</$button>\n</$reveal>\n" }, "$:/core/ui/UntaggedTemplate": { "title": "$:/core/ui/UntaggedTemplate", "text": "\\define lingo-base() $:/language/SideBar/\n<$button popup=<<qualify \"$:/state/popup/tag\">> class=\"tc-btn-invisible tc-untagged-label tc-tag-label\">\n<<lingo Tags/Untagged/Caption>>\n</$button>\n<$reveal state=<<qualify \"$:/state/popup/tag\">> type=\"popup\" position=\"below\">\n<div class=\"tc-drop-down\">\n<$list filter=\"[untagged[]!is[system]] -[tags[]] +[sort[title]]\" template=\"$:/core/ui/ListItemTemplate\"/>\n</div>\n</$reveal>\n" }, "$:/core/ui/ViewTemplate/body": { "title": "$:/core/ui/ViewTemplate/body", "tags": "$:/tags/ViewTemplate", "text": "<$reveal tag=\"div\" class=\"tc-tiddler-body\" type=\"nomatch\" stateTitle=<<folded-state>> text=\"hide\" retain=\"yes\" animate=\"yes\">\n\n<$list filter=\"[all[current]!has[plugin-type]!field:hide-body[yes]]\">\n\n<$transclude>\n\n<$transclude tiddler=\"$:/language/MissingTiddler/Hint\"/>\n\n</$transclude>\n\n</$list>\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<$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/import": { "title": "$:/core/ui/ViewTemplate/import", "tags": "$:/tags/ViewTemplate", "text": "\\define lingo-base() $:/language/Import/\n\n\\define buttons()\n<$button message=\"tm-delete-tiddler\" param=<<currentTiddler>>><<lingo Listing/Cancel/Caption>></$button>\n<$button message=\"tm-perform-import\" param=<<currentTiddler>>><<lingo Listing/Import/Caption>></$button>\n<<lingo Listing/Preview>> <$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\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/plugin": { "title": "$:/core/ui/ViewTemplate/plugin", "tags": "$:/tags/ViewTemplate", "text": "<$list filter=\"[all[current]has[plugin-type]] -[all[current]field:plugin-type[import]]\">\n<$set name=\"plugin-type\" value={{!!plugin-type}}>\n<$set name=\"default-popup-state\" value=\"yes\">\n<$set name=\"qualified-state\" value=<<qualify \"$:/state/plugin-info\">>>\n{{||$:/core/ui/Components/plugin-info}}\n</$set>\n</$set>\n</$set>\n</$list>\n" }, "$:/core/ui/ViewTemplate/subtitle": { "title": "$:/core/ui/ViewTemplate/subtitle", "tags": "$:/tags/ViewTemplate", "text": "<$reveal type=\"nomatch\" stateTitle=<<folded-state>> text=\"hide\" tag=\"div\" retain=\"yes\" animate=\"yes\">\n<div class=\"tc-subtitle\">\n<$link to={{!!modifier}}>\n<$view field=\"modifier\"/>\n</$link> <$view field=\"modified\" format=\"date\" template={{$:/language/Tiddler/DateFormat}}/>\n</div>\n</$reveal>\n" }, "$:/core/ui/ViewTemplate/tags": { "title": "$:/core/ui/ViewTemplate/tags", "tags": "$:/tags/ViewTemplate", "text": "<$reveal type=\"nomatch\" stateTitle=<<folded-state>> text=\"hide\" tag=\"div\" retain=\"yes\" animate=\"yes\">\n<div class=\"tc-tags-wrapper\"><$list filter=\"[all[current]tags[]sort[title]]\" template=\"$:/core/ui/TagTemplate\" storyview=\"pop\"/></div>\n</$reveal>\n" }, "$:/core/ui/ViewTemplate/title": { "title": "$:/core/ui/ViewTemplate/title", "tags": "$:/tags/ViewTemplate", "text": "\\define title-styles()\nfill:$(foregroundColor)$;\n\\end\n\\define config-title()\n$:/config/ViewToolbarButtons/Visibility/$(listItem)$\n\\end\n<div class=\"tc-tiddler-title\">\n<div class=\"tc-titlebar\">\n<span class=\"tc-tiddler-controls\">\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]\" variable=\"listItem\"><$reveal type=\"nomatch\" state=<<config-title>> text=\"hide\"><$set name=\"tv-config-toolbar-class\" filter=\"[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]\"><$transclude tiddler=<<listItem>>/></$set></$reveal></$list>\n</span>\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</span>\n</$set>\n<$list filter=\"[all[current]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=\"[all[current]!prefix[$:/]]\">\n<h2 class=\"tc-title\">\n<$view field=\"title\"/>\n</h2>\n</$list>\n</$link>\n</$set>\n</div>\n\n<$reveal type=\"nomatch\" text=\"\" default=\"\" state=<<tiddlerInfoState>> class=\"tc-tiddler-info tc-popup-handle\" animate=\"yes\" retain=\"yes\">\n\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/TiddlerInfoSegment]!has[draft.of]] [[$:/core/ui/TiddlerInfo]]\" variable=\"listItem\"><$transclude tiddler=<<listItem>> mode=\"block\"/></$list>\n\n</$reveal>\n</div>" }, "$:/core/ui/ViewTemplate/unfold": { "title": "$:/core/ui/ViewTemplate/unfold", "tags": "$:/tags/ViewTemplate", "text": "<$reveal tag=\"div\" type=\"nomatch\" state=\"$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-bar\" text=\"hide\">\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<$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</$reveal>\n" }, "$:/core/ui/ViewTemplate": { "title": "$:/core/ui/ViewTemplate", "text": "\\define folded-state()\n$:/state/folded/$(currentTiddler)$\n\\end\n<$vars storyTiddler=<<currentTiddler>> tiddlerInfoState=<<qualify \"$:/state/popup/tiddler-info\">>><div data-tiddler-title=<<currentTiddler>> data-tags={{!!tags}} class={{{ 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[system]then[tc-tiddler-system]] [{!!class}] [<currentTiddler>tags[]encodeuricomponent[]addprefix[tc-tagged-]] +[join[ ]] }}}><$list filter=\"[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]\" variable=\"listItem\"><$transclude tiddler=<<listItem>>/></$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\" param=<<currentTiddler>> tooltip={{$:/language/Buttons/Clone/Hint}} aria-label={{$:/language/Buttons/Clone/Caption}} class=<<tv-config-toolbar-class>>>\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/clone-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\">\n<$text text=\" \"/>\n<$text text={{$:/language/Buttons/Clone/Caption}}/>\n</span>\n</$list>\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<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/close-others-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\">\n<$text text=\" \"/>\n<$text text={{$:/language/Buttons/CloseOthers/Caption}}/>\n</span>\n</$list>\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\" tooltip={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class=<<tv-config-toolbar-class>>>\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/close-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\">\n<$text text={{$:/language/Buttons/Close/Caption}}/>\n</span>\n</$list>\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\" tooltip={{$:/language/Buttons/Edit/Hint}} aria-label={{$:/language/Buttons/Edit/Caption}} class=<<tv-config-toolbar-class>>>\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/edit-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\">\n<$text text=\" \"/>\n<$text text={{$:/language/Buttons/Edit/Caption}}/>\n</span>\n</$list>\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": "\\define makeExportFilter()\n[[$(currentTiddler)$]]\n\\end\n<$macrocall $name=\"exportButton\" exportFilter=<<makeExportFilter>> 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<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\" variable=\"listItem\">\n{{$:/core/images/fold-others-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\">\n<$text text=\" \"/>\n<$text text={{$:/language/Buttons/FoldOthers/Caption}}/>\n</span>\n</$list>\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<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\" variable=\"listItem\">\n{{$:/core/images/fold-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\">\n<$text text=\" \"/>\n<$text text={{$:/language/Buttons/Fold/Caption}}/>\n</span>\n</$list>\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<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\" variable=\"listItem\">\n{{$:/core/images/unfold-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\">\n<$text text=\" \"/>\n<$text text={{$:/language/Buttons/Unfold/Caption}}/>\n</span>\n</$list>\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\\define button-content()\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/info-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\">\n<$text text={{$:/language/Buttons/Info/Caption}}/>\n</span>\n</$list>\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<$macrocall $name=\"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<$macrocall $name=\"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<$macrocall $name=\"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\\define config-title()\n$:/config/ViewToolbarButtons/Visibility/$(listItem)$\n\\end\n<$button popup=<<qualify \"$:/state/popup/more\">> tooltip={{$:/language/Buttons/More/Hint}} aria-label={{$:/language/Buttons/More/Caption}} class=<<tv-config-toolbar-class>> selectedClass=\"tc-selected\">\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/down-arrow}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\">\n<$text text=\" \"/>\n<$text text={{$:/language/Buttons/More/Caption}}/>\n</span>\n</$list>\n</$button>\n<$reveal state=<<qualify \"$:/state/popup/more\">> type=\"popup\" position=\"belowleft\" animate=\"yes\">\n\n<div class=\"tc-drop-down\">\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=\"tc-btn-invisible\">\n\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]] -[[$:/core/ui/Buttons/more-tiddler-actions]]\" variable=\"listItem\">\n\n<$reveal type=\"match\" state=<<config-title>> text=\"hide\">\n\n<$set name=\"tv-config-toolbar-class\" filter=\"[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]\">\n\n<$transclude tiddler=<<listItem>> mode=\"inline\"/>\n\n</$set>\n\n</$reveal>\n\n</$list>\n\n</$set>\n\n</$set>\n\n</$set>\n\n</div>\n\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\\define newHereActions()\n<$set name=\"tags\" filter=\"[<currentTiddler>]\">\n<$action-sendmessage $message=\"tm-new-tiddler\" tags=<<tags>>/>\n</$set>\n\\end\n\\define newHereButton()\n<$button actions=<<newHereActions>> tooltip={{$:/language/Buttons/NewHere/Hint}} aria-label={{$:/language/Buttons/NewHere/Caption}} class=<<tv-config-toolbar-class>>>\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/new-here-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\">\n<$text text={{$:/language/Buttons/NewHere/Caption}}/>\n</span>\n</$list>\n</$button>\n\\end\n<<newHereButton>>" }, "$:/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\\define journalButtonTags()\n[[$(currentTiddlerTag)$]] $(journalTags)$\n\\end\n\\define journalButton()\n<$button tooltip={{$:/language/Buttons/NewJournalHere/Hint}} aria-label={{$:/language/Buttons/NewJournalHere/Caption}} class=<<tv-config-toolbar-class>>>\n<$wikify name=\"journalTitle\" text=\"\"\"<$macrocall $name=\"now\" format=<<journalTitleTemplate>>/>\"\"\">\n<$action-sendmessage $message=\"tm-new-tiddler\" title=<<journalTitle>> tags=<<journalButtonTags>>/>\n<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/new-journal-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\">\n<$text text={{$:/language/Buttons/NewJournalHere/Caption}}/>\n</span>\n</$list>\n</$wikify>\n</$button>\n\\end\n<$set name=\"journalTitleTemplate\" value={{$:/config/NewJournal/Title}}>\n<$set name=\"journalTags\" value={{$:/config/NewJournal/Tags}}>\n<$set name=\"currentTiddlerTag\" value=<<currentTiddler>>>\n<<journalButton>>\n</$set>\n</$set>\n</$set>" }, "$:/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<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/open-window}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\">\n<$text text=\" \"/>\n<$text text={{$:/language/Buttons/OpenWindow/Caption}}/>\n</span>\n</$list>\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<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/permalink-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\">\n<$text text=\" \"/>\n<$text text={{$:/language/Buttons/Permalink/Caption}}/>\n</span>\n</$list>\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<$list filter=\"[<tv-config-toolbar-icons>match[yes]]\">\n{{$:/core/images/permaview-button}}\n</$list>\n<$list filter=\"[<tv-config-toolbar-text>match[yes]]\">\n<span class=\"tc-btn-text\">\n<$text text=\" \"/>\n<$text text={{$:/language/Buttons/Permaview/Caption}}/>\n</span>\n</$list>\n</$button>" }, "$:/DefaultTiddlers": { "title": "$:/DefaultTiddlers", "text": "GettingStarted\n" }, "$:/temp/advancedsearch": { "title": "$:/temp/advancedsearch", "text": "" }, "$:/snippets/allfields": { "title": "$:/snippets/allfields", "text": "\\define renderfield(title)\n<tr class=\"tc-view-field\"><td class=\"tc-view-field-name\">''$title$'':</td><td class=\"tc-view-field-value\">//{{$:/language/Docs/Fields/$title$}}//</td></tr>\n\\end\n<table class=\"tc-view-field-table\"><tbody><$list filter=\"[fields[]sort[title]]\" variable=\"listItem\"><$macrocall $name=\"renderfield\" title=<<listItem>>/></$list>\n</tbody></table>\n" }, "$:/config/AnimationDuration": { "title": "$:/config/AnimationDuration", "text": "400" }, "$:/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/DownloadSaver/AutoSave": { "title": "$:/config/DownloadSaver/AutoSave", "text": "no" }, "$:/config/Drafts/TypingTimeout": { "title": "$:/config/Drafts/TypingTimeout", "text": "400" }, "$:/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/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/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.1.20/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/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/unfold-all": { "title": "$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/unfold-all", "text": "hide" }, "$:/config/Performance/Instrumentation": { "title": "$:/config/Performance/Instrumentation", "text": "yes" }, "$:/config/SaveWikiButton/Template": { "title": "$:/config/SaveWikiButton/Template", "text": "$:/core/save/all" }, "$:/config/SaverFilter": { "title": "$:/config/SaverFilter", "text": "[all[]] -[[$:/HistoryList]] -[[$:/StoryList]] -[[$:/Import]] -[[$:/isEncrypted]] -[[$:/UploadName]] -[prefix[$:/state/]] -[prefix[$:/temp/]]" }, "$:/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/ShortcutInfo/advanced-search": { "title": "$:/config/ShortcutInfo/advanced-search", "text": "{{$:/language/Buttons/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/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/italic": { "title": "$:/config/ShortcutInfo/italic", "text": "{{$:/language/Buttons/Italic/Hint}}" }, "$:/config/ShortcutInfo/link": { "title": "$:/config/ShortcutInfo/link", "text": "{{$:/language/Buttons/Link/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/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/save-tiddler": { "title": "$:/config/ShortcutInfo/save-tiddler", "text": "{{$:/language/Buttons/Save/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/underline": { "title": "$:/config/ShortcutInfo/underline", "text": "{{$:/language/Buttons/Underline/Hint}}" }, "$:/config/SyncFilter": { "title": "$:/config/SyncFilter", "text": "[is[tiddler]] -[[$:/HistoryList]] -[[$:/Import]] -[[$:/isEncrypted]] -[prefix[$:/status/]] -[prefix[$:/state/]] -[prefix[$:/temp/]]" }, "$:/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/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/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-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/advanced-search": { "title": "$:/config/shortcuts/advanced-search", "text": "ctrl-shift-A" }, "$:/config/shortcuts/cancel-edit-tiddler": { "title": "$:/config/shortcuts/cancel-edit-tiddler", "text": "escape" }, "$:/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/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/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/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": "enable" }, "$:/snippets/currpalettepreview": { "title": "$:/snippets/currpalettepreview", "text": "\\define swatchStyle()\nbackground-color: $(swatchColour)$;\n\\end\n\\define swatch()\n<$set name=\"swatchColour\" value={{##$(colour)$}}\n><div class=\"tc-swatch\" style=<<swatchStyle>> title=<<colour>>/></$set>\n\\end\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>" }, "$:/snippets/download-wiki-button": { "title": "$:/snippets/download-wiki-button", "text": "\\define lingo-base() $:/language/ControlPanel/Tools/Download/\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>> {{$:/core/images/save-button}}\n</$button>" }, "$:/language": { "title": "$:/language", "text": "$:/languages/en-GB" }, "$:/snippets/languageswitcher": { "title": "$:/snippets/languageswitcher", "text": "\\define flag-title()\n$(languagePluginTitle)$/icon\n\\end\n\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\"><div class=<<cls>>>\n<$link>\n<span class=\"tc-image-button\">\n<$set name=\"languagePluginTitle\" value=<<currentTiddler>>>\n<$transclude subtiddler=<<flag-title>>>\n<$list filter=\"[all[current]field:title[$:/languages/en-GB]]\">\n<$transclude tiddler=\"$:/languages/en-GB/icon\"/>\n</$list>\n</$transclude>\n</$set>\n</span>\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": "\\define colour(name)\n<$transclude tiddler={{$:/palette}} index=\"$name$\"><$transclude tiddler=\"$:/palettes/Vanilla\" index=\"$name$\"/></$transclude>\n\\end\n\n\\define color(name)\n<<colour $name$>>\n\\end\n\n\\define box-shadow(shadow)\n``\n -webkit-box-shadow: $shadow$;\n -moz-box-shadow: $shadow$;\n box-shadow: $shadow$;\n``\n\\end\n\n\\define filter(filter)\n``\n -webkit-filter: $filter$;\n -moz-filter: $filter$;\n filter: $filter$;\n``\n\\end\n\n\\define transition(transition)\n``\n -webkit-transition: $transition$;\n -moz-transition: $transition$;\n transition: $transition$;\n``\n\\end\n\n\\define transform-origin(origin)\n``\n -webkit-transform-origin: $origin$;\n -moz-transform-origin: $origin$;\n transform-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\\define datauri(title)\n<$macrocall $name=\"makedatauri\" type={{$title$!!type}} text={{$title$}}/>\n\\end\n\n\\define if-sidebar(text)\n<$reveal state=\"$:/state/sidebar\" type=\"match\" text=\"yes\" default=\"yes\">$text$</$reveal>\n\\end\n\n\\define if-no-sidebar(text)\n<$reveal state=\"$:/state/sidebar\" type=\"nomatch\" text=\"yes\" default=\"yes\">$text$</$reveal>\n\\end\n\n\\define 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\n$(colour-picker-update-recent)$\n\n$actions$\n\n<div style=\"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<$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{{$:/language/ColourPicker/Recent}} <$list filter=\"[list[$:/config/ColourPicker/Recent]]\" variable=\"recentColour\">\n<$macrocall $name=\"colour-picker-recent-inner\" actions=\"\"\"$actions$\"\"\"/></$list>\n\\end\n\n\\define colour-picker(actions)\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<$macrocall $name=\"colour-picker-inner\" actions=\"\"\"$actions$\"\"\"/>\n</$list>\n\n---\n\n<$edit-text tiddler=\"$:/config/ColourPicker/New\" tag=\"input\" default=\"\" placeholder=\"\"/> \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": "\\define copy-to-clipboard(src,class:\"tc-btn-invisible\",style)\n<$button class=<<__class__>> style=<<__style__>> message=\"tm-copy-to-clipboard\" param=<<__src__>> tooltip={{$:/language/Buttons/CopyToClipboard/Hint}}>\n{{$:/core/images/copy-clipboard}} <$text text={{$:/language/Buttons/CopyToClipboard/Caption}}/>\n</$button>\n\\end\n\n\\define copy-to-clipboard-above-right(src,class:\"tc-btn-invisible\",style)\n<div style=\"position: relative;\">\n<div style=\"position: absolute; bottom: 0; right: 0;\">\n<$macrocall $name=\"copy-to-clipboard\" src=<<__src__>> class=<<__class__>> style=<<__style__>>/>\n</div>\n</div>\n\\end\n\n" }, "$:/core/macros/diff": { "title": "$:/core/macros/diff", "tags": "$:/tags/Macro", "text": "\\define compareTiddlerText(sourceTiddlerTitle,sourceSubTiddlerTitle,destTiddlerTitle,destSubTiddlerTitle)\n<$set name=\"source\" tiddler=<<__sourceTiddlerTitle__>> subtiddler=<<__sourceSubTiddlerTitle__>>>\n<$set name=\"dest\" tiddler=<<__destTiddlerTitle__>> subtiddler=<<__destSubTiddlerTitle__>>>\n<$diff-text source=<<source>> dest=<<dest>>/>\n</$set>\n</$set>\n\\end\n\n\\define compareTiddlers(sourceTiddlerTitle,sourceSubTiddlerTitle,destTiddlerTitle,destSubTiddlerTitle,exclude)\n<table class=\"tc-diff-tiddlers\">\n<tbody>\n<$set name=\"sourceFields\" filter=\"[<__sourceTiddlerTitle__>fields[]sort[]]\">\n<$set name=\"destFields\" filter=\"[<__destSubTiddlerTitle__>subtiddlerfields<__destTiddlerTitle__>sort[]]\">\n<$list filter=\"[enlist<sourceFields>] [enlist<destFields>] -[enlist<__exclude__>] +[sort[]]\" variable=\"fieldName\">\n<tr>\n<th>\n<$text text=<<fieldName>>/> \n</th>\n<td>\n<$set name=\"source\" tiddler=<<__sourceTiddlerTitle__>> subtiddler=<<__sourceSubTiddlerTitle__>> field=<<fieldName>>>\n<$set name=\"dest\" tiddler=<<__destTiddlerTitle__>> subtiddler=<<__destSubTiddlerTitle__>> field=<<fieldName>>>\n<$diff-text source=<<source>> dest=<<dest>>>\n</$diff-text>\n</$set>\n</$set>\n</td>\n</tr>\n</$list>\n</$set>\n</$set>\n</tbody>\n</table>\n\\end\n" }, "$:/core/macros/dumpvariables": { "title": "$:/core/macros/dumpvariables", "tags": "$:/tags/Macro", "text": "\\define dumpvariables()\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": "\\define exportButtonFilename(baseFilename)\n$baseFilename$$(extension)$\n\\end\n\n\\define 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<$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</$button>\n</$set>\n</$list>\n</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)$\"\"\">\n$actions$\n<$transclude tiddler=<<imageTitle>>/>\n</$button>\n\\end\n\n\\define image-picker-list(filter,actions)\n<$list filter=\"\"\"$filter$\"\"\" variable=\"imageTitle\">\n<$macrocall $name=\"image-picker-thumbnail\" actions=\"\"\"$actions$\"\"\"/>\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<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{{$:/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/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)\n\\whitespace trim\n<$type$ class=\"$class$\">\n<$list filter=\"$filter$\" emptyMessage=<<__emptyMessage__>>>\n<$subtype$>\n<$link to={{!!title}}>\n<$transclude field=\"caption\">\n<$view field=\"title\"/>\n</$transclude>\n</$link>\n</$subtype$>\n</$list>\n</$type$>\n\\end\n\n\\define list-links-draggable-drop-actions()\n<$action-listops $tiddler=<<targetTiddler>> $field=<<targetField>> $subfilter=\"+[insertbefore:currentTiddler<actionTiddler>]\"/>\n\\end\n\n\\define list-links-draggable(tiddler,field:\"list\",type:\"ul\",subtype:\"li\",class:\"\",itemTemplate)\n\\whitespace trim\n<span class=\"tc-links-draggable-list\">\n<$vars targetTiddler=\"\"\"$tiddler$\"\"\" targetField=\"\"\"$field$\"\"\">\n<$type$ class=\"$class$\">\n<$list filter=\"[list[$tiddler$!!$field$]]\">\n<$droppable actions=<<list-links-draggable-drop-actions>> tag=\"\"\"$subtype$\"\"\">\n<div class=\"tc-droppable-placeholder\"/>\n<div>\n<$transclude tiddler=\"\"\"$itemTemplate$\"\"\">\n<$link to={{!!title}}>\n<$transclude field=\"caption\">\n<$view field=\"title\"/>\n</$transclude>\n</$link>\n</$transclude>\n</div>\n</$droppable>\n</$list>\n</$type$>\n<$tiddler tiddler=\"\">\n<$droppable actions=<<list-links-draggable-drop-actions>> tag=\"div\">\n<div class=\"tc-droppable-placeholder\">\n \n</div>\n<div style=\"height:0.5em;\"/>\n</$droppable>\n</$tiddler>\n</$vars>\n</span>\n\\end\n\n\\define list-tagged-draggable-drop-actions(tag)\n<!-- Save the current ordering of the tiddlers with this tag -->\n<$set name=\"order\" filter=\"[<__tag__>tagging[]]\">\n<!-- Remove any list-after or list-before fields from the tiddlers with this tag -->\n<$list filter=\"[<__tag__>tagging[]]\">\n<$action-deletefield $field=\"list-before\"/>\n<$action-deletefield $field=\"list-after\"/>\n</$list>\n<!-- Save the new order to the Tag Tiddler -->\n<$action-listops $tiddler=<<__tag__>> $field=\"list\" $filter=\"+[enlist<order>] +[insertbefore:currentTiddler<actionTiddler>]\"/>\n<!-- Make sure the newly added item has the right tag -->\n<!-- Removing this line makes dragging tags within the dropdown work as intended -->\n<!--<$action-listops $tiddler=<<actionTiddler>> $tags=<<__tag__>>/>-->\n<!-- Using the following 5 lines as replacement makes dragging titles from outside into the dropdown apply the tag -->\n<$list filter=\"[<actionTiddler>!contains:tags<__tag__>]\">\n<$fieldmangler tiddler=<<actionTiddler>>>\n<$action-sendmessage $message=\"tm-add-tag\" $param=<<__tag__>>/>\n</$fieldmangler>\n</$list>\n</$set>\n\\end\n\n\\define list-tagged-draggable(tag,subFilter,emptyMessage,itemTemplate,elementTag:\"div\")\n\\whitespace trim\n<span class=\"tc-tagged-draggable-list\">\n<$set name=\"tag\" value=<<__tag__>>>\n<$list filter=\"[<__tag__>tagging[]$subFilter$]\" emptyMessage=<<__emptyMessage__>>>\n<$elementTag$ class=\"tc-menu-list-item\">\n<$droppable actions=\"\"\"<$macrocall $name=\"list-tagged-draggable-drop-actions\" tag=<<__tag__>>/>\"\"\">\n<$elementTag$ class=\"tc-droppable-placeholder\"/>\n<$elementTag$>\n<$transclude tiddler=\"\"\"$itemTemplate$\"\"\">\n<$link to={{!!title}}>\n<$view field=\"title\"/>\n</$link>\n</$transclude>\n</$elementTag$>\n</$droppable>\n</$elementTag$>\n</$list>\n<$tiddler tiddler=\"\">\n<$droppable actions=\"\"\"<$macrocall $name=\"list-tagged-draggable-drop-actions\" tag=<<__tag__>>/>\"\"\">\n<$elementTag$ class=\"tc-droppable-placeholder\"/>\n<$elementTag$ style=\"height:0.5em;\">\n</$elementTag$>\n</$droppable>\n</$tiddler>\n</$set>\n</span>\n\\end\n" }, "$:/core/macros/tabs": { "title": "$:/core/macros/tabs", "tags": "$:/tags/Macro", "text": "\\define tabs(tabsList,default,state:\"$:/state/tab\",class,template,buttonTemplate,retain)\n<div class=\"tc-tab-set $class$\">\n<div class=\"tc-tab-buttons $class$\">\n<$list filter=\"$tabsList$\" variable=\"currentTab\" storyview=\"pop\"><$set name=\"save-currentTiddler\" value=<<currentTiddler>>><$tiddler tiddler=<<currentTab>>><$button set=<<qualify \"$state$\">> setTo=<<currentTab>> default=\"$default$\" selectedClass=\"tc-tab-selected\" tooltip={{!!tooltip}}>\n<$tiddler tiddler=<<save-currentTiddler>>>\n<$set name=\"tv-wikilinks\" value=\"no\">\n<$transclude tiddler=\"$buttonTemplate$\" mode=\"inline\">\n<$transclude tiddler=<<currentTab>> field=\"caption\">\n<$macrocall $name=\"currentTab\" $type=\"text/plain\" $output=\"text/plain\"/>\n</$transclude>\n</$transclude>\n</$set></$tiddler></$button></$tiddler></$set></$list>\n</div>\n<div class=\"tc-tab-divider $class$\"/>\n<div class=\"tc-tab-content $class$\">\n<$list filter=\"$tabsList$\" variable=\"currentTab\">\n\n<$reveal type=\"match\" state=<<qualify \"$state$\">> text=<<currentTab>> default=\"$default$\" retain=\"\"\"$retain$\"\"\">\n\n<$transclude tiddler=\"$template$\" mode=\"block\">\n\n<$transclude tiddler=<<currentTab>> mode=\"block\"/>\n\n</$transclude>\n\n</$reveal>\n\n</$list>\n</div>\n</div>\n\\end\n" }, "$:/core/macros/tag-picker": { "title": "$:/core/macros/tag-picker", "tags": "$:/tags/Macro", "text": "\\define add-tag-actions()\n<$action-sendmessage $message=\"tm-add-tag\" $param={{$:/temp/NewTagName}}/>\n<$action-deletetiddler $tiddler=\"$:/temp/NewTagName\"/>\n\\end\n\n\\define tag-button()\n<$button class=\"tc-btn-invisible\" tag=\"a\">\n$(actions)$\n<$action-deletetiddler $tiddler=\"$:/temp/NewTagName\"/>\n<$macrocall $name=\"tag-pill\" tag=<<tag>>/>\n</$button>\n\\end\n\n\\define tag-picker(actions)\n<$set name=\"actions\" value=\"\"\"$actions$\"\"\">\n<div class=\"tc-edit-add-tag\">\n<span class=\"tc-add-tag-name\">\n<$keyboard key=\"ENTER\" actions=<<add-tag-actions>>>\n<$edit-text tiddler=\"$:/temp/NewTagName\" tag=\"input\" default=\"\" placeholder={{$:/language/EditTemplate/Tags/Add/Placeholder}} focusPopup=<<qualify \"$:/state/popup/tags-auto-complete\">> class=\"tc-edit-texteditor tc-popup-handle\" tabindex=<<tabIndex>>/>\n</$keyboard>\n</span> <$button popup=<<qualify \"$:/state/popup/tags-auto-complete\">> class=\"tc-btn-invisible\" tooltip={{$:/language/EditTemplate/Tags/Dropdown/Hint}} aria-label={{$:/language/EditTemplate/Tags/Dropdown/Caption}}>{{$:/core/images/down-arrow}}</$button> <span class=\"tc-add-tag-button\">\n<$set name=\"tag\" value={{$:/temp/NewTagName}}>\n<$button set=\"$:/temp/NewTagName\" setTo=\"\" class=\"\">\n$actions$\n<$action-deletetiddler $tiddler=\"$:/temp/NewTagName\"/>\n{{$:/language/EditTemplate/Tags/Add/Button}}\n</$button>\n</$set>\n</span>\n</div>\n<div class=\"tc-block-dropdown-wrapper\">\n<$reveal state=<<qualify \"$:/state/popup/tags-auto-complete\">> type=\"nomatch\" text=\"\" default=\"\">\n<div class=\"tc-block-dropdown\">\n<$list filter=\"[{$:/temp/NewTagName}minlength{$:/config/Tags/MinLength}limit[1]]\" emptyMessage=\"\"\"<div class=\"tc-search-results\">{{$:/language/Search/Search/TooShort}}</div>\"\"\" variable=\"listItem\">\n<$list filter=\"[tags[]!is[system]search:title{$:/temp/NewTagName}sort[]]\" variable=\"tag\">\n<<tag-button>>\n</$list></$list>\n<hr>\n<$list filter=\"[{$:/temp/NewTagName}minlength{$:/config/Tags/MinLength}limit[1]]\" emptyMessage=\"\"\"<div class=\"tc-search-results\">{{$:/language/Search/Search/TooShort}}</div>\"\"\" variable=\"listItem\">\n<$list filter=\"[tags[]is[system]search:title{$:/temp/NewTagName}sort[]]\" variable=\"tag\">\n<<tag-button>>\n</$list></$list>\n</div>\n</$reveal>\n</div>\n</$set>\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\\define tag-pill-inner(tag,icon,colour,fallbackTarget,colourA,colourB,element-tag,element-attributes,actions)\n<$vars foregroundColor=<<contrastcolour target:\"\"\"$colour$\"\"\" fallbackTarget:\"\"\"$fallbackTarget$\"\"\" colourA:\"\"\"$colourA$\"\"\" colourB:\"\"\"$colourB$\"\"\">> backgroundColor=\"\"\"$colour$\"\"\">\n<$element-tag$ $element-attributes$ class=\"tc-tag-label tc-btn-invisible\" style=<<tag-pill-styles>>>\n$actions$<$transclude tiddler=\"\"\"$icon$\"\"\"/> <$view tiddler=<<__tag__>> field=\"title\" format=\"text\" />\n</$element-tag$>\n</$vars>\n\\end\n\n\\define tag-pill-body(tag,icon,colour,palette,element-tag,element-attributes,actions)\n<$macrocall $name=\"tag-pill-inner\" tag=<<__tag__>> icon=\"\"\"$icon$\"\"\" colour=\"\"\"$colour$\"\"\" fallbackTarget={{$palette$##tag-background}} colourA={{$palette$##foreground}} colourB={{$palette$##background}} element-tag=\"\"\"$element-tag$\"\"\" element-attributes=\"\"\"$element-attributes$\"\"\" actions=\"\"\"$actions$\"\"\"/>\n\\end\n\n\\define tag-pill(tag,element-tag:\"span\",element-attributes:\"\",actions:\"\")\n<span class=\"tc-tag-list-item\">\n<$macrocall $name=\"tag-pill-body\" tag=<<__tag__>> icon={{{ [<__tag__>get[icon]] }}} colour={{{ [<__tag__>get[color]] }}} palette={{$:/palette}} element-tag=\"\"\"$element-tag$\"\"\" element-attributes=\"\"\"$element-attributes$\"\"\" actions=\"\"\"$actions$\"\"\"/>\n</span>\n\\end\n\n\\define tag(tag)\n{{$tag$||$:/core/ui/TagTemplate}}\n\\end\n" }, "$:/core/macros/thumbnails": { "title": "$:/core/macros/thumbnails", "tags": "$:/tags/Macro", "text": "\\define thumbnail(link,icon,color,background-color,image,caption,width:\"280\",height:\"157\")\n<$link to=\"\"\"$link$\"\"\"><div class=\"tc-thumbnail-wrapper\">\n<div class=\"tc-thumbnail-image\" style=\"width:$width$px;height:$height$px;\"><$reveal type=\"nomatch\" text=\"\" default=\"\"\"$image$\"\"\" tag=\"div\" style=\"width:$width$px;height:$height$px;\">\n[img[$image$]]\n</$reveal><$reveal type=\"match\" text=\"\" default=\"\"\"$image$\"\"\" tag=\"div\" class=\"tc-thumbnail-background\" style=\"width:$width$px;height:$height$px;background-color:$background-color$;\"></$reveal></div><div class=\"tc-thumbnail-icon\" style=\"fill:$color$;color:$color$;\">\n$icon$\n</div><div class=\"tc-thumbnail-caption\">\n$caption$\n</div>\n</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", "created": "20141212105914482", "modified": "20141212110330815", "tags": "$:/tags/Macro", "text": "\\define timeline-title()\n<!-- Override this macro with a global macro \n of the same name if you need to change \n how titles are displayed on the timeline \n -->\n<$view field=\"title\"/>\n\\end\n\\define timeline(limit:\"100\",format:\"DDth MMM YYYY\",subfilter:\"\",dateField:\"modified\")\n<div class=\"tc-timeline\">\n<$list filter=\"[!is[system]$subfilter$has[$dateField$]!sort[$dateField$]limit[$limit$]eachday[$dateField$]]\">\n<div class=\"tc-menu-list-item\">\n<$view field=\"$dateField$\" format=\"date\" template=\"$format$\"/>\n<$list filter=\"[sameday:$dateField${!!$dateField$}!is[system]$subfilter$!sort[$dateField$]]\">\n<div class=\"tc-menu-list-subitem\">\n<$link to={{!!title}}>\n<<timeline-title>>\n</$link>\n</div>\n</$list>\n</div>\n</$list>\n</div>\n\\end\n" }, "$:/core/macros/toc": { "title": "$:/core/macros/toc", "tags": "$:/tags/Macro", "text": "\\define toc-caption()\n<$set name=\"tv-wikilinks\" value=\"no\">\n <$transclude field=\"caption\">\n <$view field=\"title\"/>\n </$transclude>\n</$set>\n\\end\n\n\\define toc-body(tag,sort:\"\",itemClassFilter,exclude,path)\n<ol class=\"tc-toc\">\n <$list filter=\"\"\"[all[shadows+tiddlers]tag<__tag__>!has[draft.of]$sort$] -[<__tag__>] -[enlist<__exclude__>]\"\"\">\n <$vars item=<<currentTiddler>> path={{{ [<__path__>addsuffix[/]addsuffix<__tag__>] }}}>\n <$set name=\"excluded\" filter=\"\"\"[enlist<__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><$view field='caption'><$view field='title'/></$view></$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 </$vars>\n </$list>\n</ol>\n\\end\n\n\\define toc(tag,sort:\"\",itemClassFilter:\" \")\n<$macrocall $name=\"toc-body\" tag=<<__tag__>> sort=<<__sort__>> itemClassFilter=<<__itemClassFilter__>> />\n\\end\n\n\\define toc-linked-expandable-body(tag,sort:\"\",itemClassFilter,exclude,path)\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>\n <$reveal type=\"nomatch\" stateTitle=<<toc-state>> text=\"open\">\n <$button setTitle=<<toc-state>> setTo=\"open\" class=\"tc-btn-invisible tc-popup-keep\">\n {{$:/core/images/right-arrow}}\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 {{$:/core/images/down-arrow}}\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<!-- 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 {{$:/core/images/right-arrow}}\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 {{$:/core/images/down-arrow}}\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<$vars tag=<<__tag__>> sort=<<__sort__>> itemClassFilter=<<__itemClassFilter__>> path={{{ [<__path__>addsuffix[/]addsuffix<__tag__>] }}}>\n <$set name=\"excluded\" filter=\"\"\"[enlist<__exclude__>] [<__tag__>]\"\"\">\n <ol class=\"tc-toc toc-expandable\">\n <$list filter=\"\"\"[all[shadows+tiddlers]tag<__tag__>!has[draft.of]$sort$] -[<__tag__>] -[enlist<__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</$vars>\n\\end\n\n\\define toc-linked-selective-expandable-body(tag,sort:\"\",itemClassFilter,exclude,path)\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>\n <$list filter=\"[all[current]tagging[]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 {{$:/core/images/right-arrow}}\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 {{$:/core/images/down-arrow}}\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<$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[]limit[1]]\" variable=\"ignore\" emptyMessage=\"<$button class='tc-btn-invisible'>{{$:/core/images/blank}}</$button> <$view field='caption'><$view field='title'/></$view>\">\n <$reveal type=\"nomatch\" stateTitle=<<toc-state>> text=\"open\">\n <$button setTitle=<<toc-state>> setTo=\"open\" class=\"tc-btn-invisible tc-popup-keep\">\n {{$:/core/images/right-arrow}}\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 {{$:/core/images/down-arrow}}\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<$vars tag=<<__tag__>> sort=<<__sort__>> itemClassFilter=<<__itemClassFilter__>> path={{{ [<__path__>addsuffix[/]addsuffix<__tag__>] }}}>\n <$set name=\"excluded\" filter=\"\"\"[enlist<__exclude__>] [<__tag__>]\"\"\">\n <ol class=\"tc-toc toc-selective-expandable\">\n <$list filter=\"\"\"[all[shadows+tiddlers]tag<__tag__>!has[draft.of]$sort$] -[<__tag__>] -[enlist<__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</$vars>\n\\end\n\n\\define toc-tabbed-external-nav(tag,sort:\"\",selectedTiddler:\"$:/temp/toc/selectedTiddler\",unselectedText,missingText,template:\"\")\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]]\"/>\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\\end\n\n\\define toc-tabbed-internal-nav(tag,sort:\"\",selectedTiddler:\"$:/temp/toc/selectedTiddler\",unselectedText,missingText,template:\"\")\n<$linkcatcher to=<<__selectedTiddler__>>>\n <$macrocall $name=\"toc-tabbed-external-nav\" tag=<<__tag__>> sort=<<__sort__>> selectedTiddler=<<__selectedTiddler__>> unselectedText=<<__unselectedText__>> missingText=<<__missingText__>> template=<<__template__>>/>\n</$linkcatcher>\n\\end\n\n" }, "$:/core/macros/translink": { "title": "$:/core/macros/translink", "tags": "$:/tags/Macro", "text": "\\define translink(title,mode:\"block\")\n<div style=\"border:1px solid #ccc; padding: 0.5em; background: black; foreground; white;\">\n<$link to=\"\"\"$title$\"\"\">\n<$text text=\"\"\"$title$\"\"\"/>\n</$link>\n<div style=\"border:1px solid #ccc; padding: 0.5em; background: white; foreground; black;\">\n<$transclude tiddler=\"\"\"$title$\"\"\" mode=\"$mode$\">\n\"<$text text=\"\"\"$title$\"\"\"/>\" is missing\n</$transclude>\n</div>\n</div>\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<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> <$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<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}} <$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}} <$text text=<<__chunk__>>/>\n</$button>\n</$reveal>\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<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<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/minilanguageswitcher": { "title": "$:/snippets/minilanguageswitcher", "text": "<$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<<lingo Prompt>> <$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<$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": "<$set name=\"currentTiddler\" value={{$:/palette}}>\n{{||$:/snippets/currpalettepreview}}\n</$set>\n" }, "$:/snippets/paletteswitcher": { "title": "$:/snippets/paletteswitcher", "text": "<$linkcatcher to=\"$:/palette\">\n<div class=\"tc-chooser\"><$list filter=\"[all[shadows+tiddlers]tag[$:/tags/Palette]sort[name]]\"><$set name=\"cls\" filter=\"[all[current]prefix{$:/palette}]\" value=\"tc-chooser-item tc-chosen\" emptyValue=\"tc-chooser-item\"><div class=<<cls>>><$link to={{!!title}}>''<$view field=\"name\" format=\"text\"/>'' - <$view field=\"description\" format=\"text\"/>{{||$:/snippets/currpalettepreview}}</$link>\n</div></$set>\n</$list>\n</div>\n</$linkcatcher>\n" }, "$:/snippets/peek-stylesheets": { "title": "$:/snippets/peek-stylesheets", "text": "\\define expandable-stylesheets-list()\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<pre>\n<code>\n<$text text=<<styles>>/>\n</code>\n</pre>\n</$wikify>\n</$set>\n</$reveal>\n</li>\n</$set>\n</$vars>\n</$list>\n</ol>\n\\end\n\n\\define stylesheets-list()\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\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]] [[$:/core/ui/ControlPanel/Plugins/Add]]" }, "$:/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/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/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/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/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/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]]" }, "$:/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": "<$linkcatcher to=\"$:/theme\">\n<div class=\"tc-chooser\"><$list filter=\"[plugin-type[theme]sort[title]]\"><$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\"><div class=<<cls>>><$link to={{!!title}}>''<$view field=\"name\" format=\"text\"/>'' <$view field=\"description\" format=\"text\"/></$link></div>\n</$set>\n</$list>\n</div>\n</$linkcatcher>" }, "$:/core/wiki/title": { "title": "$:/core/wiki/title", "text": "{{$:/SiteTitle}} --- {{$:/SiteSubtitle}}" }, "$:/view": { "title": "$:/view", "text": "classic" }, "$:/snippets/viewswitcher": { "title": "$:/snippets/viewswitcher", "text": "\\define icon()\n$:/core/images/storyview-$(storyview)$\n\\end\n<$linkcatcher to=\"$:/view\">\n<div class=\"tc-chooser\">\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<$link to=<<storyview>>>\n<$transclude tiddler=<<icon>>/>\n<$text text=<<storyview>>/>\n</$link>\n</div>\n</$set>\n</$list>\n</div>\n</$linkcatcher>" } } }
\define add-tag-actions() <$action-sendmessage $message="tm-add-tag" $param={{$:/temp/NewTagName}}/> <$action-deletetiddler $tiddler="$:/temp/NewTagName"/> \end \define add-tag-actions() <$action-sendmessage $message="tm-add-tag" $param={{$:/temp/NewTagName}}/> <$action-deletetiddler $tiddler="$:/temp/NewTagName"/> \end \define tag-button() <$button class="tc-btn-invisible" tag="a"> $(actions)$ <$action-deletetiddler $tiddler="$:/temp/NewTagName"/> <$macrocall $name="tag-pill" tag=<<tag>>/> </$button> \end \define tag-picker(actions) <$set name="actions" value="""$actions$"""> <div class="tc-edit-add-tag"> <span class="tc-add-tag-name"> <$keyboard key="ENTER" actions=<<add-tag-actions>>> <$edit-text tiddler="$:/temp/NewTagName" tag="input" default="" placeholder={{$:/language/EditTemplate/Tags/Add/Placeholder}} focusPopup=<<qualify "$:/state/popup/tags-auto-complete">> class="tc-edit-texteditor tc-popup-handle"/> </$keyboard> </span> <$button popup=<<qualify "$:/state/popup/tags-auto-complete">> class="tc-btn-invisible" tooltip={{$:/language/EditTemplate/Tags/Dropdown/Hint}} aria-label={{$:/language/EditTemplate/Tags/Dropdown/Caption}}>{{$:/core/images/down-arrow}}</$button> <span class="tc-add-tag-button"> <$set name="tag" value={{$:/temp/NewTagName}}> <$button set="$:/temp/NewTagName" setTo="" class=""> $actions$ <$action-deletetiddler $tiddler="$:/temp/NewTagName"/> {{$:/language/EditTemplate/Tags/Add/Button}} </$button> </$set> </span> </div> <div class="tc-block-dropdown-wrapper"> <$reveal state=<<qualify "$:/state/popup/tags-auto-complete">> type="nomatch" text="" default=""> <div class="tc-block-dropdown"> <$list filter="[{$:/temp/NewTagName}minlength{$:/config/Tags/MinLength}limit[1]]" emptyMessage="""<div class="tc-search-results">{{$:/language/Search/Search/TooShort}}</div>""" variable="listItem"> <$list filter="[tags[]!is[system]search:title{$:/temp/NewTagName}!sort[modified]limit[75]]" variable="tag"> <<tag-button>> </$list></$list> <hr> <$list filter="[{$:/temp/NewTagName}minlength{$:/config/Tags/MinLength}limit[1]]" emptyMessage="""<div class="tc-search-results">{{$:/language/Search/Search/TooShort}}</div>""" variable="listItem"> <$list filter="[tags[]is[system]search:title{$:/temp/NewTagName}sort[]]" variable="tag"> <<tag-button>> </$list></$list> </div> </$reveal> </div> </$set> \end
<$button tooltip={{$:/language/Buttons/NewTiddler/Hint}} aria-label={{$:/language/Buttons/NewTiddler/Caption}} class=<<tv-config-toolbar-class>>> <$action-sendmessage $message="tm-new-tiddler" uid=<<shortid>> /> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]"> {{$:/core/images/new-button}} </$list> <$list filter="[<tv-config-toolbar-text>prefix[yes]]"> <span class="tc-btn-text"><$text text={{$:/language/Buttons/NewTiddler/Caption}}/></span> </$list> </$button>
\define searchResultList() //<small>{{$:/language/Search/Matches/Title}}</small>// <$list filter="[!is[system]search:title{$(searchTiddler)$}!sort[modified]limit[75]]" template="$:/core/ui/ListItemTemplate"/> //<small>Alias matches:</small>// <$list filter="[!is[system]search:alias{$(searchTiddler)$}!sort[modified]limit[75]]" template="$:/core/ui/ListItemTemplate"/> //<small>{{$:/language/Search/Matches/All}}</small>// <$list filter="[!is[system]search{$(searchTiddler)$}!sort[modified]limit[30]]" template="$:/core/ui/ListItemTemplate"/> \end <<searchResultList>>
<section class="tc-story-river"> <section class="story-backdrop"> <$list filter="[all[shadows+tiddlers]tag[$:/tags/AboveStory]!has[draft.of]]"> <$transclude/> </$list> </section> <$list filter="[list[$:/StoryList]]" history="$:/HistoryList" template="$:/core/ui/ViewTemplate" editTemplate="$:/core/ui/EditTemplate" storyview={{$:/view}} emptyMessage={{$:/config/EmptyStoryMessage}}/> <section class="story-frontdrop"> <$list filter="[all[shadows+tiddlers]tag[$:/tags/BelowStory]!has[draft.of]]"> <$transclude/> </$list> </section> </section>
\define frame-classes() tc-tiddler-frame tc-tiddler-view-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$ $(tiddlerTagClasses)$ $(userClass)$ \end \define folded-state() $:/state/folded/$(currentTiddler)$ \end <$vars storyTiddler=<<currentTiddler>> tiddlerInfoState=<<qualify "$:/state/popup/tiddler-info">> userClass={{!!class}} > <$tiddler tiddler=<<currentTiddler>> > <div data-tiddler-title=<<currentTiddler>> data-tags={{!!tags}} class=<<frame-classes>> > <$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" variable="listItem" > <$transclude tiddler=<<listItem>> /> </$list> </div> </$tiddler></$vars>
<$reveal tag="div" class="tc-tiddler-body" type="nomatch" state=<<folded-state>> text="hide" retain="yes" animate="yes"> <$list filter="[all[current]!has[plugin-type]!field:hide-body[yes]]"> <$transclude> <$transclude tiddler="$:/language/MissingTiddler/Hint"/> </$transclude> <$reveal type="nomatch" state=<<qualify "$:/temp/popup">> text="show"> <$button class="tc-btn-invisible" set=<<qualify "$:/temp/popup">> setTo="show"> @@color: #7897f3; + Related @@ </$button> </$reveal> <$reveal type="match" state=<<qualify "$:/temp/popup">> text="show"> <$button class="tc-btn-invisible" set=<<qualify "$:/temp/popup">> setTo="hide"> @@color: #7897f3; - Related @@ </$button> //References:// <<list-links filter:"[<currentTiddler>backlinks[]]">> //Sub-topics:// <<list-links filter:"[tag<currentTiddler>sort[modified]]">> //Tags:// <$list filter="[all[current]tags[]sort[title]]" template="$:/core/ui/TagTemplate" storyview="pop"/> </$reveal> </$list> </$reveal>
[list[$:/StoryList]]
[img width=700 [https://i.imgur.com/CW3veCO.png]]
```javascript let req=new XMLHttpRequest(); req.open("POST",url,true); req.setRequestHeader('Content-Type','text/plain'); req.onreadystatechange=function(){ if(req.readyState==4 && req.status==200){ document.getElementsByClassName('message')[0].innerHTML=req.responseText; } }; req.send(userName); ```
```javascript let req=new XMLHttpRequest(); req.open("GET",'/json/cats.json',true); req.send(); req.onload=function(){ json=JSON.parse(req.responseText); document.getElementsByClassName('message')[0].innerHTML=JSON.stringify(json); }; ```
[img width=700 [https://i.imgur.com/rcUog4E.png]] Then [img width=700 [https://i.imgur.com/5nkoLMj.png]]
First, you can create a class, maybe in the same [[Activity|Java android.app.Activity Class]] file that the class will be used: ```java class WebAppInterface { private Context mContext; WebAppInterface(Context c) { mContext = c; } @JavascriptInterface public void showMe(String name) { Toast.makeText(mContext.getApplicationContext(), "showme" + name, Toast.LENGTH_LONG).show(); } } ``` Then you can set this with a [[WebView object|Java android.webkit.WebView Class]] of some kind, in the activity you want: ```java webView.addJavascriptInterface(new WebAppInterface(this.getApplicationContext(), "Android")); ```
``` #include <linux/init.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/moduleparam.h> int someInt; module_param(someInt, int, 0); /* This function is called when the module is loaded. */ int simple_init(void) { printk(KERN_INFO "Loading Module, and someInt is %d\n", someInt); return 0; } /* This function is called when the module is removed. */ void simple_exit(void) { printk(KERN_INFO "Removing Module\n"); } /* Macros for registering module entry and exit points. */ module_init( simple_init ); module_exit( simple_exit ); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("Simple Module"); MODULE_AUTHOR("AGN"); ```
``` #include <pthread.h> #include <stdio.h> int sum; /* this data is shared by the thread(s) */ void *runner(void *param); /* threads call this function */ int main(int argc, char *argv[]) { pthread t tid; /* the thread identifier */ pthread_attr_t attr; /* set of thread attributes */ if (argc != 2) { fprintf(stderr,"usage: a.out <integer value>\n"); return -1; } if (atoi(argv[1]) < 0) { fprintf(stderr,"%d must be >= 0\n",atoi(argv[1])); return -1; } /* get the default attributes */ pthread_attr_init(&attr); /* create the thread */ pthread_create(&tid,&attr,runner,argv[1]); /* wait for the thread to exit */ pthread_join(tid,NULL); printf("sum = %d\n",sum); } /* The thread will begin control in this function */ void *runner(void *param) { int i, upper = atoi(param); sum = 0; for (i = 1; i <= upper; i++) sum += i; pthread exit(0); } ```
``` #include <stdio.h> void main() { int i = 15; foo(&i); printf("i = %d\n", i); i = 10; foo(&i); printf("i = %d\n", i); } void foo(int *n) { //declares the call-by-address parameter printf("n = %d\n", *n); *n = 30; printf("n = %d\n", *n); } ``` where the output will be: ``` n = 15 n = 30 i = 30 n = 10 n = 30 i = 30 ```
Using the `\` in a [[C/C++ macro|C/C++ Directives]] will result in it determining there is no line break. An example of this is below where `__asm` is the indicator to insert assembly language into [[C/C++|Programming in C/C++]]. ``` #define PORTIO __asm \ { __asm mov a1, 2 \ __asm mov dx, 0xD007 \ __asm out a1, dx \ } ```
``` #ifdef _WIN32 // this is a symbol automatically defined on windows #include <window.h> #elif __OSX__ #error Only real computers supported. #else #include <unitstd.h> #endif ```
``` #include <stdio.h> #include <string.h> char *getString(char *str) { // This function returns a pointer to its parameter return str; // returns a string } void setString(char *str1, char *str2) { strcpy(str1, str2) } void main() { char *p, q[8] = "morning", *s = "hello"; printf("s = %s\n", s); p = getString(s); printf("p = %s\n", p); setString(q, p); // q is the address of the array-based string printf("q = %s\n", q); } ``` where the output is: ``` s = hello p = hello q = hello ```
```java DatagramPacket packet = new DatagramPacket (new byte[256], 256); DatagramSocket socket = new DatagramSocket(2000); boolean finished = false; while (!finished) { socket.receive(packet); // process the packet finished = true; } socket.close(); ByteArrayInputStream bin = new ByteArrayInputStream(packet.getData()); DataInputStream din = new DataInputStream(bin); // Read the contents of the UDP packet. ```
``` grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); ```
``` grid-template-columns: repeat(2, 1fr 50px) 20px; ``` This will translate to ``` grid-template-columns: 1fr 50px 1fr 50px 20px; ```
```java public class ButtonFrame2 extends JFrame { private JButton button; private JLabel label; . . . class ClickListener implements ActionListener { public void actionPerformed(ActionEvent event) { // Accesses label variable from surrounding class label.setText("I was clicked"); } } ActionListener listener = new ClickListener(); button.addActionListener(Listener); . . . } ```
``` <form action="/action_page.php"> First name:<br> <input type="text" name="firstname" value="Mickey"><br> Last name:<br> <input type="text" name="lastname" value="Mouse"><br><br> <input type="submit" value="Submit"> </form> ``` Which comes out as (don't click the submit button 😛) <form action="/action_page.php"> First name:<br> <input type="text" name="firstname" value="Mickey"><br> Last name:<br> <input type="text" name="lastname" value="Mouse"><br><br> <input type="submit" value="Submit"> </form>
HTML: ``` <head> <link href="https://fonts.googleapis.com/css?family=Roboto:300" rel="stylesheet"> </head> ``` CSS: ``` body { font-family: 'Roboto', sans-serif; } ```
```java package ser321.sockets; import java.net.*; import java.util.*; /** * Copyright 2015 Tim Lindquist, * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * A class to demonstrate receiving a datagram packet. * Ser321 Foundations of Distributed Software Systems * see http://pooh.poly.asu.edu/Ser321 * @author Tim Lindquist Tim.Lindquist@asu.edu * Software Engineering, CIDSE, IAFSE, ASU Poly * @version August 2015 */ public class GetNameForIP { public static void main (String args[]) { if(args.length < 1) System.out.println( "usage: java ser321.sockets.GetNameForIP 129.219.40.47"); else try{ StringTokenizer st = new StringTokenizer(args[0], "."); byte ip[] = new byte[4]; int i=0; while (st.hasMoreElements()){ String seg = (String)st.nextElement(); int next = Integer.parseInt(seg); if (next > 127) { next = next - 256; } ip[i] = (new Integer(next)).byteValue(); i++; } System.out.println("Domain name for IP: "+args[0]+" is: " +(InetAddress.getByAddress(ip)) .getHostName()); }catch (Exception e){ System.out.println(e.getMessage()); } } } ```
[img width=700 [https://i.imgur.com/MxqLwgH.png]]
```java /** * Searches the provided array up to the index calculated by numValues - 1 * for repeating values. If a repeating value is found, this method returns * false. * * This method is O(n) * * @param numValues * @param array * @return true when all values up to the numValues - 1 index are unique */ private static boolean valuesAreUnique(int numValues, int[] array) { Set<Integer> intSet = new HashSet<Integer>(); for (int i = 0; i < numValues; i++) { if (intSet.contains(array[i])) { return false; } intSet.add(array[i]); } return true; } ```
```java /** * Implementation of AsyncTask designed to fetch data from the network. */ private class DownloadTask extends AsyncTask<String, Integer, DownloadTask.Result> { private DownloadCallback<String> callback; DownloadTask(DownloadCallback<String> callback) { setCallback(callback); } void setCallback(DownloadCallback<String> callback) { this.callback = callback; } /** * Wrapper class that serves as a union of a result value and an exception. When the download * task has completed, either the result value or exception can be a non-null value. * This allows you to pass exceptions to the UI thread that were thrown during doInBackground(). */ static class Result { public String resultValue; public Exception exception; public Result(String resultValue) { this.resultValue = resultValue; } public Result(Exception exception) { this.exception = exception; } } /** * Cancel background network operation if we do not have network connectivity. */ @Override protected void onPreExecute() { if (callback != null) { NetworkInfo networkInfo = callback.getActiveNetworkInfo(); if (networkInfo == null || !networkInfo.isConnected() || (networkInfo.getType() != ConnectivityManager.TYPE_WIFI && networkInfo.getType() != ConnectivityManager.TYPE_MOBILE)) { // If no connectivity, cancel task and update Callback with null data. callback.updateFromDownload(null); cancel(true); } } } /** * Defines work to perform on the background thread. */ @Override protected DownloadTask.Result doInBackground(String... urls) { Result result = null; if (!isCancelled() && urls != null && urls.length > 0) { String urlString = urls[0]; try { URL url = new URL(urlString); String resultString = downloadUrl(url); if (resultString != null) { result = new Result(resultString); } else { throw new IOException("No response received."); } } catch(Exception e) { result = new Result(e); } } return result; } /** * Updates the DownloadCallback with the result. */ @Override protected void onPostExecute(Result result) { if (result != null && callback != null) { if (result.exception != null) { callback.updateFromDownload(result.exception.getMessage()); } else if (result.resultValue != null) { callback.updateFromDownload(result.resultValue); } callback.finishDownloading(); } } /** * Override to add special behavior for cancelled AsyncTask. */ @Override protected void onCancelled(Result result) { } } ```
```java import java.sql.*; public class JDBCTest { public static void main(String[] args) throws SQLException { Connection myConn = null; Statement myStmt = null; ResultSet myRs = null; try { // 1. Get a connection to database myConn = DriverManager.getConnection("jdbc:mysql://localhost:3306/demo", "student" , "student"); System.out.println("Database connection successful!\n"); // 2. Create a statement myStmt = myConn.createStatement(); // 3. Execute SQL query myRs = myStmt.executeQuery("select * from employees"); // 4. Process the result set while (myRs.next()) { System.out.println(myRs.getString("last_name") + ", " + myRs.getString("first_name")); } } catch (Exception exc) { exc.printStackTrace(); } finally { if (myRs != null) { myRs.close(); } if (myStmt != null) { myStmt.close(); } if (myConn != null) { myConn.close(); } } } } ```
```java package edu.asupoly.ser322.jdbcex; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import java.sql.SQLException; /* This sample program connects to the database at the given URL and makes the specified query. It takes as parameters the username and password. */ public class DeptQuery { public static void main(String[] args) { ResultSet rs = null; Statement stmt = null; Connection conn = null; if (args.length != 4) { System.out.println("USAGE: java edu.asupoly.ser322.jdbcex.DeptQuery <url> <user> <passwd> <driver>"); System.exit(0); } String _url = args[0]; try { // Step 1: Load the JDBC driver Class.forName(args[3]); // Step 2: make a connection conn = DriverManager.getConnection(_url, args[1], args[2]); // Step 3: Create a statement stmt = conn.createStatement(); // Step 4: Make a query rs = stmt.executeQuery("Select * from Department"); // Step 5: Display the results while (rs.next()) { System.out.print(rs.getString(1) + "\t"); System.out.print(rs.getInt(2) + "\t "); System.out.print(rs.getInt(3) + "\t "); System.out.println(rs.getDate(4)); } } catch (Exception exc) { exc.printStackTrace(); } finally { // ALWAYS clean up your DB resources try { if (rs != null) rs.close(); if (stmt != null) stmt.close(); if (conn != null) conn.close(); } catch (SQLException se) { se.printStackTrace(); } } } } ```
Credit to Android documentation for this. ```java TextView textView; // some transient state for the activity instance String gameState; @Override public void onCreate(Bundle savedInstanceState) { // call the super class onCreate to complete the creation of activity like // the view hierarchy. Always call the superclass first. super.onCreate(savedInstanceState); // recovering the instance state if (savedInstanceState != null) { gameState = savedInstanceState.getString(GAME_STATE_KEY); } // set the user interface layout for this activity // the layout file is defined in the project res/layout/main_activity.xml file setContentView(R.layout.main_activity); // initialize member TextView so we can manipulate it later textView = (TextView) findViewById(R.id.text_view); } // This callback is called only when there is a saved instance that is previously saved by using // onSaveInstanceState(). We restore some state in onCreate(), while we can optionally restore // other state here, possibly usable after onStart() has completed. // The savedInstanceState Bundle is same as the one used in onCreate(). @Override public void onRestoreInstanceState(Bundle savedInstanceState) { textView.setText(savedInstanceState.getString(TEXT_VIEW_KEY)); } // invoked when the activity may be temporarily destroyed, save the instance state here @Override public void onSaveInstanceState(Bundle outState) { outState.putString(GAME_STATE_KEY, gameState); outState.putString(TEXT_VIEW_KEY, textView.getText()); // call superclass to save any view hierarchy super.onSaveInstanceState(outState); } ```
```java import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.Test; public class MyTests { @Test public void multiplicationOfZeroIntegersShouldReturnZero() { MyClass tester = new MyClass(); // MyClass is tested // assert statements assertEquals(0, tester.multiply(10, 0), "10 x 0 must be 0"); assertEquals(0, tester.multiply(0, 10), "0 x 10 must be 0"); assertEquals(0, tester.multiply(0, 0), "0 x 0 must be 0"); } } ```
```java import java.util.concurrent.*; public class MultithreadedMaxFinder { public static int max(int[] data) throws InterruptedException, ExecutionException { if (data.length == 1) { return data[0]; } else if (data.length == 0) { throw new IllegalArgumentException(); } // split the job into 2 pieces FindMaxTask task1 = new FindMaxTask(data, 0, data.length/2); FindMaxTask task2 = new FindMaxTask(data, data.length/2, data.length); // spawn 2 threads ExecutorService service = Executors.newFixedThreadPool(2); Future<Integer> future1 = service.submit(task1); Future<Integer> future2 = service.submit(task2); return Math.max(future1.get(), future2.get()); } } ```
```java /** * Given a URL, sets up a connection and gets the HTTP response body from the server. * If the network request is successful, it returns the response body in String form. Otherwise, * it will throw an IOException. */ private String downloadUrl(URL url) throws IOException { InputStream stream = null; HttpsURLConnection connection = null; String result = null; try { connection = (HttpsURLConnection) url.openConnection(); // Timeout for reading InputStream arbitrarily set to 3000ms. connection.setReadTimeout(3000); // Timeout for connection.connect() arbitrarily set to 3000ms. connection.setConnectTimeout(3000); // For this use case, set HTTP method to GET. connection.setRequestMethod("GET"); // Already true by default but setting just in case; needs to be true since this request // is carrying an input (response) body. connection.setDoInput(true); // Open communications link (network traffic occurs here). connection.connect(); publishProgress(DownloadCallback.Progress.CONNECT_SUCCESS); int responseCode = connection.getResponseCode(); if (responseCode != HttpsURLConnection.HTTP_OK) { throw new IOException("HTTP error code: " + responseCode); } // Retrieve the response body as an InputStream. stream = connection.getInputStream(); publishProgress(DownloadCallback.Progress.GET_INPUT_STREAM_SUCCESS, 0); if (stream != null) { // Converts Stream to String with max length of 500. result = readStream(stream, 500); } } finally { // Close Stream and disconnect HTTPS connection. if (stream != null) { stream.close(); } if (connection != null) { connection.disconnect(); } } return result; } ```
```javascript function doubleAfter2Seconds(x) { return new Promise(resolve => { setTimeout(() => { resolve(x * 2); }, 2000); // 2 seconds }) } async function addAsync(x) { const a = await doubleAfter2Seconds(10); const b = await doubleAfter2Seconds(20); const c = await doubleAfter2Seconds(30); return x + a + b + c; } addAsync(10).then(sum => { console.log(sum); // Will print 130 after 6 seconds }); ```
```js /** * Holds global variables which can be used in multiple files and the changes will be reflected amongst all of them. */ export default class Globals { public static var1 = 0; public static var2 = 1; } ```
```json { "env": { "node": true, "commonjs": true, "es6": true }, "extends": [ "google", "plugin:jsdoc/recommended", "plugin:prettier/recommended" ], "globals": { "Atomics": "readonly", "SharedArrayBuffer": "readonly" }, "plugins": [ "jsdoc" ], "rules": { /* Disabled because this feature was deprecated in normal ESLint */ "valid-jsdoc": "off" }, "overrides": [ { "files": [ "*.ts" ], "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaVersion": 2020 }, /* Sets up a similar rule-set for TypeScript files only */ "extends": [ "google", "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended" ] } ] } ```
```javascript app.get("/json", (req, res) => { res.json({"message": "Hello json"}) }) ```
```javascript class MyComponent extends React.Component { constructor(props) { super(props); this.myRef = React.createRef(); } render() { return <div ref={this.myRef} />; } } ```
```javascript // import React from 'react' // import ReactDOM from 'react-dom' // import { Provider, connect } from 'react-redux' // import { createStore, combineReducers, applyMiddleware } from 'redux' // import thunk from 'redux-thunk' // import rootReducer from './redux/reducers' // import App from './components/App' // const store = createStore( // rootReducer, // applyMiddleware(thunk) // ); // ReactDOM.render( // <Provider store={store}> // <App/> // </Provider>, // document.getElementById('root') // ); // Redux: const ADD = 'ADD'; const addMessage = (message) => { return { type: ADD, message: message } }; const messageReducer = (state = [], action) => { switch (action.type) { case ADD: return [ ...state, action.message ]; default: return state; } }; const store = Redux.createStore(messageReducer); // React: const Provider = ReactRedux.Provider; const connect = ReactRedux.connect; class Presentational extends React.Component { constructor(props) { super(props); this.state = { input: '' } this.handleChange = this.handleChange.bind(this); this.submitMessage = this.submitMessage.bind(this); } handleChange(event) { this.setState({ input: event.target.value }); } submitMessage() { this.props.submitNewMessage(this.state.input); this.setState({ input: '' }); } render() { return ( <div> <h2>Type in a new Message:</h2> <input value={this.state.input} onChange={this.handleChange}/><br/> <button onClick={this.submitMessage}>Submit</button> <ul> {this.props.messages.map( (message, idx) => { return ( <li key={idx}>{message}</li> ) }) } </ul> </div> ); } }; const mapStateToProps = (state) => { return {messages: state} }; const mapDispatchToProps = (dispatch) => { return { submitNewMessage: (message) => { dispatch(addMessage(message)) } } }; const Container = connect(mapStateToProps, mapDispatchToProps)(Presentational); class AppWrapper extends React.Component { render() { return ( <Provider store={store}> <Container/> </Provider> ); } }; ```
```javascript const INCREMENT = 'INCREMENT'; // define a constant for increment action types const DECREMENT = 'DECREMENT'; // define a constant for decrement action types const counterReducer = (state = defaultStore, action) => { switch (action.type) { case INCREMENT: return state + 1; break; case DECREMENT: return state - 1; break; default: return state; break; } }; // define the counter reducer which will increment or decrement the state based on the action it receives const incAction = () => { return { type: INCREMENT } }; // define an action creator for incrementing const decAction = () => { return { type: DECREMENT } }; // define an action creator for decrementing const defaultStore = 0; const store = Redux.createStore(counterReducer); // define the Redux store here, passing in your reducers ```
```javascript const REQUESTING_DATA = 'REQUESTING_DATA' const RECEIVED_DATA = 'RECEIVED_DATA' const requestingData = () => { return {type: REQUESTING_DATA} } const receivedData = (data) => { return {type: RECEIVED_DATA, users: data.users} } const handleAsync = () => { return function(dispatch) { // dispatch request action here dispatch(requestingData()); setTimeout(function() { let data = { users: ['Jeff', 'William', 'Alice'] } // dispatch received data action here dispatch(receivedData(data)); }, 2500); } }; const defaultState = { fetching: false, users: [] }; const asyncDataReducer = (state = defaultState, action) => { switch(action.type) { case REQUESTING_DATA: return { fetching: true, users: [] } case RECEIVED_DATA: return { fetching: false, users: action.users } default: return state; } }; const store = Redux.createStore( asyncDataReducer, Redux.applyMiddleware(ReduxThunk.default) ); ```
* `Usa_phone_numbers` The set of ten-digit phone numbers valid in the United States. * `Local_phone_numbers` The set of seven-digit phone numbers valid within a particular area code in the United States. The use of local phone numbers is quickly becoming obsolete, being replaced by standard ten-digit numbers. * `Social_security_numbers` The set of valid nine-digit Social Security numbers. (This is a unique identifier assigned to each person in the United States for employment, tax, and benefits purposes.) * `Names` The set of character strings that represent names of persons. * `Grade_point_averages` Possible values of computed grade point averages; each must be a real (floating-point) number between 0 and 4. * `Employee_ages` Possible ages of employees in a company; each must be an integer value between 15 and 80. * `Academic_department_names` The set of academic department names in a university, such as Computer Science, Economics, and Physics. * `Academic_department_codes` The set of academic department codes, such as ‘CS’, ‘ECON’, and ‘PHYS’.
```java @Override protected void onStop() { // call the superclass method first super.onStop(); // save the note's current draft, because the activity is stopping // and we want to be sure the current note progress isn't lost. ContentValues values = new ContentValues(); values.put(NotePad.Notes.COLUMN_NAME_NOTE, getCurrentNoteText()); values.put(NotePad.Notes.COLUMN_NAME_TITLE, getCurrentNoteTitle()); // do this update in background on an AsyncQueryHandler or equivalent asyncQueryHandler.startUpdate ( mToken, // int token to correlate calls null, // cookie, not used here uri, // The URI for the note to update. values, // The map of column names and new values to apply to them. null, // No SELECT criteria are used. null // No WHERE columns are used. ); } ```
```swift class MyManagedObject: NSManagedObject { @NSManaged var title: String? @NSManaged var date: NSDate? } ```
```swift do { try managedObjectContext.save() } catch { fatalError("Failure to save context: \(error)") } ```
```swift override func prepare(for segue: UIStoryboardSegue, sender: Any?) { // Get the new view controller using segue.destinationViewController. // Pass the selected object (and model) to the new view controller. //NSLog("seque identifier is \(String(describing: segue.identifier))") if segue.identifier == "StudentDetail" { let viewController:ViewController = segue.destination as! ViewController let indexPath = self.tableView.indexPathForSelectedRow! viewController.students = self.students viewController.selectedStudent = self.filtered[indexPath.row] } } ```
```java public void save(String fileName) throw IOException { FileOutputStream fos = new FileOutputStream(fileName); ObjectOutputStream oos = new ObjectOutputStream(fos); oos.writeObject(this); oos.flush(); oos.close(); } public static ProgramOfStudy load(String filename) throws IOException, ClassNotFoundException { FileInputStream fis = new FileInputStream(fileName); ObjectInputStream ois = new ObjectInputStream(fis); ProgramOfStudy pos = (ProgramOfStudy) ois.readObject(); // This is the class in this example ois.close(); return pos; } ```
```xml <?xml version=“1.0” encoding=“UTF-8” ?> <xsd:schema xmlns:xsd=“http://www.w3.org/2001/XMLSchema”> <xsd:annotation> <xsd:documentation xml:lang=“en”> Company Schema (Element Approach) - Prepared by Babak Hojabri </xsd:documentation> </xsd:annotation> <xsd:element name=“company”> <xsd:complexType> <xsd:sequence> <xsd:element name=“department” type=“Department” minOccurs=“0” maxOccurs=“unbounded” /> <xsd:element name=“employee” type=“Employee” minOccurs=“0” maxOccurs=“unbounded”> <xsd:unique name=“dependentNameUnique”> <xsd:selector xpath=“employeeDependent” /> <xsd:field xpath=“dependentName” /> </xsd:unique> </xsd:element> <xsd:element name=“project” type=“Project” minOccurs=“0” maxOccurs=“unbounded” /> </xsd:sequence> </xsd:complexType> <xsd:unique name=“departmentNameUnique”> <xsd:selector xpath=“department” /> <xsd:field xpath=“departmentName” /> </xsd:unique> <xsd:unique name=“projectNameUnique”> <xsd:selector xpath=“project” /> <xsd:field xpath=“projectName” /> </xsd:unique> <xsd:key name=“projectNumberKey”> <xsd:selector xpath=“project” /> <xsd:field xpath=“projectNumber” /> </xsd:key> <xsd:key name=“departmentNumberKey”> <xsd:selector xpath=“department” /> <xsd:field xpath=“departmentNumber” /> </xsd:key> <xsd:key name=“employeeSSNKey”> <xsd:selector xpath=“employee” /> <xsd:field xpath=“employeeSSN” /> </xsd:key> <xsd:keyref name=“departmentManagerSSNKeyRef” refer=“employeeSSNKey”> <xsd:selector xpath=“department” /> <xsd:field xpath=“departmentManagerSSN” /> </xsd:keyref> <xsd:keyref name=“employeeDepartmentNumberKeyRef” refer=“departmentNumberKey”> <xsd:selector xpath=“employee” /> <xsd:field xpath=“employeeDepartmentNumber” /> </xsd:keyref> <xsd:keyref name=“employeeSupervisorSSNKeyRef” refer=“employeeSSNKey”> <xsd:selector xpath=“employee” /> <xsd:field xpath=“employeeSupervisorSSN” /> </xsd:keyref> <xsd:keyref name=“projectDepartmentNumberKeyRef” refer=“departmentNumberKey”> <xsd:selector xpath=“project” /> <xsd:field xpath=“projectDepartmentNumber” /> </xsd:keyref> <xsd:keyref name=“projectWorkerSSNKeyRef” refer=“employeeSSNKey”> <xsd:selector xpath=“project/projectWorker” /> <xsd:field xpath=“SSN” /> </xsd:keyref> <xsd:keyref name=“employeeWorksOnProjectNumberKeyRef” refer=“projectNumberKey”> <xsd:selector xpath=“employee/employeeWorksOn” /> <xsd:field xpath=“projectNumber” /> </xsd:keyref> </xsd:element> <xsd:complexType name=“Department”> <xsd:sequence> <xsd:element name=“departmentName” type=“xsd:string” /> <xsd:element name=“departmentNumber” type=“xsd:string” /> <xsd:element name=“departmentManagerSSN” type=“xsd:string” /> <xsd:element name=“departmentManagerStartDate” type=“xsd:date” /> <xsd:element name=“departmentLocation” type=“xsd:string” minOccurs=“0” maxOccurs=“unbounded” /> </xsd:sequence> </xsd:complexType> <xsd:complexType name=“Employee”> <xsd:sequence> <xsd:element name=“employeeName” type=“Name” /> <xsd:element name=“employeeSSN” type=“xsd:string” /> <xsd:element name=“employeeSex” type=“xsd:string” /> <xsd:element name=“employeeSalary” type=“xsd:unsignedInt” /> <xsd:element name=“employeeBirthDate” type=“xsd:date” /> <xsd:element name=“employeeDepartmentNumber” type=“xsd:string” /> <xsd:element name=“employeeSupervisorSSN” type=“xsd:string” /> <xsd:element name=“employeeAddress” type=“Address” /> <xsd:element name=“employeeWorksOn” type=“WorksOn” minOccurs=“1” maxOccurs=“unbounded” /> <xsd:element name=“employeeDependent” type=“Dependent” minOccurs=“0” maxOccurs=“unbounded” /> </xsd:sequence> </xsd:complexType> <xsd:complexType name=“Project”> <xsd:sequence> <xsd:element name=“projectName” type=“xsd:string” /> <xsd:element name=“projectNumber” type=“xsd:string” /> <xsd:element name=“projectLocation” type=“xsd:string” /> <xsd:element name=“projectDepartmentNumber” type=“xsd:string” /> <xsd:element name=“projectWorker” type=“Worker” minOccurs=“1” maxOccurs=“unbounded” /> </xsd:sequence> </xsd:complexType> <xsd:complexType name=“Dependent”> <xsd:sequence> <xsd:element name=“dependentName” type=“xsd:string” /> <xsd:element name=“dependentSex” type=“xsd:string” /> <xsd:element name=“dependentBirthDate” type=“xsd:date” /> <xsd:element name=“dependentRelationship” type=“xsd:string” /> </xsd:sequence> </xsd:complexType> <xsd:complexType name=“Address”> <xsd:sequence> <xsd:element name=“number” type=“xsd:string” /> <xsd:element name=“street” type=“xsd:string” /> <xsd:element name=“city” type=“xsd:string” /> <xsd:element name=“state” type=“xsd:string” /> </xsd:sequence> </xsd:complexType> <xsd:complexType name=“Name”> <xsd:sequence> <xsd:element name=“firstName” type=“xsd:string” /> <xsd:element name=“middleName” type=“xsd:string” /> <xsd:element name=“lastName” type=“xsd:string” /> </xsd:sequence> </xsd:complexType> <xsd:complexType name=“Worker”> <xsd:sequence> <xsd:element name=“SSN” type=“xsd:string” /> <xsd:element name=“hours” type=“xsd:float” /> </xsd:sequence> </xsd:complexType> <xsd:complexType name=“WorksOn”> <xsd:sequence> <xsd:element name=“projectNumber” type=“xsd:string” /> <xsd:element name=“hours” type=“xsd:float” /> </xsd:sequence> </xsd:complexType> </xsd:schema> ```
```xml <xs:element name="employee"> <xs:complexType> <xs:sequence> <xs:element name="firstname" type="xs:string"/> <xs:element name="lastname" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:element> ```
``` /company /company/department //employee [employeeSalary gt 70000]/employeeName /company/employee [employeeSalary gt 70000]/employeeName /company/project/projectWorker [hours ge 20.0] ```
``` LET $d : = doc(www.company.com/info.xml) FOR $x IN $d/company/project[projectNumber = 5]/projectWorker, $y IN $d/company/employee WHERE $x/hours gt 20.0 AND $y.ssn = $x.ssn ORDER BY $x/hours RETURN <res> $y/employeeName/firstName, $y/employeeName/lastName, $x/hours </res> ```
[img width=700 [https://i.imgur.com/pd5qB8Y.png]]
[img width=700 [https://i.imgur.com/wdbhlKv.png]]
[img width=700 [https://i.imgur.com/yLAXwef.png]]
[img width=700 [https://i.imgur.com/OFKbLt7.png]]
[img width=700 [https://i.imgur.com/Z9maG0E.png]]
[img width=700 [https://i.imgur.com/8p2oT0p.png]]
[img width=700 [https://i.imgur.com/2kdkGnf.png]]
[img width=700 [https://i.imgur.com/dQbzoZ9.png]]
[img width=500 [https://i.imgur.com/HNOYIAd.png]]
[img width=600 [https://i.imgur.com/nfV1ov7.png]]
[img width=700 [https://i.imgur.com/O3hkp8u.png]]
[img width=500 [https://i.imgur.com/hEupiWh.png]]
[img width=400 [https://i.imgur.com/fO56DdG.png]]
[img width=400 [https://i.imgur.com/uwAoodW.png]]
[img width=700 [https://i.imgur.com/T6ofT69.png]]
[img width=700 [https://i.imgur.com/NNFNQp0.png]]
[img width=500 [https://i.imgur.com/unwjON9.png]]
[img width=500 [https://i.imgur.com/NG8lA9z.png]]
[img width=400 [https://i.imgur.com/uYL1os0.png]] * New - the process is being created * Running - Instructions are being executed * Waiting - The process is waiting for some event to occur * Ready - The process is waiting to be assigned to a processor * Terminated - The process has finished execution
[img width=400 [https://i.imgur.com/D6ErvHx.png]]
[img width=300 [https://i.imgur.com/g9VfOew.png]]
[img width=700 [$:/https://i.imgur.com/Lxx31IH.png]]
[img width=700 [https://i.imgur.com/TFwqYRJ.png]]
[img width=400 [https://i.imgur.com/QjIrWDP.png]]
[img width=400 [https://i.imgur.com/ToHB2v7.png]]
[img width=300 [https://i.imgur.com/8atxRs2.png]]
[img width=700 [https://i.imgur.com/bTyas7P.png]]
[img width=500 [https://i.imgur.com/VqYzijB.png]]
The US stands for [[user stories|User Stories]]. The Todos are assigned to a particular user story. Some developer can take on a particular task and move it to the "In Progress" section. [img width=700 [https://i.imgur.com/2moa1Jw.png]]
[img width=900 [https://rawgraphs.io/wp-content/uploads/2017/05/treemap-cover.png]]
[img width=1000 [https://i.imgur.com/WE4a7c6.jpg]]
[img width=700 [https://i.imgur.com/FgW73qS.png]]
The child is on the left [img width=500 [https://i.imgur.com/poRNEU6.png]]
[img width=500 [https://i.imgur.com/3pEkAri.png]]
[img width=600 [https://i.imgur.com/dbxSflg.png]]
[img width=700 [https://i.imgur.com/KKWRo1M.png]]
[img width=700 [https://i.imgur.com/k2jDy8G.png]]
[img width=700 [https://i.imgur.com/KmUsQ66.jpg]]
[img width=700 [https://i.imgur.com/oGJlDzK.png]]
[img width=700 [https://i.imgur.com/0dTXXrL.png]]
[img width=700 [https://i.imgur.com/bxOihqL.png]]
[img width=700 [https://i.imgur.com/Ekbu5jZ.png]]
[img width=500 [https://i.imgur.com/CSuLeDw.png]]
[img width=700 [https://i.imgur.com/IMbF7Vu.png]]
[img width=700 [https://i.imgur.com/K09I8Yy.png]]
[img width=700 [https://i.imgur.com/S4cQVWw.png]]
[img width=600 [https://i.imgur.com/JQAkupB.png]]
[img width=600 [https://i.imgur.com/w29GW3U.png]]
[img width=700 [https://i.imgur.com/61LggCI.png]]
[img width=700 [https://i.imgur.com/RUF10Ff.png]]
[img width=700 [https://i.imgur.com/aqhtNa8.png]]
[img width=700 [https://i.imgur.com/YJVhPNM.png]]
[img width=600 [https://i.imgur.com/Cedz2cX.png]]
[img width=300 [https://i.imgur.com/oojMnnB.png]]
[img width=500 [https://i.imgur.com/FfmDtyl.png]]
[img width=700 [https://i.imgur.com/TtzROFu.png]]
[img width=700 [https://i.imgur.com/FdqReIV.png]]
[img width=350 [https://i.imgur.com/wnLbrL8.png]]
[img width=700 [https://i.imgur.com/uOtkejD.png]]
[img width=700 [https://i.imgur.com/TXsxFN0.png]]
[img width=600 [https://www.dropbox.com/s/vpjggqle5zu355a/Mozilla%20Gecko%20Main%20Flow.png?raw=1]]
[img width=500 [https://i.imgur.com/aYJF2dc.png]]
[img width=700 [https://i.imgur.com/wWDXVmq.png]]
[img width=500 [https://i.imgur.com/bVr3yvI.png]] [img width=500 [https://i.imgur.com/MK6NSlo.png]]
[img width=600 [https://i.imgur.com/l5T4Z7U.png]]
[img width=250 [https://i.imgur.com/PeNv5J6.png]]
[img width=700 [https://i.imgur.com/RiMHThb.jpg]]
[img width=700 [https://i.imgur.com/L0P7XP7.png]] * Cocoa touch is the UI * For the media, OpenGL, some sound libraries, etc. * the core services are like iCloud, user management. They aren't really core. * Core OS is actually the core OS, so managing files, drivers, etc. The real kernel is here. For Android: * It is layered + monolithic.
[img width=700 [https://i.imgur.com/vwXrJM7.png]]
[img width=500 [https://i.imgur.com/1UGgtsN.jpg]]
[img width=500 [https://i.imgur.com/sFpQiR0.png]]
[img width=500 [https://i.imgur.com/dPujVNX.png]]
[img width=500 [https://i.imgur.com/7kyR3M8.png]]
[img width=700 [https://i.imgur.com/Vuoc0ST.png]]
[img width=700 [https://i.imgur.com/xIK444X.png]]
[img width=600 [https://i.imgur.com/lpT2ae2.png]]
[img width=600 [https://i.imgur.com/WDxkWVp.png]]
[img width=600 [https://i.imgur.com/ULbFVEM.png]]
[img width=400 [https://i.imgur.com/308qcGm.png]]
[img width=600 [https://i.imgur.com/EwdX8TP.png]]
[img width=500 [https://i.imgur.com/aYyFoCF.png]]
[img width=700 [https://i.imgur.com/8xHeWYP.png]]
[img width=400 [https://i.imgur.com/y0FmY89.png]]
[img width=700 [https://i.imgur.com/LWZNpwn.png]]
[img width=700 [https://i.imgur.com/DKiHbJ9.png]]
[img width=700 [https://i.imgur.com/kMBVgKY.png]]
[img width=700 [https://i.imgur.com/LJ71LzH.jpg]] * The resident system program could be like an anti-virus. Not quite in the kernel layer, but in the background and pretty low-level keeping an eye on things. * Here the MS-DOS drivers are kind of like the kernel. * The problem with the MS-DOS setup is that the application program has all the rights to access the BIOS, and every piece of hardware.
[img width=700 [https://i.imgur.com/fotltNT.png]]
[img width=500 [https://i.imgur.com/CAVupJl.png]]
[img width=500 [https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/68/67/metablogapi/2185.image_43A1625A.png]]
[img width=700 [https://i.imgur.com/fv9eGZu.png]]
[img width=400 [https://i.imgur.com/4z0rh4x.png]]
[img width=700 [https://i.imgur.com/8XcXHsg.png]]
[img width=700 [https://i.imgur.com/heXodhF.png]]
[img width=450 [https://i.imgur.com/o5CQDJi.png]]
[img width=700 [https://i.imgur.com/KaOh4CQ.png]]
[img width=700 [https://i.imgur.com/S3BoLDI.png]]
[img width=700 [https://i.imgur.com/RpgZHw3.png]]
[img width=700 [https://i.imgur.com/4MQqtWY.png]]
[img width=400 [https://i.imgur.com/Zuzmih4.png]]
[img width=700 [https://i.imgur.com/u7YRP0f.png]]
[img width=700 [https://i.imgur.com/VcfcG53.png]]
[img width=700 [https://i.imgur.com/5KJIve2.png]]
[img width=700 [https://i.imgur.com/tckxDUE.png]]
[img width=700 [https://i.imgur.com/nYSCLa2.png]]
[img width=700 [https://i.imgur.com/azZpFCD.png]]
[img width=700 [https://i.imgur.com/e7l37rU.png]]
[img width=450 [https://i.imgur.com/yRM0Ivn.png]]
[img width=500 [https://i.imgur.com/2Sue8T5.png]]
[img width=800 [https://i.imgur.com/t6SKLjs.png]]
[img width=500 [https://i.imgur.com/NgemQ1C.png]]
The below image is from [[this book|Book - Fundamentals of Database Systems 7th Ed]] on the book page 671. [img width=700 [https://i.imgur.com/pTN8Ysh.png]]
[img width=400 [https://i.imgur.com/rt2jsWN.jpg]]
[img width=550 [https://i.imgur.com/aFiMqhy.png]]
[img width=700 [https://i.imgur.com/sIx0d0w.png]]
[img width=500 [https://i.imgur.com/FUcL9un.png]]
[img width=500 [https://i.imgur.com/0k7G4mF.png]]
[img width=700 [https://i.imgur.com/IFVcaNv.png]]
[img width=250 [https://i.imgur.com/lc16mxX.png]]
[img width=1000 [https://i.imgur.com/i23oUFz.png]]
[img width=700 [https://i.imgur.com/2dmXln8.png]]
[img width=500 [https://i.imgur.com/wYnJ8Kq.jpg]]
[img width=500 [https://i.imgur.com/kqdN9hV.png]]
[img width=700 [https://i.imgur.com/1HDn4Ij.png]]
P indicates error correcting bits, C represents a copy of the stored data. [img width=400 [https://i.imgur.com/IyNYP8H.png]]
[img width=500 [https://i.imgur.com/7ga0s5R.png]]
[img width=500 [https://i.imgur.com/VgFOAtF.png]]
[img width=500 [https://i.imgur.com/lFUkrfI.png]]
[img width=600 [https://i.imgur.com/1zThIwx.png]]
[img width=700 [https://i.imgur.com/HoGz48E.png]]
[img width=700 [https://i.imgur.com/b5qm5Uz.png]]
[img width=700 [https://i.imgur.com/CPpGbDE.jpg]]
[img width=700 [https://i.imgur.com/9Z6jAKh.png]]
[img width=600 [https://i.imgur.com/ULQWU1l.png]]
[img width=400 [https://i.imgur.com/7NyJR1p.png]]
[img width=700 [https://i.imgur.com/mPI2fYc.png]]
[img width=700 [https://i.imgur.com/jkqMgxv.png]]
[img width=400 [https://i.imgur.com/XLQKLx2.png]]
The arrows here represent a flow of data. [img width=700 [https://i.imgur.com/6xY6M8G.png]]
[img width=600 [https://www.dropbox.com/s/a6eyw0b6uvq8jgo/Webkit%20Main%20Flow.png?raw=1]]
The following tiddlers were imported: # [[$:/plugins/jd/mob]]
<div class="tc-table-of-contents"> <<toc-selective-expandable '$:/incomplete' sort[title]>> </div>
no
<div class="tc-table-of-contents"> <<toc-selective-expandable 'TableOfContents'>> </div>
$:/palettes/Blanca
alert-background: #ffe476 alert-border: #b99e2f alert-highlight: #881122 alert-muted-foreground: #b99e2f background: #ffffff blockquote-bar: <<colour muted-foreground>> button-background: button-foreground: button-border: code-background: #f7f7f9 code-border: #e1e1e8 code-foreground: #dd1144 dirty-indicator: #ff0000 download-background: #66cccc download-foreground: <<colour background>> dragger-background: <<colour foreground>> dragger-foreground: <<colour background>> dropdown-background: <<colour background>> dropdown-border: <<colour muted-foreground>> dropdown-tab-background-selected: #fff dropdown-tab-background: #ececec dropzone-background: rgba(0,200,0,0.7) external-link-background-hover: inherit external-link-background-visited: inherit external-link-background: inherit external-link-foreground-hover: inherit external-link-foreground-visited: #0000aa external-link-foreground: #0000ee message-background: #ecf2ff message-border: #cfd6e6 message-foreground: #547599 modal-backdrop: <<colour foreground>> modal-background: <<colour background>> modal-border: #999999 modal-footer-background: #f5f5f5 modal-footer-border: #dddddd modal-header-border: #eeeeee muted-foreground: #999999 notification-background: #ffffdd notification-border: #999999 page-background: #dedede pre-background: #f5f5f5 pre-border: #cccccc primary: #7897f3 sidebar-button-foreground: <<colour foreground>> sidebar-controls-foreground-hover: #000000 sidebar-controls-foreground: #ccc sidebar-foreground-shadow: rgba(255,255,255, 0.8) sidebar-foreground: #acacac sidebar-muted-foreground-hover: #444444 sidebar-muted-foreground: #c0c0c0 sidebar-tab-background-selected: #ffffff sidebar-tab-background: <<colour tab-background>> sidebar-tab-border-selected: <<colour tab-border-selected>> sidebar-tab-border: <<colour tab-border>> sidebar-tab-divider: <<colour tab-divider>> sidebar-tab-foreground-selected: sidebar-tab-foreground: <<colour tab-foreground>> sidebar-tiddler-link-foreground-hover: #444444 sidebar-tiddler-link-foreground: #7897f3 site-title-foreground: <<colour tiddler-title-foreground>> static-alert-foreground: #aaaaaa tab-background-selected: #ffffff tab-background: #eeeeee tab-border-selected: #cccccc tab-border: #cccccc tab-divider: #d8d8d8 tab-foreground-selected: <<colour tab-foreground>> tab-foreground: #666666 table-border: #dddddd table-footer-background: #a8a8a8 table-header-background: #f0f0f0 tag-background: #fff5df tag-foreground: #000 tiddler-background: <<colour background>> tiddler-border: #eee tiddler-controls-foreground-hover: #888888 tiddler-controls-foreground-selected: #444444 tiddler-controls-foreground: #cccccc tiddler-editor-background: #f8f8f8 tiddler-editor-border-image: #ffffff tiddler-editor-border: #cccccc tiddler-editor-fields-even: #e0e8e0 tiddler-editor-fields-odd: #f0f4f0 tiddler-info-background: #f8f8f8 tiddler-info-border: #dddddd tiddler-info-tab-background: #f8f8f8 tiddler-link-background: <<colour background>> tiddler-link-foreground: <<colour primary>> tiddler-subtitle-foreground: #c0c0c0 tiddler-title-foreground: #0c890d toolbar-new-button: toolbar-options-button: toolbar-save-button: toolbar-info-button: toolbar-edit-button: toolbar-close-button: toolbar-delete-button: toolbar-cancel-button: toolbar-done-button: untagged-background: #999999 very-muted-foreground: #e3e3e3
{ "tiddlers": { "$:/language/Buttons/OpenAll/Caption": { "text": "Open All", "title": "$:/language/Buttons/OpenAll/Caption" }, "$:/language/Buttons/OpenAll/Hint": { "text": "Open all by tag", "title": "$:/language/Buttons/OpenAll/Hint" }, "$:/plugins/ajh/openall/icon": { "text": "\\define my-svg()\n<svg class='tc-image-openall tc-image-button' width='22pt' height='22pt' viewBox='0 0 192 192'><path fill='#30f' stroke='#f00' stroke-width='7.5' d='m13.5,52.2l82.5,-48l82.5,48v87.3l-82.5,48l-82.5,-48v-87.3z'/><path fill='#fff' stroke='#30f' stroke-width='5' d='m$(m)$$(path)$'/></g></svg>\n\\end\n\n<$vars m='96,14' path={{$:/plugins/ajh/openall/image!!path}}>\n<<my-svg>>\n</$vars>", "title": "$:/plugins/ajh/openall/icon", "tags": "$:/tags/Image" }, "$:/plugins/ajh/openall/image": { "text": "\\define my-svg()\n<svg class='tc-image-openall tc-image-button' width='22pt' height='22pt' viewBox='0 0 128 128'><path d='m$(m)$$(path)$'/></svg>\n\\end\n\n<$vars m='64,3' path={{!!path}}>\n<<my-svg>>\n</$vars>", "title": "$:/plugins/ajh/openall/image", "tags": "$:/tags/Image", "path": "l64,73h-128l64,-73zm-64,104h128v24h-128v-24z" }, "$:/plugins/ajh/openall/readme": { "text": "This plugin adds the {{$:/plugins/ajh/openall/template}} button to the tag manager drop down menu using the{{$:/tags/TagDropdown||$:/core/ui/TagTemplate}}system tag. The open all button opens all non system tiddlers tagged with that drop down tag.\n\nSimply drag $:/plugins/ajh/openall to the top of your tiddlywiki display, save and reload.\n\nThis plugin comprises:\n\n* Icon\n* Template\n* Stylesheet\n* Caption and hint", "title": "$:/plugins/ajh/openall/readme" }, "$:/plugins/ajh/openall/stylesheet": { "text": "html .tc-drop-down button svg, .tc-drop-down a svg {\n fill: {{!!button-color}};\n}\nhtml .tc-drop-down button.tc-btn-invisible:hover svg {\n fill: {{!!button-hover-color}};\n}\n.tc-sidebar-lists .tc-drop-down button svg, .tc-drop-down a svg {\n fill: {{!!sidebar-button-color}};\n}\n.tc-sidebar-lists .tc-drop-down button.tc-btn-invisible:hover svg {\n fill: {{!!sidebar-button-hover-color}};\n}", "title": "$:/plugins/ajh/openall/stylesheet", "tags": "$:/tags/Stylesheet", "sidebar-button-hover-color": "#444", "sidebar-button-color": "#999", "caption": "Open All Button", "button-hover-color": "#fff", "button-color": "#333" }, "$:/plugins/ajh/openall/template": { "text": "\\define lingo-base() $:/language/Buttons/\n\n<$button tooltip={{$:/language/Buttons/OpenAll/Hint}} aria-label={{$:/language/Buttons/OpenAll/Caption}} class='tc-btn-invisible openall'>\n<$list filter='[tag{!!title}]'>\n<$action-navigate $to=<<currentTiddler>> />\n</$list>\n<$list filter='[<tv-config-toolbar-icons>prefix[yes]]'>\n{{$:/plugins/ajh/openall/image}}\n</$list>\n<$list filter='[<tv-config-toolbar-text>prefix[yes]]'>\n<<lingo OpenAll/Caption>>\n</$list>\n</$button>", "title": "$:/plugins/ajh/openall/template", "tags": "$:/tags/TagDropdown" } } }
<$reveal state="$:/plugins/BTC/tiddly-touch/config!!fill-gaps" type="nomatch" text="yes"> <$button class="tc-btn-invisible" tooltip="fill gaps on"> <$fieldmangler tiddler="$:/plugins/BTC/tiddly-touch/PageTemplate/muuri"> <$action-sendmessage $message="tm-remove-tag" $param="$:/tags/PageTemplate"/></$fieldmangler><$action-setfield $tiddler="$:/view" $value=""/><$action-setfield $tiddler="$:/plugins/BTC/tiddly-touch/config" $field="fill-gaps" $value="yes"/><$action-setfield $tiddler="$:/view" $value="muuri"/><$fieldmangler tiddler="$:/plugins/BTC/tiddly-touch/PageTemplate/muuri"><$action-sendmessage $message="tm-add-tag" $param="$:/tags/PageTemplate"/></$fieldmangler>{{$:/plugins/BTC/tiddly-touch/icons!!view-quilt}} </$button> </$reveal> <$reveal state="$:/plugins/BTC/tiddly-touch/config!!fill-gaps" type="match" text="yes"> <$button class="tc-btn-invisible tc-toolbar-icon tc-selected" tooltip="fill gaps off"> <$fieldmangler tiddler="$:/plugins/BTC/tiddly-touch/PageTemplate/muuri"> <$action-sendmessage $message="tm-remove-tag" $param="$:/tags/PageTemplate"/></$fieldmangler><$action-setfield $tiddler="$:/view" $value=""/><$action-setfield $tiddler="$:/plugins/BTC/tiddly-touch/config" $field="fill-gaps" $value="no"/><$action-setfield $tiddler="$:/view" $value="muuri"/><$fieldmangler tiddler="$:/plugins/BTC/tiddly-touch/PageTemplate/muuri"><$action-sendmessage $message="tm-add-tag" $param="$:/tags/PageTemplate"/></$fieldmangler>{{$:/plugins/BTC/tiddly-touch/icons!!view-quilt}} </$button> </$reveal>
\whitespace trim \define config-title() $:/config/ViewToolbarButtons/Visibility/$(listItem)$ \end <$button popup=<<morePopupState>> tooltip={{$:/language/Buttons/More/Hint}} aria-label={{$:/language/Buttons/More/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected"> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]"> {{$:/core/images/down-arrow}} </$list> <$list filter="[<tv-config-toolbar-text>prefix[yes]]"> <span class="tc-btn-text"> <$text text=" "/> <$text text={{$:/language/Buttons/More/Caption}}/> </span> </$list> </$button> <$reveal state=<<morePopupState>> type="popup" position="below" animate="yes"> <div class="tc-drop-down"> <$set name="tv-config-toolbar-icons" value="yes"> <$set name="tv-config-toolbar-text" value="yes"> <$set name="tv-config-toolbar-class" value="tc-btn-invisible"> <$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]] -[[$:/core/ui/Buttons/more-tiddler-actions]]" variable="listItem"> <$reveal type="match" state=<<config-title>> text="hide"> <$set name="tv-config-toolbar-class" filter="[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]"> <$transclude tiddler=<<listItem>> mode="inline"/> </$set> </$reveal> </$list> </$set> </$set> </$set> </div> </$reveal>
<$reveal state="$:/plugins/BTC/tiddly-touch/config!!align-horizontal" type="nomatch" text="yes"> <$button class="tc-btn-invisible" tooltip="align tiddlers horizontally"> <$fieldmangler tiddler="$:/plugins/BTC/tiddly-touch/PageTemplate/muuri"> <$action-sendmessage $message="tm-remove-tag" $param="$:/tags/PageTemplate"/></$fieldmangler><$action-setfield $tiddler="$:/view" $value=""/><$action-setfield $tiddler="$:/plugins/BTC/tiddly-touch/config" $field="align-horizontal" $value="yes"/><$action-setfield $tiddler="$:/view" $value="muuri"/><$fieldmangler tiddler="$:/plugins/BTC/tiddly-touch/PageTemplate/muuri"><$action-sendmessage $message="tm-add-tag" $param="$:/tags/PageTemplate"/></$fieldmangler>{{$:/plugins/BTC/tiddly-touch/icons!!view-vertical}} </$button> </$reveal> <$reveal state="$:/plugins/BTC/tiddly-touch/config!!align-horizontal" type="match" text="yes"> <$button class="tc-btn-invisible" tooltip="align tiddlers vertically"> <$fieldmangler tiddler="$:/plugins/BTC/tiddly-touch/PageTemplate/muuri"> <$action-sendmessage $message="tm-remove-tag" $param="$:/tags/PageTemplate"/></$fieldmangler><$action-setfield $tiddler="$:/view" $value=""/><$action-setfield $tiddler="$:/plugins/BTC/tiddly-touch/config" $field="align-horizontal" $value="no"/><$action-setfield $tiddler="$:/view" $value="muuri"/><$fieldmangler tiddler="$:/plugins/BTC/tiddly-touch/PageTemplate/muuri"><$action-sendmessage $message="tm-add-tag" $param="$:/tags/PageTemplate"/></$fieldmangler>{{$:/plugins/BTC/tiddly-touch/icons!!view-horizontal}} </$button> </$reveal>
<$reveal state="$:/plugins/BTC/tiddly-touch/config!!align-right" type="nomatch" text="yes"> <$button class="tc-btn-invisible" tooltip="tiddlers aligned left"> <$fieldmangler tiddler="$:/plugins/BTC/tiddly-touch/PageTemplate/muuri"> <$action-sendmessage $message="tm-remove-tag" $param="$:/tags/PageTemplate"/></$fieldmangler><$action-setfield $tiddler="$:/view" $value=""/><$action-setfield $tiddler="$:/plugins/BTC/tiddly-touch/config" $field="align-right" $value="yes"/><$action-setfield $tiddler="$:/view" $value="muuri"/><$fieldmangler tiddler="$:/plugins/BTC/tiddly-touch/PageTemplate/muuri"><$action-sendmessage $message="tm-add-tag" $param="$:/tags/PageTemplate"/></$fieldmangler>{{$:/plugins/BTC/tiddly-touch/icons!!format-align-left}} </$button> </$reveal> <$reveal state="$:/plugins/BTC/tiddly-touch/config!!align-right" type="match" text="yes"> <$button class="tc-btn-invisible" tooltip="tiddlers aligned right"> <$fieldmangler tiddler="$:/plugins/BTC/tiddly-touch/configPageTemplate/muuri"> <$action-sendmessage $message="tm-remove-tag" $param="$:/tags/PageTemplate"/></$fieldmangler><$action-setfield $tiddler="$:/view" $value=""/><$action-setfield $tiddler="$:/plugins/BTC/tiddly-touch/config" $field="align-right" $value="no"/><$action-setfield $tiddler="$:/view" $value="muuri"/><$fieldmangler tiddler="$:/plugins/BTC/tiddly-touch/PageTemplate/muuri"><$action-sendmessage $message="tm-add-tag" $param="$:/tags/PageTemplate"/></$fieldmangler>{{$:/plugins/BTC/tiddly-touch/icons!!format-align-right}} </$button> </$reveal>
<$reveal state="$:/plugins/BTC/tiddly-touch/config!!align-bottom" type="nomatch" text="yes"> <$button class="tc-btn-invisible" tooltip="tiddlers aligned to the top"> <$fieldmangler tiddler="$:/plugins/BTC/tiddly-touch/PageTemplate/muuri"> <$action-sendmessage $message="tm-remove-tag" $param="$:/tags/PageTemplate"/></$fieldmangler><$action-setfield $tiddler="$:/view" $value=""/><$action-setfield $tiddler="$:/plugins/BTC/tiddly-touch/config" $field="align-bottom" $value="yes"/><$action-setfield $tiddler="$:/view" $value="muuri"/><$fieldmangler tiddler="$:/plugins/BTC/tiddly-touch/PageTemplate/muuri"><$action-sendmessage $message="tm-add-tag" $param="$:/tags/PageTemplate"/></$fieldmangler>{{$:/plugins/BTC/tiddly-touch/icons!!vertical-align-top}} </$button> </$reveal> <$reveal state="$:/plugins/BTC/tiddly-touch/config!!align-bottom" type="match" text="yes"> <$button class="tc-btn-invisible" tooltip="tiddlers aligned to the bottom"> <$fieldmangler tiddler="$:/plugins/BTC/tiddly-touch/PageTemplate/muuri"> <$action-sendmessage $message="tm-remove-tag" $param="$:/tags/PageTemplate"/></$fieldmangler><$action-setfield $tiddler="$:/view" $value=""/><$action-setfield $tiddler="$:/plugins/BTC/tiddly-touch/config" $field="align-bottom" $value="no"/><$action-setfield $tiddler="$:/view" $value="muuri"/><$fieldmangler tiddler="$:/plugins/BTC/tiddly-touch/PageTemplate/muuri"><$action-sendmessage $message="tm-add-tag" $param="$:/tags/PageTemplate"/></$fieldmangler>{{$:/plugins/BTC/tiddly-touch/icons!!vertical-align-bottom}} </$button> </$reveal>
\define before-actions() <$fieldmangler tiddler="$:/plugins/BTC/tiddly-touch/PageTemplate/muuri"> <$action-sendmessage $message="tm-remove-tag" $param="$:/tags/PageTemplate"/></$fieldmangler><$action-setfield $tiddler="$:/view" $value=""/> \end \define after-actions() <$action-setfield $tiddler="$:/view" $value="muuri"/><$fieldmangler tiddler="$:/plugins/BTC/tiddly-touch/PageTemplate/muuri"><$action-sendmessage $message="tm-add-tag" $param="$:/tags/PageTemplate"/></$fieldmangler> \end \define set-dragging-yes-no(yesno) <<before-actions>><$action-setfield $tiddler="$:/plugins/BTC/tiddly-touch/config" $field="drag-enabled" $value="$yesno$"/><<after-actions>> \end \define getStoryListIndex(yesno) <$set name="storyCount" filter="[list[$:/StoryList]count[]]"> <$list filter="[list[$:/plugins/BTC/tiddly-touch/lists/numbers]limit<storyCount>]"> <$list filter="[list[$:/StoryList]nth<currentTiddler>title[$(scrollTiddler)$]]" variable="scrollTiddlerIndex"> <<set-dragging-yes-no $yesno$>> </$list> </$list> </$set> \end <$reveal state="$:/plugins/BTC/tiddly-touch/config!!drag-enabled" type="nomatch" text="yes"> <$button class="tc-btn-invisible tc-dragging-button" tooltip="enable dragging"> <$set name="scrollTiddler" value=<<storyTiddler>>> <$set name="storyList" filter="[list[$:/StoryList]]"> <<set-dragging-yes-no yes>> </$set> </$set> {{$:/plugins/BTC/tiddly-touch/icons!!drag-button}} </$button> </$reveal> <$reveal state="$:/plugins/BTC/tiddly-touch/config!!drag-enabled" type="match" text="yes"> <$button class="tc-btn-invisible tc-selected tc-dragging-button" tooltip="disable dragging"> <$set name="scrollTiddler" value=<<storyTiddler>>> <$set name="storyList" filter="[list[$:/StoryList]]"> <<set-dragging-yes-no no>> </$set> </$set> {{$:/plugins/BTC/tiddly-touch/icons!!drag-button}} </$button> </$reveal>
\define columnicons() {{$:/plugins/BTC/tiddly-touch/icons!!columns-$(tiddlerWidth)$}} \end \define next-tiddler-action() <$list filter="[[$(nextValue)$]regexp[^(1|2|3|4|5|6|7|8|9|10|11|12)$]]"> <$action-setfield $tiddler="""$(nextStoryTiddler)$""" $field="muuri-tiddler-width" $value="$(nextNextValue)$" $timestamp="no"/> </$list> <$list filter="[[$(nextValue)$]regexp[^0$]]"> <$set name="columnCount" value={{$:/plugins/BTC/tiddly-touch/config!!column-count}}> <$set name="remainingSpace" filter="1 3 2 8 9 7 5 6 4 10 +[nth<columnCount>]"> <$action-setfield $tiddler="""$(nextStoryTiddler)$""" $field="muuri-tiddler-width" $value=<<remainingSpace>> $timestamp="no"/> </$set> </$set> </$list> <$list filter="[[$(nextValue)$]!regexp[^(0|1|2|3|4|5|6|7|8|9|10|11|12)$]]"> <$action-setfield $tiddler="""$(nextStoryTiddler)$""" $field="muuri-tiddler-width" $value="7" $timestamp="no"/> </$list> \end \define enslave-next-tiddler-button() <$reveal state="$:/plugins/BTC/tiddly-touch/config!!adjacent-tiddler-width" type="nomatch" text="yes"> <$button class="tc-btn-invisible tc-toolbar-icon tc-toolbar-icon-topleft-2" tooltip="enslave $(nextStoryTiddler)$"> <$action-setfield $tiddler="$:/plugins/BTC/tiddly-touch/config" $field="adjacent-tiddler-width" $value="yes"/> {{$:/plugins/BTC/tiddly-touch/icons!!dot}} </$button> </$reveal> <$reveal state="$:/plugins/BTC/tiddly-touch/config!!adjacent-tiddler-width" type="match" text="yes"> <$button class="tc-btn-invisible tc-toolbar-icon tc-toolbar-icon-topleft-2 tc-selected blue-icon" tooltip="free $(nextStoryTiddler)$"> <$action-setfield $tiddler="$:/plugins/BTC/tiddly-touch/config" $field="adjacent-tiddler-width" $value="no"/> {{$:/plugins/BTC/tiddly-touch/icons!!dot}} </$button> </$reveal> \end \define toggle-tiddler-width() <span class="tc-topleft-span"> <$list filter="[[$(storyTiddler)$]next[$:/StoryList]]" variable="nextStoryTiddler"> <$set name="tiddlerWidth" filter="[[$(storyTiddler)$]has[muuri-tiddler-width]get[muuri-tiddler-width]regexp[^(0|1|2|3|4|5|6)$]] [[$(storyTiddler)$]has[muuri-tiddler-width]get[muuri-tiddler-width]!regexp[^(0|1|2|3|4|5|6)$]addprefix[0]] [[$(storyTiddler)$]!has[muuri-tiddler-width]addprefix[0]removesuffix[$(storyTiddler)$]]"> <$set name="nextValue" filter="[<tiddlerWidth>next[$:/plugins/BTC/tiddly-touch/Buttons/toggle-tiddler-width]]"> <$set name="nextNextValue" filter="0 4 3 2 8 6 +[nth<nextValue>]"> <$button class="tc-btn-invisible tc-toolbar-icon tc-toolbar-icon-topleft" tooltip="toggle tiddler width"> <$list filter="[<tiddlerWidth>!regexp[^0$]]"> <$action-setfield $tiddler="""$(storyTiddler)$""" $field="muuri-tiddler-width" $value=<<nextValue>> $timestamp="no"/> <$list filter="[[$:/plugins/BTC/tiddly-touch/config]get[adjacent-tiddler-width]regexp[^yes$]]"> <$list filter="[<nextStoryTiddler>!regexp[^$]]"> <<next-tiddler-action>> </$list> </$list> </$list> <$list filter="[<tiddlerWidth>regexp[^0$]]"> <$action-setfield $tiddler="""$(storyTiddler)$""" $field="muuri-tiddler-width" $value="6" $timestamp="no"/> <$list filter="[[$:/plugins/BTC/tiddly-touch/config]get[adjacent-tiddler-width]regexp[^yes$]]"> <$list filter="[<nextStoryTiddler>!regexp[^$]]"> <<next-tiddler-action>> </$list> </$list> </$list> <<columnicons>> </$button> </$set></$set></$set> <<enslave-next-tiddler-button>> </$list> <$set name="storyListCount" filter="[list[$:/StoryList]count[]]"> <$list filter="[list[$:/StoryList]nth<storyListCount>regexp[$(storyTiddler)$]]"> <$set name="tiddlerWidth" filter="[[$(storyTiddler)$]has[muuri-tiddler-width]get[muuri-tiddler-width]regexp[^(0|1|2|3|4|5|6)$]] [[$(storyTiddler)$]has[muuri-tiddler-width]get[muuri-tiddler-width]!regexp[^(0|1|2|3|4|5|6)$]addprefix[0]] [[$(storyTiddler)$]!has[muuri-tiddler-width]addprefix[0]removesuffix[$(storyTiddler)$]]"> <$set name="nextValue" filter="[<tiddlerWidth>next[$:/plugins/BTC/tiddly-touch/Buttons/toggle-tiddler-width]]"> <$button class="tc-btn-invisible tc-toolbar-icon tc-toolbar-icon-topleft" tooltip="toggle tiddler width"> <$list filter="[<tiddlerWidth>!regexp[^0$]]"> <$action-setfield $tiddler="""$(storyTiddler)$""" $field="muuri-tiddler-width" $value=<<nextValue>> $timestamp="no"/> </$list> <$list filter="[<tiddlerWidth>regexp[^0$]]"> <$action-setfield $tiddler="""$(storyTiddler)$""" $field="muuri-tiddler-width" $value="6" $timestamp="no"/> </$list> <<columnicons>> </$button> </$set></$set> </$list> </$set> </span> \end <$reveal state="$:/plugins/BTC/tiddly-touch/config!!topleft-width-button" type="nomatch" text="no"> <<toggle-tiddler-width>> </$reveal>
.grid, .tc-muuri-grid { position: relative; } .tc-tiddler-frame { display: block; position: absolute; width: 100%; margin: 8px;} .tc-tiddler-frame.tc-dragover { z-index: 2; } .tc-tiddler-frame.muuri-hidden { z-index: 0; display: none; } .tc-tiddler-frame:hover, .tc-tiddler-frame:focus { z-index: 3; } .tc-tiddler-frame-content { position: relative; width: 100%; height: 100%; } .tc-tiddler-frame.tc-dragging { z-index: 999; } .tc-alert, .tc-alerts { z-index: 999999 !important; } /* ** Tiddler view styles */ .tc-btn-invisible.tc-toolbar-icon { color: <<colour muted-foreground>>; vertical-align: sub; } .tc-btn-invisible.tc-toolbar-icon:hover { color: <<colour foreground>>; } .tc-tagged-defined-width { width: calc(100vw / 3.5) !important; } .tc-tagged-defined-width-2 { width: calc(100vw / 2) !important; } .tc-tiddler-frame.tc-tagged-6 { width: calc(100% * 6 / 12 - 16px); min-width: calc(72px * 6); } } .tc-tiddler-frame { background-color: <<colour tiddler-background>>{{$:/config/muritest!!tiddler-opacity}} !important; } <<if-no-sidebar " .tc-sidebar-scrollable { display: none; } .tc-topbar-right { right: 10px !important; } ">> .tc-story-river { padding-top: 0px !important; } .tc-muuri-empty-story { height: 60vh; display: flex; justify-content: center; flex-direction: column; text-align: center; } .tc-tagged-Journal { background-color: #feff9c !important; border-color: #fff740 !important; } .tc-tiddler-frame.span-4 iframe { min-height: calc(100vh / 4); } .tc-tiddler-frame.span-6 iframe { min-height: calc(100vh / 3); } .tc-tiddler-frame.span-9 iframe, .tc-tiddler-frame.span-12 iframe { min-height: calc(100vh / 2); } /*.tc-tiddler-frame img, .tc-tiddler-frame image { position: relative; display: block; height: auto; } */ @media (max-height: 500px) { .tc-image-full-screen-button { fill: <<colour primary>> !important; } .tc-story-river { padding: 0px 0px 0px 25px; } } @media (max-width: 500px) { .tc-tiddler-frame { padding: 14px 28px 14px 14px; } .tc-topbar-right { display: none !important; } .tc-story-river { padding: 0px 0px 0px 25px !important; } <$reveal state="$:/plugins/BTC/tiddly-touch/config!!vertical-toolbar" type="nomatch" text="no"> .tc-tiddler-frame { min-height: 130px; } </$reveal> .tc-image-full-screen-button { fill: <<colour primary>> !important; } } <<if-horizontal-grid """ .grid, .tc-muuri-grid { height: calc(100vh - 15px); max-height: calc(100vh - 15px); min-width: 100%; } .tc-story-river { height: calc(100vh - 15px); max-height: calc(100vh - 15px); min-width: calc(100vw - 84px); } .tc-sidebar-scrollable { } """>> .tc-muuri-grid .tc-drop-down { min-width: 220px; } .tc-tiddler-frame.tc-tagged-sampletag { max-height: 10vh !important; max-width: 10vh !important; min-height: 10vh !important; min-width: 10vh !important; padding: 5px 5px 5px 5px; text-align: center !important; vertical-align: center; } .tc-tiddler-frame.tc-tagged-sampletag .tc-titlebar h2 { display: none; } .tc-tiddler-frame.tc-tagged-sampletag .tc-titlebar { display: none !important; } .tc-tiddler-frame.tc-tagged-sampletag .tc-subtitle, .tc-tiddler-frame.tc-tagged-sampletag .tc-tags-wrapper, .tc-tiddler-frame.tc-tagged-sampletag .tc-tiddler-controls { display: none !important; } <<if-dragging-enabled """ .tc-dragging-button { color: <$macrocall $name="colour" name="very-muted-foreground"/> !important; } """>> @media (min-width: 900px) { .tc-sidebar-scrollable { background-color: <<colour background>>{{$:/config/muritest!!tiddler-opacity}} !important; background: <<colour background>>{{$:/config/muritest!!tiddler-opacity}} ; z-index: 9999; box-shadow: -1px 0px 1px 1px <<colour muted-foreground>>; } } <<if-sidebar """ .tc-topbar-right { z-index: 10000 !important; } .tc-story-river { padding-right: 42px !important; margin-right: 0px !important; } """>> .tc-tiddler-frame.span-4 , .tc-tiddler-frame.span-5, .tc-tiddler-frame.span-6, .tc-tiddler-frame.span-7, .tc-tiddler-frame.span-8, .tc-tiddler-frame.span-9, .tc-tiddler-frame.span-10, .tc-tiddler-frame.span-11, .tc-tiddler-frame.span-12, .tc-tiddler-frame.span-13 { padding-left: 42px; padding-right: 42px; } <<vertical-toolbar-yes-no>> <<vertical-toolbar-macro>> <<toggle-muuri-columns>> .span-4 .tc-tiddler-controls, .span-5 .tc-tiddler-controls, .span-6 .tc-tiddler-controls, .span-7 .tc-tiddler-controls, .span-8 .tc-tiddler-controls, .span-9 .tc-tiddler-controls, .span-10 .tc-tiddler-controls, .span-11 .tc-tiddler-controls, .span-12 .tc-tiddler-controls, .span-13 .tc-tiddler-controls { right: -60px !important; } .span-4 .tc-tiddler-info, .span-5 .tc-tiddler-info, .span-13 .tc-tiddler-info, .span-6 .tc-tiddler-info, .span-7 .tc-tiddler-info, .span-8 .tc-tiddler-info, .span-9 .tc-tiddler-info, .span-10 .tc-tiddler-info, .span-11 .tc-tiddler-info, .span-12 .tc-tiddler-info { margin-left: -20px; margin-right: -20px; padding-left: 10px; padding-right: 10px; } .span-4 .tc-unfold-banner, .span-5 .tc-unfold-banner, .span-6 .tc-unfold-banner, .span-7 .tc-unfold-banner, .span-8 .tc-unfold-banner, .span-9 .tc-unfold-banner, .span-10 .tc-unfold-banner, .span-11 .tc-unfold-banner, .span-12 .tc-unfold-banner, .span-13 .tc-unfold-banner { margin-left: -43px; width: 100%; } .span-4 .tc-fold-banner, .span-5 .tc-fold-banner, .span-6 .tc-fold-banner, .span-7 .tc-fold-banner, .span-8 .tc-fold-banner, .span-9 .tc-fold-banner, .span-10 .tc-fold-banner, .span-11 .tc-fold-banner, .span-12 .tc-fold-banner, .span-13 .tc-fold-banner { margin-left: -35px; width: 23px; } .tc-leftbar , div.tc-leftbar-open { position: fixed; z-index: 1200; } .tc-leftbar button { padding: 8px; } .tc-leftbar svg { fill: <<colour muted-foreground>>; } .tc-leftbar button:hover svg { fill: <<colour foreground>>; } .tc-leftbar { position: fixed; top: 5vh; left: 0px; width: 32px; font-size: 1.6em !important; padding-left:6px; } div.tc-leftbar-open { position: fixed; bottom: 10vh; right:0px; width: 42px; font-size: 1.6rem; } span.tc-leftbar-open a { display: none; } .tc-leftbar-open span:hover > .tc-leftbar-open span > a { display: inline-block !important; } @media (max-height: 500px) { .tc-leftbar { position: fixed; top: -1vh; left: 0px; width: 25px; font-size: 1.2rem !important; padding-left:2px; } .tc-tiddler-view-frame:not(.tc-tiddler-folded) .tc-tiddler-controls { width: 0.8em; right: -27px; position: fixed; top: -20px; } .tc-leftbar .tc-btn-invisible { padding: 1px 4px 1px 4px; } .tc-leftbar .material-icons { font-size: 1.2rem !important; } .tc-topbar-right { display: none !important; } .tc-tiddler-frame { padding: 14px 28px 14px 14px; } } @media (max-width: 500px) { .tc-leftbar { position: fixed; top: 0vh; left: 0px; width: 20px; font-size: 1.2em !important; padding-left:0px; } .tc-leftbar .material-icons { font-size: 1.2em !important; } } <<tiddly-touch-toolbar-left-right>> /*@media (max-width: 500px) { .tc-sidebar-scrollable { max-height: 45vh !important; padding-left: 20px !important; } }*/ .tc-btn-invisible.tc-toolbar-icon { color: <<colour muted-foreground>>; vertical-align: sub; } .tc-btn-invisible.tc-toolbar-icon:hover { color: <<colour foreground>>; } .tc-sidebar-lists .tc-tiddler-edit-frame { width: calc(100% - 42px) !important; } @media (max-width: 500px) { .tc-story-river .tc-tiddler-edit-frame { } .tc-leftbar { display: none; } .tc-story-river { padding: 1% 1% 0% 1% !important; width: 100%; } <<mobile-portrait-tiles>> } .tc-single-tiddler-window .tc-sidebar-window { position: absolute; width: 100%; height: 100%; padding: 3% 3% 0% 3%; } .tc-single-tiddler-window { background-color: <<colour page-background>> !important; } /*@media (max-device-width: 500px) { .tc-single-tiddler-window .tc-sidebar-window { padding: 2% 2% 0% 2%; font-size: 2rem !important; line-height: 2em !important; } }*/ .tc-single-tiddler-window .tc-sidebar-window:not(.tc-sidebar-lists) .tc-tiddler-edit-frame { border: 0px solid <<colour page-background>> !important; padding: 2% 2% 2% 2% !important; box-shadow: none !important; width: 90% !important; } <<sidebar-new-window-tiddler-edit-frame-hide>> .tc-leftbar button.tc-selected { -webkit-filter: drop-shadow(0px -1px 2px rgba(0,0,0,0.25)); -moz-filter: drop-shadow(0px -1px 2px rgba(0,0,0,0.25)); filter: drop-shadow(0px -1px 2px rgba(0,0,0,0.25)); } .tc-leftbar button.tc-selected svg { fill: <<colour tiddler-controls-foreground-selected>>; } .tc-leftbar .tc-btn-invisible.tc-toolbar-icon.tc-selected.tc-dragging-button { color: <<colour tiddler-controls-foreground-selected>> !important; } svg.blue-icon, svg.blue-icon:hover, .tc-tiddler-controls button svg.blue-icon { fill: <<colour primary>>; } svg.green-icon, svg.green-icon:hover { fill: <<colour download-background>>; } svg.red-icon, svg.red-icon:hover { fill: <<colour code-foreground>>; } <<show-hide-tiddler-title-tags>> <<hide-controls-from-user>> .tc-tiddler-body.tc-muuri-spreadsheet { min-height: 0px !important; font-size: 8px !important; line-height: 12px !important; } .tc-tiddler-frame.tc-muuri-spreadsheet { width: calc((100% / 20) - 1px) !important; min-width: calc((100% / 30) - 1px) !important; min-height: calc((95vh / 20) - 1px) !important; height: calc((95vh / 10) - 1px) !important; max-width: calc((100% / 20) - 1px) !important; max-height: calc((95vh / 10) - 1px) !important; box-shadow: none !important; padding: 0px 0px 0px 0px !important; margin: 0 1px 1px 0 !important; border-radius: 0px !important; border: 1px solid rgba( 0, 0, 0, 0.1) !important; } <<if-spreadsheet-view """ .tc-story-river { padding-bottom: 0px; } .tc-muuri-grid { margin-left: 8px; } """>> .tc-dynaview-zoom-factor-1, .tc-dynaview-zoom-factor-2, .tc-dynaview-zoom-factor-3, .tc-dynaview-zoom-factor-4 { display: none; } .tc-dynaview-zoom-factor-1 .tc-dynaview-zoom-factor-1, .tc-dynaview-zoom-factor-2 .tc-dynaview-zoom-factor-2, .tc-dynaview-zoom-factor-3 .tc-dynaview-zoom-factor-3, .tc-dynaview-zoom-factor-4 .tc-dynaview-zoom-factor-4 { display: block !important; } .tc-dynaview-zoom-factor-1 .tc-dynaview-zoom-factor-2, .tc-dynaview-zoom-factor-1 .tc-dynaview-zoom-factor-3, .tc-dynaview-zoom-factor-1 .tc-dynaview-zoom-factor-4, .tc-dynaview-zoom-factor-2 .tc-dynaview-zoom-factor-1, .tc-dynaview-zoom-factor-2 .tc-dynaview-zoom-factor-3, .tc-dynaview-zoom-factor-2 .tc-dynaview-zoom-factor-4, .tc-dynaview-zoom-factor-3 .tc-dynaview-zoom-factor-1, .tc-dynaview-zoom-factor-3 .tc-dynaview-zoom-factor-2, .tc-dynaview-zoom-factor-3 .tc-dynaview-zoom-factor-4, .tc-dynaview-zoom-factor-4 .tc-dynaview-zoom-factor-1, .tc-dynaview-zoom-factor-4 .tc-dynaview-zoom-factor-2, .tc-dynaview-zoom-factor-4 .tc-dynaview-zoom-factor-3 { display: none; } .tc-below-spreadsheet-view { position: fixed !important; bottom: 0px; background-color: <<colour page-background>>; z-index: 99999; } button.tc-btn-invisible.tc-spreadsheet-cell { display: inline-block; outline: none; width: calc(100% - 0px); height: calc(100% - 0px); } .tc-story-river.tc-spreadsheet-view .tc-muuri-grid { max-height: 45vh !important; } .tc-grid-1 { position: relative; } .tc-grid-2 { position: fixed; width: 13%; background-color: transparent; left: 42px; top: 0px; height: 100vh; border: none; overflow-y: scroll; overflow-x: hidden; } .tc-grid-3 { position: fixed; background-color: transparent; width: 13%; right: 46px; top: 0px; height: 100vh; border: none; border-right: 0px solid #ffffff; overflow-y: scroll; overflow-x: hidden; } .tc-grid-3::-webkit-scrollbar, .tc-grid-2::-webkit-scrollbar { display: none; } .tc-grid-2 .tc-tiddler-frame, .tc-grid-3 .tc-tiddler-frame { width: 100%; } .tc-grid-2 .tc-tiddler-body, .tc-grid-3 .tc-tiddler-body, .tc-grid-2 .tc-tags-wrapper, .tc-grid-3 .tc-tags-wrapper, .tc-grid-2 .tc-tiddler-controls, .tc-grid-3 .tc-tiddler-controls { display: none; } .tc-grid-2 .tc-title, .tc-grid-2 .tc-title h2, .tc-grid-3 .tc-title, .tc-grid-3 .tc-title h2, .tc-grid-2 .tc-titlebar, .tc-grid-3 .tc-titlebar { font-size: 15px; line-height: 16px; display: inline-block; } .tc-grid-2 .tc-tiddler-frame, .tc-grid-3 .tc-tiddler-frame { padding: 0px 10px 10px 10px; max-height: calc(100vh / 6); min-height: calc(100vh / 10); width: 100%; } .grid-container-1 { position: relative; z-index: 1; min-height: 800px !important; } .grid-container-2 { position: relative; z-index: 1; min-height: 800px !important; } .grid-container-3 { position: relative; z-index: 1; min-height: 800px !important; } .grid-container-3 .tc-tiddler-frame { margin-top: 2px; margin-bottom: 2px; margin-left: 4px; margin-right: 4px; } .grid-container-2 .tc-tiddler-frame, .tc-grid-2 .tc-tiddler-frame { min-width: 0px !important; margin-top: 2px; margin-bottom: 2px; margin-left: 4px; margin-right: 4px; } .tc-muuri-header { height: 100px; width: 100%; background-color: <<colour primary>>; } button.no-outline { outline: none !important; } <<hide-tiddler-borders-and-gaps>> .tc-dragging img, .tc-dragging image, .muuri-item-dragging img, .muuri-item-dragging image, .tc-dragging svg, .tc-dragging iframe { opacity: 0.3 !important; } .tc-btn-invisible { outline: none !important; } .fade-in { -webkit-animation: fadein 0.4s; /* Safari, Chrome and Opera > 12.1 */ -moz-animation: fadein 0.4s; /* Firefox < 16 */ -ms-animation: fadein 0.4s; /* Internet Explorer */ -o-animation: fadein 0.4s; /* Opera < 12.1 */ animation: fadein 0.4s; } @keyframes fadein { from { opacity: 0; } to { opacity: 1; } } /* Firefox < 16 */ @-moz-keyframes fadein { from { opacity: 0; } to { opacity: 1; } } /* Safari, Chrome and Opera > 12.1 */ @-webkit-keyframes fadein { from { opacity: 0; } to { opacity: 1; } } /* Internet Explorer */ @-ms-keyframes fadein { from { opacity: 0; } to { opacity: 1; } } /* Opera < 12.1 */ @-o-keyframes fadein { from { opacity: 0; } to { opacity: 1; } } .limit-image img, .limit-image image, .limit-image svg { max-width: 100%; position: relative; } <<show-hide-right-grid>> <<show-hide-left-grid>> <<rightgrid-width-macro>> .tc-btn-invisible.tc-text-button { color: <<colour muted-foreground>>; } .tc-btn-invisible.tc-text-button.tc-selected { color: <<colour foreground>>; font-weight: 500; } .tc-btn-invisible.tc-text-button:hover { color: <<colour foreground>>; } .tc-grid-1 .tc-dragging .tc-tiddler-body { mix-blend-mode: multiply; } .tc-grid-migrate-2 .tc-tiddler-frame { border: 10px solid #ff0000; } .tc-tiddler-frame.tc-tiddler-more-popup { z-index: 5; } .tc-toolbar-icon-topleft { position: fixed; top: 5px; font-size: 1.3em; left: 30px; } .tc-toolbar-icon-topleft-2 { position: fixed; top: 5px; font-size: 0.6em; left: 60px; } .tc-toolbar-icon-topleft-2 svg { fill: <<colour muted-foreground>>; vertical-align: bottom; } .tc-toolbar-icon-topleft svg { fill: <<colour muted-foreground>>; } .tc-topleft-span:hover .tc-toolbar-icon-topleft-2 svg { fill: <<colour muted-foreground>>; } .tc-topleft-span:hover .tc-toolbar-icon-topleft svg, .tc-topleft-span:hover .tc-toolbar-icon-topleft-2.tc-selected svg { fill: <<colour primary>>; }
\define config-title() $:/config/PageControlButtons/Visibility/$(listItem)$ \end \define leftbar-config-title() $:/config/LeftBarButtons/Visibility/$(listItem)$ \end <div class="tc-leftbar"> <$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]!title[$:/core/ui/Buttons/save-wiki]]" variable="listItem"> <$reveal type="nomatch" state=<<config-title>> text="hide"> <$set name="tv-config-toolbar-class" filter="[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]"> <$transclude tiddler=<<listItem>> mode="inline"/> </$set> </$reveal> </$list> <$list filter="[all[shadows+tiddlers]tag[$:/tags/LeftBar]!has[draft.of]]" variable="listItem"> <$reveal type="nomatch" state=<<leftbar-config-title>> text="hide"> <$set name="tv-config-toolbar-class" filter="[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]"> <$transclude tiddler=<<listItem>> mode="inline"/> </$set> </$reveal> </$list> {{$:/plugins/BTC/tiddly-touch/Buttons/sidebar}} </div>
<section class="tc-story-river"> <$muuri target={{$:/plugins/BTC/tiddly-touch/config!!child-class}} target-is-tiddler="yes" fill-gaps={{$:/plugins/BTC/tiddly-touch/config!!fill-gaps}} horizontal={{$:/plugins/BTC/tiddly-touch/config!!align-horizontal}} align-right={{$:/plugins/BTC/tiddly-touch/config!!align-right}} align-bottom={{$:/plugins/BTC/tiddly-touch/config!!align-bottom}} dragging={{$:/plugins/BTC/tiddly-touch/config!!drag-enabled}}> <$list filter="[list[$:/StoryList]]" history="$:/HistoryList" template="$:/plugins/BTC/tiddly-touch/ui/ViewTemplate" editTemplate="$:/plugins/BTC/tiddly-touch/ui/EditTemplate" storyview={{$:/view}} emptyMessage={{$:/config/EmptyStoryMessage}}/> </$muuri> <section class="story-frontdrop"> <$list filter="[all[shadows+tiddlers]tag[$:/tags/BelowStory]!has[draft.of]]"> <$transclude/> </$list> </section> </section>
{ "tiddlers": { "$:/plugins/danielo515/ContextPlugin/widgets/context.js": { "created": "20140418153435777", "creator": "danielo", "modified": "20140530231943517", "modifier": "danielo", "module-type": "widget", "title": "$:/plugins/danielo515/ContextPlugin/widgets/context.js", "type": "application/javascript", "text": "/*\\\\\ntitle: $:/core/modules/widgets/danielo/context-widget.js\ntype: application/javascript\nmodule-type: widget\n\nEdit-text 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;\nvar contextWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\ncontextWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\ncontextWidget.prototype.render = function(parent,nextSibling) {\n // 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 \n if(this.term && this.term.length>3){\n \n this.createRegexp();\n var matches = this.executeRegexp();\n\t if(matches.length > 0){ \n this.domNode = this.document.createElement(this.element);\n this.domNode.className=\"tw-context\";\n this.composeResults( matches ); //this appends to domNode \n \t// Insert element\n \tparent.insertBefore(this.domNode,nextSibling);\n \tthis.renderChildren(this.domNode,null);\n\t \tthis.domNodes.push(this.domNode);\n }\n }\n\t\n};\n\n/*\nCompute the internal state of the widget\n*/\ncontextWidget.prototype.execute = function() {\n\t// Get the parameters from the attributes\n this.matchedClass = this.getAttribute(\"matchClass\",\"matched\");\n\tthis.tiddler = this.getAttribute( \"tiddler\",this.getVariable(\"currentTiddler\") );\n this.term = this.getAttribute(\"term\",this.getAttribute(\"searchTerm\"));\n\tthis.contextLength = this.getAttribute(\"length\",50);\n this.before = this.getAttribute(\"before\",this.contextLength);\n this.after = this.getAttribute(\"after\",this.contextLength);\n this.maxMatches = this.getAttribute(\"maxMatches\",10);\n this.element = this.getAttribute(\"element\",\"pre\");\n\tthis.makeChildWidgets();\n};\n\n /*Create the regular expression*/\ncontextWidget.prototype.createRegexp = function()\n{\n var regString = \"(\\\\w+[\\\\s\\\\S]{0,#before#})?(#term#)([\\\\s\\\\S]{0,#after#}\\\\w+)?\";\n\n var regString = regString.replace(\"#before#\",this.before).replace(\"#term#\", $tw.utils.escapeRegExp(this.term) ) .replace(\"#after#\",this.after);\n this.regexp = new RegExp(regString,\"ig\");\n //console.log(regString);\n};\n/*\nexecute the regular expresion\n*/\ncontextWidget.prototype.executeRegexp = function()\n{\n var text = this.wiki.getTiddlerText(this.tiddler), match,results = new Array();\n while( (match = this.regexp.exec( text ) ) && (results.length < this.maxMatches) )\n { results.push(match) }\n //console.log(\"matches\",results);\n return results;\n};\n\n/*\ncompose the results\nmatches : array of match objects from regular expression execute\n*/\ncontextWidget.prototype.composeResults = function(matches){\n var result=[], self=this, node = this.domNode,\n dots = textNode(\"...\\n\"),\n span = matchedNode( this.term );\n\n for(var i=0; i < matches.length; i++){\n processMatch( matches[i] );\n }\n \n function processMatch(match){\n if( match.index !== 0) node.appendChild( dots.cloneNode(true) );\n for( var i=1;i<match.length;i++ ) {//match[0] full matched text (all groups together)\n if( match[i] ) {\n if ( match[i].toLowerCase() == self.term.toLowerCase() ) \n node.appendChild( match[i] == self.term ? span.cloneNode(true) : matchedNode( match[i] ) )\n else\n node.appendChild( textNode( match[i]) )\n }\n }\n if( match.index + match[0].length < match.input.length) node.appendChild( dots.cloneNode(true) );\n }\n \n function textNode(text){ return self.document.createTextNode(text) }\n function matchedNode(text) { \n var node = self.document.createElement(\"span\"); node.appendChild( textNode(text) ); node.className = self.matchedClass;\n return node }\n \n};\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\ncontextWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes.tiddler || changedAttributes.term || changedAttributes.length || changedAttributes.matchedClass) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t}\n return this.refreshChildren(changedTiddlers);\n};\n\nexports.context = contextWidget;\n\n})();" }, "$:/plugins/danielo515/ContextPlugin/visualizer": { "title": "$:/plugins/danielo515/ContextPlugin/visualizer", "tags": "$:/tags/SearchResults", "caption": "Context", "text": "<$list filter=\"[!is[system]search{$:/temp/search}sort[title]limit[250]]\">\r\n {{!!title||$:/core/ui/ListItemTemplate}}\r\n <$context term={{$:/temp/search}} />\r\n</$list>\r\n" }, "$:/plugins/danielo515/ContextPlugin/Stylesheet/results": { "created": "20140529162823729", "tags": "$:/tags/Stylesheet contextPlugin", "title": "$:/plugins/danielo515/ContextPlugin/Stylesheet/results", "type": "text/css", "text": ".matched{background-color:yellow}\n.tw-context {/*border:1px solid;\n /*word-break: break-all; word-wrap: break-word*/}" }, "$:/plugins/danielo515/ContextPlugin/Caption": { "created": "20140530174219263", "tags": "contextPlugin", "title": "$:/plugins/danielo515/ContextPlugin/Caption", "type": "text/vnd.tiddlywiki", "text": "Context search" }, "Context Search": { "caption": "{{$:/plugins/danielo515/ContextPlugin/Caption}}", "created": "20140530173407542", "tags": "$:/tags/AdvancedSearch", "title": "Context Search", "type": "text/vnd.tiddlywiki", "text": "\\define lingo-base() $:/language/Search/\n<$linkcatcher to=\"$:/temp/advancedsearch\">\n\n<<lingo Standard/Hint>>\n\n<div class=\"tw-search\"><$edit-text tiddler=\"$:/temp/advancedsearch\" type=\"search\" tag=\"input\"/><$reveal state=\"$:/temp/advancedsearch\" type=\"nomatch\" text=\"\"> <$link to=\"\" class=\"btn-invisible\">{{$:/core/images/close-button}}</$link></$reveal></div>\n\n</$linkcatcher>\n\n<$reveal state=\"$:/temp/advancedsearch\" type=\"nomatch\" text=\"\">\n<div class=\"tw-search-results\">\n\n<<lingo Standard/Matches>>\n\n<$list filter=\"[!is[system]search{$:/temp/advancedsearch}sort[title]limit[250]]\">\n{{!!title||$:/core/ui/ListItemTemplate}}\n<$context term={{$:/temp/advancedsearch}}/>\n</$list>\n\n</div>\n\n</$reveal>\n\n<$reveal state=\"$:/temp/advancedsearch\" type=\"match\" text=\"\">\n\n</$reveal>\n" }, "$:/plugins/danielo515/ContextPlugin/readme": { "title": "$:/plugins/danielo515/ContextPlugin/readme", "text": "!Usage\n\nAfter installing the plugin you will have a new tab in [[$:/AdvancedSearch]] called [[Context Search]]. If you want this functionality in other places you will have to edit the desired tiddler yourself adding the ''context widget''. For more details about using the widget see the section below.\n\n!!Using the widget\n\nThe very basic usage of the widget is the following:\n\n```\r\n<$context term=\"lorem\"/>\r\n```\r\nWhich will render as:\r\n<$context term=\"lorem\"/>\n\nThe widgets will search inside the current tiddler by default. Because that you see the same content twice here. This example is not very useful. Other more meaningful would be:\n\n```\r\n<$list filter=\"[search{$:/temp/advancedsearch}sort[title]limit[250]]\">\r\n{{!!title||$:/core/ui/ListItemTemplate}}\r\n<$context term={{$:/temp/advancedsearch}}/>\r\n</$list>\r\n```\n\nThat will search for tiddlers containing the text specified in [[$:/temp/advancedsearch]] and will display a link to the matching tiddlers plus a preview of the matching content. Something very similar is used in [[Context Search]]. Below you can find a complete list of parameters and their default values.\n\n|! parameter |! description | !default |\r\n| term | The term you want to search ||\r\n| searchTerm | An alias for the previous one ||\r\n| tiddler | The tiddler's name to look into | current tiddler |\r\n| length | Number of context characters to show | 50 |\r\n| before | Number of characters before the matched term to show | the value of the length parameter |\r\n| after | Number of characters after the matched term to show | the value of the length parameter |\r\n| maxMatches | maximun number of matched elements to show. Incrementing this can cause several performance issues | 10 |\r\n| element | Node element to create. This element will contain the results of the search. If you want to style it its class is `tw-context` | `<pre>` |\r\n| matchClass | The css class to assign to the matched terms in the results. This is used to highlight the results | matched |\n\n!Customizing the output\r\nThere are not many ways to customize the output of this widget. You can specify ''what type of node you want to create'' to wrap the results (div,span...). The default is `<pre>`. This container is created with the class `tw-context` so you can easily apply styles to it. Something similar happens to the ''highlighted'' words. You can specify the name of the class to assign to it and also you can apply styles to that class.\n\nA very basic example of customization could be:\n\n# Create a tiddler, for example [[$/plugins/danielo515/context/css]]\r\n# Paste the following text or any css rule you want: \"\"\"\n\n<pre>\r\n.matched{background-color:yellow}\r\n.tw-context {\r\n border:1px solid blue;\r\n word-break: break-all; word-wrap: break-word;}\r\n</pre>\r\n\"\"\"\r\n# Tag it with `$:/tags/stylesheet`\r\n# Save the tiddler" } } }
{ "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');\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\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\tvar self = this;\n\tvar failures = this.eachRelinkableTiddler(\n\t\t\tfromTitle,\n\t\t\ttoTitle,\n\t\t\toptions,\n\t\t\tfunction(changes, tiddler) {\n\t\tvar newTiddler = new $tw.Tiddler(tiddler,changes,self.getModificationFields())\n\t\tnewTiddler = $tw.hooks.invokeHook(\"th-relinking-tiddler\",newTiddler,tiddler);\n\t\tself.addTiddler(newTiddler);\n\t});\n\tif (failures.length > 0) {\n\t\tlanguage.reportFailures(failures);\n\t}\n};\n\n})();\n", "module-type": "startup", "title": "$:/plugins/flibbles/relink/js/bulkops.js", "type": "application/javascript" }, "$:/plugins/flibbles/relink/js/errors.js": { "text": "/*\\\nmodule-type: library\n\nThis is the exception that gets thrown when a relink is impossible.\n (Or the hoops we'd have to go through to make it work are more than the user\n would want Relink to do, like create new tiddlers)\n\\*/\n\nfunction RelinkError() {};\nRelinkError.prototype = Object.create(Error);\nexports.RelinkError = RelinkError;\n\nfunction CannotRelinkError() { };\nCannotRelinkError.prototype = new RelinkError();\nexports.CannotRelinkError = CannotRelinkError\n\nfunction CannotFindMacroDefError(macroName) { this.macroName = macroName; };\nCannotFindMacroDefError.prototype = new RelinkError();\nexports.CannotFindMacroDefError = CannotFindMacroDefError;\n//Cannot find definition for ${macroName}. Make sure your macro whitelist is configured properly, and that you're macro is globally defined, or defined in all the places it's used.\n", "module-type": "library", "title": "$:/plugins/flibbles/relink/js/errors.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.logRelink = function(message, args, options) {\n\tif (options.quiet) {\n\t\treturn;\n\t}\n\tvar raw = exports.log[message];\n\tif (raw) {\n\t\t// This is cheap, but whatevs. To do a proper\n\t\t// rendering would require working through a wiki\n\t\t// object. Too heavy weight for log messages.\n\t\tvar msg = raw.replace(/<<([^<>]+)>>/g, function(match, key) {\n\t\t\treturn args[key] || (\"<<\"+key+\">>\");\n\t\t});\n\t\tif (raw.indexOf('%c') >= 0) {\n\t\t\t// Doing a little bit of bold so the user sees\n\t\t\t// where we had to jump through hoops.\n\t\t\tconsole.log(\"%c\" + msg, \"\", \"font-weight: bold;\");\n\t\t} else {\n\t\t\tconsole.log(msg);\n\t\t}\n\t} else {\n\t\tconsole.warn(\"No such log message: \" + message);\n\t}\n};\n\nexports.getString = function(title, options) {\n\ttitle = \"$:/plugins/flibbles/relink/language/\" + title;\n\treturn options.wiki.renderTiddler(\"text/plain\", title,\n\t {variables: options.variables});\n};\n\nexports.failureAlert = \"Relink was unable to update the following tiddlers due to the complexity of the title:\";\n\nexports.reportFailures = function(failureList) {\n\tvar reportList = failureList.map(function(f) {return \"\\n \" + f});\n\tconsole.warn(exports.failureAlert + reportList);\n};\n\nexports.log = {\n\t\"attribute\": \"Renaming '<<from>>' to '<<to>>' in <<<element>> <<attribute>> /> attribute of tiddler '<<tiddler>>'\",\n\t\"attribute-placeholder\": \"Renaming '<<from>>' to '<<to>>' in <<<element>> <<attribute>> /> attribute of tiddler '<<tiddler>>' %cby creating placeholder macros\",\n\t\"field\": \"Renaming '<<from>>' to '<<to>>' in <<field>> of tiddler '<<tiddler>>'\",\n\t\"filteredtransclude\": \"Renaming '<<from>>' to '<<to>>' in filtered transclusion of tiddler '<<tiddler>>'\",\n\t\"filteredtransclude-placeholder\": \"Renaming '<<from>>' to '<<to>>' in filtered transclusion of tiddler '<<tiddler>>' %cby creating placeholder macros\",\n\t\"filteredtransclude-placeholder-widget\": \"Renaming '<<from>>' to '<<to>>' in filtered transclusion of tiddler '<<tiddler>>' %cby converting it into a widget and creating placeholder macros\",\n\t\"filteredtransclude-widget\": \"Renaming '<<from>>' to '<<to>>' in filtered transclusion of tiddler '<<tiddler>>' %cby converting it into a widget\",\n\t\"image\": \"Renaming '<<from>>' to '<<to>>' in image of tiddler '<<tiddler>>'\",\n\t\"image-placeholder-widget\": \"Renaming '<<from>>' to '<<to>>' in image of tiddler '<<tiddler>>' %cby converting it into a widget and creating placeholder macros\",\n\t\"image-widget\": \"Renaming '<<from>>' to '<<to>>' in image of tiddler '<<tiddler>>' %cby converting it into a widget\",\n\t\"import\": \"Renaming '<<from>>' to '<<to>>' in \\\\import filter of tiddler '<<tiddler>>'\",\n\t\"import-placeholder\": \"Renaming '<<from>>' to '<<to>>' in \\\\import filter of tiddler '<<tiddler>>' %cby creating placeholder macros\",\n\t\"macrodef\": \"Renaming '<<from>>' to '<<to>>' in <<macro>> definition of tiddler '<<tiddler>>'\",\n\t\"macrodef-placeholder\": \"Renaming '<<from>>' to '<<to>>' in <<macro>> definition of tiddler '<<tiddler>>' %cby creating more placeholder macros\",\n\t\"prettylink\": \"Renaming '<<from>>' to '<<to>>' in prettylink of tiddler '<<tiddler>>'\",\n\t\"prettylink-placeholder\": \"Renaming '<<from>>' to '<<to>>' in prettylink of tiddler '<<tiddler>>' %cby converting it into a widget and creating placeholder macros\",\n\t\"prettylink-widget\": \"Renaming '<<from>>' to '<<to>>' in prettylink of tiddler '<<tiddler>>' %cby converting it into a widget\",\n\t\"transclude\": \"Renaming '<<from>>' to '<<to>>' in transclusion of tiddler '<<tiddler>>'\",\n\t\"transclude-placeholder\": \"Renaming '<<from>>' to '<<to>>' in transclusion of tiddler '<<tiddler>>' %cby converting it into a widget and creating placeholder macros\",\n\t\"transclude-widget\": \"Renaming '<<from>>' to '<<to>>' in transclusion of tiddler '<<tiddler>>' %cby converting it into a widget\",\n\t\"wikilink\": \"Renaming '<<from>>' to '<<to>>' in CamelCase link of tiddler '<<tiddler>>'\",\n\t\"wikilink-placeholder\": \"Renaming '<<from>>' to '<<to>>' in CamelCase link of tiddler '<<tiddler>>' %cby converting it into a widget and creating placeholder macros\",\n\t\"wikilink-pretty\": \"Renaming '<<from>>' to '<<to>>' in CamelCase link of tiddler '<<tiddler>>' %cby converting it into a prettylink\"\n};\n", "module-type": "library", "title": "$:/plugins/flibbles/relink/js/language.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 fieldTypes = Object.create(null);\n\n$tw.modules.forEachModuleOfType(\"relinkfieldtype\", function(title, exports) {\n\tfieldTypes[exports.name] = exports;\n\t// For legacy reasons, some of the field types can go by other names\n\tif (exports.aliases) {\n\t\t$tw.utils.each(exports.aliases, function(alias) {\n\t\t\tfieldTypes[alias] = exports;\n\t\t});\n\t}\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.getRelinker = function(name) {\n\treturn fieldTypes[name];\n};\n\nexports.getAttributes = function(options) {\n\treturn getSettings(options).attributes;\n};\n\nexports.getFields = function(options) {\n\treturn getSettings(options).fields;\n};\n\nexports.getMacros = function(options) {\n\treturn getSettings(options).macros;\n};\n\nexports.getOperators = function(options) {\n\treturn getSettings(options).operators;\n};\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 *\n * Also, by exporting \"factories\", anyone who extends relink can patch in\n * their own factory methods to create settings that are generated exactly\n * once per rename.\n */\nexports.factories = {\n\tattributes: function(attributes, tiddler, key) {\n\t\tvar relinker = fieldTypes[tiddler.fields.text];\n\t\tif (relinker) {\n\t\t\tvar elem = root(key);\n\t\t\tvar attr = key.substr(elem.length+1);\n\t\t\tattributes[elem] = attributes[elem] || Object.create(null);\n\t\t\tattributes[elem][attr] = relinker;\n\t\t}\n\t},\n\tfields: function(fields, tiddler, name) {\n\t\tvar relinker = fieldTypes[tiddler.fields.text];\n\t\tif (relinker) {\n\t\t\tfields[name] = relinker;\n\t\t}\n\t},\n\tmacros: function(macros, tiddler, key) {\n\t\tvar relinker = fieldTypes[tiddler.fields.text];\n\t\tif (relinker) {\n\t\t\t// We take the last index, not the first, because macro\n\t\t\t// parameters can't have slashes, but macroNames can.\n\t\t\tvar name = dir(key);\n\t\t\tvar arg = key.substr(name.length+1);\n\t\t\tmacros[name] = macros[name] || Object.create(null);\n\t\t\tmacros[name][arg] = relinker;\n\t\t}\n\t},\n\toperators: function(operators, tiddler, name) {\n\t\tvar relinker = fieldTypes[tiddler.fields.text];\n\t\tif (relinker) {\n\t\t\toperators[name] = relinker;\n\t\t}\n\t}\n};\n\n/**We're caching the generated settings inside of options. Not exactly how\n * options was meant to be used, but it's fiiiiine.\n * The wiki global cache isn't a great place, because it'll get cleared many\n * times during a bulk relinking operation, and we can't recalculate this every\n * time without exploding a rename operation's time.\n * options works great. It only lasts just as long as the rename.\n * No longer, no shorter.\n */\nfunction getSettings(options) {\n\tvar secretCache = \"__relink_settings\";\n\tvar cache = options[secretCache];\n\tif (cache === undefined) {\n\t\tcache = options[secretCache] = compileSettings(options.wiki);\n\t}\n\treturn cache;\n};\n\nfunction compileSettings(wiki) {\n\tvar prefix = \"$:/config/flibbles/relink/\";\n\tvar settings = Object.create(null);\n\tfor (var name in exports.factories) {\n\t\tsettings[name] = Object.create(null);\n\t}\n\twiki.eachShadowPlusTiddlers(function(tiddler, title) {\n\t\tif (title.substr(0, prefix.length) === prefix) {\n\t\t\tvar remainder = title.substr(prefix.length);\n\t\t\tvar category = root(remainder);\n\t\t\tvar factory = exports.factories[category];\n\t\t\tif (factory) {\n\t\t\t\tvar name = remainder.substr(category.length+1);\n\t\t\t\tfactory(settings[category], tiddler, name);\n\t\t\t}\n\t\t}\n\t});\n\treturn settings;\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/* 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": "library", "title": "$:/plugins/flibbles/relink/js/settings.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 errors = require('$:/plugins/flibbles/relink/js/errors');\n\nvar relinkOperations = Object.create(null);\n$tw.modules.applyMethods('relinkoperator', relinkOperations);\n\n/**Walks through all non-shadow tiddlers and sees which ones need to be relinked\n *\n * For each one, calls method on it with arguments (changes, tiddler, title)\n * Returns a list of tiddlers it would fail to update.\n */\nexports.eachRelinkableTiddler = function(fromTitle, toTitle, options, method) {\n\tvar data = this.getRelinkableTiddlers(fromTitle, toTitle, options);\n\tfor (var title in data.changes) {\n\t\tmethod(data.changes[title], this.getTiddler(title), title);\n\t}\n\treturn data.failures;\n};\n\n/** Returns a pair like this,\n * { changes: {...}, failures: [] }\n */\nexports.getRelinkableTiddlers = function(fromTitle, toTitle, options) {\n\tvar cache = this.getGlobalCache(\"relink-\"+fromTitle, function() {\n\t\treturn Object.create(null);\n\t});\n\tif (!cache[toTitle]) {\n\t\tcache[toTitle] = getFreshRelinkableTiddlers(this, fromTitle, toTitle, options);\n\t}\n\treturn cache[toTitle];\n};\n\nfunction getFreshRelinkableTiddlers(wiki, fromTitle, toTitle, options) {\n\toptions = options || {};\n\toptions.wiki = options.wiki || wiki;\n\tfromTitle = (fromTitle || \"\").trim();\n\ttoTitle = (toTitle || \"\").trim();\n\tvar failures = [];\n\tvar changeList = Object.create(null);\n\tif(fromTitle && toTitle && fromTitle !== toTitle) {\n\t\tvar toUpdate = getRelinkFilter(wiki);\n\t\tvar tiddlerList = toUpdate.call(wiki); // no source or widget\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\t// Don't touch plugins or JavaScript modules\n\t\t\tif(tiddler\n\t\t\t&& !tiddler.fields[\"plugin-type\"]\n\t\t\t&& tiddler.fields.type !== \"application/javascript\") {\n\t\t\t\ttry {\n\t\t\t\t\tvar changes = Object.create(null);\n\t\t\t\t\tfor (var operation in relinkOperations) {\n\t\t\t\t\t\trelinkOperations[operation](tiddler, fromTitle, toTitle, changes, options);\n\t\t\t\t\t}\n\t\t\t\t\t// If any fields changed, update tiddler\n\t\t\t\t\tif(Object.keys(changes).length > 0) {\n\t\t\t\t\t\tchangeList[title] = changes;\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {\n\t\t\t\t\tif (e instanceof errors.RelinkError) {\n\t\t\t\t\t\tfailures.push(title);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Should we test for instanceof Error instead?: yes\n\t\t\t\t\t\t// Does that work in the testing environment?: no\n\t\t\t\t\t\tif (e.message) {\n\t\t\t\t\t\t\te.message = e.message + \"\\nWhen relinking '\" + title + \"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthrow e;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\treturn {changes: changeList, failures: failures};\n};\n\nfunction getRelinkFilter(wiki) {\n\tvar toUpdate = \"$:/config/flibbles/relink/to-update\";\n\treturn wiki.getCacheForTiddler(toUpdate, \"relink-toUpdate\", function() {\n\t\tvar tiddler = wiki.getTiddler(toUpdate);\n\t\tif (tiddler) {\n\t\t\tvar filter = wiki.compileFilter(tiddler.fields.text);\n\t\t\treturn filter;\n\t\t} else {\n\t\t\treturn wiki.allTitles;\n\t\t}\n\t});\n};\n\n/**Returns a list of tiddlers that would be renamed by a relink operations.\n */\nexports.relinkTiddlerDryRun = function(fromTitle, toTitle, options) {\n\tvar results = [];\n\tthis.eachRelinkableTiddler(\n\t\t\tfromTitle,\n\t\t\ttoTitle,\n\t\t\toptions,\n\t\t\tfunction(changes, tiddler, title) {\n\t\tresults.push(title);\n\t});\n\treturn results;\n};\n\nvar ImportVariablesWidget = require(\"$:/core/modules/widgets/importvariables.js\").importvariables;\n\nexports.relinkGlobalMacros = function() {\n\tif (!this._relinkWidget) {\n\t\tvar importWidget = this.relinkGenerateVariableWidget( \"[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\");\n\t\tthis.addEventListener(\"change\", function(changes) {\n\t\t\timportWidget.refresh(changes);\n\t\t});\n\t\tthis._relinkWidget = importWidget;\n\t}\n\tvar rtn = this._relinkWidget;\n\twhile (rtn.children.length > 0) {\n\t\trtn = rtn.children[0];\n\t}\n\treturn rtn;\n};\n\nexports.relinkGenerateVariableWidget = function(filter, parent) {\n\tvar treeNode = { attributes: {\n\t\t\"filter\": {\n\t\t\ttype: \"string\",\n\t\t\tvalue: filter\n\t\t}\n\t}};\n\tvar importWidget = new ImportVariablesWidget(treeNode,{parentWidget: parent, wiki: this});\n\timportWidget.computeAttributes();\n\timportWidget.execute();\n\t// These two functions neuter the widget, so it never tries\n\t// to render.\n\timportWidget.findNextSiblingDomNode = function() {};\n\timportWidget.renderChildren(this.parentDomNode);\n\treturn importWidget;\n};\n", "module-type": "wikimethod", "title": "$:/plugins/flibbles/relink/js/wikimethods.js", "type": "application/javascript" }, "$:/plugins/flibbles/relink/js/filteroperators/impossible.js": { "text": "/*\\\nmodule-type: relinkfilteroperator\n\nGiven an input of toTitles, (probably just one), outputs all the tiddlers in\nwhich Relink would fail to update the operand to any of those given titles.\n\n`[[{terrible'}!!\"title\"]relink:impossible[fromTiddler]]`\n\nWould output all the tiddlers where Relink would fail to update `from here` to\n`{terrible'}!!\"title\"`\n\nI know, it's weird. You'd think it would test all incoming inputs instead of\nusing them as to fromTitle, but this is the only way to input both a fromTitle\nand a toTitle.\n\nResults are dominantly appanded if more than one input tiddler is given.\n\\*/\n\nexports.impossible = function(source,operator,options) {\n\tvar fromTitle = operator.operand,\n\t\tresults = [];\n\tif (fromTitle) {\n\t\tsource(function(toTiddler, toTitle) {\n\t\t\tvar fails = options.wiki.eachRelinkableTiddler(\n\t\t\t\tfromTitle, toTitle,\n\t\t\t\t$tw.utils.extend({quiet: true}, options),\n\t\t\t\tfunction(tiddler, title) {});\n\t\t\t$tw.utils.pushTop(results, fails);\n\t\t});\n\t}\n\treturn results;\n};\n", "module-type": "relinkfilteroperator", "title": "$:/plugins/flibbles/relink/js/filteroperators/impossible.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\n`relink:references[fromTiddler]]`\n\nReturns all tiddlers that reference `fromTiddler` somewhere inside them.\n\nInput is ignored. Maybe it shouldn't do this.\nAlso, maybe it should properly recon, instead of fake replacing the title with\n`__relink_dummy__`\n\\*/\n\nexports.references = function(source,operator,options) {\n\tvar fromTitle = operator.operand,\n\t\tresults = [];\n\tif (fromTitle) {\n\t\toptions.wiki.eachRelinkableTiddler(\n\t\t\tfromTitle, \"__relink_dummy__\",\n\t\t\t$tw.utils.extend({quiet: true}, options),\n\t\t\tfunction(changes, tiddler, title) {\n\t\t\t\tresults.push(title);\n\t\t\t});\n\t}\n\treturn results;\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(\"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/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/fieldtypes/filter.js": { "text": "/*\\\nThis specifies logic for updating filters to reflect title changes.\n\\*/\n\n/**Returns undefined if no change was made.\n */\n\nvar CannotRelinkError = require(\"$:/plugins/flibbles/relink/js/errors.js\").CannotRelinkError;\nvar refHandler = require(\"$:/plugins/flibbles/relink/js/fieldtypes/reference\");\nvar settings = require('$:/plugins/flibbles/relink/js/settings.js');\nvar Rebuilder = require(\"$:/plugins/flibbles/relink/js/utils/rebuilder\");\n\nexports.name = \"filter\";\n\nexports.relink = function(filter, fromTitle, toTitle, options) {\n\tif (!filter || filter.indexOf(fromTitle) < 0) {\n\t\treturn undefined;\n\t}\n\tvar relinker = new Rebuilder(filter);\n\tvar whitelist = settings.getOperators(options);\n\tvar p = 0, // Current position in the filter string\n\t\tmatch, noPrecedingWordBarrier,\n\t\twordBarrierRequired=false;\n\tvar whitespaceRegExp = /\\s+/mg,\n\t\toperandRegExp = /((?:\\+|\\-|~|=)?)(?:(\\[)|(?:\"([^\"]*)\")|(?:'([^']*)')|([^\\s\\[\\]]+))/mg;\n\twhile(p < filter.length) {\n\t\t// Skip any whitespace\n\t\twhitespaceRegExp.lastIndex = p;\n\t\tmatch = whitespaceRegExp.exec(filter);\n\t\tnoPrecedingWordBarrier = false;\n\t\tif(match && match.index === p) {\n\t\t\tp = p + match[0].length;\n\t\t} else if (p != 0) {\n\t\t\tif (wordBarrierRequired) {\n\t\t\t\trelinker.add(' ', p, p);\n\t\t\t\twordBarrierRequired = false;\n\t\t\t} else {\n\t\t\t\tnoPrecedingWordBarrier = true;\n\t\t\t}\n\t\t}\n\t\t// Match the start of the operation\n\t\tif(p < filter.length) {\n\t\t\tvar val;\n\t\t\toperandRegExp.lastIndex = p;\n\t\t\tmatch = operandRegExp.exec(filter);\n\t\t\tif(!match || match.index !== p) {\n\t\t\t\t// It's a bad filter\n\t\t\t\treturn undefined;\n\t\t\t}\n\t\t\tif(match[1]) { // prefix\n\t\t\t\tp++;\n\t\t\t}\n\t\t\tif(match[2]) { // Opening square bracket\n\t\t\t\t// We check if this is a standalone title,\n\t\t\t\t// like `[[MyTitle]]`. We treat those like\n\t\t\t\t// `\"MyTitle\"` or `MyTitle`. Not like a run.\n\t\t\t\tvar standaloneTitle = /\\[\\[([^\\]]+)\\]\\]/g;\n\t\t\t\tstandaloneTitle.lastIndex = p;\n\t\t\t\tvar alone = standaloneTitle.exec(filter);\n\t\t\t\tif (!alone || alone.index != p) {\n\t\t\t\t\t// It's a legit run\n\t\t\t\t\tp =parseFilterOperation(relinker,fromTitle,toTitle,filter,p,whitelist,options);\n\t\t\t\t\tif (p === undefined) {\n\t\t\t\t\t\t// The filter is malformed\n\t\t\t\t\t\t// We do nothing.\n\t\t\t\t\t\treturn undefined;\n\t\t\t\t\t}\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tbracketTitle = alone[1];\n\t\t\t\toperandRegExp.lastIndex = standaloneTitle.lastIndex;\n\t\t\t\tval = alone[1];\n\t\t\t} else {\n\t\t\t\t// standalone Double quoted string, single\n\t\t\t\t// quoted string, or noquote ahead.\n\t\t\t\tval = match[3] || match[4] || match[5];\n\t\t\t}\n\t\t\t// From here on, we're dealing with a standalone title\n\t\t\t// expression. like `\"MyTitle\"` or `[[MyTitle]]`\n\t\t\t// We're much more flexible about relinking these.\n\t\t\tvar preference = undefined;\n\t\t\tif (match[3]) {\n\t\t\t\tpreference = '\"';\n\t\t\t} else if (match[4]) {\n\t\t\t\tpreference = \"'\";\n\t\t\t} else if (match[5]) {\n\t\t\t\tpreference = '';\n\t\t\t}\n\t\t\tif (val === fromTitle) {\n\t\t\t\tvar newVal = wrapTitle(toTitle, preference);\n\t\t\t\tif (newVal === undefined) {\n\t\t\t\t\tif (!options.placeholder) {\n\t\t\t\t\t\tthrow new CannotRelinkError();\n\t\t\t\t\t}\n\t\t\t\t\tnewVal = \"[<\"+options.placeholder.getPlaceholderFor(toTitle)+\">]\";\n\t\t\t\t\toptions.usedPlaceholder = true;\n\t\t\t\t}\n\t\t\t\tif (newVal[0] != '[') {\n\t\t\t\t\t// not bracket enclosed\n\t\t\t\t\t// this requires whitespace\n\t\t\t\t\t// arnound it\n\t\t\t\t\tif (noPrecedingWordBarrier && !match[1]) {\n\t\t\t\t\t\trelinker.add(' ', p, p);\n\t\t\t\t\t}\n\t\t\t\t\twordBarrierRequired = true;\n\t\t\t\t}\n\t\t\t\trelinker.add(newVal,p,operandRegExp.lastIndex);\n\t\t\t}\n\t\t\tp = operandRegExp.lastIndex;\n\t\t}\n\t}\n\treturn relinker.results();\n};\n\nfunction wrapTitle(value, preference) {\n\tvar choices = {\n\t\t\"\": function(v) {return !/[\\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 (choices[preference]) {\n\t\tif (choices[preference](value)) {\n\t\t\treturn wrappers[preference](value);\n\t\t}\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 parseFilterOperation(relinker, fromTitle, toTitle, filterString, p, whitelist, options) {\n\tvar nextBracketPos, operator;\n\t// Skip the starting square bracket\n\tif(filterString.charAt(p++) !== \"[\") {\n\t\t// Missing [ in filter expression\n\t\treturn undefined;\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\tp++;\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\t// Missing [ in filter expression\n\t\t\treturn undefined;\n\t\t}\n\t\tnextBracketPos += p;\n\t\tvar bracket = filterString.charAt(nextBracketPos);\n\t\toperator.operator = filterString.substring(p,nextBracketPos);\n\n\t\t// Any suffix?\n\t\tvar colon = operator.operator.indexOf(':');\n\t\tif(colon > -1) {\n\t\t\toperator.suffix = operator.operator.substring(colon + 1);\n\t\t\toperator.operator = operator.operator.substring(0,colon) || \"field\";\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\n\t\tp = nextBracketPos + 1;\n\t\tswitch (bracket) {\n\t\t\tcase \"{\": // Curly brackets\n\t\t\t\tnextBracketPos = filterString.indexOf(\"}\",p);\n\t\t\t\tvar operand = filterString.substring(p,nextBracketPos);\n\t\t\t\tvar ref = $tw.utils.parseTextReference(operand);\n\t\t\t\tif (ref.title === fromTitle) {\n\t\t\t\t\tif(!canBePrettyIndirect(toTitle)) {\n\t\t\t\t\t\tthrow new CannotRelinkError();\n\t\t\t\t\t}\n\t\t\t\t\tref.title = toTitle;\n\t\t\t\t\tvar newRef = refHandler.toString(ref);\n\t\t\t\t\t// We don't check the whitelist.\n\t\t\t\t\t// All indirect operands convert.\n\t\t\t\t\trelinker.add(newRef,p,nextBracketPos);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"[\": // Square brackets\n\t\t\t\tnextBracketPos = filterString.indexOf(\"]\",p);\n\t\t\t\tvar operand = filterString.substring(p,nextBracketPos);\n\t\t\t\t// Check if this is a relevant operator\n\t\t\t\tvar handler = fieldType(whitelist, operator);\n\t\t\t\tif (!handler) {\n\t\t\t\t\t// This operator isn't managed. Bye.\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tvar result = handler.relink(operand, fromTitle, toTitle, options);\n\t\t\t\tif (!result) {\n\t\t\t\t\t// The fromTitle wasn't in the operand.\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tvar wrapped;\n\t\t\t\tif (!canBePrettyOperand(result)) {\n\t\t\t\t\tif (!options.placeholder) {\n\t\t\t\t\t\tthrow new CannotRelinkError();\n\t\t\t\t\t}\n\t\t\t\t\tvar ph = options.placeholder.getPlaceholderFor(result);\n\t\t\t\t\twrapped = \"<\"+ph+\">\";\n\t\t\t\t\toptions.usedPlaceholder = true;\n\t\t\t\t} else {\n\t\t\t\t\twrapped = \"[\"+result+\"]\";\n\t\t\t\t}\n\t\t\t\trelinker.add(wrapped, p-1, nextBracketPos+1);\n\t\t\t\tbreak;\n\t\t\tcase \"<\": // Angle brackets\n\t\t\t\tnextBracketPos = filterString.indexOf(\">\",p);\n\t\t\t\tbreak;\n\t\t\tcase \"/\": // regexp brackets\n\t\t\t\tvar rex = /^((?:[^\\\\\\/]*|\\\\.)*)\\/(?:\\(([mygi]+)\\))?/g,\n\t\t\t\t\trexMatch = rex.exec(filterString.substring(p));\n\t\t\t\tif(rexMatch) {\n\t\t\t\t\tnextBracketPos = p + rex.lastIndex - 1;\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\t// Unterminated regular expression\n\t\t\t\t\treturn undefined;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t}\n\n\t\tif(nextBracketPos === -1) {\n\t\t\t// Missing closing bracket in filter expression\n\t\t\t// return undefined;\n\t\t}\n\t\tp = nextBracketPos + 1;\n\n\t} while(filterString.charAt(p) !== \"]\");\n\t// Skip the ending square bracket\n\tif(filterString.charAt(p++) !== \"]\") {\n\t\t// Missing ] in filter expression\n\t\treturn undefined;\n\t}\n\t// Return the parsing position\n\treturn p;\n}\n\n// Returns the relinker needed for a given operator, or returns undefined.\nfunction fieldType(whitelist, operator) {\n\treturn whitelist[operator.operator] ||\n\t (operator.suffix &&\n\t whitelist[operator.operator + \":\" + operator.suffix]);\n};\n\nfunction canBePrettyOperand(value) {\n\treturn value.indexOf(']') < 0;\n};\n\nfunction canBePrettyIndirect(value) {\n\treturn value.indexOf('}') < 0;\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 CannotRelinkError = require(\"$:/plugins/flibbles/relink/js/errors.js\").CannotRelinkError;\n\nexports.name = \"list\";\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\tactualList = false,\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\tif(title === fromTitle) {\n\t\t\tlist[index] = toTitle;\n\t\t\tisModified = true;\n\t\t}\n\t});\n\tif (isModified) {\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\tthrow new CannotRelinkError();\n\t\t}\n\t\tif (actualList) {\n\t\t\treturn list;\n\t\t} else {\n\t\t\treturn $tw.utils.stringifyList(list);\n\t\t}\n\t}\n\treturn undefined;\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 CannotRelinkError = require(\"$:/plugins/flibbles/relink/js/errors.js\").CannotRelinkError;\n\nexports.name = \"reference\";\n\nexports.relink = function(value, fromTitle, toTitle, options) {\n\tvar reference = $tw.utils.parseTextReference(value);\n\tif (reference.title !== fromTitle) {\n\t\treturn undefined;\n\t}\n\treference.title = toTitle;\n\treturn exports.toString(reference);\n};\n\nexports.toString = function(textReference) {\n\tvar title = textReference.title || '';\n\tif (!exports.canBePretty(title)) {\n\t\tthrow new CannotRelinkError();\n\t}\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.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\n/**Returns undefined if no change was made.\n */\nexports.relink = function(value, fromTitle, toTitle, options) {\n\tif (value === fromTitle) {\n\t\treturn toTitle;\n\t}\n\treturn undefined;\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/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\nvar settings = require('$:/plugins/flibbles/relink/js/settings.js');\nvar log = require('$:/plugins/flibbles/relink/js/language.js').logRelink;\n\nexports['fields'] = function(tiddler, fromTitle, toTitle, changes, options) {\n\tvar fields = settings.getFields(options);\n\t$tw.utils.each(fields, function(handler, field) {\n\t\tvar input = tiddler.fields[field];\n\t\tvar value = handler.relink(input, fromTitle, toTitle, options);\n\t\tif (value !== undefined) {\n\t\t\tlog(\"field\", {\n\t\t\t\tfrom: fromTitle,\n\t\t\t\tto: toTitle,\n\t\t\t\ttiddler: tiddler.fields.title,\n\t\t\t\tfield: descriptor(field)\n\t\t\t}, options);\n\t\t\tchanges[field] = value;\n\t\t}\n\t});\n};\n\nfunction descriptor(field) {\n\tif (field === \"tags\") {\n\t\treturn \"tags\";\n\t} else {\n\t\treturn field + \" field\" ;\n\t}\n};\n", "module-type": "relinkoperator", "title": "$:/plugins/flibbles/relink/js/relinkoperations/fields.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 defaultOperator = \"text/vnd.tiddlywiki\";\n\nvar textOperators = Object.create(null);\n$tw.modules.applyMethods('relinktextoperator', textOperators);\n\nexports['text'] = function(tiddler, fromTitle, toTitle, changes, options) {\n\tvar text = tiddler.fields.text,\n\t\tbuilder = [],\n\t\tbuildIndex = 0;\n\tif (text && text.indexOf(fromTitle) >= 0) {\n\t\tvar type = tiddler.fields.type || defaultOperator;\n\t\tif (textOperators[type]) {\n\t\t\ttextOperators[type].call(this, tiddler, fromTitle, toTitle, changes, options);\n\t\t}\n\t}\n};\n", "module-type": "relinkoperator", "title": "$:/plugins/flibbles/relink/js/relinkoperations/text.js", "type": "application/javascript" }, "$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext.js": { "text": "/*\\\n\nChecks for fromTitle in a tiddler's 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 type = 'text/vnd.tiddlywiki';\nvar WikiParser = require(\"$:/core/modules/parsers/wikiparser/wikiparser.js\")[type];\nvar Rebuilder = require(\"$:/plugins/flibbles/relink/js/utils/rebuilder.js\");\nvar Widget = require(\"$:/core/modules/widgets/widget.js\").widget;\n\nvar rules = Object.create(null);\n\n$tw.modules.forEachModuleOfType(\"relinkwikitextrule\", function(title, exports) {\n\tvar names = exports.name;\n\tif (typeof names === \"string\") {\n\t\tnames = [names];\n\t}\n\tfor (var i = 0; i < names.length; i++) {\n\t\trules[names[i]] = exports;\n\t}\n});\n\nfunction WikiRelinker(text, title, toTitle, options) {\n\tWikiParser.call(this, null, text, options);\n\tif (!this.relinkMethodsInjected) {\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\tWikiRelinker.prototype.relinkMethodsInjected = true;\n\t}\n\tthis.title = title;\n\tthis.toTitle = toTitle;\n\tthis.inlineRules = this.blockRules.concat(this.pragmaRules, this.inlineRules);\n\t// We work through relinkRules so we can change it later.\n\t// relinkRules is inlineRules so it gets touched up by amendRules().\n\tthis.relinkRules = this.inlineRules;\n\tthis.placeholders = Object.create(null);\n\tthis.reverseMap = Object.create(null);\n\tthis.knownMacros = Object.create(null);\n\tthis.widget = undefined;\n};\n\nWikiRelinker.prototype = Object.create(WikiParser.prototype);\nWikiRelinker.prototype.parsePragmas = function() {return []; };\nWikiRelinker.prototype.parseInlineRun = function() {};\nWikiRelinker.prototype.parseBlocks = function() {};\n\nWikiRelinker.prototype.getPlaceholderFor = function(value, category) {\n\tvar placeholder = this.reverseMap[value];\n\tif (placeholder) {\n\t\treturn placeholder;\n\t}\n\tvar number = 0;\n\tvar prefix = \"relink-\"\n\tif (category && category !== \"title\") {\n\t\t// I don't like \"relink-title-1\". \"relink-1\" should be for\n\t\t// titles. lists, and filters can have descriptors though.\n\t\tprefix += category + \"-\";\n\t}\n\tdo {\n\t\tnumber += 1;\n\t\tplaceholder = prefix + number;\n\t} while (this.knownMacros[placeholder]);\n\tthis.placeholders[placeholder] = value;\n\tthis.reverseMap[value] = placeholder;\n\tthis.reserve(placeholder);\n\treturn placeholder;\n};\n\nWikiRelinker.prototype.addWidget = function(widget) {\n\tthis.widget = widget;\n\twhile (this.widget.children.length > 0) {\n\t\tthis.widget = this.widget.children[0];\n\t}\n};\n\nWikiRelinker.prototype.getVariableWidget = function() {\n\tif (!this.widget) {\n\t\tthis.widget = this.wiki.relinkGlobalMacros();\n\t\tvar parentWidget = new Widget({}, {parentWidget: this.widget});\n\t\tparentWidget.setVariable(\"currentTiddler\", this.title);\n\t\tvar widget = new Widget({}, {parentWidget: parentWidget});\n\t\tthis.addWidget(widget);\n\t}\n\treturn this.widget;\n};\n\nWikiRelinker.prototype.reserve = function(macro) {\n\tthis.knownMacros[macro] = true;\n};\n\nWikiRelinker.prototype.getPreamble = function() {\n\tvar results = [];\n\tfor (var name in this.placeholders) {\n\t\tvar val = this.placeholders[name];\n\t\tresults.push(\"\\\\define \"+name+\"() \"+val+\"\\n\");\n\t}\n\tif (results.length > 0) {\n\t\treturn results.join('');\n\t} else {\n\t\treturn undefined;\n\t}\n};\n\nexports[type] = function(tiddler, fromTitle, toTitle, changes, options) {\n\tvar text = tiddler.fields.text,\n\t\tbuilder = new Rebuilder(text),\n\t\tparser = new WikiRelinker(text, tiddler.fields.title, toTitle, options),\n\t\tmatchingRule;\n\twhile (matchingRule = parser.findNextMatch(parser.relinkRules, parser.pos)) {\n\t\tif (matchingRule.rule.relink) {\n\t\t\tvar newSegment = matchingRule.rule.relink(tiddler, text, fromTitle, toTitle, options);\n\t\t\tif (newSegment !== undefined) {\n\t\t\t\tbuilder.add(newSegment, matchingRule.matchIndex, parser.pos);\n\t\t\t}\n\t\t} else {\n\t\t\tif (matchingRule.rule.matchRegExp !== undefined) {\n\t\t\t\tparser.pos = matchingRule.rule.matchRegExp.lastIndex;\n\t\t\t} else {\n\t\t\t\t// We can't easily determine the end of this\n\t\t\t\t// rule match. We'll \"parse\" it so that\n\t\t\t\t// parser.pos gets updated, but we throw away\n\t\t\t\t// the results.\n\t\t\t\tmatchingRule.rule.parse();\n\t\t\t}\n\t\t}\n\t}\n\tif (builder.changed()) {\n\t\tbuilder.prepend(parser.getPreamble());\n\t\tchanges.text = builder.results();\n\t}\n};\n", "module-type": "relinktextoperator", "title": "$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext.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(tiddler, text, fromTitle, toTitle, options) {\n\tthis.parser.pos = this.endMatchRegExp.lastIndex;\n\treturn undefined;\n};\n", "module-type": "relinkwikitextrule", "title": "$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/comment.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/settings\").getRelinker('filter');\nvar log = require('$:/plugins/flibbles/relink/js/language.js').logRelink;\nvar utils = require(\"./utils.js\");\n\nexports.relink = function(tiddler, 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\tlogArguments = {\n\t\t\tfrom: fromTitle,\n\t\t\tto: toTitle,\n\t\t\ttiddler: tiddler.fields.title\n\t\t};\n\tparser.pos = this.matchRegExp.lastIndex;\n\tvar modified = false;\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\tvar extendedOptions = $tw.utils.extend({placeholder: this.parser}, options);\n\tvar relinkedFilter = filterHandler.relink(filter, fromTitle, toTitle, extendedOptions);\n\tvar message = \"filteredtransclude\";\n\tif (extendedOptions.usedPlaceholder) {\n\t\tmessage = \"filteredtransclude-placeholder\";\n\t}\n\tif (relinkedFilter !== undefined) {\n\t\tfilter = relinkedFilter;\n\t\tmodified = true;\n\t}\n\tif (!modified) {\n\t\treturn undefined;\n\t}\n\tif (canBePretty(filter) && canBePrettyTemplate(template)) {\n\t\tlog(message, logArguments, options);\n\t\treturn prettyList(filter, tooltip, template, style, classes);\n\t}\n\tmessage = message + \"-widget\";\n\tif (classes !== undefined) {\n\t\tclasses = classes.split('.').join(' ');\n\t}\n\tfunction wrap(name, value, treatAsTitle) {\n\t\tif (!value) {\n\t\t\treturn '';\n\t\t}\n\t\tvar wrappedValue = utils.wrapAttributeValue(value);\n\t\tif (wrappedValue === undefined) {\n\t\t\tvar category = treatAsTitle ? undefined : name;\n\t\t\twrappedValue = \"<<\"+parser.getPlaceholderFor(value,category)+\">>\";\n\t\t\tmessage = \"filteredtransclude-placeholder-widget\";\n\t\t}\n\t\treturn \" \"+name+\"=\"+wrappedValue;\n\t};\n\tvar widget = [\n\t\t\"<$list\",\n\t\twrap(\"filter\", filter),\n\t\twrap(\"tooltip\", tooltip),\n\t\twrap(\"template\", template, true),\n\t\twrap(\"style\", style),\n\t\twrap(\"itemClass\", classes),\n\t\t\"/>\"\n\t].join('');\n\tlog(message, logArguments, options);\n\treturn widget;\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\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", "module-type": "relinkwikitextrule", "title": "$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/filteredtransclude.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 html = require(\"$:/core/modules/parsers/wikiparser/rules/html.js\");\nvar log = require('$:/plugins/flibbles/relink/js/language.js').logRelink;\nvar settings = require('$:/plugins/flibbles/relink/js/settings.js');\nvar refHandler = require(\"$:/plugins/flibbles/relink/js/fieldtypes/reference\");\nvar filterHandler = require(\"$:/plugins/flibbles/relink/js/settings\").getRelinker('filter');\nvar macrocall = require(\"./macrocall.js\");\nvar CannotRelinkError = require(\"$:/plugins/flibbles/relink/js/errors.js\").CannotRelinkError;\n\nexports.name = \"html\";\n\nexports.relink = function(tiddler, text, fromTitle, toTitle, options) {\n\tvar managedElement = settings.getAttributes(options)[this.nextTag.tag],\n\t\tbuilder = new Rebuilder(text, this.nextTag.start);\n\tvar importFilterAttr;\n\tfor (var attributeName in this.nextTag.attributes) {\n\t\tvar attr = this.nextTag.attributes[attributeName];\n\t\tvar nextEql = text.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\tif (this.nextTag.tag === \"$importvariables\" && attributeName === \"filter\") {\n\t\t\timportFilterAttr = attr;\n\t\t}\n\t\tvar oldValue, quote, logMessage = \"attribute\";\n\t\tif (attr.type === \"string\") {\n\t\t\tvar handler = getAttributeHandler(this.nextTag, attributeName, options);\n\t\t\tif (!handler) {\n\t\t\t\t// We don't manage this attribute. Bye.\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tvar extendedOptions = $tw.utils.extend({placeholder: this.parser}, options);\n\t\t\toldValue = attr.value;\n\t\t\tvar value = handler.relink(attr.value, fromTitle, toTitle, extendedOptions);\n\t\t\tif (value === undefined) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (extendedOptions.usedPlaceholder) {\n\t\t\t\tlogMessage = \"attribute-placeholder\";\n\t\t\t}\n\t\t\tquote = utils.determineQuote(text, attr);\n\t\t\tattr.quotedValue = utils.wrapAttributeValue(value,quote);\n\t\t\tif (attr.quotedValue === undefined) {\n\t\t\t\t// The value was unquotable. We need to make\n\t\t\t\t// a macro in order to replace it.\n\t\t\t\tvalue = this.parser.getPlaceholderFor(value,handler.name)\n\t\t\t\tattr.type = \"macro\";\n\t\t\t\tattr.quotedValue = \"<<\"+value+\">>\";\n\t\t\t\tlogMessage = \"attribute-placeholder\";\n\t\t\t}\n\t\t\tattr.value = value;\n\t\t} else if (attr.type === \"indirect\") {\n\t\t\toldValue = attr.textReference;\n\t\t\tquote = \"{{\";\n\t\t\tvar ref = $tw.utils.parseTextReference(attr.textReference);\n\t\t\tif (ref.title !== fromTitle) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (toTitle.indexOf(\"}\") >= 0) {\n\t\t\t\t// Impossible replacement\n\t\t\t\tthrow new CannotRelinkError();\n\t\t\t}\n\t\t\tref.title = toTitle;\n\t\t\tattr.textReference = refHandler.toString(ref);\n\t\t\tattr.quotedValue = \"{{\"+attr.textReference+\"}}\";\n\t\t} else if (attr.type === \"filtered\") {\n\t\t\tvar extendedOptions = $tw.utils.extend({placeholder: this.parser}, options);\n\t\t\toldValue = attr.filter\n\t\t\tvar filter = filterHandler.relink(attr.filter, fromTitle, toTitle, extendedOptions);\n\t\t\tif (filter === undefined) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (!canBeFilterValue(filter)) {\n\t\t\t\t// Although I think we can actually do this one.\n\t\t\t\tthrow new CannotRelinkError();\n\t\t\t}\n\t\t\tattr.filter = filter;\n\t\t\tattr.quotedValue = \"{{{\" + filter + \"}}}\";\n\t\t\tquote = \"{{{\";\n\t\t} else if (attr.type === \"macro\") {\n\t\t\tvar macro = attr.value;\n\t\t\toldValue = attr.value;\n\t\t\tvar newMacro = macrocall.relinkMacroInvocation(macro, text, this.parser, fromTitle, toTitle, options);\n\t\t\tif (newMacro === undefined) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (macrocall.mustBeAWidget(newMacro)) {\n\t\t\t\tthrow new CannotRelinkError();\n\t\t\t}\n\t\t\tattr.value = newMacro;\n\t\t\t// TODO: Let's not hack like this. attr.value is\n\t\t\t// expected to be a string of the unquoted value below.\n\t\t\t// Make this better when I can.\n\t\t\toldValue.length = (macro.end-macro.start)-4;\n\t\t\tquote = \"<<\";\n\t\t\tattr.quotedValue = macrocall.macroToString(newMacro, text, this.parser, options);\n\t\t} else {\n\t\t\tcontinue;\n\t\t}\n\t\t// account for the quote if it's there.\n\t\t// We count backwards from the end to preserve whitespace\n\t\tvar valueStart = attr.end\n\t\t - (quote.length*2)\n\t\t - oldValue.length;\n\t\tbuilder.add(attr.quotedValue, valueStart, attr.end);\n\t\tvar logArguments = {\n\t\t\tfrom: fromTitle,\n\t\t\tto: toTitle,\n\t\t\ttiddler: tiddler.fields.title,\n\t\t\telement: this.nextTag.tag,\n\t\t\tattribute: attributeName\n\t\t};\n\t\tlog(logMessage, logArguments, options);\n\t}\n\tif (importFilterAttr) {\n\t\tvar importFilter = computeAttribute(importFilterAttr, this.parser, options);\n\t\tvar parentWidget = this.parser.getVariableWidget();\n\t\tvar varHolder = options.wiki.relinkGenerateVariableWidget(importFilter, parentWidget);\n\t\tthis.parser.addWidget(varHolder);\n\t}\n\tthis.parser.pos = this.nextTag.end;\n\treturn builder.results(this.nextTag.end);\n};\n\n/** Returns the field handler for the given attribute of the given widget.\n * If this returns undefined, it means we don't handle it. So skip.\n */\nfunction getAttributeHandler(widget, attributeName, options) {\n\tif (widget.tag === \"$macrocall\") {\n\t\tvar nameAttr = widget.attributes[\"$name\"];\n\t\tvar macro = settings.getMacros(options)[nameAttr.value];\n\t\tif (macro) {\n\t\t\treturn macro[attributeName];\n\t\t}\n\t} else {\n\t\tvar element = settings.getAttributes(options)[widget.tag];\n\t\tif (element) {\n\t\t\treturn element[attributeName];\n\t\t}\n\t}\n\treturn undefined;\n};\n\nfunction computeAttribute(attribute, parser, options) {\n\tvar value;\n\tif(attribute.type === \"filtered\") {\n\t\tvar parentWidget = parser.getVariableWidget();\n\t\tvalue = options.wiki.filterTiddlers(attribute.filter,parentWidget)[0] || \"\";\n\t} else if(attribute.type === \"indirect\") {\n\t\tvar parentWidget = parser.getVariableWidget();\n\t\tvalue = options.wiki.getTextReference(attribute.textReference,\"\",parentWidget.variables.currentTiddler.value);\n\t} else if(attribute.type === \"macro\") {\n\t\tvar parentWidget = parser.getVariableWidget();\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\nfunction canBeFilterValue(value) {\n\treturn value.indexOf(\"}}}\") < 0 && value.substr(value.length-2) !== '}}';\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 log = require('$:/plugins/flibbles/relink/js/language.js').logRelink;\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/settings\").getRelinker('filter');\nvar macrocall = require(\"./macrocall.js\");\nvar CannotRelinkError = require(\"$:/plugins/flibbles/relink/js/errors.js\").CannotRelinkError;\nvar utils = require(\"./utils.js\");\n\nexports.name = \"image\";\n\nexports.relink = function(tiddler, text, fromTitle, toTitle, options) {\n\tvar ptr = this.nextImage.start;\n\tvar builder = new Rebuilder(text, ptr);\n\tvar makeWidget = false;\n\tvar logArguments = {\n\t\tfrom: fromTitle,\n\t\tto: toTitle,\n\t\ttiddler: tiddler.fields.title\n\t};\n\tif (this.nextImage.attributes.source.value === fromTitle && !canBePretty(toTitle, this.nextImage.attributes.tooltip)) {\n\t\tmakeWidget = true;\n\t\tbuilder.add(\"<$image\", ptr, ptr+4);\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\tvar key = this.parser.getPlaceholderFor(toTitle);\n\t\t\t\t\t\tbuilder.add(\"source=<<\"+key+\">>\", ptr, ptr+fromTitle.length);\n\t\t\t\t\t\tlog(\"image-placeholder-widget\", logArguments, options);\n\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\tlog(\"image-widget\", logArguments, options);\n\t\t\t\t\t}\n\n\n\t\t\t\t} else {\n\t\t\t\t\tbuilder.add(toTitle, ptr, ptr+fromTitle.length);\n\t\t\t\t\tlog(\"image\", logArguments, options);\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(attr, this.parser, builder, fromTitle, toTitle, options);\n\t\t}\n\t}\n\tthis.parser.pos = ptr;\n\treturn builder.results(ptr);\n};\n\nfunction relinkAttribute(attribute, parser, builder, fromTitle, toTitle, options) {\n\tvar text = builder.text;\n\tvar ptr = text.indexOf(attribute.name, attribute.start);\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 = utils.determineQuote(text, attribute);\n\t\t// ignore first quote. We already passed it\n\t\tptr += quote.length + attribute.value.length;\n\t} else if (attribute.type === \"indirect\") {\n\t\tptr = text.indexOf('{{', ptr);\n\t\tvar quote = \"{{\";\n\t\tvar ref = $tw.utils.parseTextReference(attribute.textReference);\n\t\tvar end = ptr + attribute.textReference.length + 4;\n\t\tif (ref.title === fromTitle) {\n\t\t\tif (toTitle.indexOf(\"}\") >= 0) {\n\t\t\t\tthrow new CannotRelinkError();\n\t\t\t}\n\t\t\tref.title = toTitle;\n\t\t\tvar value = refHandler.toString(ref);\n\t\t\tbuilder.add(\"{{\"+value+\"}}\", ptr, end);\n\t\t}\n\t\tptr = end;\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 extendedOptions = $tw.utils.extend({placeholder: parser}, options);\n\t\tvar filter = filterHandler.relink(attribute.filter, fromTitle, toTitle, extendedOptions);\n\t\tif (filter !== undefined) {\n\t\t\tif (!canBeFilterValue(filter)) {\n\t\t\t\tthrow new CannotRelinkError();\n\t\t\t}\n\t\t\tattribute.filter = filter;\n\t\t\tvar quoted = \"{{{\"+filter+\"}}}\";\n\t\t\tbuilder.add(quoted, ptr, end);\n\t\t}\n\t\tptr = end;\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\toldValue = attribute.value;\n\t\tvar newMacro = macrocall.relinkMacroInvocation(macro, text, parser, fromTitle, toTitle, options);\n\t\tif (newMacro !== undefined) {\n\t\t\tif (macrocall.mustBeAWidget(newMacro)) {\n\t\t\t\tthrow new CannotRelinkError();\n\t\t\t}\n\t\t\tvar macroString = macrocall.macroToString(newMacro, text, parser, options);\n\t\t\tbuilder.add(macroString, ptr, end);\n\t\t}\n\t\tptr = end;\n\t}\n\treturn ptr;\n};\n\nfunction canBeFilterValue(value) {\n\treturn value.indexOf(\"}}}\") < 0 && value.substr(value.length-2) !== '}}';\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 settings = require(\"$:/plugins/flibbles/relink/js/settings.js\");\nvar log = require(\"$:/plugins/flibbles/relink/js/language.js\").logRelink;\nvar filterRelinker = settings.getRelinker('filter');\n\nexports.name = \"import\";\n\nexports.relink = function(tiddler, 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\tvar parseTree = this.parse();\n\tvar filter = parseTree[0].attributes.filter.value;\n\n\tvar extendedOptions = $tw.utils.extend({placeholder: this.parser},options);\n\tvar value = filterRelinker.relink(filter, fromTitle, toTitle, extendedOptions);\n\tvar rtn = undefined;\n\tif (value !== undefined) {\n\t\tvar message = extendedOptions.usedPlaceholder ? \"import-placeholder\" : \"import\";\n\t\tlog(message, {\n\t\t\tfrom: fromTitle,\n\t\t\tto: toTitle,\n\t\t\ttiddler: tiddler.fields.title\n\t\t}, options);\n\t\tvar newline = text.substring(start+filter.length, this.parser.pos);\n\t\tfilter = value;\n\t\trtn = \"\\\\import \" + value + newline;\n\t}\n\n\t// Before we go, we need to actually import the variables\n\t// it's calling for.\n\tvar parentWidget = this.parser.getVariableWidget();\n\tvar variableHolder = options.wiki.relinkGenerateVariableWidget(filter, parentWidget);\n\tthis.parser.addWidget(variableHolder);\n\n\treturn rtn;\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 Rebuilder = require(\"$:/plugins/flibbles/relink/js/utils/rebuilder\");\nvar log = require('$:/plugins/flibbles/relink/js/language.js').logRelink;\nvar settings = require('$:/plugins/flibbles/relink/js/settings.js');\nvar CannotFindMacroDefError = require(\"$:/plugins/flibbles/relink/js/errors.js\").CannotFindMacroDefError;\n\nexports.name = [\"macrocallinline\", \"macrocallblock\"];\n\nexports.relink = function(tiddler, text, fromTitle, toTitle, options) {\n\t// Get all the details of the match\n\tvar macroName = this.match[1],\n\t\tparamString = this.match[2],\n\t\tmacroText = this.match[0];\n\t// Move past the macro call\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\tvar start = this.matchRegExp.lastIndex - this.match[0].length;\n\tvar managedMacro = settings.getMacros(options)[macroName];\n\tif (!managedMacro) {\n\t\t// We don't manage this macro. Bye.\n\t\treturn undefined;\n\t}\n\tvar offset = macroName.length+2;\n\toffset = $tw.utils.skipWhiteSpace(macroText, offset);\n\tvar params = parseParams(paramString, offset+start);\n\tvar macroInfo = {\n\t\tname: macroName,\n\t\tstart: start,\n\t\tend: this.matchRegExp.lastIndex,\n\t\tparams: params\n\t};\n\tvar results = this.relinkMacroInvocation(macroInfo, text, this.parser, fromTitle, toTitle, options);\n\tif (results) {\n\t\treturn this.macroToString(results, text, this.parser, options);\n\t} else {\n\t\treturn undefined;\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 */\nexports.relinkMacroInvocation = function(macro, text, parser, fromTitle, toTitle, options) {\n\tvar managedMacro = settings.getMacros(options)[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\tif (macro.params.every(function(p) {\n\t\treturn p.value.indexOf(fromTitle) < 0;\n\t})) {\n\t\t// We cut early if the fromTitle doesn't even appear\n\t\t// anywhere in the title. This is to avoid any headache\n\t\t// about finding macro definitions (and any resulting\n\t\t// exceptions if there isn't even a title to replace.\n\t\treturn undefined;\n\t}\n\tvar outMacro = $tw.utils.extend({}, macro);\n\toutMacro.params = macro.params.slice();\n\tfor (var managedArg in managedMacro) {\n\t\tvar index = getParamIndexWithinMacrocall(macro.name, managedArg, macro.params, parser, options);\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 extendedOptions = $tw.utils.extend({placeholder: parser}, options);\n\t\tvar value = handler.relink(param.value, fromTitle, toTitle, extendedOptions);\n\t\tif (value === undefined) {\n\t\t\tcontinue;\n\t\t}\n\t\tvar quote = utils.determineQuote(text, param);\n\t\tvar quoted = utils.wrapParameterValue(value, quote);\n\t\tvar newParam = $tw.utils.extend({}, param);\n\t\tif (quoted === undefined) {\n\t\t\tvar ph = parser.getPlaceholderFor(value,handler.name);\n\t\t\tnewParam.newValue = \"<<\"+ph+\">>\";\n\t\t\tnewParam.type = \"macro\";\n\t\t} else {\n\t\t\tnewParam.start = newParam.end - (newParam.value.length + (quote.length*2));\n\t\t\tnewParam.value = value;\n\t\t\tnewParam.newValue = quoted;\n\t\t}\n\t\toutMacro.params[index] = newParam;\n\t\tmodified = true;\n\t}\n\tif (modified) {\n\t\treturn outMacro;\n\t}\n\treturn undefined;\n};\n\nexports.mustBeAWidget = function(macro) {\n\tfor (var i = 0; i < macro.params.length; i++) {\n\t\tif (macro.params[i].type === \"macro\") {\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 */\nexports.macroToString = function(macro, text, parser, options) {\n\tif (exports.mustBeAWidget(macro)) {\n\t\tvar names = getParamNames(macro.name, macro.params, parser, options);\n\t\tvar attrs = [];\n\t\tfor (var i = 0; i < macro.params.length; i++) {\n\t\t\tvar p = macro.params[i];\n\t\t\tvar val;\n\t\t\tif (p.newValue) {\n\t\t\t\tval = p.newValue;\n\t\t\t} else {\n\t\t\t\tval = utils.wrapAttributeValue(p.value);\n\t\t\t}\n\t\t\tattrs.push(\" \"+names[i]+\"=\"+val);\n\t\t}\n\t\treturn \"<$macrocall $name=\"+utils.wrapAttributeValue(macro.name)+attrs.join('')+\"/>\";\n\t} else {\n\t\tvar builder = new Rebuilder(text, macro.start);\n\t\tfor (var i = 0; i < macro.params.length; i++) {\n\t\t\tvar param = macro.params[i];\n\t\t\tif (param.newValue) {\n\t\t\t\tbuilder.add(param.newValue, param.start, param.end);\n\t\t\t}\n\t\t}\n\t\treturn builder.results(macro.end);\n\t}\n};\n\nfunction getParamIndexWithinMacrocall(macroName, param, params, parser, options) {\n\tvar index, i;\n\tfor (i = 0; i < params.length; i++) {\n\t\tif (params[i].name === param) {\n\t\t\treturn i;\n\t\t}\n\t}\n\tvar expectedIndex = indexOfParameterDef(macroName, param, parser, 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(macroName, params[i].name, parser, 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(macroName, paramName, parser, options) {\n\tvar def = getDefinition(macroName, parser, options);\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\nfunction getParamNames(macroName, params, parser, 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 defParams = getDefinition(macroName, parser, options).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\n/** Returns undefined if the definition cannot be found.\n */\nfunction getDefinition (macroName, parser, options) {\n\tvar variableContainer = parser.getVariableWidget();\n\tvar def = variableContainer.variables[macroName];\n\tif (!def) {\n\t\t// Check with the macro modules\n\t\tif ($tw.utils.hop($tw.macros, macroName)) {\n\t\t\tdef = $tw.macros[macroName];\n\t\t} else {\n\t\t\tthrow new CannotFindMacroDefError(macroName);\n\t\t}\n\t}\n\treturn def;\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\tvalue: paramMatch[2] || paramMatch[3] || paramMatch[4] || paramMatch[5] || paramMatch[6]\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. Except we only update placeholder macros\nthat we may have previously install.\n\n\\define relink-?() Tough title\n\n\\*/\n\nvar log = require('$:/plugins/flibbles/relink/js/language.js').logRelink;\nvar settings = require(\"$:/plugins/flibbles/relink/js/settings\");\n\nexports.name = \"macrodef\";\n\nexports.relink = function(tiddler, text, fromTitle, toTitle, options) {\n\tvar setParseTreeNode = this.parse();\n\tvar parentWidget = this.parser.getVariableWidget();\n\tvar setWidget = parentWidget.makeChildWidget(setParseTreeNode[0]);\n\tsetWidget.computeAttributes();\n\tsetWidget.execute();\n\tthis.parser.addWidget(setWidget);\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 m = this.match;\n\t// This macro is not available should we need to make one.\n\tthis.parser.reserve(m[1]);\n\t// !m[3] means it's not a multiline macrodef\n\tvar placeholder = /^relink-(?:(\\w+)-)?(\\d+)$/.exec(m[1]);\n\tif (placeholder && m[2] === '' && !m[3]) {\n\t\tthis.parser.pos = $tw.utils.skipWhiteSpace(text, this.parser.pos);\n\t\tvar valueRegExp = /([^\\n\\r]+)(\\r?\\n)/mg;\n\t\tvalueRegExp.lastIndex = this.parser.pos;\n\t\tvar match = valueRegExp.exec(text);\n\t\tif (match) {\n\t\t\tvar handler = settings.getRelinker(placeholder[1] || 'title');\n\t\t\t\t// This is a filter\n\t\t\tvar extendedOptions = $tw.utils.extend({placeholder: this.parser}, options);\n\t\t\tvar value = handler.relink(match[1], fromTitle, toTitle, extendedOptions);\n\t\t\tif (value !== undefined) {\n\t\t\t\tvar message = \"macrodef\";\n\t\t\t\tif (extendedOptions.usedPlaceholder) {\n\t\t\t\t\tmessage = \"macrodef-placeholder\";\n\t\t\t\t}\n\t\t\t\tlog(message, {\n\t\t\t\t\tfrom: fromTitle,\n\t\t\t\t\tto: toTitle,\n\t\t\t\t\ttiddler: tiddler.fields.title,\n\t\t\t\t\tmacro: m[1]\n\t\t\t\t}, options);\n\t\t\t\tthis.parser.pos += match[0].length;\n\t\t\t\treturn \"\\\\define \"+m[1]+\"() \"+value+match[2];\n\t\t\t}\n\t\t}\n\t}\n\treturn undefined;\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/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 log = require('$:/plugins/flibbles/relink/js/language.js').logRelink;\nvar utils = require(\"./utils.js\");\n\nexports.name = \"prettylink\";\n\nexports.relink = function(tiddler, text, fromTitle, toTitle, options) {\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\tvar caption, quoted, m = this.match;\n\tif (m[2] === fromTitle) {\n\t\t// format is [[caption|MyTiddler]]\n\t\tcaption = m[1];\n\t} else if (m[2] !== undefined || m[1] !== fromTitle) {\n\t\t// format is [[MyTiddler]], and it doesn't match\n\t\treturn undefined;\n\t}\n\tvar logArguments = {\n\t\tfrom: fromTitle,\n\t\tto: toTitle,\n\t\ttiddler: tiddler.fields.title\n\t};\n\tif (utils.canBePretty(toTitle)) {\n\t\tlog(\"prettylink\", logArguments, options);\n\t\treturn prettyLink(toTitle, caption);\n\t} else if (caption === undefined) {\n\t\t// If we don't have a caption, we have to resort to placeholders\n\t\t// anyway to prevent link/caption desync from later relinks.\n\t\t// It doesn't matter whether the toTitle is quotable\n\t\tlog(\"prettylink-placeholder\", logArguments, options);\n\t\tvar ph = this.parser.getPlaceholderFor(toTitle);\n\t\treturn \"<$link to=<<\"+ph+\">>><$text text=<<\"+ph+\">>/></$link>\";\n\t} else if (quoted = utils.wrapAttributeValue(toTitle)) {\n\t\tlog(\"prettylink-widget\", logArguments, options);\n\t\treturn \"<$link to=\"+quoted+\">\"+caption+\"</$link>\";\n\t} else {\n\t\tlog(\"prettylink-placeholder\", logArguments, options);\n\t\tvar ph = this.parser.getPlaceholderFor(toTitle);\n\t\treturn \"<$link to=<<\"+ph+\">>>\"+caption+\"</$link>\";\n\t}\n};\n\nfunction prettyLink(title, caption) {\n\tif (caption) {\n\t\treturn \"[[\" + caption + \"|\" + title + \"]]\";\n\t} else {\n\t\treturn \"[[\" + title + \"]]\";\n\t}\n};\n\nfunction isSafe(value) {\n\treturn value.indexOf(\"]]\") < 0 && value[value.length-1] !== ']';\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/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() { this.parse(); };\n", "module-type": "relinkwikitextrule", "title": "$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/rules.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 log = require('$:/plugins/flibbles/relink/js/language.js').logRelink;\nvar refHandler = require(\"$:/plugins/flibbles/relink/js/fieldtypes/reference\");\nvar utils = require(\"./utils.js\");\n\nexports.name = ['transcludeinline', 'transcludeblock'];\n\nexports.relink = function(tiddler, text, fromTitle, toTitle, options) {\n\tvar m = this.match,\n\t\treference = m[1],\n\t\ttemplate = m[2],\n\t\tquoted,\n\t\tlogArguments = {\n\t\t\tfrom: fromTitle,\n\t\t\tto: toTitle,\n\t\t\ttiddler: tiddler.fields.title\n\t\t};\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\tvar trimmedRef = $tw.utils.trim(reference);\n\tvar ref = $tw.utils.parseTextReference(trimmedRef);\n\t// This block takes care of 99% of all cases\n\tif (canBePrettyTemplate(toTitle) &&\n\t\t// title part has one extra restriction\n\t (ref.title !== fromTitle || refHandler.canBePretty(toTitle))) {\n\t\tvar modified = false;\n\t\tif (ref.title === fromTitle) {\n\t\t\tmodified = true;\n\t\t\tref.title = toTitle;\n\t\t\tvar refString = refHandler.toString(ref);\n\t\t\t// preserve user's whitespace\n\t\t\treference = reference.replace(trimmedRef, refString);\n\t\t}\n\t\tif ($tw.utils.trim(template) === fromTitle) {\n\t\t\tmodified = true;\n\t\t\t// preserve user's whitespace\n\t\t\ttemplate = template.replace(fromTitle, toTitle);\n\t\t}\n\t\tif (modified) {\n\t\t\tlog(\"transclude\", logArguments, options);\n\t\t\treturn prettyTransclude(reference, template);\n\t\t}\n\t\treturn undefined;\n\t}\n\t// Now for the 1%...\n\tif (ref.title === fromTitle) {\n\t\tvar resultTitle = utils.wrapAttributeValue(toTitle);\n\t\tif (resultTitle === undefined) {\n\t\t\tresultTitle = \"<<\"+this.parser.getPlaceholderFor(toTitle)+\">>\";\n\t\t\tlog(\"transclude-placeholder\", logArguments, options);\n\t\t} else {\n\t\t\tlog(\"transclude-widget\", logArguments, options);\n\t\t}\n\t\tif ($tw.utils.trim(template) === fromTitle) {\n\t\t\t// Now for this bizarre-ass use-case, where both the\n\t\t\t// title and template are being replaced.\n\t\t\tvar attrs = this.transcludeAttributes(ref.field, ref.index);\n\t\t\treturn \"<$tiddler tiddler=\"+resultTitle+\"><$transclude tiddler=\"+resultTitle+attrs+\"/></$tiddler>\";\n\t\t} else {\n\t\t\tref.title = undefined;\n\t\t\treturn \"<$tiddler tiddler=\"+resultTitle+\">\"+prettyTransclude(ref, template)+\"</$tiddler>\";\n\t\t}\n\t}\n\tif ($tw.utils.trim(template) === fromTitle) {\n\t\tvar resultTemplate = utils.wrapAttributeValue(toTitle);\n\t\tvar message = \"transclude-widget\";\n\t\tvar rtn;\n\t\tif (resultTemplate === undefined) {\n\t\t\tresultTemplate = \"<<\"+this.parser.getPlaceholderFor(toTitle)+\">>\";\n\t\t\tmessage = \"transclude-placeholder\";\n\t\t}\n\t\tif (ref.title) {\n\t\t\tvar resultTitle = utils.wrapAttributeValue(ref.title);\n\t\t\tif (resultTitle === undefined) {\n\t\t\t\t// This is one of the rare cases were we need\n\t\t\t\t// to placeholder a title OTHER than the one\n\t\t\t\t// we're changing.\n\t\t\t\tresultTitle = \"<<\"+this.parser.getPlaceholderFor(ref.title)+\">>\";\n\t\t\t\tmessage = \"transclude-placeholder\";\n\t\t\t}\n\t\t\tvar attrs = this.transcludeAttributes(ref.field, ref.index);\n\t\t\trtn = \"<$tiddler tiddler=\"+resultTitle+\"><$transclude tiddler=\"+resultTemplate+attrs+\"/></$tiddler>\";\n\t\t} else {\n\t\t\trtn = \"<$transclude tiddler=\"+resultTemplate+\"/>\";\n\t\t}\n\t\tlog(message, logArguments, options);\n\t\treturn rtn;\n\t}\n\treturn undefined;\n};\n\nfunction canBePrettyTemplate(value) {\n\treturn value.indexOf('}') < 0 && value.indexOf('{') < 0 && value.indexOf('|') < 0;\n};\n\n/**Returns attributes for a transclude widget.\n * only field or index should be used, not both, but both will return\n * the intuitive (albeit useless) result.\n */\nexports.transcludeAttributes = function(field, index) {\n\treturn rtn = [\n\t\twrapAttribute(this.parser, \"field\", field),\n\t\twrapAttribute(this.parser, \"index\", index)\n\t].join('');\n};\n\nfunction wrapAttribute(wikiRelinker, name, value) {\n\tif (value) {\n\t\tvar wrappedValue = utils.wrapAttributeValue(value);\n\t\tif (wrappedValue === undefined) {\n\t\t\twrappedValue = \"<<\"+wikiRelinker.getPlaceholderFor(value, name)+\">>\";\n\t\t}\n\t\treturn \" \"+name+\"=\"+wrappedValue;\n\t}\n\treturn '';\n};\n\nfunction prettyTransclude(textReference, template) {\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\treturn \"{{\"+textReference+\"||\"+template+\"}}\";\n\t} else {\n\t\treturn \"{{\"+textReference+\"}}\";\n\t}\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/utils.js": { "text": "/*\\\nmodule-type: library\n\nUtility methods for the wikitext relink rules.\n\n\\*/\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\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'\"\"\"': 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\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\"[[\": exports.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 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\n/**Return true if value can be used inside a prettylink.\n */\nexports.canBePretty = function(value) {\n\treturn value.indexOf(\"]]\") < 0 && value[value.length-1] !== ']';\n};\n\nexports.canBePrettyOperand = function(value) {\n\treturn value.indexOf(']') < 0;\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", "module-type": "library", "title": "$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/utils.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 log = require('$:/plugins/flibbles/relink/js/language.js').logRelink;\nvar utils = require(\"./utils.js\");\n\nexports.name = \"wikilink\";\n\nexports.relink = function(tiddler, text, fromTitle, toTitle, options) {\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\tif (this.match[0] === fromTitle && this.match[0][0] !== '~') {\n\t\tvar logArguments = {\n\t\t\tfrom: fromTitle,\n\t\t\tto: toTitle,\n\t\t\ttiddler: tiddler.fields.title\n\t\t};\n\t\tif (toTitle.match(this.matchRegExp) && toTitle[0] !== '~') {\n\t\t\tlog(\"wikilink\", logArguments, options);\n\t\t\treturn toTitle;\n\t\t} else if (utils.canBePretty(toTitle)) {\n\t\t\tlog(\"wikilink-pretty\", logArguments, options);\n\t\t\treturn \"[[\" + toTitle + \"]]\";\n\t\t} else {\n\t\t\tvar ph = this.parser.getPlaceholderFor(toTitle);\n\t\t\tlog(\"wikilink-placeholder\", logArguments, options);\n\t\t\treturn \"<$link to=<<\"+ph+\">>><$text text=<<\"+ph+\">>/></$link>\";\n\t\t}\n\t}\n\treturn undefined;\n};\n", "module-type": "relinkwikitextrule", "title": "$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/wikilink.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\n/** This sticks something on the beginning of the resulting content.\n */\nRebuilder.prototype.prepend = function(content) {\n\tif (content) {\n\t\tthis.pieces.unshift(content);\n\t}\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" }, "$:/config/flibbles/relink/attributes/$button/to": { "title": "$:/config/flibbles/relink/attributes/$button/to", "text": "title" }, "$:/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/$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/$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/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/$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/$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/$list/filter": { "title": "$:/config/flibbles/relink/attributes/$list/filter", "text": "filter" }, "$:/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/history": { "title": "$:/config/flibbles/relink/attributes/$list/history", "text": "title" }, "$:/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/tiddler": { "title": "$:/config/flibbles/relink/attributes/$radio/tiddler", "text": "title" }, "$:/config/flibbles/relink/attributes/$range/tiddler": { "title": "$:/config/flibbles/relink/attributes/$range/tiddler", "text": "title" }, "$:/config/flibbles/relink/attributes/$reveal/stateTitle": { "title": "$:/config/flibbles/relink/attributes/$reveal/stateTitle", "text": "title" }, "$:/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/$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/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" }, "$:/plugins/flibbles/relink/configuration": { "title": "$:/plugins/flibbles/relink/configuration", "text": "<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/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/Caption": { "title": "$:/plugins/flibbles/relink/language/Buttons/Delete/Caption", "text": "delete" }, "$:/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/RelinkFilterOperator": { "title": "$:/plugins/flibbles/relink/language/Error/RelinkFilterOperator", "text": "Filter Error: Unknown suffix for the 'relink' filter operator" }, "$:/plugins/flibbles/relink/language/Help/Attributes": { "title": "$:/plugins/flibbles/relink/language/Help/Attributes", "text": "See the [[Attributes documentation page|https://flibbles.github.io/tw5-relink/#Attributes]] for details." }, "$:/plugins/flibbles/relink/language/Help/Fields": { "title": "$:/plugins/flibbles/relink/language/Help/Fields", "text": "See the [[Fields documentation page|https://flibbles.github.io/tw5-relink/#Fields]] for details." }, "$:/plugins/flibbles/relink/language/Help/Macros": { "title": "$:/plugins/flibbles/relink/language/Help/Macros", "text": "See the [[Macros documentation page|https://flibbles.github.io/tw5-relink/#Macros]] for details." }, "$:/plugins/flibbles/relink/language/Help/Operators": { "title": "$:/plugins/flibbles/relink/language/Help/Operators", "text": "See the [[Operators documentation page|https://flibbles.github.io/tw5-relink/#Operators]] for details." }, "$:/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" }, "$:/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/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/list-links/filter": { "title": "$:/config/flibbles/relink/macros/list-links/filter", "text": "filter" }, "$:/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/itemTemplate": { "title": "$:/config/flibbles/relink/macros/list-tagged-draggable/itemTemplate", "text": "title" }, "$:/config/flibbles/relink/macros/toc/tag": { "title": "$:/config/flibbles/relink/macros/toc/tag", "text": "title" }, "$:/config/flibbles/relink/macros/toc/selectedTiddler": { "title": "$:/config/flibbles/relink/macros/toc/selectedTiddler", "text": "title" }, "$:/config/flibbles/relink/macros/toc/template": { "title": "$:/config/flibbles/relink/macros/toc/template", "text": "title" }, "$:/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-pill/tag": { "title": "$:/config/flibbles/relink/macros/tag-pill/tag", "text": "title" }, "$:/config/flibbles/relink/macros/timeline/subfilter": { "title": "$:/config/flibbles/relink/macros/timeline/subfilter", "text": "filter" }, "$:/config/flibbles/relink/operators/list": { "title": "$:/config/flibbles/relink/operators/list", "text": "reference" }, "$:/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" }, "$:/language/EditTemplate/Title/Impossibles/Prompt": { "title": "$:/language/EditTemplate/Title/Impossibles/Prompt", "text": "The following references to this tiddler can ''not'' 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": "\\define conditional-list(state, prompt, filter)\n<$list filter=\"[subfilter<__filter__>limit[1]]\" variable=\"listItem\">\n\n<$vars stateTiddler=<<qualify \"$:/state/edit/$state$\">> >\n\n<$reveal type=\"nomatch\" state=<<stateTiddler>> text=\"show\">\n<$button set=<<stateTiddler>> setTo=\"show\" class=\"tc-btn-invisible\">{{$:/core/images/right-arrow}}\n<<lingo [[$prompt$]]>></$button>\n</$reveal>\n<$reveal type=\"match\" state=<<stateTiddler>> text=\"show\">\n<$button set=<<stateTiddler>> setTo=\"hide\" class=\"tc-btn-invisible\">{{$:/core/images/down-arrow}}\n<<lingo [[$prompt$]]>></$button>\n</$reveal>\n\n<$reveal type=\"match\" state=<<stateTiddler>> text=\"show\">\n<$list filter=<<__filter__>> template=\"$:/core/ui/ListItemTemplate\">\n</$list>\n</$reveal>\n\n</$vars>\n\\end\n\n<$edit-text field=\"draft.title\" class=\"tc-titlebar tc-edit-texteditor\" focus=\"true\" tabindex={{$:/config/EditTabIndex}}/>\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}} {{$:/language/EditTemplate/Title/Exists/Prompt}}\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\"> {{$:/language/EditTemplate/Title/Relink/Prompt}}</$checkbox>\n\n<<conditional-list impossibles EditTemplate/Title/Impossibles/Prompt \"[{!!draft.title}relink:impossible<fromTitle>]\">>\n\n<<conditional-list references EditTemplate/Title/References/Prompt \"[relink:references<fromTitle>!title[$:/StoryList]sort[title]]\">>\n\n</$vars>\n\n</$list>\n\n</$reveal>\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 [[the tw5-relink website|https://github.com/flibbles/tw5-relink]] for\nmore details and examples.\n" }, "$:/config/flibbles/relink/settings/default-type": { "title": "$:/config/flibbles/relink/settings/default-type", "text": "title" }, "$:/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() [relink:references<currentTiddler>!title[$:/StoryList]sort[title]]\n<$list filter=\"[subfilter<filter>first[]]\">\n\n<<lingo References/Description>>\n</$list>\n\n<$list filter=<<filter>> emptyMessage=<<lingo References/Empty>> template=\"$:/core/ui/ListItemTemplate\">\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\n<$button class=\"tc-btn-invisible\"><$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<$list filter=\"[<tv-config-toolbar-icons>prefix[yes]]\">{{$:/core/images/delete-button}}</$list>\n<$list filter=\"[<tv-config-toolbar-text>prefix[yes]]\">\n<span class=\"tc-btn-text\"><$text text={{$(lingo-base)$Delete/Caption}}/></span>\n</$list></$button>\n" }, "$:/plugins/flibbles/relink/ui/components/select-fieldtype": { "title": "$:/plugins/flibbles/relink/ui/components/select-fieldtype", "text": "<$select tiddler=<<currentTiddler>> default={{$:/config/flibbles/relinke/settings/default-type}} >\n<$list variable=\"option\"\n filter=\"[[relinkfieldtype]modules[]removeprefix[$:/plugins/flibbles/relink/js/fieldtypes/]removesuffix[.js]move:-100{$:/config/flibbles/relink/settings/default-type}]\">\n<option><$text text=<<option>> /></option>\n</$list>\n</$select>\n" }, "$:/plugins/flibbles/relink/ui/components/tables": { "title": "$:/plugins/flibbles/relink/ui/components/tables", "text": "\\define prefix(category) $:/config/flibbles/relink/$category$/\n\\define .make-table(title, subfilter, default-table-state:yes)\n\n<$set name=\"table-state\" value=<<qualify \"\"\"$:/state/flibbles/relink/tables/$title$\"\"\">>>\n<tr><th colspan=<<column-count>> style=\"text-align:left;\">\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}}\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}}\n</$button>\n</$reveal> ''$title$''\n</th></tr>\n<$list filter=\"[$subfilter$prefix<category-prefix>!has[draft.of]has[text]sort[]]\">\n<$set name=\"currentSetting\" filter=\"[all[current]removeprefix<category-prefix>]\">\n<$reveal tag=\"tr\" type=\"match\" state=<<table-state>> text=\"yes\" default=\"\"\"$default-table-state$\"\"\">\n<$macrocall $name=<<__list-row-macro__>> currentSetting=<<currentSetting>> />\n</$reveal>\n</$set>\n</$list>\n</$set>\n\\end\n\n\\define tables(category, list-row-macro, header-list)\n<$set name=\"category-prefix\" value=<<prefix $category$>>>\n<$set name=\"column-count\" filter=\"[enlist<__header-list__>count[]]\">\n\n<table><tbody>\n<tr><$list variable=\"header\" filter=\"[enlist<__header-list__>]\"><th><<header>></th></$list></tr>\n\n<$list variable=\"render\" filter=\"[prefix<category-prefix>!has[draft.of]has[text]!is[shadow]first[]]\">\n<<.make-table Custom \"all[]!is[shadow]\" yes>>\n</$list>\n\n<<.make-table Core \"[$:/plugins/flibbles/relink]plugintiddlers[]\">>\n\n<$list filter=\"[all[shadows]prefix<category-prefix>has[text]shadowsource[]!title[$:/plugins/flibbles/relink]]\">\n<$macrocall $name=\".make-table\" title={{!!description}} subfilter=\"all[current]plugintiddlers[]\" />\n</$list>\n\n</tbody></table>\n</$set></$set>\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 state-base() $:/state/flibbles/relink/\n\n\\define row()\n<$set name=\"element\"\n filter=\"[all[current]removeprefix<prefix-attr>splitbefore[/]removesuffix[/]]\">\n<$set name=\"attribute\"\n filter=\"[all[current]removeprefix<prefix-attr>removeprefix<element>removeprefix[/]]\">\n<td><$text text=<<element>> /></td>\n<td><$text text=<<attribute>> /></td>\n<td>{{||$:/plugins/flibbles/relink/ui/components/select-fieldtype}}</td>\n<td>{{||$:/plugins/flibbles/relink/ui/components/button-delete}}</td>\n</$set></$set>\n\\end\n\\define body()\n\n{{$:/plugins/flibbles/relink/language/Help/Attributes}}\n\n<em class=\"tc-edit\">Add a new attribute:</em>\n<$edit-text tiddler=\"$(state-base)$element-name\"\n tag=\"input\" default=\"\" placeholder=\"widget/element\" />\n<$edit-text tiddler=\"$(state-base)$attribute-name\"\n tag=\"input\" default=\"\" placeholder=\"attribute\" />\n<$button tooltip={{$(lingo-base)$NewAttribute/Hint}}\n aria-label={{$(lingo-base)$NewAttribute/Caption}}>\n<$set name=\"tiddlerName\"\n filter=\"[<prefix-attr>addsuffix{$(state-base)$element-name}addsuffix[/]addsuffix{$(state-base)$attribute-name}]\">\n<$action-setfield $tiddler=<<tiddlerName>>\n text={{$:/config/flibbles/relink/settings/default-type}} />\n</$set>\n<$action-deletetiddler $tiddler=\"$(state-base)$attribute-name\" />\n<$action-deletetiddler $tiddler=\"$(state-base)$element-name\" />\n<$text text={{$(lingo-base)$NewAttribute/Caption}}/>\n</$button>\n\n<$macrocall $name=tables\n\tcategory=\"attributes\"\n\theader-list=\"[[Widget/HTML Element]] Attribute Type Delete\"\n\tlist-row-macro=\"row\" />\n\\end\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 prefix-fields() $:/config/flibbles/relink/fields/\n\\define lingo-base() $:/plugins/flibbles/relink/language/Buttons/\n\\define state-base() $:/state/flibbles/relink/\n\n\\define row(currentSetting)\n<td><$text text={{{[all[current]removeprefix<prefix-fields>]}}} /></td>\n<td>{{||$:/plugins/flibbles/relink/ui/components/select-fieldtype}}</td>\n<td>{{||$:/plugins/flibbles/relink/ui/components/button-delete}}</td>\n\\end\n\\define body()\n\n{{$:/plugins/flibbles/relink/language/Help/Fields}}\n\n<em class=\"tc-edit\">Add a new field:</em>\n<$edit-text tiddler=\"$(state-base)$field-name\"\n tag=\"input\" default=\"\" placeholder=\"field name\" />\n<$button tooltip={{$(lingo-base)$NewField/Hint}}\n aria-label={{$(lingo-base)$NewField/Caption}}>\n<$set name=\"tiddlerName\"\n filter=\"[<prefix-fields>addsuffix{$(state-base)$field-name}]\">\n<$action-setfield $tiddler=<<tiddlerName>>\n text={{$:/config/flibbles/relink/settings/default-type}} />\n</$set>\n<$action-deletetiddler $tiddler=\"$(state-base)$field-name\" />\n<$text text={{$(lingo-base)$NewField/Caption}}/>\n</$button>\n\n<$macrocall $name=tables\n\tcategory=\"fields\"\n\theader-list=\"[[Field Name]] [[Field Type]] Delete\"\n\tlist-row-macro=\"row\" />\n\\end\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 state-base() $:/state/flibbles/relink/\n\n\\define row(currentSetting)\n<$set name=\"parameter\"\n filter=\"[all[current]removeprefix<prefix-macro>relink:splitafter[/]]\">\n<$set name=\"macro\"\n filter=\"[all[current]removeprefix<prefix-macro>removesuffix<parameter>removesuffix[/]]\">\n<td><$text text=<<macro>> /></td>\n<td><$text text=<<parameter>> /></td>\n<td>{{||$:/plugins/flibbles/relink/ui/components/select-fieldtype}}</td>\n<td>{{||$:/plugins/flibbles/relink/ui/components/button-delete}}</td>\n</$set></$set>\n\\end\n\\define body()\n\n{{$:/plugins/flibbles/relink/language/Help/Macros}}\n\n<em class=\"tc-edit\">Add a new macro parameter:</em>\n<$edit-text tiddler=\"$(state-base)$macro-name\"\n tag=\"input\" default=\"\" placeholder=\"macro\" />\n<$edit-text tiddler=\"$(state-base)$parameter-name\"\n tag=\"input\" default=\"\" placeholder=\"parameter\" />\n<$button tooltip={{$(lingo-base)$NewParameter/Hint}}\n aria-label={{$(lingo-base)$NewParameter/Caption}}>\n<$set name=\"tiddlerName\"\n filter=\"[<prefix-macro>addsuffix{$(state-base)$macro-name}addsuffix[/]addsuffix{$(state-base)$parameter-name}]\">\n<$action-setfield $tiddler=<<tiddlerName>>\n text={{$:/config/flibbles/relink/settings/default-type}} />\n</$set>\n<$action-deletetiddler $tiddler=\"$(state-base)$parameter-name\" />\n<$action-deletetiddler $tiddler=\"$(state-base)$macro-name\" />\n<$text text={{$(lingo-base)$NewParameter/Caption}}/>\n</$button>\n\n<$macrocall $name=tables\n\tcategory=\"macros\"\n\theader-list=\"Macro Parameter Type Delete\"\n\tlist-row-macro=\"row\" />\n\\end\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 prefix-ops() $:/config/flibbles/relink/operators/\n\\define lingo-base() $:/plugins/flibbles/relink/language/Buttons/\n\\define state-base() $:/state/flibbles/relink/\n\n\\define row()\n<td><$list variable=\"listItem\" filter=\"[<currentTiddler>removeprefix<prefix-ops>]\"><<listItem>></$list></td>\n<td>{{||$:/plugins/flibbles/relink/ui/components/select-fieldtype}}</td>\n<td>{{||$:/plugins/flibbles/relink/ui/components/button-delete}}</td>\n\\end\n\\define body()\n\n{{$:/plugins/flibbles/relink/language/Help/Operators}}\n\n<em class=\"tc-edit\">Add a new filter operator:</em>\n<$edit-text tiddler=\"$(state-base)$operator-name\"\n tag=\"input\" default=\"\" placeholder=\"operator name\" />\n<$button tooltip={{$(lingo-base)$NewOperator/Hint}}\n aria-label={{$(lingo-base)$NewOperator/Caption}}>\n<$set name=\"tiddlerName\"\n filter=\"[<prefix-ops>addsuffix{$(state-base)$operator-name}]\">\n<$action-setfield $tiddler=<<tiddlerName>> text={{$:/config/flibbles/relink/settings/default-type}} />\n</$set>\n<$action-deletetiddler $tiddler=\"$(state-base)$operator-name\" />\n<$text text={{$(lingo-base)$NewOperator/Caption}}/>\n</$button>\n\n<$macrocall $name=tables\n\tcategory=\"operators\"\n\theader-list=\"[[Filter Operator]] [[Operand Type]] Delete\"\n\tlist-row-macro=\"row\" />\n\\end\n\n<<body>>\n" } } }
{ "tiddlers": { "$:/plugins/jd/mob/config": { "created": "20171029115120346", "creator": "JD", "text": "<style>\n.tc-btn-invisible { text-align: left; }\n</style>\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##freshinstall\" text=\"yes\">\n<div class=\"jd-bq\">\n<p>\nThanks for installing this plugin! You can always find the latest updates <a target=\"blank\" href=\"http://j.d.simplemobile.tiddlyspot.com\">here</a>\n</p>\n<p>\nThis plugin options tiddler is also available at ''Control panel'' >> ''Appearance'' >> ''JD Mob''\n</p>\n<p>\n<$button>\n<<jdconfig freshinstall no>>\nClose message\n</$button>\n</p>\n</div>\n<br>\n<hr>\n<br>\n</$reveal>\nShow as:\n<$select tiddler=\"$:/plugins/jd/mob/config/config\" index=\"configtype\">\n<option value=\"list\">List</option>\n<option value=\"htabs\">Horizontal tabs</option>\n<option value=\"vtabs\">Vertical tabs</option>\n</$select>\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##configtype\" text=\"list\">\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/jd/config]]\"><$transclude/><hr></$list>\n</$reveal>\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##configtype\" text=\"htabs\">\n<<tabs \"[all[shadows+tiddlers]tag[$:/tags/jd/config]!has[draft.of]]\" \"$:/plugins/jd/mob/config/barpresets\">>\n</$reveal>\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##configtype\" text=\"vtabs\">\n<<tabs \"[all[shadows+tiddlers]tag[$:/tags/jd/config]!has[draft.of]]\" \"$:/plugins/jd/mob/config/barpresets\" \"$:/state/tab/JDconfig\" \"tc-vertical\">>\n</$reveal>", "title": "$:/plugins/jd/mob/config", "tags": "$:/tags/ControlPanel/Appearance", "subtitle": "Configure JD mobile layout", "modifier": "JD", "modified": "20171122151014084", "caption": "JD Mob" }, "$:/plugins/jd/mob/config/fonts": { "created": "20171031124255884", "creator": "JD", "text": "<style> .texte { width: calc(100% - 60px); } </style>\n\n<h2>Fonts and heights presets</h2>\n\n\n<$button class=\"tc-btn-invisible\">\n<<jdfont 38px 30px 38px 28px 20px>>\n<<jdconfig fontsize largest>>\n<<jdradbut fontsize largest>>\n</$button> Largest\n<br>\n<$button class=\"tc-btn-invisible\">\n<<jdfont 34px 26px 34px 24px 20px>>\n<<jdconfig fontsize larger>>\n<<jdradbut fontsize larger>>\n</$button> Larger\n<br>\n<$button class=\"tc-btn-invisible\">\n<<jdfont 30px 22px 30px 20px 20px>>\n<<jdconfig fontsize large>>\n<<jdradbut fontsize large>>\n</$button> Large\n<br>\n<$button class=\"tc-btn-invisible\">\n<<jdfont 26px 18px 26px 16px 20px>>\n<<jdconfig fontsize medium>>\n<<jdradbut fontsize medium>>\n</$button> Medium\n<br>\n<$button class=\"tc-btn-invisible\">\n<<jdfont 22px 14px 20px 12px 20px>>\n<<jdconfig fontsize small>>\n<<jdradbut fontsize small>>\n</$button> Small\n<br>\n<$button class=\"tc-btn-invisible\">\n<<jdfont 18px 10px 16px 8px 20px>>\n<<jdconfig fontsize smaller>>\n<<jdradbut fontsize smaller>>\n</$button> Smaller\n<br>\n<$button class=\"tc-btn-invisible\">\n<<jdfont>>\n<<jdconfig fontsize default>>\n<<jdradbut fontsize default>>\n</$button> TW5 default\n<br>\n<$button class=\"tc-btn-invisible\">\n<$action-setfield $tiddler=\"$:/temp/jd/mob/font/font-title\" caption=\"Title\" list-before=\"$:/temp/jd/mob/font/font-body\"/>\n<$action-setfield $tiddler=\"$:/temp/jd/mob/font/font-body\" caption=\"Body, text buttons\" list-after=\"$:/temp/jd/mob/font/font-title\"/>\n<$action-setfield $tiddler=\"$:/temp/jd/mob/font/lineheight\" caption=\"Lineheight\"/>\n<$action-setfield $tiddler=\"$:/temp/jd/mob/font/font-tab-button\" caption=\"Tab buttons\"/>\n<$action-setfield $tiddler=\"$:/temp/jd/mob/font/font-button\" caption=\"Image buttons\"/>\n<<jdconfig fontsize custom>>\n<<jdradbut fontsize custom>>\n</$button> Custom\n\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##fontsize\" text=\"custom\">\n\nInclude unit (''px'' or ''em'') when entering custom values\n\n<table style=\"width:100%\">\n<tr>\n<th style=\"width:40%\">Element</th>\n<th style=\"width:60%\">Adjust</th>\n</tr>\n<$list filter=\"[all[shadows+tiddlers]prefix[$:/temp/jd/mob/font/]!suffix[sitetitle]]\">\n<tr>\n<td><$view field=\"caption\"/></td>\n<td><$edit-text tiddler={{!!title}} field=\"temp\" placeholder={{!!text}} class=\"texte\"/>\n<$reveal type=\"match\" state=!!temp text=\"\">\n<$button class=\"tc-btn-invisible\" style=\"color:grey; cursor:not-allowed;\">✓</$button>\n<$button class=\"tc-btn-invisible\" style=\"color:grey; cursor:not-allowed;\">✕</$button>\n</$reveal>\n<$reveal type=\"nomatch\" state=!!temp text=\"\">\n<$button class=\"tc-btn-invisible\">\n<$action-setfield $tiddler={{!!title}} text={{!!temp}}/>\n<$action-setfield $tiddler={{!!title}} temp=\"\"/>✓</$button>\n<$button class=\"tc-btn-invisible\">\n<$action-setfield $tiddler={{!!title}} temp=\"\"/>✕</$button>\n</$reveal>\n</td>\n</tr>\n</$list>\n</table>\n</$reveal>\n<br><br>", "title": "$:/plugins/jd/mob/config/fonts", "tags": "$:/tags/jd/config", "modifier": "JD", "modified": "20171120143104637", "caption": "Fonts and heights" }, "$:/plugins/jd/mob/readme": { "created": "20171030143047925", "creator": "JD", "text": "This is a mobile layout that applies to narrow screens. It introduces the following:\n\n# A Topbar that can be any of the following:\n#* Hidden\n#* Titlebar (search, title, subtitle, menu)\n#* Mobbuttons bar\n#** Buttons tagged ''~$:/tags/jd/mobbutton''\n#* Searchbar\n#** Simple searchbar lists standard search results only\n#** Combined searchbar lists all search results (possibly slow on some devices)\n#* Control area containing ''Top Left Bar'', ''Page Control'', ''Mob-only'', and ''Top Right Bar'' buttons (in that order)\n#** ''Top Left Bar'' >> buttons tagged ''~$:/tags/TopLeftBar''\n#** ''Page control'' >> buttons tagged ''~$:/tags/PageControls''\n#** ''Mob-only'' >> other buttons tagged ''~$:/tags/jd/mobbutton''\n#** ''Top Right Bar'' >> buttons tagged ''~$:/tags/TopRightBar''\n#** Buttons you don't want to appear here should be tagged ''~$:/tags/jd/mobno'' \n\n# A Bottombar that can be any of the following:\n#* Hidden\n#* Mobbuttons bar\n#** Buttons tagged ''~$:/tags/jd/mobbutton''\n#* Control area containing ''Top Left Bar'', ''Page Control'', ''Mob-only'', and ''Top Right Bar'' buttons (in that order)\n#** ''Top Left Bar'' >> buttons tagged ''~$:/tags/TopLeftBar''\n#** ''Page control'' >> buttons tagged ''~$:/tags/PageControls''\n#** ''Mob-only'' >> other buttons tagged ''~$:/tags/jd/mobbutton''\n#** ''Top Right Bar'' >> buttons tagged ''~$:/tags/TopRightBar''\n#** Buttons you don't want to appear here should be tagged ''~$:/tags/jd/mobno'' \n\n//Note:// \n\nThis layout is tied to the ''Sidebar Breakpoint'' set at ''Control Panel'' >> ''Appearance'' >> ''Theme Tweaks''.\n\nThis layout is compatible with any core theme as of release date.\n\n<a target=\"blank\" href=\"http://j.d.simplemobile.tiddlyspot.com\">Project Homepage on Tiddlyspot</a>\n\n!! Version History\n\n!!! 2018-09-03 Release of version 1.0.4\n\n* Added ability to create tiddler out of search term via \"+\" button, or keyboard shortcut: \"ctrl+space\"\n\n[[Detailed changelog|http://j.d.simplemobile.tiddlyspot.com/#Changelog]]", "title": "$:/plugins/jd/mob/readme", "tags": "", "modifier": "JD", "modified": "20180903122259331" }, "$:/plugins/jd/mob/config/config": { "created": "20171109145547252", "creator": "JD", "text": "freshinstall: yes\ndefaultconfirm: cancel\nconfigtype: list\nfontsize: default\nscrollbars: show\nbarpreset: 4\nstoryfix: no\ntitlebaradjust: no\ntopbar: fixedsearch\ntopbarchoice: hide\nsearchbar: yes\nradbuttop: fixedsearch\nsearchbarchoice: simple\nbottombar: controls\nradbuttopfixedsearchops: hide\nradbuttopcontrolsops: hide\nradbuttopmobbuttonsops: hide\nradbuttoptitleops: hide\nbottombarcontrolsops: hide\nbottombarmobbuttonsops: hide\nbarpreset1ops: hide\nbarpreset2ops: hide\nbarpreset3ops: hide\nbarpreset4ops: hide\nsearchbutton: simple\nfocus: show", "type": "application/x-tiddler-dictionary", "title": "$:/plugins/jd/mob/config/config", "modifier": "JD", "modified": "20171122154523597" }, "$:/plugins/jd/mob/config/topbar": { "created": "20171028024424838", "creator": "JD", "text": "<h2>Topbar</h2>\n<$button class=tc-btn-invisible>\n<<setTopsearchbar>>\n<<tglSearch>>\n<<jdconfig searchbutton simple>>\n<<jdradbut radbuttop fixedsearch>>\n</$button> Fixed searchbar\n<<moreOps radbuttop fixedsearch searchbar>>\n<$button class=tc-btn-invisible>\n<<setTopcontrols>>\n<<tglSearch>>\n<<jdconfig searchbutton simple>>\n<<jdradbut radbuttop controls>>\n</$button> Controls\n<<moreOps radbuttop controls searchbutton>>\n<$button class=tc-btn-invisible>\n<<setTopmobbuttons>>\n<<tglSearch>>\n<<jdconfig searchbutton simple>>\n<<jdradbut radbuttop mobbuttons>>\n</$button> Mob buttons only\n<<moreOps radbuttop mobbuttons searchbutton>>\n<$button class=tc-btn-invisible>\n<<setToptitlebar>>\n<<tglSearch>>\n<<jdconfig searchbutton simple>>\n<<jdradbut radbuttop title>>\n</$button> Titlebar\n<<moreOps radbuttop title titlebar>>\n<$button class=tc-btn-invisible>\n<<setTophide>>\n<<jdradbut radbuttop hide>>\n</$button> Hidden\n<br>", "title": "$:/plugins/jd/mob/config/topbar", "modifier": "JD", "modified": "20171122131221362", "list-before": "$:/plugins/jd/mob/config/bottombar", "caption": "Topbar style" }, "$:/plugins/jd/mob/config/bottombar": { "created": "20171110164302862", "creator": "JD", "text": "<h2>Bottombar</h2>\n<$button class=\"tc-btn-invisible\">\n<<setBottomcontrols>>\n<<jdradbut bottombar controls>>\n</$button> Controls\n<<moreOps bottombar controls searchbutton>>\n<$button class=\"tc-btn-invisible\">\n<<jdconfig bottombar mobbuttons>>\n<<jdradbut bottombar mobbuttons>>\n</$button> Mob buttons only\n<<moreOps bottombar mobbuttons searchbutton>>\n<$button class=\"tc-btn-invisible\">\n<<noBottom>>\n<<jdradbut bottombar hide>>\n</$button> Hidden\n<br>", "title": "$:/plugins/jd/mob/config/bottombar", "modifier": "JD", "modified": "20171122131210851", "list-after": "$:/plugins/jd/mob/config/topbar", "caption": "Bottombar style" }, "$:/plugins/jd/mob/config/barpresets": { "created": "20171113033257223", "creator": "JD", "text": "<h2>Topbar and bottombar presets</h2>\n<$button class=\"tc-btn-invisible\">\n<<jdconfig barpreset 1>>\n<<setToptitlebar>>\n<<noBottom>>\n<<jdradbut barpreset 1>>\n</$button> ''Titlebar'' on top, hidden bottom\n<<moreOps barpreset 1 titlebar>>\n<$button class=\"tc-btn-invisible\">\n<<jdconfig barpreset 2>>\n<<setTopcontrols>>\n<<noBottom>>\n<<jdradbut barpreset 2>>\n</$button> ''Controls'' on top, hidden bottom\n<<moreOps barpreset 2 searchbutton>>\n<$button class=\"tc-btn-invisible\">\n<<jdconfig barpreset 3>>\n<<setTophide>>\n<<setBottomcontrols>>\n<<jdradbut barpreset 3>>\n</$button> Hidden top, ''Controls'' on bottom\n<<moreOps barpreset 3 searchbutton>>\n<$button class=\"tc-btn-invisible\">\n<<jdconfig barpreset 4>>\n<<setTopsearchbar>>\n<<setBottomcontrols>>\n<<jdradbut barpreset 4>>\n</$button> ''Searchbar'' on top, ''Controls'' on bottom\n<<moreOps barpreset 4 searchbar>>\n<$button class=\"tc-btn-invisible\">\n<<jdconfig barpreset 5>>\n<<jdradbut barpreset 5>>\n</$button> Custom topbar and bottombar\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##barpreset\" text=\"5\">\n{{$:/plugins/jd/mob/config/topbar}}\n{{$:/plugins/jd/mob/config/bottombar}}\n</$reveal>\n<br><br>", "title": "$:/plugins/jd/mob/config/barpresets", "tags": "$:/tags/jd/config", "modifier": "JD", "modified": "20171122154450000", "caption": "Top and bottom bars" }, "$:/plugins/jd/mob/template/topbar": { "text": "<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##topbar\" text=\"fixedsearch\">\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##fixedsearch\" text=\"combined\">\n{{$:/plugins/jd/mob/template/combinedsearch}}\n</$reveal>\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##fixedsearch\" text=\"simple\">\n{{$:/plugins/jd/mob/template/simplesearch}}\n</$reveal>\n</$reveal>\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##topbar\" text=\"controls\">\n<span class=\"jd-topbar\">\n{{$:/plugins/jd/mob/template/controls}}\n</span>\n</$reveal>\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##topbar\" text=\"mobbuttons\">\n<span class=\"jd-topbar\">\n<div class=\"tc-page-controls\">\n{{$:/plugins/jd/mob/template/mobbuttons}}\n</div>\n</span>\n</$reveal>\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##topbar\" text=\"title\">\n<span class=\"jd-topbar\">\n{{$:/plugins/jd/mob/template/titlebar}}\n</span>\n</$reveal>", "title": "$:/plugins/jd/mob/template/topbar", "tags": "$:/tags/PageTemplate", "modifier": "JD", "modified": "20171118170723817", "fixedsearch": "{{$:/plugins/jd/mob/template/combinedsearch}}", "creator": "JD", "created": "20171018115714311" }, "$:/plugins/jd/mob/template/titlebar": { "created": "20171112032454483", "creator": "JD", "text": "<div class=\"jd-title-wrapper\">\n<span class=\"tc-site-title\"><$transclude tiddler=\"$:/SiteTitle\"/></span>\n<span class=\"tc-site-subtitle\"><$transclude tiddler=\"$:/SiteSubtitle\"/></span>\n</div>\n<div class=\"jd-title-controls\">\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##searchbutton\" text=\"simple\">\n{{$:/plugins/jd/mob/button/search}}\n</$reveal>\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##searchbutton\" text=\"combined\">\n{{$:/plugins/jd/mob/button/search}}\n</$reveal>\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##searchbutton\" text=\"core\">\n{{$:/core/ui/Buttons/advanced-search}}\n</$reveal>\n{{$:/core/ui/TopBar/menu}}\n</div>", "title": "$:/plugins/jd/mob/template/titlebar", "tags": "", "modifier": "JD", "modified": "20171122134204001" }, "$:/plugins/jd/mob/template/controls": { "created": "20171111135718973", "creator": "JD", "text": "\\define config-title()\n$:/config/PageControlButtons/Visibility/$(listItem)$\n\\end\n<div class=\"tc-page-controls\">\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/TopLeftBar]!has[draft.of]!tag[$:/tags/jd/mobno]]\">\n<$transclude/>\n</$list>\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]!tag[$:/tags/jd/mobno]]\" variable=\"listItem\">\n<$reveal type=\"nomatch\" state=<<config-title>> text=\"hide\">\n<$transclude tiddler=<<listItem>>/>\n</$reveal>\n</$list>\n{{$:/plugins/jd/mob/template/mobbuttons}}\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/TopRightBar]!has[draft.of]!tag[$:/tags/jd/mobno]]\">\n<$transclude/>\n</$list>\n</div>", "title": "$:/plugins/jd/mob/template/controls", "tags": "", "modifier": "JD", "modified": "20171119140040863" }, "$:/plugins/jd/mob/template/bottombar": { "text": "<div class=\"jd-bottombar\">\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##bottombar\" text=\"controls\">\n{{$:/plugins/jd/mob/template/controls}}\n</$reveal>\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##bottombar\" text=\"mobbuttons\">\n<div class=\"tc-page-controls\">\n{{$:/plugins/jd/mob/template/mobbuttons}}\n</div>\n</$reveal>\n</div>", "title": "$:/plugins/jd/mob/template/bottombar", "tags": "$:/tags/PageTemplate", "modifier": "JD", "modified": "20171118170729880", "creator": "JD", "created": "20171115114644869" }, "$:/plugins/jd/mob/template/mobbuttons": { "text": "\\define config-mobtitle()\n$:/config/jd/mobbutton/visibility/$(listItem)$\n\\end\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/jd/mobbutton]!has[draft.of]]\" variable=\"listItem\">\n<$reveal type=\"nomatch\" state=<<config-mobtitle>> text=\"hide\">\n<$transclude tiddler=<<listItem>>/>\n</$reveal>\n</$list>", "title": "$:/plugins/jd/mob/template/mobbuttons", "tags": "", "modifier": "JD", "modified": "20171118161831963", "creator": "JD", "created": "20171118055005587" }, "$:/plugins/jd/mob/config/mobbuttons": { "created": "20171118051624478", "creator": "JD", "text": "\\define config-base() $:/config/jd/mobbutton/visibility/\n<h2>Mob buttons</h2>\n<p>Here are buttons tagged <b>~$:/tags/jd/mobbutton</b></p>\n<p>Choose which ones are displayed. Drag and drop to change the ordering</p>\n<$set name=\"tv-config-toolbar-icons\" value=\"yes\">\n<$set name=\"tv-config-toolbar-text\" value=\"yes\">\n<$macrocall $name=\"list-tagged-draggable\" tag=\"$:/tags/jd/mobbutton\" itemTemplate=\"$:/core/ui/ControlPanel/Toolbars/ItemTemplate\"/>\n</$set>\n</$set>\n<br>", "title": "$:/plugins/jd/mob/config/mobbuttons", "tags": "$:/tags/jd/config", "modifier": "JD", "modified": "20171122150902808", "caption": "Mob buttons" }, "$:/plugins/jd/mob/button/config": { "text": "<$button tooltip=\"Configure JD mobile layout\" class=\"tc-btn-invisible\">{{$:/core/images/theme-button}}<$action-sendmessage $message=\"tm-modal\" $param=\"$:/plugins/jd/mob/config\"/></$button>", "title": "$:/plugins/jd/mob/button/config", "tags": "$:/tags/jd/mobbutton", "modifier": "JD", "modified": "20171122114923959", "description": "Configure JD mobile layout", "creator": "JD", "created": "20171117090228867", "caption": "{{$:/core/images/theme-button}} configure JDmob" }, "$:/plugins/jd/mob/stylesheet": { "created": "20171016123229521", "creator": "JD", "text": "@media print\n{\n.tc-sidebar-scrollable,\n.jd-search,\n.jd-topbar,\n.jd-bottombar { display: none !important; }\n}\n\n/** CONFIG RADIO BUTTONS **/\n\n.radbutton, .radbuttoff { \n display: inline-block; \n height: 12px; \n width: 12px; \n border: 2px solid <<colour muted-foreground>>; \n -webkit-transition-duration: {{$:/config/AnimationDuration}}ms;\n -moz-transition-duration: {{$:/config/AnimationDuration}}ms;\n -ms-transition-duration: {{$:/config/AnimationDuration}}ms;\n -o-transition-duration: {{$:/config/AnimationDuration}}ms;\n transition-duration: {{$:/config/AnimationDuration}}ms;\n}\n\n.radbutton { background: <<colour primary>>; }\n.radbuttoff { background: <<colour muted-foreground>>; }\n.radbutton:hover, .radbuttoff:hover { \n border: 2px solid <<colour primary>>;\n background: <<colour primary>>; \n}\n\n.jd-bq {\n margin: 5px;\n padding: 5px;\n border: 1px solid <<colour tab-border>>;\n}\n\n.jd-bq, .radbutton, .radbuttoff {\n -webkit-border-radius: 6px;\n -moz-border-radius: 6px;\n -ms-border-radius: 6px;\n -o-border-radius: 6px;\n border-radius: 6px;\n}\n\n.jd-btn-txt {\n border: none;\n background: none;\n font-size: inherit;\n text-decoration: underline;\n padding: 0;\n margin: 0;\n}\n\n.jd-btn-txt:hover {\n text-decoration: none;\n}\n\n@media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) { \n.jd-topbar, \n.jd-bottombar,\n.jd-search { display: none; }\n} \n\n@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) { \n\n.tc-topbar { display: none !important; } \n\n.tc-tags-wrapper { margin: 5px 0 !important; }\n\n\n/** NOTIFICATIONS **/\n\n.tc-notification {\n position: fixed; \n top: 60px !important;\n right: 10px !important;\n z-index: {{!!z-bar}} !important;\n}\n\n.tc-modal {\n top: 50px !important;\n left: 50px !important;\n right: 50px !important;\n}\n\n.tc-modal-body { max-height: calc(100vh - 200px) !important; }\n\n.tc-modal-wrapper,\n.tc-plugin-reload-warning { z-index: {{!!z-notif}} !important; }\n\n\n/** STORY RIVER **/\n\n.tc-story-river { \n margin: 0 !important;\n padding-top: 0 !important;\n}\n\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##storyfix\" text=\"no\">\n\n<$reveal type=\"nomatch\" state=\"$:/plugins/jd/mob/config/config##topbar\" text=\"hide\">\n\n@media print\n{\n.tc-story-river { margin-top: 0 !important; }\n}\n\n@media screen\n{\n.tc-story-river { margin-top: 50px !important; }\n}\n\n</$reveal>\n\n<$reveal type=\"nomatch\" state=\"$:/plugins/jd/mob/config/config##bottombar\" text=\"hide\">\n\n.tc-story-river { margin-bottom: 50px !important; }\n\n</$reveal>\n\n</$reveal>\n\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##storyfix\" text=\"yes\">\n\n.tc-story-river { \n width: 100% !important;\n position: fixed !important;\n left: 0 !important;\n overflow-y: auto !important;\n}\n\n<$reveal type=\"nomatch\" state=\"$:/plugins/jd/mob/config/config##topbar\" text=\"hide\">\n\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##bottombar\" text=\"hide\">\n.tc-story-river { \n top: 50px !important;\n height: calc(100% - 50px) !important;\n}\n</$reveal>\n\n<$reveal type=\"nomatch\" state=\"$:/plugins/jd/mob/config/config##bottombar\" text=\"hide\">\n.tc-story-river { \n top: 50px !important; \n height: calc(100% - 100px) !important;\n}\n</$reveal>\n\n</$reveal>\n\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##topbar\" text=\"hide\">\n\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##bottombar\" text=\"hide\">\n.tc-story-river { \n top: 0 !important; \n height: 100% !important;\n}\n</$reveal>\n\n<$reveal type=\"nomatch\" state=\"$:/plugins/jd/mob/config/config##bottombar\" text=\"hide\">\n.tc-story-river { \n top: 0 !important; \n height: calc(100% - 50px) !important;\n}\n</$reveal>\n\n</$reveal>\n\n</$reveal>\n\n.tc-tiddler-frame {\n margin-bottom: 2px !important;\n padding: 15px 10px;\n overflow: auto;\n}\n\n\n/** POPUPS AND DROPDOWNS INSIDE VIEW AREA **/\n\n.tc-drop-down,\n.tc-block-dropdown {\n position: fixed !important;\n top: 50% !important;\n left: 50% !important;\n text-align: left;\n white-space: normal !important;\n max-height: calc(100% - 160px) !important;\n min-width: calc(100% - 90px) !important;\n max-width: calc(100% - 60px) !important;\n -webkit-transform: translate(-50%, -50%) !important;\n -moz-transform: translate(-50%, -50%) !important;\n -ms-transform: translate(-50%, -50%) !important;\n -o-transform: translate(-50%, -50%) !important;\n transform: translate(-50%, -50%) !important;\n -webkit-box-shadow: 0 0 10px 5px rgba(0,0,0,0.5);\n -moz-box-shadow: 0 0 10px 5px rgba(0,0,0,0.5);\n -ms-box-shadow: 0 0 10px 5px rgba(0,0,0,0.5);\n -o-box-shadow: 0 0 10px 5px rgba(0,0,0,0.5);\n box-shadow: 0 0 10px 5px rgba(0,0,0,0.5);\n overflow: auto !important;\n z-index: {{!!z-dropdown}} !important;\n}\n\n.tc-menu-list-item {\n padding-left: 5px;\n text-indent: -5px;\n white-space: normal !important;\n word-wrap: break-word !important;\n -webkit-word-break: break-all !important;\n -moz-word-break: break-all !important;\n -ms-word-break: break-all !important;\n -o-word-break: break-all !important;\n word-break: break-all !important;\n}\n\n.tc-edit-type-dropdown { overflow: auto; }\n\n\n/** SCROLLBARS **/\n\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##scrollbars\" text=\"hide\">\n\nbody { \n -ms-overflow-style: -ms-autohiding-scrollbar;\n}\n\ndiv::-webkit-scrollbar,\n.tc-edit-type-dropdown::-webkit-scrollbar,\n.tc-block-dropdown::-webkit-scrollbar,\n.tc-drop-down::-webkit-scrollbar,\n.jd-search-results::-webkit-scrollbar,\n.tc-story-river::-webkit-scrollbar,\n.tc-sidebar-scrollable::-webkit-scrollbar {\n background: transparent;\n width: 0;\n}\n\n</$reveal>\n\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##scrollbars\" text=\"show\">\n\nbody { \n scrollbar-face-color: <<colour background>>;\n scrollbar-arrow-color: <<colour page-background>>;\n scrollbar-track-color: <<colour page-background>>;\n scrollbar-shadow-color: <<colour page-background>>;\n}\n\ndiv::-webkit-scrollbar,\n.tc-edit-type-dropdown::-webkit-scrollbar,\n.tc-block-dropdown::-webkit-scrollbar,\n.tc-drop-down::-webkit-scrollbar,\n.tc-story-river::-webkit-scrollbar,\n.tc-sidebar-scrollable::-webkit-scrollbar {\n background: <<colour background>>;\n width: 6px;\n -webkit-border-radius: 3px;\n border-radius: 3px;\n}\n\ndiv::-webkit-scrollbar-thumb,\n.tc-edit-type-dropdown::-webkit-scrollbar-thumb,\n.tc-block-dropdown::-webkit-scrollbar-thumb,\n.tc-drop-down::-webkit-scrollbar-thumb,\n.jd-search-results::-webkit-scrollbar,\n.tc-story-river::-webkit-scrollbar-thumb,\n.tc-sidebar-scrollable::-webkit-scrollbar-thumb {\n background: <<colour page-background>>; \n width: 6px;\n -webkit-border-radius: 3px;\n border-radius: 3px;\n}\n\n.jd-search-results::-webkit-scrollbar-thumb {\n background: <<colour primary>>;\n width: 6px;\n -webkit-border-radius: 3px;\n border-radius: 3px;\n}\n\n</$reveal>\n\n\n/** FOCUS **/\n\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##focus\" text=\"hide\">\ntextarea:focus, select:focus, button:focus, input:focus { outline: none; }\n</$reveal>\n\n\n/** TOPBAR & BOTTOMBAR **/\n\n.jd-topbar,\n.jd-bottombar {\n width: 100%;\n position: fixed;\n left: 0;\n background: <<colour page-background>>;\n overflow: hidden;\n z-index: {{!!z-bar}};\n}\n\n.jd-topbar { top: 0; height: 50px; }\n.jd-bottombar { bottom: 0; }\n\n\n/** SEARCH **/\n\n.jd-search { z-index: {{!!z-search}}; }\n\n.jd-search-results {\n background: <<colour page-background>>;\n width: 100%;\n position: fixed;\n top: 50px;\n left: 0;\n margin: 0;\n padding: 0 10px;\n overflow-y: auto;\n z-index: {{!!z-searchwrapper}};\n}\n\n<$reveal type=\"nomatch\" state=\"$:/plugins/jd/mob/config/config##bottombar\" text=\"hide\">\n.jd-search-results { max-height: calc(100% - 100px); }\n</$reveal>\n\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##bottombar\" text=\"hide\">\n.jd-search-results { max-height: calc(100% - 50px); }\n</$reveal>\n\n.jd-searchwrapper {\n background: <<colour page-background>>;\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 50px;\n z-index: {{!!z-searchwrapper}};\n}\n\n.jd-searchbar {\n width: calc(100% - 20px);\n height: 30px; \n position: fixed;\n top: 0;\n left: 0;\n font-size: 16px !important;\n background: transparent !important;\n border: none;\n border-bottom: 2px solid<<colour primary>>;\n<$reveal state=\"$:/plugins/jd/mob/config/config##searchbarchoice\" type=\"match\" text=\"combined\">\n padding: 0 160px 0 10px;\n</$reveal>\n<$reveal state=\"$:/plugins/jd/mob/config/config##searchbarchoice\" type=\"match\" text=\"simple\">\n padding: 0 100px 0 10px;\n</$reveal>\n margin: 10px;\n}\n\n.jd-search-buttons {\n<$reveal state=\"$:/plugins/jd/mob/config/config##searchbarchoice\" type=\"match\" text=\"combined\">\n width: 160px; \n</$reveal>\n<$reveal state=\"$:/plugins/jd/mob/config/config##searchbarchoice\" type=\"match\" text=\"simple\">\n width: 100px; \n</$reveal>\n position: fixed; \n top: 12px;\n right: 0; \n background: <<colour page-background>>;\n border: transparent;\n margin-right: 20px; \n text-align: right;\n vertical-align: middle;\n}\n\n.jd-search-buttons {\n z-index: {{!!z-searchbuttons}};\n}\n\n.jd-search-buttons .tc-popup-keep,\n.jd-search-buttons .tc-btn-invisible {\n font-size: 18px;\n background: transparent;\n border: transparent;\n cursor: pointer;\n}\n\n.jd-search-buttons .tc-btn-invisible { margin-left: 8px; }\n\n\n/** CONTROLS **/\n\n.jd-title-controls {\n display: flex;\n justify-content: space-between;\n margin: 10px;\n}\n\n.jd-search-buttons button,\n.jd-title-controls button {\n fill: <<colour sidebar-controls-foreground>>;\n font-size: 1.6em;\n -webkit-transition-duration: {{$:/config/AnimationDuration}}ms;\n -moz-transition-duration: {{$:/config/AnimationDuration}}ms;\n -ms-transition-duration: {{$:/config/AnimationDuration}}ms;\n -o-transition-duration: {{$:/config/AnimationDuration}}ms;\n transition-duration: {{$:/config/AnimationDuration}}ms;\n}\n\n.jd-search-buttons button:hover,\n.jd-title-controls button:hover {\n fill: <<colour sidebar-controls-foreground-hover>>;\n}\n\n.jd-topbar .tc-page-controls,\n.jd-bottombar .tc-page-controls {\n display: flex;\n justify-content: space-between;\n height: 30px;\n margin: 10px;\n}\n\n.tc-page-controls button { margin: 0 !important;}\n\n\n/** TITLEBAR **/\n\n.jd-title-wrapper .tc-site-title,\n.jd-title-wrapper .tc-site-subtitle {\n position: absolute;\n left: 50%;\n text-align: center;\n -webkit-transform: translate(-50%, 50%);\n -moz-transform: translate(-50%, 50%);\n -ms-transform: translate(-50%, 50%);\n -o-transform: translate(-50%, 50%);\n transform: translate(-50%, 50%);\n}\n\n.jd-title-wrapper .tc-site-subtitle {\n width: calc(100% - 100px);\n}\n\n\n/** SIDEBAR LISTS **/\n\n.tc-sidebar-scrollable .tc-site-title,\n.tc-sidebar-scrollable .tc-site-subtitle,\n.tc-sidebar-scrollable .tc-page-controls,\n.tc-sidebar-scrollable .tc-search\n { display: none; }\n\n.tc-sidebar-header { padding: 0 !important; }\n\n<$reveal state=\"$:/state/sidebar\" type=\"nomatch\" text=\"no\">\n.tc-sidebar-scrollable {\n background: <<colour background>>;\n width: 100%;\n position: fixed;\n left: 0; \n z-index: {{!!z-sidebar}};\n overflow: auto !important;\n}\n</$reveal>\n\n<$reveal type=\"match\" state=\"$:/state/sidebar\" text=\"no\">\n\n.tc-sidebar-scrollable { display:none; }\n\n.tc-tab-set { overflow-y: auto !important; }\n\n</$reveal>\n\n<$reveal type=\"nomatch\" state=\"$:/plugins/jd/mob/config/config##topbar\" text=\"hide\">\n\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##bottombar\" text=\"hide\">\n.tc-sidebar-scrollable { \n top: 50px !important;\n height: calc(100% - 50px) !important;\n}\n\n.tc-sidebar-scrollable .tc-tab-buttons { top: 50px; }\n</$reveal>\n\n<$reveal type=\"nomatch\" state=\"$:/plugins/jd/mob/config/config##bottombar\" text=\"hide\">\n.tc-sidebar-scrollable { \n top: 50px !important;\n height: calc(100% - 100px) !important;\n}\n\n.tc-sidebar-scrollable .tc-tab-buttons { top: 50px; }\n</$reveal>\n\n</$reveal>\n\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##topbar\" text=\"hide\">\n\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##bottombar\" text=\"hide\">\n.tc-sidebar-scrollable { \n top: 0 !important;\n height: 100% !important;\n}\n</$reveal>\n\n<$reveal type=\"nomatch\" state=\"$:/plugins/jd/mob/config/config##bottombar\" text=\"hide\">\n.tc-sidebar-scrollable { \n top: 0 !important;\n height: calc(100% - 50px) !important;\n}\n</$reveal>\n\n</$reveal>\n\n\n/** SIDEBAR LISTS BUTTONS **/\n\n.tc-sidebar-scrollable .tc-tab-buttons { margin: 10px; }\n\n.tc-sidebar-scrollable .tc-tab-content { \n margin: 10px !important; \n border: 0 !important;\n}\n\n\n/** ADJUSTABLE FONTS AND HEIGHTS **/\n\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##titlebaradjust\" text=\"no\">\n.jd-title-wrapper .tc-site-title { top: -3px; font-size: 18px; }\n.jd-title-wrapper .tc-site-subtitle { top: 15px; font-size: 12px; }\n</$reveal>\n\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##titlebaradjust\" text=\"yes\">\n.jd-title-wrapper .tc-site-title { top: {{!!height-sitetitle}}; font-size: {{!!font-sitetitle}}; }\n.jd-title-wrapper .tc-site-subtitle { top: {{!!height-subsitetitle}}; font-size: {{!!font-subsitetitle}}; }\n</$reveal>\n\n<$reveal type=\"nomatch\" state=\"$:/plugins/jd/mob/config/config##fontsize\" text=\"default\">\n\n.tc-tiddler-view-frame h2.tc-title,\ninput.tc-titlebar.tc-edit-texteditor { \n font-size: {{!!font-title}} !important; \n}\n\n.tc-tiddler-view-frame .tc-subtitle { \n font-size: calc({{!!font-body}} - 4px) !important; \n}\n\nh1, h1 a { \n font-size: calc({{!!font-body}} + 6px) !important; \n}\n\nh2, h2 a { \n font-size: calc({{!!font-body}} + 4px) !important; \n}\n\nh3, h3 a { \n font-size: calc({{!!font-body}} + 2px) !important; \n}\n\nh4, a, li, table,\ninput, textarea, select,\n.tc-tiddler-preview-preview p,\n.tc-tiddler-view-frame p,\n.tc-modal p,\n.tc-btn-text,\n.jd-search-results,\n.tc-tab-content,\n.tc-modal-header h3 { \n font-size: {{!!font-body}} !important; \n line-height: {{!!lineheight}} !important;\n}\n\nbutton.tc-btn-invisible.tc-remove-tag-button,\n.tc-tag-label.tc-btn-invisible { \n font-size: calc({{!!font-body}} - 4px) !important; \n}\n\n.tc-tab-buttons button,\n.tc-tab-buttons.tc-vertical button,\n.tc-sidebar-scrollable .tc-tab-buttons button,\n.tc-sidebar-scrollable .tc-tab-buttons.tc-vertical button {\n font-size: {{!!font-tab-button}} !important;\n}\n\n.tc-btn-invisible,\n.tc-tiddler-controls button, \n.tc-tiddler-controls button svg, \n.tc-tiddler-controls button img,\n.tc-image-buttons,\n.tc-page-controls { \n font-size: {{!!font-button}} !important; \n}\n\n.tc-tiddler-controls button svg, \n.tc-tiddler-controls button img,\n.tc-image-buttons { \n height: {{!!font-button}} !important; \n width: {{!!font-button}} !important; \n}\n\n</$reveal>\n\n}", "z-sidebar": "1500", "z-searchwrapper": "2500", "z-searchbuttons": "4100", "z-search": "4000", "z-notif": "9000", "z-dropdown": "4000", "z-bar": "2000", "title": "$:/plugins/jd/mob/stylesheet", "tags": "$:/tags/Stylesheet", "modifier": "JD", "modified": "20180903124046078", "lineheight": "{{$:/temp/jd/mob/font/lineheight}}", "height-subsitetitle": "{{$:/temp/jd/mob/font/height-subsitetitle}}", "height-sitetitle": "{{$:/temp/jd/mob/font/height-sitetitle}}", "font-title": "{{$:/temp/jd/mob/font/font-title}}", "font-tab-button": "{{$:/temp/jd/mob/font/font-tab-button}}", "font-subsitetitle": "{{$:/temp/jd/mob/font/font-subsitetitle}}", "font-sitetitle": "{{$:/temp/jd/mob/font/font-sitetitle}}", "font-button": "{{$:/temp/jd/mob/font/font-button}}", "font-body": "{{$:/temp/jd/mob/font/font-body}}", "list-after": "$:/themes/tiddlywiki/vanilla/base" }, "$:/plugins/jd/mob/config/searchbutton": { "created": "20171118142818660", "creator": "JD", "text": "<h3>Choose search button</h3>\n\n<$button class=\"tc-btn-invisible\">\n<<tglSearch show>>\n<$action-setfield $tiddler=\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/advanced-search\" text=\"hide\"/>\n<<jdconfig searchbarchoice simple>>\n<<jdconfig searchbutton simple>>\n<<jdradbut searchbutton simple>>\n</$button> Toggle for simple searchbar\n<br>\n<$button class=\"tc-btn-invisible\">\n<<tglSearch show>>\n<$action-setfield $tiddler=\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/advanced-search\" text=\"hide\"/>\n<<jdconfig searchbarchoice combined>>\n<<jdconfig searchbutton combined>>\n<<jdradbut searchbutton combined>>\n</$button> Toggle for combined searchbar\n<br>\n<$button class=\"tc-btn-invisible\">\n<<tglSearch hide>>\n<$action-setfield $tiddler=\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/advanced-search\" text=\"show\"/>\n<<jdconfig searchbutton core>>\n<<jdradbut searchbutton core>>\n</$button> Button to core search\n<br>\n<$button class=\"tc-btn-invisible\">\n<<tglSearch hide>>\n<$action-setfield $tiddler=\"$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/advanced-search\" text=\"hide\"/>\n<<jdconfig searchbutton hide>>\n<<jdradbut searchbutton hide>>\n</$button> Hidden\n<br><br>", "title": "$:/plugins/jd/mob/config/searchbutton", "tags": "", "modifier": "JD", "modified": "20171122125953528", "caption": "Choose search button" }, "$:/plugins/jd/mob/config/titlebar": { "created": "20171118171842911", "creator": "JD", "text": "<h3>Vertical position</h3>\n\n<$button class=tc-btn-invisible>\n<<jdconfig titlebaradjust no>>\n<<jdradbut titlebaradjust no>>\n</$button> Default\n<br>\n<$button class=tc-btn-invisible>\n<<jdconfig titlebaradjust yes>>\n<$action-setfield $tiddler=\"$:/temp/jd/mob/font/height-sitetitle\" caption=\"Site title vertical position\" text=\"-3px\" list-after=\"$:/temp/jd/mob/font/font-sitetitle\"/>\n<$action-setfield $tiddler=\"$:/temp/jd/mob/font/font-sitetitle\" caption=\"Site title font size\" text=\"18px\"/>\n<$action-setfield $tiddler=\"$:/temp/jd/mob/font/height-subsitetitle\" caption=\"Site subtitle vertical position\" text=\"15px\" list-after=\"$:/temp/jd/mob/font/font-subsitetitle\"/>\n<$action-setfield $tiddler=\"$:/temp/jd/mob/font/font-subsitetitle\" caption=\"Site subtitle font size\" text=\"12px\"/>\n<<jdradbut titlebaradjust yes>>\n</$button> Custom\n\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##titlebaradjust\" text=\"yes\">\n\nInclude unit (''px'' or ''em'') when entering custom values\n\n<table style=\"width:100%\">\n<tr>\n<th style=\"width:40%\">Element</th>\n<th style=\"width:60%\">Adjust</th>\n</tr>\n<$list filter=\"[all[shadows+tiddlers]prefix[$:/temp/jd/mob/font/]suffix[sitetitle]]\">\n<tr>\n<td><$view field=\"caption\"/></td>\n<td><$edit-text tiddler={{!!title}} field=\"temp\" placeholder={{!!text}} class=\"texte\"/>\n<$reveal type=\"match\" state=!!temp text=\"\">\n<$button class=\"tc-btn-invisible\" style=\"color:grey; cursor:not-allowed;\">✓</$button>\n<$button class=\"tc-btn-invisible\" style=\"color:grey; cursor:not-allowed;\">✕</$button>\n</$reveal>\n<$reveal type=\"nomatch\" state=!!temp text=\"\">\n<$button class=\"tc-btn-invisible\">\n<$action-setfield $tiddler={{!!title}} text={{!!temp}}/>\n<$action-setfield $tiddler={{!!title}} temp=\"\"/>✓</$button>\n<$button class=\"tc-btn-invisible\">\n<$action-setfield $tiddler={{!!title}} temp=\"\"/>✕</$button>\n</$reveal>\n</td>\n</tr>\n</$list>\n</table>\n</$reveal>\n{{$:/plugins/jd/mob/config/searchbutton}}", "title": "$:/plugins/jd/mob/config/titlebar", "modifier": "JD", "modified": "20171119072342630", "caption": "Fonts and heights", "tags": "" }, "$:/plugins/jd/mob/config/searchbar": { "created": "20171118171759396", "creator": "JD", "text": "<h3>Choose searchbar style</h3>\n\n<$button class=\"tc-btn-invisible\">\n<<tglSearch show>>\n<<jdconfig searchbarchoice combined>>\n<<jdconfig searchbutton combined>>\n<<jdradbut searchbutton combined>>\n</$button> Combined search\n<br>\n<$button class=\"tc-btn-invisible\">\n<<tglSearch show>>\n<<jdconfig searchbarchoice simple>>\n<<jdconfig searchbutton simple>>\n<<jdradbut searchbutton simple>>\n</$button> Simple search\n<p>\n<$checkbox tiddler=\"$:/config/jd/mobbutton/visibility/$:/plugins/jd/mob/button/search\" field=\"text\" checked=\"show\" unchecked=\"hide\" default=\"show\"/> Show search button at controls\n</p>", "title": "$:/plugins/jd/mob/config/searchbar", "tags": "", "modifier": "JD", "modified": "20171122123127279", "caption": "Choose searchbar style" }, "$:/plugins/jd/mob/macros": { "created": "20171119044207910", "creator": "JD", "text": "\\define jdconf() $:/plugins/jd/mob/config/config\n\\define jdconfont() $:/temp/jd/mob/font/\n\\define jdconfig(config:\"\" choice:\"\")\n<$action-setfield $tiddler=<<jdconf>> $index=\"$config$\" $value=$choice$/>\n\\end\n\\define moreOps(config:\"\" choice:\"\" option:\"\")\n<$reveal type=\"match\" state=\"$(jdconf)$##$config$\" text=\"$choice$\">\n<$reveal type=\"nomatch\" state=\"$(jdconf)$##$config$$choice$ops\" text=\"show\">\n<$button class =\"jd-btn-txt\" set=\"$(jdconf)$##$config$$choice$ops\" setTo=\"show\"> Show options</$button>\n</$reveal>\n<$reveal type=\"match\" state=\"$(jdconf)$##$config$$choice$ops\" text=\"show\">\n<$button class =\"jd-btn-txt\" set=\"$(jdconf)$##$config$$choice$ops\" setTo=\"hide\"> Hide options</$button>\n<div class=\"jd-bq\">{{$:/plugins/jd/mob/config/$option$}}</div>\n</$reveal>\n</$reveal>\n<br>\n\\end\n\\define jdfont(font-title:\"\" font-body:\"\" lineheight:\"\" font-tab:\"\" font-button:\"\")\n<$action-setfield $tiddler=\"$(jdconfont)$font-title\" text=\"$font-title$\"/>\n<$action-setfield $tiddler=\"$(jdconfont)$font-body\" text=\"$font-body$\"/>\n<$action-setfield $tiddler=\"$(jdconfont)$lineheight\" text=\"$lineheight$\"/>\n<$action-setfield $tiddler=\"$(jdconfont)$font-tab-button\" text=\"$font-tab$\"/>\n<$action-setfield $tiddler=\"$(jdconfont)$font-button\" text=\"$font-button$\"/>\n\\end\n\\define jdradbut(config:\"\" choice:\"\")\n<$reveal type=\"match\" state=\"$(jdconf)$##$config$\" text=\"$choice$\"><div class=\"radbutton\"></div></$reveal>\n<$reveal type=\"nomatch\" state=\"$(jdconf)$##$config$\" text=\"$choice$\"><div class=\"radbuttoff\"></div></$reveal>\n\\end\n\\define tglSearch(choice:\"show\")\n<$action-setfield $tiddler=\"$:/config/jd/mobbutton/visibility/$:/plugins/jd/mob/button/search\" text=$choice$/>\n\\end\n\\define notPreset()\n<<jdconfig barpreset 0>>\n\\end\n\\define setTopsearchbar()\n<<jdconfig topbar fixedsearch>>\n<<jdconfig topbarchoice hide>>\n<<jdconfig searchbar yes>>\n<<jdconfig radbuttop fixedsearch>>\n\\end\n\\define setToptitlebar()\n<<jdconfig searchbar no>>\n<<jdconfig topbar title>>\n<<jdconfig topbarchoice title>>\n<<jdconfig radbuttop title>>\n\\end\n\\define setTopcontrols()\n<<jdconfig searchbar no>>\n<<jdconfig topbar controls>>\n<<jdconfig topbarchoice controls>>\n<<jdconfig radbuttop controls>>\n\\end\n\\define setTopmobbuttons()\n<<jdconfig searchbar no>>\n<<jdconfig topbar mobbuttons>>\n<<jdconfig topbarchoice mobbuttons>>\n<<jdconfig radbuttop mobbuttons>>\n\\end\n\\define setTophide()\n<<jdconfig searchbar no>>\n<<jdconfig topbar hide>>\n<<jdconfig topbarchoice hide>>\n<<jdconfig radbuttop hide>>\n\\end\n\\define noBottom()\n<<jdconfig bottombar hide>>\n\\end\n\\define setBottomcontrols()\n<<jdconfig bottombar controls>>\n\\end\n\\define setJDmobdefaults()\n<<tglSearch>>\n<<jdconfig freshinstall yes>>\n<<jdconfig configtype list>>\n<<jdfont>>\n<<jdconfig fontsize default>>\n<<jdconfig scrollbars show>>\n<<jdconfig focus show>>\n<<jdconfig storyfix no>>\n<<jdconfig titlebaradjust no>>\n<<jdconfig topbarchoice hide>>\n<<jdconfig searchbarchoice simple>>\n<<jdconfig searchbutton simple>>\n<<jdconfig barpreset 4>>\n<<setTopsearchbar>>\n<<setBottomcontrols>>\n<<jdconfig radbuttopfixedsearchops hide>>\n<<jdconfig radbuttopcontrolsops hide>>\n<<jdconfig radbuttopmobbuttonsops hide>>\n<<jdconfig radbuttoptitleops hide>>\n<<jdconfig bottombarcontrolsops hide>>\n<<jdconfig bottombarmobbuttonsops hide>>\n<<jdconfig barpreset1ops hide>>\n<<jdconfig barpreset2ops hide>>\n<<jdconfig barpreset3ops hide>>\n<<jdconfig barpreset4ops hide>>\n<$fieldmangler tiddler=\"$:/plugins/jd/mob/button/search\">\n<$action-sendmessage $message=\"tm-add-tag\" $param=\"$:/tags/jd/mobbutton\"/>\n</$fieldmangler>\n\\end", "title": "$:/plugins/jd/mob/macros", "tags": "$:/tags/Macro", "modifier": "JD", "modified": "20171122150921869" }, "$:/plugins/jd/mob/button/search": { "created": "20171122115403541", "creator": "JD", "text": "<$reveal type=\"nomatch\" state=\"$:/plugins/jd/mob/config/config##searchbar\" text=\"yes\">\n<$button class=\"tc-btn-invisible\" tooltip=\"Show searchbar\" set=\"$:/plugins/jd/mob/config/config##searchbar\" setTo=\"yes\">\n<<jdconfig topbar search>>\n{{$:/core/images/advanced-search-button}}\n</$button>\n</$reveal>\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##searchbar\" text=\"yes\">\n<$button class=\"tc-btn-invisible\" tooltip=\"Hide searchbar\" set=\"$:/plugins/jd/mob/config/config##searchbar\" setTo=\"no\">\n<<jdconfig topbar hide>>\n{{$:/core/images/advanced-search-button}}\n</$button>\n</$reveal>", "title": "$:/plugins/jd/mob/button/search", "tags": "$:/tags/jd/mobbutton", "modifier": "JD", "modified": "20171122154523596", "description": "Toggle searchbar visibility", "caption": "{{$:/core/images/advanced-search-button}} search" }, "$:/plugins/jd/mob/template/search": { "created": "20171018115714311", "creator": "JD", "text": "\\define NewTidActions(searcharea)\n<$action-createtiddler $basetitle={{$searcharea$}} $savetitle=\"$:/temp/NewTidTitle\"/>\n<$action-sendmessage $message=\"tm-edit-tiddler\" $param={{$:/temp/NewTidTitle}}/>\n<$action-deletetiddler $tiddler=\"$:/temp/NewTidTitle\"/>\n<$action-setfield $tiddler=\"$searcharea$\" text=\"\"/>\n\\end\n\n\\define NewTidBtn(searcharea)\n<$button tooltip=\"Create new tiddler with this title\" class=\"tc-btn-invisible\" actions=<<NewTidActions \"$searcharea$\">>>\n{{$:/core/images/new-button}}\n</$button>\n\\end\n\n\\define lingo-base() $:/language/Search/\n<$reveal state=\"$:/plugins/jd/mob/config/config##searchbar\" type=\"match\" text=\"yes\" default=\"yes\" retain=\"yes\" animate=\"yes\">\n\n<$reveal state=\"$:/plugins/jd/mob/config/config##searchbarchoice\" type=\"match\" text=\"simple\">\n<div class=\"jd-search\">\n<$keyboard class=\"jd-searchwrapper\" tag=\"div\" key=\"ctrl+space\" actions=<<NewTidActions \"$:/temp/search\">>>\n<$edit-text tiddler=\"$:/temp/search\" type=\"search\" tag=\"input\" placeholder={{$:/language/Search/Search}} class=\"jd-searchbar\"/>\n</$keyboard>\n<div class=\"jd-search-buttons\">\n<$list filter=\"[[$:/temp/search]!text[]]\" variable=\"statecheck\">\n<<NewTidBtn \"$:/temp/search\">>\n</$list>\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##radbuttop\" text=\"fixedsearch\">\n<$button tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class=\"tc-btn-invisible\">\n<$action-setfield $tiddler=\"$:/temp/advancedsearch\" text={{$:/temp/search}}/>\n<$action-setfield $tiddler=\"$:/temp/search\" text=\"\"/>\n<$action-navigate $to=\"$:/AdvancedSearch\"/>\n{{$:/core/images/advanced-search-button}}\n</$button>\n<$list filter=\"[[$:/temp/search]!text[]]\" variable=\"statecheck\">\n<$button class=\"tc-btn-invisible\" tooltip=\"Clear searchbar\">\n<$action-setfield $tiddler=\"$:/temp/advancedsearch\" text=\"\"/>\n<$action-setfield $tiddler=\"$:/temp/search\" text=\"\"/>\n{{$:/core/images/close-button}}\n</$button>\n</$list>\n</$reveal>\n<$reveal type=\"nomatch\" state=\"$:/plugins/jd/mob/config/config##radbuttop\" text=\"fixedsearch\">\n<$button tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class=\"tc-btn-invisible\">\n<<jdconfig searchbar no>>\n<<jdconfig topbar {{$:/plugins/jd/mob/config/config##topbarchoice}}>>\n<$action-setfield $tiddler=\"$:/temp/advancedsearch\" text={{$:/temp/search}}/>\n<$action-setfield $tiddler=\"$:/temp/search\" text=\"\"/>\n<$action-navigate $to=\"$:/AdvancedSearch\"/>\n{{$:/core/images/advanced-search-button}}\n</$button>\n<$button class=\"tc-btn-invisible\" tooltip=\"Clear and hide searchbar\">\n<<jdconfig searchbar no>>\n<<jdconfig topbar {{$:/plugins/jd/mob/config/config##topbarchoice}}>>\n<$action-setfield $tiddler=\"$:/temp/advancedsearch\" text=\"\"/>\n<$action-setfield $tiddler=\"$:/temp/search\" text=\"\"/>\n{{$:/core/images/close-button}}\n</$button>\n</$reveal>\n</div>\n<div class=\"jd-search-results\">\n<$list filter=\"[[$:/temp/search]!text[]]\" variable=\"statecheck\">\n<$scrollable fallthrough=\"no\" class=\"results\">\n<$set name=\"searchTiddler\" value=\"$:/temp/search\">\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]butfirst[]limit[1]]\" emptyMessage=\"\"\"\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]\">\n<$transclude/>\n</$list>\n\"\"\">\n<$macrocall $name=\"tabs\" tabsList=\"[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]\" default={{$:/config/SearchResults/Default}}/>\n</$list>\n</$set>\n</$scrollable>\n</$list>\n</div>\n</div>\n</$reveal>\n\n<$reveal state=\"$:/plugins/jd/mob/config/config##searchbarchoice\" type=\"match\" text=\"combined\">\n<div class=\"jd-search\">\n<$keyboard class=\"jd-searchwrapper\" tag=\"div\" key=\"ctrl+space\" actions=<<NewTidActions \"$:/temp/advancedsearch\">>>\n<$linkcatcher to=\"$:/temp/advancedsearch\">\n<$edit-text tiddler=\"$:/temp/advancedsearch\" type=\"search\" tag=\"input\" placeholder={{$:/language/Search/Search}} class=\"jd-searchbar\"/>\n</$linkcatcher>\n</$keyboard>\n<div class=\"jd-search-buttons\">\n<$list filter=\"[[$:/temp/advancedsearch]!text[]]\" variable=\"statecheck\">\n<<NewTidBtn \"$:/temp/advancedsearch\">>\n</$list>\n{{$:/core/ui/AdvancedSearch/Filter/FilterButtons/delete}}\n{{$:/core/ui/AdvancedSearch/Filter/FilterButtons/dropdown}}\n{{$:/core/ui/AdvancedSearch/Filter/FilterButtons/export}}\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##radbuttop\" text=\"fixedsearch\">\n{{$:/core/ui/AdvancedSearch/Filter/FilterButtons/clear}} \n</$reveal>\n<$reveal type=\"nomatch\" state=\"$:/plugins/jd/mob/config/config##radbuttop\" text=\"fixedsearch\">\n<$button class=\"tc-btn-invisible\" tooltip=\"Clear and hide searchbar\">\n<<jdconfig searchbar no>>\n<<jdconfig topbar {{$:/plugins/jd/mob/config/config##topbarchoice}}>>\n<$action-setfield $tiddler=\"$:/temp/advancedsearch\" text=\"\"/>\n<$action-setfield $tiddler=\"$:/temp/search\" text=\"\"/>\n{{$:/core/images/close-button}}\n</$button>\n</$reveal>\n</div>\n<div class=\"jd-search-results\">\n<!--STANDARD-->\n<$list filter=\"[[$:/temp/advancedsearch]!text[]]\" variable=\"statecheck\">\n<br>\n<$list filter=\"[{$:/temp/advancedsearch}minlength{$:/config/Search/MinLength}limit[1]]\" emptyMessage=\"\"\"{{$:/language/Search/Search/TooShort}}\"\"\" variable=\"listItem\">\n<$set name=\"searchTiddler\" value=\"$:/temp/advancedsearch\">\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]butfirst[]limit[1]]\" emptyMessage=\"\"\"\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]\">\n<$transclude/>\n</$list>\n\"\"\">\n<$macrocall $name=\"tabs\" tabsList=\"[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]\" default={{$:/config/SearchResults/Default}}/>\n</$list>\n</$set>\n</$list>\n</$list>\n<!--STANDARD-->\n<!--FILTER-->\n<$list filter=\"[[$:/temp/advancedsearch]!text[]]\" variable=\"statecheck\">\n<br><br>\n<$set name=\"resultCount\" value=\"\"\"<$count filter={{$:/temp/advancedsearch}}/>\"\"\">\nFilter search: <<lingo Filter/Matches>>\n<$list filter={{$:/temp/advancedsearch}} template=\"$:/core/ui/ListItemTemplate\"/>\n</$set>\n</$list>\n<!--FILTER-->\n<!--SYSTEM-->\n<$list filter=\"[[$:/temp/advancedsearch]!text[]]\" variable=\"statecheck\">\n<br>\n<$list filter=\"[{$:/temp/advancedsearch}minlength{$:/config/Search/MinLength}limit[1]]\" variable=\"listItem\">\n<$set name=\"resultCount\" value=\"\"\"<$count filter=\"[is[system]search{$:/temp/advancedsearch}] -[[$:/temp/advancedsearch]]\"/>\"\"\">\nSystem search: <<lingo System/Matches>>\n<$list filter=\"[is[system]search{$:/temp/advancedsearch}sort[title]limit[250]] -[[$:/temp/advancedsearch]]\" template=\"$:/core/ui/ListItemTemplate\"/>\n</$set>\n</$list>\n</$list>\n<!--SYSTEM-->\n<!--SHADOWS-->\n<$list filter=\"[[$:/temp/advancedsearch]!text[]]\" variable=\"statecheck\">\n<br>\n<$list filter=\"[{$:/temp/advancedsearch}minlength{$:/config/Search/MinLength}limit[1]]\" variable=\"listItem\">\n<$set name=\"resultCount\" value=\"\"\"<$count filter=\"[all[shadows]search{$:/temp/advancedsearch}] -[[$:/temp/advancedsearch]]\"/>\"\"\">\nShadows search: <<lingo Shadows/Matches>>\n<$list filter=\"[all[shadows]search{$:/temp/advancedsearch}sort[title]limit[250]] -[[$:/temp/advancedsearch]]\" template=\"$:/core/ui/ListItemTemplate\"/>\n</$set>\n</$list>\n</$list>\n<!--SHADOWS-->\n</div>\n</div>\n</$reveal>\n</$reveal>", "title": "$:/plugins/jd/mob/template/search", "tags": "$:/tags/PageTemplate", "modifier": "JD", "modified": "20180903123722931" }, "$:/plugins/jd/mob/config/misc": { "created": "20171122140327337", "creator": "JD", "text": "<h2>Miscellaneous</h2>\n<h3>Config button</h3>\n<$checkbox tiddler=\"$:/config/jd/mobbutton/visibility/$:/plugins/jd/mob/button/config\" field=\"text\" checked=\"show\" unchecked=\"hide\" default=\"show\"/> Show {{$:/core/images/theme-button}} button at ''Controls'' / ''Mobbuttons''\n<br><br>\n<hr>\n<h3>Scrollbars</h3>\n<$button class=\"tc-btn-invisible\">\n<<jdconfig scrollbars hide>>\n<<jdradbut scrollbars hide>>\n</$button> Invisible scrollbars\n<br>\n<$button class=\"tc-btn-invisible\">\n<<jdconfig scrollbars show>>\n<<jdradbut scrollbars show>>\n</$button> Visible scrollbars\n<br><br>\n<hr>\n<h3>Focus</h3>\n<p>Here we can hide the hightlight / outline on focused text inputs and buttons</p>\n<$button class=\"tc-btn-invisible\">\n<<jdconfig focus show>>\n<<jdradbut focus show>>\n</$button> Default\n<br>\n<$button class=\"tc-btn-invisible\">\n<<jdconfig focus hide>>\n<<jdradbut focus hide>>\n</$button> Hide focus\n<br><br>\n<hr>\n<h3>Story river</h3>\nHere we can try to stop the fist tiddler in the story river from scrolling past the topbar\n<br>\n''Side effects:''\n<br>\n<li>For ''classic'' and ''pop'' story view: tiddlers won't automatically scroll into view on link click</li>\n<li>Browser search bar won't automatically hide on scroll up (tested on Chrome for Android)</li>\n<br>\n<$button class=\"tc-btn-invisible\">\n<<jdconfig storyfix yes>>\n<<jdradbut storyfix yes>>\n</$button> Apply \n<br>\n<$button class=\"tc-btn-invisible\">\n<<jdconfig storyfix no>>\n<<jdradbut storyfix no>>\n</$button> Don't apply\n<br><br>\n<hr>\n<h3>Restore defaults</h3>\n<div class=\"jd-bq\">\n<p>\nTo reset to...\n</p>\n<p>\nDefault font size, Visible scrollbars, ''Simple searchbar'' on top, ''Controls'' on bottom, ''Simple searchbar button'' on controls, Story river hack not applied...\n</p>\n<p>\nClick:\n</p>\n<p>\n<$reveal type=\"nomatch\" state=\"$:/plugins/jd/mob/config/config##defaultconfirm\" text=\"confirm\">\n<$button class=\"jd-btn-txt\">\n<<jdconfig defaultconfirm confirm>>\nRestore defaults\n</$button>\n</$reveal>\n<$reveal type=\"match\" state=\"$:/plugins/jd/mob/config/config##defaultconfirm\" text=\"confirm\">\n<$button class=\"jd-btn-txt\">\n<<setJDmobdefaults>>\n<<jdconfig defaultconfirm cancel>>\nConfirm\n</$button>\n<$button class=\"jd-btn-txt\">\n<<jdconfig defaultconfirm cancel>>\nCancel\n</$button>\n</$reveal>\n</p>\n</div>\n<br>", "title": "$:/plugins/jd/mob/config/misc", "tags": "$:/tags/jd/config", "modified": "20171122141012375", "modifier": "JD", "caption": "Miscellaneous" } } }
<$button tooltip="Configure JD mobile layout" class="tc-btn-invisible">{{$:/core/images/theme-button}}<$action-sendmessage $message="tm-modal" $param="$:/plugins/jd/mob/config"/></$button>
freshinstall: no defaultconfirm: cancel configtype: htabs fontsize: default scrollbars: show barpreset: 4 storyfix: yes titlebaradjust: no topbar: fixedsearch topbarchoice: hide searchbar: yes radbuttop: fixedsearch searchbarchoice: simple bottombar: controls radbuttopfixedsearchops: hide radbuttopcontrolsops: hide radbuttopmobbuttonsops: hide radbuttoptitleops: hide bottombarcontrolsops: hide bottombarmobbuttonsops: hide barpreset1ops: hide barpreset2ops: hide barpreset3ops: hide barpreset4ops: hide searchbutton: simple focus: show
/** agneuhold: This actually uses wikitext to help define variables **/ @media print { .tc-sidebar-scrollable, .jd-search, .jd-topbar, .jd-bottombar { display: none; } } /** CONFIG RADIO BUTTONS **/ .radbutton, .radbuttoff { display: inline-block; height: 12px; width: 12px; border: 2px solid <<colour muted-foreground>>; -webkit-transition-duration: {{$:/config/AnimationDuration}}ms; -moz-transition-duration: {{$:/config/AnimationDuration}}ms; -ms-transition-duration: {{$:/config/AnimationDuration}}ms; -o-transition-duration: {{$:/config/AnimationDuration}}ms; transition-duration: {{$:/config/AnimationDuration}}ms; } .radbutton { background: <<colour primary>>; } .radbuttoff { background: <<colour muted-foreground>>; } .radbutton:hover, .radbuttoff:hover { border: 2px solid <<colour primary>>; background: <<colour primary>>; } .jd-bq { margin: 5px; padding: 5px; border: 1px solid <<colour tab-border>>; } .jd-bq, .radbutton, .radbuttoff { -webkit-border-radius: 6px; -moz-border-radius: 6px; -ms-border-radius: 6px; -o-border-radius: 6px; border-radius: 6px; } .jd-btn-txt { border: none; background: none; font-size: inherit; text-decoration: underline; padding: 0; margin: 0; } .jd-btn-txt:hover { text-decoration: none; } @media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) { .jd-topbar, .jd-bottombar, .jd-search { display: none; } } @media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) { .tc-topbar { display: none ; } .tc-tags-wrapper { margin: 5px 0 ; } /** NOTIFICATIONS **/ .tc-notification { position: fixed; top: 60px ; right: 10px ; z-index: {{!!z-bar}} ; } .tc-modal { top: 50px ; left: 50px ; right: 50px ; } /* .tc-modal-body { max-height: calc(100vh - 200px) ; } .tc-modal-wrapper, .tc-plugin-reload-warning { z-index: {{!!z-notif}} ; } */ /** STORY RIVER **/ .tc-story-river { margin: 0 ; padding-top: 0 ; } <$reveal type="match" state="$:/plugins/jd/mob/config/config##storyfix" text="no"> <$reveal type="nomatch" state="$:/plugins/jd/mob/config/config##topbar" text="hide"> @media print { .tc-story-river { margin-top: 0 ; } } @media screen { .tc-story-river { margin-top: 50px ; } } </$reveal> <$reveal type="nomatch" state="$:/plugins/jd/mob/config/config##bottombar" text="hide"> .tc-story-river { margin-bottom: 50px ; } </$reveal> </$reveal> <$reveal type="match" state="$:/plugins/jd/mob/config/config##storyfix" text="yes"> .tc-story-river { width: 100% ; position: fixed ; left: 0 ; overflow-y: auto ; } <$reveal type="nomatch" state="$:/plugins/jd/mob/config/config##topbar" text="hide"> <$reveal type="match" state="$:/plugins/jd/mob/config/config##bottombar" text="hide"> .tc-story-river { top: 50px ; height: calc(100% - 50px) ; } </$reveal> <$reveal type="nomatch" state="$:/plugins/jd/mob/config/config##bottombar" text="hide"> .tc-story-river { top: 50px ; height: calc(100% - 100px) ; } </$reveal> </$reveal> <$reveal type="match" state="$:/plugins/jd/mob/config/config##topbar" text="hide"> <$reveal type="match" state="$:/plugins/jd/mob/config/config##bottombar" text="hide"> .tc-story-river { top: 0 ; height: 100% ; } </$reveal> <$reveal type="nomatch" state="$:/plugins/jd/mob/config/config##bottombar" text="hide"> .tc-story-river { top: 0 ; height: calc(100% - 50px) ; } </$reveal> </$reveal> </$reveal> .tc-tiddler-frame { margin-bottom: 2px ; padding: 15px 10px; overflow: auto; } /** POPUPS AND DROPDOWNS INSIDE VIEW AREA **/ /* .tc-drop-down, .tc-block-dropdown { position: fixed ; top: 50% ; left: 50% ; text-align: left; white-space: normal ; max-height: calc(100% - 160px) ; min-width: calc(100% - 90px) ; max-width: calc(100% - 60px) ; -webkit-transform: translate(-50%, -50%) ; -moz-transform: translate(-50%, -50%) ; -ms-transform: translate(-50%, -50%) ; -o-transform: translate(-50%, -50%) ; transform: translate(-50%, -50%) ; -webkit-box-shadow: 0 0 10px 5px rgba(0,0,0,0.5); -moz-box-shadow: 0 0 10px 5px rgba(0,0,0,0.5); -ms-box-shadow: 0 0 10px 5px rgba(0,0,0,0.5); -o-box-shadow: 0 0 10px 5px rgba(0,0,0,0.5); box-shadow: 0 0 10px 5px rgba(0,0,0,0.5); overflow: auto ; /* z-index: {{!!z-dropdown}} ; */ } */ .tc-menu-list-item { padding-left: 5px; text-indent: -5px; white-space: normal ; word-wrap: break-word ; -webkit-word-break: break-all ; -moz-word-break: break-all ; -ms-word-break: break-all ; -o-word-break: break-all ; word-break: break-all ; } .tc-edit-type-dropdown { overflow: auto; } /** SCROLLBARS **/ <$reveal type="match" state="$:/plugins/jd/mob/config/config##scrollbars" text="hide"> body { -ms-overflow-style: -ms-autohiding-scrollbar; } div::-webkit-scrollbar, .tc-edit-type-dropdown::-webkit-scrollbar, .tc-block-dropdown::-webkit-scrollbar, .tc-drop-down::-webkit-scrollbar, .jd-search-results::-webkit-scrollbar, .tc-story-river::-webkit-scrollbar, .tc-sidebar-scrollable::-webkit-scrollbar { background: transparent; width: 0; } </$reveal> <$reveal type="match" state="$:/plugins/jd/mob/config/config##scrollbars" text="show"> body { scrollbar-face-color: <<colour background>>; scrollbar-arrow-color: <<colour page-background>>; scrollbar-track-color: <<colour page-background>>; scrollbar-shadow-color: <<colour page-background>>; } div::-webkit-scrollbar, .tc-edit-type-dropdown::-webkit-scrollbar, .tc-block-dropdown::-webkit-scrollbar, .tc-drop-down::-webkit-scrollbar, .tc-story-river::-webkit-scrollbar, .tc-sidebar-scrollable::-webkit-scrollbar { background: <<colour background>>; width: 6px; -webkit-border-radius: 3px; border-radius: 3px; } div::-webkit-scrollbar-thumb, .tc-edit-type-dropdown::-webkit-scrollbar-thumb, .tc-block-dropdown::-webkit-scrollbar-thumb, .tc-drop-down::-webkit-scrollbar-thumb, .jd-search-results::-webkit-scrollbar, .tc-story-river::-webkit-scrollbar-thumb, .tc-sidebar-scrollable::-webkit-scrollbar-thumb { background: <<colour page-background>>; width: 6px; -webkit-border-radius: 3px; border-radius: 3px; } .jd-search-results::-webkit-scrollbar-thumb { background: <<colour primary>>; width: 6px; -webkit-border-radius: 3px; border-radius: 3px; } </$reveal> /** FOCUS **/ <$reveal type="match" state="$:/plugins/jd/mob/config/config##focus" text="hide"> textarea:focus, select:focus, button:focus, input:focus { outline: none; } </$reveal> /** TOPBAR & BOTTOMBAR **/ .jd-topbar, .jd-bottombar { width: 100%; position: fixed; left: 0; background: <<colour page-background>>; overflow: hidden; z-index: {{!!z-bar}}; } .jd-topbar { top: 0; height: 50px; } .jd-bottombar { bottom: 0; } /** SEARCH **/ /* .jd-search { z-index: {{!!z-search}}; } */ .jd-search-results { background: <<colour page-background>>; width: 100%; position: fixed; top: 50px; left: 0; margin: 0; padding: 0 10px; overflow-y: auto; z-index: 20; } <$reveal type="nomatch" state="$:/plugins/jd/mob/config/config##bottombar" text="hide"> .jd-search-results { max-height: calc(100% - 100px); } </$reveal> <$reveal type="match" state="$:/plugins/jd/mob/config/config##bottombar" text="hide"> .jd-search-results { max-height: calc(100% - 50px); } </$reveal> .jd-searchwrapper { background: <<colour page-background>>; position: fixed; top: 0; left: 0; width: 100%; height: 50px; /* z-index: -1; */ } .jd-searchbar { width: calc(100% - 20px); height: 30px; position: fixed; top: 0; left: 0; font-size: 16px ; background: transparent ; border: none; border-bottom: 2px solid<<colour primary>>; padding: 0 140px 0 10px; margin: 10px; } .jd-search-buttons { width: 140px; position: fixed; top: 12px; right: 0; background: <<colour page-background>>; border: transparent; margin-right: 20px; text-align: right; vertical-align: middle; } .jd-search-buttons { /* z-index: 15; */ } .jd-search-buttons .tc-popup-keep, .jd-search-buttons .tc-btn-invisible { font-size: 18px; background: transparent; border: transparent; cursor: pointer; } .jd-search-buttons .tc-btn-invisible { margin-left: 8px; } /** CONTROLS **/ .jd-title-controls { display: flex; justify-content: space-between; margin: 10px; } .jd-search-buttons button, .jd-title-controls button { fill: <<colour sidebar-controls-foreground>>; font-size: 1.6em; -webkit-transition-duration: {{$:/config/AnimationDuration}}ms; -moz-transition-duration: {{$:/config/AnimationDuration}}ms; -ms-transition-duration: {{$:/config/AnimationDuration}}ms; -o-transition-duration: {{$:/config/AnimationDuration}}ms; transition-duration: {{$:/config/AnimationDuration}}ms; } .jd-search-buttons button:hover, .jd-title-controls button:hover { fill: <<colour sidebar-controls-foreground-hover>>; } .jd-topbar .tc-page-controls, .jd-bottombar .tc-page-controls { display: flex; justify-content: space-between; height: 30px; margin: 10px; } .tc-page-controls button { margin: 0 ;} /** TITLEBAR **/ .jd-title-wrapper .tc-site-title, .jd-title-wrapper .tc-site-subtitle { position: absolute; left: 50%; text-align: center; -webkit-transform: translate(-50%, 50%); -moz-transform: translate(-50%, 50%); -ms-transform: translate(-50%, 50%); -o-transform: translate(-50%, 50%); transform: translate(-50%, 50%); } .jd-title-wrapper .tc-site-subtitle { width: calc(100% - 100px); } /** SIDEBAR LISTS **/ .tc-sidebar-scrollable .tc-site-title, .tc-sidebar-scrollable .tc-site-subtitle, .tc-sidebar-scrollable .tc-page-controls, .tc-sidebar-scrollable .tc-search { display: none; } .tc-sidebar-header { padding: 0 ; } <$reveal state="$:/state/sidebar" type="nomatch" text="no"> .tc-sidebar-scrollable { background: <<colour background>>; width: 100%; position: fixed; left: 0; z-index: {{!!z-sidebar}}; overflow: auto ; } </$reveal> <$reveal type="match" state="$:/state/sidebar" text="no"> .tc-sidebar-scrollable { display:none; } .tc-tab-set { overflow-y: auto ; } </$reveal> <$reveal type="nomatch" state="$:/plugins/jd/mob/config/config##topbar" text="hide"> <$reveal type="match" state="$:/plugins/jd/mob/config/config##bottombar" text="hide"> .tc-sidebar-scrollable { top: 50px ; height: calc(100% - 50px) ; } .tc-sidebar-scrollable .tc-tab-buttons { top: 50px; } </$reveal> <$reveal type="nomatch" state="$:/plugins/jd/mob/config/config##bottombar" text="hide"> .tc-sidebar-scrollable { top: 50px ; height: calc(100% - 100px) ; } .tc-sidebar-scrollable .tc-tab-buttons { top: 50px; } </$reveal> </$reveal> <$reveal type="match" state="$:/plugins/jd/mob/config/config##topbar" text="hide"> <$reveal type="match" state="$:/plugins/jd/mob/config/config##bottombar" text="hide"> .tc-sidebar-scrollable { top: 0; height: 100%; } </$reveal> <$reveal type="nomatch" state="$:/plugins/jd/mob/config/config##bottombar" text="hide"> .tc-sidebar-scrollable { top: 0; height: calc(100% - 50px); } </$reveal> </$reveal> /** SIDEBAR LISTS BUTTONS **/ .tc-sidebar-scrollable .tc-tab-buttons { margin: 10px; } .tc-sidebar-scrollable .tc-tab-content { margin: 10px ; border: 0 ; } /** ADJUSTABLE FONTS AND HEIGHTS **/ <$reveal type="match" state="$:/plugins/jd/mob/config/config##titlebaradjust" text="no"> .jd-title-wrapper .tc-site-title { top: -3px; font-size: 18px; } .jd-title-wrapper .tc-site-subtitle { top: 15px; font-size: 12px; } </$reveal> <$reveal type="match" state="$:/plugins/jd/mob/config/config##titlebaradjust" text="yes"> .jd-title-wrapper .tc-site-title { top: {{!!height-sitetitle}}; font-size: {{!!font-sitetitle}}; } .jd-title-wrapper .tc-site-subtitle { top: {{!!height-subsitetitle}}; font-size: {{!!font-subsitetitle}}; } </$reveal> <$reveal type="nomatch" state="$:/plugins/jd/mob/config/config##fontsize" text="default"> .tc-tiddler-view-frame h2.tc-title, input.tc-titlebar.tc-edit-texteditor { font-size: {{!!font-title}} ; } .tc-tiddler-view-frame .tc-subtitle { font-size: calc({{!!font-body}} - 4px) ; } h1, h1 a { font-size: calc({{!!font-body}} + 6px) ; } h2, h2 a { font-size: calc({{!!font-body}} + 4px) ; } h3, h3 a { font-size: calc({{!!font-body}} + 2px) ; } h4, a, li, table, input, textarea, select, .tc-tiddler-preview-preview p, .tc-tiddler-view-frame p, .tc-modal p, .tc-btn-text, .jd-search-results, .tc-tab-content, .tc-modal-header h3 { font-size: {{!!font-body}} ; line-height: {{!!lineheight}} ; } button.tc-btn-invisible.tc-remove-tag-button, .tc-tag-label.tc-btn-invisible { font-size: calc({{!!font-body}} - 4px) ; } .tc-tab-buttons button, .tc-tab-buttons.tc-vertical button, .tc-sidebar-scrollable .tc-tab-buttons button, .tc-sidebar-scrollable .tc-tab-buttons.tc-vertical button { font-size: {{!!font-tab-button}} ; } .tc-btn-invisible, .tc-tiddler-controls button, .tc-tiddler-controls button svg, .tc-tiddler-controls button img, .tc-image-buttons, .tc-page-controls { font-size: {{!!font-button}} ; } .tc-tiddler-controls button svg, .tc-tiddler-controls button img, .tc-image-buttons { height: {{!!font-button}} ; width: {{!!font-button}} ; } </$reveal> }
{ "tiddlers": { "$:/plugins/reidgould/shortid/shortid-macro.js": { "text": "/*\\\ntitle: $:/plugins/reidgould/shortid/shortid-macro.js\ntype: application/javascript\nmodule-type: macro\nMacro to return a short, URL friendly, unique id.\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\n/*\nInformation about this macro\n*/\n\nexports.name = \"shortid\";\n\nexports.params = [\n \"prefix\"\n];\n\n/*\nRun the macro\n*/\nexports.run = function(prefix) {\n let id = $tw.utils.shortid.generate();\n return prefix ? prefix + id : id;\n};\n\n})();\n", "title": "$:/plugins/reidgould/shortid/shortid-macro.js", "type": "application/javascript", "module-type": "macro" }, "$:/plugins/reidgould/shortid/shortid-util.js": { "text": "/*\\\r\ntitle: $:/plugins/reidgould/shortid/shortid-util.js\r\ntype: application/javascript\r\nmodule-type: utils\r\nBundle of the shortid package for tiddlywiki.\r\n\\*/\r\n\n!function(t,r){for(var e in r)t[e]=r[e]}(exports,function(t){function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var e={};return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,\"a\",e),e},r.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},r.p=\"\",r(r.s=2)}([function(t,r,e){\"use strict\";function n(){p=!1}function o(t){if(!t)return void(a!==d&&(a=d,n()));if(t!==a){if(t.length!==d.length)throw new Error(\"Custom alphabet for shortid must be \"+d.length+\" unique characters. You submitted \"+t.length+\" characters: \"+t);var r=t.split(\"\").filter(function(t,r,e){return r!==e.lastIndexOf(t)});if(r.length)throw new Error(\"Custom alphabet for shortid must be \"+d.length+\" unique characters. These characters were not unique: \"+r.join(\", \"));a=t,n()}}function u(t){return o(t),a}function i(t){h.seed(t),l!==t&&(n(),l=t)}function s(){a||o(d);for(var t,r=a.split(\"\"),e=[],n=h.nextValue();r.length>0;)n=h.nextValue(),t=Math.floor(n*r.length),e.push(r.splice(t,1)[0]);return e.join(\"\")}function c(){return p||(p=s())}function f(t){return c()[t]}var a,l,p,h=e(6),d=\"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-\";t.exports={characters:u,seed:i,lookup:f,shuffled:c}},function(t,r,e){\"use strict\";function n(t,r){for(var e,n=0,u=\"\";!e;)u+=t(r>>4*n&15|o()),e=r<Math.pow(16,n+1),n++;return u}var o=e(7);t.exports=n},function(t,r,e){t.exports=e(3)},function(t,r,e){var n=e(4),o=function(){};Object.defineProperty(o,\"generate\",{configurable:!1,enumerable:!1,writable:!1,value:n.generate}),r.shortid=o},function(t,r,e){\"use strict\";t.exports=e(5)},function(t,r,e){\"use strict\";function n(r){return s.seed(r),t.exports}function o(r){return l=r,t.exports}function u(t){return void 0!==t&&s.characters(t),s.shuffled()}function i(){return f(l)}var s=e(0),c=(e(1),e(8)),f=e(9),a=e(10),l=e(11)||0;t.exports=i,t.exports.generate=i,t.exports.seed=n,t.exports.worker=o,t.exports.characters=u,t.exports.decode=c,t.exports.isValid=a},function(t,r,e){\"use strict\";function n(){return(u=(9301*u+49297)%233280)/233280}function o(t){u=t}var u=1;t.exports={nextValue:n,seed:o}},function(t,r,e){\"use strict\";function n(){if(!o||!o.getRandomValues)return 48&Math.floor(256*Math.random());var t=new Uint8Array(1);return o.getRandomValues(t),48&t[0]}var o=\"object\"==typeof window&&(window.crypto||window.msCrypto);t.exports=n},function(t,r,e){\"use strict\";function n(t){var r=o.shuffled();return{version:15&r.indexOf(t.substr(0,1)),worker:15&r.indexOf(t.substr(1,1))}}var o=e(0);t.exports=n},function(t,r,e){\"use strict\";function n(t){var r=\"\",e=Math.floor(.001*(Date.now()-c));return e===u?o++:(o=0,u=e),r+=i(s.lookup,f),r+=i(s.lookup,t),o>0&&(r+=i(s.lookup,o)),r+=i(s.lookup,e)}var o,u,i=e(1),s=e(0),c=1459707606518,f=6;t.exports=n},function(t,r,e){\"use strict\";function n(t){if(!t||\"string\"!=typeof t||t.length<6)return!1;for(var r=o.characters(),e=t.length,n=0;n<e;n++)if(-1===r.indexOf(t[n]))return!1;return!0}var o=e(0);t.exports=n},function(t,r,e){\"use strict\";t.exports=0}]));", "title": "$:/plugins/reidgould/shortid/shortid-util.js", "type": "application/javascript", "module-type": "utils" }, "$:/plugins/reidgould/shortid/ReadMe": { "title": "$:/plugins/reidgould/shortid/ReadMe", "type": "text/x-markdown", "text": "# shortid Plugin\n\nThe [shortid](https://github.com/dylang/shortid) package bundled as a macro for TiddlyWiki.\n\nSource found at:\nhttps://github.com/reidgould/tiddlywiki-shortid-plugin\n\n## Usage:\n\nIn wikitext:\n\n`<<shortid>>`\n\nReturns a short id.\n\nUsing parameter \"prefix\":\n\n`<<shortid \"prefix/text/\">>`\n\n`<$macrocall $name=\"shortid\" prefix=\"prefix/text/\" />`\n\nReturns a short id prefixed with the passed value.\n\n## Attribution:\n\n### shortid copyright:\n> Copyright (c) 2016 Dylan Greene, contributors.\n\n### shortid license:\n> Copyright (c) Dylan Greene\n> All rights reserved.\n>\n> MIT +no-false-attribs License\n>\n> Permission is hereby granted, free of charge, to any person\n> obtaining a copy of this software and associated documentation\n> files (the \"Software\"), to deal in the Software without\n> restriction, including without limitation the rights to use,\n> copy, modify, merge, publish, distribute, sublicense, and/or sell\n> copies of the Software, and to permit persons to whom the\n> Software is furnished to do so, subject to the following\n> conditions:\n>\n> The above copyright notice and this permission notice shall be\n> included in all copies or substantial portions of the Software.\n>\n> Distributions of all or part of the Software intended to be used\n> by the recipients as they would use the unmodified Software,\n> containing modifications that substantially alter, remove, or\n> disable functionality of the Software, outside of the documented\n> configuration mechanisms provided by the Software, shall be\n> modified such that the Original Author's bug reporting email\n> addresses and urls are either replaced with the contact information\n> of the parties responsible for the changes, or removed entirely.\n>\n> THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n> OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n> HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n> WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n> FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n> OTHER DEALINGS IN THE SOFTWARE.\n" }, "$:/plugins/reidgould/shortid/license": { "title": "$:/plugins/reidgould/shortid/license", "type": "text/plain", "text": "shortid plugin created by Reid Gould, (reidgould [at] gmail [dot] com)\n\nCopyright (c) 2017, Reid Gould\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.\n" } } }
{ "tiddlers": { "$:/config/HighlightPlugin/TypeMappings/application/javascript": { "title": "$:/config/HighlightPlugin/TypeMappings/application/javascript", "text": "javascript" }, "$:/config/HighlightPlugin/TypeMappings/application/json": { "title": "$:/config/HighlightPlugin/TypeMappings/application/json", "text": "json" }, "$:/config/HighlightPlugin/TypeMappings/text/css": { "title": "$:/config/HighlightPlugin/TypeMappings/text/css", "text": "css" }, "$:/config/HighlightPlugin/TypeMappings/text/html": { "title": "$:/config/HighlightPlugin/TypeMappings/text/html", "text": "html" }, "$:/config/HighlightPlugin/TypeMappings/image/svg+xml": { "title": "$:/config/HighlightPlugin/TypeMappings/image/svg+xml", "text": "xml" }, "$:/config/HighlightPlugin/TypeMappings/text/x-markdown": { "title": "$:/config/HighlightPlugin/TypeMappings/text/x-markdown", "text": "markdown" }, "$:/plugins/tiddlywiki/highlight/highlight.js": { "text": "var hljs = require(\"$:/plugins/tiddlywiki/highlight/highlight.js\");\n/*! highlight.js v9.15.6 | BSD3 License | git.io/hljslicense */\n!function(e){var n=\"object\"==typeof window&&window||\"object\"==typeof self&&self;\"undefined\"!=typeof exports?e(exports):n&&(n.hljs=e({}),\"function\"==typeof define&&define.amd&&define([],function(){return n.hljs}))}(function(a){var E=[],u=Object.keys,N={},g={},n=/^(no-?highlight|plain|text)$/i,R=/\\blang(?:uage)?-([\\w-]+)\\b/i,t=/((^(<[^>]+>|\\t|)+|(?:\\n)))/gm,r={case_insensitive:\"cI\",lexemes:\"l\",contains:\"c\",keywords:\"k\",subLanguage:\"sL\",className:\"cN\",begin:\"b\",beginKeywords:\"bK\",end:\"e\",endsWithParent:\"eW\",illegal:\"i\",excludeBegin:\"eB\",excludeEnd:\"eE\",returnBegin:\"rB\",returnEnd:\"rE\",relevance:\"r\",variants:\"v\",IDENT_RE:\"IR\",UNDERSCORE_IDENT_RE:\"UIR\",NUMBER_RE:\"NR\",C_NUMBER_RE:\"CNR\",BINARY_NUMBER_RE:\"BNR\",RE_STARTERS_RE:\"RSR\",BACKSLASH_ESCAPE:\"BE\",APOS_STRING_MODE:\"ASM\",QUOTE_STRING_MODE:\"QSM\",PHRASAL_WORDS_MODE:\"PWM\",C_LINE_COMMENT_MODE:\"CLCM\",C_BLOCK_COMMENT_MODE:\"CBCM\",HASH_COMMENT_MODE:\"HCM\",NUMBER_MODE:\"NM\",C_NUMBER_MODE:\"CNM\",BINARY_NUMBER_MODE:\"BNM\",CSS_NUMBER_MODE:\"CSSNM\",REGEXP_MODE:\"RM\",TITLE_MODE:\"TM\",UNDERSCORE_TITLE_MODE:\"UTM\",COMMENT:\"C\",beginRe:\"bR\",endRe:\"eR\",illegalRe:\"iR\",lexemesRe:\"lR\",terminators:\"t\",terminator_end:\"tE\"},b=\"</span>\",h={classPrefix:\"hljs-\",tabReplace:null,useBR:!1,languages:void 0};function _(e){return e.replace(/&/g,\"&\").replace(/</g,\"<\").replace(/>/g,\">\")}function d(e){return e.nodeName.toLowerCase()}function v(e,n){var t=e&&e.exec(n);return t&&0===t.index}function p(e){return n.test(e)}function l(e){var n,t={},r=Array.prototype.slice.call(arguments,1);for(n in e)t[n]=e[n];return r.forEach(function(e){for(n in e)t[n]=e[n]}),t}function M(e){var a=[];return function e(n,t){for(var r=n.firstChild;r;r=r.nextSibling)3===r.nodeType?t+=r.nodeValue.length:1===r.nodeType&&(a.push({event:\"start\",offset:t,node:r}),t=e(r,t),d(r).match(/br|hr|img|input/)||a.push({event:\"stop\",offset:t,node:r}));return t}(e,0),a}function i(e){if(r&&!e.langApiRestored){for(var n in e.langApiRestored=!0,r)e[n]&&(e[r[n]]=e[n]);(e.c||[]).concat(e.v||[]).forEach(i)}}function m(c){function s(e){return e&&e.source||e}function o(e,n){return new RegExp(s(e),\"m\"+(c.cI?\"i\":\"\")+(n?\"g\":\"\"))}!function n(t,e){if(!t.compiled){if(t.compiled=!0,t.k=t.k||t.bK,t.k){var r={},a=function(t,e){c.cI&&(e=e.toLowerCase()),e.split(\" \").forEach(function(e){var n=e.split(\"|\");r[n[0]]=[t,n[1]?Number(n[1]):1]})};\"string\"==typeof t.k?a(\"keyword\",t.k):u(t.k).forEach(function(e){a(e,t.k[e])}),t.k=r}t.lR=o(t.l||/\\w+/,!0),e&&(t.bK&&(t.b=\"\\\\b(\"+t.bK.split(\" \").join(\"|\")+\")\\\\b\"),t.b||(t.b=/\\B|\\b/),t.bR=o(t.b),t.endSameAsBegin&&(t.e=t.b),t.e||t.eW||(t.e=/\\B|\\b/),t.e&&(t.eR=o(t.e)),t.tE=s(t.e)||\"\",t.eW&&e.tE&&(t.tE+=(t.e?\"|\":\"\")+e.tE)),t.i&&(t.iR=o(t.i)),null==t.r&&(t.r=1),t.c||(t.c=[]),t.c=Array.prototype.concat.apply([],t.c.map(function(e){return(n=\"self\"===e?t:e).v&&!n.cached_variants&&(n.cached_variants=n.v.map(function(e){return l(n,{v:null},e)})),n.cached_variants||n.eW&&[l(n)]||[n];var n})),t.c.forEach(function(e){n(e,t)}),t.starts&&n(t.starts,e);var i=t.c.map(function(e){return e.bK?\"\\\\.?(?:\"+e.b+\")\\\\.?\":e.b}).concat([t.tE,t.i]).map(s).filter(Boolean);t.t=i.length?o(function(e,n){for(var t=/\\[(?:[^\\\\\\]]|\\\\.)*\\]|\\(\\??|\\\\([1-9][0-9]*)|\\\\./,r=0,a=\"\",i=0;i<e.length;i++){var c=r,o=s(e[i]);for(0<i&&(a+=n);0<o.length;){var u=t.exec(o);if(null==u){a+=o;break}a+=o.substring(0,u.index),o=o.substring(u.index+u[0].length),\"\\\\\"==u[0][0]&&u[1]?a+=\"\\\\\"+String(Number(u[1])+c):(a+=u[0],\"(\"==u[0]&&r++)}}return a}(i,\"|\"),!0):{exec:function(){return null}}}}(c)}function C(e,n,o,t){function u(e,n,t,r){var a='<span class=\"'+(r?\"\":h.classPrefix);return(a+=e+'\">')+n+(t?\"\":b)}function s(){g+=null!=E.sL?function(){var e=\"string\"==typeof E.sL;if(e&&!N[E.sL])return _(R);var n=e?C(E.sL,R,!0,i[E.sL]):O(R,E.sL.length?E.sL:void 0);return 0<E.r&&(d+=n.r),e&&(i[E.sL]=n.top),u(n.language,n.value,!1,!0)}():function(){var e,n,t,r,a,i,c;if(!E.k)return _(R);for(r=\"\",n=0,E.lR.lastIndex=0,t=E.lR.exec(R);t;)r+=_(R.substring(n,t.index)),a=E,i=t,c=f.cI?i[0].toLowerCase():i[0],(e=a.k.hasOwnProperty(c)&&a.k[c])?(d+=e[1],r+=u(e[0],_(t[0]))):r+=_(t[0]),n=E.lR.lastIndex,t=E.lR.exec(R);return r+_(R.substr(n))}(),R=\"\"}function l(e){g+=e.cN?u(e.cN,\"\",!0):\"\",E=Object.create(e,{parent:{value:E}})}function r(e,n){if(R+=e,null==n)return s(),0;var t=function(e,n){var t,r,a;for(t=0,r=n.c.length;t<r;t++)if(v(n.c[t].bR,e))return n.c[t].endSameAsBegin&&(n.c[t].eR=(a=n.c[t].bR.exec(e)[0],new RegExp(a.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\"),\"m\"))),n.c[t]}(n,E);if(t)return t.skip?R+=n:(t.eB&&(R+=n),s(),t.rB||t.eB||(R=n)),l(t),t.rB?0:n.length;var r,a,i=function e(n,t){if(v(n.eR,t)){for(;n.endsParent&&n.parent;)n=n.parent;return n}if(n.eW)return e(n.parent,t)}(E,n);if(i){var c=E;for(c.skip?R+=n:(c.rE||c.eE||(R+=n),s(),c.eE&&(R=n));E.cN&&(g+=b),E.skip||E.sL||(d+=E.r),(E=E.parent)!==i.parent;);return i.starts&&(i.endSameAsBegin&&(i.starts.eR=i.eR),l(i.starts)),c.rE?0:n.length}if(r=n,a=E,!o&&v(a.iR,r))throw new Error('Illegal lexeme \"'+n+'\" for mode \"'+(E.cN||\"<unnamed>\")+'\"');return R+=n,n.length||1}var f=S(e);if(!f)throw new Error('Unknown language: \"'+e+'\"');m(f);var a,E=t||f,i={},g=\"\";for(a=E;a!==f;a=a.parent)a.cN&&(g=u(a.cN,\"\",!0)+g);var R=\"\",d=0;try{for(var c,p,M=0;E.t.lastIndex=M,c=E.t.exec(n);)p=r(n.substring(M,c.index),c[0]),M=c.index+p;for(r(n.substr(M)),a=E;a.parent;a=a.parent)a.cN&&(g+=b);return{r:d,value:g,language:e,top:E}}catch(e){if(e.message&&-1!==e.message.indexOf(\"Illegal\"))return{r:0,value:_(n)};throw e}}function O(t,e){e=e||h.languages||u(N);var r={r:0,value:_(t)},a=r;return e.filter(S).filter(s).forEach(function(e){var n=C(e,t,!1);n.language=e,n.r>a.r&&(a=n),n.r>r.r&&(a=r,r=n)}),a.language&&(r.second_best=a),r}function B(e){return h.tabReplace||h.useBR?e.replace(t,function(e,n){return h.useBR&&\"\\n\"===e?\"<br>\":h.tabReplace?n.replace(/\\t/g,h.tabReplace):\"\"}):e}function c(e){var n,t,r,a,i,c,o,u,s,l,f=function(e){var n,t,r,a,i=e.className+\" \";if(i+=e.parentNode?e.parentNode.className:\"\",t=R.exec(i))return S(t[1])?t[1]:\"no-highlight\";for(n=0,r=(i=i.split(/\\s+/)).length;n<r;n++)if(p(a=i[n])||S(a))return a}(e);p(f)||(h.useBR?(n=document.createElementNS(\"http://www.w3.org/1999/xhtml\",\"div\")).innerHTML=e.innerHTML.replace(/\\n/g,\"\").replace(/<br[ \\/]*>/g,\"\\n\"):n=e,i=n.textContent,r=f?C(f,i,!0):O(i),(t=M(n)).length&&((a=document.createElementNS(\"http://www.w3.org/1999/xhtml\",\"div\")).innerHTML=r.value,r.value=function(e,n,t){var r=0,a=\"\",i=[];function c(){return e.length&&n.length?e[0].offset!==n[0].offset?e[0].offset<n[0].offset?e:n:\"start\"===n[0].event?e:n:e.length?e:n}function o(e){a+=\"<\"+d(e)+E.map.call(e.attributes,function(e){return\" \"+e.nodeName+'=\"'+_(e.value).replace('\"',\""\")+'\"'}).join(\"\")+\">\"}function u(e){a+=\"</\"+d(e)+\">\"}function s(e){(\"start\"===e.event?o:u)(e.node)}for(;e.length||n.length;){var l=c();if(a+=_(t.substring(r,l[0].offset)),r=l[0].offset,l===e){for(i.reverse().forEach(u);s(l.splice(0,1)[0]),(l=c())===e&&l.length&&l[0].offset===r;);i.reverse().forEach(o)}else\"start\"===l[0].event?i.push(l[0].node):i.pop(),s(l.splice(0,1)[0])}return a+_(t.substr(r))}(t,M(a),i)),r.value=B(r.value),e.innerHTML=r.value,e.className=(c=e.className,o=f,u=r.language,s=o?g[o]:u,l=[c.trim()],c.match(/\\bhljs\\b/)||l.push(\"hljs\"),-1===c.indexOf(s)&&l.push(s),l.join(\" \").trim()),e.result={language:r.language,re:r.r},r.second_best&&(e.second_best={language:r.second_best.language,re:r.second_best.r}))}function o(){if(!o.called){o.called=!0;var e=document.querySelectorAll(\"pre code\");E.forEach.call(e,c)}}function S(e){return e=(e||\"\").toLowerCase(),N[e]||N[g[e]]}function s(e){var n=S(e);return n&&!n.disableAutodetect}return a.highlight=C,a.highlightAuto=O,a.fixMarkup=B,a.highlightBlock=c,a.configure=function(e){h=l(h,e)},a.initHighlighting=o,a.initHighlightingOnLoad=function(){addEventListener(\"DOMContentLoaded\",o,!1),addEventListener(\"load\",o,!1)},a.registerLanguage=function(n,e){var t=N[n]=e(a);i(t),t.aliases&&t.aliases.forEach(function(e){g[e]=n})},a.listLanguages=function(){return u(N)},a.getLanguage=S,a.autoDetection=s,a.inherit=l,a.IR=a.IDENT_RE=\"[a-zA-Z]\\\\w*\",a.UIR=a.UNDERSCORE_IDENT_RE=\"[a-zA-Z_]\\\\w*\",a.NR=a.NUMBER_RE=\"\\\\b\\\\d+(\\\\.\\\\d+)?\",a.CNR=a.C_NUMBER_RE=\"(-?)(\\\\b0[xX][a-fA-F0-9]+|(\\\\b\\\\d+(\\\\.\\\\d*)?|\\\\.\\\\d+)([eE][-+]?\\\\d+)?)\",a.BNR=a.BINARY_NUMBER_RE=\"\\\\b(0b[01]+)\",a.RSR=a.RE_STARTERS_RE=\"!|!=|!==|%|%=|&|&&|&=|\\\\*|\\\\*=|\\\\+|\\\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\\\?|\\\\[|\\\\{|\\\\(|\\\\^|\\\\^=|\\\\||\\\\|=|\\\\|\\\\||~\",a.BE=a.BACKSLASH_ESCAPE={b:\"\\\\\\\\[\\\\s\\\\S]\",r:0},a.ASM=a.APOS_STRING_MODE={cN:\"string\",b:\"'\",e:\"'\",i:\"\\\\n\",c:[a.BE]},a.QSM=a.QUOTE_STRING_MODE={cN:\"string\",b:'\"',e:'\"',i:\"\\\\n\",c:[a.BE]},a.PWM=a.PHRASAL_WORDS_MODE={b:/\\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/},a.C=a.COMMENT=function(e,n,t){var r=a.inherit({cN:\"comment\",b:e,e:n,c:[]},t||{});return r.c.push(a.PWM),r.c.push({cN:\"doctag\",b:\"(?:TODO|FIXME|NOTE|BUG|XXX):\",r:0}),r},a.CLCM=a.C_LINE_COMMENT_MODE=a.C(\"//\",\"$\"),a.CBCM=a.C_BLOCK_COMMENT_MODE=a.C(\"/\\\\*\",\"\\\\*/\"),a.HCM=a.HASH_COMMENT_MODE=a.C(\"#\",\"$\"),a.NM=a.NUMBER_MODE={cN:\"number\",b:a.NR,r:0},a.CNM=a.C_NUMBER_MODE={cN:\"number\",b:a.CNR,r:0},a.BNM=a.BINARY_NUMBER_MODE={cN:\"number\",b:a.BNR,r:0},a.CSSNM=a.CSS_NUMBER_MODE={cN:\"number\",b:a.NR+\"(%|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)?\",r:0},a.RM=a.REGEXP_MODE={cN:\"regexp\",b:/\\//,e:/\\/[gimuy]*/,i:/\\n/,c:[a.BE,{b:/\\[/,e:/\\]/,r:0,c:[a.BE]}]},a.TM=a.TITLE_MODE={cN:\"title\",b:a.IR,r:0},a.UTM=a.UNDERSCORE_TITLE_MODE={cN:\"title\",b:a.UIR,r:0},a.METHOD_GUARD={b:\"\\\\.\\\\s*\"+a.UIR,r:0},a});hljs.registerLanguage(\"json\",function(e){var i={literal:\"true false null\"},n=[e.QSM,e.CNM],r={e:\",\",eW:!0,eE:!0,c:n,k:i},t={b:\"{\",e:\"}\",c:[{cN:\"attr\",b:/\"/,e:/\"/,c:[e.BE],i:\"\\\\n\"},e.inherit(r,{b:/:/})],i:\"\\\\S\"},c={b:\"\\\\[\",e:\"\\\\]\",c:[e.inherit(r)],i:\"\\\\S\"};return n.splice(n.length,0,t,c),{c:n,k:i,i:\"\\\\S\"}});hljs.registerLanguage(\"coffeescript\",function(e){var c={keyword:\"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super yield import export from as default await then unless until loop of by when and or is isnt not\",literal:\"true false null undefined yes no on off\",built_in:\"npm require console print module global window document\"},n=\"[A-Za-z$_][0-9A-Za-z$_]*\",r={cN:\"subst\",b:/#\\{/,e:/}/,k:c},i=[e.BNM,e.inherit(e.CNM,{starts:{e:\"(\\\\s*/)?\",r:0}}),{cN:\"string\",v:[{b:/'''/,e:/'''/,c:[e.BE]},{b:/'/,e:/'/,c:[e.BE]},{b:/\"\"\"/,e:/\"\"\"/,c:[e.BE,r]},{b:/\"/,e:/\"/,c:[e.BE,r]}]},{cN:\"regexp\",v:[{b:\"///\",e:\"///\",c:[r,e.HCM]},{b:\"//[gim]*\",r:0},{b:/\\/(?![ *])(\\\\\\/|.)*?\\/[gim]*(?=\\W|$)/}]},{b:\"@\"+n},{sL:\"javascript\",eB:!0,eE:!0,v:[{b:\"```\",e:\"```\"},{b:\"`\",e:\"`\"}]}];r.c=i;var s=e.inherit(e.TM,{b:n}),t=\"(\\\\(.*\\\\))?\\\\s*\\\\B[-=]>\",o={cN:\"params\",b:\"\\\\([^\\\\(]\",rB:!0,c:[{b:/\\(/,e:/\\)/,k:c,c:[\"self\"].concat(i)}]};return{aliases:[\"coffee\",\"cson\",\"iced\"],k:c,i:/\\/\\*/,c:i.concat([e.C(\"###\",\"###\"),e.HCM,{cN:\"function\",b:\"^\\\\s*\"+n+\"\\\\s*=\\\\s*\"+t,e:\"[-=]>\",rB:!0,c:[s,o]},{b:/[:\\(,=]\\s*/,r:0,c:[{cN:\"function\",b:t,e:\"[-=]>\",rB:!0,c:[o]}]},{cN:\"class\",bK:\"class\",e:\"$\",i:/[:=\"\\[\\]]/,c:[{bK:\"extends\",eW:!0,i:/[:=\"\\[\\]]/,c:[s]},s]},{b:n+\":\",e:\":\",rB:!0,rE:!0,r:0}])}});hljs.registerLanguage(\"properties\",function(r){var t=\"[ \\\\t\\\\f]*\",e=\"(\"+t+\"[:=]\"+t+\"|[ \\\\t\\\\f]+)\",s=\"([^\\\\\\\\\\\\W:= \\\\t\\\\f\\\\n]|\\\\\\\\.)+\",n=\"([^\\\\\\\\:= \\\\t\\\\f\\\\n]|\\\\\\\\.)+\",a={e:e,r:0,starts:{cN:\"string\",e:/$/,r:0,c:[{b:\"\\\\\\\\\\\\n\"}]}};return{cI:!0,i:/\\S/,c:[r.C(\"^\\\\s*[!#]\",\"$\"),{b:s+e,rB:!0,c:[{cN:\"attr\",b:s,endsParent:!0,r:0}],starts:a},{b:n+e,rB:!0,r:0,c:[{cN:\"meta\",b:n,endsParent:!0,r:0}],starts:a},{cN:\"attr\",r:0,b:n+t+\"$\"}]}});hljs.registerLanguage(\"typescript\",function(e){var r=\"[A-Za-z$_][0-9A-Za-z$_]*\",t={keyword:\"in if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const class public private protected get set super static implements enum export import declare type namespace abstract as from extends async await\",literal:\"true false null undefined NaN Infinity\",built_in:\"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document any number boolean string void Promise\"},n={cN:\"meta\",b:\"@\"+r},a={b:\"\\\\(\",e:/\\)/,k:t,c:[\"self\",e.QSM,e.ASM,e.NM]},o={cN:\"params\",b:/\\(/,e:/\\)/,eB:!0,eE:!0,k:t,c:[e.CLCM,e.CBCM,n,a]};return{aliases:[\"ts\"],k:t,c:[{cN:\"meta\",b:/^\\s*['\"]use strict['\"]/},e.ASM,e.QSM,{cN:\"string\",b:\"`\",e:\"`\",c:[e.BE,{cN:\"subst\",b:\"\\\\$\\\\{\",e:\"\\\\}\"}]},e.CLCM,e.CBCM,{cN:\"number\",v:[{b:\"\\\\b(0[bB][01]+)\"},{b:\"\\\\b(0[oO][0-7]+)\"},{b:e.CNR}],r:0},{b:\"(\"+e.RSR+\"|\\\\b(case|return|throw)\\\\b)\\\\s*\",k:\"return throw case\",c:[e.CLCM,e.CBCM,e.RM,{cN:\"function\",b:\"(\\\\(.*?\\\\)|\"+e.IR+\")\\\\s*=>\",rB:!0,e:\"\\\\s*=>\",c:[{cN:\"params\",v:[{b:e.IR},{b:/\\(\\s*\\)/},{b:/\\(/,e:/\\)/,eB:!0,eE:!0,k:t,c:[\"self\",e.CLCM,e.CBCM]}]}]}],r:0},{cN:\"function\",b:\"function\",e:/[\\{;]/,eE:!0,k:t,c:[\"self\",e.inherit(e.TM,{b:r}),o],i:/%/,r:0},{bK:\"constructor\",e:/\\{/,eE:!0,c:[\"self\",o]},{b:/module\\./,k:{built_in:\"module\"},r:0},{bK:\"module\",e:/\\{/,eE:!0},{bK:\"interface\",e:/\\{/,eE:!0,k:\"interface extends\"},{b:/\\$[(.]/},{b:\"\\\\.\"+e.IR,r:0},n,a]}});hljs.registerLanguage(\"rust\",function(e){var t=\"([ui](8|16|32|64|128|size)|f(32|64))?\",r=\"drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec 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{aliases:[\"rs\"],k:{keyword:\"alignof as be box break const continue crate do else enum extern false fn for if impl in let loop match mod mut offsetof once priv proc pub pure ref return self Self sizeof static struct super trait true type typeof unsafe unsized use virtual while where yield move default\",literal:\"true false Some None Ok Err\",built_in:r},l:e.IR+\"!?\",i:\"</\",c:[e.CLCM,e.C(\"/\\\\*\",\"\\\\*/\",{c:[\"self\"]}),e.inherit(e.QSM,{b:/b?\"/,i:null}),{cN:\"string\",v:[{b:/r(#*)\"(.|\\n)*?\"\\1(?!#)/},{b:/b?'\\\\?(x\\w{2}|u\\w{4}|U\\w{8}|.)'/}]},{cN:\"symbol\",b:/'[a-zA-Z_][a-zA-Z0-9_]*/},{cN:\"number\",v:[{b:\"\\\\b0b([01_]+)\"+t},{b:\"\\\\b0o([0-7_]+)\"+t},{b:\"\\\\b0x([A-Fa-f0-9_]+)\"+t},{b:\"\\\\b(\\\\d[\\\\d_]*(\\\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)\"+t}],r:0},{cN:\"function\",bK:\"fn\",e:\"(\\\\(|<)\",eE:!0,c:[e.UTM]},{cN:\"meta\",b:\"#\\\\!?\\\\[\",e:\"\\\\]\",c:[{cN:\"meta-string\",b:/\"/,e:/\"/}]},{cN:\"class\",bK:\"type\",e:\";\",c:[e.inherit(e.UTM,{endsParent:!0})],i:\"\\\\S\"},{cN:\"class\",bK:\"trait enum struct union\",e:\"{\",c:[e.inherit(e.UTM,{endsParent:!0})],i:\"[\\\\w\\\\d]\"},{b:e.IR+\"::\",k:{built_in:r}},{b:\"->\"}]}});hljs.registerLanguage(\"http\",function(e){var t=\"HTTP/[0-9\\\\.]+\";return{aliases:[\"https\"],i:\"\\\\S\",c:[{b:\"^\"+t,e:\"$\",c:[{cN:\"number\",b:\"\\\\b\\\\d{3}\\\\b\"}]},{b:\"^[A-Z]+ (.*?) \"+t+\"$\",rB:!0,e:\"$\",c:[{cN:\"string\",b:\" \",e:\" \",eB:!0,eE:!0},{b:t},{cN:\"keyword\",b:\"[A-Z]+\"}]},{cN:\"attribute\",b:\"^\\\\w\",e:\": \",eE:!0,i:\"\\\\n|\\\\s|=\",starts:{e:\"$\",r:0}},{b:\"\\\\n\\\\n\",starts:{sL:[],eW:!0}}]}});hljs.registerLanguage(\"kotlin\",function(e){var t={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 trait volatile transient native default\",built_in:\"Byte Short Char Int Long Boolean Float Double Void Unit Nothing\",literal:\"true false null\"},r={cN:\"symbol\",b:e.UIR+\"@\"},a={cN:\"subst\",b:\"\\\\${\",e:\"}\",c:[e.ASM,e.CNM]},i={cN:\"variable\",b:\"\\\\$\"+e.UIR},n={cN:\"string\",v:[{b:'\"\"\"',e:'\"\"\"',c:[i,a]},{b:\"'\",e:\"'\",i:/\\n/,c:[e.BE]},{b:'\"',e:'\"',i:/\\n/,c:[e.BE,i,a]}]},c={cN:\"meta\",b:\"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\\\s*:(?:\\\\s*\"+e.UIR+\")?\"},s={cN:\"meta\",b:\"@\"+e.UIR,c:[{b:/\\(/,e:/\\)/,c:[e.inherit(n,{cN:\"meta-string\"})]}]},l={cN:\"number\",b:\"\\\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\\\d]+[\\\\d_]+[\\\\d]+|[\\\\d]+)(\\\\.([\\\\d]+[\\\\d_]+[\\\\d]+|[\\\\d]+))?|\\\\.([\\\\d]+[\\\\d_]+[\\\\d]+|[\\\\d]+))([eE][-+]?\\\\d+)?)[lLfF]?\",r:0};return{aliases:[\"kt\"],k:t,c:[e.C(\"/\\\\*\\\\*\",\"\\\\*/\",{r:0,c:[{cN:\"doctag\",b:\"@[A-Za-z]+\"}]}),e.CLCM,e.CBCM,{cN:\"keyword\",b:/\\b(break|continue|return|this)\\b/,starts:{c:[{cN:\"symbol\",b:/@\\w+/}]}},r,c,s,{cN:\"function\",bK:\"fun\",e:\"[(]|$\",rB:!0,eE:!0,k:t,i:/fun\\s+(<.*>)?[^\\s\\(]+(\\s+[^\\s\\(]+)\\s*=/,r:5,c:[{b:e.UIR+\"\\\\s*\\\\(\",rB:!0,r:0,c:[e.UTM]},{cN:\"type\",b:/</,e:/>/,k:\"reified\",r:0},{cN:\"params\",b:/\\(/,e:/\\)/,endsParent:!0,k:t,r:0,c:[{b:/:/,e:/[=,\\/]/,eW:!0,c:[{cN:\"type\",b:e.UIR},e.CLCM,e.CBCM],r:0},e.CLCM,e.CBCM,c,s,n,e.CNM]},e.CBCM]},{cN:\"class\",bK:\"class interface trait\",e:/[:\\{(]|$/,eE:!0,i:\"extends implements\",c:[{bK:\"public protected internal private constructor\"},e.UTM,{cN:\"type\",b:/</,e:/>/,eB:!0,eE:!0,r:0},{cN:\"type\",b:/[,:]\\s*/,e:/[<\\(,]|$/,eB:!0,rE:!0},c,s]},n,{cN:\"meta\",b:\"^#!/usr/bin/env\",e:\"$\",i:\"\\n\"},l]}});hljs.registerLanguage(\"gradle\",function(e){return{cI:!0,k:{keyword:\"task project allprojects subprojects artifacts buildscript configurations dependencies repositories sourceSets description delete from into include exclude source classpath destinationDir includes options sourceCompatibility targetCompatibility group flatDir doLast doFirst flatten todir fromdir ant def abstract break case catch continue default do else extends final finally for if implements instanceof native new private protected public return static switch synchronized throw throws transient try volatile while strictfp package import false null super this true antlrtask checkstyle codenarc copy boolean byte char class double float int interface long short void compile runTime file fileTree abs any append asList asWritable call collect compareTo count div dump each eachByte eachFile eachLine every find findAll flatten getAt getErr getIn getOut getText grep immutable inject inspect intersect invokeMethods isCase join leftShift minus multiply newInputStream newOutputStream newPrintWriter newReader newWriter next plus pop power previous print println push putAt read readBytes readLines reverse reverseEach round size sort splitEachLine step subMap times toInteger toList tokenize upto waitForOrKill withPrintWriter withReader withStream withWriter withWriterAppend write writeLine\"},c:[e.CLCM,e.CBCM,e.ASM,e.QSM,e.NM,e.RM]}});hljs.registerLanguage(\"xml\",function(s){var e={eW:!0,i:/</,r:0,c:[{cN:\"attr\",b:\"[A-Za-z0-9\\\\._:-]+\",r:0},{b:/=\\s*/,r:0,c:[{cN:\"string\",endsParent:!0,v:[{b:/\"/,e:/\"/},{b:/'/,e:/'/},{b:/[^\\s\"'=<>`]+/}]}]}]};return{aliases:[\"html\",\"xhtml\",\"rss\",\"atom\",\"xjb\",\"xsd\",\"xsl\",\"plist\"],cI:!0,c:[{cN:\"meta\",b:\"<!DOCTYPE\",e:\">\",r:10,c:[{b:\"\\\\[\",e:\"\\\\]\"}]},s.C(\"\\x3c!--\",\"--\\x3e\",{r:10}),{b:\"<\\\\!\\\\[CDATA\\\\[\",e:\"\\\\]\\\\]>\",r:10},{cN:\"meta\",b:/<\\?xml/,e:/\\?>/,r:10},{b:/<\\?(php)?/,e:/\\?>/,sL:\"php\",c:[{b:\"/\\\\*\",e:\"\\\\*/\",skip:!0},{b:'b\"',e:'\"',skip:!0},{b:\"b'\",e:\"'\",skip:!0},s.inherit(s.ASM,{i:null,cN:null,c:null,skip:!0}),s.inherit(s.QSM,{i:null,cN:null,c:null,skip:!0})]},{cN:\"tag\",b:\"<style(?=\\\\s|>|$)\",e:\">\",k:{name:\"style\"},c:[e],starts:{e:\"</style>\",rE:!0,sL:[\"css\",\"xml\"]}},{cN:\"tag\",b:\"<script(?=\\\\s|>|$)\",e:\">\",k:{name:\"script\"},c:[e],starts:{e:\"<\\/script>\",rE:!0,sL:[\"actionscript\",\"javascript\",\"handlebars\",\"xml\"]}},{cN:\"tag\",b:\"</?\",e:\"/?>\",c:[{cN:\"name\",b:/[^\\/><\\s]+/,r:0},e]}]}});hljs.registerLanguage(\"asciidoc\",function(e){return{aliases:[\"adoc\"],c:[e.C(\"^/{4,}\\\\n\",\"\\\\n/{4,}$\",{r:10}),e.C(\"^//\",\"$\",{r:0}),{cN:\"title\",b:\"^\\\\.\\\\w.*$\"},{b:\"^[=\\\\*]{4,}\\\\n\",e:\"\\\\n^[=\\\\*]{4,}$\",r:10},{cN:\"section\",r:10,v:[{b:\"^(={1,5}) .+?( \\\\1)?$\"},{b:\"^[^\\\\[\\\\]\\\\n]+?\\\\n[=\\\\-~\\\\^\\\\+]{2,}$\"}]},{cN:\"meta\",b:\"^:.+?:\",e:\"\\\\s\",eE:!0,r:10},{cN:\"meta\",b:\"^\\\\[.+?\\\\]$\",r:0},{cN:\"quote\",b:\"^_{4,}\\\\n\",e:\"\\\\n_{4,}$\",r:10},{cN:\"code\",b:\"^[\\\\-\\\\.]{4,}\\\\n\",e:\"\\\\n[\\\\-\\\\.]{4,}$\",r:10},{b:\"^\\\\+{4,}\\\\n\",e:\"\\\\n\\\\+{4,}$\",c:[{b:\"<\",e:\">\",sL:\"xml\",r:0}],r:10},{cN:\"bullet\",b:\"^(\\\\*+|\\\\-+|\\\\.+|[^\\\\n]+?::)\\\\s+\"},{cN:\"symbol\",b:\"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\\\s+\",r:10},{cN:\"strong\",b:\"\\\\B\\\\*(?![\\\\*\\\\s])\",e:\"(\\\\n{2}|\\\\*)\",c:[{b:\"\\\\\\\\*\\\\w\",r:0}]},{cN:\"emphasis\",b:\"\\\\B'(?!['\\\\s])\",e:\"(\\\\n{2}|')\",c:[{b:\"\\\\\\\\'\\\\w\",r:0}],r:0},{cN:\"emphasis\",b:\"_(?![_\\\\s])\",e:\"(\\\\n{2}|_)\",r:0},{cN:\"string\",v:[{b:\"``.+?''\"},{b:\"`.+?'\"}]},{cN:\"code\",b:\"(`.+?`|\\\\+.+?\\\\+)\",r:0},{cN:\"code\",b:\"^[ \\\\t]\",e:\"$\",r:0},{b:\"^'{3,}[ \\\\t]*$\",r:10},{b:\"(link:)?(http|https|ftp|file|irc|image:?):\\\\S+\\\\[.*?\\\\]\",rB:!0,c:[{b:\"(link|image:?):\",r:0},{cN:\"link\",b:\"\\\\w\",e:\"[^\\\\[]+\",r:0},{cN:\"string\",b:\"\\\\[\",e:\"\\\\]\",eB:!0,eE:!0,r:0}],r:10}]}});hljs.registerLanguage(\"erlang-repl\",function(e){return{k:{built_in:\"spawn spawn_link self\",keyword:\"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor\"},c:[{cN:\"meta\",b:\"^[0-9]+> \",r:10},e.C(\"%\",\"$\"),{cN:\"number\",b:\"\\\\b(\\\\d+#[a-fA-F0-9]+|\\\\d+(\\\\.\\\\d+)?([eE][-+]?\\\\d+)?)\",r:0},e.ASM,e.QSM,{b:\"\\\\?(::)?([A-Z]\\\\w*(::)?)+\"},{b:\"->\"},{b:\"ok\"},{b:\"!\"},{b:\"(\\\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\\\b[a-z'][a-zA-Z0-9_']*)\",r:0},{b:\"[A-Z][a-zA-Z0-9_']*\",r:0}]}});hljs.registerLanguage(\"perl\",function(e){var t=\"getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when\",r={cN:\"subst\",b:\"[$@]\\\\{\",e:\"\\\\}\",k:t},s={b:\"->{\",e:\"}\"},n={v:[{b:/\\$\\d/},{b:/[\\$%@](\\^\\w\\b|#\\w+(::\\w+)*|{\\w+}|\\w+(::\\w*)*)/},{b:/[\\$%@][^\\s\\w{]/,r:0}]},i=[e.BE,r,n],o=[n,e.HCM,e.C(\"^\\\\=\\\\w\",\"\\\\=cut\",{eW:!0}),s,{cN:\"string\",c:i,v:[{b:\"q[qwxr]?\\\\s*\\\\(\",e:\"\\\\)\",r:5},{b:\"q[qwxr]?\\\\s*\\\\[\",e:\"\\\\]\",r:5},{b:\"q[qwxr]?\\\\s*\\\\{\",e:\"\\\\}\",r:5},{b:\"q[qwxr]?\\\\s*\\\\|\",e:\"\\\\|\",r:5},{b:\"q[qwxr]?\\\\s*\\\\<\",e:\"\\\\>\",r:5},{b:\"qw\\\\s+q\",e:\"q\",r:5},{b:\"'\",e:\"'\",c:[e.BE]},{b:'\"',e:'\"'},{b:\"`\",e:\"`\",c:[e.BE]},{b:\"{\\\\w+}\",c:[],r:0},{b:\"-?\\\\w+\\\\s*\\\\=\\\\>\",c:[],r:0}]},{cN:\"number\",b:\"(\\\\b0[0-7_]+)|(\\\\b0x[0-9a-fA-F_]+)|(\\\\b[1-9][0-9_]*(\\\\.[0-9_]+)?)|[0_]\\\\b\",r:0},{b:\"(\\\\/\\\\/|\"+e.RSR+\"|\\\\b(split|return|print|reverse|grep)\\\\b)\\\\s*\",k:\"split return print reverse grep\",r:0,c:[e.HCM,{cN:\"regexp\",b:\"(s|tr|y)/(\\\\\\\\.|[^/])*/(\\\\\\\\.|[^/])*/[a-z]*\",r:10},{cN:\"regexp\",b:\"(m|qr)?/\",e:\"/[a-z]*\",c:[e.BE],r:0}]},{cN:\"function\",bK:\"sub\",e:\"(\\\\s*\\\\(.*?\\\\))?[;{]\",eE:!0,r:5,c:[e.TM]},{b:\"-\\\\w\\\\b\",r:0},{b:\"^__DATA__$\",e:\"^__END__$\",sL:\"mojolicious\",c:[{b:\"^@@.*\",e:\"$\",cN:\"comment\"}]}];return r.c=o,{aliases:[\"pl\",\"pm\"],l:/[\\w\\.]+/,k:t,c:s.c=o}});hljs.registerLanguage(\"cpp\",function(t){var e={cN:\"keyword\",b:\"\\\\b[a-z\\\\d_]*_t\\\\b\"},r={cN:\"string\",v:[{b:'(u8?|U|L)?\"',e:'\"',i:\"\\\\n\",c:[t.BE]},{b:/(?:u8?|U|L)?R\"([^()\\\\ ]{0,16})\\((?:.|\\n)*?\\)\\1\"/},{b:\"'\\\\\\\\?.\",e:\"'\",i:\".\"}]},s={cN:\"number\",v:[{b:\"\\\\b(0b[01']+)\"},{b:\"(-?)\\\\b([\\\\d']+(\\\\.[\\\\d']*)?|\\\\.[\\\\d']+)(u|U|l|L|ul|UL|f|F|b|B)\"},{b:\"(-?)(\\\\b0[xX][a-fA-F0-9']+|(\\\\b[\\\\d']+(\\\\.[\\\\d']*)?|\\\\.[\\\\d']+)([eE][-+]?[\\\\d']+)?)\"}],r:0},i={cN:\"meta\",b:/#\\s*[a-z]+\\b/,e:/$/,k:{\"meta-keyword\":\"if else elif endif define undef warning error line pragma ifdef ifndef include\"},c:[{b:/\\\\\\n/,r:0},t.inherit(r,{cN:\"meta-string\"}),{cN:\"meta-string\",b:/<[^\\n>]*>/,e:/$/,i:\"\\\\n\"},t.CLCM,t.CBCM]},a=t.IR+\"\\\\s*\\\\(\",c={keyword:\"int float while private char catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignof constexpr decltype noexcept static_assert thread_local restrict _Bool complex _Complex _Imaginary atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and or not\",built_in:\"std string cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf 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\",literal:\"true false nullptr NULL\"},n=[e,t.CLCM,t.CBCM,s,r];return{aliases:[\"c\",\"cc\",\"h\",\"c++\",\"h++\",\"hpp\"],k:c,i:\"</\",c:n.concat([i,{b:\"\\\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\\\s*<\",e:\">\",k:c,c:[\"self\",e]},{b:t.IR+\"::\",k:c},{v:[{b:/=/,e:/;/},{b:/\\(/,e:/\\)/},{bK:\"new throw return else\",e:/;/}],k:c,c:n.concat([{b:/\\(/,e:/\\)/,k:c,c:n.concat([\"self\"]),r:0}]),r:0},{cN:\"function\",b:\"(\"+t.IR+\"[\\\\*&\\\\s]+)+\"+a,rB:!0,e:/[{;=]/,eE:!0,k:c,i:/[^\\w\\s\\*&]/,c:[{b:a,rB:!0,c:[t.TM],r:0},{cN:\"params\",b:/\\(/,e:/\\)/,k:c,r:0,c:[t.CLCM,t.CBCM,r,s,e,{b:/\\(/,e:/\\)/,k:c,r:0,c:[\"self\",t.CLCM,t.CBCM,r,s,e]}]},t.CLCM,t.CBCM,i]},{cN:\"class\",bK:\"class struct\",e:/[{;:]/,c:[{b:/</,e:/>/,c:[\"self\"]},t.TM]}]),exports:{preprocessor:i,strings:r,k:c}}});hljs.registerLanguage(\"arduino\",function(e){var t=e.getLanguage(\"cpp\").exports;return{k:{keyword:\"boolean byte word string String array \"+t.k.keyword,built_in:\"setup loop while catch for if do goto try switch case else default break continue return KeyboardController MouseController SoftwareSerial EthernetServer EthernetClient LiquidCrystal RobotControl GSMVoiceCall EthernetUDP EsploraTFT HttpClient RobotMotor WiFiClient GSMScanner FileSystem Scheduler GSMServer YunClient YunServer IPAddress GSMClient GSMModem Keyboard Ethernet Console GSMBand Esplora Stepper Process WiFiUDP GSM_SMS Mailbox USBHost Firmata PImage Client Server GSMPIN FileIO Bridge Serial EEPROM Stream Mouse Audio Servo File Task GPRS WiFi Wire TFT GSM SPI SD runShellCommandAsynchronously analogWriteResolution retrieveCallingNumber printFirmwareVersion analogReadResolution sendDigitalPortPair noListenOnLocalhost readJoystickButton setFirmwareVersion readJoystickSwitch scrollDisplayRight getVoiceCallStatus scrollDisplayLeft writeMicroseconds delayMicroseconds beginTransmission getSignalStrength runAsynchronously getAsynchronously listenOnLocalhost getCurrentCarrier readAccelerometer messageAvailable sendDigitalPorts lineFollowConfig countryNameWrite runShellCommand readStringUntil rewindDirectory readTemperature setClockDivider readLightSensor endTransmission analogReference detachInterrupt countryNameRead attachInterrupt encryptionType readBytesUntil robotNameWrite readMicrophone robotNameRead cityNameWrite userNameWrite readJoystickY readJoystickX mouseReleased openNextFile scanNetworks noInterrupts digitalWrite beginSpeaker mousePressed isActionDone mouseDragged displayLogos noAutoscroll addParameter remoteNumber getModifiers keyboardRead userNameRead waitContinue processInput parseCommand printVersion readNetworks writeMessage blinkVersion cityNameRead readMessage setDataMode parsePacket isListening setBitOrder beginPacket isDirectory motorsWrite drawCompass digitalRead clearScreen serialEvent rightToLeft setTextSize leftToRight requestFrom keyReleased compassRead analogWrite interrupts WiFiServer disconnect playMelody parseFloat autoscroll getPINUsed setPINUsed setTimeout sendAnalog readSlider analogRead beginWrite createChar motorsStop keyPressed tempoWrite readButton subnetMask debugPrint macAddress writeGreen randomSeed attachGPRS readString sendString remotePort releaseAll mouseMoved background getXChange getYChange answerCall getResult voiceCall endPacket constrain getSocket writeJSON getButton available connected findUntil readBytes exitValue readGreen writeBlue startLoop IPAddress isPressed sendSysex pauseMode gatewayIP setCursor getOemKey tuneWrite noDisplay loadImage switchPIN onRequest onReceive changePIN playFile noBuffer parseInt overflow checkPIN knobRead beginTFT bitClear updateIR bitWrite position writeRGB highByte writeRed setSpeed readBlue noStroke remoteIP transfer shutdown hangCall beginSMS endWrite attached maintain noCursor checkReg checkPUK shiftOut isValid shiftIn pulseIn connect println localIP pinMode getIMEI display noBlink process getBand running beginSD drawBMP lowByte setBand release bitRead prepare pointTo readRed setMode noFill remove listen stroke detach attach noTone exists buffer height bitSet circle config cursor random IRread setDNS endSMS getKey micros millis begin print write ready flush width isPIN blink clear press mkdir rmdir close point yield image BSSID click delay read text move peek beep rect line open seek fill size turn stop home find step tone sqrt RSSI SSID end bit tan cos sin pow map abs max min get run put\",literal:\"DIGITAL_MESSAGE FIRMATA_STRING ANALOG_MESSAGE REPORT_DIGITAL REPORT_ANALOG INPUT_PULLUP SET_PIN_MODE INTERNAL2V56 SYSTEM_RESET LED_BUILTIN INTERNAL1V1 SYSEX_START INTERNAL EXTERNAL DEFAULT OUTPUT INPUT HIGH LOW\"},c:[t.preprocessor,e.CLCM,e.CBCM,e.ASM,e.QSM,e.CNM]}});hljs.registerLanguage(\"apache\",function(e){var r={cN:\"number\",b:\"[\\\\$%]\\\\d+\"};return{aliases:[\"apacheconf\"],cI:!0,c:[e.HCM,{cN:\"section\",b:\"</?\",e:\">\"},{cN:\"attribute\",b:/\\w+/,r:0,k:{nomarkup:\"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername\"},starts:{e:/$/,r:0,k:{literal:\"on off all\"},c:[{cN:\"meta\",b:\"\\\\s\\\\[\",e:\"\\\\]$\"},{cN:\"variable\",b:\"[\\\\$%]\\\\{\",e:\"\\\\}\",c:[\"self\",r]},r,e.QSM]}}],i:/\\S/}});hljs.registerLanguage(\"cmake\",function(e){return{aliases:[\"cmake.in\"],cI:!0,k:{keyword:\"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined\"},c:[{cN:\"variable\",b:\"\\\\${\",e:\"}\"},e.HCM,e.QSM,e.NM]}});hljs.registerLanguage(\"markdown\",function(e){return{aliases:[\"md\",\"mkdown\",\"mkd\"],c:[{cN:\"section\",v:[{b:\"^#{1,6}\",e:\"$\"},{b:\"^.+?\\\\n[=-]{2,}$\"}]},{b:\"<\",e:\">\",sL:\"xml\",r:0},{cN:\"bullet\",b:\"^([*+-]|(\\\\d+\\\\.))\\\\s+\"},{cN:\"strong\",b:\"[*_]{2}.+?[*_]{2}\"},{cN:\"emphasis\",v:[{b:\"\\\\*.+?\\\\*\"},{b:\"_.+?_\",r:0}]},{cN:\"quote\",b:\"^>\\\\s+\",e:\"$\"},{cN:\"code\",v:[{b:\"^```w*s*$\",e:\"^```s*$\"},{b:\"`.+?`\"},{b:\"^( {4}|\\t)\",e:\"$\",r:0}]},{b:\"^[-\\\\*]{3,}\",e:\"$\"},{b:\"\\\\[.+?\\\\][\\\\(\\\\[].*?[\\\\)\\\\]]\",rB:!0,c:[{cN:\"string\",b:\"\\\\[\",e:\"\\\\]\",eB:!0,rE:!0,r:0},{cN:\"link\",b:\"\\\\]\\\\(\",e:\"\\\\)\",eB:!0,eE:!0},{cN:\"symbol\",b:\"\\\\]\\\\[\",e:\"\\\\]\",eB:!0,eE:!0}],r:10},{b:/^\\[[^\\n]+\\]:/,rB:!0,c:[{cN:\"symbol\",b:/\\[/,e:/\\]/,eB:!0,eE:!0},{cN:\"link\",b:/:\\s*/,e:/$/,eB:!0}]}]}});hljs.registerLanguage(\"diff\",function(e){return{aliases:[\"patch\"],c:[{cN:\"meta\",r:10,v:[{b:/^@@ +\\-\\d+,\\d+ +\\+\\d+,\\d+ +@@$/},{b:/^\\*\\*\\* +\\d+,\\d+ +\\*\\*\\*\\*$/},{b:/^\\-\\-\\- +\\d+,\\d+ +\\-\\-\\-\\-$/}]},{cN:\"comment\",v:[{b:/Index: /,e:/$/},{b:/={3,}/,e:/$/},{b:/^\\-{3}/,e:/$/},{b:/^\\*{3} /,e:/$/},{b:/^\\+{3}/,e:/$/},{b:/\\*{5}/,e:/\\*{5}$/}]},{cN:\"addition\",b:\"^\\\\+\",e:\"$\"},{cN:\"deletion\",b:\"^\\\\-\",e:\"$\"},{cN:\"addition\",b:\"^\\\\!\",e:\"$\"}]}});hljs.registerLanguage(\"java\",function(e){var a=\"false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do\",t={cN:\"number\",b:\"\\\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\\\d]+[\\\\d_]+[\\\\d]+|[\\\\d]+)(\\\\.([\\\\d]+[\\\\d_]+[\\\\d]+|[\\\\d]+))?|\\\\.([\\\\d]+[\\\\d_]+[\\\\d]+|[\\\\d]+))([eE][-+]?\\\\d+)?)[lLfF]?\",r:0};return{aliases:[\"jsp\"],k:a,i:/<\\/|#/,c:[e.C(\"/\\\\*\\\\*\",\"\\\\*/\",{r:0,c:[{b:/\\w+@/,r:0},{cN:\"doctag\",b:\"@[A-Za-z]+\"}]}),e.CLCM,e.CBCM,e.ASM,e.QSM,{cN:\"class\",bK:\"class interface\",e:/[{;=]/,eE:!0,k:\"class interface\",i:/[:\"\\[\\]]/,c:[{bK:\"extends implements\"},e.UTM]},{bK:\"new throw return else\",r:0},{cN:\"function\",b:\"([À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(<[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(\\\\s*,\\\\s*[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*)*>)?\\\\s+)+\"+e.UIR+\"\\\\s*\\\\(\",rB:!0,e:/[{;=]/,eE:!0,k:a,c:[{b:e.UIR+\"\\\\s*\\\\(\",rB:!0,r:0,c:[e.UTM]},{cN:\"params\",b:/\\(/,e:/\\)/,k:a,r:0,c:[e.ASM,e.QSM,e.CNM,e.CBCM]},e.CLCM,e.CBCM]},t,{cN:\"meta\",b:\"@[A-Za-z]+\"}]}});hljs.registerLanguage(\"sql\",function(e){var t=e.C(\"--\",\"$\");return{cI:!0,i:/[<>{}*]/,c:[{bK:\"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment values with\",e:/;/,eW:!0,l:/[\\w\\.]+/,k:{keyword:\"as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias all allocate allow alter always analyze ancillary and anti any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound bucket buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain explode export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour hours http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lateral lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minutes minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second seconds section securefile security seed segment select self semi sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tablesample tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace window with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek\",literal:\"true false null unknown\",built_in:\"array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text time timestamp tinyint varchar varying void\"},c:[{cN:\"string\",b:\"'\",e:\"'\",c:[e.BE,{b:\"''\"}]},{cN:\"string\",b:'\"',e:'\"',c:[e.BE,{b:'\"\"'}]},{cN:\"string\",b:\"`\",e:\"`\",c:[e.BE]},e.CNM,e.CBCM,t,e.HCM]},e.CBCM,t,e.HCM]}});hljs.registerLanguage(\"armasm\",function(s){return{cI:!0,aliases:[\"arm\"],l:\"\\\\.?\"+s.IR,k:{meta:\".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND \",built_in:\"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @\"},c:[{cN:\"keyword\",b:\"\\\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?\",e:\"\\\\s\"},s.C(\"[;@]\",\"$\",{r:0}),s.CBCM,s.QSM,{cN:\"string\",b:\"'\",e:\"[^\\\\\\\\]'\",r:0},{cN:\"title\",b:\"\\\\|\",e:\"\\\\|\",i:\"\\\\n\",r:0},{cN:\"number\",v:[{b:\"[#$=]?0x[0-9a-f]+\"},{b:\"[#$=]?0b[01]+\"},{b:\"[#$=]\\\\d+\"},{b:\"\\\\b\\\\d+\"}],r:0},{cN:\"symbol\",v:[{b:\"^[a-z_\\\\.\\\\$][a-z0-9_\\\\.\\\\$]+\"},{b:\"^\\\\s*[a-z_\\\\.\\\\$][a-z0-9_\\\\.\\\\$]+:\"},{b:\"[=#]\\\\w+\"}],r:0}]}});hljs.registerLanguage(\"go\",function(e){var t={keyword:\"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 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{aliases:[\"golang\"],k:t,i:\"</\",c:[e.CLCM,e.CBCM,{cN:\"string\",v:[e.QSM,{b:\"'\",e:\"[^\\\\\\\\]'\"},{b:\"`\",e:\"`\"}]},{cN:\"number\",v:[{b:e.CNR+\"[dflsi]\",r:1},e.CNM]},{b:/:=/},{cN:\"function\",bK:\"func\",e:/\\s*\\{/,eE:!0,c:[e.TM,{cN:\"params\",b:/\\(/,e:/\\)/,k:t,i:/[\"']/}]}]}});hljs.registerLanguage(\"mathematica\",function(e){return{aliases:[\"mma\"],l:\"(\\\\$|\\\\b)\"+e.IR+\"\\\\b\",k:\"AbelianGroup Abort AbortKernels AbortProtect Above Abs Absolute AbsoluteCorrelation AbsoluteCorrelationFunction AbsoluteCurrentValue AbsoluteDashing AbsoluteFileName AbsoluteOptions AbsolutePointSize AbsoluteThickness AbsoluteTime AbsoluteTiming AccountingForm Accumulate Accuracy AccuracyGoal ActionDelay ActionMenu ActionMenuBox ActionMenuBoxOptions Active ActiveItem ActiveStyle AcyclicGraphQ AddOnHelpPath AddTo AdjacencyGraph AdjacencyList AdjacencyMatrix AdjustmentBox AdjustmentBoxOptions AdjustTimeSeriesForecast AffineTransform After AiryAi AiryAiPrime AiryAiZero AiryBi AiryBiPrime AiryBiZero AlgebraicIntegerQ AlgebraicNumber AlgebraicNumberDenominator AlgebraicNumberNorm AlgebraicNumberPolynomial AlgebraicNumberTrace AlgebraicRules AlgebraicRulesData Algebraics AlgebraicUnitQ Alignment AlignmentMarker AlignmentPoint All AllowedDimensions AllowGroupClose AllowInlineCells AllowKernelInitialization AllowReverseGroupClose AllowScriptLevelChange AlphaChannel AlternatingGroup AlternativeHypothesis Alternatives AmbientLight Analytic AnchoredSearch And AndersonDarlingTest AngerJ AngleBracket AngularGauge Animate AnimationCycleOffset AnimationCycleRepetitions AnimationDirection AnimationDisplayTime AnimationRate AnimationRepetitions AnimationRunning Animator AnimatorBox AnimatorBoxOptions AnimatorElements Annotation Annuity AnnuityDue Antialiasing Antisymmetric Apart ApartSquareFree Appearance AppearanceElements AppellF1 Append AppendTo Apply ArcCos ArcCosh ArcCot ArcCoth ArcCsc ArcCsch ArcSec ArcSech ArcSin ArcSinDistribution ArcSinh ArcTan ArcTanh Arg ArgMax ArgMin ArgumentCountQ ARIMAProcess ArithmeticGeometricMean ARMAProcess ARProcess Array ArrayComponents ArrayDepth ArrayFlatten ArrayPad ArrayPlot ArrayQ ArrayReshape ArrayRules Arrays Arrow Arrow3DBox ArrowBox Arrowheads AspectRatio AspectRatioFixed Assert Assuming Assumptions AstronomicalData Asynchronous AsynchronousTaskObject AsynchronousTasks AtomQ Attributes AugmentedSymmetricPolynomial AutoAction AutoDelete AutoEvaluateEvents AutoGeneratedPackage AutoIndent AutoIndentSpacings AutoItalicWords AutoloadPath AutoMatch Automatic AutomaticImageSize AutoMultiplicationSymbol AutoNumberFormatting AutoOpenNotebooks AutoOpenPalettes AutorunSequencing AutoScaling AutoScroll AutoSpacing AutoStyleOptions AutoStyleWords Axes AxesEdge AxesLabel AxesOrigin AxesStyle Axis BabyMonsterGroupB Back Background BackgroundTasksSettings Backslash Backsubstitution Backward Band BandpassFilter BandstopFilter BarabasiAlbertGraphDistribution BarChart BarChart3D BarLegend BarlowProschanImportance BarnesG BarOrigin BarSpacing BartlettHannWindow BartlettWindow BaseForm Baseline BaselinePosition BaseStyle BatesDistribution BattleLemarieWavelet Because BeckmannDistribution Beep Before Begin BeginDialogPacket BeginFrontEndInteractionPacket BeginPackage BellB BellY Below BenfordDistribution BeniniDistribution BenktanderGibratDistribution BenktanderWeibullDistribution BernoulliB BernoulliDistribution BernoulliGraphDistribution BernoulliProcess BernsteinBasis BesselFilterModel BesselI BesselJ BesselJZero BesselK BesselY BesselYZero Beta BetaBinomialDistribution BetaDistribution BetaNegativeBinomialDistribution BetaPrimeDistribution BetaRegularized BetweennessCentrality BezierCurve BezierCurve3DBox BezierCurve3DBoxOptions BezierCurveBox BezierCurveBoxOptions BezierFunction BilateralFilter Binarize BinaryFormat BinaryImageQ BinaryRead BinaryReadList BinaryWrite BinCounts BinLists Binomial BinomialDistribution BinomialProcess BinormalDistribution BiorthogonalSplineWavelet BipartiteGraphQ BirnbaumImportance BirnbaumSaundersDistribution BitAnd BitClear BitGet BitLength BitNot BitOr BitSet BitShiftLeft BitShiftRight BitXor Black BlackmanHarrisWindow BlackmanNuttallWindow BlackmanWindow Blank BlankForm BlankNullSequence BlankSequence Blend Block BlockRandom BlomqvistBeta BlomqvistBetaTest Blue Blur BodePlot BohmanWindow Bold Bookmarks Boole BooleanConsecutiveFunction BooleanConvert BooleanCountingFunction BooleanFunction BooleanGraph BooleanMaxterms BooleanMinimize BooleanMinterms Booleans BooleanTable BooleanVariables BorderDimensions BorelTannerDistribution Bottom BottomHatTransform BoundaryStyle Bounds Box BoxBaselineShift BoxData BoxDimensions Boxed Boxes BoxForm BoxFormFormatTypes BoxFrame BoxID BoxMargins BoxMatrix BoxRatios BoxRotation BoxRotationPoint BoxStyle BoxWhiskerChart Bra BracketingBar BraKet BrayCurtisDistance BreadthFirstScan Break Brown BrownForsytheTest BrownianBridgeProcess BrowserCategory BSplineBasis BSplineCurve BSplineCurve3DBox BSplineCurveBox BSplineCurveBoxOptions BSplineFunction BSplineSurface BSplineSurface3DBox BubbleChart BubbleChart3D BubbleScale BubbleSizes BulletGauge BusinessDayQ ButterflyGraph ButterworthFilterModel Button ButtonBar ButtonBox ButtonBoxOptions ButtonCell ButtonContents ButtonData ButtonEvaluator ButtonExpandable ButtonFrame ButtonFunction ButtonMargins ButtonMinHeight ButtonNote ButtonNotebook ButtonSource ButtonStyle ButtonStyleMenuListing Byte ByteCount ByteOrdering C CachedValue CacheGraphics CalendarData CalendarType CallPacket CanberraDistance Cancel CancelButton CandlestickChart Cap CapForm CapitalDifferentialD CardinalBSplineBasis CarmichaelLambda Cases Cashflow Casoratian Catalan CatalanNumber Catch CauchyDistribution CauchyWindow CayleyGraph CDF CDFDeploy CDFInformation CDFWavelet Ceiling Cell CellAutoOverwrite CellBaseline CellBoundingBox CellBracketOptions CellChangeTimes CellContents CellContext CellDingbat CellDynamicExpression CellEditDuplicate CellElementsBoundingBox CellElementSpacings CellEpilog CellEvaluationDuplicate CellEvaluationFunction CellEventActions CellFrame CellFrameColor CellFrameLabelMargins CellFrameLabels CellFrameMargins CellGroup CellGroupData CellGrouping CellGroupingRules CellHorizontalScrolling CellID CellLabel CellLabelAutoDelete CellLabelMargins CellLabelPositioning CellMargins CellObject CellOpen CellPrint CellProlog Cells CellSize CellStyle CellTags CellularAutomaton CensoredDistribution Censoring Center CenterDot CentralMoment CentralMomentGeneratingFunction CForm ChampernowneNumber ChanVeseBinarize Character CharacterEncoding CharacterEncodingsPath CharacteristicFunction CharacteristicPolynomial CharacterRange Characters ChartBaseStyle ChartElementData ChartElementDataFunction ChartElementFunction ChartElements ChartLabels ChartLayout ChartLegends ChartStyle Chebyshev1FilterModel Chebyshev2FilterModel ChebyshevDistance ChebyshevT ChebyshevU Check CheckAbort CheckAll Checkbox CheckboxBar CheckboxBox CheckboxBoxOptions ChemicalData ChessboardDistance ChiDistribution ChineseRemainder ChiSquareDistribution ChoiceButtons ChoiceDialog CholeskyDecomposition Chop Circle CircleBox CircleDot CircleMinus CirclePlus CircleTimes CirculantGraph CityData Clear ClearAll ClearAttributes ClearSystemCache ClebschGordan ClickPane Clip ClipboardNotebook ClipFill ClippingStyle ClipPlanes ClipRange Clock ClockGauge ClockwiseContourIntegral Close Closed CloseKernels ClosenessCentrality Closing ClosingAutoSave ClosingEvent ClusteringComponents CMYKColor Coarse Coefficient CoefficientArrays CoefficientDomain CoefficientList CoefficientRules CoifletWavelet Collect Colon ColonForm ColorCombine ColorConvert ColorData ColorDataFunction ColorFunction ColorFunctionScaling Colorize ColorNegate ColorOutput ColorProfileData ColorQuantize ColorReplace ColorRules ColorSelectorSettings ColorSeparate ColorSetter ColorSetterBox ColorSetterBoxOptions ColorSlider ColorSpace Column ColumnAlignments ColumnBackgrounds ColumnForm ColumnLines ColumnsEqual ColumnSpacings ColumnWidths CommonDefaultFormatTypes Commonest CommonestFilter CommonUnits CommunityBoundaryStyle CommunityGraphPlot CommunityLabels CommunityRegionStyle CompatibleUnitQ CompilationOptions CompilationTarget Compile Compiled CompiledFunction Complement CompleteGraph CompleteGraphQ CompleteKaryTree CompletionsListPacket Complex Complexes ComplexExpand ComplexInfinity ComplexityFunction ComponentMeasurements ComponentwiseContextMenu Compose ComposeList ComposeSeries Composition CompoundExpression CompoundPoissonDistribution CompoundPoissonProcess CompoundRenewalProcess Compress CompressedData Condition ConditionalExpression Conditioned Cone ConeBox ConfidenceLevel ConfidenceRange ConfidenceTransform ConfigurationPath Congruent Conjugate ConjugateTranspose Conjunction Connect ConnectedComponents ConnectedGraphQ ConnesWindow ConoverTest ConsoleMessage ConsoleMessagePacket ConsolePrint Constant ConstantArray Constants ConstrainedMax ConstrainedMin ContentPadding ContentsBoundingBox ContentSelectable ContentSize Context ContextMenu Contexts ContextToFilename ContextToFileName Continuation Continue ContinuedFraction ContinuedFractionK ContinuousAction ContinuousMarkovProcess ContinuousTimeModelQ ContinuousWaveletData ContinuousWaveletTransform ContourDetect ContourGraphics ContourIntegral ContourLabels ContourLines ContourPlot ContourPlot3D Contours ContourShading ContourSmoothing ContourStyle ContraharmonicMean Control ControlActive ControlAlignment ControllabilityGramian ControllabilityMatrix ControllableDecomposition ControllableModelQ ControllerDuration ControllerInformation ControllerInformationData ControllerLinking ControllerManipulate ControllerMethod ControllerPath ControllerState ControlPlacement ControlsRendering ControlType Convergents ConversionOptions ConversionRules ConvertToBitmapPacket ConvertToPostScript ConvertToPostScriptPacket Convolve ConwayGroupCo1 ConwayGroupCo2 ConwayGroupCo3 CoordinateChartData CoordinatesToolOptions CoordinateTransform CoordinateTransformData CoprimeQ Coproduct CopulaDistribution Copyable CopyDirectory CopyFile CopyTag CopyToClipboard CornerFilter CornerNeighbors Correlation CorrelationDistance CorrelationFunction CorrelationTest Cos Cosh CoshIntegral CosineDistance CosineWindow CosIntegral Cot Coth Count CounterAssignments CounterBox CounterBoxOptions CounterClockwiseContourIntegral CounterEvaluator CounterFunction CounterIncrements CounterStyle CounterStyleMenuListing CountRoots CountryData Covariance CovarianceEstimatorFunction CovarianceFunction CoxianDistribution CoxIngersollRossProcess CoxModel CoxModelFit CramerVonMisesTest CreateArchive CreateDialog CreateDirectory CreateDocument CreateIntermediateDirectories CreatePalette CreatePalettePacket CreateScheduledTask CreateTemporary CreateWindow CriticalityFailureImportance CriticalitySuccessImportance CriticalSection Cross CrossingDetect CrossMatrix Csc Csch CubeRoot Cubics Cuboid CuboidBox Cumulant CumulantGeneratingFunction Cup CupCap Curl CurlyDoubleQuote CurlyQuote CurrentImage CurrentlySpeakingPacket CurrentValue CurvatureFlowFilter CurveClosed Cyan CycleGraph CycleIndexPolynomial Cycles CyclicGroup Cyclotomic Cylinder CylinderBox CylindricalDecomposition D DagumDistribution DamerauLevenshteinDistance DampingFactor Darker Dashed Dashing DataCompression DataDistribution DataRange DataReversed Date DateDelimiters DateDifference DateFunction DateList DateListLogPlot DateListPlot DatePattern DatePlus DateRange DateString DateTicksFormat DaubechiesWavelet DavisDistribution DawsonF DayCount DayCountConvention DayMatchQ DayName DayPlus DayRange DayRound DeBruijnGraph Debug DebugTag Decimal DeclareKnownSymbols DeclarePackage Decompose Decrement DedekindEta Default DefaultAxesStyle DefaultBaseStyle DefaultBoxStyle DefaultButton DefaultColor DefaultControlPlacement DefaultDuplicateCellStyle DefaultDuration DefaultElement DefaultFaceGridsStyle DefaultFieldHintStyle DefaultFont DefaultFontProperties DefaultFormatType DefaultFormatTypeForStyle DefaultFrameStyle DefaultFrameTicksStyle DefaultGridLinesStyle DefaultInlineFormatType DefaultInputFormatType DefaultLabelStyle DefaultMenuStyle DefaultNaturalLanguage DefaultNewCellStyle DefaultNewInlineCellStyle DefaultNotebook DefaultOptions DefaultOutputFormatType DefaultStyle DefaultStyleDefinitions DefaultTextFormatType DefaultTextInlineFormatType DefaultTicksStyle DefaultTooltipStyle DefaultValues Defer DefineExternal DefineInputStreamMethod DefineOutputStreamMethod Definition Degree DegreeCentrality DegreeGraphDistribution DegreeLexicographic DegreeReverseLexicographic Deinitialization Del Deletable Delete DeleteBorderComponents DeleteCases DeleteContents DeleteDirectory DeleteDuplicates DeleteFile DeleteSmallComponents DeleteWithContents DeletionWarning Delimiter DelimiterFlashTime DelimiterMatching Delimiters Denominator DensityGraphics DensityHistogram DensityPlot DependentVariables Deploy Deployed Depth DepthFirstScan Derivative DerivativeFilter DescriptorStateSpace DesignMatrix Det DGaussianWavelet DiacriticalPositioning Diagonal DiagonalMatrix Dialog DialogIndent DialogInput DialogLevel DialogNotebook DialogProlog DialogReturn DialogSymbols Diamond DiamondMatrix DiceDissimilarity DictionaryLookup DifferenceDelta DifferenceOrder DifferenceRoot DifferenceRootReduce Differences DifferentialD DifferentialRoot DifferentialRootReduce DifferentiatorFilter DigitBlock DigitBlockMinimum DigitCharacter DigitCount DigitQ DihedralGroup Dilation Dimensions DiracComb DiracDelta DirectedEdge DirectedEdges DirectedGraph DirectedGraphQ DirectedInfinity Direction Directive Directory DirectoryName DirectoryQ DirectoryStack DirichletCharacter DirichletConvolve DirichletDistribution DirichletL DirichletTransform DirichletWindow DisableConsolePrintPacket DiscreteChirpZTransform DiscreteConvolve DiscreteDelta DiscreteHadamardTransform DiscreteIndicator DiscreteLQEstimatorGains DiscreteLQRegulatorGains DiscreteLyapunovSolve DiscreteMarkovProcess DiscretePlot DiscretePlot3D DiscreteRatio DiscreteRiccatiSolve DiscreteShift DiscreteTimeModelQ DiscreteUniformDistribution DiscreteVariables DiscreteWaveletData DiscreteWaveletPacketTransform DiscreteWaveletTransform Discriminant Disjunction Disk DiskBox DiskMatrix Dispatch DispersionEstimatorFunction Display DisplayAllSteps DisplayEndPacket DisplayFlushImagePacket DisplayForm DisplayFunction DisplayPacket DisplayRules DisplaySetSizePacket DisplayString DisplayTemporary DisplayWith DisplayWithRef DisplayWithVariable DistanceFunction DistanceTransform Distribute Distributed DistributedContexts DistributeDefinitions DistributionChart DistributionDomain DistributionFitTest DistributionParameterAssumptions DistributionParameterQ Dithering Div Divergence Divide DivideBy Dividers Divisible Divisors DivisorSigma DivisorSum DMSList DMSString Do DockedCells DocumentNotebook DominantColors DOSTextFormat Dot DotDashed DotEqual Dotted DoubleBracketingBar DoubleContourIntegral DoubleDownArrow DoubleLeftArrow DoubleLeftRightArrow DoubleLeftTee DoubleLongLeftArrow DoubleLongLeftRightArrow DoubleLongRightArrow DoubleRightArrow DoubleRightTee DoubleUpArrow DoubleUpDownArrow DoubleVerticalBar DoublyInfinite Down DownArrow DownArrowBar DownArrowUpArrow DownLeftRightVector DownLeftTeeVector DownLeftVector DownLeftVectorBar DownRightTeeVector DownRightVector DownRightVectorBar Downsample DownTee DownTeeArrow DownValues DragAndDrop DrawEdges DrawFrontFaces DrawHighlighted Drop DSolve Dt DualLinearProgramming DualSystemsModel DumpGet DumpSave DuplicateFreeQ Dynamic DynamicBox DynamicBoxOptions DynamicEvaluationTimeout DynamicLocation DynamicModule DynamicModuleBox DynamicModuleBoxOptions DynamicModuleParent DynamicModuleValues DynamicName DynamicNamespace DynamicReference DynamicSetting DynamicUpdating DynamicWrapper DynamicWrapperBox DynamicWrapperBoxOptions E EccentricityCentrality EdgeAdd EdgeBetweennessCentrality EdgeCapacity EdgeCapForm EdgeColor EdgeConnectivity EdgeCost EdgeCount EdgeCoverQ EdgeDashing EdgeDelete EdgeDetect EdgeForm EdgeIndex EdgeJoinForm EdgeLabeling EdgeLabels EdgeLabelStyle EdgeList EdgeOpacity EdgeQ EdgeRenderingFunction EdgeRules EdgeShapeFunction EdgeStyle EdgeThickness EdgeWeight Editable EditButtonSettings EditCellTagsSettings EditDistance EffectiveInterest Eigensystem Eigenvalues EigenvectorCentrality Eigenvectors Element ElementData Eliminate EliminationOrder EllipticE EllipticExp EllipticExpPrime EllipticF EllipticFilterModel EllipticK EllipticLog EllipticNomeQ EllipticPi EllipticReducedHalfPeriods EllipticTheta EllipticThetaPrime EmitSound EmphasizeSyntaxErrors EmpiricalDistribution Empty EmptyGraphQ EnableConsolePrintPacket Enabled Encode End EndAdd EndDialogPacket EndFrontEndInteractionPacket EndOfFile EndOfLine EndOfString EndPackage EngineeringForm Enter EnterExpressionPacket EnterTextPacket Entropy EntropyFilter Environment Epilog Equal EqualColumns EqualRows EqualTilde EquatedTo Equilibrium EquirippleFilterKernel Equivalent Erf Erfc Erfi ErlangB ErlangC ErlangDistribution Erosion ErrorBox ErrorBoxOptions ErrorNorm ErrorPacket ErrorsDialogSettings EstimatedDistribution EstimatedProcess EstimatorGains EstimatorRegulator EuclideanDistance EulerE EulerGamma EulerianGraphQ EulerPhi Evaluatable Evaluate Evaluated EvaluatePacket EvaluationCell EvaluationCompletionAction EvaluationElements EvaluationMode EvaluationMonitor EvaluationNotebook EvaluationObject EvaluationOrder Evaluator EvaluatorNames EvenQ EventData EventEvaluator EventHandler EventHandlerTag EventLabels ExactBlackmanWindow ExactNumberQ ExactRootIsolation ExampleData Except ExcludedForms ExcludePods Exclusions ExclusionsStyle Exists Exit ExitDialog Exp Expand ExpandAll ExpandDenominator ExpandFileName ExpandNumerator Expectation ExpectationE ExpectedValue ExpGammaDistribution ExpIntegralE ExpIntegralEi Exponent ExponentFunction ExponentialDistribution ExponentialFamily ExponentialGeneratingFunction ExponentialMovingAverage ExponentialPowerDistribution ExponentPosition ExponentStep Export ExportAutoReplacements ExportPacket ExportString Expression ExpressionCell ExpressionPacket ExpToTrig ExtendedGCD Extension ExtentElementFunction ExtentMarkers ExtentSize ExternalCall ExternalDataCharacterEncoding Extract ExtractArchive ExtremeValueDistribution FaceForm FaceGrids FaceGridsStyle Factor FactorComplete Factorial Factorial2 FactorialMoment FactorialMomentGeneratingFunction FactorialPower FactorInteger FactorList FactorSquareFree FactorSquareFreeList FactorTerms FactorTermsList Fail FailureDistribution False FARIMAProcess FEDisableConsolePrintPacket FeedbackSector FeedbackSectorStyle FeedbackType FEEnableConsolePrintPacket Fibonacci FieldHint FieldHintStyle FieldMasked FieldSize File FileBaseName FileByteCount FileDate FileExistsQ FileExtension FileFormat FileHash FileInformation FileName FileNameDepth FileNameDialogSettings FileNameDrop FileNameJoin FileNames FileNameSetter FileNameSplit FileNameTake FilePrint FileType FilledCurve FilledCurveBox Filling FillingStyle FillingTransform FilterRules FinancialBond FinancialData FinancialDerivative FinancialIndicator Find FindArgMax FindArgMin FindClique FindClusters FindCurvePath FindDistributionParameters FindDivisions FindEdgeCover FindEdgeCut FindEulerianCycle FindFaces FindFile FindFit FindGeneratingFunction FindGeoLocation FindGeometricTransform FindGraphCommunities FindGraphIsomorphism FindGraphPartition FindHamiltonianCycle FindIndependentEdgeSet FindIndependentVertexSet FindInstance FindIntegerNullVector FindKClan FindKClique FindKClub FindKPlex FindLibrary FindLinearRecurrence FindList FindMaximum FindMaximumFlow FindMaxValue FindMinimum FindMinimumCostFlow FindMinimumCut FindMinValue FindPermutation FindPostmanTour FindProcessParameters FindRoot FindSequenceFunction FindSettings FindShortestPath FindShortestTour FindThreshold FindVertexCover FindVertexCut Fine FinishDynamic FiniteAbelianGroupCount FiniteGroupCount FiniteGroupData First FirstPassageTimeDistribution FischerGroupFi22 FischerGroupFi23 FischerGroupFi24Prime FisherHypergeometricDistribution FisherRatioTest FisherZDistribution Fit FitAll FittedModel FixedPoint FixedPointList FlashSelection Flat Flatten FlattenAt FlatTopWindow FlipView Floor FlushPrintOutputPacket Fold FoldList Font FontColor FontFamily FontForm FontName FontOpacity FontPostScriptName FontProperties FontReencoding FontSize FontSlant FontSubstitutions FontTracking FontVariations FontWeight For ForAll Format FormatRules FormatType FormatTypeAutoConvert FormatValues FormBox FormBoxOptions FortranForm Forward ForwardBackward Fourier FourierCoefficient FourierCosCoefficient FourierCosSeries FourierCosTransform FourierDCT FourierDCTFilter FourierDCTMatrix FourierDST FourierDSTMatrix FourierMatrix FourierParameters FourierSequenceTransform FourierSeries FourierSinCoefficient FourierSinSeries FourierSinTransform FourierTransform FourierTrigSeries FractionalBrownianMotionProcess FractionalPart FractionBox FractionBoxOptions FractionLine Frame FrameBox FrameBoxOptions Framed FrameInset FrameLabel Frameless FrameMargins FrameStyle FrameTicks FrameTicksStyle FRatioDistribution FrechetDistribution FreeQ FrequencySamplingFilterKernel FresnelC FresnelS Friday FrobeniusNumber FrobeniusSolve FromCharacterCode FromCoefficientRules FromContinuedFraction FromDate FromDigits FromDMS Front FrontEndDynamicExpression FrontEndEventActions FrontEndExecute FrontEndObject FrontEndResource FrontEndResourceString FrontEndStackSize FrontEndToken FrontEndTokenExecute FrontEndValueCache FrontEndVersion FrontFaceColor FrontFaceOpacity Full FullAxes FullDefinition FullForm FullGraphics FullOptions FullSimplify Function FunctionExpand FunctionInterpolation FunctionSpace FussellVeselyImportance GaborFilter GaborMatrix GaborWavelet GainMargins GainPhaseMargins Gamma GammaDistribution GammaRegularized GapPenalty Gather GatherBy GaugeFaceElementFunction GaugeFaceStyle GaugeFrameElementFunction GaugeFrameSize GaugeFrameStyle GaugeLabels GaugeMarkers GaugeStyle GaussianFilter GaussianIntegers GaussianMatrix GaussianWindow GCD GegenbauerC General GeneralizedLinearModelFit GenerateConditions GeneratedCell GeneratedParameters GeneratingFunction Generic GenericCylindricalDecomposition GenomeData GenomeLookup GeodesicClosing GeodesicDilation GeodesicErosion GeodesicOpening GeoDestination GeodesyData GeoDirection GeoDistance GeoGridPosition GeometricBrownianMotionProcess GeometricDistribution GeometricMean GeometricMeanFilter GeometricTransformation GeometricTransformation3DBox GeometricTransformation3DBoxOptions GeometricTransformationBox GeometricTransformationBoxOptions GeoPosition GeoPositionENU GeoPositionXYZ GeoProjectionData GestureHandler GestureHandlerTag Get GetBoundingBoxSizePacket GetContext GetEnvironment GetFileName GetFrontEndOptionsDataPacket GetLinebreakInformationPacket GetMenusPacket GetPageBreakInformationPacket Glaisher GlobalClusteringCoefficient GlobalPreferences GlobalSession Glow GoldenRatio GompertzMakehamDistribution GoodmanKruskalGamma GoodmanKruskalGammaTest Goto Grad Gradient GradientFilter GradientOrientationFilter Graph GraphAssortativity GraphCenter GraphComplement GraphData GraphDensity GraphDiameter GraphDifference GraphDisjointUnion GraphDistance GraphDistanceMatrix GraphElementData GraphEmbedding GraphHighlight GraphHighlightStyle GraphHub Graphics Graphics3D Graphics3DBox Graphics3DBoxOptions GraphicsArray GraphicsBaseline GraphicsBox GraphicsBoxOptions GraphicsColor GraphicsColumn GraphicsComplex GraphicsComplex3DBox GraphicsComplex3DBoxOptions GraphicsComplexBox GraphicsComplexBoxOptions GraphicsContents GraphicsData GraphicsGrid GraphicsGridBox GraphicsGroup GraphicsGroup3DBox GraphicsGroup3DBoxOptions GraphicsGroupBox GraphicsGroupBoxOptions GraphicsGrouping GraphicsHighlightColor GraphicsRow GraphicsSpacing GraphicsStyle GraphIntersection GraphLayout GraphLinkEfficiency GraphPeriphery GraphPlot GraphPlot3D GraphPower GraphPropertyDistribution GraphQ GraphRadius GraphReciprocity GraphRoot GraphStyle GraphUnion Gray GrayLevel GreatCircleDistance Greater GreaterEqual GreaterEqualLess GreaterFullEqual GreaterGreater GreaterLess GreaterSlantEqual GreaterTilde Green Grid GridBaseline GridBox GridBoxAlignment GridBoxBackground GridBoxDividers GridBoxFrame GridBoxItemSize GridBoxItemStyle GridBoxOptions GridBoxSpacings GridCreationSettings GridDefaultElement GridElementStyleOptions GridFrame GridFrameMargins GridGraph GridLines GridLinesStyle GroebnerBasis GroupActionBase GroupCentralizer GroupElementFromWord GroupElementPosition GroupElementQ GroupElements GroupElementToWord GroupGenerators GroupMultiplicationTable GroupOrbits GroupOrder GroupPageBreakWithin GroupSetwiseStabilizer GroupStabilizer GroupStabilizerChain Gudermannian GumbelDistribution HaarWavelet HadamardMatrix HalfNormalDistribution HamiltonianGraphQ HammingDistance HammingWindow HankelH1 HankelH2 HankelMatrix HannPoissonWindow HannWindow HaradaNortonGroupHN HararyGraph HarmonicMean HarmonicMeanFilter HarmonicNumber Hash HashTable Haversine HazardFunction Head HeadCompose Heads HeavisideLambda HeavisidePi HeavisideTheta HeldGroupHe HeldPart HelpBrowserLookup HelpBrowserNotebook HelpBrowserSettings HermiteDecomposition HermiteH HermitianMatrixQ HessenbergDecomposition Hessian HexadecimalCharacter Hexahedron HexahedronBox HexahedronBoxOptions HiddenSurface HighlightGraph HighlightImage HighpassFilter HigmanSimsGroupHS HilbertFilter HilbertMatrix Histogram Histogram3D HistogramDistribution HistogramList HistogramTransform HistogramTransformInterpolation HitMissTransform HITSCentrality HodgeDual HoeffdingD HoeffdingDTest Hold HoldAll HoldAllComplete HoldComplete HoldFirst HoldForm HoldPattern HoldRest HolidayCalendar HomeDirectory HomePage Horizontal HorizontalForm HorizontalGauge HorizontalScrollPosition HornerForm HotellingTSquareDistribution HoytDistribution HTMLSave Hue HumpDownHump HumpEqual HurwitzLerchPhi HurwitzZeta HyperbolicDistribution HypercubeGraph HyperexponentialDistribution Hyperfactorial Hypergeometric0F1 Hypergeometric0F1Regularized Hypergeometric1F1 Hypergeometric1F1Regularized Hypergeometric2F1 Hypergeometric2F1Regularized HypergeometricDistribution HypergeometricPFQ HypergeometricPFQRegularized HypergeometricU Hyperlink HyperlinkCreationSettings Hyphenation HyphenationOptions HypoexponentialDistribution HypothesisTestData I Identity IdentityMatrix If IgnoreCase Im Image Image3D Image3DSlices ImageAccumulate ImageAdd ImageAdjust ImageAlign ImageApply ImageAspectRatio ImageAssemble ImageCache ImageCacheValid ImageCapture ImageChannels ImageClip ImageColorSpace ImageCompose ImageConvolve ImageCooccurrence ImageCorners ImageCorrelate ImageCorrespondingPoints ImageCrop ImageData ImageDataPacket ImageDeconvolve ImageDemosaic ImageDifference ImageDimensions ImageDistance ImageEffect ImageFeatureTrack ImageFileApply ImageFileFilter ImageFileScan ImageFilter ImageForestingComponents ImageForwardTransformation ImageHistogram ImageKeypoints ImageLevels ImageLines ImageMargins ImageMarkers ImageMeasurements ImageMultiply ImageOffset ImagePad ImagePadding ImagePartition ImagePeriodogram ImagePerspectiveTransformation ImageQ ImageRangeCache ImageReflect ImageRegion ImageResize ImageResolution ImageRotate ImageRotated ImageScaled ImageScan ImageSize ImageSizeAction ImageSizeCache ImageSizeMultipliers ImageSizeRaw ImageSubtract ImageTake ImageTransformation ImageTrim ImageType ImageValue ImageValuePositions Implies Import ImportAutoReplacements ImportString ImprovementImportance In IncidenceGraph IncidenceList IncidenceMatrix IncludeConstantBasis IncludeFileExtension IncludePods IncludeSingularTerm Increment Indent IndentingNewlineSpacings IndentMaxFraction IndependenceTest IndependentEdgeSetQ IndependentUnit IndependentVertexSetQ Indeterminate IndexCreationOptions Indexed IndexGraph IndexTag Inequality InexactNumberQ InexactNumbers Infinity Infix Information Inherited InheritScope Initialization InitializationCell InitializationCellEvaluation InitializationCellWarning InlineCounterAssignments InlineCounterIncrements InlineRules Inner Inpaint Input InputAliases InputAssumptions InputAutoReplacements InputField InputFieldBox InputFieldBoxOptions InputForm InputGrouping InputNamePacket InputNotebook InputPacket InputSettings InputStream InputString InputStringPacket InputToBoxFormPacket Insert InsertionPointObject InsertResults Inset Inset3DBox Inset3DBoxOptions InsetBox InsetBoxOptions Install InstallService InString Integer IntegerDigits IntegerExponent IntegerLength IntegerPart IntegerPartitions IntegerQ Integers IntegerString Integral Integrate Interactive InteractiveTradingChart Interlaced Interleaving InternallyBalancedDecomposition InterpolatingFunction InterpolatingPolynomial Interpolation InterpolationOrder InterpolationPoints InterpolationPrecision Interpretation InterpretationBox InterpretationBoxOptions InterpretationFunction InterpretTemplate InterquartileRange Interrupt InterruptSettings Intersection Interval IntervalIntersection IntervalMemberQ IntervalUnion Inverse InverseBetaRegularized InverseCDF InverseChiSquareDistribution InverseContinuousWaveletTransform InverseDistanceTransform InverseEllipticNomeQ InverseErf InverseErfc InverseFourier InverseFourierCosTransform InverseFourierSequenceTransform InverseFourierSinTransform InverseFourierTransform InverseFunction InverseFunctions InverseGammaDistribution InverseGammaRegularized InverseGaussianDistribution InverseGudermannian InverseHaversine InverseJacobiCD InverseJacobiCN InverseJacobiCS InverseJacobiDC InverseJacobiDN InverseJacobiDS InverseJacobiNC InverseJacobiND InverseJacobiNS InverseJacobiSC InverseJacobiSD InverseJacobiSN InverseLaplaceTransform InversePermutation InverseRadon InverseSeries InverseSurvivalFunction InverseWaveletTransform InverseWeierstrassP InverseZTransform Invisible InvisibleApplication InvisibleTimes IrreduciblePolynomialQ IsolatingInterval IsomorphicGraphQ IsotopeData Italic Item ItemBox ItemBoxOptions ItemSize ItemStyle ItoProcess JaccardDissimilarity JacobiAmplitude Jacobian JacobiCD JacobiCN JacobiCS JacobiDC JacobiDN JacobiDS JacobiNC JacobiND JacobiNS JacobiP JacobiSC JacobiSD JacobiSN JacobiSymbol JacobiZeta JankoGroupJ1 JankoGroupJ2 JankoGroupJ3 JankoGroupJ4 JarqueBeraALMTest JohnsonDistribution Join Joined JoinedCurve JoinedCurveBox JoinForm JordanDecomposition JordanModelDecomposition K KagiChart KaiserBesselWindow KaiserWindow KalmanEstimator KalmanFilter KarhunenLoeveDecomposition KaryTree KatzCentrality KCoreComponents KDistribution KelvinBei KelvinBer KelvinKei KelvinKer KendallTau KendallTauTest KernelExecute KernelMixtureDistribution KernelObject Kernels Ket Khinchin KirchhoffGraph KirchhoffMatrix KleinInvariantJ KnightTourGraph KnotData KnownUnitQ KolmogorovSmirnovTest KroneckerDelta KroneckerModelDecomposition KroneckerProduct KroneckerSymbol KuiperTest KumaraswamyDistribution Kurtosis KuwaharaFilter Label Labeled LabeledSlider LabelingFunction LabelStyle LaguerreL LambdaComponents LambertW LanczosWindow LandauDistribution Language LanguageCategory LaplaceDistribution LaplaceTransform Laplacian LaplacianFilter LaplacianGaussianFilter Large Larger Last Latitude LatitudeLongitude LatticeData LatticeReduce Launch LaunchKernels LayeredGraphPlot LayerSizeFunction LayoutInformation LCM LeafCount LeapYearQ LeastSquares LeastSquaresFilterKernel Left LeftArrow LeftArrowBar LeftArrowRightArrow LeftDownTeeVector LeftDownVector LeftDownVectorBar LeftRightArrow LeftRightVector LeftTee LeftTeeArrow LeftTeeVector LeftTriangle LeftTriangleBar LeftTriangleEqual LeftUpDownVector LeftUpTeeVector LeftUpVector LeftUpVectorBar LeftVector LeftVectorBar LegendAppearance Legended LegendFunction LegendLabel LegendLayout LegendMargins LegendMarkers LegendMarkerSize LegendreP LegendreQ LegendreType Length LengthWhile LerchPhi Less LessEqual LessEqualGreater LessFullEqual LessGreater LessLess LessSlantEqual LessTilde LetterCharacter LetterQ Level LeveneTest LeviCivitaTensor LevyDistribution Lexicographic LibraryFunction LibraryFunctionError LibraryFunctionInformation LibraryFunctionLoad LibraryFunctionUnload LibraryLoad LibraryUnload LicenseID LiftingFilterData LiftingWaveletTransform LightBlue LightBrown LightCyan Lighter LightGray LightGreen Lighting LightingAngle LightMagenta LightOrange LightPink LightPurple LightRed LightSources LightYellow Likelihood Limit LimitsPositioning LimitsPositioningTokens LindleyDistribution Line Line3DBox LinearFilter LinearFractionalTransform LinearModelFit LinearOffsetFunction LinearProgramming LinearRecurrence LinearSolve LinearSolveFunction LineBox LineBreak LinebreakAdjustments LineBreakChart LineBreakWithin LineColor LineForm LineGraph LineIndent LineIndentMaxFraction LineIntegralConvolutionPlot LineIntegralConvolutionScale LineLegend LineOpacity LineSpacing LineWrapParts LinkActivate LinkClose LinkConnect LinkConnectedQ LinkCreate LinkError LinkFlush LinkFunction LinkHost LinkInterrupt LinkLaunch LinkMode LinkObject LinkOpen LinkOptions LinkPatterns LinkProtocol LinkRead LinkReadHeld LinkReadyQ Links LinkWrite LinkWriteHeld LiouvilleLambda List Listable ListAnimate ListContourPlot ListContourPlot3D ListConvolve ListCorrelate ListCurvePathPlot ListDeconvolve ListDensityPlot Listen ListFourierSequenceTransform ListInterpolation ListLineIntegralConvolutionPlot ListLinePlot ListLogLinearPlot ListLogLogPlot ListLogPlot ListPicker ListPickerBox ListPickerBoxBackground ListPickerBoxOptions ListPlay ListPlot ListPlot3D ListPointPlot3D ListPolarPlot ListQ ListStreamDensityPlot ListStreamPlot ListSurfacePlot3D ListVectorDensityPlot ListVectorPlot ListVectorPlot3D ListZTransform Literal LiteralSearch LocalClusteringCoefficient LocalizeVariables LocationEquivalenceTest LocationTest Locator LocatorAutoCreate LocatorBox LocatorBoxOptions LocatorCentering LocatorPane LocatorPaneBox LocatorPaneBoxOptions LocatorRegion Locked Log Log10 Log2 LogBarnesG LogGamma LogGammaDistribution LogicalExpand LogIntegral LogisticDistribution LogitModelFit LogLikelihood LogLinearPlot LogLogisticDistribution LogLogPlot LogMultinormalDistribution LogNormalDistribution LogPlot LogRankTest LogSeriesDistribution LongEqual Longest LongestAscendingSequence LongestCommonSequence LongestCommonSequencePositions LongestCommonSubsequence LongestCommonSubsequencePositions LongestMatch LongForm Longitude LongLeftArrow LongLeftRightArrow LongRightArrow Loopback LoopFreeGraphQ LowerCaseQ LowerLeftArrow LowerRightArrow LowerTriangularize LowpassFilter LQEstimatorGains LQGRegulator LQOutputRegulatorGains LQRegulatorGains LUBackSubstitution LucasL LuccioSamiComponents LUDecomposition LyapunovSolve LyonsGroupLy MachineID MachineName MachineNumberQ MachinePrecision MacintoshSystemPageSetup Magenta Magnification Magnify MainSolve MaintainDynamicCaches Majority MakeBoxes MakeExpression MakeRules MangoldtLambda ManhattanDistance Manipulate Manipulator MannWhitneyTest MantissaExponent Manual Map MapAll MapAt MapIndexed MAProcess MapThread MarcumQ MardiaCombinedTest MardiaKurtosisTest MardiaSkewnessTest MarginalDistribution MarkovProcessProperties Masking MatchingDissimilarity MatchLocalNameQ MatchLocalNames MatchQ Material MathematicaNotation MathieuC MathieuCharacteristicA MathieuCharacteristicB MathieuCharacteristicExponent MathieuCPrime MathieuGroupM11 MathieuGroupM12 MathieuGroupM22 MathieuGroupM23 MathieuGroupM24 MathieuS MathieuSPrime MathMLForm MathMLText Matrices MatrixExp MatrixForm MatrixFunction MatrixLog MatrixPlot MatrixPower MatrixQ MatrixRank Max MaxBend MaxDetect MaxExtraBandwidths MaxExtraConditions MaxFeatures MaxFilter Maximize MaxIterations MaxMemoryUsed MaxMixtureKernels MaxPlotPoints MaxPoints MaxRecursion MaxStableDistribution MaxStepFraction MaxSteps MaxStepSize MaxValue MaxwellDistribution McLaughlinGroupMcL Mean MeanClusteringCoefficient MeanDegreeConnectivity MeanDeviation MeanFilter MeanGraphDistance MeanNeighborDegree MeanShift MeanShiftFilter Median MedianDeviation MedianFilter Medium MeijerG MeixnerDistribution MemberQ MemoryConstrained MemoryInUse Menu MenuAppearance MenuCommandKey MenuEvaluator MenuItem MenuPacket MenuSortingValue MenuStyle MenuView MergeDifferences Mesh MeshFunctions MeshRange MeshShading MeshStyle Message MessageDialog MessageList MessageName MessageOptions MessagePacket Messages MessagesNotebook MetaCharacters MetaInformation Method MethodOptions MexicanHatWavelet MeyerWavelet Min MinDetect MinFilter MinimalPolynomial MinimalStateSpaceModel Minimize Minors MinRecursion MinSize MinStableDistribution Minus MinusPlus MinValue Missing MissingDataMethod MittagLefflerE MixedRadix MixedRadixQuantity MixtureDistribution Mod Modal Mode Modular ModularLambda Module Modulus MoebiusMu Moment Momentary MomentConvert MomentEvaluate MomentGeneratingFunction Monday Monitor MonomialList MonomialOrder MonsterGroupM MorletWavelet MorphologicalBinarize MorphologicalBranchPoints MorphologicalComponents MorphologicalEulerNumber MorphologicalGraph MorphologicalPerimeter MorphologicalTransform Most MouseAnnotation MouseAppearance MouseAppearanceTag MouseButtons Mouseover MousePointerNote MousePosition MovingAverage MovingMedian MoyalDistribution MultiedgeStyle MultilaunchWarning MultiLetterItalics MultiLetterStyle MultilineFunction Multinomial MultinomialDistribution MultinormalDistribution MultiplicativeOrder Multiplicity Multiselection MultivariateHypergeometricDistribution MultivariatePoissonDistribution MultivariateTDistribution N NakagamiDistribution NameQ Names NamespaceBox Nand NArgMax NArgMin NBernoulliB NCache NDSolve NDSolveValue Nearest NearestFunction NeedCurrentFrontEndPackagePacket NeedCurrentFrontEndSymbolsPacket NeedlemanWunschSimilarity Needs Negative NegativeBinomialDistribution NegativeMultinomialDistribution NeighborhoodGraph Nest NestedGreaterGreater NestedLessLess NestedScriptRules NestList NestWhile NestWhileList NevilleThetaC NevilleThetaD NevilleThetaN NevilleThetaS NewPrimitiveStyle NExpectation Next NextPrime NHoldAll NHoldFirst NHoldRest NicholsGridLines NicholsPlot NIntegrate NMaximize NMaxValue NMinimize NMinValue NominalVariables NonAssociative NoncentralBetaDistribution NoncentralChiSquareDistribution NoncentralFRatioDistribution NoncentralStudentTDistribution NonCommutativeMultiply NonConstants None NonlinearModelFit NonlocalMeansFilter NonNegative NonPositive Nor NorlundB Norm Normal NormalDistribution NormalGrouping Normalize NormalizedSquaredEuclideanDistance NormalsFunction NormFunction Not NotCongruent NotCupCap NotDoubleVerticalBar Notebook NotebookApply NotebookAutoSave NotebookClose NotebookConvertSettings NotebookCreate NotebookCreateReturnObject NotebookDefault NotebookDelete NotebookDirectory NotebookDynamicExpression NotebookEvaluate NotebookEventActions NotebookFileName NotebookFind NotebookFindReturnObject NotebookGet NotebookGetLayoutInformationPacket NotebookGetMisspellingsPacket NotebookInformation NotebookInterfaceObject NotebookLocate NotebookObject NotebookOpen NotebookOpenReturnObject NotebookPath NotebookPrint NotebookPut NotebookPutReturnObject NotebookRead NotebookResetGeneratedCells Notebooks NotebookSave NotebookSaveAs NotebookSelection NotebookSetupLayoutInformationPacket NotebooksMenu NotebookWrite NotElement NotEqualTilde NotExists NotGreater NotGreaterEqual NotGreaterFullEqual NotGreaterGreater NotGreaterLess NotGreaterSlantEqual NotGreaterTilde NotHumpDownHump NotHumpEqual NotLeftTriangle NotLeftTriangleBar NotLeftTriangleEqual NotLess NotLessEqual NotLessFullEqual NotLessGreater NotLessLess NotLessSlantEqual NotLessTilde NotNestedGreaterGreater NotNestedLessLess NotPrecedes NotPrecedesEqual NotPrecedesSlantEqual NotPrecedesTilde NotReverseElement NotRightTriangle NotRightTriangleBar NotRightTriangleEqual NotSquareSubset NotSquareSubsetEqual NotSquareSuperset NotSquareSupersetEqual NotSubset NotSubsetEqual NotSucceeds NotSucceedsEqual NotSucceedsSlantEqual NotSucceedsTilde NotSuperset NotSupersetEqual NotTilde NotTildeEqual NotTildeFullEqual NotTildeTilde NotVerticalBar NProbability NProduct NProductFactors NRoots NSolve NSum NSumTerms Null NullRecords NullSpace NullWords Number NumberFieldClassNumber NumberFieldDiscriminant NumberFieldFundamentalUnits NumberFieldIntegralBasis NumberFieldNormRepresentatives NumberFieldRegulator NumberFieldRootsOfUnity NumberFieldSignature NumberForm NumberFormat NumberMarks NumberMultiplier NumberPadding NumberPoint NumberQ NumberSeparator NumberSigns NumberString Numerator NumericFunction NumericQ NuttallWindow NValues NyquistGridLines NyquistPlot O ObservabilityGramian ObservabilityMatrix ObservableDecomposition ObservableModelQ OddQ Off Offset OLEData On ONanGroupON OneIdentity Opacity Open OpenAppend Opener OpenerBox OpenerBoxOptions OpenerView OpenFunctionInspectorPacket Opening OpenRead OpenSpecialOptions OpenTemporary OpenWrite Operate OperatingSystem OptimumFlowData Optional OptionInspectorSettings OptionQ Options OptionsPacket OptionsPattern OptionValue OptionValueBox OptionValueBoxOptions Or Orange Order OrderDistribution OrderedQ Ordering Orderless OrnsteinUhlenbeckProcess Orthogonalize Out Outer OutputAutoOverwrite OutputControllabilityMatrix OutputControllableModelQ OutputForm OutputFormData OutputGrouping OutputMathEditExpression OutputNamePacket OutputResponse OutputSizeLimit OutputStream Over OverBar OverDot Overflow OverHat Overlaps Overlay OverlayBox OverlayBoxOptions Overscript OverscriptBox OverscriptBoxOptions OverTilde OverVector OwenT OwnValues PackingMethod PaddedForm Padding PadeApproximant PadLeft PadRight PageBreakAbove PageBreakBelow PageBreakWithin PageFooterLines PageFooters PageHeaderLines PageHeaders PageHeight PageRankCentrality PageWidth PairedBarChart PairedHistogram PairedSmoothHistogram PairedTTest PairedZTest PaletteNotebook PalettePath Pane PaneBox PaneBoxOptions Panel PanelBox PanelBoxOptions Paneled PaneSelector PaneSelectorBox PaneSelectorBoxOptions PaperWidth ParabolicCylinderD ParagraphIndent ParagraphSpacing ParallelArray ParallelCombine ParallelDo ParallelEvaluate Parallelization Parallelize ParallelMap ParallelNeeds ParallelProduct ParallelSubmit ParallelSum ParallelTable ParallelTry Parameter ParameterEstimator ParameterMixtureDistribution ParameterVariables ParametricFunction ParametricNDSolve ParametricNDSolveValue ParametricPlot ParametricPlot3D ParentConnect ParentDirectory ParentForm Parenthesize ParentList ParetoDistribution Part PartialCorrelationFunction PartialD ParticleData Partition PartitionsP PartitionsQ ParzenWindow PascalDistribution PassEventsDown PassEventsUp Paste PasteBoxFormInlineCells PasteButton Path PathGraph PathGraphQ Pattern PatternSequence PatternTest PauliMatrix PaulWavelet Pause PausedTime PDF PearsonChiSquareTest PearsonCorrelationTest PearsonDistribution PerformanceGoal PeriodicInterpolation Periodogram PeriodogramArray PermutationCycles PermutationCyclesQ PermutationGroup PermutationLength PermutationList PermutationListQ PermutationMax PermutationMin PermutationOrder PermutationPower PermutationProduct PermutationReplace Permutations PermutationSupport Permute PeronaMalikFilter Perpendicular PERTDistribution PetersenGraph PhaseMargins Pi Pick PIDData PIDDerivativeFilter PIDFeedforward PIDTune Piecewise PiecewiseExpand PieChart PieChart3D PillaiTrace PillaiTraceTest Pink Pivoting PixelConstrained PixelValue PixelValuePositions Placed Placeholder PlaceholderReplace Plain PlanarGraphQ Play PlayRange Plot Plot3D Plot3Matrix PlotDivision PlotJoined PlotLabel PlotLayout PlotLegends PlotMarkers PlotPoints PlotRange PlotRangeClipping PlotRangePadding PlotRegion PlotStyle Plus PlusMinus Pochhammer PodStates PodWidth Point Point3DBox PointBox PointFigureChart PointForm PointLegend PointSize PoissonConsulDistribution PoissonDistribution PoissonProcess PoissonWindow PolarAxes PolarAxesOrigin PolarGridLines PolarPlot PolarTicks PoleZeroMarkers PolyaAeppliDistribution PolyGamma Polygon Polygon3DBox Polygon3DBoxOptions PolygonBox PolygonBoxOptions PolygonHoleScale PolygonIntersections PolygonScale PolyhedronData PolyLog PolynomialExtendedGCD PolynomialForm PolynomialGCD PolynomialLCM PolynomialMod PolynomialQ PolynomialQuotient PolynomialQuotientRemainder PolynomialReduce PolynomialRemainder Polynomials PopupMenu PopupMenuBox PopupMenuBoxOptions PopupView PopupWindow Position Positive PositiveDefiniteMatrixQ PossibleZeroQ Postfix PostScript Power PowerDistribution PowerExpand PowerMod PowerModList PowerSpectralDensity PowersRepresentations PowerSymmetricPolynomial Precedence PrecedenceForm Precedes PrecedesEqual PrecedesSlantEqual PrecedesTilde Precision PrecisionGoal PreDecrement PredictionRoot PreemptProtect PreferencesPath Prefix PreIncrement Prepend PrependTo PreserveImageOptions Previous PriceGraphDistribution PrimaryPlaceholder Prime PrimeNu PrimeOmega PrimePi PrimePowerQ PrimeQ Primes PrimeZetaP PrimitiveRoot PrincipalComponents PrincipalValue Print PrintAction PrintForm PrintingCopies PrintingOptions PrintingPageRange PrintingStartingPageNumber PrintingStyleEnvironment PrintPrecision PrintTemporary Prism PrismBox PrismBoxOptions PrivateCellOptions PrivateEvaluationOptions PrivateFontOptions PrivateFrontEndOptions PrivateNotebookOptions PrivatePaths Probability ProbabilityDistribution ProbabilityPlot ProbabilityPr ProbabilityScalePlot ProbitModelFit ProcessEstimator ProcessParameterAssumptions ProcessParameterQ ProcessStateDomain ProcessTimeDomain Product ProductDistribution ProductLog ProgressIndicator ProgressIndicatorBox ProgressIndicatorBoxOptions Projection Prolog PromptForm Properties Property PropertyList PropertyValue Proportion Proportional Protect Protected ProteinData Pruning PseudoInverse Purple Put PutAppend Pyramid PyramidBox PyramidBoxOptions QBinomial QFactorial QGamma QHypergeometricPFQ QPochhammer QPolyGamma QRDecomposition QuadraticIrrationalQ Quantile QuantilePlot Quantity QuantityForm QuantityMagnitude QuantityQ QuantityUnit Quartics QuartileDeviation Quartiles QuartileSkewness QueueingNetworkProcess QueueingProcess QueueProperties Quiet Quit Quotient QuotientRemainder RadialityCentrality RadicalBox RadicalBoxOptions RadioButton RadioButtonBar RadioButtonBox RadioButtonBoxOptions Radon RamanujanTau RamanujanTauL RamanujanTauTheta RamanujanTauZ Random RandomChoice RandomComplex RandomFunction RandomGraph RandomImage RandomInteger RandomPermutation RandomPrime RandomReal RandomSample RandomSeed RandomVariate RandomWalkProcess Range RangeFilter RangeSpecification RankedMax RankedMin Raster Raster3D Raster3DBox Raster3DBoxOptions RasterArray RasterBox RasterBoxOptions Rasterize RasterSize Rational RationalFunctions Rationalize Rationals Ratios Raw RawArray RawBoxes RawData RawMedium RayleighDistribution Re Read ReadList ReadProtected Real RealBlockDiagonalForm RealDigits RealExponent Reals Reap Record RecordLists RecordSeparators Rectangle RectangleBox RectangleBoxOptions RectangleChart RectangleChart3D RecurrenceFilter RecurrenceTable RecurringDigitsForm Red Reduce RefBox ReferenceLineStyle ReferenceMarkers ReferenceMarkerStyle Refine ReflectionMatrix ReflectionTransform Refresh RefreshRate RegionBinarize RegionFunction RegionPlot RegionPlot3D RegularExpression Regularization Reinstall Release ReleaseHold ReliabilityDistribution ReliefImage ReliefPlot Remove RemoveAlphaChannel RemoveAsynchronousTask Removed RemoveInputStreamMethod RemoveOutputStreamMethod RemoveProperty RemoveScheduledTask RenameDirectory RenameFile RenderAll RenderingOptions RenewalProcess RenkoChart Repeated RepeatedNull RepeatedString Replace ReplaceAll ReplaceHeldPart ReplaceImageValue ReplaceList ReplacePart ReplacePixelValue ReplaceRepeated Resampling Rescale RescalingTransform ResetDirectory ResetMenusPacket ResetScheduledTask Residue Resolve Rest Resultant ResumePacket Return ReturnExpressionPacket ReturnInputFormPacket ReturnPacket ReturnTextPacket Reverse ReverseBiorthogonalSplineWavelet ReverseElement ReverseEquilibrium ReverseGraph ReverseUpEquilibrium RevolutionAxis RevolutionPlot3D RGBColor RiccatiSolve RiceDistribution RidgeFilter RiemannR RiemannSiegelTheta RiemannSiegelZ Riffle Right RightArrow RightArrowBar RightArrowLeftArrow RightCosetRepresentative RightDownTeeVector RightDownVector RightDownVectorBar RightTee RightTeeArrow RightTeeVector RightTriangle RightTriangleBar RightTriangleEqual RightUpDownVector RightUpTeeVector RightUpVector RightUpVectorBar RightVector RightVectorBar RiskAchievementImportance RiskReductionImportance RogersTanimotoDissimilarity Root RootApproximant RootIntervals RootLocusPlot RootMeanSquare RootOfUnityQ RootReduce Roots RootSum Rotate RotateLabel RotateLeft RotateRight RotationAction RotationBox RotationBoxOptions RotationMatrix RotationTransform Round RoundImplies RoundingRadius Row RowAlignments RowBackgrounds RowBox RowHeights RowLines RowMinHeight RowReduce RowsEqual RowSpacings RSolve RudvalisGroupRu Rule RuleCondition RuleDelayed RuleForm RulerUnits Run RunScheduledTask RunThrough RuntimeAttributes RuntimeOptions RussellRaoDissimilarity SameQ SameTest SampleDepth SampledSoundFunction SampledSoundList SampleRate SamplingPeriod SARIMAProcess SARMAProcess SatisfiabilityCount SatisfiabilityInstances SatisfiableQ Saturday Save Saveable SaveAutoDelete SaveDefinitions SawtoothWave Scale Scaled ScaleDivisions ScaledMousePosition ScaleOrigin ScalePadding ScaleRanges ScaleRangeStyle ScalingFunctions ScalingMatrix ScalingTransform Scan ScheduledTaskActiveQ ScheduledTaskData ScheduledTaskObject ScheduledTasks SchurDecomposition ScientificForm ScreenRectangle ScreenStyleEnvironment ScriptBaselineShifts ScriptLevel ScriptMinSize ScriptRules ScriptSizeMultipliers Scrollbars ScrollingOptions ScrollPosition Sec Sech SechDistribution SectionGrouping SectorChart SectorChart3D SectorOrigin SectorSpacing SeedRandom Select Selectable SelectComponents SelectedCells SelectedNotebook Selection SelectionAnimate SelectionCell SelectionCellCreateCell SelectionCellDefaultStyle SelectionCellParentStyle SelectionCreateCell SelectionDebuggerTag SelectionDuplicateCell SelectionEvaluate SelectionEvaluateCreateCell SelectionMove SelectionPlaceholder SelectionSetStyle SelectWithContents SelfLoops SelfLoopStyle SemialgebraicComponentInstances SendMail Sequence SequenceAlignment SequenceForm SequenceHold SequenceLimit Series SeriesCoefficient SeriesData SessionTime Set SetAccuracy SetAlphaChannel SetAttributes Setbacks SetBoxFormNamesPacket SetDelayed SetDirectory SetEnvironment SetEvaluationNotebook SetFileDate SetFileLoadingContext SetNotebookStatusLine SetOptions SetOptionsPacket SetPrecision SetProperty SetSelectedNotebook SetSharedFunction SetSharedVariable SetSpeechParametersPacket SetStreamPosition SetSystemOptions Setter SetterBar SetterBox SetterBoxOptions Setting SetValue Shading Shallow ShannonWavelet ShapiroWilkTest Share Sharpen ShearingMatrix ShearingTransform ShenCastanMatrix Short ShortDownArrow Shortest ShortestMatch ShortestPathFunction ShortLeftArrow ShortRightArrow ShortUpArrow Show ShowAutoStyles ShowCellBracket ShowCellLabel ShowCellTags ShowClosedCellArea ShowContents ShowControls ShowCursorTracker ShowGroupOpenCloseIcon ShowGroupOpener ShowInvisibleCharacters ShowPageBreaks ShowPredictiveInterface ShowSelection ShowShortBoxForm ShowSpecialCharacters ShowStringCharacters ShowSyntaxStyles ShrinkingDelay ShrinkWrapBoundingBox SiegelTheta SiegelTukeyTest Sign Signature SignedRankTest SignificanceLevel SignPadding SignTest SimilarityRules SimpleGraph SimpleGraphQ Simplify Sin Sinc SinghMaddalaDistribution SingleEvaluation SingleLetterItalics SingleLetterStyle SingularValueDecomposition SingularValueList SingularValuePlot SingularValues Sinh SinhIntegral SinIntegral SixJSymbol Skeleton SkeletonTransform SkellamDistribution Skewness SkewNormalDistribution Skip SliceDistribution Slider Slider2D Slider2DBox Slider2DBoxOptions SliderBox SliderBoxOptions SlideView Slot SlotSequence Small SmallCircle Smaller SmithDelayCompensator SmithWatermanSimilarity SmoothDensityHistogram SmoothHistogram SmoothHistogram3D SmoothKernelDistribution SocialMediaData Socket SokalSneathDissimilarity Solve SolveAlways SolveDelayed Sort SortBy Sound SoundAndGraphics SoundNote SoundVolume Sow Space SpaceForm Spacer Spacings Span SpanAdjustments SpanCharacterRounding SpanFromAbove SpanFromBoth SpanFromLeft SpanLineThickness SpanMaxSize SpanMinSize SpanningCharacters SpanSymmetric SparseArray SpatialGraphDistribution Speak SpeakTextPacket SpearmanRankTest SpearmanRho Spectrogram SpectrogramArray Specularity SpellingCorrection SpellingDictionaries SpellingDictionariesPath SpellingOptions SpellingSuggestionsPacket Sphere SphereBox SphericalBesselJ SphericalBesselY SphericalHankelH1 SphericalHankelH2 SphericalHarmonicY SphericalPlot3D SphericalRegion SpheroidalEigenvalue SpheroidalJoiningFactor SpheroidalPS SpheroidalPSPrime SpheroidalQS SpheroidalQSPrime SpheroidalRadialFactor SpheroidalS1 SpheroidalS1Prime SpheroidalS2 SpheroidalS2Prime Splice SplicedDistribution SplineClosed SplineDegree SplineKnots SplineWeights Split SplitBy SpokenString Sqrt SqrtBox SqrtBoxOptions Square SquaredEuclideanDistance SquareFreeQ SquareIntersection SquaresR SquareSubset SquareSubsetEqual SquareSuperset SquareSupersetEqual SquareUnion SquareWave StabilityMargins StabilityMarginsStyle StableDistribution Stack StackBegin StackComplete StackInhibit StandardDeviation StandardDeviationFilter StandardForm Standardize StandbyDistribution Star StarGraph StartAsynchronousTask StartingStepSize StartOfLine StartOfString StartScheduledTask StartupSound StateDimensions StateFeedbackGains StateOutputEstimator StateResponse StateSpaceModel StateSpaceRealization StateSpaceTransform StationaryDistribution StationaryWaveletPacketTransform StationaryWaveletTransform StatusArea StatusCentrality StepMonitor StieltjesGamma StirlingS1 StirlingS2 StopAsynchronousTask StopScheduledTask StrataVariables StratonovichProcess StreamColorFunction StreamColorFunctionScaling StreamDensityPlot StreamPlot StreamPoints StreamPosition Streams StreamScale StreamStyle String StringBreak StringByteCount StringCases StringCount StringDrop StringExpression StringForm StringFormat StringFreeQ StringInsert StringJoin StringLength StringMatchQ StringPosition StringQ StringReplace StringReplaceList StringReplacePart StringReverse StringRotateLeft StringRotateRight StringSkeleton StringSplit StringTake StringToStream StringTrim StripBoxes StripOnInput StripWrapperBoxes StrokeForm StructuralImportance StructuredArray StructuredSelection StruveH StruveL Stub StudentTDistribution Style StyleBox StyleBoxAutoDelete StyleBoxOptions StyleData StyleDefinitions StyleForm StyleKeyMapping StyleMenuListing StyleNameDialogSettings StyleNames StylePrint StyleSheetPath Subfactorial Subgraph SubMinus SubPlus SubresultantPolynomialRemainders SubresultantPolynomials Subresultants Subscript SubscriptBox SubscriptBoxOptions Subscripted Subset SubsetEqual Subsets SubStar Subsuperscript SubsuperscriptBox SubsuperscriptBoxOptions Subtract SubtractFrom SubValues Succeeds SucceedsEqual SucceedsSlantEqual SucceedsTilde SuchThat Sum SumConvergence Sunday SuperDagger SuperMinus SuperPlus Superscript SuperscriptBox SuperscriptBoxOptions Superset SupersetEqual SuperStar Surd SurdForm SurfaceColor SurfaceGraphics SurvivalDistribution SurvivalFunction SurvivalModel SurvivalModelFit SuspendPacket SuzukiDistribution SuzukiGroupSuz SwatchLegend Switch Symbol SymbolName SymletWavelet Symmetric SymmetricGroup SymmetricMatrixQ SymmetricPolynomial SymmetricReduction Symmetrize SymmetrizedArray SymmetrizedArrayRules SymmetrizedDependentComponents SymmetrizedIndependentComponents SymmetrizedReplacePart SynchronousInitialization SynchronousUpdating Syntax SyntaxForm SyntaxInformation SyntaxLength SyntaxPacket SyntaxQ SystemDialogInput SystemException SystemHelpPath SystemInformation SystemInformationData SystemOpen SystemOptions SystemsModelDelay SystemsModelDelayApproximate SystemsModelDelete SystemsModelDimensions SystemsModelExtract SystemsModelFeedbackConnect SystemsModelLabels SystemsModelOrder SystemsModelParallelConnect SystemsModelSeriesConnect SystemsModelStateFeedbackConnect SystemStub Tab TabFilling Table TableAlignments TableDepth TableDirections TableForm TableHeadings TableSpacing TableView TableViewBox TabSpacings TabView TabViewBox TabViewBoxOptions TagBox TagBoxNote TagBoxOptions TaggingRules TagSet TagSetDelayed TagStyle TagUnset Take TakeWhile Tally Tan Tanh TargetFunctions TargetUnits TautologyQ TelegraphProcess TemplateBox TemplateBoxOptions TemplateSlotSequence TemporalData Temporary TemporaryVariable TensorContract TensorDimensions TensorExpand TensorProduct TensorQ TensorRank TensorReduce TensorSymmetry TensorTranspose TensorWedge Tetrahedron TetrahedronBox TetrahedronBoxOptions TeXForm TeXSave Text Text3DBox Text3DBoxOptions TextAlignment TextBand TextBoundingBox TextBox TextCell TextClipboardType TextData TextForm TextJustification TextLine TextPacket TextParagraph TextRecognize TextRendering TextStyle Texture TextureCoordinateFunction TextureCoordinateScaling Therefore ThermometerGauge Thick Thickness Thin Thinning ThisLink ThompsonGroupTh Thread ThreeJSymbol Threshold Through Throw Thumbnail Thursday Ticks TicksStyle Tilde TildeEqual TildeFullEqual TildeTilde TimeConstrained TimeConstraint Times TimesBy TimeSeriesForecast TimeSeriesInvertibility TimeUsed TimeValue TimeZone Timing Tiny TitleGrouping TitsGroupT ToBoxes ToCharacterCode ToColor ToContinuousTimeModel ToDate ToDiscreteTimeModel ToeplitzMatrix ToExpression ToFileName Together Toggle ToggleFalse Toggler TogglerBar TogglerBox TogglerBoxOptions ToHeldExpression ToInvertibleTimeSeries TokenWords Tolerance ToLowerCase ToNumberField TooBig Tooltip TooltipBox TooltipBoxOptions TooltipDelay TooltipStyle Top TopHatTransform TopologicalSort ToRadicals ToRules ToString Total TotalHeight TotalVariationFilter TotalWidth TouchscreenAutoZoom TouchscreenControlPlacement ToUpperCase Tr Trace TraceAbove TraceAction TraceBackward TraceDepth TraceDialog TraceForward TraceInternal TraceLevel TraceOff TraceOn TraceOriginal TracePrint TraceScan TrackedSymbols TradingChart TraditionalForm TraditionalFunctionNotation TraditionalNotation TraditionalOrder TransferFunctionCancel TransferFunctionExpand TransferFunctionFactor TransferFunctionModel TransferFunctionPoles TransferFunctionTransform TransferFunctionZeros TransformationFunction TransformationFunctions TransformationMatrix TransformedDistribution TransformedField Translate TranslationTransform TransparentColor Transpose TreeForm TreeGraph TreeGraphQ TreePlot TrendStyle TriangleWave TriangularDistribution Trig TrigExpand TrigFactor TrigFactorList Trigger TrigReduce TrigToExp TrimmedMean True TrueQ TruncatedDistribution TsallisQExponentialDistribution TsallisQGaussianDistribution TTest Tube TubeBezierCurveBox TubeBezierCurveBoxOptions TubeBox TubeBSplineCurveBox TubeBSplineCurveBoxOptions Tuesday TukeyLambdaDistribution TukeyWindow Tuples TuranGraph TuringMachine Transparent UnateQ Uncompress Undefined UnderBar Underflow Underlined Underoverscript UnderoverscriptBox UnderoverscriptBoxOptions Underscript UnderscriptBox UnderscriptBoxOptions UndirectedEdge UndirectedGraph UndirectedGraphQ UndocumentedTestFEParserPacket UndocumentedTestGetSelectionPacket Unequal Unevaluated UniformDistribution UniformGraphDistribution UniformSumDistribution Uninstall Union UnionPlus Unique UnitBox UnitConvert UnitDimensions Unitize UnitRootTest UnitSimplify UnitStep UnitTriangle UnitVector Unprotect UnsameQ UnsavedVariables Unset UnsetShared UntrackedVariables Up UpArrow UpArrowBar UpArrowDownArrow Update UpdateDynamicObjects UpdateDynamicObjectsSynchronous UpdateInterval UpDownArrow UpEquilibrium UpperCaseQ UpperLeftArrow UpperRightArrow UpperTriangularize Upsample UpSet UpSetDelayed UpTee UpTeeArrow UpValues URL URLFetch URLFetchAsynchronous URLSave URLSaveAsynchronous UseGraphicsRange Using UsingFrontEnd V2Get ValidationLength Value ValueBox ValueBoxOptions ValueForm ValueQ ValuesData Variables Variance VarianceEquivalenceTest VarianceEstimatorFunction VarianceGammaDistribution VarianceTest VectorAngle VectorColorFunction VectorColorFunctionScaling VectorDensityPlot VectorGlyphData VectorPlot VectorPlot3D VectorPoints VectorQ Vectors VectorScale VectorStyle Vee Verbatim Verbose VerboseConvertToPostScriptPacket VerifyConvergence VerifySolutions VerifyTestAssumptions Version VersionNumber VertexAdd VertexCapacity VertexColors VertexComponent VertexConnectivity VertexCoordinateRules VertexCoordinates VertexCorrelationSimilarity VertexCosineSimilarity VertexCount VertexCoverQ VertexDataCoordinates VertexDegree VertexDelete VertexDiceSimilarity VertexEccentricity VertexInComponent VertexInDegree VertexIndex VertexJaccardSimilarity VertexLabeling VertexLabels VertexLabelStyle VertexList VertexNormals VertexOutComponent VertexOutDegree VertexQ VertexRenderingFunction VertexReplace VertexShape VertexShapeFunction VertexSize VertexStyle VertexTextureCoordinates VertexWeight Vertical VerticalBar VerticalForm VerticalGauge VerticalSeparator VerticalSlider VerticalTilde ViewAngle ViewCenter ViewMatrix ViewPoint ViewPointSelectorSettings ViewPort ViewRange ViewVector ViewVertical VirtualGroupData Visible VisibleCell VoigtDistribution VonMisesDistribution WaitAll WaitAsynchronousTask WaitNext WaitUntil WakebyDistribution WalleniusHypergeometricDistribution WaringYuleDistribution WatershedComponents WatsonUSquareTest WattsStrogatzGraphDistribution WaveletBestBasis WaveletFilterCoefficients WaveletImagePlot WaveletListPlot WaveletMapIndexed WaveletMatrixPlot WaveletPhi WaveletPsi WaveletScale WaveletScalogram WaveletThreshold WeaklyConnectedComponents WeaklyConnectedGraphQ WeakStationarity WeatherData WeberE Wedge Wednesday WeibullDistribution WeierstrassHalfPeriods WeierstrassInvariants WeierstrassP WeierstrassPPrime WeierstrassSigma WeierstrassZeta WeightedAdjacencyGraph WeightedAdjacencyMatrix WeightedData WeightedGraphQ Weights WelchWindow WheelGraph WhenEvent Which While White Whitespace WhitespaceCharacter WhittakerM WhittakerW WienerFilter WienerProcess WignerD WignerSemicircleDistribution WilksW WilksWTest WindowClickSelect WindowElements WindowFloating WindowFrame WindowFrameElements WindowMargins WindowMovable WindowOpacity WindowSelected WindowSize WindowStatusArea WindowTitle WindowToolbars WindowWidth With WolframAlpha WolframAlphaDate WolframAlphaQuantity WolframAlphaResult Word WordBoundary WordCharacter WordData WordSearch WordSeparators WorkingPrecision Write WriteString Wronskian XMLElement XMLObject Xnor Xor Yellow YuleDissimilarity ZernikeR ZeroSymmetric ZeroTest ZeroWidthTimes Zeta ZetaZero ZipfDistribution ZTest ZTransform $Aborted $ActivationGroupID $ActivationKey $ActivationUserRegistered $AddOnsDirectory $AssertFunction $Assumptions $AsynchronousTask $BaseDirectory $BatchInput $BatchOutput $BoxForms $ByteOrdering $Canceled $CharacterEncoding $CharacterEncodings $CommandLine $CompilationTarget $ConditionHold $ConfiguredKernels $Context $ContextPath $ControlActiveSetting $CreationDate $CurrentLink $DateStringFormat $DefaultFont $DefaultFrontEnd $DefaultImagingDevice $DefaultPath $Display $DisplayFunction $DistributedContexts $DynamicEvaluation $Echo $Epilog $ExportFormats $Failed $FinancialDataSource $FormatType $FrontEnd $FrontEndSession $GeoLocation $HistoryLength $HomeDirectory $HTTPCookies $IgnoreEOF $ImagingDevices $ImportFormats $InitialDirectory $Input $InputFileName $InputStreamMethods $Inspector $InstallationDate $InstallationDirectory $InterfaceEnvironment $IterationLimit $KernelCount $KernelID $Language $LaunchDirectory $LibraryPath $LicenseExpirationDate $LicenseID $LicenseProcesses $LicenseServer $LicenseSubprocesses $LicenseType $Line $Linked $LinkSupported $LoadedFiles $MachineAddresses $MachineDomain $MachineDomains $MachineEpsilon $MachineID $MachineName $MachinePrecision $MachineType $MaxExtraPrecision $MaxLicenseProcesses $MaxLicenseSubprocesses $MaxMachineNumber $MaxNumber $MaxPiecewiseCases $MaxPrecision $MaxRootDegree $MessageGroups $MessageList $MessagePrePrint $Messages $MinMachineNumber $MinNumber $MinorReleaseNumber $MinPrecision $ModuleNumber $NetworkLicense $NewMessage $NewSymbol $Notebooks $NumberMarks $Off $OperatingSystem $Output $OutputForms $OutputSizeLimit $OutputStreamMethods $Packages $ParentLink $ParentProcessID $PasswordFile $PatchLevelID $Path $PathnameSeparator $PerformanceGoal $PipeSupported $Post $Pre $PreferencesDirectory $PrePrint $PreRead $PrintForms $PrintLiteral $ProcessID $ProcessorCount $ProcessorType $ProductInformation $ProgramName $RandomState $RecursionLimit $ReleaseNumber $RootDirectory $ScheduledTask $ScriptCommandLine $SessionID $SetParentLink $SharedFunctions $SharedVariables $SoundDisplay $SoundDisplayFunction $SuppressInputFormHeads $SynchronousEvaluation $SyntaxHandler $System $SystemCharacterEncoding $SystemID $SystemWordLength $TemporaryDirectory $TemporaryPrefix $TextStyle $TimedOut $TimeUnit $TimeZone $TopDirectory $TraceOff $TraceOn $TracePattern $TracePostAction $TracePreAction $Urgent $UserAddOnsDirectory $UserBaseDirectory $UserDocumentsDirectory $UserName $Version $VersionNumber\",c:[{cN:\"comment\",b:/\\(\\*/,e:/\\*\\)/},e.ASM,e.QSM,e.CNM,{b:/\\{/,e:/\\}/,i:/:/}]}});hljs.registerLanguage(\"haskell\",function(e){var i={v:[e.C(\"--\",\"$\"),e.C(\"{-\",\"-}\",{c:[\"self\"]})]},a={cN:\"meta\",b:\"{-#\",e:\"#-}\"},l={cN:\"meta\",b:\"^#\",e:\"$\"},c={cN:\"type\",b:\"\\\\b[A-Z][\\\\w']*\",r:0},n={b:\"\\\\(\",e:\"\\\\)\",i:'\"',c:[a,l,{cN:\"type\",b:\"\\\\b[A-Z][\\\\w]*(\\\\((\\\\.\\\\.|,|\\\\w+)\\\\))?\"},e.inherit(e.TM,{b:\"[_a-z][\\\\w']*\"}),i]};return{aliases:[\"hs\"],k:\"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec\",c:[{bK:\"module\",e:\"where\",k:\"module where\",c:[n,i],i:\"\\\\W\\\\.|;\"},{b:\"\\\\bimport\\\\b\",e:\"$\",k:\"import qualified as hiding\",c:[n,i],i:\"\\\\W\\\\.|;\"},{cN:\"class\",b:\"^(\\\\s*)?(class|instance)\\\\b\",e:\"where\",k:\"class family instance where\",c:[c,n,i]},{cN:\"class\",b:\"\\\\b(data|(new)?type)\\\\b\",e:\"$\",k:\"data family type newtype deriving\",c:[a,c,n,{b:\"{\",e:\"}\",c:n.c},i]},{bK:\"default\",e:\"$\",c:[c,n,i]},{bK:\"infix infixl infixr\",e:\"$\",c:[e.CNM,i]},{b:\"\\\\bforeign\\\\b\",e:\"$\",k:\"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe\",c:[c,e.QSM,i]},{cN:\"meta\",b:\"#!\\\\/usr\\\\/bin\\\\/env runhaskell\",e:\"$\"},a,l,e.QSM,e.CNM,c,e.inherit(e.TM,{b:\"^[_a-z][\\\\w']*\"}),i,{b:\"->|<-\"}]}});hljs.registerLanguage(\"php\",function(e){var c={b:\"\\\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*\"},i={cN:\"meta\",b:/<\\?(php)?|\\?>/},t={cN:\"string\",c:[e.BE,i],v:[{b:'b\"',e:'\"'},{b:\"b'\",e:\"'\"},e.inherit(e.ASM,{i:null}),e.inherit(e.QSM,{i:null})]},a={v:[e.BNM,e.CNM]};return{aliases:[\"php\",\"php3\",\"php4\",\"php5\",\"php6\",\"php7\"],cI:!0,k:\"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally\",c:[e.HCM,e.C(\"//\",\"$\",{c:[i]}),e.C(\"/\\\\*\",\"\\\\*/\",{c:[{cN:\"doctag\",b:\"@[A-Za-z]+\"}]}),e.C(\"__halt_compiler.+?;\",!1,{eW:!0,k:\"__halt_compiler\",l:e.UIR}),{cN:\"string\",b:/<<<['\"]?\\w+['\"]?$/,e:/^\\w+;?$/,c:[e.BE,{cN:\"subst\",v:[{b:/\\$\\w+/},{b:/\\{\\$/,e:/\\}/}]}]},i,{cN:\"keyword\",b:/\\$this\\b/},c,{b:/(::|->)+[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*/},{cN:\"function\",bK:\"function\",e:/[;{]/,eE:!0,i:\"\\\\$|\\\\[|%\",c:[e.UTM,{cN:\"params\",b:\"\\\\(\",e:\"\\\\)\",c:[\"self\",c,e.CBCM,t,a]}]},{cN:\"class\",bK:\"class interface\",e:\"{\",eE:!0,i:/[:\\(\\$\"]/,c:[{bK:\"extends implements\"},e.UTM]},{bK:\"namespace\",e:\";\",i:/[\\.']/,c:[e.UTM]},{bK:\"use\",e:\";\",c:[e.UTM]},{b:\"=>\"},t,a]}});hljs.registerLanguage(\"autohotkey\",function(e){var r={b:\"`[\\\\s\\\\S]\"};return{cI:!0,aliases:[\"ahk\"],k:{keyword:\"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group\",literal:\"A|0 true false NOT AND OR\",built_in:\"ComSpec Clipboard ClipboardAll ErrorLevel\"},c:[{cN:\"built_in\",b:\"A_[a-zA-Z0-9]+\"},r,e.inherit(e.QSM,{c:[r]}),e.C(\";\",\"$\",{r:0}),e.CBCM,{cN:\"number\",b:e.NR,r:0},{cN:\"subst\",b:\"%(?=[a-zA-Z0-9#_$@])\",e:\"%\",i:\"[^a-zA-Z0-9#_$@]\"},{cN:\"built_in\",b:\"^\\\\s*\\\\w+\\\\s*,\"},{cN:\"meta\",b:\"^\\\\s*#w+\",e:\"$\",r:0},{cN:\"symbol\",c:[r],v:[{b:'^[^\\\\n\";]+::(?!=)'},{b:'^[^\\\\n\";]+:(?!=)',r:0}]},{b:\",\\\\s*,\"}]}});hljs.registerLanguage(\"x86asm\",function(s){return{cI:!0,l:\"[.%]?\"+s.IR,k:{keyword:\"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63\",built_in:\"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr\",meta:\"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__\"},c:[s.C(\";\",\"$\",{r:0}),{cN:\"number\",v:[{b:\"\\\\b(?:([0-9][0-9_]*)?\\\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*\\\\.?[0-9_]*(?:[pP](?:[+-]?[0-9_]+)?)?)\\\\b\",r:0},{b:\"\\\\$[0-9][0-9A-Fa-f]*\",r:0},{b:\"\\\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\\\b\"},{b:\"\\\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\\\b\"}]},s.QSM,{cN:\"string\",v:[{b:\"'\",e:\"[^\\\\\\\\]'\"},{b:\"`\",e:\"[^\\\\\\\\]`\"}],r:0},{cN:\"symbol\",v:[{b:\"^\\\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\\\s+label)\"},{b:\"^\\\\s*%%[A-Za-z0-9_$#@~.?]*:\"}],r:0},{cN:\"subst\",b:\"%[0-9]+\",r:0},{cN:\"subst\",b:\"%!S+\",r:0},{cN:\"meta\",b:/^\\s*\\.[\\w_-]+/}]}});hljs.registerLanguage(\"powershell\",function(e){var t={b:\"`[\\\\s\\\\S]\",r:0},o={cN:\"variable\",v:[{b:/\\$[\\w\\d][\\w\\d_:]*/}]},r={cN:\"string\",v:[{b:/\"/,e:/\"/},{b:/@\"/,e:/^\"@/}],c:[t,o,{cN:\"variable\",b:/\\$[A-z]/,e:/[^A-z]/}]},n=e.inherit(e.C(null,null),{v:[{b:/#/,e:/$/},{b:/<#/,e:/#>/}],c:[{cN:\"doctag\",v:[{b:/\\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{b:/\\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\\s+\\S+/}]}]});return{aliases:[\"ps\"],l:/-?[A-z\\.\\-]+/,cI:!0,k:{keyword:\"if else foreach return function do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch\",built_in:\"Add-Computer Add-Content Add-History Add-JobTrigger Add-Member Add-PSSnapin Add-Type Checkpoint-Computer Clear-Content Clear-EventLog Clear-History Clear-Host Clear-Item Clear-ItemProperty Clear-Variable Compare-Object Complete-Transaction Connect-PSSession Connect-WSMan Convert-Path ConvertFrom-Csv ConvertFrom-Json ConvertFrom-SecureString ConvertFrom-StringData ConvertTo-Csv ConvertTo-Html ConvertTo-Json ConvertTo-SecureString ConvertTo-Xml Copy-Item Copy-ItemProperty Debug-Process Disable-ComputerRestore Disable-JobTrigger Disable-PSBreakpoint Disable-PSRemoting Disable-PSSessionConfiguration Disable-WSManCredSSP Disconnect-PSSession Disconnect-WSMan Disable-ScheduledJob Enable-ComputerRestore Enable-JobTrigger Enable-PSBreakpoint Enable-PSRemoting Enable-PSSessionConfiguration Enable-ScheduledJob Enable-WSManCredSSP Enter-PSSession Exit-PSSession Export-Alias Export-Clixml Export-Console Export-Counter Export-Csv Export-FormatData Export-ModuleMember Export-PSSession ForEach-Object Format-Custom Format-List Format-Table Format-Wide Get-Acl Get-Alias Get-AuthenticodeSignature Get-ChildItem Get-Command Get-ComputerRestorePoint Get-Content Get-ControlPanelItem Get-Counter Get-Credential Get-Culture Get-Date Get-Event Get-EventLog Get-EventSubscriber Get-ExecutionPolicy Get-FormatData Get-Host Get-HotFix Get-Help Get-History Get-IseSnippet Get-Item Get-ItemProperty Get-Job Get-JobTrigger Get-Location Get-Member Get-Module Get-PfxCertificate Get-Process Get-PSBreakpoint Get-PSCallStack Get-PSDrive Get-PSProvider Get-PSSession Get-PSSessionConfiguration Get-PSSnapin Get-Random Get-ScheduledJob Get-ScheduledJobOption Get-Service Get-TraceSource Get-Transaction Get-TypeData Get-UICulture Get-Unique Get-Variable Get-Verb Get-WinEvent Get-WmiObject Get-WSManCredSSP Get-WSManInstance Group-Object Import-Alias Import-Clixml Import-Counter Import-Csv Import-IseSnippet Import-LocalizedData Import-PSSession Import-Module Invoke-AsWorkflow Invoke-Command Invoke-Expression Invoke-History Invoke-Item Invoke-RestMethod Invoke-WebRequest Invoke-WmiMethod Invoke-WSManAction Join-Path Limit-EventLog Measure-Command Measure-Object Move-Item Move-ItemProperty New-Alias New-Event New-EventLog New-IseSnippet New-Item New-ItemProperty New-JobTrigger New-Object New-Module New-ModuleManifest New-PSDrive New-PSSession New-PSSessionConfigurationFile New-PSSessionOption New-PSTransportOption New-PSWorkflowExecutionOption New-PSWorkflowSession New-ScheduledJobOption New-Service New-TimeSpan New-Variable New-WebServiceProxy New-WinEvent New-WSManInstance New-WSManSessionOption Out-Default Out-File Out-GridView Out-Host Out-Null Out-Printer Out-String Pop-Location Push-Location Read-Host Receive-Job Register-EngineEvent Register-ObjectEvent Register-PSSessionConfiguration Register-ScheduledJob Register-WmiEvent Remove-Computer Remove-Event Remove-EventLog Remove-Item Remove-ItemProperty Remove-Job Remove-JobTrigger Remove-Module Remove-PSBreakpoint Remove-PSDrive Remove-PSSession Remove-PSSnapin Remove-TypeData Remove-Variable Remove-WmiObject Remove-WSManInstance Rename-Computer Rename-Item Rename-ItemProperty Reset-ComputerMachinePassword Resolve-Path Restart-Computer Restart-Service Restore-Computer Resume-Job Resume-Service Save-Help Select-Object Select-String Select-Xml Send-MailMessage Set-Acl Set-Alias Set-AuthenticodeSignature Set-Content Set-Date Set-ExecutionPolicy Set-Item Set-ItemProperty Set-JobTrigger Set-Location Set-PSBreakpoint Set-PSDebug Set-PSSessionConfiguration Set-ScheduledJob Set-ScheduledJobOption Set-Service Set-StrictMode Set-TraceSource Set-Variable Set-WmiInstance Set-WSManInstance Set-WSManQuickConfig Show-Command Show-ControlPanelItem Show-EventLog Sort-Object Split-Path Start-Job Start-Process Start-Service Start-Sleep Start-Transaction Start-Transcript Stop-Computer Stop-Job Stop-Process Stop-Service Stop-Transcript Suspend-Job Suspend-Service Tee-Object Test-ComputerSecureChannel Test-Connection Test-ModuleManifest Test-Path Test-PSSessionConfigurationFile Trace-Command Unblock-File Undo-Transaction Unregister-Event Unregister-PSSessionConfiguration Unregister-ScheduledJob Update-FormatData Update-Help Update-List Update-TypeData Use-Transaction Wait-Event Wait-Job Wait-Process Where-Object Write-Debug Write-Error Write-EventLog Write-Host Write-Output Write-Progress Write-Verbose Write-Warning Add-MDTPersistentDrive Disable-MDTMonitorService Enable-MDTMonitorService Get-MDTDeploymentShareStatistics Get-MDTMonitorData Get-MDTOperatingSystemCatalog Get-MDTPersistentDrive Import-MDTApplication Import-MDTDriver Import-MDTOperatingSystem Import-MDTPackage Import-MDTTaskSequence New-MDTDatabase Remove-MDTMonitorData Remove-MDTPersistentDrive Restore-MDTPersistentDrive Set-MDTMonitorData Test-MDTDeploymentShare Test-MDTMonitorData Update-MDTDatabaseSchema Update-MDTDeploymentShare Update-MDTLinkedDS Update-MDTMedia Update-MDTMedia Add-VamtProductKey Export-VamtData Find-VamtManagedMachine Get-VamtConfirmationId Get-VamtProduct Get-VamtProductKey Import-VamtData Initialize-VamtData Install-VamtConfirmationId Install-VamtProductActivation Install-VamtProductKey Update-VamtProduct\",nomarkup:\"-ne -eq -lt -gt -ge -le -not -like -notlike -match -notmatch -contains -notcontains -in -notin -replace\"},c:[t,e.NM,r,{cN:\"string\",v:[{b:/'/,e:/'/},{b:/@'/,e:/^'@/}]},{cN:\"literal\",b:/\\$(null|true|false)\\b/},o,n]}});hljs.registerLanguage(\"bash\",function(e){var t={cN:\"variable\",v:[{b:/\\$[\\w\\d#@][\\w\\d_]*/},{b:/\\$\\{(.*?)}/}]},s={cN:\"string\",b:/\"/,e:/\"/,c:[e.BE,t,{cN:\"variable\",b:/\\$\\(/,e:/\\)/,c:[e.BE]}]};return{aliases:[\"sh\",\"zsh\"],l:/\\b-?[a-z\\._]+\\b/,k:{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\",_:\"-ne -eq -lt -gt -f -d -e -s -l -a\"},c:[{cN:\"meta\",b:/^#![^\\n]+sh\\s*$/,r:10},{cN:\"function\",b:/\\w[\\w\\d_]*\\s*\\(\\s*\\)\\s*\\{/,rB:!0,c:[e.inherit(e.TM,{b:/\\w[\\w\\d_]*/})],r:0},e.HCM,s,{cN:\"string\",b:/'/,e:/'/},t]}});hljs.registerLanguage(\"shell\",function(s){return{aliases:[\"console\"],c:[{cN:\"meta\",b:\"^\\\\s{0,3}[\\\\w\\\\d\\\\[\\\\]()@-]*[>%$#]\",starts:{e:\"$\",sL:\"bash\"}}]}});hljs.registerLanguage(\"css\",function(e){var c={b:/[A-Z\\_\\.\\-]+\\s*:/,rB:!0,e:\";\",eW:!0,c:[{cN:\"attribute\",b:/\\S/,e:\":\",eE:!0,starts:{eW:!0,eE:!0,c:[{b:/[\\w-]+\\(/,rB:!0,c:[{cN:\"built_in\",b:/[\\w-]+/},{b:/\\(/,e:/\\)/,c:[e.ASM,e.QSM]}]},e.CSSNM,e.QSM,e.ASM,e.CBCM,{cN:\"number\",b:\"#[0-9A-Fa-f]+\"},{cN:\"meta\",b:\"!important\"}]}}]};return{cI:!0,i:/[=\\/|'\\$]/,c:[e.CBCM,{cN:\"selector-id\",b:/#[A-Za-z0-9_-]+/},{cN:\"selector-class\",b:/\\.[A-Za-z0-9_-]+/},{cN:\"selector-attr\",b:/\\[/,e:/\\]/,i:\"$\"},{cN:\"selector-pseudo\",b:/:(:)?[a-zA-Z0-9\\_\\-\\+\\(\\)\"'.]+/},{b:\"@(font-face|page)\",l:\"[a-z-]+\",k:\"font-face page\"},{b:\"@\",e:\"[{;]\",i:/:/,c:[{cN:\"keyword\",b:/\\w+/},{b:/\\s/,eW:!0,eE:!0,r:0,c:[e.ASM,e.QSM,e.CSSNM]}]},{cN:\"selector-tag\",b:\"[a-zA-Z-][a-zA-Z0-9_-]*\",r:0},{b:\"{\",e:\"}\",i:/\\S/,c:[e.CBCM,c]}]}});hljs.registerLanguage(\"vim\",function(e){return{l:/[!#@\\w]+/,k:{keyword:\"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank\",built_in:\"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp\"},i:/;/,c:[e.NM,{cN:\"string\",b:\"'\",e:\"'\",i:\"\\\\n\"},{cN:\"string\",b:/\"(\\\\\"|\\n\\\\|[^\"\\n])*\"/},e.C('\"',\"$\"),{cN:\"variable\",b:/[bwtglsav]:[\\w\\d_]*/},{cN:\"function\",bK:\"function function!\",e:\"$\",r:0,c:[e.TM,{cN:\"params\",b:\"\\\\(\",e:\"\\\\)\"}]},{cN:\"symbol\",b:/<[\\w-]+>/}]}});hljs.registerLanguage(\"ruby\",function(e){var b=\"[a-zA-Z_]\\\\w*[!?=]?|[-+~]\\\\@|<<|>>|=~|===?|<=>|[<>]=?|\\\\*\\\\*|[-/+%^&*~`|]|\\\\[\\\\]=?\",r={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\",literal:\"true false nil\"},c={cN:\"doctag\",b:\"@[A-Za-z]+\"},a={b:\"#<\",e:\">\"},s=[e.C(\"#\",\"$\",{c:[c]}),e.C(\"^\\\\=begin\",\"^\\\\=end\",{c:[c],r:10}),e.C(\"^__END__\",\"\\\\n$\")],n={cN:\"subst\",b:\"#\\\\{\",e:\"}\",k:r},t={cN:\"string\",c:[e.BE,n],v:[{b:/'/,e:/'/},{b:/\"/,e:/\"/},{b:/`/,e:/`/},{b:\"%[qQwWx]?\\\\(\",e:\"\\\\)\"},{b:\"%[qQwWx]?\\\\[\",e:\"\\\\]\"},{b:\"%[qQwWx]?{\",e:\"}\"},{b:\"%[qQwWx]?<\",e:\">\"},{b:\"%[qQwWx]?/\",e:\"/\"},{b:\"%[qQwWx]?%\",e:\"%\"},{b:\"%[qQwWx]?-\",e:\"-\"},{b:\"%[qQwWx]?\\\\|\",e:\"\\\\|\"},{b:/\\B\\?(\\\\\\d{1,3}|\\\\x[A-Fa-f0-9]{1,2}|\\\\u[A-Fa-f0-9]{4}|\\\\?\\S)\\b/},{b:/<<(-?)\\w+$/,e:/^\\s*\\w+$/}]},i={cN:\"params\",b:\"\\\\(\",e:\"\\\\)\",endsParent:!0,k:r},d=[t,a,{cN:\"class\",bK:\"class module\",e:\"$|;\",i:/=/,c:[e.inherit(e.TM,{b:\"[A-Za-z_]\\\\w*(::\\\\w+)*(\\\\?|\\\\!)?\"}),{b:\"<\\\\s*\",c:[{b:\"(\"+e.IR+\"::)?\"+e.IR}]}].concat(s)},{cN:\"function\",bK:\"def\",e:\"$|;\",c:[e.inherit(e.TM,{b:b}),i].concat(s)},{b:e.IR+\"::\"},{cN:\"symbol\",b:e.UIR+\"(\\\\!|\\\\?)?:\",r:0},{cN:\"symbol\",b:\":(?!\\\\s)\",c:[t,{b:b}],r:0},{cN:\"number\",b:\"(\\\\b0[0-7_]+)|(\\\\b0x[0-9a-fA-F_]+)|(\\\\b[1-9][0-9_]*(\\\\.[0-9_]+)?)|[0_]\\\\b\",r:0},{b:\"(\\\\$\\\\W)|((\\\\$|\\\\@\\\\@?)(\\\\w+))\"},{cN:\"params\",b:/\\|/,e:/\\|/,k:r},{b:\"(\"+e.RSR+\"|unless)\\\\s*\",k:\"unless\",c:[a,{cN:\"regexp\",c:[e.BE,n],i:/\\n/,v:[{b:\"/\",e:\"/[a-z]*\"},{b:\"%r{\",e:\"}[a-z]*\"},{b:\"%r\\\\(\",e:\"\\\\)[a-z]*\"},{b:\"%r!\",e:\"![a-z]*\"},{b:\"%r\\\\[\",e:\"\\\\][a-z]*\"}]}].concat(s),r:0}].concat(s);n.c=d;var l=[{b:/^\\s*=>/,starts:{e:\"$\",c:i.c=d}},{cN:\"meta\",b:\"^([>?]>|[\\\\w#]+\\\\(\\\\w+\\\\):\\\\d+:\\\\d+>|(\\\\w+-)?\\\\d+\\\\.\\\\d+\\\\.\\\\d(p\\\\d+)?[^>]+>)\",starts:{e:\"$\",c:d}}];return{aliases:[\"rb\",\"gemspec\",\"podspec\",\"thor\",\"irb\"],k:r,i:/\\/\\*/,c:s.concat(l).concat(d)}});hljs.registerLanguage(\"yaml\",function(e){var b=\"true false yes no null\",a=\"^[ \\\\-]*\",r=\"[a-zA-Z_][\\\\w\\\\-]*\",t={cN:\"attr\",v:[{b:a+r+\":\"},{b:a+'\"'+r+'\":'},{b:a+\"'\"+r+\"':\"}]},c={cN:\"string\",r:0,v:[{b:/'/,e:/'/},{b:/\"/,e:/\"/},{b:/\\S+/}],c:[e.BE,{cN:\"template-variable\",v:[{b:\"{{\",e:\"}}\"},{b:\"%{\",e:\"}\"}]}]};return{cI:!0,aliases:[\"yml\",\"YAML\",\"yaml\"],c:[t,{cN:\"meta\",b:\"^---s*$\",r:10},{cN:\"string\",b:\"[\\\\|>] *$\",rE:!0,c:c.c,e:t.v[0].b},{b:\"<%[%=-]?\",e:\"[%-]?%>\",sL:\"ruby\",eB:!0,eE:!0,r:0},{cN:\"type\",b:\"!\"+e.UIR},{cN:\"type\",b:\"!!\"+e.UIR},{cN:\"meta\",b:\"&\"+e.UIR+\"$\"},{cN:\"meta\",b:\"\\\\*\"+e.UIR+\"$\"},{cN:\"bullet\",b:\"^ *-\",r:0},e.HCM,{bK:b,k:{literal:b}},e.CNM,c]}});hljs.registerLanguage(\"fortran\",function(e){return{cI:!0,aliases:[\"f90\",\"f95\"],k:{literal:\".False. .True.\",keyword:\"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then 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 integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data\",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_ofacosh 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\"},i:/\\/\\*/,c:[e.inherit(e.ASM,{cN:\"string\",r:0}),e.inherit(e.QSM,{cN:\"string\",r:0}),{cN:\"function\",bK:\"subroutine function program\",i:\"[${=\\\\n]\",c:[e.UTM,{cN:\"params\",b:\"\\\\(\",e:\"\\\\)\"}]},e.C(\"!\",\"$\",{r:0}),{cN:\"number\",b:\"(?=\\\\b|\\\\+|\\\\-|\\\\.)(?=\\\\.\\\\d|\\\\d)(?:\\\\d+)?(?:\\\\.?\\\\d*)(?:[de][+-]?\\\\d+)?\\\\b\\\\.?\",r:0}]}});hljs.registerLanguage(\"erlang\",function(e){var r=\"[a-z'][a-zA-Z0-9_']*\",c=\"(\"+r+\":\"+r+\"|\"+r+\")\",b={keyword:\"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor\",literal:\"false true\"},i=e.C(\"%\",\"$\"),n={cN:\"number\",b:\"\\\\b(\\\\d+#[a-fA-F0-9]+|\\\\d+(\\\\.\\\\d+)?([eE][-+]?\\\\d+)?)\",r:0},a={b:\"fun\\\\s+\"+r+\"/\\\\d+\"},d={b:c+\"\\\\(\",e:\"\\\\)\",rB:!0,r:0,c:[{b:c,r:0},{b:\"\\\\(\",e:\"\\\\)\",eW:!0,rE:!0,r:0}]},o={b:\"{\",e:\"}\",r:0},t={b:\"\\\\b_([A-Z][A-Za-z0-9_]*)?\",r:0},f={b:\"[A-Z][a-zA-Z0-9_]*\",r:0},l={b:\"#\"+e.UIR,r:0,rB:!0,c:[{b:\"#\"+e.UIR,r:0},{b:\"{\",e:\"}\",r:0}]},s={bK:\"fun receive if try case\",e:\"end\",k:b};s.c=[i,a,e.inherit(e.ASM,{cN:\"\"}),s,d,e.QSM,n,o,t,f,l];var u=[i,a,s,d,e.QSM,n,o,t,f,l];d.c[1].c=u,o.c=u;var h={cN:\"params\",b:\"\\\\(\",e:\"\\\\)\",c:l.c[1].c=u};return{aliases:[\"erl\"],k:b,i:\"(</|\\\\*=|\\\\+=|-=|/\\\\*|\\\\*/|\\\\(\\\\*|\\\\*\\\\))\",c:[{cN:\"function\",b:\"^\"+r+\"\\\\s*\\\\(\",e:\"->\",rB:!0,i:\"\\\\(|#|//|/\\\\*|\\\\\\\\|:|;\",c:[h,e.inherit(e.TM,{b:r})],starts:{e:\";|\\\\.\",k:b,c:u}},i,{b:\"^-\",e:\"\\\\.\",r:0,eE:!0,rB:!0,l:\"-\"+e.IR,k:\"-module -record -undef -export -ifdef -ifndef -author -copyright -doc -vsn -import -include -include_lib -compile -define -else -endif -file -behaviour -behavior -spec\",c:[h]},n,e.QSM,l,t,f,o,{b:/\\.$/}]}});hljs.registerLanguage(\"nginx\",function(e){var r={cN:\"variable\",v:[{b:/\\$\\d+/},{b:/\\$\\{/,e:/}/},{b:\"[\\\\$\\\\@]\"+e.UIR}]},b={eW:!0,l:\"[a-z/_]+\",k:{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\"},r:0,i:\"=>\",c:[e.HCM,{cN:\"string\",c:[e.BE,r],v:[{b:/\"/,e:/\"/},{b:/'/,e:/'/}]},{b:\"([a-z]+):/\",e:\"\\\\s\",eW:!0,eE:!0,c:[r]},{cN:\"regexp\",c:[e.BE,r],v:[{b:\"\\\\s\\\\^\",e:\"\\\\s|{|;\",rE:!0},{b:\"~\\\\*?\\\\s+\",e:\"\\\\s|{|;\",rE:!0},{b:\"\\\\*(\\\\.[a-z\\\\-]+)+\"},{b:\"([a-z\\\\-]+\\\\.)+\\\\*\"}]},{cN:\"number\",b:\"\\\\b\\\\d{1,3}\\\\.\\\\d{1,3}\\\\.\\\\d{1,3}\\\\.\\\\d{1,3}(:\\\\d{1,5})?\\\\b\"},{cN:\"number\",b:\"\\\\b\\\\d+[kKmMgGdshdwy]*\\\\b\",r:0},r]};return{aliases:[\"nginxconf\"],c:[e.HCM,{b:e.UIR+\"\\\\s+{\",rB:!0,e:\"{\",c:[{cN:\"section\",b:e.UIR}],r:0},{b:e.UIR+\"\\\\s\",e:\";|{\",rB:!0,c:[{cN:\"attribute\",b:e.UIR,starts:b}],r:0}],i:\"[^\\\\s\\\\}]\"}});hljs.registerLanguage(\"makefile\",function(e){var i={cN:\"variable\",v:[{b:\"\\\\$\\\\(\"+e.UIR+\"\\\\)\",c:[e.BE]},{b:/\\$[@%<?\\^\\+\\*]/}]},r={cN:\"string\",b:/\"/,e:/\"/,c:[e.BE,i]},a={cN:\"variable\",b:/\\$\\([\\w-]+\\s/,e:/\\)/,k:{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\"},c:[i]},n={b:\"^\"+e.UIR+\"\\\\s*[:+?]?=\",i:\"\\\\n\",rB:!0,c:[{b:\"^\"+e.UIR,e:\"[:+?]?=\",eE:!0}]},t={cN:\"section\",b:/^[^\\s]+:/,e:/$/,c:[i]};return{aliases:[\"mk\",\"mak\"],k:\"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath\",l:/[\\w-]+/,c:[e.HCM,i,r,a,n,{cN:\"meta\",b:/^\\.PHONY:/,e:/$/,k:{\"meta-keyword\":\".PHONY\"},l:/[\\.\\w]+/},t]}});hljs.registerLanguage(\"ini\",function(e){var b={cN:\"string\",c:[e.BE],v:[{b:\"'''\",e:\"'''\",r:10},{b:'\"\"\"',e:'\"\"\"',r:10},{b:'\"',e:'\"'},{b:\"'\",e:\"'\"}]};return{aliases:[\"toml\"],cI:!0,i:/\\S/,c:[e.C(\";\",\"$\"),e.HCM,{cN:\"section\",b:/^\\s*\\[+/,e:/\\]+/},{b:/^[a-z0-9\\[\\]_\\.-]+\\s*=\\s*/,e:\"$\",rB:!0,c:[{cN:\"attr\",b:/[a-z0-9\\[\\]_\\.-]+/},{b:/=/,eW:!0,r:0,c:[{cN:\"literal\",b:/\\bon|off|true|false|yes|no\\b/},{cN:\"variable\",v:[{b:/\\$[\\w\\d\"][\\w\\d_]*/},{b:/\\$\\{(.*?)}/}]},b,{cN:\"number\",b:/([\\+\\-]+)?[\\d]+_[\\d_]+/},e.NM]}]}]}});hljs.registerLanguage(\"matlab\",function(e){var a=\"('|\\\\.')+\",s={r:0,c:[{b:a}]};return{k:{keyword:\"break case catch classdef continue else elseif end enumerated events for function global if methods otherwise parfor persistent properties return spmd switch try while\",built_in:\"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i inf nan isnan isinf isfinite j why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell \"},i:'(//|\"|#|/\\\\*|\\\\s+/\\\\w+)',c:[{cN:\"function\",bK:\"function\",e:\"$\",c:[e.UTM,{cN:\"params\",v:[{b:\"\\\\(\",e:\"\\\\)\"},{b:\"\\\\[\",e:\"\\\\]\"}]}]},{cN:\"built_in\",b:/true|false/,r:0,starts:s},{b:\"[a-zA-Z][a-zA-Z_0-9]*\"+a,r:0},{cN:\"number\",b:e.CNR,r:0,starts:s},{cN:\"string\",b:\"'\",e:\"'\",c:[e.BE,{b:\"''\"}]},{b:/\\]|}|\\)/,r:0,starts:s},{cN:\"string\",b:'\"',e:'\"',c:[e.BE,{b:'\"\"'}],starts:s},e.C(\"^\\\\s*\\\\%\\\\{\\\\s*$\",\"^\\\\s*\\\\%\\\\}\\\\s*$\"),e.C(\"\\\\%\",\"$\")]}});hljs.registerLanguage(\"elixir\",function(e){var r=\"[a-zA-Z_][a-zA-Z0-9_.]*(\\\\!|\\\\?)?\",b=\"and false then defined module in return redo retry end for true self when next until do begin unless nil break not case cond alias while ensure or include use alias fn quote require import with|0\",n={cN:\"subst\",b:\"#\\\\{\",e:\"}\",l:r,k:b},c={cN:\"string\",c:[e.BE,n],v:[{b:/'/,e:/'/},{b:/\"/,e:/\"/}]},i={cN:\"function\",bK:\"def defp defmacro\",e:/\\B\\b/,c:[e.inherit(e.TM,{b:r,endsParent:!0})]},a=e.inherit(i,{cN:\"class\",bK:\"defimpl defmodule defprotocol defrecord\",e:/\\bdo\\b|$|;/}),l=[c,e.HCM,a,i,{b:\"::\"},{cN:\"symbol\",b:\":(?![\\\\s:])\",c:[c,{b:\"[a-zA-Z_]\\\\w*[!?=]?|[-+~]\\\\@|<<|>>|=~|===?|<=>|[<>]=?|\\\\*\\\\*|[-/+%^&*~`|]|\\\\[\\\\]=?\"}],r:0},{cN:\"symbol\",b:r+\":(?!:)\",r:0},{cN:\"number\",b:\"(\\\\b0[0-7_]+)|(\\\\b0x[0-9a-fA-F_]+)|(\\\\b[1-9][0-9_]*(\\\\.[0-9_]+)?)|[0_]\\\\b\",r:0},{cN:\"variable\",b:\"(\\\\$\\\\W)|((\\\\$|\\\\@\\\\@?)(\\\\w+))\"},{b:\"->\"},{b:\"(\"+e.RSR+\")\\\\s*\",c:[e.HCM,{cN:\"regexp\",i:\"\\\\n\",c:[e.BE,n],v:[{b:\"/\",e:\"/[a-z]*\"},{b:\"%r\\\\[\",e:\"\\\\][a-z]*\"}]}],r:0}];return{l:r,k:b,c:n.c=l}});hljs.registerLanguage(\"objectivec\",function(e){var t=/[a-zA-Z@][a-zA-Z0-9_]*/,_=\"@interface @class @protocol @implementation\";return{aliases:[\"mm\",\"objc\",\"obj-c\"],k:{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\"},l:t,i:\"</\",c:[{cN:\"built_in\",b:\"\\\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\\\w+\"},e.CLCM,e.CBCM,e.CNM,e.QSM,{cN:\"string\",v:[{b:'@\"',e:'\"',i:\"\\\\n\",c:[e.BE]},{b:\"'\",e:\"[^\\\\\\\\]'\",i:\"[^\\\\\\\\][^']\"}]},{cN:\"meta\",b:\"#\",e:\"$\",c:[{cN:\"meta-string\",v:[{b:'\"',e:'\"'},{b:\"<\",e:\">\"}]}]},{cN:\"class\",b:\"(\"+_.split(\" \").join(\"|\")+\")\\\\b\",e:\"({|$)\",eE:!0,k:_,l:t,c:[e.UTM]},{b:\"\\\\.\"+e.UIR,r:0}]}});hljs.registerLanguage(\"cs\",function(e){var i={keyword:\"abstract as base bool break byte case catch char checked const continue decimal default delegate do double enum event explicit extern finally fixed float for foreach goto if implicit in int interface internal is lock long nameof object operator out override params private protected public readonly ref sbyte sealed short sizeof stackalloc static string struct switch this try typeof uint ulong unchecked unsafe ushort using virtual void volatile while add alias ascending async await by descending dynamic equals from get global group into join let on orderby partial remove select set value var where yield\",literal:\"null false true\"},r={cN:\"number\",v:[{b:\"\\\\b(0b[01']+)\"},{b:\"(-?)\\\\b([\\\\d']+(\\\\.[\\\\d']*)?|\\\\.[\\\\d']+)(u|U|l|L|ul|UL|f|F|b|B)\"},{b:\"(-?)(\\\\b0[xX][a-fA-F0-9']+|(\\\\b[\\\\d']+(\\\\.[\\\\d']*)?|\\\\.[\\\\d']+)([eE][-+]?[\\\\d']+)?)\"}],r:0},t={cN:\"string\",b:'@\"',e:'\"',c:[{b:'\"\"'}]},a=e.inherit(t,{i:/\\n/}),c={cN:\"subst\",b:\"{\",e:\"}\",k:i},n=e.inherit(c,{i:/\\n/}),s={cN:\"string\",b:/\\$\"/,e:'\"',i:/\\n/,c:[{b:\"{{\"},{b:\"}}\"},e.BE,n]},b={cN:\"string\",b:/\\$@\"/,e:'\"',c:[{b:\"{{\"},{b:\"}}\"},{b:'\"\"'},c]},l=e.inherit(b,{i:/\\n/,c:[{b:\"{{\"},{b:\"}}\"},{b:'\"\"'},n]});c.c=[b,s,t,e.ASM,e.QSM,r,e.CBCM],n.c=[l,s,a,e.ASM,e.QSM,r,e.inherit(e.CBCM,{i:/\\n/})];var o={v:[b,s,t,e.ASM,e.QSM]},d=e.IR+\"(<\"+e.IR+\"(\\\\s*,\\\\s*\"+e.IR+\")*>)?(\\\\[\\\\])?\";return{aliases:[\"csharp\",\"c#\"],k:i,i:/::/,c:[e.C(\"///\",\"$\",{rB:!0,c:[{cN:\"doctag\",v:[{b:\"///\",r:0},{b:\"\\x3c!--|--\\x3e\"},{b:\"</?\",e:\">\"}]}]}),e.CLCM,e.CBCM,{cN:\"meta\",b:\"#\",e:\"$\",k:{\"meta-keyword\":\"if else elif endif define undef warning error line region endregion pragma checksum\"}},o,r,{bK:\"class interface\",e:/[{;=]/,i:/[^\\s:,]/,c:[e.TM,e.CLCM,e.CBCM]},{bK:\"namespace\",e:/[{;=]/,i:/[^\\s:]/,c:[e.inherit(e.TM,{b:\"[a-zA-Z](\\\\.?\\\\w)*\"}),e.CLCM,e.CBCM]},{cN:\"meta\",b:\"^\\\\s*\\\\[\",eB:!0,e:\"\\\\]\",eE:!0,c:[{cN:\"meta-string\",b:/\"/,e:/\"/}]},{bK:\"new return throw await else\",r:0},{cN:\"function\",b:\"(\"+d+\"\\\\s+)+\"+e.IR+\"\\\\s*\\\\(\",rB:!0,e:/\\s*[{;=]/,eE:!0,k:i,c:[{b:e.IR+\"\\\\s*\\\\(\",rB:!0,c:[e.TM],r:0},{cN:\"params\",b:/\\(/,e:/\\)/,eB:!0,eE:!0,k:i,r:0,c:[o,r,e.CBCM]},e.CLCM,e.CBCM]}]}});hljs.registerLanguage(\"python\",function(e){var r={keyword:\"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda async await nonlocal|10\",built_in:\"Ellipsis NotImplemented\",literal:\"False None True\"},b={cN:\"meta\",b:/^(>>>|\\.\\.\\.) /},c={cN:\"subst\",b:/\\{/,e:/\\}/,k:r,i:/#/},a={cN:\"string\",c:[e.BE],v:[{b:/(u|b)?r?'''/,e:/'''/,c:[e.BE,b],r:10},{b:/(u|b)?r?\"\"\"/,e:/\"\"\"/,c:[e.BE,b],r:10},{b:/(fr|rf|f)'''/,e:/'''/,c:[e.BE,b,c]},{b:/(fr|rf|f)\"\"\"/,e:/\"\"\"/,c:[e.BE,b,c]},{b:/(u|r|ur)'/,e:/'/,r:10},{b:/(u|r|ur)\"/,e:/\"/,r:10},{b:/(b|br)'/,e:/'/},{b:/(b|br)\"/,e:/\"/},{b:/(fr|rf|f)'/,e:/'/,c:[e.BE,c]},{b:/(fr|rf|f)\"/,e:/\"/,c:[e.BE,c]},e.ASM,e.QSM]},i={cN:\"number\",r:0,v:[{b:e.BNR+\"[lLjJ]?\"},{b:\"\\\\b(0o[0-7]+)[lLjJ]?\"},{b:e.CNR+\"[lLjJ]?\"}]},l={cN:\"params\",b:/\\(/,e:/\\)/,c:[\"self\",b,i,a]};return c.c=[a,i,b],{aliases:[\"py\",\"gyp\",\"ipython\"],k:r,i:/(<\\/|->|\\?)|=>/,c:[b,i,a,e.HCM,{v:[{cN:\"function\",bK:\"def\"},{cN:\"class\",bK:\"class\"}],e:/:/,i:/[${=;\\n,]/,c:[e.UTM,l,{b:/->/,eW:!0,k:\"None\"}]},{cN:\"meta\",b:/^[\\t ]*@/,e:/$/},{b:/\\b(print|exec)\\(/}]}});hljs.registerLanguage(\"javascript\",function(e){var r=\"[A-Za-z$_][0-9A-Za-z$_]*\",t={keyword:\"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as\",literal:\"true false null undefined NaN Infinity\",built_in:\"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise\"},a={cN:\"number\",v:[{b:\"\\\\b(0[bB][01]+)\"},{b:\"\\\\b(0[oO][0-7]+)\"},{b:e.CNR}],r:0},n={cN:\"subst\",b:\"\\\\$\\\\{\",e:\"\\\\}\",k:t,c:[]},c={cN:\"string\",b:\"`\",e:\"`\",c:[e.BE,n]};n.c=[e.ASM,e.QSM,c,a,e.RM];var s=n.c.concat([e.CBCM,e.CLCM]);return{aliases:[\"js\",\"jsx\"],k:t,c:[{cN:\"meta\",r:10,b:/^\\s*['\"]use (strict|asm)['\"]/},{cN:\"meta\",b:/^#!/,e:/$/},e.ASM,e.QSM,c,e.CLCM,e.CBCM,a,{b:/[{,]\\s*/,r:0,c:[{b:r+\"\\\\s*:\",rB:!0,r:0,c:[{cN:\"attr\",b:r,r:0}]}]},{b:\"(\"+e.RSR+\"|\\\\b(case|return|throw)\\\\b)\\\\s*\",k:\"return throw case\",c:[e.CLCM,e.CBCM,e.RM,{cN:\"function\",b:\"(\\\\(.*?\\\\)|\"+r+\")\\\\s*=>\",rB:!0,e:\"\\\\s*=>\",c:[{cN:\"params\",v:[{b:r},{b:/\\(\\s*\\)/},{b:/\\(/,e:/\\)/,eB:!0,eE:!0,k:t,c:s}]}]},{b:/</,e:/(\\/\\w+|\\w+\\/)>/,sL:\"xml\",c:[{b:/<\\w+\\s*\\/>/,skip:!0},{b:/<\\w+/,e:/(\\/\\w+|\\w+\\/)>/,skip:!0,c:[{b:/<\\w+\\s*\\/>/,skip:!0},\"self\"]}]}],r:0},{cN:\"function\",bK:\"function\",e:/\\{/,eE:!0,c:[e.inherit(e.TM,{b:r}),{cN:\"params\",b:/\\(/,e:/\\)/,eB:!0,eE:!0,c:s}],i:/\\[|%/},{b:/\\$[(.]/},e.METHOD_GUARD,{cN:\"class\",bK:\"class\",e:/[{;=]/,eE:!0,i:/[:\"\\[\\]]/,c:[{bK:\"extends\"},e.UTM]},{bK:\"constructor get set\",e:/\\{/,eE:!0}],i:/#(?!!)/}});hljs.registerLanguage(\"dockerfile\",function(e){return{aliases:[\"docker\"],cI:!0,k:\"from maintainer expose env arg user onbuild stopsignal\",c:[e.HCM,e.ASM,e.QSM,e.NM,{bK:\"run cmd entrypoint volume add copy workdir label healthcheck shell\",starts:{e:/[^\\\\]$/,sL:\"bash\"}}],i:\"</\"}});hljs.registerLanguage(\"r\",function(e){var r=\"([a-zA-Z]|\\\\.[a-zA-Z.])[a-zA-Z0-9._]*\";return{c:[e.HCM,{b:r,l:r,k:{keyword:\"function if in break next repeat else for return switch while try tryCatch stop warning require library attach detach source setMethod setGeneric setGroupGeneric setClass ...\",literal:\"NULL NA TRUE FALSE T F Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10\"},r:0},{cN:\"number\",b:\"0[xX][0-9a-fA-F]+[Li]?\\\\b\",r:0},{cN:\"number\",b:\"\\\\d+(?:[eE][+\\\\-]?\\\\d*)?L\\\\b\",r:0},{cN:\"number\",b:\"\\\\d+\\\\.(?!\\\\d)(?:i\\\\b)?\",r:0},{cN:\"number\",b:\"\\\\d+(?:\\\\.\\\\d*)?(?:[eE][+\\\\-]?\\\\d*)?i?\\\\b\",r:0},{cN:\"number\",b:\"\\\\.\\\\d+(?:[eE][+\\\\-]?\\\\d*)?i?\\\\b\",r:0},{b:\"`\",e:\"`\",r:0},{cN:\"string\",c:[e.BE],v:[{b:'\"',e:'\"'},{b:\"'\",e:\"'\"}]}]}});hljs.registerLanguage(\"awk\",function(e){return{k:{keyword:\"BEGIN END if else while do for in break continue delete next nextfile function func exit|10\"},c:[{cN:\"variable\",v:[{b:/\\$[\\w\\d#@][\\w\\d_]*/},{b:/\\$\\{(.*?)}/}]},{cN:\"string\",c:[e.BE],v:[{b:/(u|b)?r?'''/,e:/'''/,r:10},{b:/(u|b)?r?\"\"\"/,e:/\"\"\"/,r:10},{b:/(u|r|ur)'/,e:/'/,r:10},{b:/(u|r|ur)\"/,e:/\"/,r:10},{b:/(b|br)'/,e:/'/},{b:/(b|br)\"/,e:/\"/},e.ASM,e.QSM]},e.RM,e.HCM,e.NM]}});\n\nexports.hljs = hljs;\n", "type": "application/javascript", "title": "$:/plugins/tiddlywiki/highlight/highlight.js", "module-type": "library" }, "$:/plugins/tiddlywiki/highlight/highlight.css": { "text": "/*\n\nOriginal highlight.js style (c) Ivan Sagalaev <maniac@softwaremaniacs.org>\n\n*/\n\n.hljs {\n display: block;\n overflow-x: auto;\n padding: 0.5em;\n background: #F0F0F0;\n}\n\n\n/* Base color: saturation 0; */\n\n.hljs,\n.hljs-subst {\n color: #444;\n}\n\n.hljs-comment {\n color: #888888;\n}\n\n.hljs-keyword,\n.hljs-attribute,\n.hljs-selector-tag,\n.hljs-meta-keyword,\n.hljs-doctag,\n.hljs-name {\n font-weight: bold;\n}\n\n\n/* User color: hue: 0 */\n\n.hljs-type,\n.hljs-string,\n.hljs-number,\n.hljs-selector-id,\n.hljs-selector-class,\n.hljs-quote,\n.hljs-template-tag,\n.hljs-deletion {\n color: #880000;\n}\n\n.hljs-title,\n.hljs-section {\n color: #880000;\n font-weight: bold;\n}\n\n.hljs-regexp,\n.hljs-symbol,\n.hljs-variable,\n.hljs-template-variable,\n.hljs-link,\n.hljs-selector-attr,\n.hljs-selector-pseudo {\n color: #BC6060;\n}\n\n\n/* Language color: hue: 90; */\n\n.hljs-literal {\n color: #78A960;\n}\n\n.hljs-built_in,\n.hljs-bullet,\n.hljs-code,\n.hljs-addition {\n color: #397300;\n}\n\n\n/* Meta color: hue: 200 */\n\n.hljs-meta {\n color: #1f7199;\n}\n\n.hljs-meta-string {\n color: #4d99bf;\n}\n\n\n/* Misc effects */\n\n.hljs-emphasis {\n font-style: italic;\n}\n\n.hljs-strong {\n font-weight: bold;\n}\n", "type": "text/css", "title": "$:/plugins/tiddlywiki/highlight/highlight.css", "tags": "[[$:/tags/Stylesheet]]" }, "$:/plugins/tiddlywiki/highlight/highlightblock.js": { "title": "$:/plugins/tiddlywiki/highlight/highlightblock.js", "text": "/*\\\ntitle: $:/plugins/tiddlywiki/highlight/highlightblock.js\ntype: application/javascript\nmodule-type: widget\n\nWraps up the fenced code blocks parser for highlight and use in TiddlyWiki5\n\n\\*/\n(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nvar TYPE_MAPPINGS_BASE = \"$:/config/HighlightPlugin/TypeMappings/\";\n\nvar CodeBlockWidget = require(\"$:/core/modules/widgets/codeblock.js\").codeblock;\n\nvar hljs = require(\"$:/plugins/tiddlywiki/highlight/highlight.js\");\n\nhljs.configure({tabReplace: \" \"});\t\n\nCodeBlockWidget.prototype.postRender = function() {\n\tvar domNode = this.domNodes[0],\n\t\tlanguage = this.language,\n\t\ttiddler = this.wiki.getTiddler(TYPE_MAPPINGS_BASE + language);\n\tif(tiddler) {\n\t\tlanguage = tiddler.fields.text || \"\";\n\t}\n\tif(language && hljs.getLanguage(language)) {\n\t\tdomNode.className = language.toLowerCase() + \" hljs\";\n\t\tif($tw.browser && !domNode.isTiddlyWikiFakeDom) {\n\t\t\thljs.highlightBlock(domNode);\t\t\t\n\t\t} else {\n\t\t\tvar text = domNode.textContent;\n\t\t\tdomNode.children[0].innerHTML = hljs.fixMarkup(hljs.highlight(language,text).value);\n\t\t\t// If we're using the fakedom then specially save the original raw text\n\t\t\tif(domNode.isTiddlyWikiFakeDom) {\n\t\t\t\tdomNode.children[0].textInnerHTML = text;\n\t\t\t}\n\t\t}\n\t}\t\n};\n\n})();\n", "type": "application/javascript", "module-type": "widget" }, "$:/plugins/tiddlywiki/highlight/howto": { "title": "$:/plugins/tiddlywiki/highlight/howto", "text": "! 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. It is possible for users to change the set of languages supported by the plugin by following these steps:\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.pack.js` file in the highlight plugin -- on a stock Debian 8 system running Tiddlywiki5 under node-js it is located at `/usr/local/lib/node_modules/tiddlywiki/plugins/tiddlywiki/highlight/files/highlight.pack.js`.\n# Replace the plugin `highlight.pack.js` file located in step 2 with the one from the downloaded archive obtained in step 1.\n# Restart the Tiddlywiki server.\n" }, "$:/plugins/tiddlywiki/highlight/license": { "title": "$:/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": { "title": "$:/plugins/tiddlywiki/highlight/readme", "text": "This plugin provides syntax highlighting of code blocks using v9.15.6 of [[highlight.js|https://github.com/isagalaev/highlight.js]] from Ivan Sagalaev.\n\n! Usage\n\nWhen the plugin is installed it automatically applies highlighting to all codeblocks defined with triple backticks or with the CodeBlockWidget.\n\nThe language can optionally be specified after the opening triple braces:\n\n<$codeblock code=\"\"\"```css\n * { margin: 0; padding: 0; } /* micro reset */\n\nhtml { font-size: 62.5%; }\nbody { font-size: 14px; font-size: 1.4rem; } /* =14px */\nh1 { font-size: 24px; font-size: 2.4rem; } /* =24px */\n```\"\"\"/>\n\nIf no language is specified highlight.js will attempt to automatically detect the language.\n\n! Built-in Language Brushes\n\nThe plugin includes support for the following languages (referred to as \"brushes\" by highlight.js):\n\n* apache\n* arduino\n* arm assembly\n* asciidoc\n* autohotkey\n* awk\n* bash\n* cmake\n* coffeescript\n* cpp\n* cs\n* css\n* diff\n* dockerfile\n* erlang\n* fortran\n* go\n* gradle\n* haskell\n* html\n* http\n* ini\n* intel x86 assembly\n* java\n* javascript\n* json\n* kotlin\n* makefile\n* markdown\n* mathematica\n* matlab\n* nginx\n* objectivec\n* perl\n* php\n* powershell\n* python\n* R\n* ruby\n* rust\n* sql\n* typescript\n* vim script\n* xml\n* yaml\n\nYou can also specify the language as a MIME content type (eg `text/html` or `text/css`). The mapping is accomplished via mapping tiddlers whose titles start with `$:/config/HighlightPlugin/TypeMappings/`.\n" }, "$:/plugins/tiddlywiki/highlight/styles": { "title": "$:/plugins/tiddlywiki/highlight/styles", "tags": "[[$:/tags/Stylesheet]]", "text": ".hljs{display:block;overflow-x:auto;padding:.5em;color:#333;background:#f8f8f8;-webkit-text-size-adjust:none}.hljs-comment,.diff .hljs-header,.hljs-javadoc{color:#998;font-style:italic}.hljs-keyword,.css .rule .hljs-keyword,.hljs-winutils,.nginx .hljs-title,.hljs-subst,.hljs-request,.hljs-status{color:#333;font-weight:bold}.hljs-number,.hljs-hexcolor,.ruby .hljs-constant{color:teal}.hljs-string,.hljs-tag .hljs-value,.hljs-phpdoc,.hljs-dartdoc,.tex .hljs-formula{color:#d14}.hljs-title,.hljs-id,.scss .hljs-preprocessor{color:#900;font-weight:bold}.hljs-list .hljs-keyword,.hljs-subst{font-weight:normal}.hljs-class .hljs-title,.hljs-type,.vhdl .hljs-literal,.tex .hljs-command{color:#458;font-weight:bold}.hljs-tag,.hljs-tag .hljs-title,.hljs-rule .hljs-property,.django .hljs-tag .hljs-keyword{color:navy;font-weight:normal}.hljs-attribute,.hljs-variable,.lisp .hljs-body,.hljs-name{color:teal}.hljs-regexp{color:#009926}.hljs-symbol,.ruby .hljs-symbol .hljs-string,.lisp .hljs-keyword,.clojure .hljs-keyword,.scheme .hljs-keyword,.tex .hljs-special,.hljs-prompt{color:#990073}.hljs-built_in{color:#0086b3}.hljs-preprocessor,.hljs-pragma,.hljs-pi,.hljs-doctype,.hljs-shebang,.hljs-cdata{color:#999;font-weight:bold}.hljs-deletion{background:#fdd}.hljs-addition{background:#dfd}.diff .hljs-change{background:#0086b3}.hljs-chunk{color:#aaa}" }, "$:/plugins/tiddlywiki/highlight/usage": { "title": "$:/plugins/tiddlywiki/highlight/usage", "text": "! Usage\n\nFenced code blocks can have a language specifier added to trigger highlighting in a specific language. Otherwise heuristics are used to detect the language.\n\n```\n ```js\n var a = b + c; // Highlighted as JavaScript\n ```\n```\n! Adding Themes\n\nYou can add themes from highlight.js by copying the CSS to a new tiddler and tagging it with [[$:/tags/Stylesheet]]. The available themes can be found on GitHub:\n\nhttps://github.com/isagalaev/highlight.js/tree/master/src/styles\n" } } }
var hljs = require("$:/plugins/tiddlywiki/highlight/highlight.js"); // Copy and paste the below code from the package downloaded from highlight.js :) /*! highlight.js v9.16.2 | BSD3 License | git.io/hljslicense */ !function(e){var n="object"==typeof window&&window||"object"==typeof self&&self;"undefined"==typeof exports||exports.nodeType?n&&(n.hljs=e({}),"function"==typeof define&&define.amd&&define([],function(){return n.hljs})):e(exports)}(function(a){var f=[],i=Object.keys,b={},u={},n=/^(no-?highlight|plain|text)$/i,l=/\blang(?:uage)?-([\w-]+)\b/i,t=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,r={case_insensitive:"cI",lexemes:"l",contains:"c",keywords:"k",subLanguage:"sL",className:"cN",begin:"b",beginKeywords:"bK",end:"e",endsWithParent:"eW",illegal:"i",excludeBegin:"eB",excludeEnd:"eE",returnBegin:"rB",returnEnd:"rE",variants:"v",IDENT_RE:"IR",UNDERSCORE_IDENT_RE:"UIR",NUMBER_RE:"NR",C_NUMBER_RE:"CNR",BINARY_NUMBER_RE:"BNR",RE_STARTERS_RE:"RSR",BACKSLASH_ESCAPE:"BE",APOS_STRING_MODE:"ASM",QUOTE_STRING_MODE:"QSM",PHRASAL_WORDS_MODE:"PWM",C_LINE_COMMENT_MODE:"CLCM",C_BLOCK_COMMENT_MODE:"CBCM",HASH_COMMENT_MODE:"HCM",NUMBER_MODE:"NM",C_NUMBER_MODE:"CNM",BINARY_NUMBER_MODE:"BNM",CSS_NUMBER_MODE:"CSSNM",REGEXP_MODE:"RM",TITLE_MODE:"TM",UNDERSCORE_TITLE_MODE:"UTM",COMMENT:"C",beginRe:"bR",endRe:"eR",illegalRe:"iR",lexemesRe:"lR",terminators:"t",terminator_end:"tE"},_="</span>",m={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0},c="of and for in not or if then".split(" ");function C(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function E(e){return e.nodeName.toLowerCase()}function o(e){return n.test(e)}function s(e){var n,t={},r=Array.prototype.slice.call(arguments,1);for(n in e)t[n]=e[n];return r.forEach(function(e){for(n in e)t[n]=e[n]}),t}function g(e){var a=[];return function e(n,t){for(var r=n.firstChild;r;r=r.nextSibling)3===r.nodeType?t+=r.nodeValue.length:1===r.nodeType&&(a.push({event:"start",offset:t,node:r}),t=e(r,t),E(r).match(/br|hr|img|input/)||a.push({event:"stop",offset:t,node:r}));return t}(e,0),a}function d(e,n,t){var r=0,a="",i=[];function c(){return e.length&&n.length?e[0].offset!==n[0].offset?e[0].offset<n[0].offset?e:n:"start"===n[0].event?e:n:e.length?e:n}function u(e){a+="<"+E(e)+f.map.call(e.attributes,function(e){return" "+e.nodeName+'="'+C(e.value).replace('"',""")+'"'}).join("")+">"}function l(e){a+="</"+E(e)+">"}function o(e){("start"===e.event?u:l)(e.node)}for(;e.length||n.length;){var s=c();if(a+=C(t.substring(r,s[0].offset)),r=s[0].offset,s===e){for(i.reverse().forEach(l);o(s.splice(0,1)[0]),(s=c())===e&&s.length&&s[0].offset===r;);i.reverse().forEach(u)}else"start"===s[0].event?i.push(s[0].node):i.pop(),o(s.splice(0,1)[0])}return a+C(t.substr(r))}function R(n){return n.v&&!n.cached_variants&&(n.cached_variants=n.v.map(function(e){return s(n,{v:null},e)})),n.cached_variants?n.cached_variants:function e(n){return!!n&&(n.eW||e(n.starts))}(n)?[s(n,{starts:n.starts?s(n.starts):null})]:[n]}function v(e){if(r&&!e.langApiRestored){for(var n in e.langApiRestored=!0,r)e[n]&&(e[r[n]]=e[n]);(e.c||[]).concat(e.v||[]).forEach(v)}}function p(n,r){var a={};return"string"==typeof n?t("keyword",n):i(n).forEach(function(e){t(e,n[e])}),a;function t(t,e){r&&(e=e.toLowerCase()),e.split(" ").forEach(function(e){var n=e.split("|");a[n[0]]=[t,function(e,n){return n?Number(n):function(e){return-1!=c.indexOf(e.toLowerCase())}(e)?0:1}(n[0],n[1])]})}}function O(r){function s(e){return e&&e.source||e}function f(e,n){return new RegExp(s(e),"m"+(r.cI?"i":"")+(n?"g":""))}function a(a){var i,e,c={},u=[],l={},t=1;function n(e,n){c[t]=e,u.push([e,n]),t+=function(e){return new RegExp(e.toString()+"|").exec("").length-1}(n)+1}for(var r=0;r<a.c.length;r++){n(e=a.c[r],e.bK?"\\.?(?:"+e.b+")\\.?":e.b)}a.tE&&n("end",a.tE),a.i&&n("illegal",a.i);var o=u.map(function(e){return e[1]});return i=f(function(e,n){for(var t=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,r=0,a="",i=0;i<e.length;i++){var c=r+=1,u=s(e[i]);for(0<i&&(a+=n),a+="(";0<u.length;){var l=t.exec(u);if(null==l){a+=u;break}a+=u.substring(0,l.index),u=u.substring(l.index+l[0].length),"\\"==l[0][0]&&l[1]?a+="\\"+String(Number(l[1])+c):(a+=l[0],"("==l[0]&&r++)}a+=")"}return a}(o,"|"),!0),l.lastIndex=0,l.exec=function(e){var n;if(0===u.length)return null;i.lastIndex=l.lastIndex;var t=i.exec(e);if(!t)return null;for(var r=0;r<t.length;r++)if(null!=t[r]&&null!=c[""+r]){n=c[""+r];break}return"string"==typeof n?(t.type=n,t.extra=[a.i,a.tE]):(t.type="begin",t.rule=n),t},l}!function n(t,e){t.compiled||(t.compiled=!0,t.k=t.k||t.bK,t.k&&(t.k=p(t.k,r.cI)),t.lR=f(t.l||/\w+/,!0),e&&(t.bK&&(t.b="\\b("+t.bK.split(" ").join("|")+")\\b"),t.b||(t.b=/\B|\b/),t.bR=f(t.b),t.endSameAsBegin&&(t.e=t.b),t.e||t.eW||(t.e=/\B|\b/),t.e&&(t.eR=f(t.e)),t.tE=s(t.e)||"",t.eW&&e.tE&&(t.tE+=(t.e?"|":"")+e.tE)),t.i&&(t.iR=f(t.i)),null==t.relevance&&(t.relevance=1),t.c||(t.c=[]),t.c=Array.prototype.concat.apply([],t.c.map(function(e){return R("self"===e?t:e)})),t.c.forEach(function(e){n(e,t)}),t.starts&&n(t.starts,e),t.t=a(t))}(r)}function x(e,a,i,n){function c(e,n){if(function(e,n){var t=e&&e.exec(n);return t&&0===t.index}(e.eR,n)){for(;e.endsParent&&e.parent;)e=e.parent;return e}if(e.eW)return c(e.parent,n)}function u(e,n,t,r){if(!t&&""===n)return"";if(!e)return n;var a='<span class="'+(r?"":m.classPrefix);return(a+=e+'">')+n+(t?"":_)}function l(){R+=null!=g.sL?function(){var e="string"==typeof g.sL;if(e&&!b[g.sL])return C(v);var n=e?x(g.sL,v,!0,d[g.sL]):B(v,g.sL.length?g.sL:void 0);return 0<g.relevance&&(p+=n.relevance),e&&(d[g.sL]=n.top),u(n.language,n.value,!1,!0)}():function(){var e,n,t,r,a,i,c;if(!g.k)return C(v);for(r="",n=0,g.lR.lastIndex=0,t=g.lR.exec(v);t;)r+=C(v.substring(n,t.index)),a=g,i=t,void 0,c=E.cI?i[0].toLowerCase():i[0],(e=a.k.hasOwnProperty(c)&&a.k[c])?(p+=e[1],r+=u(e[0],C(t[0]))):r+=C(t[0]),n=g.lR.lastIndex,t=g.lR.exec(v);return r+C(v.substr(n))}(),v=""}function o(e){R+=e.cN?u(e.cN,"",!0):"",g=Object.create(e,{parent:{value:g}})}function s(e){var n=e[0],t=e.rule;return t&&t.endSameAsBegin&&(t.eR=function(e){return new RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}(n)),t.skip?v+=n:(t.eB&&(v+=n),l(),t.rB||t.eB||(v=n)),o(t),t.rB?0:n.length}var f={};function t(e,n){var t=n&&n[0];if(v+=e,null==t)return l(),0;if("begin"==f.type&&"end"==n.type&&f.index==n.index&&""===t)return v+=a.slice(n.index,n.index+1),1;if("begin"===(f=n).type)return s(n);if("illegal"===n.type&&!i)throw new Error('Illegal lexeme "'+t+'" for mode "'+(g.cN||"<unnamed>")+'"');if("end"===n.type){var r=function(e){var n=e[0],t=c(g,n);if(t){var r=g;for(r.skip?v+=n:(r.rE||r.eE||(v+=n),l(),r.eE&&(v=n));g.cN&&(R+=_),g.skip||g.sL||(p+=g.relevance),(g=g.parent)!==t.parent;);return t.starts&&(t.endSameAsBegin&&(t.starts.eR=t.eR),o(t.starts)),r.rE?0:n.length}}(n);if(null!=r)return r}return v+=t,t.length}var E=S(e);if(!E)throw new Error('Unknown language: "'+e+'"');O(E);var r,g=n||E,d={},R="";for(r=g;r!==E;r=r.parent)r.cN&&(R=u(r.cN,"",!0)+R);var v="",p=0;try{for(var M,N,h=0;g.t.lastIndex=h,M=g.t.exec(a);)N=t(a.substring(h,M.index),M),h=M.index+N;for(t(a.substr(h)),r=g;r.parent;r=r.parent)r.cN&&(R+=_);return{relevance:p,value:R,i:!1,language:e,top:g}}catch(e){if(e.message&&-1!==e.message.indexOf("Illegal"))return{i:!0,relevance:0,value:C(a)};throw e}}function B(t,e){e=e||m.languages||i(b);var r={relevance:0,value:C(t)},a=r;return e.filter(S).filter(T).forEach(function(e){var n=x(e,t,!1);n.language=e,n.relevance>a.relevance&&(a=n),n.relevance>r.relevance&&(a=r,r=n)}),a.language&&(r.second_best=a),r}function M(e){return m.tabReplace||m.useBR?e.replace(t,function(e,n){return m.useBR&&"\n"===e?"<br>":m.tabReplace?n.replace(/\t/g,m.tabReplace):""}):e}function N(e){var n,t,r,a,i,c=function(e){var n,t,r,a,i=e.className+" ";if(i+=e.parentNode?e.parentNode.className:"",t=l.exec(i))return S(t[1])?t[1]:"no-highlight";for(n=0,r=(i=i.split(/\s+/)).length;n<r;n++)if(o(a=i[n])||S(a))return a}(e);o(c)||(m.useBR?(n=document.createElementNS("http://www.w3.org/1999/xhtml","div")).innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n"):n=e,i=n.textContent,r=c?x(c,i,!0):B(i),(t=g(n)).length&&((a=document.createElementNS("http://www.w3.org/1999/xhtml","div")).innerHTML=r.value,r.value=d(t,g(a),i)),r.value=M(r.value),e.innerHTML=r.value,e.className=function(e,n,t){var r=n?u[n]:t,a=[e.trim()];return e.match(/\bhljs\b/)||a.push("hljs"),-1===e.indexOf(r)&&a.push(r),a.join(" ").trim()}(e.className,c,r.language),e.result={language:r.language,re:r.relevance},r.second_best&&(e.second_best={language:r.second_best.language,re:r.second_best.relevance}))}function h(){if(!h.called){h.called=!0;var e=document.querySelectorAll("pre code");f.forEach.call(e,N)}}function S(e){return e=(e||"").toLowerCase(),b[e]||b[u[e]]}function T(e){var n=S(e);return n&&!n.disableAutodetect}return a.highlight=x,a.highlightAuto=B,a.fixMarkup=M,a.highlightBlock=N,a.configure=function(e){m=s(m,e)},a.initHighlighting=h,a.initHighlightingOnLoad=function(){addEventListener("DOMContentLoaded",h,!1),addEventListener("load",h,!1)},a.registerLanguage=function(n,e){var t=b[n]=e(a);v(t),t.rawDefinition=e.bind(null,a),t.aliases&&t.aliases.forEach(function(e){u[e]=n})},a.listLanguages=function(){return i(b)},a.getLanguage=S,a.autoDetection=T,a.inherit=s,a.IR=a.IDENT_RE="[a-zA-Z]\\w*",a.UIR=a.UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",a.NR=a.NUMBER_RE="\\b\\d+(\\.\\d+)?",a.CNR=a.C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",a.BNR=a.BINARY_NUMBER_RE="\\b(0b[01]+)",a.RSR=a.RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",a.BE=a.BACKSLASH_ESCAPE={b:"\\\\[\\s\\S]",relevance:0},a.ASM=a.APOS_STRING_MODE={cN:"string",b:"'",e:"'",i:"\\n",c:[a.BE]},a.QSM=a.QUOTE_STRING_MODE={cN:"string",b:'"',e:'"',i:"\\n",c:[a.BE]},a.PWM=a.PHRASAL_WORDS_MODE={b:/\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/},a.C=a.COMMENT=function(e,n,t){var r=a.inherit({cN:"comment",b:e,e:n,c:[]},t||{});return r.c.push(a.PWM),r.c.push({cN:"doctag",b:"(?:TODO|FIXME|NOTE|BUG|XXX):",relevance:0}),r},a.CLCM=a.C_LINE_COMMENT_MODE=a.C("//","$"),a.CBCM=a.C_BLOCK_COMMENT_MODE=a.C("/\\*","\\*/"),a.HCM=a.HASH_COMMENT_MODE=a.C("#","$"),a.NM=a.NUMBER_MODE={cN:"number",b:a.NR,relevance:0},a.CNM=a.C_NUMBER_MODE={cN:"number",b:a.CNR,relevance:0},a.BNM=a.BINARY_NUMBER_MODE={cN:"number",b:a.BNR,relevance:0},a.CSSNM=a.CSS_NUMBER_MODE={cN:"number",b:a.NR+"(%|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},a.RM=a.REGEXP_MODE={cN:"regexp",b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[a.BE,{b:/\[/,e:/\]/,relevance:0,c:[a.BE]}]},a.TM=a.TITLE_MODE={cN:"title",b:a.IR,relevance:0},a.UTM=a.UNDERSCORE_TITLE_MODE={cN:"title",b:a.UIR,relevance:0},a.METHOD_GUARD={b:"\\.\\s*"+a.UIR,relevance:0},a});hljs.registerLanguage("properties",function(e){var r="[ \\t\\f]*",t="("+r+"[:=]"+r+"|[ \\t\\f]+)",n="([^\\\\\\W:= \\t\\f\\n]|\\\\.)+",a="([^\\\\:= \\t\\f\\n]|\\\\.)+",c={e:t,relevance:0,starts:{cN:"string",e:/$/,relevance:0,c:[{b:"\\\\\\n"}]}};return{cI:!0,i:/\S/,c:[e.C("^\\s*[!#]","$"),{b:n+t,rB:!0,c:[{cN:"attr",b:n,endsParent:!0,relevance:0}],starts:c},{b:a+t,rB:!0,relevance:0,c:[{cN:"meta",b:a,endsParent:!0,relevance:0}],starts:c},{cN:"attr",relevance:0,b:a+r+"$"}]}});hljs.registerLanguage("python",function(e){var r={keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda async await nonlocal|10",built_in:"Ellipsis NotImplemented",literal:"False None True"},b={cN:"meta",b:/^(>>>|\.\.\.) /},c={cN:"subst",b:/\{/,e:/\}/,k:r,i:/#/},a={b:/\{\{/,relevance:0},l={cN:"string",c:[e.BE],v:[{b:/(u|b)?r?'''/,e:/'''/,c:[e.BE,b],relevance:10},{b:/(u|b)?r?"""/,e:/"""/,c:[e.BE,b],relevance:10},{b:/(fr|rf|f)'''/,e:/'''/,c:[e.BE,b,a,c]},{b:/(fr|rf|f)"""/,e:/"""/,c:[e.BE,b,a,c]},{b:/(u|r|ur)'/,e:/'/,relevance:10},{b:/(u|r|ur)"/,e:/"/,relevance:10},{b:/(b|br)'/,e:/'/},{b:/(b|br)"/,e:/"/},{b:/(fr|rf|f)'/,e:/'/,c:[e.BE,a,c]},{b:/(fr|rf|f)"/,e:/"/,c:[e.BE,a,c]},e.ASM,e.QSM]},n={cN:"number",relevance:0,v:[{b:e.BNR+"[lLjJ]?"},{b:"\\b(0o[0-7]+)[lLjJ]?"},{b:e.CNR+"[lLjJ]?"}]},i={cN:"params",b:/\(/,e:/\)/,c:["self",b,n,l,e.HCM]};return c.c=[l,n,b],{aliases:["py","gyp","ipython"],k:r,i:/(<\/|->|\?)|=>/,c:[b,n,l,e.HCM,{v:[{cN:"function",bK:"def"},{cN:"class",bK:"class"}],e:/:/,i:/[${=;\n,]/,c:[e.UTM,i,{b:/->/,eW:!0,k:"None"}]},{cN:"meta",b:/^[\t ]*@/,e:/$/},{b:/\b(print|exec)\(/}]}});hljs.registerLanguage("rust",function(e){var t="([ui](8|16|32|64|128|size)|f(32|64))?",r="drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec 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{aliases:["rs"],k:{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:r},l:e.IR+"!?",i:"</",c:[e.CLCM,e.C("/\\*","\\*/",{c:["self"]}),e.inherit(e.QSM,{b:/b?"/,i:null}),{cN:"string",v:[{b:/r(#*)"(.|\n)*?"\1(?!#)/},{b:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{cN:"symbol",b:/'[a-zA-Z_][a-zA-Z0-9_]*/},{cN:"number",v:[{b:"\\b0b([01_]+)"+t},{b:"\\b0o([0-7_]+)"+t},{b:"\\b0x([A-Fa-f0-9_]+)"+t},{b:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+t}],relevance:0},{cN:"function",bK:"fn",e:"(\\(|<)",eE:!0,c:[e.UTM]},{cN:"meta",b:"#\\!?\\[",e:"\\]",c:[{cN:"meta-string",b:/"/,e:/"/}]},{cN:"class",bK:"type",e:";",c:[e.inherit(e.UTM,{endsParent:!0})],i:"\\S"},{cN:"class",bK:"trait enum struct union",e:"{",c:[e.inherit(e.UTM,{endsParent:!0})],i:"[\\w\\d]"},{b:e.IR+"::",k:{built_in:r}},{b:"->"}]}});hljs.registerLanguage("less",function(e){function r(e){return{cN:"string",b:"~?"+e+".*?"+e}}function t(e,r,t){return{cN:e,b:r,relevance:t}}var a="[\\w-]+",c="("+a+"|@{"+a+"})",s=[],n=[],b={b:"\\(",e:"\\)",c:n,relevance:0};n.push(e.CLCM,e.CBCM,r("'"),r('"'),e.CSSNM,{b:"(url|data-uri)\\(",starts:{cN:"string",e:"[\\)\\n]",eE:!0}},t("number","#[0-9A-Fa-f]+\\b"),b,t("variable","@@?"+a,10),t("variable","@{"+a+"}"),t("built_in","~?`[^`]*?`"),{cN:"attribute",b:a+"\\s*:",e:":",rB:!0,eE:!0},{cN:"meta",b:"!important"});var i=n.concat({b:"{",e:"}",c:s}),l={bK:"when",eW:!0,c:[{bK:"and not"}].concat(n)},o={b:c+"\\s*:",rB:!0,e:"[;}]",relevance:0,c:[{cN:"attribute",b:c,e:":",eE:!0,starts:{eW:!0,i:"[<=$]",relevance:0,c:n}}]},u={cN:"keyword",b:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{e:"[;{}]",rE:!0,c:n,relevance:0}},v={cN:"variable",v:[{b:"@"+a+"\\s*:",relevance:15},{b:"@"+a}],starts:{e:"[;}]",rE:!0,c:i}},C={v:[{b:"[\\.#:&\\[>]",e:"[;{}]"},{b:c,e:"{"}],rB:!0,rE:!0,i:"[<='$\"]",relevance:0,c:[e.CLCM,e.CBCM,l,t("keyword","all\\b"),t("variable","@{"+a+"}"),t("selector-tag",c+"%?",0),t("selector-id","#"+c),t("selector-class","\\."+c,0),t("selector-tag","&",0),{cN:"selector-attr",b:"\\[",e:"\\]"},{cN:"selector-pseudo",b:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{b:"\\(",e:"\\)",c:i},{b:"!important"}]};return s.push(e.CLCM,e.CBCM,u,v,o,C),{cI:!0,i:"[=>'/<($\"]",c:s}});hljs.registerLanguage("perl",function(e){var t="getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when",r={cN:"subst",b:"[$@]\\{",e:"\\}",k:t},s={b:"->{",e:"}"},n={v:[{b:/\$\d/},{b:/[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/},{b:/[\$%@][^\s\w{]/,relevance:0}]},c=[e.BE,r,n],a=[n,e.HCM,e.C("^\\=\\w","\\=cut",{eW:!0}),s,{cN:"string",c:c,v:[{b:"q[qwxr]?\\s*\\(",e:"\\)",relevance:5},{b:"q[qwxr]?\\s*\\[",e:"\\]",relevance:5},{b:"q[qwxr]?\\s*\\{",e:"\\}",relevance:5},{b:"q[qwxr]?\\s*\\|",e:"\\|",relevance:5},{b:"q[qwxr]?\\s*\\<",e:"\\>",relevance:5},{b:"qw\\s+q",e:"q",relevance:5},{b:"'",e:"'",c:[e.BE]},{b:'"',e:'"'},{b:"`",e:"`",c:[e.BE]},{b:"{\\w+}",c:[],relevance:0},{b:"-?\\w+\\s*\\=\\>",c:[],relevance:0}]},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{b:"(\\/\\/|"+e.RSR+"|\\b(split|return|print|reverse|grep)\\b)\\s*",k:"split return print reverse grep",relevance:0,c:[e.HCM,{cN:"regexp",b:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",relevance:10},{cN:"regexp",b:"(m|qr)?/",e:"/[a-z]*",c:[e.BE],relevance:0}]},{cN:"function",bK:"sub",e:"(\\s*\\(.*?\\))?[;{]",eE:!0,relevance:5,c:[e.TM]},{b:"-\\w\\b",relevance:0},{b:"^__DATA__$",e:"^__END__$",sL:"mojolicious",c:[{b:"^@@.*",e:"$",cN:"comment"}]}];return r.c=a,{aliases:["pl","pm"],l:/[\w\.]+/,k:t,c:s.c=a}});hljs.registerLanguage("diff",function(e){return{aliases:["patch"],c:[{cN:"meta",relevance:10,v:[{b:/^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/},{b:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{b:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{cN:"comment",v:[{b:/Index: /,e:/$/},{b:/={3,}/,e:/$/},{b:/^\-{3}/,e:/$/},{b:/^\*{3} /,e:/$/},{b:/^\+{3}/,e:/$/},{b:/^\*{15}$/}]},{cN:"addition",b:"^\\+",e:"$"},{cN:"deletion",b:"^\\-",e:"$"},{cN:"addition",b:"^\\!",e:"$"}]}});hljs.registerLanguage("scss",function(e){var t={cN:"variable",b:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b"},i={cN:"number",b:"#[0-9A-Fa-f]+"};e.CSSNM,e.QSM,e.ASM,e.CBCM;return{cI:!0,i:"[=/|']",c:[e.CLCM,e.CBCM,{cN:"selector-id",b:"\\#[A-Za-z0-9_-]+",relevance:0},{cN:"selector-class",b:"\\.[A-Za-z0-9_-]+",relevance:0},{cN:"selector-attr",b:"\\[",e:"\\]",i:"$"},{cN:"selector-tag",b:"\\b(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|section|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\b",relevance:0},{b:":(visited|valid|root|right|required|read-write|read-only|out-range|optional|only-of-type|only-child|nth-of-type|nth-last-of-type|nth-last-child|nth-child|not|link|left|last-of-type|last-child|lang|invalid|indeterminate|in-range|hover|focus|first-of-type|first-line|first-letter|first-child|first|enabled|empty|disabled|default|checked|before|after|active)"},{b:"::(after|before|choices|first-letter|first-line|repeat-index|repeat-item|selection|value)"},t,{cN:"attribute",b:"\\b(z-index|word-wrap|word-spacing|word-break|width|widows|white-space|visibility|vertical-align|unicode-bidi|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform|top|text-underline-position|text-transform|text-shadow|text-rendering|text-overflow|text-indent|text-decoration-style|text-decoration-line|text-decoration-color|text-decoration|text-align-last|text-align|tab-size|table-layout|right|resize|quotes|position|pointer-events|perspective-origin|perspective|page-break-inside|page-break-before|page-break-after|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-y|overflow-x|overflow-wrap|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|order|opacity|object-position|object-fit|normal|none|nav-up|nav-right|nav-left|nav-index|nav-down|min-width|min-height|max-width|max-height|mask|marks|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|letter-spacing|left|justify-content|initial|inherit|ime-mode|image-orientation|image-resolution|image-rendering|icon|hyphens|height|font-weight|font-variant-ligatures|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|float|flex-wrap|flex-shrink|flex-grow|flex-flow|flex-direction|flex-basis|flex|filter|empty-cells|display|direction|cursor|counter-reset|counter-increment|content|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|columns|color|clip-path|clip|clear|caption-side|break-inside|break-before|break-after|box-sizing|box-shadow|box-decoration-break|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-left-width|border-left-style|border-left-color|border-left|border-image-width|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-attachment|background-blend-mode|background|backface-visibility|auto|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|align-self|align-items|align-content)\\b",i:"[^\\s]"},{b:"\\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"},{b:":",e:";",c:[t,i,e.CSSNM,e.QSM,e.ASM,{cN:"meta",b:"!important"}]},{b:"@",e:"[{;]",k:"mixin include extend for if else each while charset import debug media page content font-face namespace warn",c:[t,e.QSM,e.ASM,i,e.CSSNM,{b:"\\s[A-Za-z0-9_.-]+",relevance:0}]}]}});hljs.registerLanguage("bash",function(e){var t={cN:"variable",v:[{b:/\$[\w\d#@][\w\d_]*/},{b:/\$\{(.*?)}/}]},a={cN:"string",b:/"/,e:/"/,c:[e.BE,t,{cN:"variable",b:/\$\(/,e:/\)/,c:[e.BE]}]};return{aliases:["sh","zsh"],l:/\b-?[a-z\._]+\b/,k:{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",_:"-ne -eq -lt -gt -f -d -e -s -l -a"},c:[{cN:"meta",b:/^#![^\n]+sh\s*$/,relevance:10},{cN:"function",b:/\w[\w\d_]*\s*\(\s*\)\s*\{/,rB:!0,c:[e.inherit(e.TM,{b:/\w[\w\d_]*/})],relevance:0},e.HCM,a,{cN:"",b:/\\"/},{cN:"string",b:/'/,e:/'/},t]}});hljs.registerLanguage("shell",function(s){return{aliases:["console"],c:[{cN:"meta",b:"^\\s{0,3}[/\\w\\d\\[\\]()@-]*[>%$#]",starts:{e:"$",sL:"bash"}}]}});hljs.registerLanguage("makefile",function(e){var i={cN:"variable",v:[{b:"\\$\\("+e.UIR+"\\)",c:[e.BE]},{b:/\$[@%<?\^\+\*]/}]},r={cN:"string",b:/"/,e:/"/,c:[e.BE,i]},a={cN:"variable",b:/\$\([\w-]+\s/,e:/\)/,k:{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"},c:[i]},n={b:"^"+e.UIR+"\\s*[:+?]?=",i:"\\n",rB:!0,c:[{b:"^"+e.UIR,e:"[:+?]?=",eE:!0}]},t={cN:"section",b:/^[^\s]+:/,e:/$/,c:[i]};return{aliases:["mk","mak"],k:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath",l:/[\w-]+/,c:[e.HCM,i,r,a,n,{cN:"meta",b:/^\.PHONY:/,e:/$/,k:{"meta-keyword":".PHONY"},l:/[\.\w]+/},t]}});hljs.registerLanguage("json",function(e){var i={literal:"true false null"},n=[e.CLCM,e.CBCM],c=[e.QSM,e.CNM],r={e:",",eW:!0,eE:!0,c:c,k:i},t={b:"{",e:"}",c:[{cN:"attr",b:/"/,e:/"/,c:[e.BE],i:"\\n"},e.inherit(r,{b:/:/})].concat(n),i:"\\S"},a={b:"\\[",e:"\\]",c:[e.inherit(r)],i:"\\S"};return c.push(t,a),n.forEach(function(e){c.push(e)}),{c:c,k:i,i:"\\S"}});hljs.registerLanguage("ini",function(e){var b={cN:"string",c:[e.BE],v:[{b:"'''",e:"'''",relevance:10},{b:'"""',e:'"""',relevance:10},{b:'"',e:'"'},{b:"'",e:"'"}]};return{aliases:["toml"],cI:!0,i:/\S/,c:[e.C(";","$"),e.HCM,{cN:"section",b:/^\s*\[+/,e:/\]+/},{b:/^[a-z0-9\[\]_\.-]+\s*=\s*/,e:"$",rB:!0,c:[{cN:"attr",b:/[a-z0-9\[\]_\.-]+/},{b:/=/,eW:!0,relevance:0,c:[e.C(";","$"),e.HCM,{cN:"literal",b:/\bon|off|true|false|yes|no\b/},{cN:"variable",v:[{b:/\$[\w\d"][\w\d_]*/},{b:/\$\{(.*?)}/}]},b,{cN:"number",b:/([\+\-]+)?[\d]+_[\d_]+/},e.NM]}]}]}});hljs.registerLanguage("http",function(e){var t="HTTP/[0-9\\.]+";return{aliases:["https"],i:"\\S",c:[{b:"^"+t,e:"$",c:[{cN:"number",b:"\\b\\d{3}\\b"}]},{b:"^[A-Z]+ (.*?) "+t+"$",rB:!0,e:"$",c:[{cN:"string",b:" ",e:" ",eB:!0,eE:!0},{b:t},{cN:"keyword",b:"[A-Z]+"}]},{cN:"attribute",b:"^\\w",e:": ",eE:!0,i:"\\n|\\s|=",starts:{e:"$",relevance:0}},{b:"\\n\\n",starts:{sL:[],eW:!0}}]}});hljs.registerLanguage("coffeescript",function(e){var c={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super yield import export from as default await then unless until loop of by when and or is isnt not",literal:"true false null undefined yes no on off",built_in:"npm require console print module global window document"},n="[A-Za-z$_][0-9A-Za-z$_]*",r={cN:"subst",b:/#\{/,e:/}/,k:c},i=[e.BNM,e.inherit(e.CNM,{starts:{e:"(\\s*/)?",relevance:0}}),{cN:"string",v:[{b:/'''/,e:/'''/,c:[e.BE]},{b:/'/,e:/'/,c:[e.BE]},{b:/"""/,e:/"""/,c:[e.BE,r]},{b:/"/,e:/"/,c:[e.BE,r]}]},{cN:"regexp",v:[{b:"///",e:"///",c:[r,e.HCM]},{b:"//[gim]*",relevance:0},{b:/\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W)/}]},{b:"@"+n},{sL:"javascript",eB:!0,eE:!0,v:[{b:"```",e:"```"},{b:"`",e:"`"}]}];r.c=i;var s=e.inherit(e.TM,{b:n}),t="(\\(.*\\))?\\s*\\B[-=]>",a={cN:"params",b:"\\([^\\(]",rB:!0,c:[{b:/\(/,e:/\)/,k:c,c:["self"].concat(i)}]};return{aliases:["coffee","cson","iced"],k:c,i:/\/\*/,c:i.concat([e.C("###","###"),e.HCM,{cN:"function",b:"^\\s*"+n+"\\s*=\\s*"+t,e:"[-=]>",rB:!0,c:[s,a]},{b:/[:\(,=]\s*/,relevance:0,c:[{cN:"function",b:t,e:"[-=]>",rB:!0,c:[a]}]},{cN:"class",bK:"class",e:"$",i:/[:="\[\]]/,c:[{bK:"extends",eW:!0,i:/[:="\[\]]/,c:[s]},s]},{b:n+":",e:":",rB:!0,rE:!0,relevance:0}])}});hljs.registerLanguage("css",function(e){var c={b:/(?:[A-Z\_\.\-]+|--[a-zA-Z0-9_-]+)\s*:/,rB:!0,e:";",eW:!0,c:[{cN:"attribute",b:/\S/,e:":",eE:!0,starts:{eW:!0,eE:!0,c:[{b:/[\w-]+\(/,rB:!0,c:[{cN:"built_in",b:/[\w-]+/},{b:/\(/,e:/\)/,c:[e.ASM,e.QSM]}]},e.CSSNM,e.QSM,e.ASM,e.CBCM,{cN:"number",b:"#[0-9A-Fa-f]+"},{cN:"meta",b:"!important"}]}}]};return{cI:!0,i:/[=\/|'\$]/,c:[e.CBCM,{cN:"selector-id",b:/#[A-Za-z0-9_-]+/},{cN:"selector-class",b:/\.[A-Za-z0-9_-]+/},{cN:"selector-attr",b:/\[/,e:/\]/,i:"$"},{cN:"selector-pseudo",b:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{b:"@(font-face|page)",l:"[a-z-]+",k:"font-face page"},{b:"@",e:"[{;]",i:/:/,c:[{cN:"keyword",b:/\w+/},{b:/\s/,eW:!0,eE:!0,relevance:0,c:[e.ASM,e.QSM,e.CSSNM]}]},{cN:"selector-tag",b:"[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},{b:"{",e:"}",i:/\S/,c:[e.CBCM,c]}]}});hljs.registerLanguage("objectivec",function(e){var t=/[a-zA-Z@][a-zA-Z0-9_]*/,_="@interface @class @protocol @implementation";return{aliases:["mm","objc","obj-c"],k:{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"},l:t,i:"</",c:[{cN:"built_in",b:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},e.CLCM,e.CBCM,e.CNM,e.QSM,{cN:"string",v:[{b:'@"',e:'"',i:"\\n",c:[e.BE]},{b:"'",e:"[^\\\\]'",i:"[^\\\\][^']"}]},{cN:"meta",b:"#",e:"$",c:[{cN:"meta-string",v:[{b:'"',e:'"'},{b:"<",e:">"}]}]},{cN:"class",b:"("+_.split(" ").join("|")+")\\b",e:"({|$)",eE:!0,k:_,l:t,c:[e.UTM]},{b:"\\."+e.UIR,relevance:0}]}});hljs.registerLanguage("ruby",function(e){var c="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",b={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",literal:"true false nil"},r={cN:"doctag",b:"@[A-Za-z]+"},a={b:"#<",e:">"},n=[e.C("#","$",{c:[r]}),e.C("^\\=begin","^\\=end",{c:[r],relevance:10}),e.C("^__END__","\\n$")],s={cN:"subst",b:"#\\{",e:"}",k:b},t={cN:"string",c:[e.BE,s],v:[{b:/'/,e:/'/},{b:/"/,e:/"/},{b:/`/,e:/`/},{b:"%[qQwWx]?\\(",e:"\\)"},{b:"%[qQwWx]?\\[",e:"\\]"},{b:"%[qQwWx]?{",e:"}"},{b:"%[qQwWx]?<",e:">"},{b:"%[qQwWx]?/",e:"/"},{b:"%[qQwWx]?%",e:"%"},{b:"%[qQwWx]?-",e:"-"},{b:"%[qQwWx]?\\|",e:"\\|"},{b:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/},{b:/<<[-~]?'?(\w+)(?:.|\n)*?\n\s*\1\b/,rB:!0,c:[{b:/<<[-~]?'?/},{b:/\w+/,endSameAsBegin:!0,c:[e.BE,s]}]}]},i={cN:"params",b:"\\(",e:"\\)",endsParent:!0,k:b},l=[t,a,{cN:"class",bK:"class module",e:"$|;",i:/=/,c:[e.inherit(e.TM,{b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{b:"<\\s*",c:[{b:"("+e.IR+"::)?"+e.IR}]}].concat(n)},{cN:"function",bK:"def",e:"$|;",c:[e.inherit(e.TM,{b:c}),i].concat(n)},{b:e.IR+"::"},{cN:"symbol",b:e.UIR+"(\\!|\\?)?:",relevance:0},{cN:"symbol",b:":(?!\\s)",c:[t,{b:c}],relevance:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{cN:"params",b:/\|/,e:/\|/,k:b},{b:"("+e.RSR+"|unless)\\s*",k:"unless",c:[a,{cN:"regexp",c:[e.BE,s],i:/\n/,v:[{b:"/",e:"/[a-z]*"},{b:"%r{",e:"}[a-z]*"},{b:"%r\\(",e:"\\)[a-z]*"},{b:"%r!",e:"![a-z]*"},{b:"%r\\[",e:"\\][a-z]*"}]}].concat(n),relevance:0}].concat(n);s.c=l;var d=[{b:/^\s*=>/,starts:{e:"$",c:i.c=l}},{cN:"meta",b:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+>|(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>)",starts:{e:"$",c:l}}];return{aliases:["rb","gemspec","podspec","thor","irb"],k:b,i:/\/\*/,c:n.concat(d).concat(l)}});hljs.registerLanguage("yaml",function(e){var b="true false yes no null",a={cN:"string",relevance:0,v:[{b:/'/,e:/'/},{b:/"/,e:/"/},{b:/\S+/}],c:[e.BE,{cN:"template-variable",v:[{b:"{{",e:"}}"},{b:"%{",e:"}"}]}]};return{cI:!0,aliases:["yml","YAML","yaml"],c:[{cN:"attr",v:[{b:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{b:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{b:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{cN:"meta",b:"^---s*$",relevance:10},{cN:"string",b:"[\\|>]([0-9]?[+-])?[ ]*\\n( *)[\\S ]+\\n(\\2[\\S ]+\\n?)*"},{b:"<%[%=-]?",e:"[%-]?%>",sL:"ruby",eB:!0,eE:!0,relevance:0},{cN:"type",b:"!"+e.UIR},{cN:"type",b:"!!"+e.UIR},{cN:"meta",b:"&"+e.UIR+"$"},{cN:"meta",b:"\\*"+e.UIR+"$"},{cN:"bullet",b:"\\-(?=[ ]|$)",relevance:0},e.HCM,{bK:b,k:{literal:b}},{cN:"number",b:e.CNR+"\\b"},a]}});hljs.registerLanguage("java",function(e){var a="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",t={cN:"number",b:"\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",relevance:0};return{aliases:["jsp"],k:a,i:/<\/|#/,c:[e.C("/\\*\\*","\\*/",{relevance:0,c:[{b:/\w+@/,relevance:0},{cN:"doctag",b:"@[A-Za-z]+"}]}),e.CLCM,e.CBCM,e.ASM,e.QSM,{cN:"class",bK:"class interface",e:/[{;=]/,eE:!0,k:"class interface",i:/[:"\[\]]/,c:[{bK:"extends implements"},e.UTM]},{bK:"new throw return else",relevance:0},{cN:"function",b:"([À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(<[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(\\s*,\\s*[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*)*>)?\\s+)+"+e.UIR+"\\s*\\(",rB:!0,e:/[{;=]/,eE:!0,k:a,c:[{b:e.UIR+"\\s*\\(",rB:!0,relevance:0,c:[e.UTM]},{cN:"params",b:/\(/,e:/\)/,k:a,relevance:0,c:[e.ASM,e.QSM,e.CNM,e.CBCM]},e.CLCM,e.CBCM]},t,{cN:"meta",b:"@[A-Za-z]+"}]}});hljs.registerLanguage("sql",function(e){var t=e.C("--","$");return{cI:!0,i:/[<>{}*]/,c:[{bK:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment values with",e:/;/,eW:!0,l:/[\w\.]+/,k:{keyword:"as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias all allocate allow alter always analyze ancillary and anti any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound bucket buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain explode export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour hours http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lateral lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minutes minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second seconds section securefile security seed segment select self semi sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tablesample tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace window with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null unknown",built_in:"array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text time timestamp tinyint varchar varchar2 varying void"},c:[{cN:"string",b:"'",e:"'",c:[e.BE,{b:"''"}]},{cN:"string",b:'"',e:'"',c:[e.BE,{b:'""'}]},{cN:"string",b:"`",e:"`",c:[e.BE]},e.CNM,e.CBCM,t,e.HCM]},e.CBCM,t,e.HCM]}});hljs.registerLanguage("apache",function(e){var r={cN:"number",b:"[\\$%]\\d+"};return{aliases:["apacheconf"],cI:!0,c:[e.HCM,{cN:"section",b:"</?",e:">"},{cN:"attribute",b:/\w+/,relevance:0,k:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{e:/$/,relevance:0,k:{literal:"on off all"},c:[{cN:"meta",b:"\\s\\[",e:"\\]$"},{cN:"variable",b:"[\\$%]\\{",e:"\\}",c:["self",r]},r,e.QSM]}}],i:/\S/}});hljs.registerLanguage("kotlin",function(e){var t={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 trait volatile transient native default",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={cN:"symbol",b:e.UIR+"@"},n={cN:"subst",b:"\\${",e:"}",c:[e.CNM]},c={cN:"variable",b:"\\$"+e.UIR},r={cN:"string",v:[{b:'"""',e:'"""',c:[c,n]},{b:"'",e:"'",i:/\n/,c:[e.BE]},{b:'"',e:'"',i:/\n/,c:[e.BE,c,n]}]};n.c.push(r);var i={cN:"meta",b:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UIR+")?"},l={cN:"meta",b:"@"+e.UIR,c:[{b:/\(/,e:/\)/,c:[e.inherit(r,{cN:"meta-string"})]}]},s={cN:"number",b:"\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",relevance:0},b=e.C("/\\*","\\*/",{c:[e.CBCM]}),o={v:[{cN:"type",b:e.UIR},{b:/\(/,e:/\)/,c:[]}]},d=o;return d.v[1].c=[o],o.v[1].c=[d],{aliases:["kt"],k:t,c:[e.C("/\\*\\*","\\*/",{relevance:0,c:[{cN:"doctag",b:"@[A-Za-z]+"}]}),e.CLCM,b,{cN:"keyword",b:/\b(break|continue|return|this)\b/,starts:{c:[{cN:"symbol",b:/@\w+/}]}},a,i,l,{cN:"function",bK:"fun",e:"[(]|$",rB:!0,eE:!0,k:t,i:/fun\s+(<.*>)?[^\s\(]+(\s+[^\s\(]+)\s*=/,relevance:5,c:[{b:e.UIR+"\\s*\\(",rB:!0,relevance:0,c:[e.UTM]},{cN:"type",b:/</,e:/>/,k:"reified",relevance:0},{cN:"params",b:/\(/,e:/\)/,endsParent:!0,k:t,relevance:0,c:[{b:/:/,e:/[=,\/]/,eW:!0,c:[o,e.CLCM,b],relevance:0},e.CLCM,b,i,l,r,e.CNM]},b]},{cN:"class",bK:"class interface trait",e:/[:\{(]|$/,eE:!0,i:"extends implements",c:[{bK:"public protected internal private constructor"},e.UTM,{cN:"type",b:/</,e:/>/,eB:!0,eE:!0,relevance:0},{cN:"type",b:/[,:]\s*/,e:/[<\(,]|$/,eB:!0,rE:!0},i,l]},r,{cN:"meta",b:"^#!/usr/bin/env",e:"$",i:"\n"},s]}});hljs.registerLanguage("xml",function(e){var s={eW:!0,i:/</,relevance:0,c:[{cN:"attr",b:"[A-Za-z0-9\\._:-]+",relevance:0},{b:/=\s*/,relevance:0,c:[{cN:"string",endsParent:!0,v:[{b:/"/,e:/"/},{b:/'/,e:/'/},{b:/[^\s"'=<>`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],cI:!0,c:[{cN:"meta",b:"<!DOCTYPE",e:">",relevance:10,c:[{b:"\\[",e:"\\]"}]},e.C("\x3c!--","--\x3e",{relevance:10}),{b:"<\\!\\[CDATA\\[",e:"\\]\\]>",relevance:10},{cN:"meta",b:/<\?xml/,e:/\?>/,relevance:10},{b:/<\?(php)?/,e:/\?>/,sL:"php",c:[{b:"/\\*",e:"\\*/",skip:!0},{b:'b"',e:'"',skip:!0},{b:"b'",e:"'",skip:!0},e.inherit(e.ASM,{i:null,cN:null,c:null,skip:!0}),e.inherit(e.QSM,{i:null,cN:null,c:null,skip:!0})]},{cN:"tag",b:"<style(?=\\s|>)",e:">",k:{name:"style"},c:[s],starts:{e:"</style>",rE:!0,sL:["css","xml"]}},{cN:"tag",b:"<script(?=\\s|>)",e:">",k:{name:"script"},c:[s],starts:{e:"<\/script>",rE:!0,sL:["actionscript","javascript","handlebars","xml"]}},{cN:"tag",b:"</?",e:"/?>",c:[{cN:"name",b:/[^\/><\s]+/,relevance:0},s]}]}});hljs.registerLanguage("markdown",function(e){return{aliases:["md","mkdown","mkd"],c:[{cN:"section",v:[{b:"^#{1,6}",e:"$"},{b:"^.+?\\n[=-]{2,}$"}]},{b:"<",e:">",sL:"xml",relevance:0},{cN:"bullet",b:"^\\s*([*+-]|(\\d+\\.))\\s+"},{cN:"strong",b:"[*_]{2}.+?[*_]{2}"},{cN:"emphasis",v:[{b:"\\*.+?\\*"},{b:"_.+?_",relevance:0}]},{cN:"quote",b:"^>\\s+",e:"$"},{cN:"code",v:[{b:"^```\\w*\\s*$",e:"^```[ ]*$"},{b:"`.+?`"},{b:"^( {4}|\\t)",e:"$",relevance:0}]},{b:"^[-\\*]{3,}",e:"$"},{b:"\\[.+?\\][\\(\\[].*?[\\)\\]]",rB:!0,c:[{cN:"string",b:"\\[",e:"\\]",eB:!0,rE:!0,relevance:0},{cN:"link",b:"\\]\\(",e:"\\)",eB:!0,eE:!0},{cN:"symbol",b:"\\]\\[",e:"\\]",eB:!0,eE:!0}],relevance:10},{b:/^\[[^\n]+\]:/,rB:!0,c:[{cN:"symbol",b:/\[/,e:/\]/,eB:!0,eE:!0},{cN:"link",b:/:\s*/,e:/$/,eB:!0}]}]}});hljs.registerLanguage("swift",function(e){var i={keyword:"#available #colorLiteral #column #else #elseif #endif #file #fileLiteral #function #if #imageLiteral #line #selector #sourceLocation _ __COLUMN__ __FILE__ __FUNCTION__ __LINE__ Any as as! as? associatedtype associativity break case catch class continue convenience default defer deinit didSet do dynamic dynamicType else enum extension fallthrough false fileprivate final for func get guard if import in indirect infix init inout internal is lazy left let mutating nil none nonmutating open operator optional override postfix precedence prefix private protocol Protocol public repeat required rethrows return right self Self set static struct subscript super switch throw throws true try try! try? Type typealias unowned var weak where while willSet",literal:"true false nil",built_in:"abs advance alignof alignofValue anyGenerator assert assertionFailure bridgeFromObjectiveC bridgeFromObjectiveCUnconditional bridgeToObjectiveC bridgeToObjectiveCUnconditional c contains count countElements countLeadingZeros debugPrint debugPrintln distance dropFirst dropLast dump encodeBitsAsWords enumerate equal fatalError filter find getBridgedObjectiveCType getVaList indices insertionSort isBridgedToObjectiveC isBridgedVerbatimToObjectiveC isUniquelyReferenced isUniquelyReferencedNonObjC join lazy lexicographicalCompare map max maxElement min minElement numericCast overlaps partition posix precondition preconditionFailure print println quickSort readLine reduce reflect reinterpretCast reverse roundUpToAlignment sizeof sizeofValue sort split startsWith stride strideof strideofValue swap toString transcode underestimateCount unsafeAddressOf unsafeBitCast unsafeDowncast unsafeUnwrap unsafeReflect withExtendedLifetime withObjectAtPlusZero withUnsafePointer withUnsafePointerToObject withUnsafeMutablePointer withUnsafeMutablePointers withUnsafePointer withUnsafePointers withVaList zip"},t=e.C("/\\*","\\*/",{c:["self"]}),n={cN:"subst",b:/\\\(/,e:"\\)",k:i,c:[]},r={cN:"string",c:[e.BE,n],v:[{b:/"""/,e:/"""/},{b:/"/,e:/"/}]},a={cN:"number",b:"\\b([\\d_]+(\\.[\\deE_]+)?|0x[a-fA-F0-9_]+(\\.[a-fA-F0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b",relevance:0};return n.c=[a],{k:i,c:[r,e.CLCM,t,{cN:"type",b:"\\b[A-Z][\\wÀ-ʸ']*[!?]"},{cN:"type",b:"\\b[A-Z][\\wÀ-ʸ']*",relevance:0},a,{cN:"function",bK:"func",e:"{",eE:!0,c:[e.inherit(e.TM,{b:/[A-Za-z$_][0-9A-Za-z$_]*/}),{b:/</,e:/>/},{cN:"params",b:/\(/,e:/\)/,endsParent:!0,k:i,c:["self",a,r,e.CBCM,{b:":"}],i:/["']/}],i:/\[|%/},{cN:"class",bK:"struct protocol class extension enum",k:i,e:"\\{",eE:!0,c:[e.inherit(e.TM,{b:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/})]},{cN:"meta",b:"(@discardableResult|@warn_unused_result|@exported|@lazy|@noescape|@NSCopying|@NSManaged|@objc|@objcMembers|@convention|@required|@noreturn|@IBAction|@IBDesignable|@IBInspectable|@IBOutlet|@infix|@prefix|@postfix|@autoclosure|@testable|@available|@nonobjc|@NSApplicationMain|@UIApplicationMain|@dynamicMemberLookup|@propertyWrapper)"},{bK:"import",e:/$/,c:[e.CLCM,t]}]}});hljs.registerLanguage("plaintext",function(e){return{disableAutodetect:!0}});hljs.registerLanguage("typescript",function(e){var r="[A-Za-z$_][0-9A-Za-z$_]*",t={keyword:"in if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const class public private protected get set super static implements enum export import declare type namespace abstract as from extends async await",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document any number boolean string void Promise"},n={cN:"meta",b:"@"+r},a={b:"\\(",e:/\)/,k:t,c:["self",e.QSM,e.ASM,e.NM]},c={cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,k:t,c:[e.CLCM,e.CBCM,n,a]},s={cN:"number",v:[{b:"\\b(0[bB][01]+)n?"},{b:"\\b(0[oO][0-7]+)n?"},{b:e.CNR+"n?"}],relevance:0},o={cN:"subst",b:"\\$\\{",e:"\\}",k:t,c:[]},i={b:"html`",e:"",starts:{e:"`",rE:!1,c:[e.BE,o],sL:"xml"}},l={b:"css`",e:"",starts:{e:"`",rE:!1,c:[e.BE,o],sL:"css"}},b={cN:"string",b:"`",e:"`",c:[e.BE,o]};return o.c=[e.ASM,e.QSM,i,l,b,s,e.RM],{aliases:["ts"],k:t,c:[{cN:"meta",b:/^\s*['"]use strict['"]/},e.ASM,e.QSM,i,l,b,e.CLCM,e.CBCM,s,{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBCM,e.RM,{cN:"function",b:"(\\(.*?\\)|"+e.IR+")\\s*=>",rB:!0,e:"\\s*=>",c:[{cN:"params",v:[{b:e.IR},{b:/\(\s*\)/},{b:/\(/,e:/\)/,eB:!0,eE:!0,k:t,c:["self",e.CLCM,e.CBCM]}]}]}],relevance:0},{cN:"function",bK:"function",e:/[\{;]/,eE:!0,k:t,c:["self",e.inherit(e.TM,{b:r}),c],i:/%/,relevance:0},{bK:"constructor",e:/[\{;]/,eE:!0,c:["self",c]},{b:/module\./,k:{built_in:"module"},relevance:0},{bK:"module",e:/\{/,eE:!0},{bK:"interface",e:/\{/,eE:!0,k:"interface extends"},{b:/\$[(.]/},{b:"\\."+e.IR,relevance:0},n,a]}});hljs.registerLanguage("nginx",function(e){var r={cN:"variable",v:[{b:/\$\d+/},{b:/\$\{/,e:/}/},{b:"[\\$\\@]"+e.UIR}]},b={eW:!0,l:"[a-z/_]+",k:{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,i:"=>",c:[e.HCM,{cN:"string",c:[e.BE,r],v:[{b:/"/,e:/"/},{b:/'/,e:/'/}]},{b:"([a-z]+):/",e:"\\s",eW:!0,eE:!0,c:[r]},{cN:"regexp",c:[e.BE,r],v:[{b:"\\s\\^",e:"\\s|{|;",rE:!0},{b:"~\\*?\\s+",e:"\\s|{|;",rE:!0},{b:"\\*(\\.[a-z\\-]+)+"},{b:"([a-z\\-]+\\.)+\\*"}]},{cN:"number",b:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{cN:"number",b:"\\b\\d+[kKmMgGdshdwy]*\\b",relevance:0},r]};return{aliases:["nginxconf"],c:[e.HCM,{b:e.UIR+"\\s+{",rB:!0,e:"{",c:[{cN:"section",b:e.UIR}],relevance:0},{b:e.UIR+"\\s",e:";|{",rB:!0,c:[{cN:"attribute",b:e.UIR,starts:b}],relevance:0}],i:"[^\\s\\}]"}});hljs.registerLanguage("go",function(e){var n={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 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{aliases:["golang"],k:n,i:"</",c:[e.CLCM,e.CBCM,{cN:"string",v:[e.QSM,{b:"'",e:"[^\\\\]'"},{b:"`",e:"`"}]},{cN:"number",v:[{b:e.CNR+"[i]",relevance:1},e.CNM]},{b:/:=/},{cN:"function",bK:"func",e:"\\s*(\\{|$)",eE:!0,c:[e.TM,{cN:"params",b:/\(/,e:/\)/,k:n,i:/["']/}]}]}});hljs.registerLanguage("javascript",function(e){var r="[A-Za-z$_][0-9A-Za-z$_]*",a={keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},t={cN:"number",v:[{b:"\\b(0[bB][01]+)n?"},{b:"\\b(0[oO][0-7]+)n?"},{b:e.CNR+"n?"}],relevance:0},n={cN:"subst",b:"\\$\\{",e:"\\}",k:a,c:[]},c={b:"html`",e:"",starts:{e:"`",rE:!1,c:[e.BE,n],sL:"xml"}},s={b:"css`",e:"",starts:{e:"`",rE:!1,c:[e.BE,n],sL:"css"}},o={cN:"string",b:"`",e:"`",c:[e.BE,n]};n.c=[e.ASM,e.QSM,c,s,o,t,e.RM];var i=n.c.concat([e.CBCM,e.CLCM]);return{aliases:["js","jsx"],k:a,c:[{cN:"meta",relevance:10,b:/^\s*['"]use (strict|asm)['"]/},{cN:"meta",b:/^#!/,e:/$/},e.ASM,e.QSM,c,s,o,e.CLCM,e.CBCM,t,{b:/[{,\n]\s*/,relevance:0,c:[{b:r+"\\s*:",rB:!0,relevance:0,c:[{cN:"attr",b:r,relevance:0}]}]},{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBCM,e.RM,{cN:"function",b:"(\\(.*?\\)|"+r+")\\s*=>",rB:!0,e:"\\s*=>",c:[{cN:"params",v:[{b:r},{b:/\(\s*\)/},{b:/\(/,e:/\)/,eB:!0,eE:!0,k:a,c:i}]}]},{cN:"",b:/\s/,e:/\s*/,skip:!0},{b:/</,e:/(\/[A-Za-z0-9\\._:-]+|[A-Za-z0-9\\._:-]+\/)>/,sL:"xml",c:[{b:/<[A-Za-z0-9\\._:-]+\s*\/>/,skip:!0},{b:/<[A-Za-z0-9\\._:-]+/,e:/(\/[A-Za-z0-9\\._:-]+|[A-Za-z0-9\\._:-]+\/)>/,skip:!0,c:[{b:/<[A-Za-z0-9\\._:-]+\s*\/>/,skip:!0},"self"]}]}],relevance:0},{cN:"function",bK:"function",e:/\{/,eE:!0,c:[e.inherit(e.TM,{b:r}),{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,c:i}],i:/\[|%/},{b:/\$[(.]/},e.METHOD_GUARD,{cN:"class",bK:"class",e:/[{;=]/,eE:!0,i:/[:"\[\]]/,c:[{bK:"extends"},e.UTM]},{bK:"constructor get set",e:/\{/,eE:!0}],i:/#(?!!)/}});hljs.registerLanguage("php",function(e){var c={b:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*"},i={cN:"meta",b:/<\?(php)?|\?>/},t={cN:"string",c:[e.BE,i],v:[{b:'b"',e:'"'},{b:"b'",e:"'"},e.inherit(e.ASM,{i:null}),e.inherit(e.QSM,{i:null})]},a={v:[e.BNM,e.CNM]};return{aliases:["php","php3","php4","php5","php6","php7"],cI:!0,k:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",c:[e.HCM,e.C("//","$",{c:[i]}),e.C("/\\*","\\*/",{c:[{cN:"doctag",b:"@[A-Za-z]+"}]}),e.C("__halt_compiler.+?;",!1,{eW:!0,k:"__halt_compiler",l:e.UIR}),{cN:"string",b:/<<<['"]?\w+['"]?$/,e:/^\w+;?$/,c:[e.BE,{cN:"subst",v:[{b:/\$\w+/},{b:/\{\$/,e:/\}/}]}]},i,{cN:"keyword",b:/\$this\b/},c,{b:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{cN:"function",bK:"function",e:/[;{]/,eE:!0,i:"\\$|\\[|%",c:[e.UTM,{cN:"params",b:"\\(",e:"\\)",c:["self",c,e.CBCM,t,a]}]},{cN:"class",bK:"class interface",e:"{",eE:!0,i:/[:\(\$"]/,c:[{bK:"extends implements"},e.UTM]},{bK:"namespace",e:";",i:/[\.']/,c:[e.UTM]},{bK:"use",e:";",c:[e.UTM]},{b:"=>"},t,a]}});hljs.registerLanguage("cs",function(e){var a={keyword:"abstract as base bool break byte case catch char checked const continue decimal default delegate do double enum event explicit extern finally fixed float for foreach goto if implicit in int interface internal is lock long object operator out override params private protected public readonly ref sbyte sealed short sizeof stackalloc static string struct switch this try typeof uint ulong unchecked unsafe ushort using virtual void volatile while add alias ascending async await by descending dynamic equals from get global group into join let nameof on orderby partial remove select set value var when where yield",literal:"null false true"},i={cN:"number",v:[{b:"\\b(0b[01']+)"},{b:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{b:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={cN:"string",b:'@"',e:'"',c:[{b:'""'}]},r=e.inherit(c,{i:/\n/}),n={cN:"subst",b:"{",e:"}",k:a},t=e.inherit(n,{i:/\n/}),s={cN:"string",b:/\$"/,e:'"',i:/\n/,c:[{b:"{{"},{b:"}}"},e.BE,t]},l={cN:"string",b:/\$@"/,e:'"',c:[{b:"{{"},{b:"}}"},{b:'""'},n]},b=e.inherit(l,{i:/\n/,c:[{b:"{{"},{b:"}}"},{b:'""'},t]});n.c=[l,s,c,e.ASM,e.QSM,i,e.CBCM],t.c=[b,s,r,e.ASM,e.QSM,i,e.inherit(e.CBCM,{i:/\n/})];var o={v:[l,s,c,e.ASM,e.QSM]},d=e.IR+"(<"+e.IR+"(\\s*,\\s*"+e.IR+")*>)?(\\[\\])?";return{aliases:["csharp","c#"],k:a,i:/::/,c:[e.C("///","$",{rB:!0,c:[{cN:"doctag",v:[{b:"///",relevance:0},{b:"\x3c!--|--\x3e"},{b:"</?",e:">"}]}]}),e.CLCM,e.CBCM,{cN:"meta",b:"#",e:"$",k:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},o,i,{bK:"class interface",e:/[{;=]/,i:/[^\s:,]/,c:[e.TM,e.CLCM,e.CBCM]},{bK:"namespace",e:/[{;=]/,i:/[^\s:]/,c:[e.inherit(e.TM,{b:"[a-zA-Z](\\.?\\w)*"}),e.CLCM,e.CBCM]},{cN:"meta",b:"^\\s*\\[",eB:!0,e:"\\]",eE:!0,c:[{cN:"meta-string",b:/"/,e:/"/}]},{bK:"new return throw await else",relevance:0},{cN:"function",b:"("+d+"\\s+)+"+e.IR+"\\s*\\(",rB:!0,e:/\s*[{;=]/,eE:!0,k:a,c:[{b:e.IR+"\\s*\\(",rB:!0,c:[e.TM],relevance:0},{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,k:a,relevance:0,c:[o,i,e.CBCM]},e.CLCM,e.CBCM]}]}});hljs.registerLanguage("lua",function(e){var t="\\[=*\\[",a="\\]=*\\]",n={b:t,e:a,c:["self"]},l=[e.C("--(?!"+t+")","$"),e.C("--"+t,a,{c:[n],relevance:10})];return{l:e.UIR,k:{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 loadstringmodule next pairs pcall print rawequal rawget rawset require select setfenvsetmetatable tonumber tostring type unpack xpcall arg selfcoroutine 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"},c:l.concat([{cN:"function",bK:"function",e:"\\)",c:[e.inherit(e.TM,{b:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{cN:"params",b:"\\(",eW:!0,c:l}].concat(l)},e.CNM,e.ASM,e.QSM,{cN:"string",b:t,e:a,c:[n],relevance:5}])}});hljs.registerLanguage("cpp",function(e){var t={cN:"keyword",b:"\\b[a-z\\d_]*_t\\b"},r={cN:"string",v:[{b:'(u8?|U|L)?"',e:'"',i:"\\n",c:[e.BE]},{b:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",e:"'",i:"."},{b:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\((?:.|\n)*?\)\1"/}]},s={cN:"number",v:[{b:"\\b(0b[01']+)"},{b:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{b:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},i={cN:"meta",b:/#\s*[a-z]+\b/,e:/$/,k:{"meta-keyword":"if else elif endif define undef warning error line pragma ifdef ifndef include"},c:[{b:/\\\n/,relevance:0},e.inherit(r,{cN:"meta-string"}),{cN:"meta-string",b:/<[^\n>]*>/,e:/$/,i:"\\n"},e.CLCM,e.CBCM]},c=e.IR+"\\s*\\(",a={keyword:"int float while private char catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict _Bool complex _Complex _Imaginary atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and or not",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort 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",literal:"true false nullptr NULL"},n=[t,e.CLCM,e.CBCM,s,r];return{aliases:["c","cc","h","c++","h++","hpp","hh","hxx","cxx"],k:a,i:"</",c:n.concat([i,{b:"\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",e:">",k:a,c:["self",t]},{b:e.IR+"::",k:a},{v:[{b:/=/,e:/;/},{b:/\(/,e:/\)/},{bK:"new throw return else",e:/;/}],k:a,c:n.concat([{b:/\(/,e:/\)/,k:a,c:n.concat(["self"]),relevance:0}]),relevance:0},{cN:"function",b:"("+e.IR+"[\\*&\\s]+)+"+c,rB:!0,e:/[{;=]/,eE:!0,k:a,i:/[^\w\s\*&]/,c:[{b:c,rB:!0,c:[e.TM],relevance:0},{cN:"params",b:/\(/,e:/\)/,k:a,relevance:0,c:[e.CLCM,e.CBCM,r,s,t,{b:/\(/,e:/\)/,k:a,relevance:0,c:["self",e.CLCM,e.CBCM,r,s,t]}]},e.CLCM,e.CBCM,i]},{cN:"class",bK:"class struct",e:/[{;:]/,c:[{b:/</,e:/>/,c:["self"]},e.TM]}]),exports:{preprocessor:i,strings:r,k:a}}}); exports.hljs = hljs;
{ "tiddlers": { "$:/plugins/tiddlywiki/katex/katex.min.css": { "text": ".katex{font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important}.katex .katex-version:after{content:\"0.10.2\"}.katex .katex-mathml{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathdefault{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-weight:700;font-style:italic}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;vertical-align:bottom;position:relative}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{width:0;position:relative}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{display:inline-block;border:0 solid;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer,.katex .sizing{display:inline-block}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .op-limits>.vlist-t{text-align:center}.katex .accent>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;margin:0 -.025em;border-right:.05em solid;min-width:1px}.katex .mtable .vs-dashed{border-right:.05em dashed}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{display:block;position:absolute;width:100%;height:inherit;fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex svg path{stroke:none}.katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:after,.katex .stretchy:before{content:\"\"}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden}.katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden}.katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden}.katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden}.katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left}\n", "type": "text/plain", "title": "$:/plugins/tiddlywiki/katex/katex.min.css" }, "$:/plugins/tiddlywiki/katex/katex.min.js": { "text": "(function(document) {\n!function(t,e){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define([],e):\"object\"==typeof exports?exports.katex=e():t.katex=e()}(\"undefined\"!=typeof self?self:this,function(){return function(t){var e={};function r(a){if(e[a])return e[a].exports;var n=e[a]={i:a,l:!1,exports:{}};return t[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=t,r.c=e,r.d=function(t,e,a){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},r.r=function(t){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(t,\"__esModule\",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&\"object\"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,\"default\",{enumerable:!0,value:t}),2&e&&\"string\"!=typeof t)for(var n in t)r.d(a,n,function(e){return t[e]}.bind(null,n));return a},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,\"a\",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p=\"\",r(r.s=1)}([function(t,e,r){},function(t,e,r){\"use strict\";r.r(e);r(0);var a=function(){function t(t,e,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=e,this.end=r}return t.range=function(e,r){return r?e&&e.loc&&r.loc&&e.loc.lexer===r.loc.lexer?new t(e.loc.lexer,e.loc.start,r.loc.end):null:e&&e.loc},t}(),n=function(){function t(t,e){this.text=void 0,this.loc=void 0,this.text=t,this.loc=e}return t.prototype.range=function(e,r){return new t(r,a.range(this,e))},t}(),o=function t(e,r){this.position=void 0;var a,n=\"KaTeX parse error: \"+e,o=r&&r.loc;if(o&&o.start<=o.end){var i=o.lexer.input;a=o.start;var s=o.end;a===i.length?n+=\" at end of input: \":n+=\" at position \"+(a+1)+\": \";var h=i.slice(a,s).replace(/[^]/g,\"$&\\u0332\");n+=(a>15?\"\\u2026\"+i.slice(a-15,a):i.slice(0,a))+h+(s+15<i.length?i.slice(s,s+15)+\"\\u2026\":i.slice(s))}var l=new Error(n);return l.name=\"ParseError\",l.__proto__=t.prototype,l.position=a,l};o.prototype.__proto__=Error.prototype;var i=o,s=/([A-Z])/g,h={\"&\":\"&\",\">\":\">\",\"<\":\"<\",'\"':\""\",\"'\":\"'\"},l=/[&><\"']/g;var m=function t(e){return\"ordgroup\"===e.type?1===e.body.length?t(e.body[0]):e:\"color\"===e.type?1===e.body.length?t(e.body[0]):e:\"font\"===e.type?t(e.body):e},c={contains:function(t,e){return-1!==t.indexOf(e)},deflt:function(t,e){return void 0===t?e:t},escape:function(t){return String(t).replace(l,function(t){return h[t]})},hyphenate:function(t){return t.replace(s,\"-$1\").toLowerCase()},getBaseElem:m,isCharacterBox:function(t){var e=m(t);return\"mathord\"===e.type||\"textord\"===e.type||\"atom\"===e.type}},u=function(){function t(t){this.displayMode=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.allowedProtocols=void 0,t=t||{},this.displayMode=c.deflt(t.displayMode,!1),this.leqno=c.deflt(t.leqno,!1),this.fleqn=c.deflt(t.fleqn,!1),this.throwOnError=c.deflt(t.throwOnError,!0),this.errorColor=c.deflt(t.errorColor,\"#cc0000\"),this.macros=t.macros||{},this.colorIsTextColor=c.deflt(t.colorIsTextColor,!1),this.strict=c.deflt(t.strict,\"warn\"),this.maxSize=Math.max(0,c.deflt(t.maxSize,1/0)),this.maxExpand=Math.max(0,c.deflt(t.maxExpand,1e3)),this.allowedProtocols=c.deflt(t.allowedProtocols,[\"http\",\"https\",\"mailto\",\"_relative\"])}var e=t.prototype;return e.reportNonstrict=function(t,e,r){var a=this.strict;if(\"function\"==typeof a&&(a=a(t,e,r)),a&&\"ignore\"!==a){if(!0===a||\"error\"===a)throw new i(\"LaTeX-incompatible input and strict mode is set to 'error': \"+e+\" [\"+t+\"]\",r);\"warn\"===a?\"undefined\"!=typeof console&&console.warn(\"LaTeX-incompatible input and strict mode is set to 'warn': \"+e+\" [\"+t+\"]\"):\"undefined\"!=typeof console&&console.warn(\"LaTeX-incompatible input and strict mode is set to unrecognized '\"+a+\"': \"+e+\" [\"+t+\"]\")}},e.useStrictBehavior=function(t,e,r){var a=this.strict;if(\"function\"==typeof a)try{a=a(t,e,r)}catch(t){a=\"error\"}return!(!a||\"ignore\"===a)&&(!0===a||\"error\"===a||(\"warn\"===a?(\"undefined\"!=typeof console&&console.warn(\"LaTeX-incompatible input and strict mode is set to 'warn': \"+e+\" [\"+t+\"]\"),!1):(\"undefined\"!=typeof console&&console.warn(\"LaTeX-incompatible input and strict mode is set to unrecognized '\"+a+\"': \"+e+\" [\"+t+\"]\"),!1)))},t}(),d=function(){function t(t,e,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=e,this.cramped=r}var e=t.prototype;return e.sup=function(){return p[f[this.id]]},e.sub=function(){return p[g[this.id]]},e.fracNum=function(){return p[x[this.id]]},e.fracDen=function(){return p[v[this.id]]},e.cramp=function(){return p[b[this.id]]},e.text=function(){return p[y[this.id]]},e.isTight=function(){return this.size>=2},t}(),p=[new d(0,0,!1),new d(1,0,!0),new d(2,1,!1),new d(3,1,!0),new d(4,2,!1),new d(5,2,!0),new d(6,3,!1),new d(7,3,!0)],f=[4,5,4,5,6,7,6,7],g=[5,5,5,5,7,7,7,7],x=[2,3,4,5,6,7,6,7],v=[3,3,5,5,7,7,7,7],b=[1,1,3,3,5,5,7,7],y=[0,1,2,3,2,3,2,3],w={DISPLAY:p[0],TEXT:p[2],SCRIPT:p[4],SCRIPTSCRIPT:p[6]},k=[{name:\"latin\",blocks:[[256,591],[768,879]]},{name:\"cyrillic\",blocks:[[1024,1279]]},{name:\"brahmic\",blocks:[[2304,4255]]},{name:\"georgian\",blocks:[[4256,4351]]},{name:\"cjk\",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:\"hangul\",blocks:[[44032,55215]]}];var S=[];function z(t){for(var e=0;e<S.length;e+=2)if(t>=S[e]&&t<=S[e+1])return!0;return!1}k.forEach(function(t){return t.blocks.forEach(function(t){return S.push.apply(S,t)})});var M={path:{sqrtMain:\"M95,702c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,\\n-10,-9.5,-14c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54c44.2,-33.3,65.8,\\n-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10s173,378,173,378c0.7,0,\\n35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429c69,-144,104.5,-217.7,106.5,\\n-221c5.3,-9.3,12,-14,20,-14H400000v40H845.2724s-225.272,467,-225.272,467\\ns-235,486,-235,486c-2.7,4.7,-9,7,-19,7c-6,0,-10,-1,-12,-3s-194,-422,-194,-422\\ns-65,47,-65,47z M834 80H400000v40H845z\",sqrtSize1:\"M263,681c0.7,0,18,39.7,52,119c34,79.3,68.167,\\n158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120c340,-704.7,510.7,-1060.3,512,-1067\\nc4.7,-7.3,11,-11,19,-11H40000v40H1012.3s-271.3,567,-271.3,567c-38.7,80.7,-84,\\n175,-136,283c-52,108,-89.167,185.3,-111.5,232c-22.3,46.7,-33.8,70.3,-34.5,71\\nc-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1s-109,-253,-109,-253c-72.7,-168,-109.3,\\n-252,-110,-252c-10.7,8,-22,16.7,-34,26c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26\\ns76,-59,76,-59s76,-60,76,-60z M1001 80H40000v40H1012z\",sqrtSize2:\"M1001,80H400000v40H1013.1s-83.4,268,-264.1,840c-180.7,\\n572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,\\n-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744c-10,12,-21,25,-33,39s-32,39,-32,39\\nc-6,-5.3,-15,-14,-27,-26s25,-30,25,-30c26.7,-32.7,52,-63,76,-91s52,-60,52,-60\\ns208,722,208,722c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,\\n-658.5c53.7,-170.3,84.5,-266.8,92.5,-289.5c4,-6.7,10,-10,18,-10z\\nM1001 80H400000v40H1013z\",sqrtSize3:\"M424,2478c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,\\n-342,-109.8,-513.3,-110.5,-514c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,\\n25c-5.7,9.3,-9.8,16,-12.5,20s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,\\n-13s76,-122,76,-122s77,-121,77,-121s209,968,209,968c0,-2,84.7,-361.7,254,-1079\\nc169.3,-717.3,254.7,-1077.7,256,-1081c4,-6.7,10,-10,18,-10H400000v40H1014.6\\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185c-2,6,-10,9,-24,9\\nc-8,0,-12,-0.7,-12,-2z M1001 80H400000v40H1014z\",sqrtSize4:\"M473,2793c339.3,-1799.3,509.3,-2700,510,-2702\\nc3.3,-7.3,9.3,-11,18,-11H400000v40H1017.7s-90.5,478,-276.2,1466c-185.7,988,\\n-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,\\n-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200c0,-1.3,-5.3,8.7,-16,30c-10.7,\\n21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26s76,-153,76,-153s77,-151,\\n77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,606z\\nM1001 80H400000v40H1017z\",doubleleftarrow:\"M262 157\\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\\nm8 0v40h399730v-40zm0 194v40h399730v-40z\",doublerightarrow:\"M399738 392l\\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z\",leftarrow:\"M400000 241H110l3-3c68.7-52.7 113.7-120\\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\\n l-3-3h399890zM100 241v40h399900v-40z\",leftbrace:\"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z\",leftbraceunder:\"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z\",leftgroup:\"M400000 80\\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\\n 435 0h399565z\",leftgroupunder:\"M400000 262\\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\\n 435 219h399565z\",leftharpoon:\"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z\",leftharpoonplus:\"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\\nm0 0v40h400000v-40z\",leftharpoondown:\"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z\",leftharpoondownplus:\"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z\",lefthook:\"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\\n 71.5 23h399859zM103 281v-40h399897v40z\",leftlinesegment:\"M40 281 V428 H0 V94 H40 V241 H400000 v40z\\nM40 281 V428 H0 V94 H40 V241 H400000 v40z\",leftmapsto:\"M40 281 V448H0V74H40V241H400000v40z\\nM40 281 V448H0V74H40V241H400000v40z\",leftToFrom:\"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z\",longequal:\"M0 50 h400000 v40H0z m0 194h40000v40H0z\\nM0 50 h400000 v40H0z m0 194h40000v40H0z\",midbrace:\"M200428 334\\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z\",midbraceunder:\"M199572 214\\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z\",oiintSize1:\"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z\",oiintSize2:\"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\\nc0 110 84 276 504 276s502.4-166 502.4-276z\",oiiintSize1:\"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z\",oiiintSize2:\"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z\",rightarrow:\"M0 241v40h399891c-47.3 35.3-84 78-110 128\\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\\n 151.7 139 205zm0 0v40h399900v-40z\",rightbrace:\"M400000 542l\\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z\",rightbraceunder:\"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z\",rightgroup:\"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\\n 3-1 3-3v-38c-76-158-257-219-435-219H0z\",rightgroupunder:\"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z\",rightharpoon:\"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\\n 69.2 92 94.5zm0 0v40h399900v-40z\",rightharpoonplus:\"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z\",rightharpoondown:\"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z\",rightharpoondownplus:\"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\\nm0-194v40h400000v-40zm0 0v40h400000v-40z\",righthook:\"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z\",rightlinesegment:\"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z\",rightToFrom:\"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z\",twoheadleftarrow:\"M0 167c68 40\\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z\",twoheadrightarrow:\"M400000 167\\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z\",tilde1:\"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\\n-68.267.847-113-73.952-191-73.952z\",tilde2:\"M344 55.266c-142 0-300.638 81.316-311.5 86.418\\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z\",tilde3:\"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\\n -338 0-409-156.573-744-156.573z\",tilde4:\"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\\n -175.236-744-175.236z\",vec:\"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\\nc-16-25.333-24-45-24-59z\",widehat1:\"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z\",widehat2:\"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z\",widehat3:\"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z\",widehat4:\"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z\",widecheck1:\"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z\",widecheck2:\"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z\",widecheck3:\"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z\",widecheck4:\"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z\",baraboveleftarrow:\"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z\",rightarrowabovebar:\"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z\",baraboveshortleftharpoon:\"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z\",rightharpoonaboveshortbar:\"M0,241 l0,40c399126,0,399993,0,399993,0\\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z\",shortbaraboveleftharpoon:\"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z\",shortrightharpoonabovebar:\"M53,241l0,40c398570,0,399437,0,399437,0\\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z\"}},T=function(){function t(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var e=t.prototype;return e.hasClass=function(t){return c.contains(this.classes,t)},e.toNode=function(){for(var t=document.createDocumentFragment(),e=0;e<this.children.length;e++)t.appendChild(this.children[e].toNode());return t},e.toMarkup=function(){for(var t=\"\",e=0;e<this.children.length;e++)t+=this.children[e].toMarkup();return t},e.toText=function(){var t=function(t){return t.toText()};return this.children.map(t).join(\"\")},t}(),A=function(t){return t.filter(function(t){return t}).join(\" \")},B=function(t,e,r){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},e){e.style.isTight()&&this.classes.push(\"mtight\");var a=e.getColor();a&&(this.style.color=a)}},q=function(t){var e=document.createElement(t);for(var r in e.className=A(this.classes),this.style)this.style.hasOwnProperty(r)&&(e.style[r]=this.style[r]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&e.setAttribute(a,this.attributes[a]);for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e},C=function(t){var e=\"<\"+t;this.classes.length&&(e+=' class=\"'+c.escape(A(this.classes))+'\"');var r=\"\";for(var a in this.style)this.style.hasOwnProperty(a)&&(r+=c.hyphenate(a)+\":\"+this.style[a]+\";\");for(var n in r&&(e+=' style=\"'+c.escape(r)+'\"'),this.attributes)this.attributes.hasOwnProperty(n)&&(e+=\" \"+n+'=\"'+c.escape(this.attributes[n])+'\"');e+=\">\";for(var o=0;o<this.children.length;o++)e+=this.children[o].toMarkup();return e+=\"</\"+t+\">\"},N=function(){function t(t,e,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,B.call(this,t,r,a),this.children=e||[]}var e=t.prototype;return e.setAttribute=function(t,e){this.attributes[t]=e},e.hasClass=function(t){return c.contains(this.classes,t)},e.toNode=function(){return q.call(this,\"span\")},e.toMarkup=function(){return C.call(this,\"span\")},t}(),I=function(){function t(t,e,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,B.call(this,e,a),this.children=r||[],this.setAttribute(\"href\",t)}var e=t.prototype;return e.setAttribute=function(t,e){this.attributes[t]=e},e.hasClass=function(t){return c.contains(this.classes,t)},e.toNode=function(){return q.call(this,\"a\")},e.toMarkup=function(){return C.call(this,\"a\")},t}(),O={\"\\xee\":\"\\u0131\\u0302\",\"\\xef\":\"\\u0131\\u0308\",\"\\xed\":\"\\u0131\\u0301\",\"\\xec\":\"\\u0131\\u0300\"},E=function(){function t(t,e,r,a,n,o,i,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=e||0,this.depth=r||0,this.italic=a||0,this.skew=n||0,this.width=o||0,this.classes=i||[],this.style=s||{},this.maxFontSize=0;var h=function(t){for(var e=0;e<k.length;e++)for(var r=k[e],a=0;a<r.blocks.length;a++){var n=r.blocks[a];if(t>=n[0]&&t<=n[1])return r.name}return null}(this.text.charCodeAt(0));h&&this.classes.push(h+\"_fallback\"),/[\\xee\\xef\\xed\\xec]/.test(this.text)&&(this.text=O[this.text])}var e=t.prototype;return e.hasClass=function(t){return c.contains(this.classes,t)},e.toNode=function(){var t=document.createTextNode(this.text),e=null;for(var r in this.italic>0&&((e=document.createElement(\"span\")).style.marginRight=this.italic+\"em\"),this.classes.length>0&&((e=e||document.createElement(\"span\")).className=A(this.classes)),this.style)this.style.hasOwnProperty(r)&&((e=e||document.createElement(\"span\")).style[r]=this.style[r]);return e?(e.appendChild(t),e):t},e.toMarkup=function(){var t=!1,e=\"<span\";this.classes.length&&(t=!0,e+=' class=\"',e+=c.escape(A(this.classes)),e+='\"');var r=\"\";for(var a in this.italic>0&&(r+=\"margin-right:\"+this.italic+\"em;\"),this.style)this.style.hasOwnProperty(a)&&(r+=c.hyphenate(a)+\":\"+this.style[a]+\";\");r&&(t=!0,e+=' style=\"'+c.escape(r)+'\"');var n=c.escape(this.text);return t?(e+=\">\",e+=n,e+=\"</span>\"):n},t}(),R=function(){function t(t,e){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=e||{}}var e=t.prototype;return e.toNode=function(){var t=document.createElementNS(\"http://www.w3.org/2000/svg\",\"svg\");for(var e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&t.setAttribute(e,this.attributes[e]);for(var r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t},e.toMarkup=function(){var t=\"<svg\";for(var e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&(t+=\" \"+e+\"='\"+this.attributes[e]+\"'\");t+=\">\";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+=\"</svg>\"},t}(),L=function(){function t(t,e){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=e}var e=t.prototype;return e.toNode=function(){var t=document.createElementNS(\"http://www.w3.org/2000/svg\",\"path\");return this.alternate?t.setAttribute(\"d\",this.alternate):t.setAttribute(\"d\",M.path[this.pathName]),t},e.toMarkup=function(){return this.alternate?\"<path d='\"+this.alternate+\"'/>\":\"<path d='\"+M.path[this.pathName]+\"'/>\"},t}(),H=function(){function t(t){this.attributes=void 0,this.attributes=t||{}}var e=t.prototype;return e.toNode=function(){var t=document.createElementNS(\"http://www.w3.org/2000/svg\",\"line\");for(var e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&t.setAttribute(e,this.attributes[e]);return t},e.toMarkup=function(){var t=\"<line\";for(var e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&(t+=\" \"+e+\"='\"+this.attributes[e]+\"'\");return t+=\"/>\"},t}();var P={\"AMS-Regular\":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},\"Caligraphic-Regular\":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},\"Fraktur-Regular\":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},\"Main-Bold\":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},\"Main-BoldItalic\":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},\"Main-Italic\":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},\"Main-Regular\":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},\"Math-BoldItalic\":{65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},\"Math-Italic\":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},\"Math-Regular\":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},\"SansSerif-Bold\":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},\"SansSerif-Italic\":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},\"SansSerif-Regular\":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},\"Script-Regular\":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},\"Size1-Regular\":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},\"Size2-Regular\":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},\"Size3-Regular\":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},\"Size4-Regular\":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},\"Typewriter-Regular\":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},D={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2]},F={\"\\xc5\":\"A\",\"\\xc7\":\"C\",\"\\xd0\":\"D\",\"\\xde\":\"o\",\"\\xe5\":\"a\",\"\\xe7\":\"c\",\"\\xf0\":\"d\",\"\\xfe\":\"o\",\"\\u0410\":\"A\",\"\\u0411\":\"B\",\"\\u0412\":\"B\",\"\\u0413\":\"F\",\"\\u0414\":\"A\",\"\\u0415\":\"E\",\"\\u0416\":\"K\",\"\\u0417\":\"3\",\"\\u0418\":\"N\",\"\\u0419\":\"N\",\"\\u041a\":\"K\",\"\\u041b\":\"N\",\"\\u041c\":\"M\",\"\\u041d\":\"H\",\"\\u041e\":\"O\",\"\\u041f\":\"N\",\"\\u0420\":\"P\",\"\\u0421\":\"C\",\"\\u0422\":\"T\",\"\\u0423\":\"y\",\"\\u0424\":\"O\",\"\\u0425\":\"X\",\"\\u0426\":\"U\",\"\\u0427\":\"h\",\"\\u0428\":\"W\",\"\\u0429\":\"W\",\"\\u042a\":\"B\",\"\\u042b\":\"X\",\"\\u042c\":\"B\",\"\\u042d\":\"3\",\"\\u042e\":\"X\",\"\\u042f\":\"R\",\"\\u0430\":\"a\",\"\\u0431\":\"b\",\"\\u0432\":\"a\",\"\\u0433\":\"r\",\"\\u0434\":\"y\",\"\\u0435\":\"e\",\"\\u0436\":\"m\",\"\\u0437\":\"e\",\"\\u0438\":\"n\",\"\\u0439\":\"n\",\"\\u043a\":\"n\",\"\\u043b\":\"n\",\"\\u043c\":\"m\",\"\\u043d\":\"n\",\"\\u043e\":\"o\",\"\\u043f\":\"n\",\"\\u0440\":\"p\",\"\\u0441\":\"c\",\"\\u0442\":\"o\",\"\\u0443\":\"y\",\"\\u0444\":\"b\",\"\\u0445\":\"x\",\"\\u0446\":\"n\",\"\\u0447\":\"n\",\"\\u0448\":\"w\",\"\\u0449\":\"w\",\"\\u044a\":\"a\",\"\\u044b\":\"m\",\"\\u044c\":\"a\",\"\\u044d\":\"e\",\"\\u044e\":\"m\",\"\\u044f\":\"r\"};function V(t,e,r){if(!P[e])throw new Error(\"Font metrics not found for font: \"+e+\".\");var a=t.charCodeAt(0),n=P[e][a];if(!n&&t[0]in F&&(a=F[t[0]].charCodeAt(0),n=P[e][a]),n||\"text\"!==r||z(a)&&(n=P[e][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var U={};var G={bin:1,close:1,inner:1,open:1,punct:1,rel:1},X={\"accent-token\":1,mathord:1,\"op-token\":1,spacing:1,textord:1},Y={math:{},text:{}},_=Y;function W(t,e,r,a,n,o){Y[t][n]={font:e,group:r,replace:a},o&&a&&(Y[t][a]=Y[t][n])}var j=\"main\",$=\"ams\",Z=\"bin\",K=\"mathord\",J=\"op-token\",Q=\"rel\";W(\"math\",j,Q,\"\\u2261\",\"\\\\equiv\",!0),W(\"math\",j,Q,\"\\u227a\",\"\\\\prec\",!0),W(\"math\",j,Q,\"\\u227b\",\"\\\\succ\",!0),W(\"math\",j,Q,\"\\u223c\",\"\\\\sim\",!0),W(\"math\",j,Q,\"\\u22a5\",\"\\\\perp\"),W(\"math\",j,Q,\"\\u2aaf\",\"\\\\preceq\",!0),W(\"math\",j,Q,\"\\u2ab0\",\"\\\\succeq\",!0),W(\"math\",j,Q,\"\\u2243\",\"\\\\simeq\",!0),W(\"math\",j,Q,\"\\u2223\",\"\\\\mid\",!0),W(\"math\",j,Q,\"\\u226a\",\"\\\\ll\",!0),W(\"math\",j,Q,\"\\u226b\",\"\\\\gg\",!0),W(\"math\",j,Q,\"\\u224d\",\"\\\\asymp\",!0),W(\"math\",j,Q,\"\\u2225\",\"\\\\parallel\"),W(\"math\",j,Q,\"\\u22c8\",\"\\\\bowtie\",!0),W(\"math\",j,Q,\"\\u2323\",\"\\\\smile\",!0),W(\"math\",j,Q,\"\\u2291\",\"\\\\sqsubseteq\",!0),W(\"math\",j,Q,\"\\u2292\",\"\\\\sqsupseteq\",!0),W(\"math\",j,Q,\"\\u2250\",\"\\\\doteq\",!0),W(\"math\",j,Q,\"\\u2322\",\"\\\\frown\",!0),W(\"math\",j,Q,\"\\u220b\",\"\\\\ni\",!0),W(\"math\",j,Q,\"\\u221d\",\"\\\\propto\",!0),W(\"math\",j,Q,\"\\u22a2\",\"\\\\vdash\",!0),W(\"math\",j,Q,\"\\u22a3\",\"\\\\dashv\",!0),W(\"math\",j,Q,\"\\u220b\",\"\\\\owns\"),W(\"math\",j,\"punct\",\".\",\"\\\\ldotp\"),W(\"math\",j,\"punct\",\"\\u22c5\",\"\\\\cdotp\"),W(\"math\",j,\"textord\",\"#\",\"\\\\#\"),W(\"text\",j,\"textord\",\"#\",\"\\\\#\"),W(\"math\",j,\"textord\",\"&\",\"\\\\&\"),W(\"text\",j,\"textord\",\"&\",\"\\\\&\"),W(\"math\",j,\"textord\",\"\\u2135\",\"\\\\aleph\",!0),W(\"math\",j,\"textord\",\"\\u2200\",\"\\\\forall\",!0),W(\"math\",j,\"textord\",\"\\u210f\",\"\\\\hbar\",!0),W(\"math\",j,\"textord\",\"\\u2203\",\"\\\\exists\",!0),W(\"math\",j,\"textord\",\"\\u2207\",\"\\\\nabla\",!0),W(\"math\",j,\"textord\",\"\\u266d\",\"\\\\flat\",!0),W(\"math\",j,\"textord\",\"\\u2113\",\"\\\\ell\",!0),W(\"math\",j,\"textord\",\"\\u266e\",\"\\\\natural\",!0),W(\"math\",j,\"textord\",\"\\u2663\",\"\\\\clubsuit\",!0),W(\"math\",j,\"textord\",\"\\u2118\",\"\\\\wp\",!0),W(\"math\",j,\"textord\",\"\\u266f\",\"\\\\sharp\",!0),W(\"math\",j,\"textord\",\"\\u2662\",\"\\\\diamondsuit\",!0),W(\"math\",j,\"textord\",\"\\u211c\",\"\\\\Re\",!0),W(\"math\",j,\"textord\",\"\\u2661\",\"\\\\heartsuit\",!0),W(\"math\",j,\"textord\",\"\\u2111\",\"\\\\Im\",!0),W(\"math\",j,\"textord\",\"\\u2660\",\"\\\\spadesuit\",!0),W(\"text\",j,\"textord\",\"\\xa7\",\"\\\\S\",!0),W(\"text\",j,\"textord\",\"\\xb6\",\"\\\\P\",!0),W(\"math\",j,\"textord\",\"\\u2020\",\"\\\\dag\"),W(\"text\",j,\"textord\",\"\\u2020\",\"\\\\dag\"),W(\"text\",j,\"textord\",\"\\u2020\",\"\\\\textdagger\"),W(\"math\",j,\"textord\",\"\\u2021\",\"\\\\ddag\"),W(\"text\",j,\"textord\",\"\\u2021\",\"\\\\ddag\"),W(\"text\",j,\"textord\",\"\\u2021\",\"\\\\textdaggerdbl\"),W(\"math\",j,\"close\",\"\\u23b1\",\"\\\\rmoustache\",!0),W(\"math\",j,\"open\",\"\\u23b0\",\"\\\\lmoustache\",!0),W(\"math\",j,\"close\",\"\\u27ef\",\"\\\\rgroup\",!0),W(\"math\",j,\"open\",\"\\u27ee\",\"\\\\lgroup\",!0),W(\"math\",j,Z,\"\\u2213\",\"\\\\mp\",!0),W(\"math\",j,Z,\"\\u2296\",\"\\\\ominus\",!0),W(\"math\",j,Z,\"\\u228e\",\"\\\\uplus\",!0),W(\"math\",j,Z,\"\\u2293\",\"\\\\sqcap\",!0),W(\"math\",j,Z,\"\\u2217\",\"\\\\ast\"),W(\"math\",j,Z,\"\\u2294\",\"\\\\sqcup\",!0),W(\"math\",j,Z,\"\\u25ef\",\"\\\\bigcirc\"),W(\"math\",j,Z,\"\\u2219\",\"\\\\bullet\"),W(\"math\",j,Z,\"\\u2021\",\"\\\\ddagger\"),W(\"math\",j,Z,\"\\u2240\",\"\\\\wr\",!0),W(\"math\",j,Z,\"\\u2a3f\",\"\\\\amalg\"),W(\"math\",j,Z,\"&\",\"\\\\And\"),W(\"math\",j,Q,\"\\u27f5\",\"\\\\longleftarrow\",!0),W(\"math\",j,Q,\"\\u21d0\",\"\\\\Leftarrow\",!0),W(\"math\",j,Q,\"\\u27f8\",\"\\\\Longleftarrow\",!0),W(\"math\",j,Q,\"\\u27f6\",\"\\\\longrightarrow\",!0),W(\"math\",j,Q,\"\\u21d2\",\"\\\\Rightarrow\",!0),W(\"math\",j,Q,\"\\u27f9\",\"\\\\Longrightarrow\",!0),W(\"math\",j,Q,\"\\u2194\",\"\\\\leftrightarrow\",!0),W(\"math\",j,Q,\"\\u27f7\",\"\\\\longleftrightarrow\",!0),W(\"math\",j,Q,\"\\u21d4\",\"\\\\Leftrightarrow\",!0),W(\"math\",j,Q,\"\\u27fa\",\"\\\\Longleftrightarrow\",!0),W(\"math\",j,Q,\"\\u21a6\",\"\\\\mapsto\",!0),W(\"math\",j,Q,\"\\u27fc\",\"\\\\longmapsto\",!0),W(\"math\",j,Q,\"\\u2197\",\"\\\\nearrow\",!0),W(\"math\",j,Q,\"\\u21a9\",\"\\\\hookleftarrow\",!0),W(\"math\",j,Q,\"\\u21aa\",\"\\\\hookrightarrow\",!0),W(\"math\",j,Q,\"\\u2198\",\"\\\\searrow\",!0),W(\"math\",j,Q,\"\\u21bc\",\"\\\\leftharpoonup\",!0),W(\"math\",j,Q,\"\\u21c0\",\"\\\\rightharpoonup\",!0),W(\"math\",j,Q,\"\\u2199\",\"\\\\swarrow\",!0),W(\"math\",j,Q,\"\\u21bd\",\"\\\\leftharpoondown\",!0),W(\"math\",j,Q,\"\\u21c1\",\"\\\\rightharpoondown\",!0),W(\"math\",j,Q,\"\\u2196\",\"\\\\nwarrow\",!0),W(\"math\",j,Q,\"\\u21cc\",\"\\\\rightleftharpoons\",!0),W(\"math\",$,Q,\"\\u226e\",\"\\\\nless\",!0),W(\"math\",$,Q,\"\\ue010\",\"\\\\@nleqslant\"),W(\"math\",$,Q,\"\\ue011\",\"\\\\@nleqq\"),W(\"math\",$,Q,\"\\u2a87\",\"\\\\lneq\",!0),W(\"math\",$,Q,\"\\u2268\",\"\\\\lneqq\",!0),W(\"math\",$,Q,\"\\ue00c\",\"\\\\@lvertneqq\"),W(\"math\",$,Q,\"\\u22e6\",\"\\\\lnsim\",!0),W(\"math\",$,Q,\"\\u2a89\",\"\\\\lnapprox\",!0),W(\"math\",$,Q,\"\\u2280\",\"\\\\nprec\",!0),W(\"math\",$,Q,\"\\u22e0\",\"\\\\npreceq\",!0),W(\"math\",$,Q,\"\\u22e8\",\"\\\\precnsim\",!0),W(\"math\",$,Q,\"\\u2ab9\",\"\\\\precnapprox\",!0),W(\"math\",$,Q,\"\\u2241\",\"\\\\nsim\",!0),W(\"math\",$,Q,\"\\ue006\",\"\\\\@nshortmid\"),W(\"math\",$,Q,\"\\u2224\",\"\\\\nmid\",!0),W(\"math\",$,Q,\"\\u22ac\",\"\\\\nvdash\",!0),W(\"math\",$,Q,\"\\u22ad\",\"\\\\nvDash\",!0),W(\"math\",$,Q,\"\\u22ea\",\"\\\\ntriangleleft\"),W(\"math\",$,Q,\"\\u22ec\",\"\\\\ntrianglelefteq\",!0),W(\"math\",$,Q,\"\\u228a\",\"\\\\subsetneq\",!0),W(\"math\",$,Q,\"\\ue01a\",\"\\\\@varsubsetneq\"),W(\"math\",$,Q,\"\\u2acb\",\"\\\\subsetneqq\",!0),W(\"math\",$,Q,\"\\ue017\",\"\\\\@varsubsetneqq\"),W(\"math\",$,Q,\"\\u226f\",\"\\\\ngtr\",!0),W(\"math\",$,Q,\"\\ue00f\",\"\\\\@ngeqslant\"),W(\"math\",$,Q,\"\\ue00e\",\"\\\\@ngeqq\"),W(\"math\",$,Q,\"\\u2a88\",\"\\\\gneq\",!0),W(\"math\",$,Q,\"\\u2269\",\"\\\\gneqq\",!0),W(\"math\",$,Q,\"\\ue00d\",\"\\\\@gvertneqq\"),W(\"math\",$,Q,\"\\u22e7\",\"\\\\gnsim\",!0),W(\"math\",$,Q,\"\\u2a8a\",\"\\\\gnapprox\",!0),W(\"math\",$,Q,\"\\u2281\",\"\\\\nsucc\",!0),W(\"math\",$,Q,\"\\u22e1\",\"\\\\nsucceq\",!0),W(\"math\",$,Q,\"\\u22e9\",\"\\\\succnsim\",!0),W(\"math\",$,Q,\"\\u2aba\",\"\\\\succnapprox\",!0),W(\"math\",$,Q,\"\\u2246\",\"\\\\ncong\",!0),W(\"math\",$,Q,\"\\ue007\",\"\\\\@nshortparallel\"),W(\"math\",$,Q,\"\\u2226\",\"\\\\nparallel\",!0),W(\"math\",$,Q,\"\\u22af\",\"\\\\nVDash\",!0),W(\"math\",$,Q,\"\\u22eb\",\"\\\\ntriangleright\"),W(\"math\",$,Q,\"\\u22ed\",\"\\\\ntrianglerighteq\",!0),W(\"math\",$,Q,\"\\ue018\",\"\\\\@nsupseteqq\"),W(\"math\",$,Q,\"\\u228b\",\"\\\\supsetneq\",!0),W(\"math\",$,Q,\"\\ue01b\",\"\\\\@varsupsetneq\"),W(\"math\",$,Q,\"\\u2acc\",\"\\\\supsetneqq\",!0),W(\"math\",$,Q,\"\\ue019\",\"\\\\@varsupsetneqq\"),W(\"math\",$,Q,\"\\u22ae\",\"\\\\nVdash\",!0),W(\"math\",$,Q,\"\\u2ab5\",\"\\\\precneqq\",!0),W(\"math\",$,Q,\"\\u2ab6\",\"\\\\succneqq\",!0),W(\"math\",$,Q,\"\\ue016\",\"\\\\@nsubseteqq\"),W(\"math\",$,Z,\"\\u22b4\",\"\\\\unlhd\"),W(\"math\",$,Z,\"\\u22b5\",\"\\\\unrhd\"),W(\"math\",$,Q,\"\\u219a\",\"\\\\nleftarrow\",!0),W(\"math\",$,Q,\"\\u219b\",\"\\\\nrightarrow\",!0),W(\"math\",$,Q,\"\\u21cd\",\"\\\\nLeftarrow\",!0),W(\"math\",$,Q,\"\\u21cf\",\"\\\\nRightarrow\",!0),W(\"math\",$,Q,\"\\u21ae\",\"\\\\nleftrightarrow\",!0),W(\"math\",$,Q,\"\\u21ce\",\"\\\\nLeftrightarrow\",!0),W(\"math\",$,Q,\"\\u25b3\",\"\\\\vartriangle\"),W(\"math\",$,\"textord\",\"\\u210f\",\"\\\\hslash\"),W(\"math\",$,\"textord\",\"\\u25bd\",\"\\\\triangledown\"),W(\"math\",$,\"textord\",\"\\u25ca\",\"\\\\lozenge\"),W(\"math\",$,\"textord\",\"\\u24c8\",\"\\\\circledS\"),W(\"math\",$,\"textord\",\"\\xae\",\"\\\\circledR\"),W(\"text\",$,\"textord\",\"\\xae\",\"\\\\circledR\"),W(\"math\",$,\"textord\",\"\\u2221\",\"\\\\measuredangle\",!0),W(\"math\",$,\"textord\",\"\\u2204\",\"\\\\nexists\"),W(\"math\",$,\"textord\",\"\\u2127\",\"\\\\mho\"),W(\"math\",$,\"textord\",\"\\u2132\",\"\\\\Finv\",!0),W(\"math\",$,\"textord\",\"\\u2141\",\"\\\\Game\",!0),W(\"math\",$,\"textord\",\"\\u2035\",\"\\\\backprime\"),W(\"math\",$,\"textord\",\"\\u25b2\",\"\\\\blacktriangle\"),W(\"math\",$,\"textord\",\"\\u25bc\",\"\\\\blacktriangledown\"),W(\"math\",$,\"textord\",\"\\u25a0\",\"\\\\blacksquare\"),W(\"math\",$,\"textord\",\"\\u29eb\",\"\\\\blacklozenge\"),W(\"math\",$,\"textord\",\"\\u2605\",\"\\\\bigstar\"),W(\"math\",$,\"textord\",\"\\u2222\",\"\\\\sphericalangle\",!0),W(\"math\",$,\"textord\",\"\\u2201\",\"\\\\complement\",!0),W(\"math\",$,\"textord\",\"\\xf0\",\"\\\\eth\",!0),W(\"math\",$,\"textord\",\"\\u2571\",\"\\\\diagup\"),W(\"math\",$,\"textord\",\"\\u2572\",\"\\\\diagdown\"),W(\"math\",$,\"textord\",\"\\u25a1\",\"\\\\square\"),W(\"math\",$,\"textord\",\"\\u25a1\",\"\\\\Box\"),W(\"math\",$,\"textord\",\"\\u25ca\",\"\\\\Diamond\"),W(\"math\",$,\"textord\",\"\\xa5\",\"\\\\yen\",!0),W(\"text\",$,\"textord\",\"\\xa5\",\"\\\\yen\",!0),W(\"math\",$,\"textord\",\"\\u2713\",\"\\\\checkmark\",!0),W(\"text\",$,\"textord\",\"\\u2713\",\"\\\\checkmark\"),W(\"math\",$,\"textord\",\"\\u2136\",\"\\\\beth\",!0),W(\"math\",$,\"textord\",\"\\u2138\",\"\\\\daleth\",!0),W(\"math\",$,\"textord\",\"\\u2137\",\"\\\\gimel\",!0),W(\"math\",$,\"textord\",\"\\u03dd\",\"\\\\digamma\"),W(\"math\",$,\"textord\",\"\\u03f0\",\"\\\\varkappa\"),W(\"math\",$,\"open\",\"\\u250c\",\"\\\\ulcorner\",!0),W(\"math\",$,\"close\",\"\\u2510\",\"\\\\urcorner\",!0),W(\"math\",$,\"open\",\"\\u2514\",\"\\\\llcorner\",!0),W(\"math\",$,\"close\",\"\\u2518\",\"\\\\lrcorner\",!0),W(\"math\",$,Q,\"\\u2266\",\"\\\\leqq\",!0),W(\"math\",$,Q,\"\\u2a7d\",\"\\\\leqslant\",!0),W(\"math\",$,Q,\"\\u2a95\",\"\\\\eqslantless\",!0),W(\"math\",$,Q,\"\\u2272\",\"\\\\lesssim\",!0),W(\"math\",$,Q,\"\\u2a85\",\"\\\\lessapprox\",!0),W(\"math\",$,Q,\"\\u224a\",\"\\\\approxeq\",!0),W(\"math\",$,Z,\"\\u22d6\",\"\\\\lessdot\"),W(\"math\",$,Q,\"\\u22d8\",\"\\\\lll\",!0),W(\"math\",$,Q,\"\\u2276\",\"\\\\lessgtr\",!0),W(\"math\",$,Q,\"\\u22da\",\"\\\\lesseqgtr\",!0),W(\"math\",$,Q,\"\\u2a8b\",\"\\\\lesseqqgtr\",!0),W(\"math\",$,Q,\"\\u2251\",\"\\\\doteqdot\"),W(\"math\",$,Q,\"\\u2253\",\"\\\\risingdotseq\",!0),W(\"math\",$,Q,\"\\u2252\",\"\\\\fallingdotseq\",!0),W(\"math\",$,Q,\"\\u223d\",\"\\\\backsim\",!0),W(\"math\",$,Q,\"\\u22cd\",\"\\\\backsimeq\",!0),W(\"math\",$,Q,\"\\u2ac5\",\"\\\\subseteqq\",!0),W(\"math\",$,Q,\"\\u22d0\",\"\\\\Subset\",!0),W(\"math\",$,Q,\"\\u228f\",\"\\\\sqsubset\",!0),W(\"math\",$,Q,\"\\u227c\",\"\\\\preccurlyeq\",!0),W(\"math\",$,Q,\"\\u22de\",\"\\\\curlyeqprec\",!0),W(\"math\",$,Q,\"\\u227e\",\"\\\\precsim\",!0),W(\"math\",$,Q,\"\\u2ab7\",\"\\\\precapprox\",!0),W(\"math\",$,Q,\"\\u22b2\",\"\\\\vartriangleleft\"),W(\"math\",$,Q,\"\\u22b4\",\"\\\\trianglelefteq\"),W(\"math\",$,Q,\"\\u22a8\",\"\\\\vDash\",!0),W(\"math\",$,Q,\"\\u22aa\",\"\\\\Vvdash\",!0),W(\"math\",$,Q,\"\\u2323\",\"\\\\smallsmile\"),W(\"math\",$,Q,\"\\u2322\",\"\\\\smallfrown\"),W(\"math\",$,Q,\"\\u224f\",\"\\\\bumpeq\",!0),W(\"math\",$,Q,\"\\u224e\",\"\\\\Bumpeq\",!0),W(\"math\",$,Q,\"\\u2267\",\"\\\\geqq\",!0),W(\"math\",$,Q,\"\\u2a7e\",\"\\\\geqslant\",!0),W(\"math\",$,Q,\"\\u2a96\",\"\\\\eqslantgtr\",!0),W(\"math\",$,Q,\"\\u2273\",\"\\\\gtrsim\",!0),W(\"math\",$,Q,\"\\u2a86\",\"\\\\gtrapprox\",!0),W(\"math\",$,Z,\"\\u22d7\",\"\\\\gtrdot\"),W(\"math\",$,Q,\"\\u22d9\",\"\\\\ggg\",!0),W(\"math\",$,Q,\"\\u2277\",\"\\\\gtrless\",!0),W(\"math\",$,Q,\"\\u22db\",\"\\\\gtreqless\",!0),W(\"math\",$,Q,\"\\u2a8c\",\"\\\\gtreqqless\",!0),W(\"math\",$,Q,\"\\u2256\",\"\\\\eqcirc\",!0),W(\"math\",$,Q,\"\\u2257\",\"\\\\circeq\",!0),W(\"math\",$,Q,\"\\u225c\",\"\\\\triangleq\",!0),W(\"math\",$,Q,\"\\u223c\",\"\\\\thicksim\"),W(\"math\",$,Q,\"\\u2248\",\"\\\\thickapprox\"),W(\"math\",$,Q,\"\\u2ac6\",\"\\\\supseteqq\",!0),W(\"math\",$,Q,\"\\u22d1\",\"\\\\Supset\",!0),W(\"math\",$,Q,\"\\u2290\",\"\\\\sqsupset\",!0),W(\"math\",$,Q,\"\\u227d\",\"\\\\succcurlyeq\",!0),W(\"math\",$,Q,\"\\u22df\",\"\\\\curlyeqsucc\",!0),W(\"math\",$,Q,\"\\u227f\",\"\\\\succsim\",!0),W(\"math\",$,Q,\"\\u2ab8\",\"\\\\succapprox\",!0),W(\"math\",$,Q,\"\\u22b3\",\"\\\\vartriangleright\"),W(\"math\",$,Q,\"\\u22b5\",\"\\\\trianglerighteq\"),W(\"math\",$,Q,\"\\u22a9\",\"\\\\Vdash\",!0),W(\"math\",$,Q,\"\\u2223\",\"\\\\shortmid\"),W(\"math\",$,Q,\"\\u2225\",\"\\\\shortparallel\"),W(\"math\",$,Q,\"\\u226c\",\"\\\\between\",!0),W(\"math\",$,Q,\"\\u22d4\",\"\\\\pitchfork\",!0),W(\"math\",$,Q,\"\\u221d\",\"\\\\varpropto\"),W(\"math\",$,Q,\"\\u25c0\",\"\\\\blacktriangleleft\"),W(\"math\",$,Q,\"\\u2234\",\"\\\\therefore\",!0),W(\"math\",$,Q,\"\\u220d\",\"\\\\backepsilon\"),W(\"math\",$,Q,\"\\u25b6\",\"\\\\blacktriangleright\"),W(\"math\",$,Q,\"\\u2235\",\"\\\\because\",!0),W(\"math\",$,Q,\"\\u22d8\",\"\\\\llless\"),W(\"math\",$,Q,\"\\u22d9\",\"\\\\gggtr\"),W(\"math\",$,Z,\"\\u22b2\",\"\\\\lhd\"),W(\"math\",$,Z,\"\\u22b3\",\"\\\\rhd\"),W(\"math\",$,Q,\"\\u2242\",\"\\\\eqsim\",!0),W(\"math\",j,Q,\"\\u22c8\",\"\\\\Join\"),W(\"math\",$,Q,\"\\u2251\",\"\\\\Doteq\",!0),W(\"math\",$,Z,\"\\u2214\",\"\\\\dotplus\",!0),W(\"math\",$,Z,\"\\u2216\",\"\\\\smallsetminus\"),W(\"math\",$,Z,\"\\u22d2\",\"\\\\Cap\",!0),W(\"math\",$,Z,\"\\u22d3\",\"\\\\Cup\",!0),W(\"math\",$,Z,\"\\u2a5e\",\"\\\\doublebarwedge\",!0),W(\"math\",$,Z,\"\\u229f\",\"\\\\boxminus\",!0),W(\"math\",$,Z,\"\\u229e\",\"\\\\boxplus\",!0),W(\"math\",$,Z,\"\\u22c7\",\"\\\\divideontimes\",!0),W(\"math\",$,Z,\"\\u22c9\",\"\\\\ltimes\",!0),W(\"math\",$,Z,\"\\u22ca\",\"\\\\rtimes\",!0),W(\"math\",$,Z,\"\\u22cb\",\"\\\\leftthreetimes\",!0),W(\"math\",$,Z,\"\\u22cc\",\"\\\\rightthreetimes\",!0),W(\"math\",$,Z,\"\\u22cf\",\"\\\\curlywedge\",!0),W(\"math\",$,Z,\"\\u22ce\",\"\\\\curlyvee\",!0),W(\"math\",$,Z,\"\\u229d\",\"\\\\circleddash\",!0),W(\"math\",$,Z,\"\\u229b\",\"\\\\circledast\",!0),W(\"math\",$,Z,\"\\u22c5\",\"\\\\centerdot\"),W(\"math\",$,Z,\"\\u22ba\",\"\\\\intercal\",!0),W(\"math\",$,Z,\"\\u22d2\",\"\\\\doublecap\"),W(\"math\",$,Z,\"\\u22d3\",\"\\\\doublecup\"),W(\"math\",$,Z,\"\\u22a0\",\"\\\\boxtimes\",!0),W(\"math\",$,Q,\"\\u21e2\",\"\\\\dashrightarrow\",!0),W(\"math\",$,Q,\"\\u21e0\",\"\\\\dashleftarrow\",!0),W(\"math\",$,Q,\"\\u21c7\",\"\\\\leftleftarrows\",!0),W(\"math\",$,Q,\"\\u21c6\",\"\\\\leftrightarrows\",!0),W(\"math\",$,Q,\"\\u21da\",\"\\\\Lleftarrow\",!0),W(\"math\",$,Q,\"\\u219e\",\"\\\\twoheadleftarrow\",!0),W(\"math\",$,Q,\"\\u21a2\",\"\\\\leftarrowtail\",!0),W(\"math\",$,Q,\"\\u21ab\",\"\\\\looparrowleft\",!0),W(\"math\",$,Q,\"\\u21cb\",\"\\\\leftrightharpoons\",!0),W(\"math\",$,Q,\"\\u21b6\",\"\\\\curvearrowleft\",!0),W(\"math\",$,Q,\"\\u21ba\",\"\\\\circlearrowleft\",!0),W(\"math\",$,Q,\"\\u21b0\",\"\\\\Lsh\",!0),W(\"math\",$,Q,\"\\u21c8\",\"\\\\upuparrows\",!0),W(\"math\",$,Q,\"\\u21bf\",\"\\\\upharpoonleft\",!0),W(\"math\",$,Q,\"\\u21c3\",\"\\\\downharpoonleft\",!0),W(\"math\",$,Q,\"\\u22b8\",\"\\\\multimap\",!0),W(\"math\",$,Q,\"\\u21ad\",\"\\\\leftrightsquigarrow\",!0),W(\"math\",$,Q,\"\\u21c9\",\"\\\\rightrightarrows\",!0),W(\"math\",$,Q,\"\\u21c4\",\"\\\\rightleftarrows\",!0),W(\"math\",$,Q,\"\\u21a0\",\"\\\\twoheadrightarrow\",!0),W(\"math\",$,Q,\"\\u21a3\",\"\\\\rightarrowtail\",!0),W(\"math\",$,Q,\"\\u21ac\",\"\\\\looparrowright\",!0),W(\"math\",$,Q,\"\\u21b7\",\"\\\\curvearrowright\",!0),W(\"math\",$,Q,\"\\u21bb\",\"\\\\circlearrowright\",!0),W(\"math\",$,Q,\"\\u21b1\",\"\\\\Rsh\",!0),W(\"math\",$,Q,\"\\u21ca\",\"\\\\downdownarrows\",!0),W(\"math\",$,Q,\"\\u21be\",\"\\\\upharpoonright\",!0),W(\"math\",$,Q,\"\\u21c2\",\"\\\\downharpoonright\",!0),W(\"math\",$,Q,\"\\u21dd\",\"\\\\rightsquigarrow\",!0),W(\"math\",$,Q,\"\\u21dd\",\"\\\\leadsto\"),W(\"math\",$,Q,\"\\u21db\",\"\\\\Rrightarrow\",!0),W(\"math\",$,Q,\"\\u21be\",\"\\\\restriction\"),W(\"math\",j,\"textord\",\"\\u2018\",\"`\"),W(\"math\",j,\"textord\",\"$\",\"\\\\$\"),W(\"text\",j,\"textord\",\"$\",\"\\\\$\"),W(\"text\",j,\"textord\",\"$\",\"\\\\textdollar\"),W(\"math\",j,\"textord\",\"%\",\"\\\\%\"),W(\"text\",j,\"textord\",\"%\",\"\\\\%\"),W(\"math\",j,\"textord\",\"_\",\"\\\\_\"),W(\"text\",j,\"textord\",\"_\",\"\\\\_\"),W(\"text\",j,\"textord\",\"_\",\"\\\\textunderscore\"),W(\"math\",j,\"textord\",\"\\u2220\",\"\\\\angle\",!0),W(\"math\",j,\"textord\",\"\\u221e\",\"\\\\infty\",!0),W(\"math\",j,\"textord\",\"\\u2032\",\"\\\\prime\"),W(\"math\",j,\"textord\",\"\\u25b3\",\"\\\\triangle\"),W(\"math\",j,\"textord\",\"\\u0393\",\"\\\\Gamma\",!0),W(\"math\",j,\"textord\",\"\\u0394\",\"\\\\Delta\",!0),W(\"math\",j,\"textord\",\"\\u0398\",\"\\\\Theta\",!0),W(\"math\",j,\"textord\",\"\\u039b\",\"\\\\Lambda\",!0),W(\"math\",j,\"textord\",\"\\u039e\",\"\\\\Xi\",!0),W(\"math\",j,\"textord\",\"\\u03a0\",\"\\\\Pi\",!0),W(\"math\",j,\"textord\",\"\\u03a3\",\"\\\\Sigma\",!0),W(\"math\",j,\"textord\",\"\\u03a5\",\"\\\\Upsilon\",!0),W(\"math\",j,\"textord\",\"\\u03a6\",\"\\\\Phi\",!0),W(\"math\",j,\"textord\",\"\\u03a8\",\"\\\\Psi\",!0),W(\"math\",j,\"textord\",\"\\u03a9\",\"\\\\Omega\",!0),W(\"math\",j,\"textord\",\"A\",\"\\u0391\"),W(\"math\",j,\"textord\",\"B\",\"\\u0392\"),W(\"math\",j,\"textord\",\"E\",\"\\u0395\"),W(\"math\",j,\"textord\",\"Z\",\"\\u0396\"),W(\"math\",j,\"textord\",\"H\",\"\\u0397\"),W(\"math\",j,\"textord\",\"I\",\"\\u0399\"),W(\"math\",j,\"textord\",\"K\",\"\\u039a\"),W(\"math\",j,\"textord\",\"M\",\"\\u039c\"),W(\"math\",j,\"textord\",\"N\",\"\\u039d\"),W(\"math\",j,\"textord\",\"O\",\"\\u039f\"),W(\"math\",j,\"textord\",\"P\",\"\\u03a1\"),W(\"math\",j,\"textord\",\"T\",\"\\u03a4\"),W(\"math\",j,\"textord\",\"X\",\"\\u03a7\"),W(\"math\",j,\"textord\",\"\\xac\",\"\\\\neg\",!0),W(\"math\",j,\"textord\",\"\\xac\",\"\\\\lnot\"),W(\"math\",j,\"textord\",\"\\u22a4\",\"\\\\top\"),W(\"math\",j,\"textord\",\"\\u22a5\",\"\\\\bot\"),W(\"math\",j,\"textord\",\"\\u2205\",\"\\\\emptyset\"),W(\"math\",$,\"textord\",\"\\u2205\",\"\\\\varnothing\"),W(\"math\",j,K,\"\\u03b1\",\"\\\\alpha\",!0),W(\"math\",j,K,\"\\u03b2\",\"\\\\beta\",!0),W(\"math\",j,K,\"\\u03b3\",\"\\\\gamma\",!0),W(\"math\",j,K,\"\\u03b4\",\"\\\\delta\",!0),W(\"math\",j,K,\"\\u03f5\",\"\\\\epsilon\",!0),W(\"math\",j,K,\"\\u03b6\",\"\\\\zeta\",!0),W(\"math\",j,K,\"\\u03b7\",\"\\\\eta\",!0),W(\"math\",j,K,\"\\u03b8\",\"\\\\theta\",!0),W(\"math\",j,K,\"\\u03b9\",\"\\\\iota\",!0),W(\"math\",j,K,\"\\u03ba\",\"\\\\kappa\",!0),W(\"math\",j,K,\"\\u03bb\",\"\\\\lambda\",!0),W(\"math\",j,K,\"\\u03bc\",\"\\\\mu\",!0),W(\"math\",j,K,\"\\u03bd\",\"\\\\nu\",!0),W(\"math\",j,K,\"\\u03be\",\"\\\\xi\",!0),W(\"math\",j,K,\"\\u03bf\",\"\\\\omicron\",!0),W(\"math\",j,K,\"\\u03c0\",\"\\\\pi\",!0),W(\"math\",j,K,\"\\u03c1\",\"\\\\rho\",!0),W(\"math\",j,K,\"\\u03c3\",\"\\\\sigma\",!0),W(\"math\",j,K,\"\\u03c4\",\"\\\\tau\",!0),W(\"math\",j,K,\"\\u03c5\",\"\\\\upsilon\",!0),W(\"math\",j,K,\"\\u03d5\",\"\\\\phi\",!0),W(\"math\",j,K,\"\\u03c7\",\"\\\\chi\",!0),W(\"math\",j,K,\"\\u03c8\",\"\\\\psi\",!0),W(\"math\",j,K,\"\\u03c9\",\"\\\\omega\",!0),W(\"math\",j,K,\"\\u03b5\",\"\\\\varepsilon\",!0),W(\"math\",j,K,\"\\u03d1\",\"\\\\vartheta\",!0),W(\"math\",j,K,\"\\u03d6\",\"\\\\varpi\",!0),W(\"math\",j,K,\"\\u03f1\",\"\\\\varrho\",!0),W(\"math\",j,K,\"\\u03c2\",\"\\\\varsigma\",!0),W(\"math\",j,K,\"\\u03c6\",\"\\\\varphi\",!0),W(\"math\",j,Z,\"\\u2217\",\"*\"),W(\"math\",j,Z,\"+\",\"+\"),W(\"math\",j,Z,\"\\u2212\",\"-\"),W(\"math\",j,Z,\"\\u22c5\",\"\\\\cdot\",!0),W(\"math\",j,Z,\"\\u2218\",\"\\\\circ\"),W(\"math\",j,Z,\"\\xf7\",\"\\\\div\",!0),W(\"math\",j,Z,\"\\xb1\",\"\\\\pm\",!0),W(\"math\",j,Z,\"\\xd7\",\"\\\\times\",!0),W(\"math\",j,Z,\"\\u2229\",\"\\\\cap\",!0),W(\"math\",j,Z,\"\\u222a\",\"\\\\cup\",!0),W(\"math\",j,Z,\"\\u2216\",\"\\\\setminus\"),W(\"math\",j,Z,\"\\u2227\",\"\\\\land\"),W(\"math\",j,Z,\"\\u2228\",\"\\\\lor\"),W(\"math\",j,Z,\"\\u2227\",\"\\\\wedge\",!0),W(\"math\",j,Z,\"\\u2228\",\"\\\\vee\",!0),W(\"math\",j,\"textord\",\"\\u221a\",\"\\\\surd\"),W(\"math\",j,\"open\",\"(\",\"(\"),W(\"math\",j,\"open\",\"[\",\"[\"),W(\"math\",j,\"open\",\"\\u27e8\",\"\\\\langle\",!0),W(\"math\",j,\"open\",\"\\u2223\",\"\\\\lvert\"),W(\"math\",j,\"open\",\"\\u2225\",\"\\\\lVert\"),W(\"math\",j,\"close\",\")\",\")\"),W(\"math\",j,\"close\",\"]\",\"]\"),W(\"math\",j,\"close\",\"?\",\"?\"),W(\"math\",j,\"close\",\"!\",\"!\"),W(\"math\",j,\"close\",\"\\u27e9\",\"\\\\rangle\",!0),W(\"math\",j,\"close\",\"\\u2223\",\"\\\\rvert\"),W(\"math\",j,\"close\",\"\\u2225\",\"\\\\rVert\"),W(\"math\",j,Q,\"=\",\"=\"),W(\"math\",j,Q,\"<\",\"<\"),W(\"math\",j,Q,\">\",\">\"),W(\"math\",j,Q,\":\",\":\"),W(\"math\",j,Q,\"\\u2248\",\"\\\\approx\",!0),W(\"math\",j,Q,\"\\u2245\",\"\\\\cong\",!0),W(\"math\",j,Q,\"\\u2265\",\"\\\\ge\"),W(\"math\",j,Q,\"\\u2265\",\"\\\\geq\",!0),W(\"math\",j,Q,\"\\u2190\",\"\\\\gets\"),W(\"math\",j,Q,\">\",\"\\\\gt\"),W(\"math\",j,Q,\"\\u2208\",\"\\\\in\",!0),W(\"math\",j,Q,\"\\ue020\",\"\\\\@not\"),W(\"math\",j,Q,\"\\u2282\",\"\\\\subset\",!0),W(\"math\",j,Q,\"\\u2283\",\"\\\\supset\",!0),W(\"math\",j,Q,\"\\u2286\",\"\\\\subseteq\",!0),W(\"math\",j,Q,\"\\u2287\",\"\\\\supseteq\",!0),W(\"math\",$,Q,\"\\u2288\",\"\\\\nsubseteq\",!0),W(\"math\",$,Q,\"\\u2289\",\"\\\\nsupseteq\",!0),W(\"math\",j,Q,\"\\u22a8\",\"\\\\models\"),W(\"math\",j,Q,\"\\u2190\",\"\\\\leftarrow\",!0),W(\"math\",j,Q,\"\\u2264\",\"\\\\le\"),W(\"math\",j,Q,\"\\u2264\",\"\\\\leq\",!0),W(\"math\",j,Q,\"<\",\"\\\\lt\"),W(\"math\",j,Q,\"\\u2192\",\"\\\\rightarrow\",!0),W(\"math\",j,Q,\"\\u2192\",\"\\\\to\"),W(\"math\",$,Q,\"\\u2271\",\"\\\\ngeq\",!0),W(\"math\",$,Q,\"\\u2270\",\"\\\\nleq\",!0),W(\"math\",j,\"spacing\",\"\\xa0\",\"\\\\ \"),W(\"math\",j,\"spacing\",\"\\xa0\",\"~\"),W(\"math\",j,\"spacing\",\"\\xa0\",\"\\\\space\"),W(\"math\",j,\"spacing\",\"\\xa0\",\"\\\\nobreakspace\"),W(\"text\",j,\"spacing\",\"\\xa0\",\"\\\\ \"),W(\"text\",j,\"spacing\",\"\\xa0\",\"~\"),W(\"text\",j,\"spacing\",\"\\xa0\",\"\\\\space\"),W(\"text\",j,\"spacing\",\"\\xa0\",\"\\\\nobreakspace\"),W(\"math\",j,\"spacing\",null,\"\\\\nobreak\"),W(\"math\",j,\"spacing\",null,\"\\\\allowbreak\"),W(\"math\",j,\"punct\",\",\",\",\"),W(\"math\",j,\"punct\",\";\",\";\"),W(\"math\",$,Z,\"\\u22bc\",\"\\\\barwedge\",!0),W(\"math\",$,Z,\"\\u22bb\",\"\\\\veebar\",!0),W(\"math\",j,Z,\"\\u2299\",\"\\\\odot\",!0),W(\"math\",j,Z,\"\\u2295\",\"\\\\oplus\",!0),W(\"math\",j,Z,\"\\u2297\",\"\\\\otimes\",!0),W(\"math\",j,\"textord\",\"\\u2202\",\"\\\\partial\",!0),W(\"math\",j,Z,\"\\u2298\",\"\\\\oslash\",!0),W(\"math\",$,Z,\"\\u229a\",\"\\\\circledcirc\",!0),W(\"math\",$,Z,\"\\u22a1\",\"\\\\boxdot\",!0),W(\"math\",j,Z,\"\\u25b3\",\"\\\\bigtriangleup\"),W(\"math\",j,Z,\"\\u25bd\",\"\\\\bigtriangledown\"),W(\"math\",j,Z,\"\\u2020\",\"\\\\dagger\"),W(\"math\",j,Z,\"\\u22c4\",\"\\\\diamond\"),W(\"math\",j,Z,\"\\u22c6\",\"\\\\star\"),W(\"math\",j,Z,\"\\u25c3\",\"\\\\triangleleft\"),W(\"math\",j,Z,\"\\u25b9\",\"\\\\triangleright\"),W(\"math\",j,\"open\",\"{\",\"\\\\{\"),W(\"text\",j,\"textord\",\"{\",\"\\\\{\"),W(\"text\",j,\"textord\",\"{\",\"\\\\textbraceleft\"),W(\"math\",j,\"close\",\"}\",\"\\\\}\"),W(\"text\",j,\"textord\",\"}\",\"\\\\}\"),W(\"text\",j,\"textord\",\"}\",\"\\\\textbraceright\"),W(\"math\",j,\"open\",\"{\",\"\\\\lbrace\"),W(\"math\",j,\"close\",\"}\",\"\\\\rbrace\"),W(\"math\",j,\"open\",\"[\",\"\\\\lbrack\"),W(\"text\",j,\"textord\",\"[\",\"\\\\lbrack\"),W(\"math\",j,\"close\",\"]\",\"\\\\rbrack\"),W(\"text\",j,\"textord\",\"]\",\"\\\\rbrack\"),W(\"math\",j,\"open\",\"(\",\"\\\\lparen\"),W(\"math\",j,\"close\",\")\",\"\\\\rparen\"),W(\"text\",j,\"textord\",\"<\",\"\\\\textless\"),W(\"text\",j,\"textord\",\">\",\"\\\\textgreater\"),W(\"math\",j,\"open\",\"\\u230a\",\"\\\\lfloor\",!0),W(\"math\",j,\"close\",\"\\u230b\",\"\\\\rfloor\",!0),W(\"math\",j,\"open\",\"\\u2308\",\"\\\\lceil\",!0),W(\"math\",j,\"close\",\"\\u2309\",\"\\\\rceil\",!0),W(\"math\",j,\"textord\",\"\\\\\",\"\\\\backslash\"),W(\"math\",j,\"textord\",\"\\u2223\",\"|\"),W(\"math\",j,\"textord\",\"\\u2223\",\"\\\\vert\"),W(\"text\",j,\"textord\",\"|\",\"\\\\textbar\"),W(\"math\",j,\"textord\",\"\\u2225\",\"\\\\|\"),W(\"math\",j,\"textord\",\"\\u2225\",\"\\\\Vert\"),W(\"text\",j,\"textord\",\"\\u2225\",\"\\\\textbardbl\"),W(\"text\",j,\"textord\",\"~\",\"\\\\textasciitilde\"),W(\"text\",j,\"textord\",\"\\\\\",\"\\\\textbackslash\"),W(\"text\",j,\"textord\",\"^\",\"\\\\textasciicircum\"),W(\"math\",j,Q,\"\\u2191\",\"\\\\uparrow\",!0),W(\"math\",j,Q,\"\\u21d1\",\"\\\\Uparrow\",!0),W(\"math\",j,Q,\"\\u2193\",\"\\\\downarrow\",!0),W(\"math\",j,Q,\"\\u21d3\",\"\\\\Downarrow\",!0),W(\"math\",j,Q,\"\\u2195\",\"\\\\updownarrow\",!0),W(\"math\",j,Q,\"\\u21d5\",\"\\\\Updownarrow\",!0),W(\"math\",j,J,\"\\u2210\",\"\\\\coprod\"),W(\"math\",j,J,\"\\u22c1\",\"\\\\bigvee\"),W(\"math\",j,J,\"\\u22c0\",\"\\\\bigwedge\"),W(\"math\",j,J,\"\\u2a04\",\"\\\\biguplus\"),W(\"math\",j,J,\"\\u22c2\",\"\\\\bigcap\"),W(\"math\",j,J,\"\\u22c3\",\"\\\\bigcup\"),W(\"math\",j,J,\"\\u222b\",\"\\\\int\"),W(\"math\",j,J,\"\\u222b\",\"\\\\intop\"),W(\"math\",j,J,\"\\u222c\",\"\\\\iint\"),W(\"math\",j,J,\"\\u222d\",\"\\\\iiint\"),W(\"math\",j,J,\"\\u220f\",\"\\\\prod\"),W(\"math\",j,J,\"\\u2211\",\"\\\\sum\"),W(\"math\",j,J,\"\\u2a02\",\"\\\\bigotimes\"),W(\"math\",j,J,\"\\u2a01\",\"\\\\bigoplus\"),W(\"math\",j,J,\"\\u2a00\",\"\\\\bigodot\"),W(\"math\",j,J,\"\\u222e\",\"\\\\oint\"),W(\"math\",j,J,\"\\u222f\",\"\\\\oiint\"),W(\"math\",j,J,\"\\u2230\",\"\\\\oiiint\"),W(\"math\",j,J,\"\\u2a06\",\"\\\\bigsqcup\"),W(\"math\",j,J,\"\\u222b\",\"\\\\smallint\"),W(\"text\",j,\"inner\",\"\\u2026\",\"\\\\textellipsis\"),W(\"math\",j,\"inner\",\"\\u2026\",\"\\\\mathellipsis\"),W(\"text\",j,\"inner\",\"\\u2026\",\"\\\\ldots\",!0),W(\"math\",j,\"inner\",\"\\u2026\",\"\\\\ldots\",!0),W(\"math\",j,\"inner\",\"\\u22ef\",\"\\\\@cdots\",!0),W(\"math\",j,\"inner\",\"\\u22f1\",\"\\\\ddots\",!0),W(\"math\",j,\"textord\",\"\\u22ee\",\"\\\\varvdots\"),W(\"math\",j,\"accent-token\",\"\\u02ca\",\"\\\\acute\"),W(\"math\",j,\"accent-token\",\"\\u02cb\",\"\\\\grave\"),W(\"math\",j,\"accent-token\",\"\\xa8\",\"\\\\ddot\"),W(\"math\",j,\"accent-token\",\"~\",\"\\\\tilde\"),W(\"math\",j,\"accent-token\",\"\\u02c9\",\"\\\\bar\"),W(\"math\",j,\"accent-token\",\"\\u02d8\",\"\\\\breve\"),W(\"math\",j,\"accent-token\",\"\\u02c7\",\"\\\\check\"),W(\"math\",j,\"accent-token\",\"^\",\"\\\\hat\"),W(\"math\",j,\"accent-token\",\"\\u20d7\",\"\\\\vec\"),W(\"math\",j,\"accent-token\",\"\\u02d9\",\"\\\\dot\"),W(\"math\",j,\"accent-token\",\"\\u02da\",\"\\\\mathring\"),W(\"math\",j,K,\"\\u0131\",\"\\\\imath\",!0),W(\"math\",j,K,\"\\u0237\",\"\\\\jmath\",!0),W(\"text\",j,\"textord\",\"\\u0131\",\"\\\\i\",!0),W(\"text\",j,\"textord\",\"\\u0237\",\"\\\\j\",!0),W(\"text\",j,\"textord\",\"\\xdf\",\"\\\\ss\",!0),W(\"text\",j,\"textord\",\"\\xe6\",\"\\\\ae\",!0),W(\"text\",j,\"textord\",\"\\xe6\",\"\\\\ae\",!0),W(\"text\",j,\"textord\",\"\\u0153\",\"\\\\oe\",!0),W(\"text\",j,\"textord\",\"\\xf8\",\"\\\\o\",!0),W(\"text\",j,\"textord\",\"\\xc6\",\"\\\\AE\",!0),W(\"text\",j,\"textord\",\"\\u0152\",\"\\\\OE\",!0),W(\"text\",j,\"textord\",\"\\xd8\",\"\\\\O\",!0),W(\"text\",j,\"accent-token\",\"\\u02ca\",\"\\\\'\"),W(\"text\",j,\"accent-token\",\"\\u02cb\",\"\\\\`\"),W(\"text\",j,\"accent-token\",\"\\u02c6\",\"\\\\^\"),W(\"text\",j,\"accent-token\",\"\\u02dc\",\"\\\\~\"),W(\"text\",j,\"accent-token\",\"\\u02c9\",\"\\\\=\"),W(\"text\",j,\"accent-token\",\"\\u02d8\",\"\\\\u\"),W(\"text\",j,\"accent-token\",\"\\u02d9\",\"\\\\.\"),W(\"text\",j,\"accent-token\",\"\\u02da\",\"\\\\r\"),W(\"text\",j,\"accent-token\",\"\\u02c7\",\"\\\\v\"),W(\"text\",j,\"accent-token\",\"\\xa8\",'\\\\\"'),W(\"text\",j,\"accent-token\",\"\\u02dd\",\"\\\\H\"),W(\"text\",j,\"accent-token\",\"\\u25ef\",\"\\\\textcircled\");var tt={\"--\":!0,\"---\":!0,\"``\":!0,\"''\":!0};W(\"text\",j,\"textord\",\"\\u2013\",\"--\"),W(\"text\",j,\"textord\",\"\\u2013\",\"\\\\textendash\"),W(\"text\",j,\"textord\",\"\\u2014\",\"---\"),W(\"text\",j,\"textord\",\"\\u2014\",\"\\\\textemdash\"),W(\"text\",j,\"textord\",\"\\u2018\",\"`\"),W(\"text\",j,\"textord\",\"\\u2018\",\"\\\\textquoteleft\"),W(\"text\",j,\"textord\",\"\\u2019\",\"'\"),W(\"text\",j,\"textord\",\"\\u2019\",\"\\\\textquoteright\"),W(\"text\",j,\"textord\",\"\\u201c\",\"``\"),W(\"text\",j,\"textord\",\"\\u201c\",\"\\\\textquotedblleft\"),W(\"text\",j,\"textord\",\"\\u201d\",\"''\"),W(\"text\",j,\"textord\",\"\\u201d\",\"\\\\textquotedblright\"),W(\"math\",j,\"textord\",\"\\xb0\",\"\\\\degree\",!0),W(\"text\",j,\"textord\",\"\\xb0\",\"\\\\degree\"),W(\"text\",j,\"textord\",\"\\xb0\",\"\\\\textdegree\",!0),W(\"math\",j,K,\"\\xa3\",\"\\\\pounds\"),W(\"math\",j,K,\"\\xa3\",\"\\\\mathsterling\",!0),W(\"text\",j,K,\"\\xa3\",\"\\\\pounds\"),W(\"text\",j,K,\"\\xa3\",\"\\\\textsterling\",!0),W(\"math\",$,\"textord\",\"\\u2720\",\"\\\\maltese\"),W(\"text\",$,\"textord\",\"\\u2720\",\"\\\\maltese\"),W(\"text\",j,\"spacing\",\"\\xa0\",\"\\\\ \"),W(\"text\",j,\"spacing\",\"\\xa0\",\" \"),W(\"text\",j,\"spacing\",\"\\xa0\",\"~\");for(var et=0;et<'0123456789/@.\"'.length;et++){var rt='0123456789/@.\"'.charAt(et);W(\"math\",j,\"textord\",rt,rt)}for(var at=0;at<'0123456789!@*()-=+[]<>|\";:?/.,'.length;at++){var nt='0123456789!@*()-=+[]<>|\";:?/.,'.charAt(at);W(\"text\",j,\"textord\",nt,nt)}for(var ot=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\",it=0;it<ot.length;it++){var st=ot.charAt(it);W(\"math\",j,K,st,st),W(\"text\",j,\"textord\",st,st)}W(\"math\",$,\"textord\",\"C\",\"\\u2102\"),W(\"text\",$,\"textord\",\"C\",\"\\u2102\"),W(\"math\",$,\"textord\",\"H\",\"\\u210d\"),W(\"text\",$,\"textord\",\"H\",\"\\u210d\"),W(\"math\",$,\"textord\",\"N\",\"\\u2115\"),W(\"text\",$,\"textord\",\"N\",\"\\u2115\"),W(\"math\",$,\"textord\",\"P\",\"\\u2119\"),W(\"text\",$,\"textord\",\"P\",\"\\u2119\"),W(\"math\",$,\"textord\",\"Q\",\"\\u211a\"),W(\"text\",$,\"textord\",\"Q\",\"\\u211a\"),W(\"math\",$,\"textord\",\"R\",\"\\u211d\"),W(\"text\",$,\"textord\",\"R\",\"\\u211d\"),W(\"math\",$,\"textord\",\"Z\",\"\\u2124\"),W(\"text\",$,\"textord\",\"Z\",\"\\u2124\"),W(\"math\",j,K,\"h\",\"\\u210e\"),W(\"text\",j,K,\"h\",\"\\u210e\");for(var ht=\"\",lt=0;lt<ot.length;lt++){var mt=ot.charAt(lt);W(\"math\",j,K,mt,ht=String.fromCharCode(55349,56320+lt)),W(\"text\",j,\"textord\",mt,ht),W(\"math\",j,K,mt,ht=String.fromCharCode(55349,56372+lt)),W(\"text\",j,\"textord\",mt,ht),W(\"math\",j,K,mt,ht=String.fromCharCode(55349,56424+lt)),W(\"text\",j,\"textord\",mt,ht),W(\"math\",j,K,mt,ht=String.fromCharCode(55349,56580+lt)),W(\"text\",j,\"textord\",mt,ht),W(\"math\",j,K,mt,ht=String.fromCharCode(55349,56736+lt)),W(\"text\",j,\"textord\",mt,ht),W(\"math\",j,K,mt,ht=String.fromCharCode(55349,56788+lt)),W(\"text\",j,\"textord\",mt,ht),W(\"math\",j,K,mt,ht=String.fromCharCode(55349,56840+lt)),W(\"text\",j,\"textord\",mt,ht),W(\"math\",j,K,mt,ht=String.fromCharCode(55349,56944+lt)),W(\"text\",j,\"textord\",mt,ht),lt<26&&(W(\"math\",j,K,mt,ht=String.fromCharCode(55349,56632+lt)),W(\"text\",j,\"textord\",mt,ht),W(\"math\",j,K,mt,ht=String.fromCharCode(55349,56476+lt)),W(\"text\",j,\"textord\",mt,ht))}W(\"math\",j,K,\"k\",ht=String.fromCharCode(55349,56668)),W(\"text\",j,\"textord\",\"k\",ht);for(var ct=0;ct<10;ct++){var ut=ct.toString();W(\"math\",j,K,ut,ht=String.fromCharCode(55349,57294+ct)),W(\"text\",j,\"textord\",ut,ht),W(\"math\",j,K,ut,ht=String.fromCharCode(55349,57314+ct)),W(\"text\",j,\"textord\",ut,ht),W(\"math\",j,K,ut,ht=String.fromCharCode(55349,57324+ct)),W(\"text\",j,\"textord\",ut,ht),W(\"math\",j,K,ut,ht=String.fromCharCode(55349,57334+ct)),W(\"text\",j,\"textord\",ut,ht)}for(var dt=0;dt<\"\\xc7\\xd0\\xde\\xe7\\xfe\".length;dt++){var pt=\"\\xc7\\xd0\\xde\\xe7\\xfe\".charAt(dt);W(\"math\",j,K,pt,pt),W(\"text\",j,\"textord\",pt,pt)}W(\"text\",j,\"textord\",\"\\xf0\",\"\\xf0\"),W(\"text\",j,\"textord\",\"\\u2013\",\"\\u2013\"),W(\"text\",j,\"textord\",\"\\u2014\",\"\\u2014\"),W(\"text\",j,\"textord\",\"\\u2018\",\"\\u2018\"),W(\"text\",j,\"textord\",\"\\u2019\",\"\\u2019\"),W(\"text\",j,\"textord\",\"\\u201c\",\"\\u201c\"),W(\"text\",j,\"textord\",\"\\u201d\",\"\\u201d\");var ft=[[\"mathbf\",\"textbf\",\"Main-Bold\"],[\"mathbf\",\"textbf\",\"Main-Bold\"],[\"mathdefault\",\"textit\",\"Math-Italic\"],[\"mathdefault\",\"textit\",\"Math-Italic\"],[\"boldsymbol\",\"boldsymbol\",\"Main-BoldItalic\"],[\"boldsymbol\",\"boldsymbol\",\"Main-BoldItalic\"],[\"mathscr\",\"textscr\",\"Script-Regular\"],[\"\",\"\",\"\"],[\"\",\"\",\"\"],[\"\",\"\",\"\"],[\"mathfrak\",\"textfrak\",\"Fraktur-Regular\"],[\"mathfrak\",\"textfrak\",\"Fraktur-Regular\"],[\"mathbb\",\"textbb\",\"AMS-Regular\"],[\"mathbb\",\"textbb\",\"AMS-Regular\"],[\"\",\"\",\"\"],[\"\",\"\",\"\"],[\"mathsf\",\"textsf\",\"SansSerif-Regular\"],[\"mathsf\",\"textsf\",\"SansSerif-Regular\"],[\"mathboldsf\",\"textboldsf\",\"SansSerif-Bold\"],[\"mathboldsf\",\"textboldsf\",\"SansSerif-Bold\"],[\"mathitsf\",\"textitsf\",\"SansSerif-Italic\"],[\"mathitsf\",\"textitsf\",\"SansSerif-Italic\"],[\"\",\"\",\"\"],[\"\",\"\",\"\"],[\"mathtt\",\"texttt\",\"Typewriter-Regular\"],[\"mathtt\",\"texttt\",\"Typewriter-Regular\"]],gt=[[\"mathbf\",\"textbf\",\"Main-Bold\"],[\"\",\"\",\"\"],[\"mathsf\",\"textsf\",\"SansSerif-Regular\"],[\"mathboldsf\",\"textboldsf\",\"SansSerif-Bold\"],[\"mathtt\",\"texttt\",\"Typewriter-Regular\"]],xt=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],vt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],bt=function(t,e){return e.size<2?t:xt[t-1][e.size-1]},yt=function(){function t(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||t.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||\"\",this.fontFamily=e.fontFamily||\"\",this.fontWeight=e.fontWeight||\"\",this.fontShape=e.fontShape||\"\",this.sizeMultiplier=vt[this.size-1],this.maxSize=e.maxSize,this._fontMetrics=void 0}var e=t.prototype;return e.extend=function(e){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize};for(var a in e)e.hasOwnProperty(a)&&(r[a]=e[a]);return new t(r)},e.havingStyle=function(t){return this.style===t?this:this.extend({style:t,size:bt(this.textSize,t)})},e.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},e.havingSize=function(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:vt[t-1]})},e.havingBaseStyle=function(e){e=e||this.style.text();var r=bt(t.BASESIZE,e);return this.size===r&&this.textSize===t.BASESIZE&&this.style===e?this:this.extend({style:e,size:r})},e.havingBaseSizing=function(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})},e.withColor=function(t){return this.extend({color:t})},e.withPhantom=function(){return this.extend({phantom:!0})},e.withFont=function(t){return this.extend({font:t})},e.withTextFontFamily=function(t){return this.extend({fontFamily:t,font:\"\"})},e.withTextFontWeight=function(t){return this.extend({fontWeight:t,font:\"\"})},e.withTextFontShape=function(t){return this.extend({fontShape:t,font:\"\"})},e.sizingClasses=function(t){return t.size!==this.size?[\"sizing\",\"reset-size\"+t.size,\"size\"+this.size]:[]},e.baseSizingClasses=function(){return this.size!==t.BASESIZE?[\"sizing\",\"reset-size\"+this.size,\"size\"+t.BASESIZE]:[]},e.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=function(t){var e;if(!U[e=t>=5?0:t>=3?1:2]){var r=U[e]={cssEmPerMu:D.quad[e]/18};for(var a in D)D.hasOwnProperty(a)&&(r[a]=D[a][e])}return U[e]}(this.size)),this._fontMetrics},e.getColor=function(){return this.phantom?\"transparent\":this.color},t}();yt.BASESIZE=6;var wt=yt,kt={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},St={ex:!0,em:!0,mu:!0},zt=function(t,e){var r;if(t.unit in kt)r=kt[t.unit]/e.fontMetrics().ptPerEm/e.sizeMultiplier;else if(\"mu\"===t.unit)r=e.fontMetrics().cssEmPerMu;else{var a;if(a=e.style.isTight()?e.havingStyle(e.style.text()):e,\"ex\"===t.unit)r=a.fontMetrics().xHeight;else{if(\"em\"!==t.unit)throw new i(\"Invalid unit: '\"+t.unit+\"'\");r=a.fontMetrics().quad}a!==e&&(r*=a.sizeMultiplier/e.sizeMultiplier)}return Math.min(t.number*r,e.maxSize)},Mt=[\"\\\\imath\",\"\\u0131\",\"\\\\jmath\",\"\\u0237\",\"\\\\pounds\",\"\\\\mathsterling\",\"\\\\textsterling\",\"\\xa3\"],Tt=function(t,e,r){return _[r][t]&&_[r][t].replace&&(t=_[r][t].replace),{value:t,metrics:V(t,e,r)}},At=function(t,e,r,a,n){var o,i=Tt(t,e,r),s=i.metrics;if(t=i.value,s){var h=s.italic;(\"text\"===r||a&&\"mathit\"===a.font)&&(h=0),o=new E(t,s.height,s.depth,h,s.skew,s.width,n)}else\"undefined\"!=typeof console&&console.warn(\"No character metrics for '\"+t+\"' in style '\"+e+\"'\"),o=new E(t,0,0,0,0,0,n);if(a){o.maxFontSize=a.sizeMultiplier,a.style.isTight()&&o.classes.push(\"mtight\");var l=a.getColor();l&&(o.style.color=l)}return o},Bt=function(t,e){if(A(t.classes)!==A(e.classes)||t.skew!==e.skew||t.maxFontSize!==e.maxFontSize)return!1;for(var r in t.style)if(t.style.hasOwnProperty(r)&&t.style[r]!==e.style[r])return!1;for(var a in e.style)if(e.style.hasOwnProperty(a)&&t.style[a]!==e.style[a])return!1;return!0},qt=function(t){for(var e=0,r=0,a=0,n=0;n<t.children.length;n++){var o=t.children[n];o.height>e&&(e=o.height),o.depth>r&&(r=o.depth),o.maxFontSize>a&&(a=o.maxFontSize)}t.height=e,t.depth=r,t.maxFontSize=a},Ct=function(t,e,r,a){var n=new N(t,e,r,a);return qt(n),n},Nt=function(t,e,r,a){return new N(t,e,r,a)},It=function(t){var e=new T(t);return qt(e),e},Ot=function(t,e,r){var a=\"\";switch(t){case\"amsrm\":a=\"AMS\";break;case\"textrm\":a=\"Main\";break;case\"textsf\":a=\"SansSerif\";break;case\"texttt\":a=\"Typewriter\";break;default:a=t}return a+\"-\"+(\"textbf\"===e&&\"textit\"===r?\"BoldItalic\":\"textbf\"===e?\"Bold\":\"textit\"===e?\"Italic\":\"Regular\")},Et={mathbf:{variant:\"bold\",fontName:\"Main-Bold\"},mathrm:{variant:\"normal\",fontName:\"Main-Regular\"},textit:{variant:\"italic\",fontName:\"Main-Italic\"},mathit:{variant:\"italic\",fontName:\"Main-Italic\"},mathbb:{variant:\"double-struck\",fontName:\"AMS-Regular\"},mathcal:{variant:\"script\",fontName:\"Caligraphic-Regular\"},mathfrak:{variant:\"fraktur\",fontName:\"Fraktur-Regular\"},mathscr:{variant:\"script\",fontName:\"Script-Regular\"},mathsf:{variant:\"sans-serif\",fontName:\"SansSerif-Regular\"},mathtt:{variant:\"monospace\",fontName:\"Typewriter-Regular\"}},Rt={vec:[\"vec\",.471,.714],oiintSize1:[\"oiintSize1\",.957,.499],oiintSize2:[\"oiintSize2\",1.472,.659],oiiintSize1:[\"oiiintSize1\",1.304,.499],oiiintSize2:[\"oiiintSize2\",1.98,.659]},Lt={fontMap:Et,makeSymbol:At,mathsym:function(t,e,r,a){return void 0===a&&(a=[]),r&&r.font&&\"boldsymbol\"===r.font&&Tt(t,\"Main-Bold\",e).metrics?At(t,\"Main-Bold\",e,r,a.concat([\"mathbf\"])):\"\\\\\"===t||\"main\"===_[e][t].font?At(t,\"Main-Regular\",e,r,a):At(t,\"AMS-Regular\",e,r,a.concat([\"amsrm\"]))},makeSpan:Ct,makeSvgSpan:Nt,makeLineSpan:function(t,e,r){var a=Ct([t],[],e);return a.height=r||e.fontMetrics().defaultRuleThickness,a.style.borderBottomWidth=a.height+\"em\",a.maxFontSize=1,a},makeAnchor:function(t,e,r,a){var n=new I(t,e,r,a);return qt(n),n},makeFragment:It,wrapFragment:function(t,e){return t instanceof T?Ct([],[t],e):t},makeVList:function(t,e){for(var r=function(t){if(\"individualShift\"===t.positionType){for(var e=t.children,r=[e[0]],a=-e[0].shift-e[0].elem.depth,n=a,o=1;o<e.length;o++){var i=-e[o].shift-n-e[o].elem.depth,s=i-(e[o-1].elem.height+e[o-1].elem.depth);n+=i,r.push({type:\"kern\",size:s}),r.push(e[o])}return{children:r,depth:a}}var h;if(\"top\"===t.positionType){for(var l=t.positionData,m=0;m<t.children.length;m++){var c=t.children[m];l-=\"kern\"===c.type?c.size:c.elem.height+c.elem.depth}h=l}else if(\"bottom\"===t.positionType)h=-t.positionData;else{var u=t.children[0];if(\"elem\"!==u.type)throw new Error('First child must have type \"elem\".');if(\"shift\"===t.positionType)h=-u.elem.depth-t.positionData;else{if(\"firstBaseline\"!==t.positionType)throw new Error(\"Invalid positionType \"+t.positionType+\".\");h=-u.elem.depth}}return{children:t.children,depth:h}}(t),a=r.children,n=r.depth,o=0,i=0;i<a.length;i++){var s=a[i];if(\"elem\"===s.type){var h=s.elem;o=Math.max(o,h.maxFontSize,h.height)}}o+=2;var l=Ct([\"pstrut\"],[]);l.style.height=o+\"em\";for(var m=[],c=n,u=n,d=n,p=0;p<a.length;p++){var f=a[p];if(\"kern\"===f.type)d+=f.size;else{var g=f.elem,x=f.wrapperClasses||[],v=f.wrapperStyle||{},b=Ct(x,[l,g],void 0,v);b.style.top=-o-d-g.depth+\"em\",f.marginLeft&&(b.style.marginLeft=f.marginLeft),f.marginRight&&(b.style.marginRight=f.marginRight),m.push(b),d+=g.height+g.depth}c=Math.min(c,d),u=Math.max(u,d)}var y,w=Ct([\"vlist\"],m);if(w.style.height=u+\"em\",c<0){var k=Ct([],[]),S=Ct([\"vlist\"],[k]);S.style.height=-c+\"em\";var z=Ct([\"vlist-s\"],[new E(\"\\u200b\")]);y=[Ct([\"vlist-r\"],[w,z]),Ct([\"vlist-r\"],[S])]}else y=[Ct([\"vlist-r\"],[w])];var M=Ct([\"vlist-t\"],y);return 2===y.length&&M.classes.push(\"vlist-t2\"),M.height=u,M.depth=-c,M},makeOrd:function(t,e,r){var a,n=t.mode,o=t.text,s=[\"mord\"],h=\"math\"===n||\"text\"===n&&e.font,l=h?e.font:e.fontFamily;if(55349===o.charCodeAt(0)){var m=function(t,e){var r=1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536,a=\"math\"===e?0:1;if(119808<=r&&r<120484){var n=Math.floor((r-119808)/26);return[ft[n][2],ft[n][a]]}if(120782<=r&&r<=120831){var o=Math.floor((r-120782)/10);return[gt[o][2],gt[o][a]]}if(120485===r||120486===r)return[ft[0][2],ft[0][a]];if(120486<r&&r<120782)return[\"\",\"\"];throw new i(\"Unsupported character: \"+t)}(o,n),u=m[0],d=m[1];return At(o,u,n,e,s.concat(d))}if(l){var p,f;if(\"boldsymbol\"===l||\"mathnormal\"===l){var g=\"boldsymbol\"===l?function(t,e,r,a){return Tt(t,\"Math-BoldItalic\",e).metrics?{fontName:\"Math-BoldItalic\",fontClass:\"boldsymbol\"}:{fontName:\"Main-Bold\",fontClass:\"mathbf\"}}(o,n):(a=o,c.contains(Mt,a)?{fontName:\"Main-Italic\",fontClass:\"mathit\"}:/[0-9]/.test(a.charAt(0))?{fontName:\"Caligraphic-Regular\",fontClass:\"mathcal\"}:{fontName:\"Math-Italic\",fontClass:\"mathdefault\"});p=g.fontName,f=[g.fontClass]}else c.contains(Mt,o)?(p=\"Main-Italic\",f=[\"mathit\"]):h?(p=Et[l].fontName,f=[l]):(p=Ot(l,e.fontWeight,e.fontShape),f=[l,e.fontWeight,e.fontShape]);if(Tt(o,p,n).metrics)return At(o,p,n,e,s.concat(f));if(tt.hasOwnProperty(o)&&\"Typewriter\"===p.substr(0,10)){for(var x=[],v=0;v<o.length;v++)x.push(At(o[v],p,n,e,s.concat(f)));return It(x)}}if(\"mathord\"===r){var b=function(t,e,r,a){return/[0-9]/.test(t.charAt(0))||c.contains(Mt,t)?{fontName:\"Main-Italic\",fontClass:\"mathit\"}:{fontName:\"Math-Italic\",fontClass:\"mathdefault\"}}(o);return At(o,b.fontName,n,e,s.concat([b.fontClass]))}if(\"textord\"===r){var y=_[n][o]&&_[n][o].font;if(\"ams\"===y){var w=Ot(\"amsrm\",e.fontWeight,e.fontShape);return At(o,w,n,e,s.concat(\"amsrm\",e.fontWeight,e.fontShape))}if(\"main\"!==y&&y){var k=Ot(y,e.fontWeight,e.fontShape);return At(o,k,n,e,s.concat(k,e.fontWeight,e.fontShape))}var S=Ot(\"textrm\",e.fontWeight,e.fontShape);return At(o,S,n,e,s.concat(e.fontWeight,e.fontShape))}throw new Error(\"unexpected type: \"+r+\" in makeOrd\")},makeGlue:function(t,e){var r=Ct([\"mspace\"],[],e),a=zt(t,e);return r.style.marginRight=a+\"em\",r},staticSvg:function(t,e){var r=Rt[t],a=r[0],n=r[1],o=r[2],i=new L(a),s=new R([i],{width:n+\"em\",height:o+\"em\",style:\"width:\"+n+\"em\",viewBox:\"0 0 \"+1e3*n+\" \"+1e3*o,preserveAspectRatio:\"xMinYMin\"}),h=Nt([\"overlay\"],[s],e);return h.height=o,h.style.height=o+\"em\",h.style.width=n+\"em\",h},svgData:Rt,tryCombineChars:function(t){for(var e=0;e<t.length-1;e++){var r=t[e],a=t[e+1];r instanceof E&&a instanceof E&&Bt(r,a)&&(r.text+=a.text,r.height=Math.max(r.height,a.height),r.depth=Math.max(r.depth,a.depth),r.italic=a.italic,t.splice(e+1,1),e--)}return t}};function Ht(t,e){var r=Pt(t,e);if(!r)throw new Error(\"Expected node of type \"+e+\", but got \"+(t?\"node of type \"+t.type:String(t)));return r}function Pt(t,e){return t&&t.type===e?t:null}function Dt(t,e){var r=function(t,e){return t&&\"atom\"===t.type&&t.family===e?t:null}(t,e);if(!r)throw new Error('Expected node of type \"atom\" and family \"'+e+'\", but got '+(t?\"atom\"===t.type?\"atom of family \"+t.family:\"node of type \"+t.type:String(t)));return r}function Ft(t){return t&&(\"atom\"===t.type||X.hasOwnProperty(t.type))?t:null}var Vt={number:3,unit:\"mu\"},Ut={number:4,unit:\"mu\"},Gt={number:5,unit:\"mu\"},Xt={mord:{mop:Vt,mbin:Ut,mrel:Gt,minner:Vt},mop:{mord:Vt,mop:Vt,mrel:Gt,minner:Vt},mbin:{mord:Ut,mop:Ut,mopen:Ut,minner:Ut},mrel:{mord:Gt,mop:Gt,mopen:Gt,minner:Gt},mopen:{},mclose:{mop:Vt,mbin:Ut,mrel:Gt,minner:Vt},mpunct:{mord:Vt,mop:Vt,mrel:Gt,mopen:Vt,mclose:Vt,mpunct:Vt,minner:Vt},minner:{mord:Vt,mop:Vt,mbin:Ut,mrel:Gt,mopen:Vt,mpunct:Vt,minner:Vt}},Yt={mord:{mop:Vt},mop:{mord:Vt,mop:Vt},mbin:{},mrel:{},mopen:{},mclose:{mop:Vt},mpunct:{},minner:{mop:Vt}},_t={},Wt={},jt={};function $t(t){for(var e=t.type,r=(t.nodeType,t.names),a=t.props,n=t.handler,o=t.htmlBuilder,i=t.mathmlBuilder,s={type:e,numArgs:a.numArgs,argTypes:a.argTypes,greediness:void 0===a.greediness?1:a.greediness,allowedInText:!!a.allowedInText,allowedInMath:void 0===a.allowedInMath||a.allowedInMath,numOptionalArgs:a.numOptionalArgs||0,infix:!!a.infix,consumeMode:a.consumeMode,handler:n},h=0;h<r.length;++h)_t[r[h]]=s;e&&(o&&(Wt[e]=o),i&&(jt[e]=i))}function Zt(t){$t({type:t.type,names:[],props:{numArgs:0},handler:function(){throw new Error(\"Should never be called.\")},htmlBuilder:t.htmlBuilder,mathmlBuilder:t.mathmlBuilder})}var Kt=function(t){var e=Pt(t,\"ordgroup\");return e?e.body:[t]},Jt=Lt.makeSpan,Qt=[\"leftmost\",\"mbin\",\"mopen\",\"mrel\",\"mop\",\"mpunct\"],te=[\"rightmost\",\"mrel\",\"mclose\",\"mpunct\"],ee={display:w.DISPLAY,text:w.TEXT,script:w.SCRIPT,scriptscript:w.SCRIPTSCRIPT},re={mord:\"mord\",mop:\"mop\",mbin:\"mbin\",mrel:\"mrel\",mopen:\"mopen\",mclose:\"mclose\",mpunct:\"mpunct\",minner:\"minner\"},ae=function(t,e,r,a){void 0===a&&(a=[null,null]);for(var n=[],o=0;o<t.length;o++){var i=he(t[o],e);if(i instanceof T){var s=i.children;n.push.apply(n,s)}else n.push(i)}if(!r)return n;var h=e;if(1===t.length){var l=Pt(t[0],\"sizing\")||Pt(t[0],\"styling\");l&&(\"sizing\"===l.type?h=e.havingSize(l.size):\"styling\"===l.type&&(h=e.havingStyle(ee[l.style])))}var m=Jt([a[0]||\"leftmost\"],[],e),u=Jt([a[1]||\"rightmost\"],[],e);return ne(n,function(t,e){var r=e.classes[0],a=t.classes[0];\"mbin\"===r&&c.contains(te,a)?e.classes[0]=\"mord\":\"mbin\"===a&&c.contains(Qt,r)&&(t.classes[0]=\"mord\")},{node:m},u),ne(n,function(t,e){var r=ie(e),a=ie(t),n=r&&a?t.hasClass(\"mtight\")?Yt[r][a]:Xt[r][a]:null;if(n)return Lt.makeGlue(n,h)},{node:m},u),n},ne=function t(e,r,a,n){n&&e.push(n);for(var o=0;o<e.length;o++){var i=e[o],s=oe(i);if(s)t(s.children,r,a);else if(\"mspace\"!==i.classes[0]){var h=r(i,a.node);h&&(a.insertAfter?a.insertAfter(h):(e.unshift(h),o++)),a.node=i,a.insertAfter=function(t){return function(r){e.splice(t+1,0,r),o++}}(o)}}n&&e.pop()},oe=function(t){return t instanceof T||t instanceof I?t:null},ie=function(t,e){return t?(e&&(t=function t(e,r){var a=oe(e);if(a){var n=a.children;if(n.length){if(\"right\"===r)return t(n[n.length-1],\"right\");if(\"left\"===r)return t(n[0],\"left\")}}return e}(t,e)),re[t.classes[0]]||null):null},se=function(t,e){var r=[\"nulldelimiter\"].concat(t.baseSizingClasses());return Jt(e.concat(r))},he=function(t,e,r){if(!t)return Jt();if(Wt[t.type]){var a=Wt[t.type](t,e);if(r&&e.size!==r.size){a=Jt(e.sizingClasses(r),[a],e);var n=e.sizeMultiplier/r.sizeMultiplier;a.height*=n,a.depth*=n}return a}throw new i(\"Got group of unknown type: '\"+t.type+\"'\")};function le(t,e){var r=Jt([\"base\"],t,e),a=Jt([\"strut\"]);return a.style.height=r.height+r.depth+\"em\",a.style.verticalAlign=-r.depth+\"em\",r.children.unshift(a),r}function me(t,e){var r=null;1===t.length&&\"tag\"===t[0].type&&(r=t[0].tag,t=t[0].body);for(var a,n=ae(t,e,!0),o=[],i=[],s=0;s<n.length;s++)if(i.push(n[s]),n[s].hasClass(\"mbin\")||n[s].hasClass(\"mrel\")||n[s].hasClass(\"allowbreak\")){for(var h=!1;s<n.length-1&&n[s+1].hasClass(\"mspace\")&&!n[s+1].hasClass(\"newline\");)s++,i.push(n[s]),n[s].hasClass(\"nobreak\")&&(h=!0);h||(o.push(le(i,e)),i=[])}else n[s].hasClass(\"newline\")&&(i.pop(),i.length>0&&(o.push(le(i,e)),i=[]),o.push(n[s]));i.length>0&&o.push(le(i,e)),r&&((a=le(ae(r,e,!0))).classes=[\"tag\"],o.push(a));var l=Jt([\"katex-html\"],o);if(l.setAttribute(\"aria-hidden\",\"true\"),a){var m=a.children[0];m.style.height=l.height+l.depth+\"em\",m.style.verticalAlign=-l.depth+\"em\"}return l}function ce(t){return new T(t)}var ue=function(){function t(t,e){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=t,this.attributes={},this.children=e||[]}var e=t.prototype;return e.setAttribute=function(t,e){this.attributes[t]=e},e.getAttribute=function(t){return this.attributes[t]},e.toNode=function(){var t=document.createElementNS(\"http://www.w3.org/1998/Math/MathML\",this.type);for(var e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&t.setAttribute(e,this.attributes[e]);for(var r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t},e.toMarkup=function(){var t=\"<\"+this.type;for(var e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&(t+=\" \"+e+'=\"',t+=c.escape(this.attributes[e]),t+='\"');t+=\">\";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+=\"</\"+this.type+\">\"},e.toText=function(){return this.children.map(function(t){return t.toText()}).join(\"\")},t}(),de=function(){function t(t){this.text=void 0,this.text=t}var e=t.prototype;return e.toNode=function(){return document.createTextNode(this.text)},e.toMarkup=function(){return c.escape(this.toText())},e.toText=function(){return this.text},t}(),pe={MathNode:ue,TextNode:de,SpaceNode:function(){function t(t){this.width=void 0,this.character=void 0,this.width=t,this.character=t>=.05555&&t<=.05556?\"\\u200a\":t>=.1666&&t<=.1667?\"\\u2009\":t>=.2222&&t<=.2223?\"\\u2005\":t>=.2777&&t<=.2778?\"\\u2005\\u200a\":t>=-.05556&&t<=-.05555?\"\\u200a\\u2063\":t>=-.1667&&t<=-.1666?\"\\u2009\\u2063\":t>=-.2223&&t<=-.2222?\"\\u205f\\u2063\":t>=-.2778&&t<=-.2777?\"\\u2005\\u2063\":null}var e=t.prototype;return e.toNode=function(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS(\"http://www.w3.org/1998/Math/MathML\",\"mspace\");return t.setAttribute(\"width\",this.width+\"em\"),t},e.toMarkup=function(){return this.character?\"<mtext>\"+this.character+\"</mtext>\":'<mspace width=\"'+this.width+'em\"/>'},e.toText=function(){return this.character?this.character:\" \"},t}(),newDocumentFragment:ce},fe=function(t,e,r){return!_[e][t]||!_[e][t].replace||55349===t.charCodeAt(0)||tt.hasOwnProperty(t)&&r&&(r.fontFamily&&\"tt\"===r.fontFamily.substr(4,2)||r.font&&\"tt\"===r.font.substr(4,2))||(t=_[e][t].replace),new pe.TextNode(t)},ge=function(t){return 1===t.length?t[0]:new pe.MathNode(\"mrow\",t)},xe=function(t,e){if(\"texttt\"===e.fontFamily)return\"monospace\";if(\"textsf\"===e.fontFamily)return\"textit\"===e.fontShape&&\"textbf\"===e.fontWeight?\"sans-serif-bold-italic\":\"textit\"===e.fontShape?\"sans-serif-italic\":\"textbf\"===e.fontWeight?\"bold-sans-serif\":\"sans-serif\";if(\"textit\"===e.fontShape&&\"textbf\"===e.fontWeight)return\"bold-italic\";if(\"textit\"===e.fontShape)return\"italic\";if(\"textbf\"===e.fontWeight)return\"bold\";var r=e.font;if(!r||\"mathnormal\"===r)return null;var a=t.mode;if(\"mathit\"===r)return\"italic\";if(\"boldsymbol\"===r)return\"bold-italic\";var n=t.text;return c.contains([\"\\\\imath\",\"\\\\jmath\"],n)?null:(_[a][n]&&_[a][n].replace&&(n=_[a][n].replace),V(n,Lt.fontMap[r].fontName,a)?Lt.fontMap[r].variant:null)},ve=function(t,e){for(var r,a=[],n=0;n<t.length;n++){var o=ye(t[n],e);if(o instanceof ue&&r instanceof ue){if(\"mtext\"===o.type&&\"mtext\"===r.type&&o.getAttribute(\"mathvariant\")===r.getAttribute(\"mathvariant\")){var i;(i=r.children).push.apply(i,o.children);continue}if(\"mn\"===o.type&&\"mn\"===r.type){var s;(s=r.children).push.apply(s,o.children);continue}if(\"mi\"===o.type&&1===o.children.length&&\"mn\"===r.type){var h=o.children[0];if(h instanceof de&&\".\"===h.text){var l;(l=r.children).push.apply(l,o.children);continue}}else if(\"mi\"===r.type&&1===r.children.length){var m=r.children[0];if(m instanceof de&&\"\\u0338\"===m.text&&(\"mo\"===o.type||\"mi\"===o.type||\"mn\"===o.type)){var c=o.children[0];c instanceof de&&c.text.length>0&&(c.text=c.text.slice(0,1)+\"\\u0338\"+c.text.slice(1),a.pop())}}}a.push(o),r=o}return a},be=function(t,e){return ge(ve(t,e))},ye=function(t,e){if(!t)return new pe.MathNode(\"mrow\");if(jt[t.type])return jt[t.type](t,e);throw new i(\"Got group of unknown type: '\"+t.type+\"'\")};var we=function(t){return new wt({style:t.displayMode?w.DISPLAY:w.TEXT,maxSize:t.maxSize})},ke=function(t,e){if(e.displayMode){var r=[\"katex-display\"];e.leqno&&r.push(\"leqno\"),e.fleqn&&r.push(\"fleqn\"),t=Lt.makeSpan(r,[t])}return t},Se=function(t,e,r){var a=we(r),n=function(t,e,r){var a,n=ve(t,r);a=1===n.length&&n[0]instanceof ue&&c.contains([\"mrow\",\"mtable\"],n[0].type)?n[0]:new pe.MathNode(\"mrow\",n);var o=new pe.MathNode(\"annotation\",[new pe.TextNode(e)]);o.setAttribute(\"encoding\",\"application/x-tex\");var i=new pe.MathNode(\"semantics\",[a,o]),s=new pe.MathNode(\"math\",[i]);return Lt.makeSpan([\"katex-mathml\"],[s])}(t,e,a),o=me(t,a),i=Lt.makeSpan([\"katex\"],[n,o]);return ke(i,r)},ze={widehat:\"^\",widecheck:\"\\u02c7\",widetilde:\"~\",utilde:\"~\",overleftarrow:\"\\u2190\",underleftarrow:\"\\u2190\",xleftarrow:\"\\u2190\",overrightarrow:\"\\u2192\",underrightarrow:\"\\u2192\",xrightarrow:\"\\u2192\",underbrace:\"\\u23df\",overbrace:\"\\u23de\",overgroup:\"\\u23e0\",undergroup:\"\\u23e1\",overleftrightarrow:\"\\u2194\",underleftrightarrow:\"\\u2194\",xleftrightarrow:\"\\u2194\",Overrightarrow:\"\\u21d2\",xRightarrow:\"\\u21d2\",overleftharpoon:\"\\u21bc\",xleftharpoonup:\"\\u21bc\",overrightharpoon:\"\\u21c0\",xrightharpoonup:\"\\u21c0\",xLeftarrow:\"\\u21d0\",xLeftrightarrow:\"\\u21d4\",xhookleftarrow:\"\\u21a9\",xhookrightarrow:\"\\u21aa\",xmapsto:\"\\u21a6\",xrightharpoondown:\"\\u21c1\",xleftharpoondown:\"\\u21bd\",xrightleftharpoons:\"\\u21cc\",xleftrightharpoons:\"\\u21cb\",xtwoheadleftarrow:\"\\u219e\",xtwoheadrightarrow:\"\\u21a0\",xlongequal:\"=\",xtofrom:\"\\u21c4\",xrightleftarrows:\"\\u21c4\",xrightequilibrium:\"\\u21cc\",xleftequilibrium:\"\\u21cb\"},Me={overrightarrow:[[\"rightarrow\"],.888,522,\"xMaxYMin\"],overleftarrow:[[\"leftarrow\"],.888,522,\"xMinYMin\"],underrightarrow:[[\"rightarrow\"],.888,522,\"xMaxYMin\"],underleftarrow:[[\"leftarrow\"],.888,522,\"xMinYMin\"],xrightarrow:[[\"rightarrow\"],1.469,522,\"xMaxYMin\"],xleftarrow:[[\"leftarrow\"],1.469,522,\"xMinYMin\"],Overrightarrow:[[\"doublerightarrow\"],.888,560,\"xMaxYMin\"],xRightarrow:[[\"doublerightarrow\"],1.526,560,\"xMaxYMin\"],xLeftarrow:[[\"doubleleftarrow\"],1.526,560,\"xMinYMin\"],overleftharpoon:[[\"leftharpoon\"],.888,522,\"xMinYMin\"],xleftharpoonup:[[\"leftharpoon\"],.888,522,\"xMinYMin\"],xleftharpoondown:[[\"leftharpoondown\"],.888,522,\"xMinYMin\"],overrightharpoon:[[\"rightharpoon\"],.888,522,\"xMaxYMin\"],xrightharpoonup:[[\"rightharpoon\"],.888,522,\"xMaxYMin\"],xrightharpoondown:[[\"rightharpoondown\"],.888,522,\"xMaxYMin\"],xlongequal:[[\"longequal\"],.888,334,\"xMinYMin\"],xtwoheadleftarrow:[[\"twoheadleftarrow\"],.888,334,\"xMinYMin\"],xtwoheadrightarrow:[[\"twoheadrightarrow\"],.888,334,\"xMaxYMin\"],overleftrightarrow:[[\"leftarrow\",\"rightarrow\"],.888,522],overbrace:[[\"leftbrace\",\"midbrace\",\"rightbrace\"],1.6,548],underbrace:[[\"leftbraceunder\",\"midbraceunder\",\"rightbraceunder\"],1.6,548],underleftrightarrow:[[\"leftarrow\",\"rightarrow\"],.888,522],xleftrightarrow:[[\"leftarrow\",\"rightarrow\"],1.75,522],xLeftrightarrow:[[\"doubleleftarrow\",\"doublerightarrow\"],1.75,560],xrightleftharpoons:[[\"leftharpoondownplus\",\"rightharpoonplus\"],1.75,716],xleftrightharpoons:[[\"leftharpoonplus\",\"rightharpoondownplus\"],1.75,716],xhookleftarrow:[[\"leftarrow\",\"righthook\"],1.08,522],xhookrightarrow:[[\"lefthook\",\"rightarrow\"],1.08,522],overlinesegment:[[\"leftlinesegment\",\"rightlinesegment\"],.888,522],underlinesegment:[[\"leftlinesegment\",\"rightlinesegment\"],.888,522],overgroup:[[\"leftgroup\",\"rightgroup\"],.888,342],undergroup:[[\"leftgroupunder\",\"rightgroupunder\"],.888,342],xmapsto:[[\"leftmapsto\",\"rightarrow\"],1.5,522],xtofrom:[[\"leftToFrom\",\"rightToFrom\"],1.75,528],xrightleftarrows:[[\"baraboveleftarrow\",\"rightarrowabovebar\"],1.75,901],xrightequilibrium:[[\"baraboveshortleftharpoon\",\"rightharpoonaboveshortbar\"],1.75,716],xleftequilibrium:[[\"shortbaraboveleftharpoon\",\"shortrightharpoonabovebar\"],1.75,716]},Te=function(t){return\"ordgroup\"===t.type?t.body.length:1},Ae=function(t,e,r,a){var n,o=t.height+t.depth+2*r;if(/fbox|color/.test(e)){if(n=Lt.makeSpan([\"stretchy\",e],[],a),\"fbox\"===e){var i=a.color&&a.getColor();i&&(n.style.borderColor=i)}}else{var s=[];/^[bx]cancel$/.test(e)&&s.push(new H({x1:\"0\",y1:\"0\",x2:\"100%\",y2:\"100%\",\"stroke-width\":\"0.046em\"})),/^x?cancel$/.test(e)&&s.push(new H({x1:\"0\",y1:\"100%\",x2:\"100%\",y2:\"0\",\"stroke-width\":\"0.046em\"}));var h=new R(s,{width:\"100%\",height:o+\"em\"});n=Lt.makeSvgSpan([],[h],a)}return n.height=o,n.style.height=o+\"em\",n},Be=function(t){var e=new pe.MathNode(\"mo\",[new pe.TextNode(ze[t.substr(1)])]);return e.setAttribute(\"stretchy\",\"true\"),e},qe=function(t,e){var r=function(){var r=4e5,a=t.label.substr(1);if(c.contains([\"widehat\",\"widecheck\",\"widetilde\",\"utilde\"],a)){var n,o,i,s=Te(t.base);if(s>5)\"widehat\"===a||\"widecheck\"===a?(n=420,r=2364,i=.42,o=a+\"4\"):(n=312,r=2340,i=.34,o=\"tilde4\");else{var h=[1,1,2,2,3,3][s];\"widehat\"===a||\"widecheck\"===a?(r=[0,1062,2364,2364,2364][h],n=[0,239,300,360,420][h],i=[0,.24,.3,.3,.36,.42][h],o=a+h):(r=[0,600,1033,2339,2340][h],n=[0,260,286,306,312][h],i=[0,.26,.286,.3,.306,.34][h],o=\"tilde\"+h)}var l=new L(o),m=new R([l],{width:\"100%\",height:i+\"em\",viewBox:\"0 0 \"+r+\" \"+n,preserveAspectRatio:\"none\"});return{span:Lt.makeSvgSpan([],[m],e),minWidth:0,height:i}}var u,d,p=[],f=Me[a],g=f[0],x=f[1],v=f[2],b=v/1e3,y=g.length;if(1===y)u=[\"hide-tail\"],d=[f[3]];else if(2===y)u=[\"halfarrow-left\",\"halfarrow-right\"],d=[\"xMinYMin\",\"xMaxYMin\"];else{if(3!==y)throw new Error(\"Correct katexImagesData or update code here to support\\n \"+y+\" children.\");u=[\"brace-left\",\"brace-center\",\"brace-right\"],d=[\"xMinYMin\",\"xMidYMin\",\"xMaxYMin\"]}for(var w=0;w<y;w++){var k=new L(g[w]),S=new R([k],{width:\"400em\",height:b+\"em\",viewBox:\"0 0 \"+r+\" \"+v,preserveAspectRatio:d[w]+\" slice\"}),z=Lt.makeSvgSpan([u[w]],[S],e);if(1===y)return{span:z,minWidth:x,height:b};z.style.height=b+\"em\",p.push(z)}return{span:Lt.makeSpan([\"stretchy\"],p,e),minWidth:x,height:b}}(),a=r.span,n=r.minWidth,o=r.height;return a.height=o,a.style.height=o+\"em\",n>0&&(a.style.minWidth=n+\"em\"),a},Ce=function(t,e){var r,a,n,o=Pt(t,\"supsub\");o?(r=(a=Ht(o.base,\"accent\")).base,o.base=r,n=function(t){if(t instanceof N)return t;throw new Error(\"Expected span<HtmlDomNode> but got \"+String(t)+\".\")}(he(o,e)),o.base=a):r=(a=Ht(t,\"accent\")).base;var i=he(r,e.havingCrampedStyle()),s=0;if(a.isShifty&&c.isCharacterBox(r)){var h=c.getBaseElem(r);s=function(t){if(t instanceof E)return t;throw new Error(\"Expected symbolNode but got \"+String(t)+\".\")}(he(h,e.havingCrampedStyle())).skew}var l,m=Math.min(i.height,e.fontMetrics().xHeight);if(a.isStretchy)l=qe(a,e),l=Lt.makeVList({positionType:\"firstBaseline\",children:[{type:\"elem\",elem:i},{type:\"elem\",elem:l,wrapperClasses:[\"svg-align\"],wrapperStyle:s>0?{width:\"calc(100% - \"+2*s+\"em)\",marginLeft:2*s+\"em\"}:void 0}]},e);else{var u,d;\"\\\\vec\"===a.label?(u=Lt.staticSvg(\"vec\",e),d=Lt.svgData.vec[1]):((u=Lt.makeSymbol(a.label,\"Main-Regular\",a.mode,e)).italic=0,d=u.width),l=Lt.makeSpan([\"accent-body\"],[u]);var p=\"\\\\textcircled\"===a.label;p&&(l.classes.push(\"accent-full\"),m=i.height);var f=s;p||(f-=d/2),l.style.left=f+\"em\",\"\\\\textcircled\"===a.label&&(l.style.top=\".2em\"),l=Lt.makeVList({positionType:\"firstBaseline\",children:[{type:\"elem\",elem:i},{type:\"kern\",size:-m},{type:\"elem\",elem:l}]},e)}var g=Lt.makeSpan([\"mord\",\"accent\"],[l],e);return n?(n.children[0]=g,n.height=Math.max(g.height,n.height),n.classes[0]=\"mord\",n):g},Ne=function(t,e){var r=t.isStretchy?Be(t.label):new pe.MathNode(\"mo\",[fe(t.label,t.mode)]),a=new pe.MathNode(\"mover\",[ye(t.base,e),r]);return a.setAttribute(\"accent\",\"true\"),a},Ie=new RegExp([\"\\\\acute\",\"\\\\grave\",\"\\\\ddot\",\"\\\\tilde\",\"\\\\bar\",\"\\\\breve\",\"\\\\check\",\"\\\\hat\",\"\\\\vec\",\"\\\\dot\",\"\\\\mathring\"].map(function(t){return\"\\\\\"+t}).join(\"|\"));$t({type:\"accent\",names:[\"\\\\acute\",\"\\\\grave\",\"\\\\ddot\",\"\\\\tilde\",\"\\\\bar\",\"\\\\breve\",\"\\\\check\",\"\\\\hat\",\"\\\\vec\",\"\\\\dot\",\"\\\\mathring\",\"\\\\widecheck\",\"\\\\widehat\",\"\\\\widetilde\",\"\\\\overrightarrow\",\"\\\\overleftarrow\",\"\\\\Overrightarrow\",\"\\\\overleftrightarrow\",\"\\\\overgroup\",\"\\\\overlinesegment\",\"\\\\overleftharpoon\",\"\\\\overrightharpoon\"],props:{numArgs:1},handler:function(t,e){var r=e[0],a=!Ie.test(t.funcName),n=!a||\"\\\\widehat\"===t.funcName||\"\\\\widetilde\"===t.funcName||\"\\\\widecheck\"===t.funcName;return{type:\"accent\",mode:t.parser.mode,label:t.funcName,isStretchy:a,isShifty:n,base:r}},htmlBuilder:Ce,mathmlBuilder:Ne}),$t({type:\"accent\",names:[\"\\\\'\",\"\\\\`\",\"\\\\^\",\"\\\\~\",\"\\\\=\",\"\\\\u\",\"\\\\.\",'\\\\\"',\"\\\\r\",\"\\\\H\",\"\\\\v\",\"\\\\textcircled\"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(t,e){var r=e[0];return{type:\"accent\",mode:t.parser.mode,label:t.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:Ce,mathmlBuilder:Ne}),$t({type:\"accentUnder\",names:[\"\\\\underleftarrow\",\"\\\\underrightarrow\",\"\\\\underleftrightarrow\",\"\\\\undergroup\",\"\\\\underlinesegment\",\"\\\\utilde\"],props:{numArgs:1},handler:function(t,e){var r=t.parser,a=t.funcName,n=e[0];return{type:\"accentUnder\",mode:r.mode,label:a,base:n}},htmlBuilder:function(t,e){var r=he(t.base,e),a=qe(t,e),n=\"\\\\utilde\"===t.label?.12:0,o=Lt.makeVList({positionType:\"bottom\",positionData:a.height+n,children:[{type:\"elem\",elem:a,wrapperClasses:[\"svg-align\"]},{type:\"kern\",size:n},{type:\"elem\",elem:r}]},e);return Lt.makeSpan([\"mord\",\"accentunder\"],[o],e)},mathmlBuilder:function(t,e){var r=Be(t.label),a=new pe.MathNode(\"munder\",[ye(t.base,e),r]);return a.setAttribute(\"accentunder\",\"true\"),a}});var Oe=function(t){var e=new pe.MathNode(\"mpadded\",t?[t]:[]);return e.setAttribute(\"width\",\"+0.6em\"),e.setAttribute(\"lspace\",\"0.3em\"),e};$t({type:\"xArrow\",names:[\"\\\\xleftarrow\",\"\\\\xrightarrow\",\"\\\\xLeftarrow\",\"\\\\xRightarrow\",\"\\\\xleftrightarrow\",\"\\\\xLeftrightarrow\",\"\\\\xhookleftarrow\",\"\\\\xhookrightarrow\",\"\\\\xmapsto\",\"\\\\xrightharpoondown\",\"\\\\xrightharpoonup\",\"\\\\xleftharpoondown\",\"\\\\xleftharpoonup\",\"\\\\xrightleftharpoons\",\"\\\\xleftrightharpoons\",\"\\\\xlongequal\",\"\\\\xtwoheadrightarrow\",\"\\\\xtwoheadleftarrow\",\"\\\\xtofrom\",\"\\\\xrightleftarrows\",\"\\\\xrightequilibrium\",\"\\\\xleftequilibrium\"],props:{numArgs:1,numOptionalArgs:1},handler:function(t,e,r){var a=t.parser,n=t.funcName;return{type:\"xArrow\",mode:a.mode,label:n,body:e[0],below:r[0]}},htmlBuilder:function(t,e){var r,a=e.style,n=e.havingStyle(a.sup()),o=Lt.wrapFragment(he(t.body,n,e),e);o.classes.push(\"x-arrow-pad\"),t.below&&(n=e.havingStyle(a.sub()),(r=Lt.wrapFragment(he(t.below,n,e),e)).classes.push(\"x-arrow-pad\"));var i,s=qe(t,e),h=-e.fontMetrics().axisHeight+.5*s.height,l=-e.fontMetrics().axisHeight-.5*s.height-.111;if((o.depth>.25||\"\\\\xleftequilibrium\"===t.label)&&(l-=o.depth),r){var m=-e.fontMetrics().axisHeight+r.height+.5*s.height+.111;i=Lt.makeVList({positionType:\"individualShift\",children:[{type:\"elem\",elem:o,shift:l},{type:\"elem\",elem:s,shift:h},{type:\"elem\",elem:r,shift:m}]},e)}else i=Lt.makeVList({positionType:\"individualShift\",children:[{type:\"elem\",elem:o,shift:l},{type:\"elem\",elem:s,shift:h}]},e);return i.children[0].children[0].children[1].classes.push(\"svg-align\"),Lt.makeSpan([\"mrel\",\"x-arrow\"],[i],e)},mathmlBuilder:function(t,e){var r,a=Be(t.label);if(t.body){var n=Oe(ye(t.body,e));if(t.below){var o=Oe(ye(t.below,e));r=new pe.MathNode(\"munderover\",[a,o,n])}else r=new pe.MathNode(\"mover\",[a,n])}else if(t.below){var i=Oe(ye(t.below,e));r=new pe.MathNode(\"munder\",[a,i])}else r=Oe(),r=new pe.MathNode(\"mover\",[a,r]);return r}}),$t({type:\"textord\",names:[\"\\\\@char\"],props:{numArgs:1,allowedInText:!0},handler:function(t,e){for(var r=t.parser,a=Ht(e[0],\"ordgroup\").body,n=\"\",o=0;o<a.length;o++){n+=Ht(a[o],\"textord\").text}var s=parseInt(n);if(isNaN(s))throw new i(\"\\\\@char has non-numeric argument \"+n);return{type:\"textord\",mode:r.mode,text:String.fromCharCode(s)}}});var Ee=function(t,e){var r=ae(t.body,e.withColor(t.color),!1);return Lt.makeFragment(r)},Re=function(t,e){var r=ve(t.body,e.withColor(t.color)),a=new pe.MathNode(\"mstyle\",r);return a.setAttribute(\"mathcolor\",t.color),a};$t({type:\"color\",names:[\"\\\\textcolor\"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:[\"color\",\"original\"]},handler:function(t,e){var r=t.parser,a=Ht(e[0],\"color-token\").color,n=e[1];return{type:\"color\",mode:r.mode,color:a,body:Kt(n)}},htmlBuilder:Ee,mathmlBuilder:Re}),$t({type:\"color\",names:[\"\\\\color\"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:[\"color\"]},handler:function(t,e){var r=t.parser,a=t.breakOnTokenText,n=Ht(e[0],\"color-token\").color,o=r.parseExpression(!0,a);return{type:\"color\",mode:r.mode,color:n,body:o}},htmlBuilder:Ee,mathmlBuilder:Re}),$t({type:\"cr\",names:[\"\\\\cr\",\"\\\\newline\"],props:{numArgs:0,numOptionalArgs:1,argTypes:[\"size\"],allowedInText:!0},handler:function(t,e,r){var a=t.parser,n=t.funcName,o=r[0],i=\"\\\\cr\"===n,s=!1;return i||(s=!a.settings.displayMode||!a.settings.useStrictBehavior(\"newLineInDisplayMode\",\"In LaTeX, \\\\\\\\ or \\\\newline does nothing in display mode\")),{type:\"cr\",mode:a.mode,newLine:s,newRow:i,size:o&&Ht(o,\"size\").value}},htmlBuilder:function(t,e){if(t.newRow)throw new i(\"\\\\cr valid only within a tabular/array environment\");var r=Lt.makeSpan([\"mspace\"],[],e);return t.newLine&&(r.classes.push(\"newline\"),t.size&&(r.style.marginTop=zt(t.size,e)+\"em\")),r},mathmlBuilder:function(t,e){var r=new pe.MathNode(\"mspace\");return t.newLine&&(r.setAttribute(\"linebreak\",\"newline\"),t.size&&r.setAttribute(\"height\",zt(t.size,e)+\"em\")),r}});var Le=function(t,e,r){var a=V(_.math[t]&&_.math[t].replace||t,e,r);if(!a)throw new Error(\"Unsupported symbol \"+t+\" and font size \"+e+\".\");return a},He=function(t,e,r,a){var n=r.havingBaseStyle(e),o=Lt.makeSpan(a.concat(n.sizingClasses(r)),[t],r),i=n.sizeMultiplier/r.sizeMultiplier;return o.height*=i,o.depth*=i,o.maxFontSize=n.sizeMultiplier,o},Pe=function(t,e,r){var a=e.havingBaseStyle(r),n=(1-e.sizeMultiplier/a.sizeMultiplier)*e.fontMetrics().axisHeight;t.classes.push(\"delimcenter\"),t.style.top=n+\"em\",t.height-=n,t.depth+=n},De=function(t,e,r,a,n,o){var i=function(t,e,r,a){return Lt.makeSymbol(t,\"Size\"+e+\"-Regular\",r,a)}(t,e,n,a),s=He(Lt.makeSpan([\"delimsizing\",\"size\"+e],[i],a),w.TEXT,a,o);return r&&Pe(s,a,w.TEXT),s},Fe=function(t,e,r){var a;return a=\"Size1-Regular\"===e?\"delim-size1\":\"delim-size4\",{type:\"elem\",elem:Lt.makeSpan([\"delimsizinginner\",a],[Lt.makeSpan([],[Lt.makeSymbol(t,e,r)])])}},Ve=function(t,e,r,a,n,o){var i,s,h,l;i=h=l=t,s=null;var m=\"Size1-Regular\";\"\\\\uparrow\"===t?h=l=\"\\u23d0\":\"\\\\Uparrow\"===t?h=l=\"\\u2016\":\"\\\\downarrow\"===t?i=h=\"\\u23d0\":\"\\\\Downarrow\"===t?i=h=\"\\u2016\":\"\\\\updownarrow\"===t?(i=\"\\\\uparrow\",h=\"\\u23d0\",l=\"\\\\downarrow\"):\"\\\\Updownarrow\"===t?(i=\"\\\\Uparrow\",h=\"\\u2016\",l=\"\\\\Downarrow\"):\"[\"===t||\"\\\\lbrack\"===t?(i=\"\\u23a1\",h=\"\\u23a2\",l=\"\\u23a3\",m=\"Size4-Regular\"):\"]\"===t||\"\\\\rbrack\"===t?(i=\"\\u23a4\",h=\"\\u23a5\",l=\"\\u23a6\",m=\"Size4-Regular\"):\"\\\\lfloor\"===t||\"\\u230a\"===t?(h=i=\"\\u23a2\",l=\"\\u23a3\",m=\"Size4-Regular\"):\"\\\\lceil\"===t||\"\\u2308\"===t?(i=\"\\u23a1\",h=l=\"\\u23a2\",m=\"Size4-Regular\"):\"\\\\rfloor\"===t||\"\\u230b\"===t?(h=i=\"\\u23a5\",l=\"\\u23a6\",m=\"Size4-Regular\"):\"\\\\rceil\"===t||\"\\u2309\"===t?(i=\"\\u23a4\",h=l=\"\\u23a5\",m=\"Size4-Regular\"):\"(\"===t||\"\\\\lparen\"===t?(i=\"\\u239b\",h=\"\\u239c\",l=\"\\u239d\",m=\"Size4-Regular\"):\")\"===t||\"\\\\rparen\"===t?(i=\"\\u239e\",h=\"\\u239f\",l=\"\\u23a0\",m=\"Size4-Regular\"):\"\\\\{\"===t||\"\\\\lbrace\"===t?(i=\"\\u23a7\",s=\"\\u23a8\",l=\"\\u23a9\",h=\"\\u23aa\",m=\"Size4-Regular\"):\"\\\\}\"===t||\"\\\\rbrace\"===t?(i=\"\\u23ab\",s=\"\\u23ac\",l=\"\\u23ad\",h=\"\\u23aa\",m=\"Size4-Regular\"):\"\\\\lgroup\"===t||\"\\u27ee\"===t?(i=\"\\u23a7\",l=\"\\u23a9\",h=\"\\u23aa\",m=\"Size4-Regular\"):\"\\\\rgroup\"===t||\"\\u27ef\"===t?(i=\"\\u23ab\",l=\"\\u23ad\",h=\"\\u23aa\",m=\"Size4-Regular\"):\"\\\\lmoustache\"===t||\"\\u23b0\"===t?(i=\"\\u23a7\",l=\"\\u23ad\",h=\"\\u23aa\",m=\"Size4-Regular\"):\"\\\\rmoustache\"!==t&&\"\\u23b1\"!==t||(i=\"\\u23ab\",l=\"\\u23a9\",h=\"\\u23aa\",m=\"Size4-Regular\");var c=Le(i,m,n),u=c.height+c.depth,d=Le(h,m,n),p=d.height+d.depth,f=Le(l,m,n),g=f.height+f.depth,x=0,v=1;if(null!==s){var b=Le(s,m,n);x=b.height+b.depth,v=2}var y=u+g+x,k=Math.ceil((e-y)/(v*p)),S=y+k*v*p,z=a.fontMetrics().axisHeight;r&&(z*=a.sizeMultiplier);var M=S/2-z,T=[];if(T.push(Fe(l,m,n)),null===s)for(var A=0;A<k;A++)T.push(Fe(h,m,n));else{for(var B=0;B<k;B++)T.push(Fe(h,m,n));T.push(Fe(s,m,n));for(var q=0;q<k;q++)T.push(Fe(h,m,n))}T.push(Fe(i,m,n));var C=a.havingBaseStyle(w.TEXT),N=Lt.makeVList({positionType:\"bottom\",positionData:M,children:T},C);return He(Lt.makeSpan([\"delimsizing\",\"mult\"],[N],C),w.TEXT,a,o)},Ue=function(t,e,r,a){var n;\"sqrtTall\"===t&&(n=\"M702 80H400000v40H742v\"+(r-54-80)+\"l-4 4-4 4c-.667.7\\n-2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1h-12l-28-84c-16.667-52-96.667\\n-294.333-240-727l-212 -643 -85 170c-4-3.333-8.333-7.667-13 -13l-13-13l77-155\\n 77-156c66 199.333 139 419.667 219 661 l218 661zM702 80H400000v40H742z\");var o=new L(t,n),i=new R([o],{width:\"400em\",height:e+\"em\",viewBox:\"0 0 400000 \"+r,preserveAspectRatio:\"xMinYMin slice\"});return Lt.makeSvgSpan([\"hide-tail\"],[i],a)},Ge=[\"(\",\"\\\\lparen\",\")\",\"\\\\rparen\",\"[\",\"\\\\lbrack\",\"]\",\"\\\\rbrack\",\"\\\\{\",\"\\\\lbrace\",\"\\\\}\",\"\\\\rbrace\",\"\\\\lfloor\",\"\\\\rfloor\",\"\\u230a\",\"\\u230b\",\"\\\\lceil\",\"\\\\rceil\",\"\\u2308\",\"\\u2309\",\"\\\\surd\"],Xe=[\"\\\\uparrow\",\"\\\\downarrow\",\"\\\\updownarrow\",\"\\\\Uparrow\",\"\\\\Downarrow\",\"\\\\Updownarrow\",\"|\",\"\\\\|\",\"\\\\vert\",\"\\\\Vert\",\"\\\\lvert\",\"\\\\rvert\",\"\\\\lVert\",\"\\\\rVert\",\"\\\\lgroup\",\"\\\\rgroup\",\"\\u27ee\",\"\\u27ef\",\"\\\\lmoustache\",\"\\\\rmoustache\",\"\\u23b0\",\"\\u23b1\"],Ye=[\"<\",\">\",\"\\\\langle\",\"\\\\rangle\",\"/\",\"\\\\backslash\",\"\\\\lt\",\"\\\\gt\"],_e=[0,1.2,1.8,2.4,3],We=[{type:\"small\",style:w.SCRIPTSCRIPT},{type:\"small\",style:w.SCRIPT},{type:\"small\",style:w.TEXT},{type:\"large\",size:1},{type:\"large\",size:2},{type:\"large\",size:3},{type:\"large\",size:4}],je=[{type:\"small\",style:w.SCRIPTSCRIPT},{type:\"small\",style:w.SCRIPT},{type:\"small\",style:w.TEXT},{type:\"stack\"}],$e=[{type:\"small\",style:w.SCRIPTSCRIPT},{type:\"small\",style:w.SCRIPT},{type:\"small\",style:w.TEXT},{type:\"large\",size:1},{type:\"large\",size:2},{type:\"large\",size:3},{type:\"large\",size:4},{type:\"stack\"}],Ze=function(t){if(\"small\"===t.type)return\"Main-Regular\";if(\"large\"===t.type)return\"Size\"+t.size+\"-Regular\";if(\"stack\"===t.type)return\"Size4-Regular\";throw new Error(\"Add support for delim type '\"+t.type+\"' here.\")},Ke=function(t,e,r,a){for(var n=Math.min(2,3-a.style.size);n<r.length&&\"stack\"!==r[n].type;n++){var o=Le(t,Ze(r[n]),\"math\"),i=o.height+o.depth;if(\"small\"===r[n].type&&(i*=a.havingBaseStyle(r[n].style).sizeMultiplier),i>e)return r[n]}return r[r.length-1]},Je=function(t,e,r,a,n,o){var i;\"<\"===t||\"\\\\lt\"===t||\"\\u27e8\"===t?t=\"\\\\langle\":\">\"!==t&&\"\\\\gt\"!==t&&\"\\u27e9\"!==t||(t=\"\\\\rangle\"),i=c.contains(Ye,t)?We:c.contains(Ge,t)?$e:je;var s=Ke(t,e,i,a);return\"small\"===s.type?function(t,e,r,a,n,o){var i=Lt.makeSymbol(t,\"Main-Regular\",n,a),s=He(i,e,a,o);return r&&Pe(s,a,e),s}(t,s.style,r,a,n,o):\"large\"===s.type?De(t,s.size,r,a,n,o):Ve(t,e,r,a,n,o)},Qe=function(t,e){var r,a,n=e.havingBaseSizing(),o=Ke(\"\\\\surd\",t*n.sizeMultiplier,$e,n),i=n.sizeMultiplier,s=0,h=0,l=0;return\"small\"===o.type?(t<1?i=1:t<1.4&&(i=.7),h=1/i,(r=Ue(\"sqrtMain\",s=1.08/i,l=1080,e)).style.minWidth=\"0.853em\",a=.833/i):\"large\"===o.type?(l=1080*_e[o.size],h=_e[o.size]/i,s=(_e[o.size]+.08)/i,(r=Ue(\"sqrtSize\"+o.size,s,l,e)).style.minWidth=\"1.02em\",a=1/i):(s=t+.08,h=t,l=Math.floor(1e3*t)+80,(r=Ue(\"sqrtTall\",s,l,e)).style.minWidth=\"0.742em\",a=1.056),r.height=h,r.style.height=s+\"em\",{span:r,advanceWidth:a,ruleWidth:e.fontMetrics().sqrtRuleThickness*i}},tr=function(t,e,r,a,n){if(\"<\"===t||\"\\\\lt\"===t||\"\\u27e8\"===t?t=\"\\\\langle\":\">\"!==t&&\"\\\\gt\"!==t&&\"\\u27e9\"!==t||(t=\"\\\\rangle\"),c.contains(Ge,t)||c.contains(Ye,t))return De(t,e,!1,r,a,n);if(c.contains(Xe,t))return Ve(t,_e[e],!1,r,a,n);throw new i(\"Illegal delimiter: '\"+t+\"'\")},er=Je,rr=function(t,e,r,a,n,o){var i=a.fontMetrics().axisHeight*a.sizeMultiplier,s=5/a.fontMetrics().ptPerEm,h=Math.max(e-i,r+i),l=Math.max(h/500*901,2*h-s);return Je(t,l,!0,a,n,o)},ar={\"\\\\bigl\":{mclass:\"mopen\",size:1},\"\\\\Bigl\":{mclass:\"mopen\",size:2},\"\\\\biggl\":{mclass:\"mopen\",size:3},\"\\\\Biggl\":{mclass:\"mopen\",size:4},\"\\\\bigr\":{mclass:\"mclose\",size:1},\"\\\\Bigr\":{mclass:\"mclose\",size:2},\"\\\\biggr\":{mclass:\"mclose\",size:3},\"\\\\Biggr\":{mclass:\"mclose\",size:4},\"\\\\bigm\":{mclass:\"mrel\",size:1},\"\\\\Bigm\":{mclass:\"mrel\",size:2},\"\\\\biggm\":{mclass:\"mrel\",size:3},\"\\\\Biggm\":{mclass:\"mrel\",size:4},\"\\\\big\":{mclass:\"mord\",size:1},\"\\\\Big\":{mclass:\"mord\",size:2},\"\\\\bigg\":{mclass:\"mord\",size:3},\"\\\\Bigg\":{mclass:\"mord\",size:4}},nr=[\"(\",\"\\\\lparen\",\")\",\"\\\\rparen\",\"[\",\"\\\\lbrack\",\"]\",\"\\\\rbrack\",\"\\\\{\",\"\\\\lbrace\",\"\\\\}\",\"\\\\rbrace\",\"\\\\lfloor\",\"\\\\rfloor\",\"\\u230a\",\"\\u230b\",\"\\\\lceil\",\"\\\\rceil\",\"\\u2308\",\"\\u2309\",\"<\",\">\",\"\\\\langle\",\"\\u27e8\",\"\\\\rangle\",\"\\u27e9\",\"\\\\lt\",\"\\\\gt\",\"\\\\lvert\",\"\\\\rvert\",\"\\\\lVert\",\"\\\\rVert\",\"\\\\lgroup\",\"\\\\rgroup\",\"\\u27ee\",\"\\u27ef\",\"\\\\lmoustache\",\"\\\\rmoustache\",\"\\u23b0\",\"\\u23b1\",\"/\",\"\\\\backslash\",\"|\",\"\\\\vert\",\"\\\\|\",\"\\\\Vert\",\"\\\\uparrow\",\"\\\\Uparrow\",\"\\\\downarrow\",\"\\\\Downarrow\",\"\\\\updownarrow\",\"\\\\Updownarrow\",\".\"];function or(t,e){var r=Ft(t);if(r&&c.contains(nr,r.text))return r;throw new i(\"Invalid delimiter: '\"+(r?r.text:JSON.stringify(t))+\"' after '\"+e.funcName+\"'\",t)}function ir(t){if(!t.body)throw new Error(\"Bug: The leftright ParseNode wasn't fully parsed.\")}$t({type:\"delimsizing\",names:[\"\\\\bigl\",\"\\\\Bigl\",\"\\\\biggl\",\"\\\\Biggl\",\"\\\\bigr\",\"\\\\Bigr\",\"\\\\biggr\",\"\\\\Biggr\",\"\\\\bigm\",\"\\\\Bigm\",\"\\\\biggm\",\"\\\\Biggm\",\"\\\\big\",\"\\\\Big\",\"\\\\bigg\",\"\\\\Bigg\"],props:{numArgs:1},handler:function(t,e){var r=or(e[0],t);return{type:\"delimsizing\",mode:t.parser.mode,size:ar[t.funcName].size,mclass:ar[t.funcName].mclass,delim:r.text}},htmlBuilder:function(t,e){return\".\"===t.delim?Lt.makeSpan([t.mclass]):tr(t.delim,t.size,e,t.mode,[t.mclass])},mathmlBuilder:function(t){var e=[];\".\"!==t.delim&&e.push(fe(t.delim,t.mode));var r=new pe.MathNode(\"mo\",e);return\"mopen\"===t.mclass||\"mclose\"===t.mclass?r.setAttribute(\"fence\",\"true\"):r.setAttribute(\"fence\",\"false\"),r}}),$t({type:\"leftright-right\",names:[\"\\\\right\"],props:{numArgs:1},handler:function(t,e){return{type:\"leftright-right\",mode:t.parser.mode,delim:or(e[0],t).text}}}),$t({type:\"leftright\",names:[\"\\\\left\"],props:{numArgs:1},handler:function(t,e){var r=or(e[0],t),a=t.parser;++a.leftrightDepth;var n=a.parseExpression(!1);--a.leftrightDepth,a.expect(\"\\\\right\",!1);var o=Ht(a.parseFunction(),\"leftright-right\");return{type:\"leftright\",mode:a.mode,body:n,left:r.text,right:o.delim}},htmlBuilder:function(t,e){ir(t);for(var r,a,n=ae(t.body,e,!0,[\"mopen\",\"mclose\"]),o=0,i=0,s=!1,h=0;h<n.length;h++)n[h].isMiddle?s=!0:(o=Math.max(n[h].height,o),i=Math.max(n[h].depth,i));if(o*=e.sizeMultiplier,i*=e.sizeMultiplier,r=\".\"===t.left?se(e,[\"mopen\"]):rr(t.left,o,i,e,t.mode,[\"mopen\"]),n.unshift(r),s)for(var l=1;l<n.length;l++){var m=n[l].isMiddle;m&&(n[l]=rr(m.delim,o,i,m.options,t.mode,[]))}return a=\".\"===t.right?se(e,[\"mclose\"]):rr(t.right,o,i,e,t.mode,[\"mclose\"]),n.push(a),Lt.makeSpan([\"minner\"],n,e)},mathmlBuilder:function(t,e){ir(t);var r=ve(t.body,e);if(\".\"!==t.left){var a=new pe.MathNode(\"mo\",[fe(t.left,t.mode)]);a.setAttribute(\"fence\",\"true\"),r.unshift(a)}if(\".\"!==t.right){var n=new pe.MathNode(\"mo\",[fe(t.right,t.mode)]);n.setAttribute(\"fence\",\"true\"),r.push(n)}return ge(r)}}),$t({type:\"middle\",names:[\"\\\\middle\"],props:{numArgs:1},handler:function(t,e){var r=or(e[0],t);if(!t.parser.leftrightDepth)throw new i(\"\\\\middle without preceding \\\\left\",r);return{type:\"middle\",mode:t.parser.mode,delim:r.text}},htmlBuilder:function(t,e){var r;if(\".\"===t.delim)r=se(e,[]);else{r=tr(t.delim,1,e,t.mode,[]);var a={delim:t.delim,options:e};r.isMiddle=a}return r},mathmlBuilder:function(t,e){var r=\"\\\\vert\"===t.delim||\"|\"===t.delim?fe(\"|\",\"text\"):fe(t.delim,t.mode),a=new pe.MathNode(\"mo\",[r]);return a.setAttribute(\"fence\",\"true\"),a.setAttribute(\"lspace\",\"0.05em\"),a.setAttribute(\"rspace\",\"0.05em\"),a}});var sr=function(t,e){var r,a,n=Lt.wrapFragment(he(t.body,e),e),o=t.label.substr(1),i=e.sizeMultiplier,s=0,h=c.isCharacterBox(t.body);if(\"sout\"===o)(r=Lt.makeSpan([\"stretchy\",\"sout\"])).height=e.fontMetrics().defaultRuleThickness/i,s=-.5*e.fontMetrics().xHeight;else{/cancel/.test(o)?h||n.classes.push(\"cancel-pad\"):n.classes.push(\"boxpad\");var l=0;l=/box/.test(o)?\"colorbox\"===o?.3:.34:h?.2:0,r=Ae(n,o,l,e),s=n.depth+l,t.backgroundColor&&(r.style.backgroundColor=t.backgroundColor,t.borderColor&&(r.style.borderColor=t.borderColor))}return a=t.backgroundColor?Lt.makeVList({positionType:\"individualShift\",children:[{type:\"elem\",elem:r,shift:s},{type:\"elem\",elem:n,shift:0}]},e):Lt.makeVList({positionType:\"individualShift\",children:[{type:\"elem\",elem:n,shift:0},{type:\"elem\",elem:r,shift:s,wrapperClasses:/cancel/.test(o)?[\"svg-align\"]:[]}]},e),/cancel/.test(o)&&(a.height=n.height,a.depth=n.depth),/cancel/.test(o)&&!h?Lt.makeSpan([\"mord\",\"cancel-lap\"],[a],e):Lt.makeSpan([\"mord\"],[a],e)},hr=function(t,e){var r=new pe.MathNode(t.label.indexOf(\"colorbox\")>-1?\"mpadded\":\"menclose\",[ye(t.body,e)]);switch(t.label){case\"\\\\cancel\":r.setAttribute(\"notation\",\"updiagonalstrike\");break;case\"\\\\bcancel\":r.setAttribute(\"notation\",\"downdiagonalstrike\");break;case\"\\\\sout\":r.setAttribute(\"notation\",\"horizontalstrike\");break;case\"\\\\fbox\":r.setAttribute(\"notation\",\"box\");break;case\"\\\\fcolorbox\":case\"\\\\colorbox\":if(r.setAttribute(\"width\",\"+6pt\"),r.setAttribute(\"height\",\"+6pt\"),r.setAttribute(\"lspace\",\"3pt\"),r.setAttribute(\"voffset\",\"3pt\"),\"\\\\fcolorbox\"===t.label){var a=e.fontMetrics().defaultRuleThickness;r.setAttribute(\"style\",\"border: \"+a+\"em solid \"+String(t.borderColor))}break;case\"\\\\xcancel\":r.setAttribute(\"notation\",\"updiagonalstrike downdiagonalstrike\")}return t.backgroundColor&&r.setAttribute(\"mathbackground\",t.backgroundColor),r};$t({type:\"enclose\",names:[\"\\\\colorbox\"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:[\"color\",\"text\"]},handler:function(t,e,r){var a=t.parser,n=t.funcName,o=Ht(e[0],\"color-token\").color,i=e[1];return{type:\"enclose\",mode:a.mode,label:n,backgroundColor:o,body:i}},htmlBuilder:sr,mathmlBuilder:hr}),$t({type:\"enclose\",names:[\"\\\\fcolorbox\"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:[\"color\",\"color\",\"text\"]},handler:function(t,e,r){var a=t.parser,n=t.funcName,o=Ht(e[0],\"color-token\").color,i=Ht(e[1],\"color-token\").color,s=e[2];return{type:\"enclose\",mode:a.mode,label:n,backgroundColor:i,borderColor:o,body:s}},htmlBuilder:sr,mathmlBuilder:hr}),$t({type:\"enclose\",names:[\"\\\\fbox\"],props:{numArgs:1,argTypes:[\"text\"],allowedInText:!0},handler:function(t,e){return{type:\"enclose\",mode:t.parser.mode,label:\"\\\\fbox\",body:e[0]}}}),$t({type:\"enclose\",names:[\"\\\\cancel\",\"\\\\bcancel\",\"\\\\xcancel\",\"\\\\sout\"],props:{numArgs:1},handler:function(t,e,r){var a=t.parser,n=t.funcName,o=e[0];return{type:\"enclose\",mode:a.mode,label:n,body:o}},htmlBuilder:sr,mathmlBuilder:hr});var lr={};function mr(t){for(var e=t.type,r=t.names,a=t.props,n=t.handler,o=t.htmlBuilder,i=t.mathmlBuilder,s={type:e,numArgs:a.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:n},h=0;h<r.length;++h)lr[r[h]]=s;o&&(Wt[e]=o),i&&(jt[e]=i)}function cr(t){var e=[];t.consumeSpaces();for(var r=t.nextToken.text;\"\\\\hline\"===r||\"\\\\hdashline\"===r;)t.consume(),e.push(\"\\\\hdashline\"===r),t.consumeSpaces(),r=t.nextToken.text;return e}function ur(t,e,r){var a=e.hskipBeforeAndAfter,n=e.addJot,o=e.cols,s=e.arraystretch,h=e.colSeparationType;if(t.gullet.beginGroup(),t.gullet.macros.set(\"\\\\\\\\\",\"\\\\cr\"),!s){var l=t.gullet.expandMacroAsText(\"\\\\arraystretch\");if(null==l)s=1;else if(!(s=parseFloat(l))||s<0)throw new i(\"Invalid \\\\arraystretch: \"+l)}var m=[],c=[m],u=[],d=[];for(d.push(cr(t));;){var p=t.parseExpression(!1,\"\\\\cr\");p={type:\"ordgroup\",mode:t.mode,body:p},r&&(p={type:\"styling\",mode:t.mode,style:r,body:[p]}),m.push(p);var f=t.nextToken.text;if(\"&\"===f)t.consume();else{if(\"\\\\end\"===f){1===m.length&&\"styling\"===p.type&&0===p.body[0].body.length&&c.pop(),d.length<c.length+1&&d.push([]);break}if(\"\\\\cr\"!==f)throw new i(\"Expected & or \\\\\\\\ or \\\\cr or \\\\end\",t.nextToken);var g=Ht(t.parseFunction(),\"cr\");u.push(g.size),d.push(cr(t)),m=[],c.push(m)}}return t.gullet.endGroup(),{type:\"array\",mode:t.mode,addJot:n,arraystretch:s,body:c,cols:o,rowGaps:u,hskipBeforeAndAfter:a,hLinesBeforeRow:d,colSeparationType:h}}function dr(t){return\"d\"===t.substr(0,1)?\"display\":\"text\"}var pr=function(t,e){var r,a,n=t.body.length,o=t.hLinesBeforeRow,s=0,h=new Array(n),l=[],m=1/e.fontMetrics().ptPerEm,u=5*m,d=12*m,p=3*m,f=t.arraystretch*d,g=.7*f,x=.3*f,v=0;function b(t){for(var e=0;e<t.length;++e)e>0&&(v+=.25),l.push({pos:v,isDashed:t[e]})}for(b(o[0]),r=0;r<t.body.length;++r){var y=t.body[r],w=g,k=x;s<y.length&&(s=y.length);var S=new Array(y.length);for(a=0;a<y.length;++a){var z=he(y[a],e);k<z.depth&&(k=z.depth),w<z.height&&(w=z.height),S[a]=z}var M=t.rowGaps[r],T=0;M&&(T=zt(M,e))>0&&(k<(T+=x)&&(k=T),T=0),t.addJot&&(k+=p),S.height=w,S.depth=k,v+=w,S.pos=v,v+=k+T,h[r]=S,b(o[r+1])}var A,B,q=v/2+e.fontMetrics().axisHeight,C=t.cols||[],N=[];for(a=0,B=0;a<s||B<C.length;++a,++B){for(var I=C[B]||{},O=!0;\"separator\"===I.type;){if(O||((A=Lt.makeSpan([\"arraycolsep\"],[])).style.width=e.fontMetrics().doubleRuleSep+\"em\",N.push(A)),\"|\"===I.separator){var E=Lt.makeSpan([\"vertical-separator\"],[],e);E.style.height=v+\"em\",E.style.verticalAlign=-(v-q)+\"em\",N.push(E)}else{if(\":\"!==I.separator)throw new i(\"Invalid separator type: \"+I.separator);var R=Lt.makeSpan([\"vertical-separator\",\"vs-dashed\"],[],e);R.style.height=v+\"em\",R.style.verticalAlign=-(v-q)+\"em\",N.push(R)}I=C[++B]||{},O=!1}if(!(a>=s)){var L=void 0;(a>0||t.hskipBeforeAndAfter)&&0!==(L=c.deflt(I.pregap,u))&&((A=Lt.makeSpan([\"arraycolsep\"],[])).style.width=L+\"em\",N.push(A));var H=[];for(r=0;r<n;++r){var P=h[r],D=P[a];if(D){var F=P.pos-q;D.depth=P.depth,D.height=P.height,H.push({type:\"elem\",elem:D,shift:F})}}H=Lt.makeVList({positionType:\"individualShift\",children:H},e),H=Lt.makeSpan([\"col-align-\"+(I.align||\"c\")],[H]),N.push(H),(a<s-1||t.hskipBeforeAndAfter)&&0!==(L=c.deflt(I.postgap,u))&&((A=Lt.makeSpan([\"arraycolsep\"],[])).style.width=L+\"em\",N.push(A))}}if(h=Lt.makeSpan([\"mtable\"],N),l.length>0){for(var V=Lt.makeLineSpan(\"hline\",e,.05),U=Lt.makeLineSpan(\"hdashline\",e,.05),G=[{type:\"elem\",elem:h,shift:0}];l.length>0;){var X=l.pop(),Y=X.pos-q;X.isDashed?G.push({type:\"elem\",elem:U,shift:Y}):G.push({type:\"elem\",elem:V,shift:Y})}h=Lt.makeVList({positionType:\"individualShift\",children:G},e)}return Lt.makeSpan([\"mord\"],[h],e)},fr={c:\"center \",l:\"left \",r:\"right \"},gr=function(t,e){var r=new pe.MathNode(\"mtable\",t.body.map(function(t){return new pe.MathNode(\"mtr\",t.map(function(t){return new pe.MathNode(\"mtd\",[ye(t,e)])}))})),a=.16+t.arraystretch-1+(t.addJot?.09:0);r.setAttribute(\"rowspacing\",a+\"em\");var n=\"\",o=\"\";if(t.cols){var i=t.cols,s=\"\",h=!1,l=0,m=i.length;\"separator\"===i[0].type&&(n+=\"top \",l=1),\"separator\"===i[i.length-1].type&&(n+=\"bottom \",m-=1);for(var c=l;c<m;c++)\"align\"===i[c].type?(o+=fr[i[c].align],h&&(s+=\"none \"),h=!0):\"separator\"===i[c].type&&h&&(s+=\"|\"===i[c].separator?\"solid \":\"dashed \",h=!1);r.setAttribute(\"columnalign\",o.trim()),/[sd]/.test(s)&&r.setAttribute(\"columnlines\",s.trim())}if(\"align\"===t.colSeparationType){for(var u=t.cols||[],d=\"\",p=1;p<u.length;p++)d+=p%2?\"0em \":\"1em \";r.setAttribute(\"columnspacing\",d.trim())}else\"alignat\"===t.colSeparationType?r.setAttribute(\"columnspacing\",\"0em\"):r.setAttribute(\"columnspacing\",\"1em\");var f=\"\",g=t.hLinesBeforeRow;n+=g[0].length>0?\"left \":\"\",n+=g[g.length-1].length>0?\"right \":\"\";for(var x=1;x<g.length-1;x++)f+=0===g[x].length?\"none \":g[x][0]?\"dashed \":\"solid \";if(/[sd]/.test(f)&&r.setAttribute(\"rowlines\",f.trim()),\"\"===n)return r;var v=new pe.MathNode(\"menclose\",[r]);return v.setAttribute(\"notation\",n.trim()),v},xr=function(t,e){var r,a=[],n=ur(t.parser,{cols:a,addJot:!0},\"display\"),o=0,s={type:\"ordgroup\",mode:t.mode,body:[]},h=Pt(e[0],\"ordgroup\");if(h){for(var l=\"\",m=0;m<h.body.length;m++){l+=Ht(h.body[m],\"textord\").text}r=Number(l),o=2*r}var c=!o;n.body.forEach(function(t){for(var e=1;e<t.length;e+=2){var a=Ht(t[e],\"styling\");Ht(a.body[0],\"ordgroup\").body.unshift(s)}if(c)o<t.length&&(o=t.length);else{var n=t.length/2;if(r<n)throw new i(\"Too many math in a row: expected \"+r+\", but got \"+n,t[0])}});for(var u=0;u<o;++u){var d=\"r\",p=0;u%2==1?d=\"l\":u>0&&c&&(p=1),a[u]={type:\"align\",align:d,pregap:p,postgap:0}}return n.colSeparationType=c?\"align\":\"alignat\",n};mr({type:\"array\",names:[\"array\",\"darray\"],props:{numArgs:1},handler:function(t,e){var r={cols:(Ft(e[0])?[e[0]]:Ht(e[0],\"ordgroup\").body).map(function(t){var e=function(t){var e=Ft(t);if(!e)throw new Error(\"Expected node of symbol group type, but got \"+(t?\"node of type \"+t.type:String(t)));return e}(t).text;if(-1!==\"lcr\".indexOf(e))return{type:\"align\",align:e};if(\"|\"===e)return{type:\"separator\",separator:\"|\"};if(\":\"===e)return{type:\"separator\",separator:\":\"};throw new i(\"Unknown column alignment: \"+e,t)}),hskipBeforeAndAfter:!0};return ur(t.parser,r,dr(t.envName))},htmlBuilder:pr,mathmlBuilder:gr}),mr({type:\"array\",names:[\"matrix\",\"pmatrix\",\"bmatrix\",\"Bmatrix\",\"vmatrix\",\"Vmatrix\"],props:{numArgs:0},handler:function(t){var e={matrix:null,pmatrix:[\"(\",\")\"],bmatrix:[\"[\",\"]\"],Bmatrix:[\"\\\\{\",\"\\\\}\"],vmatrix:[\"|\",\"|\"],Vmatrix:[\"\\\\Vert\",\"\\\\Vert\"]}[t.envName],r=ur(t.parser,{hskipBeforeAndAfter:!1},dr(t.envName));return e?{type:\"leftright\",mode:t.mode,body:[r],left:e[0],right:e[1]}:r},htmlBuilder:pr,mathmlBuilder:gr}),mr({type:\"array\",names:[\"cases\",\"dcases\"],props:{numArgs:0},handler:function(t){var e=ur(t.parser,{arraystretch:1.2,cols:[{type:\"align\",align:\"l\",pregap:0,postgap:1},{type:\"align\",align:\"l\",pregap:0,postgap:0}]},dr(t.envName));return{type:\"leftright\",mode:t.mode,body:[e],left:\"\\\\{\",right:\".\"}},htmlBuilder:pr,mathmlBuilder:gr}),mr({type:\"array\",names:[\"aligned\"],props:{numArgs:0},handler:xr,htmlBuilder:pr,mathmlBuilder:gr}),mr({type:\"array\",names:[\"gathered\"],props:{numArgs:0},handler:function(t){return ur(t.parser,{cols:[{type:\"align\",align:\"c\"}],addJot:!0},\"display\")},htmlBuilder:pr,mathmlBuilder:gr}),mr({type:\"array\",names:[\"alignedat\"],props:{numArgs:1},handler:xr,htmlBuilder:pr,mathmlBuilder:gr}),$t({type:\"text\",names:[\"\\\\hline\",\"\\\\hdashline\"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(t,e){throw new i(t.funcName+\" valid only within array environment\")}});var vr=lr;$t({type:\"environment\",names:[\"\\\\begin\",\"\\\\end\"],props:{numArgs:1,argTypes:[\"text\"]},handler:function(t,e){var r=t.parser,a=t.funcName,n=e[0];if(\"ordgroup\"!==n.type)throw new i(\"Invalid environment name\",n);for(var o=\"\",s=0;s<n.body.length;++s)o+=Ht(n.body[s],\"textord\").text;if(\"\\\\begin\"===a){if(!vr.hasOwnProperty(o))throw new i(\"No such environment: \"+o,n);var h=vr[o],l=r.parseArguments(\"\\\\begin{\"+o+\"}\",h),m=l.args,c=l.optArgs,u={mode:r.mode,envName:o,parser:r},d=h.handler(u,m,c);r.expect(\"\\\\end\",!1);var p=r.nextToken,f=Ht(r.parseFunction(),\"environment\");if(f.name!==o)throw new i(\"Mismatch: \\\\begin{\"+o+\"} matched by \\\\end{\"+f.name+\"}\",p);return d}return{type:\"environment\",mode:r.mode,name:o,nameGroup:n}}});var br=Lt.makeSpan;function yr(t,e){var r=ae(t.body,e,!0);return br([t.mclass],r,e)}function wr(t,e){var r=ve(t.body,e);return pe.newDocumentFragment(r)}$t({type:\"mclass\",names:[\"\\\\mathord\",\"\\\\mathbin\",\"\\\\mathrel\",\"\\\\mathopen\",\"\\\\mathclose\",\"\\\\mathpunct\",\"\\\\mathinner\"],props:{numArgs:1},handler:function(t,e){var r=t.parser,a=t.funcName,n=e[0];return{type:\"mclass\",mode:r.mode,mclass:\"m\"+a.substr(5),body:Kt(n)}},htmlBuilder:yr,mathmlBuilder:wr});var kr=function(t){var e=\"ordgroup\"===t.type&&t.body.length?t.body[0]:t;return\"atom\"!==e.type||\"bin\"!==e.family&&\"rel\"!==e.family?\"mord\":\"m\"+e.family};$t({type:\"mclass\",names:[\"\\\\@binrel\"],props:{numArgs:2},handler:function(t,e){return{type:\"mclass\",mode:t.parser.mode,mclass:kr(e[0]),body:[e[1]]}}}),$t({type:\"mclass\",names:[\"\\\\stackrel\",\"\\\\overset\",\"\\\\underset\"],props:{numArgs:2},handler:function(t,e){var r,a=t.parser,n=t.funcName,o=e[1],i=e[0];r=\"\\\\stackrel\"!==n?kr(o):\"mrel\";var s={type:\"op\",mode:o.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:\"\\\\stackrel\"!==n,body:Kt(o)},h={type:\"supsub\",mode:i.mode,base:s,sup:\"\\\\underset\"===n?null:i,sub:\"\\\\underset\"===n?i:null};return{type:\"mclass\",mode:a.mode,mclass:r,body:[h]}},htmlBuilder:yr,mathmlBuilder:wr});var Sr=function(t,e){var r=t.font,a=e.withFont(r);return he(t.body,a)},zr=function(t,e){var r=t.font,a=e.withFont(r);return ye(t.body,a)},Mr={\"\\\\Bbb\":\"\\\\mathbb\",\"\\\\bold\":\"\\\\mathbf\",\"\\\\frak\":\"\\\\mathfrak\",\"\\\\bm\":\"\\\\boldsymbol\"};$t({type:\"font\",names:[\"\\\\mathrm\",\"\\\\mathit\",\"\\\\mathbf\",\"\\\\mathnormal\",\"\\\\mathbb\",\"\\\\mathcal\",\"\\\\mathfrak\",\"\\\\mathscr\",\"\\\\mathsf\",\"\\\\mathtt\",\"\\\\Bbb\",\"\\\\bold\",\"\\\\frak\"],props:{numArgs:1,greediness:2},handler:function(t,e){var r=t.parser,a=t.funcName,n=e[0],o=a;return o in Mr&&(o=Mr[o]),{type:\"font\",mode:r.mode,font:o.slice(1),body:n}},htmlBuilder:Sr,mathmlBuilder:zr}),$t({type:\"mclass\",names:[\"\\\\boldsymbol\",\"\\\\bm\"],props:{numArgs:1,greediness:2},handler:function(t,e){var r=t.parser,a=e[0];return{type:\"mclass\",mode:r.mode,mclass:kr(a),body:[{type:\"font\",mode:r.mode,font:\"boldsymbol\",body:a}]}}}),$t({type:\"font\",names:[\"\\\\rm\",\"\\\\sf\",\"\\\\tt\",\"\\\\bf\",\"\\\\it\"],props:{numArgs:0,allowedInText:!0},handler:function(t,e){var r=t.parser,a=t.funcName,n=t.breakOnTokenText,o=r.mode,i=r.parseExpression(!0,n);return{type:\"font\",mode:o,font:\"math\"+a.slice(1),body:{type:\"ordgroup\",mode:r.mode,body:i}}},htmlBuilder:Sr,mathmlBuilder:zr});var Tr=function(t,e){var r=e;return\"display\"===t?r=r.id>=w.SCRIPT.id?r.text():w.DISPLAY:\"text\"===t&&r.size===w.DISPLAY.size?r=w.TEXT:\"script\"===t?r=w.SCRIPT:\"scriptscript\"===t&&(r=w.SCRIPTSCRIPT),r},Ar=function(t,e){var r,a=Tr(t.size,e.style),n=a.fracNum(),o=a.fracDen();r=e.havingStyle(n);var i=he(t.numer,r,e);if(t.continued){var s=8.5/e.fontMetrics().ptPerEm,h=3.5/e.fontMetrics().ptPerEm;i.height=i.height<s?s:i.height,i.depth=i.depth<h?h:i.depth}r=e.havingStyle(o);var l,m,c,u,d,p,f,g,x,v,b=he(t.denom,r,e);if(t.hasBarLine?(t.barSize?(m=zt(t.barSize,e),l=Lt.makeLineSpan(\"frac-line\",e,m)):l=Lt.makeLineSpan(\"frac-line\",e),m=l.height,c=l.height):(l=null,m=0,c=e.fontMetrics().defaultRuleThickness),a.size===w.DISPLAY.size||\"display\"===t.size?(u=e.fontMetrics().num1,d=m>0?3*c:7*c,p=e.fontMetrics().denom1):(m>0?(u=e.fontMetrics().num2,d=c):(u=e.fontMetrics().num3,d=3*c),p=e.fontMetrics().denom2),l){var y=e.fontMetrics().axisHeight;u-i.depth-(y+.5*m)<d&&(u+=d-(u-i.depth-(y+.5*m))),y-.5*m-(b.height-p)<d&&(p+=d-(y-.5*m-(b.height-p)));var k=-(y-.5*m);f=Lt.makeVList({positionType:\"individualShift\",children:[{type:\"elem\",elem:b,shift:p},{type:\"elem\",elem:l,shift:k},{type:\"elem\",elem:i,shift:-u}]},e)}else{var S=u-i.depth-(b.height-p);S<d&&(u+=.5*(d-S),p+=.5*(d-S)),f=Lt.makeVList({positionType:\"individualShift\",children:[{type:\"elem\",elem:b,shift:p},{type:\"elem\",elem:i,shift:-u}]},e)}return r=e.havingStyle(a),f.height*=r.sizeMultiplier/e.sizeMultiplier,f.depth*=r.sizeMultiplier/e.sizeMultiplier,g=a.size===w.DISPLAY.size?e.fontMetrics().delim1:e.fontMetrics().delim2,x=null==t.leftDelim?se(e,[\"mopen\"]):er(t.leftDelim,g,!0,e.havingStyle(a),t.mode,[\"mopen\"]),v=t.continued?Lt.makeSpan([]):null==t.rightDelim?se(e,[\"mclose\"]):er(t.rightDelim,g,!0,e.havingStyle(a),t.mode,[\"mclose\"]),Lt.makeSpan([\"mord\"].concat(r.sizingClasses(e)),[x,Lt.makeSpan([\"mfrac\"],[f]),v],e)},Br=function(t,e){var r=new pe.MathNode(\"mfrac\",[ye(t.numer,e),ye(t.denom,e)]);if(t.hasBarLine){if(t.barSize){var a=zt(t.barSize,e);r.setAttribute(\"linethickness\",a+\"em\")}}else r.setAttribute(\"linethickness\",\"0px\");var n=Tr(t.size,e.style);if(n.size!==e.style.size){r=new pe.MathNode(\"mstyle\",[r]);var o=n.size===w.DISPLAY.size?\"true\":\"false\";r.setAttribute(\"displaystyle\",o),r.setAttribute(\"scriptlevel\",\"0\")}if(null!=t.leftDelim||null!=t.rightDelim){var i=[];if(null!=t.leftDelim){var s=new pe.MathNode(\"mo\",[new pe.TextNode(t.leftDelim.replace(\"\\\\\",\"\"))]);s.setAttribute(\"fence\",\"true\"),i.push(s)}if(i.push(r),null!=t.rightDelim){var h=new pe.MathNode(\"mo\",[new pe.TextNode(t.rightDelim.replace(\"\\\\\",\"\"))]);h.setAttribute(\"fence\",\"true\"),i.push(h)}return ge(i)}return r};$t({type:\"genfrac\",names:[\"\\\\cfrac\",\"\\\\dfrac\",\"\\\\frac\",\"\\\\tfrac\",\"\\\\dbinom\",\"\\\\binom\",\"\\\\tbinom\",\"\\\\\\\\atopfrac\",\"\\\\\\\\bracefrac\",\"\\\\\\\\brackfrac\"],props:{numArgs:2,greediness:2},handler:function(t,e){var r,a=t.parser,n=t.funcName,o=e[0],i=e[1],s=null,h=null,l=\"auto\";switch(n){case\"\\\\cfrac\":case\"\\\\dfrac\":case\"\\\\frac\":case\"\\\\tfrac\":r=!0;break;case\"\\\\\\\\atopfrac\":r=!1;break;case\"\\\\dbinom\":case\"\\\\binom\":case\"\\\\tbinom\":r=!1,s=\"(\",h=\")\";break;case\"\\\\\\\\bracefrac\":r=!1,s=\"\\\\{\",h=\"\\\\}\";break;case\"\\\\\\\\brackfrac\":r=!1,s=\"[\",h=\"]\";break;default:throw new Error(\"Unrecognized genfrac command\")}switch(n){case\"\\\\cfrac\":case\"\\\\dfrac\":case\"\\\\dbinom\":l=\"display\";break;case\"\\\\tfrac\":case\"\\\\tbinom\":l=\"text\"}return{type:\"genfrac\",mode:a.mode,continued:\"\\\\cfrac\"===n,numer:o,denom:i,hasBarLine:r,leftDelim:s,rightDelim:h,size:l,barSize:null}},htmlBuilder:Ar,mathmlBuilder:Br}),$t({type:\"infix\",names:[\"\\\\over\",\"\\\\choose\",\"\\\\atop\",\"\\\\brace\",\"\\\\brack\"],props:{numArgs:0,infix:!0},handler:function(t){var e,r=t.parser,a=t.funcName,n=t.token;switch(a){case\"\\\\over\":e=\"\\\\frac\";break;case\"\\\\choose\":e=\"\\\\binom\";break;case\"\\\\atop\":e=\"\\\\\\\\atopfrac\";break;case\"\\\\brace\":e=\"\\\\\\\\bracefrac\";break;case\"\\\\brack\":e=\"\\\\\\\\brackfrac\";break;default:throw new Error(\"Unrecognized infix genfrac command\")}return{type:\"infix\",mode:r.mode,replaceWith:e,token:n}}});var qr=[\"display\",\"text\",\"script\",\"scriptscript\"],Cr=function(t){var e=null;return t.length>0&&(e=\".\"===(e=t)?null:e),e};$t({type:\"genfrac\",names:[\"\\\\genfrac\"],props:{numArgs:6,greediness:6,argTypes:[\"math\",\"math\",\"size\",\"text\",\"math\",\"math\"]},handler:function(t,e){var r=t.parser,a=e[4],n=e[5],o=Pt(e[0],\"atom\");o&&(o=Dt(e[0],\"open\"));var i=o?Cr(o.text):null,s=Pt(e[1],\"atom\");s&&(s=Dt(e[1],\"close\"));var h,l=s?Cr(s.text):null,m=Ht(e[2],\"size\"),c=null;h=!!m.isBlank||(c=m.value).number>0;var u=\"auto\",d=Pt(e[3],\"ordgroup\");if(d){if(d.body.length>0){var p=Ht(d.body[0],\"textord\");u=qr[Number(p.text)]}}else d=Ht(e[3],\"textord\"),u=qr[Number(d.text)];return{type:\"genfrac\",mode:r.mode,numer:a,denom:n,continued:!1,hasBarLine:h,barSize:c,leftDelim:i,rightDelim:l,size:u}},htmlBuilder:Ar,mathmlBuilder:Br}),$t({type:\"infix\",names:[\"\\\\above\"],props:{numArgs:1,argTypes:[\"size\"],infix:!0},handler:function(t,e){var r=t.parser,a=(t.funcName,t.token);return{type:\"infix\",mode:r.mode,replaceWith:\"\\\\\\\\abovefrac\",size:Ht(e[0],\"size\").value,token:a}}}),$t({type:\"genfrac\",names:[\"\\\\\\\\abovefrac\"],props:{numArgs:3,argTypes:[\"math\",\"size\",\"math\"]},handler:function(t,e){var r=t.parser,a=(t.funcName,e[0]),n=function(t){if(!t)throw new Error(\"Expected non-null, but got \"+String(t));return t}(Ht(e[1],\"infix\").size),o=e[2],i=n.number>0;return{type:\"genfrac\",mode:r.mode,numer:a,denom:o,continued:!1,hasBarLine:i,barSize:n,leftDelim:null,rightDelim:null,size:\"auto\"}},htmlBuilder:Ar,mathmlBuilder:Br});var Nr=function(t,e){var r,a,n=e.style,o=Pt(t,\"supsub\");o?(r=o.sup?he(o.sup,e.havingStyle(n.sup()),e):he(o.sub,e.havingStyle(n.sub()),e),a=Ht(o.base,\"horizBrace\")):a=Ht(t,\"horizBrace\");var i,s=he(a.base,e.havingBaseStyle(w.DISPLAY)),h=qe(a,e);if(a.isOver?(i=Lt.makeVList({positionType:\"firstBaseline\",children:[{type:\"elem\",elem:s},{type:\"kern\",size:.1},{type:\"elem\",elem:h}]},e)).children[0].children[0].children[1].classes.push(\"svg-align\"):(i=Lt.makeVList({positionType:\"bottom\",positionData:s.depth+.1+h.height,children:[{type:\"elem\",elem:h},{type:\"kern\",size:.1},{type:\"elem\",elem:s}]},e)).children[0].children[0].children[0].classes.push(\"svg-align\"),r){var l=Lt.makeSpan([\"mord\",a.isOver?\"mover\":\"munder\"],[i],e);i=a.isOver?Lt.makeVList({positionType:\"firstBaseline\",children:[{type:\"elem\",elem:l},{type:\"kern\",size:.2},{type:\"elem\",elem:r}]},e):Lt.makeVList({positionType:\"bottom\",positionData:l.depth+.2+r.height+r.depth,children:[{type:\"elem\",elem:r},{type:\"kern\",size:.2},{type:\"elem\",elem:l}]},e)}return Lt.makeSpan([\"mord\",a.isOver?\"mover\":\"munder\"],[i],e)};$t({type:\"horizBrace\",names:[\"\\\\overbrace\",\"\\\\underbrace\"],props:{numArgs:1},handler:function(t,e){var r=t.parser,a=t.funcName;return{type:\"horizBrace\",mode:r.mode,label:a,isOver:/^\\\\over/.test(a),base:e[0]}},htmlBuilder:Nr,mathmlBuilder:function(t,e){var r=Be(t.label);return new pe.MathNode(t.isOver?\"mover\":\"munder\",[ye(t.base,e),r])}}),$t({type:\"href\",names:[\"\\\\href\"],props:{numArgs:2,argTypes:[\"url\",\"original\"],allowedInText:!0},handler:function(t,e){var r=t.parser,a=e[1],n=Ht(e[0],\"url\").url;return{type:\"href\",mode:r.mode,href:n,body:Kt(a)}},htmlBuilder:function(t,e){var r=ae(t.body,e,!1);return Lt.makeAnchor(t.href,[],r,e)},mathmlBuilder:function(t,e){var r=be(t.body,e);return r instanceof ue||(r=new ue(\"mrow\",[r])),r.setAttribute(\"href\",t.href),r}}),$t({type:\"href\",names:[\"\\\\url\"],props:{numArgs:1,argTypes:[\"url\"],allowedInText:!0},handler:function(t,e){for(var r=t.parser,a=Ht(e[0],\"url\").url,n=[],o=0;o<a.length;o++){var i=a[o];\"~\"===i&&(i=\"\\\\textasciitilde\"),n.push({type:\"textord\",mode:\"text\",text:i})}var s={type:\"text\",mode:r.mode,font:\"\\\\texttt\",body:n};return{type:\"href\",mode:r.mode,href:a,body:Kt(s)}}}),$t({type:\"htmlmathml\",names:[\"\\\\html@mathml\"],props:{numArgs:2,allowedInText:!0},handler:function(t,e){return{type:\"htmlmathml\",mode:t.parser.mode,html:Kt(e[0]),mathml:Kt(e[1])}},htmlBuilder:function(t,e){var r=ae(t.html,e,!1);return Lt.makeFragment(r)},mathmlBuilder:function(t,e){return be(t.mathml,e)}}),$t({type:\"kern\",names:[\"\\\\kern\",\"\\\\mkern\",\"\\\\hskip\",\"\\\\mskip\"],props:{numArgs:1,argTypes:[\"size\"],allowedInText:!0},handler:function(t,e){var r=t.parser,a=t.funcName,n=Ht(e[0],\"size\");if(r.settings.strict){var o=\"m\"===a[1],i=\"mu\"===n.value.unit;o?(i||r.settings.reportNonstrict(\"mathVsTextUnits\",\"LaTeX's \"+a+\" supports only mu units, not \"+n.value.unit+\" units\"),\"math\"!==r.mode&&r.settings.reportNonstrict(\"mathVsTextUnits\",\"LaTeX's \"+a+\" works only in math mode\")):i&&r.settings.reportNonstrict(\"mathVsTextUnits\",\"LaTeX's \"+a+\" doesn't support mu units\")}return{type:\"kern\",mode:r.mode,dimension:n.value}},htmlBuilder:function(t,e){return Lt.makeGlue(t.dimension,e)},mathmlBuilder:function(t,e){var r=zt(t.dimension,e);return new pe.SpaceNode(r)}}),$t({type:\"lap\",names:[\"\\\\mathllap\",\"\\\\mathrlap\",\"\\\\mathclap\"],props:{numArgs:1,allowedInText:!0},handler:function(t,e){var r=t.parser,a=t.funcName,n=e[0];return{type:\"lap\",mode:r.mode,alignment:a.slice(5),body:n}},htmlBuilder:function(t,e){var r;\"clap\"===t.alignment?(r=Lt.makeSpan([],[he(t.body,e)]),r=Lt.makeSpan([\"inner\"],[r],e)):r=Lt.makeSpan([\"inner\"],[he(t.body,e)]);var a=Lt.makeSpan([\"fix\"],[]),n=Lt.makeSpan([t.alignment],[r,a],e),o=Lt.makeSpan([\"strut\"]);return o.style.height=n.height+n.depth+\"em\",o.style.verticalAlign=-n.depth+\"em\",n.children.unshift(o),n=Lt.makeVList({positionType:\"firstBaseline\",children:[{type:\"elem\",elem:n}]},e),Lt.makeSpan([\"mord\"],[n],e)},mathmlBuilder:function(t,e){var r=new pe.MathNode(\"mpadded\",[ye(t.body,e)]);if(\"rlap\"!==t.alignment){var a=\"llap\"===t.alignment?\"-1\":\"-0.5\";r.setAttribute(\"lspace\",a+\"width\")}return r.setAttribute(\"width\",\"0px\"),r}}),$t({type:\"styling\",names:[\"\\\\(\",\"$\"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1,consumeMode:\"math\"},handler:function(t,e){var r=t.funcName,a=t.parser,n=a.mode;a.switchMode(\"math\");var o=\"\\\\(\"===r?\"\\\\)\":\"$\",i=a.parseExpression(!1,o);return a.expect(o,!1),a.switchMode(n),a.consume(),{type:\"styling\",mode:a.mode,style:\"text\",body:i}}}),$t({type:\"text\",names:[\"\\\\)\",\"\\\\]\"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(t,e){throw new i(\"Mismatched \"+t.funcName)}});var Ir=function(t,e){switch(e.style.size){case w.DISPLAY.size:return t.display;case w.TEXT.size:return t.text;case w.SCRIPT.size:return t.script;case w.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};$t({type:\"mathchoice\",names:[\"\\\\mathchoice\"],props:{numArgs:4},handler:function(t,e){return{type:\"mathchoice\",mode:t.parser.mode,display:Kt(e[0]),text:Kt(e[1]),script:Kt(e[2]),scriptscript:Kt(e[3])}},htmlBuilder:function(t,e){var r=Ir(t,e),a=ae(r,e,!1);return Lt.makeFragment(a)},mathmlBuilder:function(t,e){var r=Ir(t,e);return be(r,e)}});var Or=[\"\\\\smallint\"],Er=function(t,e){var r,a,n,o=!1,i=Pt(t,\"supsub\");i?(r=i.sup,a=i.sub,n=Ht(i.base,\"op\"),o=!0):n=Ht(t,\"op\");var s,h=e.style,l=!1;if(h.size===w.DISPLAY.size&&n.symbol&&!c.contains(Or,n.name)&&(l=!0),n.symbol){var m=l?\"Size2-Regular\":\"Size1-Regular\",u=\"\";if(\"\\\\oiint\"!==n.name&&\"\\\\oiiint\"!==n.name||(u=n.name.substr(1),n.name=\"oiint\"===u?\"\\\\iint\":\"\\\\iiint\"),s=Lt.makeSymbol(n.name,m,\"math\",e,[\"mop\",\"op-symbol\",l?\"large-op\":\"small-op\"]),u.length>0){var d=s.italic,p=Lt.staticSvg(u+\"Size\"+(l?\"2\":\"1\"),e);s=Lt.makeVList({positionType:\"individualShift\",children:[{type:\"elem\",elem:s,shift:0},{type:\"elem\",elem:p,shift:l?.08:0}]},e),n.name=\"\\\\\"+u,s.classes.unshift(\"mop\"),s.italic=d}}else if(n.body){var f=ae(n.body,e,!0);1===f.length&&f[0]instanceof E?(s=f[0]).classes[0]=\"mop\":s=Lt.makeSpan([\"mop\"],Lt.tryCombineChars(f),e)}else{for(var g=[],x=1;x<n.name.length;x++)g.push(Lt.mathsym(n.name[x],n.mode));s=Lt.makeSpan([\"mop\"],g,e)}var v=0,b=0;if((s instanceof E||\"\\\\oiint\"===n.name||\"\\\\oiiint\"===n.name)&&!n.suppressBaseShift&&(v=(s.height-s.depth)/2-e.fontMetrics().axisHeight,b=s.italic),o){var y,k,S;if(s=Lt.makeSpan([],[s]),r){var z=he(r,e.havingStyle(h.sup()),e);k={elem:z,kern:Math.max(e.fontMetrics().bigOpSpacing1,e.fontMetrics().bigOpSpacing3-z.depth)}}if(a){var M=he(a,e.havingStyle(h.sub()),e);y={elem:M,kern:Math.max(e.fontMetrics().bigOpSpacing2,e.fontMetrics().bigOpSpacing4-M.height)}}if(k&&y){var T=e.fontMetrics().bigOpSpacing5+y.elem.height+y.elem.depth+y.kern+s.depth+v;S=Lt.makeVList({positionType:\"bottom\",positionData:T,children:[{type:\"kern\",size:e.fontMetrics().bigOpSpacing5},{type:\"elem\",elem:y.elem,marginLeft:-b+\"em\"},{type:\"kern\",size:y.kern},{type:\"elem\",elem:s},{type:\"kern\",size:k.kern},{type:\"elem\",elem:k.elem,marginLeft:b+\"em\"},{type:\"kern\",size:e.fontMetrics().bigOpSpacing5}]},e)}else if(y){var A=s.height-v;S=Lt.makeVList({positionType:\"top\",positionData:A,children:[{type:\"kern\",size:e.fontMetrics().bigOpSpacing5},{type:\"elem\",elem:y.elem,marginLeft:-b+\"em\"},{type:\"kern\",size:y.kern},{type:\"elem\",elem:s}]},e)}else{if(!k)return s;var B=s.depth+v;S=Lt.makeVList({positionType:\"bottom\",positionData:B,children:[{type:\"elem\",elem:s},{type:\"kern\",size:k.kern},{type:\"elem\",elem:k.elem,marginLeft:b+\"em\"},{type:\"kern\",size:e.fontMetrics().bigOpSpacing5}]},e)}return Lt.makeSpan([\"mop\",\"op-limits\"],[S],e)}return v&&(s.style.position=\"relative\",s.style.top=v+\"em\"),s},Rr=function(t,e){var r;if(t.symbol)r=new ue(\"mo\",[fe(t.name,t.mode)]),c.contains(Or,t.name)&&r.setAttribute(\"largeop\",\"false\");else if(t.body)r=new ue(\"mo\",ve(t.body,e));else{r=new ue(\"mi\",[new de(t.name.slice(1))]);var a=new ue(\"mo\",[fe(\"\\u2061\",\"text\")]);r=t.parentIsSupSub?new ue(\"mo\",[r,a]):ce([r,a])}return r},Lr={\"\\u220f\":\"\\\\prod\",\"\\u2210\":\"\\\\coprod\",\"\\u2211\":\"\\\\sum\",\"\\u22c0\":\"\\\\bigwedge\",\"\\u22c1\":\"\\\\bigvee\",\"\\u22c2\":\"\\\\bigcap\",\"\\u22c3\":\"\\\\bigcup\",\"\\u2a00\":\"\\\\bigodot\",\"\\u2a01\":\"\\\\bigoplus\",\"\\u2a02\":\"\\\\bigotimes\",\"\\u2a04\":\"\\\\biguplus\",\"\\u2a06\":\"\\\\bigsqcup\"};$t({type:\"op\",names:[\"\\\\coprod\",\"\\\\bigvee\",\"\\\\bigwedge\",\"\\\\biguplus\",\"\\\\bigcap\",\"\\\\bigcup\",\"\\\\intop\",\"\\\\prod\",\"\\\\sum\",\"\\\\bigotimes\",\"\\\\bigoplus\",\"\\\\bigodot\",\"\\\\bigsqcup\",\"\\\\smallint\",\"\\u220f\",\"\\u2210\",\"\\u2211\",\"\\u22c0\",\"\\u22c1\",\"\\u22c2\",\"\\u22c3\",\"\\u2a00\",\"\\u2a01\",\"\\u2a02\",\"\\u2a04\",\"\\u2a06\"],props:{numArgs:0},handler:function(t,e){var r=t.parser,a=t.funcName;return 1===a.length&&(a=Lr[a]),{type:\"op\",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:Er,mathmlBuilder:Rr}),$t({type:\"op\",names:[\"\\\\mathop\"],props:{numArgs:1},handler:function(t,e){var r=t.parser,a=e[0];return{type:\"op\",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Kt(a)}},htmlBuilder:Er,mathmlBuilder:Rr});var Hr={\"\\u222b\":\"\\\\int\",\"\\u222c\":\"\\\\iint\",\"\\u222d\":\"\\\\iiint\",\"\\u222e\":\"\\\\oint\",\"\\u222f\":\"\\\\oiint\",\"\\u2230\":\"\\\\oiiint\"};function Pr(t,e,r){for(var a=ae(t,e,!1),n=e.sizeMultiplier/r.sizeMultiplier,o=0;o<a.length;o++){var i=a[o].classes.indexOf(\"sizing\");i<0?Array.prototype.push.apply(a[o].classes,e.sizingClasses(r)):a[o].classes[i+1]===\"reset-size\"+e.size&&(a[o].classes[i+1]=\"reset-size\"+r.size),a[o].height*=n,a[o].depth*=n}return Lt.makeFragment(a)}$t({type:\"op\",names:[\"\\\\arcsin\",\"\\\\arccos\",\"\\\\arctan\",\"\\\\arctg\",\"\\\\arcctg\",\"\\\\arg\",\"\\\\ch\",\"\\\\cos\",\"\\\\cosec\",\"\\\\cosh\",\"\\\\cot\",\"\\\\cotg\",\"\\\\coth\",\"\\\\csc\",\"\\\\ctg\",\"\\\\cth\",\"\\\\deg\",\"\\\\dim\",\"\\\\exp\",\"\\\\hom\",\"\\\\ker\",\"\\\\lg\",\"\\\\ln\",\"\\\\log\",\"\\\\sec\",\"\\\\sin\",\"\\\\sinh\",\"\\\\sh\",\"\\\\tan\",\"\\\\tanh\",\"\\\\tg\",\"\\\\th\"],props:{numArgs:0},handler:function(t){var e=t.parser,r=t.funcName;return{type:\"op\",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Er,mathmlBuilder:Rr}),$t({type:\"op\",names:[\"\\\\det\",\"\\\\gcd\",\"\\\\inf\",\"\\\\lim\",\"\\\\max\",\"\\\\min\",\"\\\\Pr\",\"\\\\sup\"],props:{numArgs:0},handler:function(t){var e=t.parser,r=t.funcName;return{type:\"op\",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Er,mathmlBuilder:Rr}),$t({type:\"op\",names:[\"\\\\int\",\"\\\\iint\",\"\\\\iiint\",\"\\\\oint\",\"\\\\oiint\",\"\\\\oiiint\",\"\\u222b\",\"\\u222c\",\"\\u222d\",\"\\u222e\",\"\\u222f\",\"\\u2230\"],props:{numArgs:0},handler:function(t){var e=t.parser,r=t.funcName;return 1===r.length&&(r=Hr[r]),{type:\"op\",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Er,mathmlBuilder:Rr}),$t({type:\"operatorname\",names:[\"\\\\operatorname\"],props:{numArgs:1},handler:function(t,e){var r=t.parser,a=e[0];return{type:\"operatorname\",mode:r.mode,body:Kt(a)}},htmlBuilder:function(t,e){if(t.body.length>0){for(var r=t.body.map(function(t){var e=t.text;return\"string\"==typeof e?{type:\"textord\",mode:t.mode,text:e}:t}),a=ae(r,e.withFont(\"mathrm\"),!0),n=0;n<a.length;n++){var o=a[n];o instanceof E&&(o.text=o.text.replace(/\\u2212/,\"-\").replace(/\\u2217/,\"*\"))}return Lt.makeSpan([\"mop\"],a,e)}return Lt.makeSpan([\"mop\"],[],e)},mathmlBuilder:function(t,e){for(var r=ve(t.body,e.withFont(\"mathrm\")),a=!0,n=0;n<r.length;n++){var o=r[n];if(o instanceof pe.SpaceNode);else if(o instanceof pe.MathNode)switch(o.type){case\"mi\":case\"mn\":case\"ms\":case\"mspace\":case\"mtext\":break;case\"mo\":var i=o.children[0];1===o.children.length&&i instanceof pe.TextNode?i.text=i.text.replace(/\\u2212/,\"-\").replace(/\\u2217/,\"*\"):a=!1;break;default:a=!1}else a=!1}if(a){var s=r.map(function(t){return t.toText()}).join(\"\");r=[new pe.TextNode(s)]}var h=new pe.MathNode(\"mi\",r);h.setAttribute(\"mathvariant\",\"normal\");var l=new pe.MathNode(\"mo\",[fe(\"\\u2061\",\"text\")]);return pe.newDocumentFragment([h,l])}}),Zt({type:\"ordgroup\",htmlBuilder:function(t,e){return t.semisimple?Lt.makeFragment(ae(t.body,e,!1)):Lt.makeSpan([\"mord\"],ae(t.body,e,!0),e)},mathmlBuilder:function(t,e){return be(t.body,e)}}),$t({type:\"overline\",names:[\"\\\\overline\"],props:{numArgs:1},handler:function(t,e){var r=t.parser,a=e[0];return{type:\"overline\",mode:r.mode,body:a}},htmlBuilder:function(t,e){var r=he(t.body,e.havingCrampedStyle()),a=Lt.makeLineSpan(\"overline-line\",e),n=Lt.makeVList({positionType:\"firstBaseline\",children:[{type:\"elem\",elem:r},{type:\"kern\",size:3*a.height},{type:\"elem\",elem:a},{type:\"kern\",size:a.height}]},e);return Lt.makeSpan([\"mord\",\"overline\"],[n],e)},mathmlBuilder:function(t,e){var r=new pe.MathNode(\"mo\",[new pe.TextNode(\"\\u203e\")]);r.setAttribute(\"stretchy\",\"true\");var a=new pe.MathNode(\"mover\",[ye(t.body,e),r]);return a.setAttribute(\"accent\",\"true\"),a}}),$t({type:\"phantom\",names:[\"\\\\phantom\"],props:{numArgs:1,allowedInText:!0},handler:function(t,e){var r=t.parser,a=e[0];return{type:\"phantom\",mode:r.mode,body:Kt(a)}},htmlBuilder:function(t,e){var r=ae(t.body,e.withPhantom(),!1);return Lt.makeFragment(r)},mathmlBuilder:function(t,e){var r=ve(t.body,e);return new pe.MathNode(\"mphantom\",r)}}),$t({type:\"hphantom\",names:[\"\\\\hphantom\"],props:{numArgs:1,allowedInText:!0},handler:function(t,e){var r=t.parser,a=e[0];return{type:\"hphantom\",mode:r.mode,body:a}},htmlBuilder:function(t,e){var r=Lt.makeSpan([],[he(t.body,e.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var a=0;a<r.children.length;a++)r.children[a].height=0,r.children[a].depth=0;return r=Lt.makeVList({positionType:\"firstBaseline\",children:[{type:\"elem\",elem:r}]},e),Lt.makeSpan([\"mord\"],[r],e)},mathmlBuilder:function(t,e){var r=ve(Kt(t.body),e),a=new pe.MathNode(\"mphantom\",r),n=new pe.MathNode(\"mpadded\",[a]);return n.setAttribute(\"height\",\"0px\"),n.setAttribute(\"depth\",\"0px\"),n}}),$t({type:\"vphantom\",names:[\"\\\\vphantom\"],props:{numArgs:1,allowedInText:!0},handler:function(t,e){var r=t.parser,a=e[0];return{type:\"vphantom\",mode:r.mode,body:a}},htmlBuilder:function(t,e){var r=Lt.makeSpan([\"inner\"],[he(t.body,e.withPhantom())]),a=Lt.makeSpan([\"fix\"],[]);return Lt.makeSpan([\"mord\",\"rlap\"],[r,a],e)},mathmlBuilder:function(t,e){var r=ve(Kt(t.body),e),a=new pe.MathNode(\"mphantom\",r),n=new pe.MathNode(\"mpadded\",[a]);return n.setAttribute(\"width\",\"0px\"),n}});var Dr=[\"\\\\tiny\",\"\\\\sixptsize\",\"\\\\scriptsize\",\"\\\\footnotesize\",\"\\\\small\",\"\\\\normalsize\",\"\\\\large\",\"\\\\Large\",\"\\\\LARGE\",\"\\\\huge\",\"\\\\Huge\"],Fr=function(t,e){var r=e.havingSize(t.size);return Pr(t.body,r,e)};$t({type:\"sizing\",names:Dr,props:{numArgs:0,allowedInText:!0},handler:function(t,e){var r=t.breakOnTokenText,a=t.funcName,n=t.parser,o=n.parseExpression(!1,r);return{type:\"sizing\",mode:n.mode,size:Dr.indexOf(a)+1,body:o}},htmlBuilder:Fr,mathmlBuilder:function(t,e){var r=e.havingSize(t.size),a=ve(t.body,r),n=new pe.MathNode(\"mstyle\",a);return n.setAttribute(\"mathsize\",r.sizeMultiplier+\"em\"),n}}),$t({type:\"raisebox\",names:[\"\\\\raisebox\"],props:{numArgs:2,argTypes:[\"size\",\"text\"],allowedInText:!0},handler:function(t,e){var r=t.parser,a=Ht(e[0],\"size\").value,n=e[1];return{type:\"raisebox\",mode:r.mode,dy:a,body:n}},htmlBuilder:function(t,e){var r={type:\"text\",mode:t.mode,body:Kt(t.body),font:\"mathrm\"},a={type:\"sizing\",mode:t.mode,body:[r],size:6},n=Fr(a,e),o=zt(t.dy,e);return Lt.makeVList({positionType:\"shift\",positionData:-o,children:[{type:\"elem\",elem:n}]},e)},mathmlBuilder:function(t,e){var r=new pe.MathNode(\"mpadded\",[ye(t.body,e)]),a=t.dy.number+t.dy.unit;return r.setAttribute(\"voffset\",a),r}}),$t({type:\"rule\",names:[\"\\\\rule\"],props:{numArgs:2,numOptionalArgs:1,argTypes:[\"size\",\"size\",\"size\"]},handler:function(t,e,r){var a=t.parser,n=r[0],o=Ht(e[0],\"size\"),i=Ht(e[1],\"size\");return{type:\"rule\",mode:a.mode,shift:n&&Ht(n,\"size\").value,width:o.value,height:i.value}},htmlBuilder:function(t,e){var r=Lt.makeSpan([\"mord\",\"rule\"],[],e),a=zt(t.width,e),n=zt(t.height,e),o=t.shift?zt(t.shift,e):0;return r.style.borderRightWidth=a+\"em\",r.style.borderTopWidth=n+\"em\",r.style.bottom=o+\"em\",r.width=a,r.height=n+o,r.depth=-o,r.maxFontSize=1.125*n*e.sizeMultiplier,r},mathmlBuilder:function(t,e){var r=zt(t.width,e),a=zt(t.height,e),n=t.shift?zt(t.shift,e):0,o=e.color&&e.getColor()||\"black\",i=new pe.MathNode(\"mspace\");i.setAttribute(\"mathbackground\",o),i.setAttribute(\"width\",r+\"em\"),i.setAttribute(\"height\",a+\"em\");var s=new pe.MathNode(\"mpadded\",[i]);return n>=0?s.setAttribute(\"height\",\"+\"+n+\"em\"):(s.setAttribute(\"height\",n+\"em\"),s.setAttribute(\"depth\",\"+\"+-n+\"em\")),s.setAttribute(\"voffset\",n+\"em\"),s}}),$t({type:\"smash\",names:[\"\\\\smash\"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(t,e,r){var a=t.parser,n=!1,o=!1,i=r[0]&&Ht(r[0],\"ordgroup\");if(i)for(var s=\"\",h=0;h<i.body.length;++h){if(\"t\"===(s=i.body[h].text))n=!0;else{if(\"b\"!==s){n=!1,o=!1;break}o=!0}}else n=!0,o=!0;var l=e[0];return{type:\"smash\",mode:a.mode,body:l,smashHeight:n,smashDepth:o}},htmlBuilder:function(t,e){var r=Lt.makeSpan([],[he(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return r;if(t.smashHeight&&(r.height=0,r.children))for(var a=0;a<r.children.length;a++)r.children[a].height=0;if(t.smashDepth&&(r.depth=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].depth=0;var o=Lt.makeVList({positionType:\"firstBaseline\",children:[{type:\"elem\",elem:r}]},e);return Lt.makeSpan([\"mord\"],[o],e)},mathmlBuilder:function(t,e){var r=new pe.MathNode(\"mpadded\",[ye(t.body,e)]);return t.smashHeight&&r.setAttribute(\"height\",\"0px\"),t.smashDepth&&r.setAttribute(\"depth\",\"0px\"),r}}),$t({type:\"sqrt\",names:[\"\\\\sqrt\"],props:{numArgs:1,numOptionalArgs:1},handler:function(t,e,r){var a=t.parser,n=r[0],o=e[0];return{type:\"sqrt\",mode:a.mode,body:o,index:n}},htmlBuilder:function(t,e){var r=he(t.body,e.havingCrampedStyle());0===r.height&&(r.height=e.fontMetrics().xHeight),r=Lt.wrapFragment(r,e);var a=e.fontMetrics().defaultRuleThickness,n=a;e.style.id<w.TEXT.id&&(n=e.fontMetrics().xHeight);var o=a+n/4,i=r.height+r.depth+o+a,s=Qe(i,e),h=s.span,l=s.ruleWidth,m=s.advanceWidth,c=h.height-l;c>r.height+r.depth+o&&(o=(o+c-r.height-r.depth)/2);var u=h.height-r.height-o-l;r.style.paddingLeft=m+\"em\";var d=Lt.makeVList({positionType:\"firstBaseline\",children:[{type:\"elem\",elem:r,wrapperClasses:[\"svg-align\"]},{type:\"kern\",size:-(r.height+u)},{type:\"elem\",elem:h},{type:\"kern\",size:l}]},e);if(t.index){var p=e.havingStyle(w.SCRIPTSCRIPT),f=he(t.index,p,e),g=.6*(d.height-d.depth),x=Lt.makeVList({positionType:\"shift\",positionData:-g,children:[{type:\"elem\",elem:f}]},e),v=Lt.makeSpan([\"root\"],[x]);return Lt.makeSpan([\"mord\",\"sqrt\"],[v,d],e)}return Lt.makeSpan([\"mord\",\"sqrt\"],[d],e)},mathmlBuilder:function(t,e){var r=t.body,a=t.index;return a?new pe.MathNode(\"mroot\",[ye(r,e),ye(a,e)]):new pe.MathNode(\"msqrt\",[ye(r,e)])}});var Vr={display:w.DISPLAY,text:w.TEXT,script:w.SCRIPT,scriptscript:w.SCRIPTSCRIPT};$t({type:\"styling\",names:[\"\\\\displaystyle\",\"\\\\textstyle\",\"\\\\scriptstyle\",\"\\\\scriptscriptstyle\"],props:{numArgs:0,allowedInText:!0},handler:function(t,e){var r=t.breakOnTokenText,a=t.funcName,n=t.parser,o=n.parseExpression(!0,r),i=a.slice(1,a.length-5);return{type:\"styling\",mode:n.mode,style:i,body:o}},htmlBuilder:function(t,e){var r=Vr[t.style],a=e.havingStyle(r).withFont(\"\");return Pr(t.body,a,e)},mathmlBuilder:function(t,e){var r={display:w.DISPLAY,text:w.TEXT,script:w.SCRIPT,scriptscript:w.SCRIPTSCRIPT}[t.style],a=e.havingStyle(r),n=ve(t.body,a),o=new pe.MathNode(\"mstyle\",n),i={display:[\"0\",\"true\"],text:[\"0\",\"false\"],script:[\"1\",\"false\"],scriptscript:[\"2\",\"false\"]}[t.style];return o.setAttribute(\"scriptlevel\",i[0]),o.setAttribute(\"displaystyle\",i[1]),o}});Zt({type:\"supsub\",htmlBuilder:function(t,e){var r=function(t,e){var r=t.base;return r?\"op\"===r.type?r.limits&&(e.style.size===w.DISPLAY.size||r.alwaysHandleSupSub)?Er:null:\"accent\"===r.type?c.isCharacterBox(r.base)?Ce:null:\"horizBrace\"===r.type&&!t.sub===r.isOver?Nr:null:null}(t,e);if(r)return r(t,e);var a,n,o,i=t.base,s=t.sup,h=t.sub,l=he(i,e),m=e.fontMetrics(),u=0,d=0,p=i&&c.isCharacterBox(i);if(s){var f=e.havingStyle(e.style.sup());a=he(s,f,e),p||(u=l.height-f.fontMetrics().supDrop*f.sizeMultiplier/e.sizeMultiplier)}if(h){var g=e.havingStyle(e.style.sub());n=he(h,g,e),p||(d=l.depth+g.fontMetrics().subDrop*g.sizeMultiplier/e.sizeMultiplier)}o=e.style===w.DISPLAY?m.sup1:e.style.cramped?m.sup3:m.sup2;var x,v=e.sizeMultiplier,b=.5/m.ptPerEm/v+\"em\",y=null;if(n){var k=t.base&&\"op\"===t.base.type&&t.base.name&&(\"\\\\oiint\"===t.base.name||\"\\\\oiiint\"===t.base.name);(l instanceof E||k)&&(y=-l.italic+\"em\")}if(a&&n){u=Math.max(u,o,a.depth+.25*m.xHeight),d=Math.max(d,m.sub2);var S=4*m.defaultRuleThickness;if(u-a.depth-(n.height-d)<S){d=S-(u-a.depth)+n.height;var z=.8*m.xHeight-(u-a.depth);z>0&&(u+=z,d-=z)}var M=[{type:\"elem\",elem:n,shift:d,marginRight:b,marginLeft:y},{type:\"elem\",elem:a,shift:-u,marginRight:b}];x=Lt.makeVList({positionType:\"individualShift\",children:M},e)}else if(n){d=Math.max(d,m.sub1,n.height-.8*m.xHeight);var T=[{type:\"elem\",elem:n,marginLeft:y,marginRight:b}];x=Lt.makeVList({positionType:\"shift\",positionData:d,children:T},e)}else{if(!a)throw new Error(\"supsub must have either sup or sub.\");u=Math.max(u,o,a.depth+.25*m.xHeight),x=Lt.makeVList({positionType:\"shift\",positionData:-u,children:[{type:\"elem\",elem:a,marginRight:b}]},e)}var A=ie(l,\"right\")||\"mord\";return Lt.makeSpan([A],[l,Lt.makeSpan([\"msupsub\"],[x])],e)},mathmlBuilder:function(t,e){var r,a=!1,n=Pt(t.base,\"horizBrace\");n&&!!t.sup===n.isOver&&(a=!0,r=n.isOver),t.base&&\"op\"===t.base.type&&(t.base.parentIsSupSub=!0);var o,i=[ye(t.base,e)];if(t.sub&&i.push(ye(t.sub,e)),t.sup&&i.push(ye(t.sup,e)),a)o=r?\"mover\":\"munder\";else if(t.sub)if(t.sup){var s=t.base;o=s&&\"op\"===s.type&&s.limits&&e.style===w.DISPLAY?\"munderover\":\"msubsup\"}else{var h=t.base;o=h&&\"op\"===h.type&&h.limits&&(e.style===w.DISPLAY||h.alwaysHandleSupSub)?\"munder\":\"msub\"}else{var l=t.base;o=l&&\"op\"===l.type&&l.limits&&(e.style===w.DISPLAY||l.alwaysHandleSupSub)?\"mover\":\"msup\"}return new pe.MathNode(o,i)}}),Zt({type:\"atom\",htmlBuilder:function(t,e){return Lt.mathsym(t.text,t.mode,e,[\"m\"+t.family])},mathmlBuilder:function(t,e){var r=new pe.MathNode(\"mo\",[fe(t.text,t.mode)]);if(\"bin\"===t.family){var a=xe(t,e);\"bold-italic\"===a&&r.setAttribute(\"mathvariant\",a)}else\"punct\"===t.family?r.setAttribute(\"separator\",\"true\"):\"open\"!==t.family&&\"close\"!==t.family||r.setAttribute(\"stretchy\",\"false\");return r}});var Ur={mi:\"italic\",mn:\"normal\",mtext:\"normal\"};Zt({type:\"mathord\",htmlBuilder:function(t,e){return Lt.makeOrd(t,e,\"mathord\")},mathmlBuilder:function(t,e){var r=new pe.MathNode(\"mi\",[fe(t.text,t.mode,e)]),a=xe(t,e)||\"italic\";return a!==Ur[r.type]&&r.setAttribute(\"mathvariant\",a),r}}),Zt({type:\"textord\",htmlBuilder:function(t,e){return Lt.makeOrd(t,e,\"textord\")},mathmlBuilder:function(t,e){var r,a=fe(t.text,t.mode,e),n=xe(t,e)||\"normal\";return r=\"text\"===t.mode?new pe.MathNode(\"mtext\",[a]):/[0-9]/.test(t.text)?new pe.MathNode(\"mn\",[a]):\"\\\\prime\"===t.text?new pe.MathNode(\"mo\",[a]):new pe.MathNode(\"mi\",[a]),n!==Ur[r.type]&&r.setAttribute(\"mathvariant\",n),r}});var Gr={\"\\\\nobreak\":\"nobreak\",\"\\\\allowbreak\":\"allowbreak\"},Xr={\" \":{},\"\\\\ \":{},\"~\":{className:\"nobreak\"},\"\\\\space\":{},\"\\\\nobreakspace\":{className:\"nobreak\"}};Zt({type:\"spacing\",htmlBuilder:function(t,e){if(Xr.hasOwnProperty(t.text)){var r=Xr[t.text].className||\"\";if(\"text\"===t.mode){var a=Lt.makeOrd(t,e,\"textord\");return a.classes.push(r),a}return Lt.makeSpan([\"mspace\",r],[Lt.mathsym(t.text,t.mode,e)],e)}if(Gr.hasOwnProperty(t.text))return Lt.makeSpan([\"mspace\",Gr[t.text]],[],e);throw new i('Unknown type of space \"'+t.text+'\"')},mathmlBuilder:function(t,e){if(!Xr.hasOwnProperty(t.text)){if(Gr.hasOwnProperty(t.text))return new pe.MathNode(\"mspace\");throw new i('Unknown type of space \"'+t.text+'\"')}return new pe.MathNode(\"mtext\",[new pe.TextNode(\"\\xa0\")])}});var Yr=function(){var t=new pe.MathNode(\"mtd\",[]);return t.setAttribute(\"width\",\"50%\"),t};Zt({type:\"tag\",mathmlBuilder:function(t,e){var r=new pe.MathNode(\"mtable\",[new pe.MathNode(\"mtr\",[Yr(),new pe.MathNode(\"mtd\",[be(t.body,e)]),Yr(),new pe.MathNode(\"mtd\",[be(t.tag,e)])])]);return r.setAttribute(\"width\",\"100%\"),r}});var _r={\"\\\\text\":void 0,\"\\\\textrm\":\"textrm\",\"\\\\textsf\":\"textsf\",\"\\\\texttt\":\"texttt\",\"\\\\textnormal\":\"textrm\"},Wr={\"\\\\textbf\":\"textbf\",\"\\\\textmd\":\"textmd\"},jr={\"\\\\textit\":\"textit\",\"\\\\textup\":\"textup\"},$r=function(t,e){var r=t.font;return r?_r[r]?e.withTextFontFamily(_r[r]):Wr[r]?e.withTextFontWeight(Wr[r]):e.withTextFontShape(jr[r]):e};$t({type:\"text\",names:[\"\\\\text\",\"\\\\textrm\",\"\\\\textsf\",\"\\\\texttt\",\"\\\\textnormal\",\"\\\\textbf\",\"\\\\textmd\",\"\\\\textit\",\"\\\\textup\"],props:{numArgs:1,argTypes:[\"text\"],greediness:2,allowedInText:!0,consumeMode:\"text\"},handler:function(t,e){var r=t.parser,a=t.funcName,n=e[0];return{type:\"text\",mode:r.mode,body:Kt(n),font:a}},htmlBuilder:function(t,e){var r=$r(t,e),a=ae(t.body,r,!0);return Lt.makeSpan([\"mord\",\"text\"],Lt.tryCombineChars(a),r)},mathmlBuilder:function(t,e){var r=$r(t,e);return be(t.body,r)}}),$t({type:\"underline\",names:[\"\\\\underline\"],props:{numArgs:1,allowedInText:!0},handler:function(t,e){return{type:\"underline\",mode:t.parser.mode,body:e[0]}},htmlBuilder:function(t,e){var r=he(t.body,e),a=Lt.makeLineSpan(\"underline-line\",e),n=Lt.makeVList({positionType:\"top\",positionData:r.height,children:[{type:\"kern\",size:a.height},{type:\"elem\",elem:a},{type:\"kern\",size:3*a.height},{type:\"elem\",elem:r}]},e);return Lt.makeSpan([\"mord\",\"underline\"],[n],e)},mathmlBuilder:function(t,e){var r=new pe.MathNode(\"mo\",[new pe.TextNode(\"\\u203e\")]);r.setAttribute(\"stretchy\",\"true\");var a=new pe.MathNode(\"munder\",[ye(t.body,e),r]);return a.setAttribute(\"accentunder\",\"true\"),a}}),$t({type:\"verb\",names:[\"\\\\verb\"],props:{numArgs:0,allowedInText:!0},handler:function(t,e,r){throw new i(\"\\\\verb ended by end of line instead of matching delimiter\")},htmlBuilder:function(t,e){for(var r=Zr(t),a=[],n=e.havingStyle(e.style.text()),o=0;o<r.length;o++){var i=r[o];\"~\"===i&&(i=\"\\\\textasciitilde\"),a.push(Lt.makeSymbol(i,\"Typewriter-Regular\",t.mode,n,[\"mord\",\"texttt\"]))}return Lt.makeSpan([\"mord\",\"text\"].concat(n.sizingClasses(e)),Lt.tryCombineChars(a),n)},mathmlBuilder:function(t,e){var r=new pe.TextNode(Zr(t)),a=new pe.MathNode(\"mtext\",[r]);return a.setAttribute(\"mathvariant\",\"monospace\"),a}});var Zr=function(t){return t.body.replace(/ /g,t.star?\"\\u2423\":\"\\xa0\")},Kr=_t,Jr=new RegExp(\"^(\\\\\\\\[a-zA-Z@]+)[ \\r\\n\\t]*$\"),Qr=new RegExp(\"[\\u0300-\\u036f]+$\"),ta=\"([ \\r\\n\\t]+)|([!-\\\\[\\\\]-\\u2027\\u202a-\\ud7ff\\uf900-\\uffff][\\u0300-\\u036f]*|[\\ud800-\\udbff][\\udc00-\\udfff][\\u0300-\\u036f]*|\\\\\\\\verb\\\\*([^]).*?\\\\3|\\\\\\\\verb([^*a-zA-Z]).*?\\\\4|\\\\\\\\[a-zA-Z@]+[ \\r\\n\\t]*|\\\\\\\\[^\\ud800-\\udfff])\",ea=function(){function t(t,e){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=e,this.tokenRegex=new RegExp(ta,\"g\"),this.catcodes={\"%\":14}}var e=t.prototype;return e.setCatcode=function(t,e){this.catcodes[t]=e},e.lex=function(){var t=this.input,e=this.tokenRegex.lastIndex;if(e===t.length)return new n(\"EOF\",new a(this,e,e));var r=this.tokenRegex.exec(t);if(null===r||r.index!==e)throw new i(\"Unexpected character: '\"+t[e]+\"'\",new n(t[e],new a(this,e,e+1)));var o=r[2]||\" \";if(14===this.catcodes[o]){var s=t.indexOf(\"\\n\",this.tokenRegex.lastIndex);return-1===s?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict(\"commentAtEnd\",\"% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)\")):this.tokenRegex.lastIndex=s+1,this.lex()}var h=o.match(Jr);return h&&(o=h[1]),new n(o,new a(this,e,this.tokenRegex.lastIndex))},t}(),ra=function(){function t(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=e,this.builtins=t,this.undefStack=[]}var e=t.prototype;return e.beginGroup=function(){this.undefStack.push({})},e.endGroup=function(){if(0===this.undefStack.length)throw new i(\"Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug\");var t=this.undefStack.pop();for(var e in t)t.hasOwnProperty(e)&&(void 0===t[e]?delete this.current[e]:this.current[e]=t[e])},e.has=function(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)},e.get=function(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]},e.set=function(t,e,r){if(void 0===r&&(r=!1),r){for(var a=0;a<this.undefStack.length;a++)delete this.undefStack[a][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=e)}else{var n=this.undefStack[this.undefStack.length-1];n&&!n.hasOwnProperty(t)&&(n[t]=this.current[t])}this.current[t]=e},t}(),aa={},na=aa;function oa(t,e){aa[t]=e}oa(\"\\\\@firstoftwo\",function(t){return{tokens:t.consumeArgs(2)[0],numArgs:0}}),oa(\"\\\\@secondoftwo\",function(t){return{tokens:t.consumeArgs(2)[1],numArgs:0}}),oa(\"\\\\@ifnextchar\",function(t){var e=t.consumeArgs(3),r=t.future();return 1===e[0].length&&e[0][0].text===r.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}}),oa(\"\\\\@ifstar\",\"\\\\@ifnextchar *{\\\\@firstoftwo{#1}}\"),oa(\"\\\\TextOrMath\",function(t){var e=t.consumeArgs(2);return\"text\"===t.mode?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var ia={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};oa(\"\\\\char\",function(t){var e,r=t.popToken(),a=\"\";if(\"'\"===r.text)e=8,r=t.popToken();else if('\"'===r.text)e=16,r=t.popToken();else if(\"`\"===r.text)if(\"\\\\\"===(r=t.popToken()).text[0])a=r.text.charCodeAt(1);else{if(\"EOF\"===r.text)throw new i(\"\\\\char` missing argument\");a=r.text.charCodeAt(0)}else e=10;if(e){if(null==(a=ia[r.text])||a>=e)throw new i(\"Invalid base-\"+e+\" digit \"+r.text);for(var n;null!=(n=ia[t.future().text])&&n<e;)a*=e,a+=n,t.popToken()}return\"\\\\@char{\"+a+\"}\"});var sa=function(t,e){var r=t.consumeArgs(1)[0];if(1!==r.length)throw new i(\"\\\\gdef's first argument must be a macro name\");var a=r[0].text,n=0;for(r=t.consumeArgs(1)[0];1===r.length&&\"#\"===r[0].text;){if(1!==(r=t.consumeArgs(1)[0]).length)throw new i('Invalid argument number length \"'+r.length+'\"');if(!/^[1-9]$/.test(r[0].text))throw new i('Invalid argument number \"'+r[0].text+'\"');if(n++,parseInt(r[0].text)!==n)throw new i('Argument number \"'+r[0].text+'\" out of order');r=t.consumeArgs(1)[0]}return t.macros.set(a,{tokens:r,numArgs:n},e),\"\"};oa(\"\\\\gdef\",function(t){return sa(t,!0)}),oa(\"\\\\def\",function(t){return sa(t,!1)}),oa(\"\\\\global\",function(t){var e=t.consumeArgs(1)[0];if(1!==e.length)throw new i(\"Invalid command after \\\\global\");var r=e[0].text;if(\"\\\\def\"===r)return sa(t,!0);throw new i(\"Invalid command '\"+r+\"' after \\\\global\")});var ha=function(t,e,r){var a=t.consumeArgs(1)[0];if(1!==a.length)throw new i(\"\\\\newcommand's first argument must be a macro name\");var n=a[0].text,o=t.isDefined(n);if(o&&!e)throw new i(\"\\\\newcommand{\"+n+\"} attempting to redefine \"+n+\"; use \\\\renewcommand\");if(!o&&!r)throw new i(\"\\\\renewcommand{\"+n+\"} when command \"+n+\" does not yet exist; use \\\\newcommand\");var s=0;if(1===(a=t.consumeArgs(1)[0]).length&&\"[\"===a[0].text){for(var h=\"\",l=t.expandNextToken();\"]\"!==l.text&&\"EOF\"!==l.text;)h+=l.text,l=t.expandNextToken();if(!h.match(/^\\s*[0-9]+\\s*$/))throw new i(\"Invalid number of arguments: \"+h);s=parseInt(h),a=t.consumeArgs(1)[0]}return t.macros.set(n,{tokens:a,numArgs:s}),\"\"};oa(\"\\\\newcommand\",function(t){return ha(t,!1,!0)}),oa(\"\\\\renewcommand\",function(t){return ha(t,!0,!1)}),oa(\"\\\\providecommand\",function(t){return ha(t,!0,!0)}),oa(\"\\\\bgroup\",\"{\"),oa(\"\\\\egroup\",\"}\"),oa(\"\\\\lq\",\"`\"),oa(\"\\\\rq\",\"'\"),oa(\"\\\\aa\",\"\\\\r a\"),oa(\"\\\\AA\",\"\\\\r A\"),oa(\"\\\\textcopyright\",\"\\\\html@mathml{\\\\textcircled{c}}{\\\\char`\\xa9}\"),oa(\"\\\\copyright\",\"\\\\TextOrMath{\\\\textcopyright}{\\\\text{\\\\textcopyright}}\"),oa(\"\\\\textregistered\",\"\\\\html@mathml{\\\\textcircled{\\\\scriptsize R}}{\\\\char`\\xae}\"),oa(\"\\u212c\",\"\\\\mathscr{B}\"),oa(\"\\u2130\",\"\\\\mathscr{E}\"),oa(\"\\u2131\",\"\\\\mathscr{F}\"),oa(\"\\u210b\",\"\\\\mathscr{H}\"),oa(\"\\u2110\",\"\\\\mathscr{I}\"),oa(\"\\u2112\",\"\\\\mathscr{L}\"),oa(\"\\u2133\",\"\\\\mathscr{M}\"),oa(\"\\u211b\",\"\\\\mathscr{R}\"),oa(\"\\u212d\",\"\\\\mathfrak{C}\"),oa(\"\\u210c\",\"\\\\mathfrak{H}\"),oa(\"\\u2128\",\"\\\\mathfrak{Z}\"),oa(\"\\\\Bbbk\",\"\\\\Bbb{k}\"),oa(\"\\xb7\",\"\\\\cdotp\"),oa(\"\\\\llap\",\"\\\\mathllap{\\\\textrm{#1}}\"),oa(\"\\\\rlap\",\"\\\\mathrlap{\\\\textrm{#1}}\"),oa(\"\\\\clap\",\"\\\\mathclap{\\\\textrm{#1}}\"),oa(\"\\\\not\",'\\\\html@mathml{\\\\mathrel{\\\\mathrlap\\\\@not}}{\\\\char\"338}'),oa(\"\\\\neq\",\"\\\\html@mathml{\\\\mathrel{\\\\not=}}{\\\\mathrel{\\\\char`\\u2260}}\"),oa(\"\\\\ne\",\"\\\\neq\"),oa(\"\\u2260\",\"\\\\neq\"),oa(\"\\\\notin\",\"\\\\html@mathml{\\\\mathrel{{\\\\in}\\\\mathllap{/\\\\mskip1mu}}}{\\\\mathrel{\\\\char`\\u2209}}\"),oa(\"\\u2209\",\"\\\\notin\"),oa(\"\\u2258\",\"\\\\html@mathml{\\\\mathrel{=\\\\kern{-1em}\\\\raisebox{0.4em}{$\\\\scriptsize\\\\frown$}}}{\\\\mathrel{\\\\char`\\u2258}}\"),oa(\"\\u2259\",\"\\\\html@mathml{\\\\stackrel{\\\\tiny\\\\wedge}{=}}{\\\\mathrel{\\\\char`\\u2258}}\"),oa(\"\\u225a\",\"\\\\html@mathml{\\\\stackrel{\\\\tiny\\\\vee}{=}}{\\\\mathrel{\\\\char`\\u225a}}\"),oa(\"\\u225b\",\"\\\\html@mathml{\\\\stackrel{\\\\scriptsize\\\\star}{=}}{\\\\mathrel{\\\\char`\\u225b}}\"),oa(\"\\u225d\",\"\\\\html@mathml{\\\\stackrel{\\\\tiny\\\\mathrm{def}}{=}}{\\\\mathrel{\\\\char`\\u225d}}\"),oa(\"\\u225e\",\"\\\\html@mathml{\\\\stackrel{\\\\tiny\\\\mathrm{m}}{=}}{\\\\mathrel{\\\\char`\\u225e}}\"),oa(\"\\u225f\",\"\\\\html@mathml{\\\\stackrel{\\\\tiny?}{=}}{\\\\mathrel{\\\\char`\\u225f}}\"),oa(\"\\u27c2\",\"\\\\perp\"),oa(\"\\u203c\",\"\\\\mathclose{!\\\\mkern-0.8mu!}\"),oa(\"\\u220c\",\"\\\\notni\"),oa(\"\\u231c\",\"\\\\ulcorner\"),oa(\"\\u231d\",\"\\\\urcorner\"),oa(\"\\u231e\",\"\\\\llcorner\"),oa(\"\\u231f\",\"\\\\lrcorner\"),oa(\"\\xa9\",\"\\\\copyright\"),oa(\"\\xae\",\"\\\\textregistered\"),oa(\"\\ufe0f\",\"\\\\textregistered\"),oa(\"\\\\vdots\",\"\\\\mathord{\\\\varvdots\\\\rule{0pt}{15pt}}\"),oa(\"\\u22ee\",\"\\\\vdots\"),oa(\"\\\\varGamma\",\"\\\\mathit{\\\\Gamma}\"),oa(\"\\\\varDelta\",\"\\\\mathit{\\\\Delta}\"),oa(\"\\\\varTheta\",\"\\\\mathit{\\\\Theta}\"),oa(\"\\\\varLambda\",\"\\\\mathit{\\\\Lambda}\"),oa(\"\\\\varXi\",\"\\\\mathit{\\\\Xi}\"),oa(\"\\\\varPi\",\"\\\\mathit{\\\\Pi}\"),oa(\"\\\\varSigma\",\"\\\\mathit{\\\\Sigma}\"),oa(\"\\\\varUpsilon\",\"\\\\mathit{\\\\Upsilon}\"),oa(\"\\\\varPhi\",\"\\\\mathit{\\\\Phi}\"),oa(\"\\\\varPsi\",\"\\\\mathit{\\\\Psi}\"),oa(\"\\\\varOmega\",\"\\\\mathit{\\\\Omega}\"),oa(\"\\\\colon\",\"\\\\nobreak\\\\mskip2mu\\\\mathpunct{}\\\\mathchoice{\\\\mkern-3mu}{\\\\mkern-3mu}{}{}{:}\\\\mskip6mu\"),oa(\"\\\\boxed\",\"\\\\fbox{$\\\\displaystyle{#1}$}\"),oa(\"\\\\iff\",\"\\\\DOTSB\\\\;\\\\Longleftrightarrow\\\\;\"),oa(\"\\\\implies\",\"\\\\DOTSB\\\\;\\\\Longrightarrow\\\\;\"),oa(\"\\\\impliedby\",\"\\\\DOTSB\\\\;\\\\Longleftarrow\\\\;\");var la={\",\":\"\\\\dotsc\",\"\\\\not\":\"\\\\dotsb\",\"+\":\"\\\\dotsb\",\"=\":\"\\\\dotsb\",\"<\":\"\\\\dotsb\",\">\":\"\\\\dotsb\",\"-\":\"\\\\dotsb\",\"*\":\"\\\\dotsb\",\":\":\"\\\\dotsb\",\"\\\\DOTSB\":\"\\\\dotsb\",\"\\\\coprod\":\"\\\\dotsb\",\"\\\\bigvee\":\"\\\\dotsb\",\"\\\\bigwedge\":\"\\\\dotsb\",\"\\\\biguplus\":\"\\\\dotsb\",\"\\\\bigcap\":\"\\\\dotsb\",\"\\\\bigcup\":\"\\\\dotsb\",\"\\\\prod\":\"\\\\dotsb\",\"\\\\sum\":\"\\\\dotsb\",\"\\\\bigotimes\":\"\\\\dotsb\",\"\\\\bigoplus\":\"\\\\dotsb\",\"\\\\bigodot\":\"\\\\dotsb\",\"\\\\bigsqcup\":\"\\\\dotsb\",\"\\\\And\":\"\\\\dotsb\",\"\\\\longrightarrow\":\"\\\\dotsb\",\"\\\\Longrightarrow\":\"\\\\dotsb\",\"\\\\longleftarrow\":\"\\\\dotsb\",\"\\\\Longleftarrow\":\"\\\\dotsb\",\"\\\\longleftrightarrow\":\"\\\\dotsb\",\"\\\\Longleftrightarrow\":\"\\\\dotsb\",\"\\\\mapsto\":\"\\\\dotsb\",\"\\\\longmapsto\":\"\\\\dotsb\",\"\\\\hookrightarrow\":\"\\\\dotsb\",\"\\\\doteq\":\"\\\\dotsb\",\"\\\\mathbin\":\"\\\\dotsb\",\"\\\\mathrel\":\"\\\\dotsb\",\"\\\\relbar\":\"\\\\dotsb\",\"\\\\Relbar\":\"\\\\dotsb\",\"\\\\xrightarrow\":\"\\\\dotsb\",\"\\\\xleftarrow\":\"\\\\dotsb\",\"\\\\DOTSI\":\"\\\\dotsi\",\"\\\\int\":\"\\\\dotsi\",\"\\\\oint\":\"\\\\dotsi\",\"\\\\iint\":\"\\\\dotsi\",\"\\\\iiint\":\"\\\\dotsi\",\"\\\\iiiint\":\"\\\\dotsi\",\"\\\\idotsint\":\"\\\\dotsi\",\"\\\\DOTSX\":\"\\\\dotsx\"};oa(\"\\\\dots\",function(t){var e=\"\\\\dotso\",r=t.expandAfterFuture().text;return r in la?e=la[r]:\"\\\\not\"===r.substr(0,4)?e=\"\\\\dotsb\":r in _.math&&c.contains([\"bin\",\"rel\"],_.math[r].group)&&(e=\"\\\\dotsb\"),e});var ma={\")\":!0,\"]\":!0,\"\\\\rbrack\":!0,\"\\\\}\":!0,\"\\\\rbrace\":!0,\"\\\\rangle\":!0,\"\\\\rceil\":!0,\"\\\\rfloor\":!0,\"\\\\rgroup\":!0,\"\\\\rmoustache\":!0,\"\\\\right\":!0,\"\\\\bigr\":!0,\"\\\\biggr\":!0,\"\\\\Bigr\":!0,\"\\\\Biggr\":!0,$:!0,\";\":!0,\".\":!0,\",\":!0};oa(\"\\\\dotso\",function(t){return t.future().text in ma?\"\\\\ldots\\\\,\":\"\\\\ldots\"}),oa(\"\\\\dotsc\",function(t){var e=t.future().text;return e in ma&&\",\"!==e?\"\\\\ldots\\\\,\":\"\\\\ldots\"}),oa(\"\\\\cdots\",function(t){return t.future().text in ma?\"\\\\@cdots\\\\,\":\"\\\\@cdots\"}),oa(\"\\\\dotsb\",\"\\\\cdots\"),oa(\"\\\\dotsm\",\"\\\\cdots\"),oa(\"\\\\dotsi\",\"\\\\!\\\\cdots\"),oa(\"\\\\dotsx\",\"\\\\ldots\\\\,\"),oa(\"\\\\DOTSI\",\"\\\\relax\"),oa(\"\\\\DOTSB\",\"\\\\relax\"),oa(\"\\\\DOTSX\",\"\\\\relax\"),oa(\"\\\\tmspace\",\"\\\\TextOrMath{\\\\kern#1#3}{\\\\mskip#1#2}\\\\relax\"),oa(\"\\\\,\",\"\\\\tmspace+{3mu}{.1667em}\"),oa(\"\\\\thinspace\",\"\\\\,\"),oa(\"\\\\>\",\"\\\\mskip{4mu}\"),oa(\"\\\\:\",\"\\\\tmspace+{4mu}{.2222em}\"),oa(\"\\\\medspace\",\"\\\\:\"),oa(\"\\\\;\",\"\\\\tmspace+{5mu}{.2777em}\"),oa(\"\\\\thickspace\",\"\\\\;\"),oa(\"\\\\!\",\"\\\\tmspace-{3mu}{.1667em}\"),oa(\"\\\\negthinspace\",\"\\\\!\"),oa(\"\\\\negmedspace\",\"\\\\tmspace-{4mu}{.2222em}\"),oa(\"\\\\negthickspace\",\"\\\\tmspace-{5mu}{.277em}\"),oa(\"\\\\enspace\",\"\\\\kern.5em \"),oa(\"\\\\enskip\",\"\\\\hskip.5em\\\\relax\"),oa(\"\\\\quad\",\"\\\\hskip1em\\\\relax\"),oa(\"\\\\qquad\",\"\\\\hskip2em\\\\relax\"),oa(\"\\\\tag\",\"\\\\@ifstar\\\\tag@literal\\\\tag@paren\"),oa(\"\\\\tag@paren\",\"\\\\tag@literal{({#1})}\"),oa(\"\\\\tag@literal\",function(t){if(t.macros.get(\"\\\\df@tag\"))throw new i(\"Multiple \\\\tag\");return\"\\\\gdef\\\\df@tag{\\\\text{#1}}\"}),oa(\"\\\\bmod\",\"\\\\mathchoice{\\\\mskip1mu}{\\\\mskip1mu}{\\\\mskip5mu}{\\\\mskip5mu}\\\\mathbin{\\\\rm mod}\\\\mathchoice{\\\\mskip1mu}{\\\\mskip1mu}{\\\\mskip5mu}{\\\\mskip5mu}\"),oa(\"\\\\pod\",\"\\\\allowbreak\\\\mathchoice{\\\\mkern18mu}{\\\\mkern8mu}{\\\\mkern8mu}{\\\\mkern8mu}(#1)\"),oa(\"\\\\pmod\",\"\\\\pod{{\\\\rm mod}\\\\mkern6mu#1}\"),oa(\"\\\\mod\",\"\\\\allowbreak\\\\mathchoice{\\\\mkern18mu}{\\\\mkern12mu}{\\\\mkern12mu}{\\\\mkern12mu}{\\\\rm mod}\\\\,\\\\,#1\"),oa(\"\\\\pmb\",\"\\\\html@mathml{\\\\@binrel{#1}{\\\\mathrlap{#1}\\\\mathrlap{\\\\mkern0.4mu\\\\raisebox{0.4mu}{$#1$}}{\\\\mkern0.8mu#1}}}{\\\\mathbf{#1}}\"),oa(\"\\\\\\\\\",\"\\\\newline\"),oa(\"\\\\TeX\",\"\\\\textrm{\\\\html@mathml{T\\\\kern-.1667em\\\\raisebox{-.5ex}{E}\\\\kern-.125emX}{TeX}}\");var ca=P[\"Main-Regular\"][\"T\".charCodeAt(0)][1]-.7*P[\"Main-Regular\"][\"A\".charCodeAt(0)][1]+\"em\";oa(\"\\\\LaTeX\",\"\\\\textrm{\\\\html@mathml{L\\\\kern-.36em\\\\raisebox{\"+ca+\"}{\\\\scriptsize A}\\\\kern-.15em\\\\TeX}{LaTeX}}\"),oa(\"\\\\KaTeX\",\"\\\\textrm{\\\\html@mathml{K\\\\kern-.17em\\\\raisebox{\"+ca+\"}{\\\\scriptsize A}\\\\kern-.15em\\\\TeX}{KaTeX}}\"),oa(\"\\\\hspace\",\"\\\\@ifstar\\\\@hspacer\\\\@hspace\"),oa(\"\\\\@hspace\",\"\\\\hskip #1\\\\relax\"),oa(\"\\\\@hspacer\",\"\\\\rule{0pt}{0pt}\\\\hskip #1\\\\relax\"),oa(\"\\\\ordinarycolon\",\":\"),oa(\"\\\\vcentcolon\",\"\\\\mathrel{\\\\mathop\\\\ordinarycolon}\"),oa(\"\\\\dblcolon\",'\\\\html@mathml{\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-.9mu}\\\\vcentcolon}}{\\\\mathop{\\\\char\"2237}}'),oa(\"\\\\coloneqq\",'\\\\html@mathml{\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}=}}{\\\\mathop{\\\\char\"2254}}'),oa(\"\\\\Coloneqq\",'\\\\html@mathml{\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}=}}{\\\\mathop{\\\\char\"2237\\\\char\"3d}}'),oa(\"\\\\coloneq\",'\\\\html@mathml{\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\mathrel{-}}}{\\\\mathop{\\\\char\"3a\\\\char\"2212}}'),oa(\"\\\\Coloneq\",'\\\\html@mathml{\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\mathrel{-}}}{\\\\mathop{\\\\char\"2237\\\\char\"2212}}'),oa(\"\\\\eqqcolon\",'\\\\html@mathml{\\\\mathrel{=\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}}{\\\\mathop{\\\\char\"2255}}'),oa(\"\\\\Eqqcolon\",'\\\\html@mathml{\\\\mathrel{=\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}}{\\\\mathop{\\\\char\"3d\\\\char\"2237}}'),oa(\"\\\\eqcolon\",'\\\\html@mathml{\\\\mathrel{\\\\mathrel{-}\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}}{\\\\mathop{\\\\char\"2239}}'),oa(\"\\\\Eqcolon\",'\\\\html@mathml{\\\\mathrel{\\\\mathrel{-}\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}}{\\\\mathop{\\\\char\"2212\\\\char\"2237}}'),oa(\"\\\\colonapprox\",'\\\\html@mathml{\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\approx}}{\\\\mathop{\\\\char\"3a\\\\char\"2248}}'),oa(\"\\\\Colonapprox\",'\\\\html@mathml{\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\approx}}{\\\\mathop{\\\\char\"2237\\\\char\"2248}}'),oa(\"\\\\colonsim\",'\\\\html@mathml{\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\sim}}{\\\\mathop{\\\\char\"3a\\\\char\"223c}}'),oa(\"\\\\Colonsim\",'\\\\html@mathml{\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\sim}}{\\\\mathop{\\\\char\"2237\\\\char\"223c}}'),oa(\"\\u2237\",\"\\\\dblcolon\"),oa(\"\\u2239\",\"\\\\eqcolon\"),oa(\"\\u2254\",\"\\\\coloneqq\"),oa(\"\\u2255\",\"\\\\eqqcolon\"),oa(\"\\u2a74\",\"\\\\Coloneqq\"),oa(\"\\\\ratio\",\"\\\\vcentcolon\"),oa(\"\\\\coloncolon\",\"\\\\dblcolon\"),oa(\"\\\\colonequals\",\"\\\\coloneqq\"),oa(\"\\\\coloncolonequals\",\"\\\\Coloneqq\"),oa(\"\\\\equalscolon\",\"\\\\eqqcolon\"),oa(\"\\\\equalscoloncolon\",\"\\\\Eqqcolon\"),oa(\"\\\\colonminus\",\"\\\\coloneq\"),oa(\"\\\\coloncolonminus\",\"\\\\Coloneq\"),oa(\"\\\\minuscolon\",\"\\\\eqcolon\"),oa(\"\\\\minuscoloncolon\",\"\\\\Eqcolon\"),oa(\"\\\\coloncolonapprox\",\"\\\\Colonapprox\"),oa(\"\\\\coloncolonsim\",\"\\\\Colonsim\"),oa(\"\\\\simcolon\",\"\\\\mathrel{\\\\sim\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}\"),oa(\"\\\\simcoloncolon\",\"\\\\mathrel{\\\\sim\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}\"),oa(\"\\\\approxcolon\",\"\\\\mathrel{\\\\approx\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}\"),oa(\"\\\\approxcoloncolon\",\"\\\\mathrel{\\\\approx\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}\"),oa(\"\\\\notni\",\"\\\\html@mathml{\\\\not\\\\ni}{\\\\mathrel{\\\\char`\\u220c}}\"),oa(\"\\\\limsup\",\"\\\\DOTSB\\\\mathop{\\\\operatorname{lim\\\\,sup}}\\\\limits\"),oa(\"\\\\liminf\",\"\\\\DOTSB\\\\mathop{\\\\operatorname{lim\\\\,inf}}\\\\limits\"),oa(\"\\\\gvertneqq\",\"\\\\html@mathml{\\\\@gvertneqq}{\\u2269}\"),oa(\"\\\\lvertneqq\",\"\\\\html@mathml{\\\\@lvertneqq}{\\u2268}\"),oa(\"\\\\ngeqq\",\"\\\\html@mathml{\\\\@ngeqq}{\\u2271}\"),oa(\"\\\\ngeqslant\",\"\\\\html@mathml{\\\\@ngeqslant}{\\u2271}\"),oa(\"\\\\nleqq\",\"\\\\html@mathml{\\\\@nleqq}{\\u2270}\"),oa(\"\\\\nleqslant\",\"\\\\html@mathml{\\\\@nleqslant}{\\u2270}\"),oa(\"\\\\nshortmid\",\"\\\\html@mathml{\\\\@nshortmid}{\\u2224}\"),oa(\"\\\\nshortparallel\",\"\\\\html@mathml{\\\\@nshortparallel}{\\u2226}\"),oa(\"\\\\nsubseteqq\",\"\\\\html@mathml{\\\\@nsubseteqq}{\\u2288}\"),oa(\"\\\\nsupseteqq\",\"\\\\html@mathml{\\\\@nsupseteqq}{\\u2289}\"),oa(\"\\\\varsubsetneq\",\"\\\\html@mathml{\\\\@varsubsetneq}{\\u228a}\"),oa(\"\\\\varsubsetneqq\",\"\\\\html@mathml{\\\\@varsubsetneqq}{\\u2acb}\"),oa(\"\\\\varsupsetneq\",\"\\\\html@mathml{\\\\@varsupsetneq}{\\u228b}\"),oa(\"\\\\varsupsetneqq\",\"\\\\html@mathml{\\\\@varsupsetneqq}{\\u2acc}\"),oa(\"\\\\llbracket\",\"\\\\html@mathml{\\\\mathopen{[\\\\mkern-3.2mu[}}{\\\\mathopen{\\\\char`\\u27e6}}\"),oa(\"\\\\rrbracket\",\"\\\\html@mathml{\\\\mathclose{]\\\\mkern-3.2mu]}}{\\\\mathclose{\\\\char`\\u27e7}}\"),oa(\"\\u27e6\",\"\\\\llbracket\"),oa(\"\\u27e7\",\"\\\\rrbracket\"),oa(\"\\\\lBrace\",\"\\\\html@mathml{\\\\mathopen{\\\\{\\\\mkern-3.2mu[}}{\\\\mathopen{\\\\char`\\u2983}}\"),oa(\"\\\\rBrace\",\"\\\\html@mathml{\\\\mathclose{]\\\\mkern-3.2mu\\\\}}}{\\\\mathclose{\\\\char`\\u2984}}\"),oa(\"\\u2983\",\"\\\\lBrace\"),oa(\"\\u2984\",\"\\\\rBrace\"),oa(\"\\\\darr\",\"\\\\downarrow\"),oa(\"\\\\dArr\",\"\\\\Downarrow\"),oa(\"\\\\Darr\",\"\\\\Downarrow\"),oa(\"\\\\lang\",\"\\\\langle\"),oa(\"\\\\rang\",\"\\\\rangle\"),oa(\"\\\\uarr\",\"\\\\uparrow\"),oa(\"\\\\uArr\",\"\\\\Uparrow\"),oa(\"\\\\Uarr\",\"\\\\Uparrow\"),oa(\"\\\\N\",\"\\\\mathbb{N}\"),oa(\"\\\\R\",\"\\\\mathbb{R}\"),oa(\"\\\\Z\",\"\\\\mathbb{Z}\"),oa(\"\\\\alef\",\"\\\\aleph\"),oa(\"\\\\alefsym\",\"\\\\aleph\"),oa(\"\\\\Alpha\",\"\\\\mathrm{A}\"),oa(\"\\\\Beta\",\"\\\\mathrm{B}\"),oa(\"\\\\bull\",\"\\\\bullet\"),oa(\"\\\\Chi\",\"\\\\mathrm{X}\"),oa(\"\\\\clubs\",\"\\\\clubsuit\"),oa(\"\\\\cnums\",\"\\\\mathbb{C}\"),oa(\"\\\\Complex\",\"\\\\mathbb{C}\"),oa(\"\\\\Dagger\",\"\\\\ddagger\"),oa(\"\\\\diamonds\",\"\\\\diamondsuit\"),oa(\"\\\\empty\",\"\\\\emptyset\"),oa(\"\\\\Epsilon\",\"\\\\mathrm{E}\"),oa(\"\\\\Eta\",\"\\\\mathrm{H}\"),oa(\"\\\\exist\",\"\\\\exists\"),oa(\"\\\\harr\",\"\\\\leftrightarrow\"),oa(\"\\\\hArr\",\"\\\\Leftrightarrow\"),oa(\"\\\\Harr\",\"\\\\Leftrightarrow\"),oa(\"\\\\hearts\",\"\\\\heartsuit\"),oa(\"\\\\image\",\"\\\\Im\"),oa(\"\\\\infin\",\"\\\\infty\"),oa(\"\\\\Iota\",\"\\\\mathrm{I}\"),oa(\"\\\\isin\",\"\\\\in\"),oa(\"\\\\Kappa\",\"\\\\mathrm{K}\"),oa(\"\\\\larr\",\"\\\\leftarrow\"),oa(\"\\\\lArr\",\"\\\\Leftarrow\"),oa(\"\\\\Larr\",\"\\\\Leftarrow\"),oa(\"\\\\lrarr\",\"\\\\leftrightarrow\"),oa(\"\\\\lrArr\",\"\\\\Leftrightarrow\"),oa(\"\\\\Lrarr\",\"\\\\Leftrightarrow\"),oa(\"\\\\Mu\",\"\\\\mathrm{M}\"),oa(\"\\\\natnums\",\"\\\\mathbb{N}\"),oa(\"\\\\Nu\",\"\\\\mathrm{N}\"),oa(\"\\\\Omicron\",\"\\\\mathrm{O}\"),oa(\"\\\\plusmn\",\"\\\\pm\"),oa(\"\\\\rarr\",\"\\\\rightarrow\"),oa(\"\\\\rArr\",\"\\\\Rightarrow\"),oa(\"\\\\Rarr\",\"\\\\Rightarrow\"),oa(\"\\\\real\",\"\\\\Re\"),oa(\"\\\\reals\",\"\\\\mathbb{R}\"),oa(\"\\\\Reals\",\"\\\\mathbb{R}\"),oa(\"\\\\Rho\",\"\\\\mathrm{P}\"),oa(\"\\\\sdot\",\"\\\\cdot\"),oa(\"\\\\sect\",\"\\\\S\"),oa(\"\\\\spades\",\"\\\\spadesuit\"),oa(\"\\\\sub\",\"\\\\subset\"),oa(\"\\\\sube\",\"\\\\subseteq\"),oa(\"\\\\supe\",\"\\\\supseteq\"),oa(\"\\\\Tau\",\"\\\\mathrm{T}\"),oa(\"\\\\thetasym\",\"\\\\vartheta\"),oa(\"\\\\weierp\",\"\\\\wp\"),oa(\"\\\\Zeta\",\"\\\\mathrm{Z}\"),oa(\"\\\\argmin\",\"\\\\DOTSB\\\\mathop{\\\\operatorname{arg\\\\,min}}\\\\limits\"),oa(\"\\\\argmax\",\"\\\\DOTSB\\\\mathop{\\\\operatorname{arg\\\\,max}}\\\\limits\"),oa(\"\\\\blue\",\"\\\\textcolor{##6495ed}{#1}\"),oa(\"\\\\orange\",\"\\\\textcolor{##ffa500}{#1}\"),oa(\"\\\\pink\",\"\\\\textcolor{##ff00af}{#1}\"),oa(\"\\\\red\",\"\\\\textcolor{##df0030}{#1}\"),oa(\"\\\\green\",\"\\\\textcolor{##28ae7b}{#1}\"),oa(\"\\\\gray\",\"\\\\textcolor{gray}{##1}\"),oa(\"\\\\purple\",\"\\\\textcolor{##9d38bd}{#1}\"),oa(\"\\\\blueA\",\"\\\\textcolor{##ccfaff}{#1}\"),oa(\"\\\\blueB\",\"\\\\textcolor{##80f6ff}{#1}\"),oa(\"\\\\blueC\",\"\\\\textcolor{##63d9ea}{#1}\"),oa(\"\\\\blueD\",\"\\\\textcolor{##11accd}{#1}\"),oa(\"\\\\blueE\",\"\\\\textcolor{##0c7f99}{#1}\"),oa(\"\\\\tealA\",\"\\\\textcolor{##94fff5}{#1}\"),oa(\"\\\\tealB\",\"\\\\textcolor{##26edd5}{#1}\"),oa(\"\\\\tealC\",\"\\\\textcolor{##01d1c1}{#1}\"),oa(\"\\\\tealD\",\"\\\\textcolor{##01a995}{#1}\"),oa(\"\\\\tealE\",\"\\\\textcolor{##208170}{#1}\"),oa(\"\\\\greenA\",\"\\\\textcolor{##b6ffb0}{#1}\"),oa(\"\\\\greenB\",\"\\\\textcolor{##8af281}{#1}\"),oa(\"\\\\greenC\",\"\\\\textcolor{##74cf70}{#1}\"),oa(\"\\\\greenD\",\"\\\\textcolor{##1fab54}{#1}\"),oa(\"\\\\greenE\",\"\\\\textcolor{##0d923f}{#1}\"),oa(\"\\\\goldA\",\"\\\\textcolor{##ffd0a9}{#1}\"),oa(\"\\\\goldB\",\"\\\\textcolor{##ffbb71}{#1}\"),oa(\"\\\\goldC\",\"\\\\textcolor{##ff9c39}{#1}\"),oa(\"\\\\goldD\",\"\\\\textcolor{##e07d10}{#1}\"),oa(\"\\\\goldE\",\"\\\\textcolor{##a75a05}{#1}\"),oa(\"\\\\redA\",\"\\\\textcolor{##fca9a9}{#1}\"),oa(\"\\\\redB\",\"\\\\textcolor{##ff8482}{#1}\"),oa(\"\\\\redC\",\"\\\\textcolor{##f9685d}{#1}\"),oa(\"\\\\redD\",\"\\\\textcolor{##e84d39}{#1}\"),oa(\"\\\\redE\",\"\\\\textcolor{##bc2612}{#1}\"),oa(\"\\\\maroonA\",\"\\\\textcolor{##ffbde0}{#1}\"),oa(\"\\\\maroonB\",\"\\\\textcolor{##ff92c6}{#1}\"),oa(\"\\\\maroonC\",\"\\\\textcolor{##ed5fa6}{#1}\"),oa(\"\\\\maroonD\",\"\\\\textcolor{##ca337c}{#1}\"),oa(\"\\\\maroonE\",\"\\\\textcolor{##9e034e}{#1}\"),oa(\"\\\\purpleA\",\"\\\\textcolor{##ddd7ff}{#1}\"),oa(\"\\\\purpleB\",\"\\\\textcolor{##c6b9fc}{#1}\"),oa(\"\\\\purpleC\",\"\\\\textcolor{##aa87ff}{#1}\"),oa(\"\\\\purpleD\",\"\\\\textcolor{##7854ab}{#1}\"),oa(\"\\\\purpleE\",\"\\\\textcolor{##543b78}{#1}\"),oa(\"\\\\mintA\",\"\\\\textcolor{##f5f9e8}{#1}\"),oa(\"\\\\mintB\",\"\\\\textcolor{##edf2df}{#1}\"),oa(\"\\\\mintC\",\"\\\\textcolor{##e0e5cc}{#1}\"),oa(\"\\\\grayA\",\"\\\\textcolor{##f6f7f7}{#1}\"),oa(\"\\\\grayB\",\"\\\\textcolor{##f0f1f2}{#1}\"),oa(\"\\\\grayC\",\"\\\\textcolor{##e3e5e6}{#1}\"),oa(\"\\\\grayD\",\"\\\\textcolor{##d6d8da}{#1}\"),oa(\"\\\\grayE\",\"\\\\textcolor{##babec2}{#1}\"),oa(\"\\\\grayF\",\"\\\\textcolor{##888d93}{#1}\"),oa(\"\\\\grayG\",\"\\\\textcolor{##626569}{#1}\"),oa(\"\\\\grayH\",\"\\\\textcolor{##3b3e40}{#1}\"),oa(\"\\\\grayI\",\"\\\\textcolor{##21242c}{#1}\"),oa(\"\\\\kaBlue\",\"\\\\textcolor{##314453}{#1}\"),oa(\"\\\\kaGreen\",\"\\\\textcolor{##71B307}{#1}\");var ua={\"\\\\relax\":!0,\"^\":!0,_:!0,\"\\\\limits\":!0,\"\\\\nolimits\":!0},da=function(){function t(t,e,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=e,this.expansionCount=0,this.feed(t),this.macros=new ra(na,e.macros),this.mode=r,this.stack=[]}var e=t.prototype;return e.feed=function(t){this.lexer=new ea(t,this.settings)},e.switchMode=function(t){this.mode=t},e.beginGroup=function(){this.macros.beginGroup()},e.endGroup=function(){this.macros.endGroup()},e.future=function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},e.popToken=function(){return this.future(),this.stack.pop()},e.pushToken=function(t){this.stack.push(t)},e.pushTokens=function(t){var e;(e=this.stack).push.apply(e,t)},e.consumeSpaces=function(){for(;;){if(\" \"!==this.future().text)break;this.stack.pop()}},e.consumeArgs=function(t){for(var e=[],r=0;r<t;++r){this.consumeSpaces();var a=this.popToken();if(\"{\"===a.text){for(var n=[],o=1;0!==o;){var s=this.popToken();if(n.push(s),\"{\"===s.text)++o;else if(\"}\"===s.text)--o;else if(\"EOF\"===s.text)throw new i(\"End of input in macro argument\",a)}n.pop(),n.reverse(),e[r]=n}else{if(\"EOF\"===a.text)throw new i(\"End of input expecting macro argument\");e[r]=[a]}}return e},e.expandOnce=function(){var t=this.popToken(),e=t.text,r=this._getExpansion(e);if(null==r)return this.pushToken(t),t;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new i(\"Too many expansions: infinite loop or need to increase maxExpand setting\");var a=r.tokens;if(r.numArgs)for(var n=this.consumeArgs(r.numArgs),o=(a=a.slice()).length-1;o>=0;--o){var s=a[o];if(\"#\"===s.text){if(0===o)throw new i(\"Incomplete placeholder at end of macro body\",s);if(\"#\"===(s=a[--o]).text)a.splice(o+1,1);else{if(!/^[1-9]$/.test(s.text))throw new i(\"Not a valid argument number\",s);var h;(h=a).splice.apply(h,[o,2].concat(n[+s.text-1]))}}}return this.pushTokens(a),a},e.expandAfterFuture=function(){return this.expandOnce(),this.future()},e.expandNextToken=function(){for(;;){var t=this.expandOnce();if(t instanceof n){if(\"\\\\relax\"!==t.text)return this.stack.pop();this.stack.pop()}}throw new Error},e.expandMacro=function(t){if(this.macros.get(t)){var e=[],r=this.stack.length;for(this.pushToken(new n(t));this.stack.length>r;){this.expandOnce()instanceof n&&e.push(this.stack.pop())}return e}},e.expandMacroAsText=function(t){var e=this.expandMacro(t);return e?e.map(function(t){return t.text}).join(\"\"):e},e._getExpansion=function(t){var e=this.macros.get(t);if(null==e)return e;var r=\"function\"==typeof e?e(this):e;if(\"string\"==typeof r){var a=0;if(-1!==r.indexOf(\"#\"))for(var n=r.replace(/##/g,\"\");-1!==n.indexOf(\"#\"+(a+1));)++a;for(var o=new ea(r,this.settings),i=[],s=o.lex();\"EOF\"!==s.text;)i.push(s),s=o.lex();return i.reverse(),{tokens:i,numArgs:a}}return r},e.isDefined=function(t){return this.macros.has(t)||Kr.hasOwnProperty(t)||_.math.hasOwnProperty(t)||_.text.hasOwnProperty(t)||ua.hasOwnProperty(t)},t}(),pa={\"\\u0301\":{text:\"\\\\'\",math:\"\\\\acute\"},\"\\u0300\":{text:\"\\\\`\",math:\"\\\\grave\"},\"\\u0308\":{text:'\\\\\"',math:\"\\\\ddot\"},\"\\u0303\":{text:\"\\\\~\",math:\"\\\\tilde\"},\"\\u0304\":{text:\"\\\\=\",math:\"\\\\bar\"},\"\\u0306\":{text:\"\\\\u\",math:\"\\\\breve\"},\"\\u030c\":{text:\"\\\\v\",math:\"\\\\check\"},\"\\u0302\":{text:\"\\\\^\",math:\"\\\\hat\"},\"\\u0307\":{text:\"\\\\.\",math:\"\\\\dot\"},\"\\u030a\":{text:\"\\\\r\",math:\"\\\\mathring\"},\"\\u030b\":{text:\"\\\\H\"}},fa={\"\\xe1\":\"a\\u0301\",\"\\xe0\":\"a\\u0300\",\"\\xe4\":\"a\\u0308\",\"\\u01df\":\"a\\u0308\\u0304\",\"\\xe3\":\"a\\u0303\",\"\\u0101\":\"a\\u0304\",\"\\u0103\":\"a\\u0306\",\"\\u1eaf\":\"a\\u0306\\u0301\",\"\\u1eb1\":\"a\\u0306\\u0300\",\"\\u1eb5\":\"a\\u0306\\u0303\",\"\\u01ce\":\"a\\u030c\",\"\\xe2\":\"a\\u0302\",\"\\u1ea5\":\"a\\u0302\\u0301\",\"\\u1ea7\":\"a\\u0302\\u0300\",\"\\u1eab\":\"a\\u0302\\u0303\",\"\\u0227\":\"a\\u0307\",\"\\u01e1\":\"a\\u0307\\u0304\",\"\\xe5\":\"a\\u030a\",\"\\u01fb\":\"a\\u030a\\u0301\",\"\\u1e03\":\"b\\u0307\",\"\\u0107\":\"c\\u0301\",\"\\u010d\":\"c\\u030c\",\"\\u0109\":\"c\\u0302\",\"\\u010b\":\"c\\u0307\",\"\\u010f\":\"d\\u030c\",\"\\u1e0b\":\"d\\u0307\",\"\\xe9\":\"e\\u0301\",\"\\xe8\":\"e\\u0300\",\"\\xeb\":\"e\\u0308\",\"\\u1ebd\":\"e\\u0303\",\"\\u0113\":\"e\\u0304\",\"\\u1e17\":\"e\\u0304\\u0301\",\"\\u1e15\":\"e\\u0304\\u0300\",\"\\u0115\":\"e\\u0306\",\"\\u011b\":\"e\\u030c\",\"\\xea\":\"e\\u0302\",\"\\u1ebf\":\"e\\u0302\\u0301\",\"\\u1ec1\":\"e\\u0302\\u0300\",\"\\u1ec5\":\"e\\u0302\\u0303\",\"\\u0117\":\"e\\u0307\",\"\\u1e1f\":\"f\\u0307\",\"\\u01f5\":\"g\\u0301\",\"\\u1e21\":\"g\\u0304\",\"\\u011f\":\"g\\u0306\",\"\\u01e7\":\"g\\u030c\",\"\\u011d\":\"g\\u0302\",\"\\u0121\":\"g\\u0307\",\"\\u1e27\":\"h\\u0308\",\"\\u021f\":\"h\\u030c\",\"\\u0125\":\"h\\u0302\",\"\\u1e23\":\"h\\u0307\",\"\\xed\":\"i\\u0301\",\"\\xec\":\"i\\u0300\",\"\\xef\":\"i\\u0308\",\"\\u1e2f\":\"i\\u0308\\u0301\",\"\\u0129\":\"i\\u0303\",\"\\u012b\":\"i\\u0304\",\"\\u012d\":\"i\\u0306\",\"\\u01d0\":\"i\\u030c\",\"\\xee\":\"i\\u0302\",\"\\u01f0\":\"j\\u030c\",\"\\u0135\":\"j\\u0302\",\"\\u1e31\":\"k\\u0301\",\"\\u01e9\":\"k\\u030c\",\"\\u013a\":\"l\\u0301\",\"\\u013e\":\"l\\u030c\",\"\\u1e3f\":\"m\\u0301\",\"\\u1e41\":\"m\\u0307\",\"\\u0144\":\"n\\u0301\",\"\\u01f9\":\"n\\u0300\",\"\\xf1\":\"n\\u0303\",\"\\u0148\":\"n\\u030c\",\"\\u1e45\":\"n\\u0307\",\"\\xf3\":\"o\\u0301\",\"\\xf2\":\"o\\u0300\",\"\\xf6\":\"o\\u0308\",\"\\u022b\":\"o\\u0308\\u0304\",\"\\xf5\":\"o\\u0303\",\"\\u1e4d\":\"o\\u0303\\u0301\",\"\\u1e4f\":\"o\\u0303\\u0308\",\"\\u022d\":\"o\\u0303\\u0304\",\"\\u014d\":\"o\\u0304\",\"\\u1e53\":\"o\\u0304\\u0301\",\"\\u1e51\":\"o\\u0304\\u0300\",\"\\u014f\":\"o\\u0306\",\"\\u01d2\":\"o\\u030c\",\"\\xf4\":\"o\\u0302\",\"\\u1ed1\":\"o\\u0302\\u0301\",\"\\u1ed3\":\"o\\u0302\\u0300\",\"\\u1ed7\":\"o\\u0302\\u0303\",\"\\u022f\":\"o\\u0307\",\"\\u0231\":\"o\\u0307\\u0304\",\"\\u0151\":\"o\\u030b\",\"\\u1e55\":\"p\\u0301\",\"\\u1e57\":\"p\\u0307\",\"\\u0155\":\"r\\u0301\",\"\\u0159\":\"r\\u030c\",\"\\u1e59\":\"r\\u0307\",\"\\u015b\":\"s\\u0301\",\"\\u1e65\":\"s\\u0301\\u0307\",\"\\u0161\":\"s\\u030c\",\"\\u1e67\":\"s\\u030c\\u0307\",\"\\u015d\":\"s\\u0302\",\"\\u1e61\":\"s\\u0307\",\"\\u1e97\":\"t\\u0308\",\"\\u0165\":\"t\\u030c\",\"\\u1e6b\":\"t\\u0307\",\"\\xfa\":\"u\\u0301\",\"\\xf9\":\"u\\u0300\",\"\\xfc\":\"u\\u0308\",\"\\u01d8\":\"u\\u0308\\u0301\",\"\\u01dc\":\"u\\u0308\\u0300\",\"\\u01d6\":\"u\\u0308\\u0304\",\"\\u01da\":\"u\\u0308\\u030c\",\"\\u0169\":\"u\\u0303\",\"\\u1e79\":\"u\\u0303\\u0301\",\"\\u016b\":\"u\\u0304\",\"\\u1e7b\":\"u\\u0304\\u0308\",\"\\u016d\":\"u\\u0306\",\"\\u01d4\":\"u\\u030c\",\"\\xfb\":\"u\\u0302\",\"\\u016f\":\"u\\u030a\",\"\\u0171\":\"u\\u030b\",\"\\u1e7d\":\"v\\u0303\",\"\\u1e83\":\"w\\u0301\",\"\\u1e81\":\"w\\u0300\",\"\\u1e85\":\"w\\u0308\",\"\\u0175\":\"w\\u0302\",\"\\u1e87\":\"w\\u0307\",\"\\u1e98\":\"w\\u030a\",\"\\u1e8d\":\"x\\u0308\",\"\\u1e8b\":\"x\\u0307\",\"\\xfd\":\"y\\u0301\",\"\\u1ef3\":\"y\\u0300\",\"\\xff\":\"y\\u0308\",\"\\u1ef9\":\"y\\u0303\",\"\\u0233\":\"y\\u0304\",\"\\u0177\":\"y\\u0302\",\"\\u1e8f\":\"y\\u0307\",\"\\u1e99\":\"y\\u030a\",\"\\u017a\":\"z\\u0301\",\"\\u017e\":\"z\\u030c\",\"\\u1e91\":\"z\\u0302\",\"\\u017c\":\"z\\u0307\",\"\\xc1\":\"A\\u0301\",\"\\xc0\":\"A\\u0300\",\"\\xc4\":\"A\\u0308\",\"\\u01de\":\"A\\u0308\\u0304\",\"\\xc3\":\"A\\u0303\",\"\\u0100\":\"A\\u0304\",\"\\u0102\":\"A\\u0306\",\"\\u1eae\":\"A\\u0306\\u0301\",\"\\u1eb0\":\"A\\u0306\\u0300\",\"\\u1eb4\":\"A\\u0306\\u0303\",\"\\u01cd\":\"A\\u030c\",\"\\xc2\":\"A\\u0302\",\"\\u1ea4\":\"A\\u0302\\u0301\",\"\\u1ea6\":\"A\\u0302\\u0300\",\"\\u1eaa\":\"A\\u0302\\u0303\",\"\\u0226\":\"A\\u0307\",\"\\u01e0\":\"A\\u0307\\u0304\",\"\\xc5\":\"A\\u030a\",\"\\u01fa\":\"A\\u030a\\u0301\",\"\\u1e02\":\"B\\u0307\",\"\\u0106\":\"C\\u0301\",\"\\u010c\":\"C\\u030c\",\"\\u0108\":\"C\\u0302\",\"\\u010a\":\"C\\u0307\",\"\\u010e\":\"D\\u030c\",\"\\u1e0a\":\"D\\u0307\",\"\\xc9\":\"E\\u0301\",\"\\xc8\":\"E\\u0300\",\"\\xcb\":\"E\\u0308\",\"\\u1ebc\":\"E\\u0303\",\"\\u0112\":\"E\\u0304\",\"\\u1e16\":\"E\\u0304\\u0301\",\"\\u1e14\":\"E\\u0304\\u0300\",\"\\u0114\":\"E\\u0306\",\"\\u011a\":\"E\\u030c\",\"\\xca\":\"E\\u0302\",\"\\u1ebe\":\"E\\u0302\\u0301\",\"\\u1ec0\":\"E\\u0302\\u0300\",\"\\u1ec4\":\"E\\u0302\\u0303\",\"\\u0116\":\"E\\u0307\",\"\\u1e1e\":\"F\\u0307\",\"\\u01f4\":\"G\\u0301\",\"\\u1e20\":\"G\\u0304\",\"\\u011e\":\"G\\u0306\",\"\\u01e6\":\"G\\u030c\",\"\\u011c\":\"G\\u0302\",\"\\u0120\":\"G\\u0307\",\"\\u1e26\":\"H\\u0308\",\"\\u021e\":\"H\\u030c\",\"\\u0124\":\"H\\u0302\",\"\\u1e22\":\"H\\u0307\",\"\\xcd\":\"I\\u0301\",\"\\xcc\":\"I\\u0300\",\"\\xcf\":\"I\\u0308\",\"\\u1e2e\":\"I\\u0308\\u0301\",\"\\u0128\":\"I\\u0303\",\"\\u012a\":\"I\\u0304\",\"\\u012c\":\"I\\u0306\",\"\\u01cf\":\"I\\u030c\",\"\\xce\":\"I\\u0302\",\"\\u0130\":\"I\\u0307\",\"\\u0134\":\"J\\u0302\",\"\\u1e30\":\"K\\u0301\",\"\\u01e8\":\"K\\u030c\",\"\\u0139\":\"L\\u0301\",\"\\u013d\":\"L\\u030c\",\"\\u1e3e\":\"M\\u0301\",\"\\u1e40\":\"M\\u0307\",\"\\u0143\":\"N\\u0301\",\"\\u01f8\":\"N\\u0300\",\"\\xd1\":\"N\\u0303\",\"\\u0147\":\"N\\u030c\",\"\\u1e44\":\"N\\u0307\",\"\\xd3\":\"O\\u0301\",\"\\xd2\":\"O\\u0300\",\"\\xd6\":\"O\\u0308\",\"\\u022a\":\"O\\u0308\\u0304\",\"\\xd5\":\"O\\u0303\",\"\\u1e4c\":\"O\\u0303\\u0301\",\"\\u1e4e\":\"O\\u0303\\u0308\",\"\\u022c\":\"O\\u0303\\u0304\",\"\\u014c\":\"O\\u0304\",\"\\u1e52\":\"O\\u0304\\u0301\",\"\\u1e50\":\"O\\u0304\\u0300\",\"\\u014e\":\"O\\u0306\",\"\\u01d1\":\"O\\u030c\",\"\\xd4\":\"O\\u0302\",\"\\u1ed0\":\"O\\u0302\\u0301\",\"\\u1ed2\":\"O\\u0302\\u0300\",\"\\u1ed6\":\"O\\u0302\\u0303\",\"\\u022e\":\"O\\u0307\",\"\\u0230\":\"O\\u0307\\u0304\",\"\\u0150\":\"O\\u030b\",\"\\u1e54\":\"P\\u0301\",\"\\u1e56\":\"P\\u0307\",\"\\u0154\":\"R\\u0301\",\"\\u0158\":\"R\\u030c\",\"\\u1e58\":\"R\\u0307\",\"\\u015a\":\"S\\u0301\",\"\\u1e64\":\"S\\u0301\\u0307\",\"\\u0160\":\"S\\u030c\",\"\\u1e66\":\"S\\u030c\\u0307\",\"\\u015c\":\"S\\u0302\",\"\\u1e60\":\"S\\u0307\",\"\\u0164\":\"T\\u030c\",\"\\u1e6a\":\"T\\u0307\",\"\\xda\":\"U\\u0301\",\"\\xd9\":\"U\\u0300\",\"\\xdc\":\"U\\u0308\",\"\\u01d7\":\"U\\u0308\\u0301\",\"\\u01db\":\"U\\u0308\\u0300\",\"\\u01d5\":\"U\\u0308\\u0304\",\"\\u01d9\":\"U\\u0308\\u030c\",\"\\u0168\":\"U\\u0303\",\"\\u1e78\":\"U\\u0303\\u0301\",\"\\u016a\":\"U\\u0304\",\"\\u1e7a\":\"U\\u0304\\u0308\",\"\\u016c\":\"U\\u0306\",\"\\u01d3\":\"U\\u030c\",\"\\xdb\":\"U\\u0302\",\"\\u016e\":\"U\\u030a\",\"\\u0170\":\"U\\u030b\",\"\\u1e7c\":\"V\\u0303\",\"\\u1e82\":\"W\\u0301\",\"\\u1e80\":\"W\\u0300\",\"\\u1e84\":\"W\\u0308\",\"\\u0174\":\"W\\u0302\",\"\\u1e86\":\"W\\u0307\",\"\\u1e8c\":\"X\\u0308\",\"\\u1e8a\":\"X\\u0307\",\"\\xdd\":\"Y\\u0301\",\"\\u1ef2\":\"Y\\u0300\",\"\\u0178\":\"Y\\u0308\",\"\\u1ef8\":\"Y\\u0303\",\"\\u0232\":\"Y\\u0304\",\"\\u0176\":\"Y\\u0302\",\"\\u1e8e\":\"Y\\u0307\",\"\\u0179\":\"Z\\u0301\",\"\\u017d\":\"Z\\u030c\",\"\\u1e90\":\"Z\\u0302\",\"\\u017b\":\"Z\\u0307\",\"\\u03ac\":\"\\u03b1\\u0301\",\"\\u1f70\":\"\\u03b1\\u0300\",\"\\u1fb1\":\"\\u03b1\\u0304\",\"\\u1fb0\":\"\\u03b1\\u0306\",\"\\u03ad\":\"\\u03b5\\u0301\",\"\\u1f72\":\"\\u03b5\\u0300\",\"\\u03ae\":\"\\u03b7\\u0301\",\"\\u1f74\":\"\\u03b7\\u0300\",\"\\u03af\":\"\\u03b9\\u0301\",\"\\u1f76\":\"\\u03b9\\u0300\",\"\\u03ca\":\"\\u03b9\\u0308\",\"\\u0390\":\"\\u03b9\\u0308\\u0301\",\"\\u1fd2\":\"\\u03b9\\u0308\\u0300\",\"\\u1fd1\":\"\\u03b9\\u0304\",\"\\u1fd0\":\"\\u03b9\\u0306\",\"\\u03cc\":\"\\u03bf\\u0301\",\"\\u1f78\":\"\\u03bf\\u0300\",\"\\u03cd\":\"\\u03c5\\u0301\",\"\\u1f7a\":\"\\u03c5\\u0300\",\"\\u03cb\":\"\\u03c5\\u0308\",\"\\u03b0\":\"\\u03c5\\u0308\\u0301\",\"\\u1fe2\":\"\\u03c5\\u0308\\u0300\",\"\\u1fe1\":\"\\u03c5\\u0304\",\"\\u1fe0\":\"\\u03c5\\u0306\",\"\\u03ce\":\"\\u03c9\\u0301\",\"\\u1f7c\":\"\\u03c9\\u0300\",\"\\u038e\":\"\\u03a5\\u0301\",\"\\u1fea\":\"\\u03a5\\u0300\",\"\\u03ab\":\"\\u03a5\\u0308\",\"\\u1fe9\":\"\\u03a5\\u0304\",\"\\u1fe8\":\"\\u03a5\\u0306\",\"\\u038f\":\"\\u03a9\\u0301\",\"\\u1ffa\":\"\\u03a9\\u0300\"},ga=function(){function t(t,e){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode=\"math\",this.gullet=new da(t,e,this.mode),this.settings=e,this.leftrightDepth=0}var e=t.prototype;return e.expect=function(t,e){if(void 0===e&&(e=!0),this.nextToken.text!==t)throw new i(\"Expected '\"+t+\"', got '\"+this.nextToken.text+\"'\",this.nextToken);e&&this.consume()},e.consume=function(){this.nextToken=this.gullet.expandNextToken()},e.switchMode=function(t){this.mode=t,this.gullet.switchMode(t)},e.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set(\"\\\\color\",\"\\\\textcolor\"),this.consume();var t=this.parseExpression(!1);return this.expect(\"EOF\",!1),this.gullet.endGroup(),t},e.parseExpression=function(e,r){for(var a=[];;){\"math\"===this.mode&&this.consumeSpaces();var n=this.nextToken;if(-1!==t.endOfExpression.indexOf(n.text))break;if(r&&n.text===r)break;if(e&&Kr[n.text]&&Kr[n.text].infix)break;var o=this.parseAtom(r);if(!o)break;a.push(o)}return\"text\"===this.mode&&this.formLigatures(a),this.handleInfixNodes(a)},e.handleInfixNodes=function(t){for(var e,r=-1,a=0;a<t.length;a++){var n=Pt(t[a],\"infix\");if(n){if(-1!==r)throw new i(\"only one infix operator per group\",n.token);r=a,e=n.replaceWith}}if(-1!==r&&e){var o,s,h=t.slice(0,r),l=t.slice(r+1);return o=1===h.length&&\"ordgroup\"===h[0].type?h[0]:{type:\"ordgroup\",mode:this.mode,body:h},s=1===l.length&&\"ordgroup\"===l[0].type?l[0]:{type:\"ordgroup\",mode:this.mode,body:l},[\"\\\\\\\\abovefrac\"===e?this.callFunction(e,[o,t[r],s],[]):this.callFunction(e,[o,s],[])]}return t},e.handleSupSubscript=function(e){var r=this.nextToken,a=r.text;this.consume(),this.consumeSpaces();var n=this.parseGroup(e,!1,t.SUPSUB_GREEDINESS);if(!n)throw new i(\"Expected group after '\"+a+\"'\",r);return n},e.handleUnsupportedCmd=function(){for(var t=this.nextToken.text,e=[],r=0;r<t.length;r++)e.push({type:\"textord\",mode:\"text\",text:t[r]});var a={type:\"text\",mode:this.mode,body:e},n={type:\"color\",mode:this.mode,color:this.settings.errorColor,body:[a]};return this.consume(),n},e.parseAtom=function(t){var e,r,a=this.parseGroup(\"atom\",!1,null,t);if(\"text\"===this.mode)return a;for(;;){this.consumeSpaces();var n=this.nextToken;if(\"\\\\limits\"===n.text||\"\\\\nolimits\"===n.text){var o=Pt(a,\"op\");if(!o)throw new i(\"Limit controls must follow a math operator\",n);var s=\"\\\\limits\"===n.text;o.limits=s,o.alwaysHandleSupSub=!0,this.consume()}else if(\"^\"===n.text){if(e)throw new i(\"Double superscript\",n);e=this.handleSupSubscript(\"superscript\")}else if(\"_\"===n.text){if(r)throw new i(\"Double subscript\",n);r=this.handleSupSubscript(\"subscript\")}else{if(\"'\"!==n.text)break;if(e)throw new i(\"Double superscript\",n);var h={type:\"textord\",mode:this.mode,text:\"\\\\prime\"},l=[h];for(this.consume();\"'\"===this.nextToken.text;)l.push(h),this.consume();\"^\"===this.nextToken.text&&l.push(this.handleSupSubscript(\"superscript\")),e={type:\"ordgroup\",mode:this.mode,body:l}}}return e||r?{type:\"supsub\",mode:this.mode,base:a,sup:e,sub:r}:a},e.parseFunction=function(t,e,r){var a=this.nextToken,n=a.text,o=Kr[n];if(!o)return null;if(null!=r&&o.greediness<=r)throw new i(\"Got function '\"+n+\"' with no arguments\"+(e?\" as \"+e:\"\"),a);if(\"text\"===this.mode&&!o.allowedInText)throw new i(\"Can't use function '\"+n+\"' in text mode\",a);if(\"math\"===this.mode&&!1===o.allowedInMath)throw new i(\"Can't use function '\"+n+\"' in math mode\",a);if(o.argTypes&&\"url\"===o.argTypes[0]&&this.gullet.lexer.setCatcode(\"%\",13),o.consumeMode){var s=this.mode;this.switchMode(o.consumeMode),this.consume(),this.switchMode(s)}else this.consume();var h=this.parseArguments(n,o),l=h.args,m=h.optArgs;return this.callFunction(n,l,m,a,t)},e.callFunction=function(t,e,r,a,n){var o={funcName:t,parser:this,token:a,breakOnTokenText:n},s=Kr[t];if(s&&s.handler)return s.handler(o,e,r);throw new i(\"No function handler for \"+t)},e.parseArguments=function(t,e){var r=e.numArgs+e.numOptionalArgs;if(0===r)return{args:[],optArgs:[]};for(var a=e.greediness,n=[],o=[],s=0;s<r;s++){var h=e.argTypes&&e.argTypes[s],l=s<e.numOptionalArgs;s>0&&!l&&this.consumeSpaces(),0!==s||l||\"math\"!==this.mode||this.consumeSpaces();var m=this.nextToken,c=this.parseGroupOfType(\"argument to '\"+t+\"'\",h,l,a);if(!c){if(l){o.push(null);continue}throw new i(\"Expected group after '\"+t+\"'\",m)}(l?o:n).push(c)}return{args:n,optArgs:o}},e.parseGroupOfType=function(t,e,r,a){switch(e){case\"color\":return this.parseColorGroup(r);case\"size\":return this.parseSizeGroup(r);case\"url\":return this.parseUrlGroup(r);case\"math\":case\"text\":return this.parseGroup(t,r,a,void 0,e);case\"raw\":if(r&&\"{\"===this.nextToken.text)return null;var n=this.parseStringGroup(\"raw\",r,!0);if(n)return{type:\"raw\",mode:\"text\",string:n.text};throw new i(\"Expected raw group\",this.nextToken);case\"original\":case null:case void 0:return this.parseGroup(t,r,a);default:throw new i(\"Unknown group type as \"+t,this.nextToken)}},e.consumeSpaces=function(){for(;\" \"===this.nextToken.text;)this.consume()},e.parseStringGroup=function(t,e,r){var a=e?\"[\":\"{\",n=e?\"]\":\"}\",o=this.nextToken;if(o.text!==a){if(e)return null;if(r&&\"EOF\"!==o.text&&/[^{}[\\]]/.test(o.text))return this.gullet.lexer.setCatcode(\"%\",14),this.consume(),o}var s=this.mode;this.mode=\"text\",this.expect(a);for(var h=\"\",l=this.nextToken,m=0,c=l;r&&m>0||this.nextToken.text!==n;){switch(this.nextToken.text){case\"EOF\":throw new i(\"Unexpected end of input in \"+t,l.range(c,h));case a:m++;break;case n:m--}h+=(c=this.nextToken).text,this.consume()}return this.mode=s,this.gullet.lexer.setCatcode(\"%\",14),this.expect(n),l.range(c,h)},e.parseRegexGroup=function(t,e){var r=this.mode;this.mode=\"text\";for(var a=this.nextToken,n=a,o=\"\";\"EOF\"!==this.nextToken.text&&t.test(o+this.nextToken.text);)o+=(n=this.nextToken).text,this.consume();if(\"\"===o)throw new i(\"Invalid \"+e+\": '\"+a.text+\"'\",a);return this.mode=r,a.range(n,o)},e.parseColorGroup=function(t){var e=this.parseStringGroup(\"color\",t);if(!e)return null;var r=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(e.text);if(!r)throw new i(\"Invalid color: '\"+e.text+\"'\",e);var a=r[0];return/^[0-9a-f]{6}$/i.test(a)&&(a=\"#\"+a),{type:\"color-token\",mode:this.mode,color:a}},e.parseSizeGroup=function(t){var e,r=!1;if(!(e=t||\"{\"===this.nextToken.text?this.parseStringGroup(\"size\",t):this.parseRegexGroup(/^[-+]? *(?:$|\\d+|\\d+\\.\\d*|\\.\\d*) *[a-z]{0,2} *$/,\"size\")))return null;t||0!==e.text.length||(e.text=\"0pt\",r=!0);var a=/([-+]?) *(\\d+(?:\\.\\d*)?|\\.\\d+) *([a-z]{2})/.exec(e.text);if(!a)throw new i(\"Invalid size: '\"+e.text+\"'\",e);var n,o={number:+(a[1]+a[2]),unit:a[3]};if(\"string\"!=typeof(n=o)&&(n=n.unit),!(n in kt||n in St||\"ex\"===n))throw new i(\"Invalid unit: '\"+o.unit+\"'\",e);return{type:\"size\",mode:this.mode,value:o,isBlank:r}},e.parseUrlGroup=function(t){var e=this.parseStringGroup(\"url\",t,!0);if(!e)return null;var r=e.text.replace(/\\\\([#$%&~_^{}])/g,\"$1\"),a=/^\\s*([^\\\\\\/#]*?)(?::|�*58|�*3a)/i.exec(r);a=null!=a?a[1]:\"_relative\";var n=this.settings.allowedProtocols;if(!c.contains(n,\"*\")&&!c.contains(n,a))throw new i(\"Forbidden protocol '\"+a+\"'\",e);return{type:\"url\",mode:this.mode,url:r}},e.parseGroup=function(e,r,n,o,s){var h,l,m=this.mode,c=this.nextToken,u=c.text;if(s&&this.switchMode(s),r?\"[\"===u:\"{\"===u||\"\\\\begingroup\"===u){h=t.endOfGroup[u],this.gullet.beginGroup(),this.consume();var d=this.parseExpression(!1,h),p=this.nextToken;this.gullet.endGroup(),l={type:\"ordgroup\",mode:this.mode,loc:a.range(c,p),body:d,semisimple:\"\\\\begingroup\"===u||void 0}}else if(r)l=null;else if(null==(l=this.parseFunction(o,e,n)||this.parseSymbol())&&\"\\\\\"===u[0]&&!ua.hasOwnProperty(u)){if(this.settings.throwOnError)throw new i(\"Undefined control sequence: \"+u,c);l=this.handleUnsupportedCmd()}return s&&this.switchMode(m),h&&this.expect(h),l},e.formLigatures=function(t){for(var e=t.length-1,r=0;r<e;++r){var n=t[r],o=n.text;\"-\"===o&&\"-\"===t[r+1].text&&(r+1<e&&\"-\"===t[r+2].text?(t.splice(r,3,{type:\"textord\",mode:\"text\",loc:a.range(n,t[r+2]),text:\"---\"}),e-=2):(t.splice(r,2,{type:\"textord\",mode:\"text\",loc:a.range(n,t[r+1]),text:\"--\"}),e-=1)),\"'\"!==o&&\"`\"!==o||t[r+1].text!==o||(t.splice(r,2,{type:\"textord\",mode:\"text\",loc:a.range(n,t[r+1]),text:o+o}),e-=1)}},e.parseSymbol=function(){var t=this.nextToken,e=t.text;if(/^\\\\verb[^a-zA-Z]/.test(e)){this.consume();var r=e.slice(5),n=\"*\"===r.charAt(0);if(n&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new i(\"\\\\verb assertion failed --\\n please report what input caused this bug\");return{type:\"verb\",mode:\"text\",body:r=r.slice(1,-1),star:n}}fa.hasOwnProperty(e[0])&&!_[this.mode][e[0]]&&(this.settings.strict&&\"math\"===this.mode&&this.settings.reportNonstrict(\"unicodeTextInMathMode\",'Accented Unicode text character \"'+e[0]+'\" used in math mode',t),e=fa[e[0]]+e.substr(1));var o,s=Qr.exec(e);if(s&&(\"i\"===(e=e.substring(0,s.index))?e=\"\\u0131\":\"j\"===e&&(e=\"\\u0237\")),_[this.mode][e]){this.settings.strict&&\"math\"===this.mode&&\"\\xc7\\xd0\\xde\\xe7\\xfe\".indexOf(e)>=0&&this.settings.reportNonstrict(\"unicodeTextInMathMode\",'Latin-1/Unicode text character \"'+e[0]+'\" used in math mode',t);var h,l=_[this.mode][e].group,m=a.range(t);if(G.hasOwnProperty(l)){var c=l;h={type:\"atom\",mode:this.mode,family:c,loc:m,text:e}}else h={type:l,mode:this.mode,loc:m,text:e};o=h}else{if(!(e.charCodeAt(0)>=128))return null;this.settings.strict&&(z(e.charCodeAt(0))?\"math\"===this.mode&&this.settings.reportNonstrict(\"unicodeTextInMathMode\",'Unicode text character \"'+e[0]+'\" used in math mode',t):this.settings.reportNonstrict(\"unknownSymbol\",'Unrecognized Unicode character \"'+e[0]+'\" ('+e.charCodeAt(0)+\")\",t)),o={type:\"textord\",mode:this.mode,loc:a.range(t),text:e}}if(this.consume(),s)for(var u=0;u<s[0].length;u++){var d=s[0][u];if(!pa[d])throw new i(\"Unknown accent ' \"+d+\"'\",t);var p=pa[d][this.mode];if(!p)throw new i(\"Accent \"+d+\" unsupported in \"+this.mode+\" mode\",t);o={type:\"accent\",mode:this.mode,loc:a.range(t),label:p,isStretchy:!1,isShifty:!0,base:o}}return o},t}();ga.endOfExpression=[\"}\",\"\\\\endgroup\",\"\\\\end\",\"\\\\right\",\"&\"],ga.endOfGroup={\"[\":\"]\",\"{\":\"}\",\"\\\\begingroup\":\"\\\\endgroup\"},ga.SUPSUB_GREEDINESS=1;var xa=function(t,e){if(!(\"string\"==typeof t||t instanceof String))throw new TypeError(\"KaTeX can only parse string typed expression\");var r=new ga(t,e);delete r.gullet.macros.current[\"\\\\df@tag\"];var a=r.parse();if(r.gullet.macros.get(\"\\\\df@tag\")){if(!e.displayMode)throw new i(\"\\\\tag works only in display equations\");r.gullet.feed(\"\\\\df@tag\"),a=[{type:\"tag\",mode:\"text\",body:a,tag:r.parse()}]}return a},va=function(t,e,r){e.textContent=\"\";var a=ya(t,r).toNode();e.appendChild(a)};\"undefined\"!=typeof document&&\"CSS1Compat\"!==document.compatMode&&(\"undefined\"!=typeof console&&console.warn(\"Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype.\"),va=function(){throw new i(\"KaTeX doesn't work in quirks mode.\")});var ba=function(t,e,r){if(r.throwOnError||!(t instanceof i))throw t;var a=Lt.makeSpan([\"katex-error\"],[new E(e)]);return a.setAttribute(\"title\",t.toString()),a.setAttribute(\"style\",\"color:\"+r.errorColor),a},ya=function(t,e){var r=new u(e);try{var a=xa(t,r);return Se(a,t,r)}catch(e){return ba(e,t,r)}},wa={version:\"0.10.2\",render:va,renderToString:function(t,e){return ya(t,e).toMarkup()},ParseError:i,__parse:function(t,e){var r=new u(e);return xa(t,r)},__renderToDomTree:ya,__renderToHTMLTree:function(t,e){var r=new u(e);try{return function(t,e,r){var a=me(t,we(r)),n=Lt.makeSpan([\"katex\"],[a]);return ke(n,r)}(xa(t,r),0,r)}catch(e){return ba(e,t,r)}},__setFontMetrics:function(t,e){P[t]=e},__defineSymbol:W,__defineMacro:oa,__domTree:{Span:N,Anchor:I,SymbolNode:E,SvgNode:R,PathNode:L,LineNode:H}};e.default=wa}]).default});\n\n})(!$tw.browser ? $tw.fakeDocument : window.document)\n", "type": "application/javascript", "title": "$:/plugins/tiddlywiki/katex/katex.min.js", "module-type": "library" }, "$:/plugins/tiddlywiki/katex/mhchem.min.js": { "text": "/* eslint-disable */\n/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */\n/* vim: set ts=2 et sw=2 tw=80: */\n\n/*************************************************************\n *\n * KaTeX mhchem.js\n *\n * This file implements a KaTeX version of mhchem version 3.3.0.\n * It is adapted from MathJax/extensions/TeX/mhchem.js\n * It differs from the MathJax version as follows:\n * 1. The interface is changed so that it can be called from KaTeX, not MathJax.\n * 2. \\rlap and \\llap are replaced with \\mathrlap and \\mathllap.\n * 3. Four lines of code are edited in order to use \\raisebox instead of \\raise.\n * 4. The reaction arrow code is simplified. All reaction arrows are rendered\n * using KaTeX extensible arrows instead of building non-extensible arrows.\n * 5. \\tripledash vertical alignment is slightly adjusted.\n *\n * This code, as other KaTeX code, is released under the MIT license.\n * \n * /*************************************************************\n *\n * MathJax/extensions/TeX/mhchem.js\n *\n * Implements the \\ce command for handling chemical formulas\n * from the mhchem LaTeX package.\n *\n * ---------------------------------------------------------------------\n *\n * Copyright (c) 2011-2015 The MathJax Consortium\n * Copyright (c) 2015-2018 Martin Hensel\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n//\n// Coding Style\n// - use '' for identifiers that can by minified/uglified\n// - use \"\" for strings that need to stay untouched\n\n// version: \"3.3.0\" for MathJax and KaTeX\n\n/****************************************\n*****************************************\n* TiddlyWiki: moved the katex-module definitions to wrapper.js\n*****************************************\n*****************************************/\n\n //\n // This is the main function for handing the \\ce and \\pu commands.\n // It takes the argument to \\ce or \\pu and returns the corresponding TeX string.\n //\n\n // TiddlyWiki: replaced `var chemParse =` with `module.exports =` ... no more modifications in this file\n module.exports = function (tokens, stateMachine) {\n // Recreate the argument string from KaTeX's array of tokens.\n var str = \"\";\n var expectedLoc = tokens[tokens.length - 1].loc.start\n for (var i = tokens.length - 1; i >= 0; i--) {\n if(tokens[i].loc.start > expectedLoc) {\n // context.consumeArgs has eaten a space.\n str += \" \";\n expectedLoc = tokens[i].loc.start;\n }\n str += tokens[i].text;\n expectedLoc += tokens[i].text.length;\n }\n var tex = texify.go(mhchemParser.go(str, stateMachine));\n return tex;\n };\n\n //\n // Core parser for mhchem syntax (recursive)\n //\n /** @type {MhchemParser} */\n var mhchemParser = {\n //\n // Parses mchem \\ce syntax\n //\n // Call like\n // go(\"H2O\");\n //\n go: function (input, stateMachine) {\n if (!input) { return []; }\n if (stateMachine === undefined) { stateMachine = 'ce'; }\n var state = '0';\n\n //\n // String buffers for parsing:\n //\n // buffer.a == amount\n // buffer.o == element\n // buffer.b == left-side superscript\n // buffer.p == left-side subscript\n // buffer.q == right-side subscript\n // buffer.d == right-side superscript\n //\n // buffer.r == arrow\n // buffer.rdt == arrow, script above, type\n // buffer.rd == arrow, script above, content\n // buffer.rqt == arrow, script below, type\n // buffer.rq == arrow, script below, content\n //\n // buffer.text_\n // buffer.rm\n // etc.\n //\n // buffer.parenthesisLevel == int, starting at 0\n // buffer.sb == bool, space before\n // buffer.beginsWithBond == bool\n //\n // These letters are also used as state names.\n //\n // Other states:\n // 0 == begin of main part (arrow/operator unlikely)\n // 1 == next entity\n // 2 == next entity (arrow/operator unlikely)\n // 3 == next atom\n // c == macro\n //\n /** @type {Buffer} */\n var buffer = {};\n buffer['parenthesisLevel'] = 0;\n\n input = input.replace(/\\n/g, \" \");\n input = input.replace(/[\\u2212\\u2013\\u2014\\u2010]/g, \"-\");\n input = input.replace(/[\\u2026]/g, \"...\");\n\n //\n // Looks through mhchemParser.transitions, to execute a matching action\n // (recursive)\n //\n var lastInput;\n var watchdog = 10;\n /** @type {ParserOutput[]} */\n var output = [];\n while (true) {\n if (lastInput !== input) {\n watchdog = 10;\n lastInput = input;\n } else {\n watchdog--;\n }\n //\n // Find actions in transition table\n //\n var machine = mhchemParser.stateMachines[stateMachine];\n var t = machine.transitions[state] || machine.transitions['*'];\n iterateTransitions:\n for (var i=0; i<t.length; i++) {\n var matches = mhchemParser.patterns.match_(t[i].pattern, input);\n if (matches) {\n //\n // Execute actions\n //\n var task = t[i].task;\n for (var iA=0; iA<task.action_.length; iA++) {\n var o;\n //\n // Find and execute action\n //\n if (machine.actions[task.action_[iA].type_]) {\n o = machine.actions[task.action_[iA].type_](buffer, matches.match_, task.action_[iA].option);\n } else if (mhchemParser.actions[task.action_[iA].type_]) {\n o = mhchemParser.actions[task.action_[iA].type_](buffer, matches.match_, task.action_[iA].option);\n } else {\n throw [\"MhchemBugA\", \"mhchem bug A. Please report. (\" + task.action_[iA].type_ + \")\"]; // Trying to use non-existing action\n }\n //\n // Add output\n //\n mhchemParser.concatArray(output, o);\n }\n //\n // Set next state,\n // Shorten input,\n // Continue with next character\n // (= apply only one transition per position)\n //\n state = task.nextState || state;\n if (input.length > 0) {\n if (!task.revisit) {\n input = matches.remainder;\n }\n if (!task.toContinue) {\n break iterateTransitions;\n }\n } else {\n return output;\n }\n }\n }\n //\n // Prevent infinite loop\n //\n if (watchdog <= 0) {\n throw [\"MhchemBugU\", \"mhchem bug U. Please report.\"]; // Unexpected character\n }\n }\n },\n concatArray: function (a, b) {\n if (b) {\n if (Array.isArray(b)) {\n for (var iB=0; iB<b.length; iB++) {\n a.push(b[iB]);\n }\n } else {\n a.push(b);\n }\n }\n },\n\n patterns: {\n //\n // Matching patterns\n // either regexps or function that return null or {match_:\"a\", remainder:\"bc\"}\n //\n patterns: {\n // property names must not look like integers (\"2\") for correct property traversal order, later on\n 'empty': /^$/,\n 'else': /^./,\n 'else2': /^./,\n 'space': /^\\s/,\n 'space A': /^\\s(?=[A-Z\\\\$])/,\n 'space$': /^\\s$/,\n 'a-z': /^[a-z]/,\n 'x': /^x/,\n 'x$': /^x$/,\n 'i$': /^i$/,\n 'letters': /^(?:[a-zA-Z\\u03B1-\\u03C9\\u0391-\\u03A9?@]|(?:\\\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\\s+|\\{\\}|(?![a-zA-Z]))))+/,\n '\\\\greek': /^\\\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\\s+|\\{\\}|(?![a-zA-Z]))/,\n 'one lowercase latin letter $': /^(?:([a-z])(?:$|[^a-zA-Z]))$/,\n '$one lowercase latin letter$ $': /^\\$(?:([a-z])(?:$|[^a-zA-Z]))\\$$/,\n 'one lowercase greek letter $': /^(?:\\$?[\\u03B1-\\u03C9]\\$?|\\$?\\\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega)\\s*\\$?)(?:\\s+|\\{\\}|(?![a-zA-Z]))$/,\n 'digits': /^[0-9]+/,\n '-9.,9': /^[+\\-]?(?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\\.[0-9]+))/,\n '-9.,9 no missing 0': /^[+\\-]?[0-9]+(?:[.,][0-9]+)?/,\n '(-)(9.,9)(e)(99)': function (input) {\n var m = input.match(/^(\\+\\-|\\+\\/\\-|\\+|\\-|\\\\pm\\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\\.[0-9]+))?(\\((?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\\.[0-9]+))\\))?(?:([eE]|\\s*(\\*|x|\\\\times|\\u00D7)\\s*10\\^)([+\\-]?[0-9]+|\\{[+\\-]?[0-9]+\\}))?/);\n if (m && m[0]) {\n return { match_: m.splice(1), remainder: input.substr(m[0].length) };\n }\n return null;\n },\n '(-)(9)^(-9)': function (input) {\n var m = input.match(/^(\\+\\-|\\+\\/\\-|\\+|\\-|\\\\pm\\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\\.[0-9]+)?)\\^([+\\-]?[0-9]+|\\{[+\\-]?[0-9]+\\})/);\n if (m && m[0]) {\n return { match_: m.splice(1), remainder: input.substr(m[0].length) };\n }\n return null;\n },\n 'state of aggregation $': function (input) { // ... or crystal system\n var a = mhchemParser.patterns.findObserveGroups(input, \"\", /^\\([a-z]{1,3}(?=[\\),])/, \")\", \"\"); // (aq), (aq,$\\infty$), (aq, sat)\n if (a && a.remainder.match(/^($|[\\s,;\\)\\]\\}])/)) { return a; } // AND end of 'phrase'\n var m = input.match(/^(?:\\((?:\\\\ca\\s?)?\\$[amothc]\\$\\))/); // OR crystal system ($o$) (\\ca$c$)\n if (m) {\n return { match_: m[0], remainder: input.substr(m[0].length) };\n }\n return null;\n },\n '_{(state of aggregation)}$': /^_\\{(\\([a-z]{1,3}\\))\\}/,\n '{[(': /^(?:\\\\\\{|\\[|\\()/,\n ')]}': /^(?:\\)|\\]|\\\\\\})/,\n ', ': /^[,;]\\s*/,\n ',': /^[,;]/,\n '.': /^[.]/,\n '. ': /^([.\\u22C5\\u00B7\\u2022])\\s*/,\n '...': /^\\.\\.\\.(?=$|[^.])/,\n '* ': /^([*])\\s*/,\n '^{(...)}': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"^{\", \"\", \"\", \"}\"); },\n '^($...$)': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"^\", \"$\", \"$\", \"\"); },\n '^a': /^\\^([0-9]+|[^\\\\_])/,\n '^\\\\x{}{}': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"^\", /^\\\\[a-zA-Z]+\\{/, \"}\", \"\", \"\", \"{\", \"}\", \"\", true); },\n '^\\\\x{}': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"^\", /^\\\\[a-zA-Z]+\\{/, \"}\", \"\"); },\n '^\\\\x': /^\\^(\\\\[a-zA-Z]+)\\s*/,\n '^(-1)': /^\\^(-?\\d+)/,\n '\\'': /^'/,\n '_{(...)}': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"_{\", \"\", \"\", \"}\"); },\n '_($...$)': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"_\", \"$\", \"$\", \"\"); },\n '_9': /^_([+\\-]?[0-9]+|[^\\\\])/,\n '_\\\\x{}{}': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"_\", /^\\\\[a-zA-Z]+\\{/, \"}\", \"\", \"\", \"{\", \"}\", \"\", true); },\n '_\\\\x{}': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"_\", /^\\\\[a-zA-Z]+\\{/, \"}\", \"\"); },\n '_\\\\x': /^_(\\\\[a-zA-Z]+)\\s*/,\n '^_': /^(?:\\^(?=_)|\\_(?=\\^)|[\\^_]$)/,\n '{}': /^\\{\\}/,\n '{...}': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"\", \"{\", \"}\", \"\"); },\n '{(...)}': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"{\", \"\", \"\", \"}\"); },\n '$...$': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"\", \"$\", \"$\", \"\"); },\n '${(...)}$': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"${\", \"\", \"\", \"}$\"); },\n '$(...)$': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"$\", \"\", \"\", \"$\"); },\n '=<>': /^[=<>]/,\n '#': /^[#\\u2261]/,\n '+': /^\\+/,\n '-$': /^-(?=[\\s_},;\\]/]|$|\\([a-z]+\\))/, // -space -, -; -] -/ -$ -state-of-aggregation\n '-9': /^-(?=[0-9])/,\n '- orbital overlap': /^-(?=(?:[spd]|sp)(?:$|[\\s,;\\)\\]\\}]))/,\n '-': /^-/,\n 'pm-operator': /^(?:\\\\pm|\\$\\\\pm\\$|\\+-|\\+\\/-)/,\n 'operator': /^(?:\\+|(?:[\\-=<>]|<<|>>|\\\\approx|\\$\\\\approx\\$)(?=\\s|$|-?[0-9]))/,\n 'arrowUpDown': /^(?:v|\\(v\\)|\\^|\\(\\^\\))(?=$|[\\s,;\\)\\]\\}])/,\n '\\\\bond{(...)}': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"\\\\bond{\", \"\", \"\", \"}\"); },\n '->': /^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\\u2192\\u27F6\\u21CC])/,\n 'CMT': /^[CMT](?=\\[)/,\n '[(...)]': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"[\", \"\", \"\", \"]\"); },\n '1st-level escape': /^(&|\\\\\\\\|\\\\hline)\\s*/,\n '\\\\,': /^(?:\\\\[,\\ ;:])/, // \\\\x - but output no space before\n '\\\\x{}{}': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"\", /^\\\\[a-zA-Z]+\\{/, \"}\", \"\", \"\", \"{\", \"}\", \"\", true); },\n '\\\\x{}': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"\", /^\\\\[a-zA-Z]+\\{/, \"}\", \"\"); },\n '\\\\ca': /^\\\\ca(?:\\s+|(?![a-zA-Z]))/,\n '\\\\x': /^(?:\\\\[a-zA-Z]+\\s*|\\\\[_&{}%])/,\n 'orbital': /^(?:[0-9]{1,2}[spdfgh]|[0-9]{0,2}sp)(?=$|[^a-zA-Z])/, // only those with numbers in front, because the others will be formatted correctly anyway\n 'others': /^[\\/~|]/,\n '\\\\frac{(...)}': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"\\\\frac{\", \"\", \"\", \"}\", \"{\", \"\", \"\", \"}\"); },\n '\\\\overset{(...)}': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"\\\\overset{\", \"\", \"\", \"}\", \"{\", \"\", \"\", \"}\"); },\n '\\\\underset{(...)}': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"\\\\underset{\", \"\", \"\", \"}\", \"{\", \"\", \"\", \"}\"); },\n '\\\\underbrace{(...)}': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"\\\\underbrace{\", \"\", \"\", \"}_\", \"{\", \"\", \"\", \"}\"); },\n '\\\\color{(...)}0': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"\\\\color{\", \"\", \"\", \"}\"); },\n '\\\\color{(...)}{(...)}1': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"\\\\color{\", \"\", \"\", \"}\", \"{\", \"\", \"\", \"}\"); },\n '\\\\color(...){(...)}2': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"\\\\color\", \"\\\\\", \"\", /^(?=\\{)/, \"{\", \"\", \"\", \"}\"); },\n '\\\\ce{(...)}': function (input) { return mhchemParser.patterns.findObserveGroups(input, \"\\\\ce{\", \"\", \"\", \"}\"); },\n 'oxidation$': /^(?:[+-][IVX]+|\\\\pm\\s*0|\\$\\\\pm\\$\\s*0)$/,\n 'd-oxidation$': /^(?:[+-]?\\s?[IVX]+|\\\\pm\\s*0|\\$\\\\pm\\$\\s*0)$/, // 0 could be oxidation or charge\n 'roman numeral': /^[IVX]+/,\n '1/2$': /^[+\\-]?(?:[0-9]+|\\$[a-z]\\$|[a-z])\\/[0-9]+(?:\\$[a-z]\\$|[a-z])?$/,\n 'amount': function (input) {\n var match;\n // e.g. 2, 0.5, 1/2, -2, n/2, +; $a$ could be added later in parsing\n match = input.match(/^(?:(?:(?:\\([+\\-]?[0-9]+\\/[0-9]+\\)|[+\\-]?(?:[0-9]+|\\$[a-z]\\$|[a-z])\\/[0-9]+|[+\\-]?[0-9]+[.,][0-9]+|[+\\-]?\\.[0-9]+|[+\\-]?[0-9]+)(?:[a-z](?=\\s*[A-Z]))?)|[+\\-]?[a-z](?=\\s*[A-Z])|\\+(?!\\s))/);\n if (match) {\n return { match_: match[0], remainder: input.substr(match[0].length) };\n }\n var a = mhchemParser.patterns.findObserveGroups(input, \"\", \"$\", \"$\", \"\");\n if (a) { // e.g. $2n-1$, $-$\n match = a.match_.match(/^\\$(?:\\(?[+\\-]?(?:[0-9]*[a-z]?[+\\-])?[0-9]*[a-z](?:[+\\-][0-9]*[a-z]?)?\\)?|\\+|-)\\$$/);\n if (match) {\n return { match_: match[0], remainder: input.substr(match[0].length) };\n }\n }\n return null;\n },\n 'amount2': function (input) { return this['amount'](input); },\n '(KV letters),': /^(?:[A-Z][a-z]{0,2}|i)(?=,)/,\n 'formula$': function (input) {\n if (input.match(/^\\([a-z]+\\)$/)) { return null; } // state of aggregation = no formula\n var match = input.match(/^(?:[a-z]|(?:[0-9\\ \\+\\-\\,\\.\\(\\)]+[a-z])+[0-9\\ \\+\\-\\,\\.\\(\\)]*|(?:[a-z][0-9\\ \\+\\-\\,\\.\\(\\)]+)+[a-z]?)$/);\n if (match) {\n return { match_: match[0], remainder: input.substr(match[0].length) };\n }\n return null;\n },\n 'uprightEntities': /^(?:pH|pOH|pC|pK|iPr|iBu)(?=$|[^a-zA-Z])/,\n '/': /^\\s*(\\/)\\s*/,\n '//': /^\\s*(\\/\\/)\\s*/,\n '*': /^\\s*[*.]\\s*/\n },\n findObserveGroups: function (input, begExcl, begIncl, endIncl, endExcl, beg2Excl, beg2Incl, end2Incl, end2Excl, combine) {\n /** @type {{(input: string, pattern: string | RegExp): string | string[] | null;}} */\n var _match = function (input, pattern) {\n if (typeof pattern === \"string\") {\n if (input.indexOf(pattern) !== 0) { return null; }\n return pattern;\n } else {\n var match = input.match(pattern);\n if (!match) { return null; }\n return match[0];\n }\n };\n /** @type {{(input: string, i: number, endChars: string | RegExp): {endMatchBegin: number, endMatchEnd: number} | null;}} */\n var _findObserveGroups = function (input, i, endChars) {\n var braces = 0;\n while (i < input.length) {\n var a = input.charAt(i);\n var match = _match(input.substr(i), endChars);\n if (match !== null && braces === 0) {\n return { endMatchBegin: i, endMatchEnd: i + match.length };\n } else if (a === \"{\") {\n braces++;\n } else if (a === \"}\") {\n if (braces === 0) {\n throw [\"ExtraCloseMissingOpen\", \"Extra close brace or missing open brace\"];\n } else {\n braces--;\n }\n }\n i++;\n }\n if (braces > 0) {\n return null;\n }\n return null;\n };\n var match = _match(input, begExcl);\n if (match === null) { return null; }\n input = input.substr(match.length);\n match = _match(input, begIncl);\n if (match === null) { return null; }\n var e = _findObserveGroups(input, match.length, endIncl || endExcl);\n if (e === null) { return null; }\n var match1 = input.substring(0, (endIncl ? e.endMatchEnd : e.endMatchBegin));\n if (!(beg2Excl || beg2Incl)) {\n return {\n match_: match1,\n remainder: input.substr(e.endMatchEnd)\n };\n } else {\n var group2 = this.findObserveGroups(input.substr(e.endMatchEnd), beg2Excl, beg2Incl, end2Incl, end2Excl);\n if (group2 === null) { return null; }\n /** @type {string[]} */\n var matchRet = [match1, group2.match_];\n return {\n match_: (combine ? matchRet.join(\"\") : matchRet),\n remainder: group2.remainder\n };\n }\n },\n\n //\n // Matching function\n // e.g. match(\"a\", input) will look for the regexp called \"a\" and see if it matches\n // returns null or {match_:\"a\", remainder:\"bc\"}\n //\n match_: function (m, input) {\n var pattern = mhchemParser.patterns.patterns[m];\n if (pattern === undefined) {\n throw [\"MhchemBugP\", \"mhchem bug P. Please report. (\" + m + \")\"]; // Trying to use non-existing pattern\n } else if (typeof pattern === \"function\") {\n return mhchemParser.patterns.patterns[m](input); // cannot use cached var pattern here, because some pattern functions need this===mhchemParser\n } else { // RegExp\n var match = input.match(pattern);\n if (match) {\n var mm;\n if (match[2]) {\n mm = [ match[1], match[2] ];\n } else if (match[1]) {\n mm = match[1];\n } else {\n mm = match[0];\n }\n return { match_: mm, remainder: input.substr(match[0].length) };\n }\n return null;\n }\n }\n },\n\n //\n // Generic state machine actions\n //\n actions: {\n 'a=': function (buffer, m) { buffer.a = (buffer.a || \"\") + m; },\n 'b=': function (buffer, m) { buffer.b = (buffer.b || \"\") + m; },\n 'p=': function (buffer, m) { buffer.p = (buffer.p || \"\") + m; },\n 'o=': function (buffer, m) { buffer.o = (buffer.o || \"\") + m; },\n 'q=': function (buffer, m) { buffer.q = (buffer.q || \"\") + m; },\n 'd=': function (buffer, m) { buffer.d = (buffer.d || \"\") + m; },\n 'rm=': function (buffer, m) { buffer.rm = (buffer.rm || \"\") + m; },\n 'text=': function (buffer, m) { buffer.text_ = (buffer.text_ || \"\") + m; },\n 'insert': function (buffer, m, a) { return { type_: a }; },\n 'insert+p1': function (buffer, m, a) { return { type_: a, p1: m }; },\n 'insert+p1+p2': function (buffer, m, a) { return { type_: a, p1: m[0], p2: m[1] }; },\n 'copy': function (buffer, m) { return m; },\n 'rm': function (buffer, m) { return { type_: 'rm', p1: m || \"\"}; },\n 'text': function (buffer, m) { return mhchemParser.go(m, 'text'); },\n '{text}': function (buffer, m) {\n var ret = [ \"{\" ];\n mhchemParser.concatArray(ret, mhchemParser.go(m, 'text'));\n ret.push(\"}\");\n return ret;\n },\n 'tex-math': function (buffer, m) { return mhchemParser.go(m, 'tex-math'); },\n 'tex-math tight': function (buffer, m) { return mhchemParser.go(m, 'tex-math tight'); },\n 'bond': function (buffer, m, k) { return { type_: 'bond', kind_: k || m }; },\n 'color0-output': function (buffer, m) { return { type_: 'color0', color: m[0] }; },\n 'ce': function (buffer, m) { return mhchemParser.go(m); },\n '1/2': function (buffer, m) {\n /** @type {ParserOutput[]} */\n var ret = [];\n if (m.match(/^[+\\-]/)) {\n ret.push(m.substr(0, 1));\n m = m.substr(1);\n }\n var n = m.match(/^([0-9]+|\\$[a-z]\\$|[a-z])\\/([0-9]+)(\\$[a-z]\\$|[a-z])?$/);\n n[1] = n[1].replace(/\\$/g, \"\");\n ret.push({ type_: 'frac', p1: n[1], p2: n[2] });\n if (n[3]) {\n n[3] = n[3].replace(/\\$/g, \"\");\n ret.push({ type_: 'tex-math', p1: n[3] });\n }\n return ret;\n },\n '9,9': function (buffer, m) { return mhchemParser.go(m, '9,9'); }\n },\n //\n // createTransitions\n // convert { 'letter': { 'state': { action_: 'output' } } } to { 'state' => [ { pattern: 'letter', task: { action_: [{type_: 'output'}] } } ] }\n // with expansion of 'a|b' to 'a' and 'b' (at 2 places)\n //\n createTransitions: function (o) {\n var pattern, state;\n /** @type {string[]} */\n var stateArray;\n var i;\n //\n // 1. Collect all states\n //\n /** @type {Transitions} */\n var transitions = {};\n for (pattern in o) {\n for (state in o[pattern]) {\n stateArray = state.split(\"|\");\n o[pattern][state].stateArray = stateArray;\n for (i=0; i<stateArray.length; i++) {\n transitions[stateArray[i]] = [];\n }\n }\n }\n //\n // 2. Fill states\n //\n for (pattern in o) {\n for (state in o[pattern]) {\n stateArray = o[pattern][state].stateArray || [];\n for (i=0; i<stateArray.length; i++) {\n //\n // 2a. Normalize actions into array: 'text=' ==> [{type_:'text='}]\n // (Note to myself: Resolving the function here would be problematic. It would need .bind (for *this*) and currying (for *option*).)\n //\n /** @type {any} */\n var p = o[pattern][state];\n if (p.action_) {\n p.action_ = [].concat(p.action_);\n for (var k=0; k<p.action_.length; k++) {\n if (typeof p.action_[k] === \"string\") {\n p.action_[k] = { type_: p.action_[k] };\n }\n }\n } else {\n p.action_ = [];\n }\n //\n // 2.b Multi-insert\n //\n var patternArray = pattern.split(\"|\");\n for (var j=0; j<patternArray.length; j++) {\n if (stateArray[i] === '*') { // insert into all\n for (var t in transitions) {\n transitions[t].push({ pattern: patternArray[j], task: p });\n }\n } else {\n transitions[stateArray[i]].push({ pattern: patternArray[j], task: p });\n }\n }\n }\n }\n }\n return transitions;\n },\n stateMachines: {}\n };\n\n //\n // Definition of state machines\n //\n mhchemParser.stateMachines = {\n //\n // \\ce state machines\n //\n //#region ce\n 'ce': { // main parser\n transitions: mhchemParser.createTransitions({\n 'empty': {\n '*': { action_: 'output' } },\n 'else': {\n '0|1|2': { action_: 'beginsWithBond=false', revisit: true, toContinue: true } },\n 'oxidation$': {\n '0': { action_: 'oxidation-output' } },\n 'CMT': {\n 'r': { action_: 'rdt=', nextState: 'rt' },\n 'rd': { action_: 'rqt=', nextState: 'rdt' } },\n 'arrowUpDown': {\n '0|1|2|as': { action_: [ 'sb=false', 'output', 'operator' ], nextState: '1' } },\n 'uprightEntities': {\n '0|1|2': { action_: [ 'o=', 'output' ], nextState: '1' } },\n 'orbital': {\n '0|1|2|3': { action_: 'o=', nextState: 'o' } },\n '->': {\n '0|1|2|3': { action_: 'r=', nextState: 'r' },\n 'a|as': { action_: [ 'output', 'r=' ], nextState: 'r' },\n '*': { action_: [ 'output', 'r=' ], nextState: 'r' } },\n '+': {\n 'o': { action_: 'd= kv', nextState: 'd' },\n 'd|D': { action_: 'd=', nextState: 'd' },\n 'q': { action_: 'd=', nextState: 'qd' },\n 'qd|qD': { action_: 'd=', nextState: 'qd' },\n 'dq': { action_: [ 'output', 'd=' ], nextState: 'd' },\n '3': { action_: [ 'sb=false', 'output', 'operator' ], nextState: '0' } },\n 'amount': {\n '0|2': { action_: 'a=', nextState: 'a' } },\n 'pm-operator': {\n '0|1|2|a|as': { action_: [ 'sb=false', 'output', { type_: 'operator', option: '\\\\pm' } ], nextState: '0' } },\n 'operator': {\n '0|1|2|a|as': { action_: [ 'sb=false', 'output', 'operator' ], nextState: '0' } },\n '-$': {\n 'o|q': { action_: [ 'charge or bond', 'output' ], nextState: 'qd' },\n 'd': { action_: 'd=', nextState: 'd' },\n 'D': { action_: [ 'output', { type_: 'bond', option: \"-\" } ], nextState: '3' },\n 'q': { action_: 'd=', nextState: 'qd' },\n 'qd': { action_: 'd=', nextState: 'qd' },\n 'qD|dq': { action_: [ 'output', { type_: 'bond', option: \"-\" } ], nextState: '3' } },\n '-9': {\n '3|o': { action_: [ 'output', { type_: 'insert', option: 'hyphen' } ], nextState: '3' } },\n '- orbital overlap': {\n 'o': { action_: [ 'output', { type_: 'insert', option: 'hyphen' } ], nextState: '2' },\n 'd': { action_: [ 'output', { type_: 'insert', option: 'hyphen' } ], nextState: '2' } },\n '-': {\n '0|1|2': { action_: [ { type_: 'output', option: 1 }, 'beginsWithBond=true', { type_: 'bond', option: \"-\" } ], nextState: '3' },\n '3': { action_: { type_: 'bond', option: \"-\" } },\n 'a': { action_: [ 'output', { type_: 'insert', option: 'hyphen' } ], nextState: '2' },\n 'as': { action_: [ { type_: 'output', option: 2 }, { type_: 'bond', option: \"-\" } ], nextState: '3' },\n 'b': { action_: 'b=' },\n 'o': { action_: { type_: '- after o/d', option: false }, nextState: '2' },\n 'q': { action_: { type_: '- after o/d', option: false }, nextState: '2' },\n 'd|qd|dq': { action_: { type_: '- after o/d', option: true }, nextState: '2' },\n 'D|qD|p': { action_: [ 'output', { type_: 'bond', option: \"-\" } ], nextState: '3' } },\n 'amount2': {\n '1|3': { action_: 'a=', nextState: 'a' } },\n 'letters': {\n '0|1|2|3|a|as|b|p|bp|o': { action_: 'o=', nextState: 'o' },\n 'q|dq': { action_: ['output', 'o='], nextState: 'o' },\n 'd|D|qd|qD': { action_: 'o after d', nextState: 'o' } },\n 'digits': {\n 'o': { action_: 'q=', nextState: 'q' },\n 'd|D': { action_: 'q=', nextState: 'dq' },\n 'q': { action_: [ 'output', 'o=' ], nextState: 'o' },\n 'a': { action_: 'o=', nextState: 'o' } },\n 'space A': {\n 'b|p|bp': {} },\n 'space': {\n 'a': { nextState: 'as' },\n '0': { action_: 'sb=false' },\n '1|2': { action_: 'sb=true' },\n 'r|rt|rd|rdt|rdq': { action_: 'output', nextState: '0' },\n '*': { action_: [ 'output', 'sb=true' ], nextState: '1'} },\n '1st-level escape': {\n '1|2': { action_: [ 'output', { type_: 'insert+p1', option: '1st-level escape' } ] },\n '*': { action_: [ 'output', { type_: 'insert+p1', option: '1st-level escape' } ], nextState: '0' } },\n '[(...)]': {\n 'r|rt': { action_: 'rd=', nextState: 'rd' },\n 'rd|rdt': { action_: 'rq=', nextState: 'rdq' } },\n '...': {\n 'o|d|D|dq|qd|qD': { action_: [ 'output', { type_: 'bond', option: \"...\" } ], nextState: '3' },\n '*': { action_: [ { type_: 'output', option: 1 }, { type_: 'insert', option: 'ellipsis' } ], nextState: '1' } },\n '. |* ': {\n '*': { action_: [ 'output', { type_: 'insert', option: 'addition compound' } ], nextState: '1' } },\n 'state of aggregation $': {\n '*': { action_: [ 'output', 'state of aggregation' ], nextState: '1' } },\n '{[(': {\n 'a|as|o': { action_: [ 'o=', 'output', 'parenthesisLevel++' ], nextState: '2' },\n '0|1|2|3': { action_: [ 'o=', 'output', 'parenthesisLevel++' ], nextState: '2' },\n '*': { action_: [ 'output', 'o=', 'output', 'parenthesisLevel++' ], nextState: '2' } },\n ')]}': {\n '0|1|2|3|b|p|bp|o': { action_: [ 'o=', 'parenthesisLevel--' ], nextState: 'o' },\n 'a|as|d|D|q|qd|qD|dq': { action_: [ 'output', 'o=', 'parenthesisLevel--' ], nextState: 'o' } },\n ', ': {\n '*': { action_: [ 'output', 'comma' ], nextState: '0' } },\n '^_': { // ^ and _ without a sensible argument\n '*': { } },\n '^{(...)}|^($...$)': {\n '0|1|2|as': { action_: 'b=', nextState: 'b' },\n 'p': { action_: 'b=', nextState: 'bp' },\n '3|o': { action_: 'd= kv', nextState: 'D' },\n 'q': { action_: 'd=', nextState: 'qD' },\n 'd|D|qd|qD|dq': { action_: [ 'output', 'd=' ], nextState: 'D' } },\n '^a|^\\\\x{}{}|^\\\\x{}|^\\\\x|\\'': {\n '0|1|2|as': { action_: 'b=', nextState: 'b' },\n 'p': { action_: 'b=', nextState: 'bp' },\n '3|o': { action_: 'd= kv', nextState: 'd' },\n 'q': { action_: 'd=', nextState: 'qd' },\n 'd|qd|D|qD': { action_: 'd=' },\n 'dq': { action_: [ 'output', 'd=' ], nextState: 'd' } },\n '_{(state of aggregation)}$': {\n 'd|D|q|qd|qD|dq': { action_: [ 'output', 'q=' ], nextState: 'q' } },\n '_{(...)}|_($...$)|_9|_\\\\x{}{}|_\\\\x{}|_\\\\x': {\n '0|1|2|as': { action_: 'p=', nextState: 'p' },\n 'b': { action_: 'p=', nextState: 'bp' },\n '3|o': { action_: 'q=', nextState: 'q' },\n 'd|D': { action_: 'q=', nextState: 'dq' },\n 'q|qd|qD|dq': { action_: [ 'output', 'q=' ], nextState: 'q' } },\n '=<>': {\n '0|1|2|3|a|as|o|q|d|D|qd|qD|dq': { action_: [ { type_: 'output', option: 2 }, 'bond' ], nextState: '3' } },\n '#': {\n '0|1|2|3|a|as|o': { action_: [ { type_: 'output', option: 2 }, { type_: 'bond', option: \"#\" } ], nextState: '3' } },\n '{}': {\n '*': { action_: { type_: 'output', option: 1 }, nextState: '1' } },\n '{...}': {\n '0|1|2|3|a|as|b|p|bp': { action_: 'o=', nextState: 'o' },\n 'o|d|D|q|qd|qD|dq': { action_: [ 'output', 'o=' ], nextState: 'o' } },\n '$...$': {\n 'a': { action_: 'a=' }, // 2$n$\n '0|1|2|3|as|b|p|bp|o': { action_: 'o=', nextState: 'o' }, // not 'amount'\n 'as|o': { action_: 'o=' },\n 'q|d|D|qd|qD|dq': { action_: [ 'output', 'o=' ], nextState: 'o' } },\n '\\\\bond{(...)}': {\n '*': { action_: [ { type_: 'output', option: 2 }, 'bond' ], nextState: \"3\" } },\n '\\\\frac{(...)}': {\n '*': { action_: [ { type_: 'output', option: 1 }, 'frac-output' ], nextState: '3' } },\n '\\\\overset{(...)}': {\n '*': { action_: [ { type_: 'output', option: 2 }, 'overset-output' ], nextState: '3' } },\n '\\\\underset{(...)}': {\n '*': { action_: [ { type_: 'output', option: 2 }, 'underset-output' ], nextState: '3' } },\n '\\\\underbrace{(...)}': {\n '*': { action_: [ { type_: 'output', option: 2 }, 'underbrace-output' ], nextState: '3' } },\n '\\\\color{(...)}{(...)}1|\\\\color(...){(...)}2': {\n '*': { action_: [ { type_: 'output', option: 2 }, 'color-output' ], nextState: '3' } },\n '\\\\color{(...)}0': {\n '*': { action_: [ { type_: 'output', option: 2 }, 'color0-output' ] } },\n '\\\\ce{(...)}': {\n '*': { action_: [ { type_: 'output', option: 2 }, 'ce' ], nextState: '3' } },\n '\\\\,': {\n '*': { action_: [ { type_: 'output', option: 1 }, 'copy' ], nextState: '1' } },\n '\\\\x{}{}|\\\\x{}|\\\\x': {\n '0|1|2|3|a|as|b|p|bp|o|c0': { action_: [ 'o=', 'output' ], nextState: '3' },\n '*': { action_: ['output', 'o=', 'output' ], nextState: '3' } },\n 'others': {\n '*': { action_: [ { type_: 'output', option: 1 }, 'copy' ], nextState: '3' } },\n 'else2': {\n 'a': { action_: 'a to o', nextState: 'o', revisit: true },\n 'as': { action_: [ 'output', 'sb=true' ], nextState: '1', revisit: true },\n 'r|rt|rd|rdt|rdq': { action_: [ 'output' ], nextState: '0', revisit: true },\n '*': { action_: [ 'output', 'copy' ], nextState: '3' } }\n }),\n actions: {\n 'o after d': function (buffer, m) {\n var ret;\n if ((buffer.d || \"\").match(/^[0-9]+$/)) {\n var tmp = buffer.d;\n buffer.d = undefined;\n ret = this['output'](buffer);\n buffer.b = tmp;\n } else {\n ret = this['output'](buffer);\n }\n mhchemParser.actions['o='](buffer, m);\n return ret;\n },\n 'd= kv': function (buffer, m) {\n buffer.d = m;\n buffer.dType = 'kv';\n },\n 'charge or bond': function (buffer, m) {\n if (buffer['beginsWithBond']) {\n /** @type {ParserOutput[]} */\n var ret = [];\n mhchemParser.concatArray(ret, this['output'](buffer));\n mhchemParser.concatArray(ret, mhchemParser.actions['bond'](buffer, m, \"-\"));\n return ret;\n } else {\n buffer.d = m;\n }\n },\n '- after o/d': function (buffer, m, isAfterD) {\n var c1 = mhchemParser.patterns.match_('orbital', buffer.o || \"\");\n var c2 = mhchemParser.patterns.match_('one lowercase greek letter $', buffer.o || \"\");\n var c3 = mhchemParser.patterns.match_('one lowercase latin letter $', buffer.o || \"\");\n var c4 = mhchemParser.patterns.match_('$one lowercase latin letter$ $', buffer.o || \"\");\n var hyphenFollows = m===\"-\" && ( c1 && c1.remainder===\"\" || c2 || c3 || c4 );\n if (hyphenFollows && !buffer.a && !buffer.b && !buffer.p && !buffer.d && !buffer.q && !c1 && c3) {\n buffer.o = '$' + buffer.o + '$';\n }\n /** @type {ParserOutput[]} */\n var ret = [];\n if (hyphenFollows) {\n mhchemParser.concatArray(ret, this['output'](buffer));\n ret.push({ type_: 'hyphen' });\n } else {\n c1 = mhchemParser.patterns.match_('digits', buffer.d || \"\");\n if (isAfterD && c1 && c1.remainder==='') {\n mhchemParser.concatArray(ret, mhchemParser.actions['d='](buffer, m));\n mhchemParser.concatArray(ret, this['output'](buffer));\n } else {\n mhchemParser.concatArray(ret, this['output'](buffer));\n mhchemParser.concatArray(ret, mhchemParser.actions['bond'](buffer, m, \"-\"));\n }\n }\n return ret;\n },\n 'a to o': function (buffer) {\n buffer.o = buffer.a;\n buffer.a = undefined;\n },\n 'sb=true': function (buffer) { buffer.sb = true; },\n 'sb=false': function (buffer) { buffer.sb = false; },\n 'beginsWithBond=true': function (buffer) { buffer['beginsWithBond'] = true; },\n 'beginsWithBond=false': function (buffer) { buffer['beginsWithBond'] = false; },\n 'parenthesisLevel++': function (buffer) { buffer['parenthesisLevel']++; },\n 'parenthesisLevel--': function (buffer) { buffer['parenthesisLevel']--; },\n 'state of aggregation': function (buffer, m) {\n return { type_: 'state of aggregation', p1: mhchemParser.go(m, 'o') };\n },\n 'comma': function (buffer, m) {\n var a = m.replace(/\\s*$/, '');\n var withSpace = (a !== m);\n if (withSpace && buffer['parenthesisLevel'] === 0) {\n return { type_: 'comma enumeration L', p1: a };\n } else {\n return { type_: 'comma enumeration M', p1: a };\n }\n },\n 'output': function (buffer, m, entityFollows) {\n // entityFollows:\n // undefined = if we have nothing else to output, also ignore the just read space (buffer.sb)\n // 1 = an entity follows, never omit the space if there was one just read before (can only apply to state 1)\n // 2 = 1 + the entity can have an amount, so output a\\, instead of converting it to o (can only apply to states a|as)\n /** @type {ParserOutput | ParserOutput[]} */\n var ret;\n if (!buffer.r) {\n ret = [];\n if (!buffer.a && !buffer.b && !buffer.p && !buffer.o && !buffer.q && !buffer.d && !entityFollows) {\n //ret = [];\n } else {\n if (buffer.sb) {\n ret.push({ type_: 'entitySkip' });\n }\n if (!buffer.o && !buffer.q && !buffer.d && !buffer.b && !buffer.p && entityFollows!==2) {\n buffer.o = buffer.a;\n buffer.a = undefined;\n } else if (!buffer.o && !buffer.q && !buffer.d && (buffer.b || buffer.p)) {\n buffer.o = buffer.a;\n buffer.d = buffer.b;\n buffer.q = buffer.p;\n buffer.a = buffer.b = buffer.p = undefined;\n } else {\n if (buffer.o && buffer.dType==='kv' && mhchemParser.patterns.match_('d-oxidation$', buffer.d || \"\")) {\n buffer.dType = 'oxidation';\n } else if (buffer.o && buffer.dType==='kv' && !buffer.q) {\n buffer.dType = undefined;\n }\n }\n ret.push({\n type_: 'chemfive',\n a: mhchemParser.go(buffer.a, 'a'),\n b: mhchemParser.go(buffer.b, 'bd'),\n p: mhchemParser.go(buffer.p, 'pq'),\n o: mhchemParser.go(buffer.o, 'o'),\n q: mhchemParser.go(buffer.q, 'pq'),\n d: mhchemParser.go(buffer.d, (buffer.dType === 'oxidation' ? 'oxidation' : 'bd')),\n dType: buffer.dType\n });\n }\n } else { // r\n /** @type {ParserOutput[]} */\n var rd;\n if (buffer.rdt === 'M') {\n rd = mhchemParser.go(buffer.rd, 'tex-math');\n } else if (buffer.rdt === 'T') {\n rd = [ { type_: 'text', p1: buffer.rd || \"\" } ];\n } else {\n rd = mhchemParser.go(buffer.rd);\n }\n /** @type {ParserOutput[]} */\n var rq;\n if (buffer.rqt === 'M') {\n rq = mhchemParser.go(buffer.rq, 'tex-math');\n } else if (buffer.rqt === 'T') {\n rq = [ { type_: 'text', p1: buffer.rq || \"\"} ];\n } else {\n rq = mhchemParser.go(buffer.rq);\n }\n ret = {\n type_: 'arrow',\n r: buffer.r,\n rd: rd,\n rq: rq\n };\n }\n for (var p in buffer) {\n if (p !== 'parenthesisLevel' && p !== 'beginsWithBond') {\n delete buffer[p];\n }\n }\n return ret;\n },\n 'oxidation-output': function (buffer, m) {\n var ret = [ \"{\" ];\n mhchemParser.concatArray(ret, mhchemParser.go(m, 'oxidation'));\n ret.push(\"}\");\n return ret;\n },\n 'frac-output': function (buffer, m) {\n return { type_: 'frac-ce', p1: mhchemParser.go(m[0]), p2: mhchemParser.go(m[1]) };\n },\n 'overset-output': function (buffer, m) {\n return { type_: 'overset', p1: mhchemParser.go(m[0]), p2: mhchemParser.go(m[1]) };\n },\n 'underset-output': function (buffer, m) {\n return { type_: 'underset', p1: mhchemParser.go(m[0]), p2: mhchemParser.go(m[1]) };\n },\n 'underbrace-output': function (buffer, m) {\n return { type_: 'underbrace', p1: mhchemParser.go(m[0]), p2: mhchemParser.go(m[1]) };\n },\n 'color-output': function (buffer, m) {\n return { type_: 'color', color1: m[0], color2: mhchemParser.go(m[1]) };\n },\n 'r=': function (buffer, m) { buffer.r = m; },\n 'rdt=': function (buffer, m) { buffer.rdt = m; },\n 'rd=': function (buffer, m) { buffer.rd = m; },\n 'rqt=': function (buffer, m) { buffer.rqt = m; },\n 'rq=': function (buffer, m) { buffer.rq = m; },\n 'operator': function (buffer, m, p1) { return { type_: 'operator', kind_: (p1 || m) }; }\n }\n },\n 'a': {\n transitions: mhchemParser.createTransitions({\n 'empty': {\n '*': {} },\n '1/2$': {\n '0': { action_: '1/2' } },\n 'else': {\n '0': { nextState: '1', revisit: true } },\n '$(...)$': {\n '*': { action_: 'tex-math tight', nextState: '1' } },\n ',': {\n '*': { action_: { type_: 'insert', option: 'commaDecimal' } } },\n 'else2': {\n '*': { action_: 'copy' } }\n }),\n actions: {}\n },\n 'o': {\n transitions: mhchemParser.createTransitions({\n 'empty': {\n '*': {} },\n '1/2$': {\n '0': { action_: '1/2' } },\n 'else': {\n '0': { nextState: '1', revisit: true } },\n 'letters': {\n '*': { action_: 'rm' } },\n '\\\\ca': {\n '*': { action_: { type_: 'insert', option: 'circa' } } },\n '\\\\x{}{}|\\\\x{}|\\\\x': {\n '*': { action_: 'copy' } },\n '${(...)}$|$(...)$': {\n '*': { action_: 'tex-math' } },\n '{(...)}': {\n '*': { action_: '{text}' } },\n 'else2': {\n '*': { action_: 'copy' } }\n }),\n actions: {}\n },\n 'text': {\n transitions: mhchemParser.createTransitions({\n 'empty': {\n '*': { action_: 'output' } },\n '{...}': {\n '*': { action_: 'text=' } },\n '${(...)}$|$(...)$': {\n '*': { action_: 'tex-math' } },\n '\\\\greek': {\n '*': { action_: [ 'output', 'rm' ] } },\n '\\\\,|\\\\x{}{}|\\\\x{}|\\\\x': {\n '*': { action_: [ 'output', 'copy' ] } },\n 'else': {\n '*': { action_: 'text=' } }\n }),\n actions: {\n 'output': function (buffer) {\n if (buffer.text_) {\n /** @type {ParserOutput} */\n var ret = { type_: 'text', p1: buffer.text_ };\n for (var p in buffer) { delete buffer[p]; }\n return ret;\n }\n }\n }\n },\n 'pq': {\n transitions: mhchemParser.createTransitions({\n 'empty': {\n '*': {} },\n 'state of aggregation $': {\n '*': { action_: 'state of aggregation' } },\n 'i$': {\n '0': { nextState: '!f', revisit: true } },\n '(KV letters),': {\n '0': { action_: 'rm', nextState: '0' } },\n 'formula$': {\n '0': { nextState: 'f', revisit: true } },\n '1/2$': {\n '0': { action_: '1/2' } },\n 'else': {\n '0': { nextState: '!f', revisit: true } },\n '${(...)}$|$(...)$': {\n '*': { action_: 'tex-math' } },\n '{(...)}': {\n '*': { action_: 'text' } },\n 'a-z': {\n 'f': { action_: 'tex-math' } },\n 'letters': {\n '*': { action_: 'rm' } },\n '-9.,9': {\n '*': { action_: '9,9' } },\n ',': {\n '*': { action_: { type_: 'insert+p1', option: 'comma enumeration S' } } },\n '\\\\color{(...)}{(...)}1|\\\\color(...){(...)}2': {\n '*': { action_: 'color-output' } },\n '\\\\color{(...)}0': {\n '*': { action_: 'color0-output' } },\n '\\\\ce{(...)}': {\n '*': { action_: 'ce' } },\n '\\\\,|\\\\x{}{}|\\\\x{}|\\\\x': {\n '*': { action_: 'copy' } },\n 'else2': {\n '*': { action_: 'copy' } }\n }),\n actions: {\n 'state of aggregation': function (buffer, m) {\n return { type_: 'state of aggregation subscript', p1: mhchemParser.go(m, 'o') };\n },\n 'color-output': function (buffer, m) {\n return { type_: 'color', color1: m[0], color2: mhchemParser.go(m[1], 'pq') };\n }\n }\n },\n 'bd': {\n transitions: mhchemParser.createTransitions({\n 'empty': {\n '*': {} },\n 'x$': {\n '0': { nextState: '!f', revisit: true } },\n 'formula$': {\n '0': { nextState: 'f', revisit: true } },\n 'else': {\n '0': { nextState: '!f', revisit: true } },\n '-9.,9 no missing 0': {\n '*': { action_: '9,9' } },\n '.': {\n '*': { action_: { type_: 'insert', option: 'electron dot' } } },\n 'a-z': {\n 'f': { action_: 'tex-math' } },\n 'x': {\n '*': { action_: { type_: 'insert', option: 'KV x' } } },\n 'letters': {\n '*': { action_: 'rm' } },\n '\\'': {\n '*': { action_: { type_: 'insert', option: 'prime' } } },\n '${(...)}$|$(...)$': {\n '*': { action_: 'tex-math' } },\n '{(...)}': {\n '*': { action_: 'text' } },\n '\\\\color{(...)}{(...)}1|\\\\color(...){(...)}2': {\n '*': { action_: 'color-output' } },\n '\\\\color{(...)}0': {\n '*': { action_: 'color0-output' } },\n '\\\\ce{(...)}': {\n '*': { action_: 'ce' } },\n '\\\\,|\\\\x{}{}|\\\\x{}|\\\\x': {\n '*': { action_: 'copy' } },\n 'else2': {\n '*': { action_: 'copy' } }\n }),\n actions: {\n 'color-output': function (buffer, m) {\n return { type_: 'color', color1: m[0], color2: mhchemParser.go(m[1], 'bd') };\n }\n }\n },\n 'oxidation': {\n transitions: mhchemParser.createTransitions({\n 'empty': {\n '*': {} },\n 'roman numeral': {\n '*': { action_: 'roman-numeral' } },\n '${(...)}$|$(...)$': {\n '*': { action_: 'tex-math' } },\n 'else': {\n '*': { action_: 'copy' } }\n }),\n actions: {\n 'roman-numeral': function (buffer, m) { return { type_: 'roman numeral', p1: m || \"\" }; }\n }\n },\n 'tex-math': {\n transitions: mhchemParser.createTransitions({\n 'empty': {\n '*': { action_: 'output' } },\n '\\\\ce{(...)}': {\n '*': { action_: [ 'output', 'ce' ] } },\n '{...}|\\\\,|\\\\x{}{}|\\\\x{}|\\\\x': {\n '*': { action_: 'o=' } },\n 'else': {\n '*': { action_: 'o=' } }\n }),\n actions: {\n 'output': function (buffer) {\n if (buffer.o) {\n /** @type {ParserOutput} */\n var ret = { type_: 'tex-math', p1: buffer.o };\n for (var p in buffer) { delete buffer[p]; }\n return ret;\n }\n }\n }\n },\n 'tex-math tight': {\n transitions: mhchemParser.createTransitions({\n 'empty': {\n '*': { action_: 'output' } },\n '\\\\ce{(...)}': {\n '*': { action_: [ 'output', 'ce' ] } },\n '{...}|\\\\,|\\\\x{}{}|\\\\x{}|\\\\x': {\n '*': { action_: 'o=' } },\n '-|+': {\n '*': { action_: 'tight operator' } },\n 'else': {\n '*': { action_: 'o=' } }\n }),\n actions: {\n 'tight operator': function (buffer, m) { buffer.o = (buffer.o || \"\") + \"{\"+m+\"}\"; },\n 'output': function (buffer) {\n if (buffer.o) {\n /** @type {ParserOutput} */\n var ret = { type_: 'tex-math', p1: buffer.o };\n for (var p in buffer) { delete buffer[p]; }\n return ret;\n }\n }\n }\n },\n '9,9': {\n transitions: mhchemParser.createTransitions({\n 'empty': {\n '*': {} },\n ',': {\n '*': { action_: 'comma' } },\n 'else': {\n '*': { action_: 'copy' } }\n }),\n actions: {\n 'comma': function () { return { type_: 'commaDecimal' }; }\n }\n },\n //#endregion\n //\n // \\pu state machines\n //\n //#region pu\n 'pu': {\n transitions: mhchemParser.createTransitions({\n 'empty': {\n '*': { action_: 'output' } },\n 'space$': {\n '*': { action_: [ 'output', 'space' ] } },\n '{[(|)]}': {\n '0|a': { action_: 'copy' } },\n '(-)(9)^(-9)': {\n '0': { action_: 'number^', nextState: 'a' } },\n '(-)(9.,9)(e)(99)': {\n '0': { action_: 'enumber', nextState: 'a' } },\n 'space': {\n '0|a': {} },\n 'pm-operator': {\n '0|a': { action_: { type_: 'operator', option: '\\\\pm' }, nextState: '0' } },\n 'operator': {\n '0|a': { action_: 'copy', nextState: '0' } },\n '//': {\n 'd': { action_: 'o=', nextState: '/' } },\n '/': {\n 'd': { action_: 'o=', nextState: '/' } },\n '{...}|else': {\n '0|d': { action_: 'd=', nextState: 'd' },\n 'a': { action_: [ 'space', 'd=' ], nextState: 'd' },\n '/|q': { action_: 'q=', nextState: 'q' } }\n }),\n actions: {\n 'enumber': function (buffer, m) {\n /** @type {ParserOutput[]} */\n var ret = [];\n if (m[0] === \"+-\" || m[0] === \"+/-\") {\n ret.push(\"\\\\pm \");\n } else if (m[0]) {\n ret.push(m[0]);\n }\n if (m[1]) {\n mhchemParser.concatArray(ret, mhchemParser.go(m[1], 'pu-9,9'));\n if (m[2]) {\n if (m[2].match(/[,.]/)) {\n mhchemParser.concatArray(ret, mhchemParser.go(m[2], 'pu-9,9'));\n } else {\n ret.push(m[2]);\n }\n }\n m[3] = m[4] || m[3];\n if (m[3]) {\n m[3] = m[3].trim();\n if (m[3] === \"e\" || m[3].substr(0, 1) === \"*\") {\n ret.push({ type_: 'cdot' });\n } else {\n ret.push({ type_: 'times' });\n }\n }\n }\n if (m[3]) {\n ret.push(\"10^{\"+m[5]+\"}\");\n }\n return ret;\n },\n 'number^': function (buffer, m) {\n /** @type {ParserOutput[]} */\n var ret = [];\n if (m[0] === \"+-\" || m[0] === \"+/-\") {\n ret.push(\"\\\\pm \");\n } else if (m[0]) {\n ret.push(m[0]);\n }\n mhchemParser.concatArray(ret, mhchemParser.go(m[1], 'pu-9,9'));\n ret.push(\"^{\"+m[2]+\"}\");\n return ret;\n },\n 'operator': function (buffer, m, p1) { return { type_: 'operator', kind_: (p1 || m) }; },\n 'space': function () { return { type_: 'pu-space-1' }; },\n 'output': function (buffer) {\n /** @type {ParserOutput | ParserOutput[]} */\n var ret;\n var md = mhchemParser.patterns.match_('{(...)}', buffer.d || \"\");\n if (md && md.remainder === '') { buffer.d = md.match_; }\n var mq = mhchemParser.patterns.match_('{(...)}', buffer.q || \"\");\n if (mq && mq.remainder === '') { buffer.q = mq.match_; }\n if (buffer.d) {\n buffer.d = buffer.d.replace(/\\u00B0C|\\^oC|\\^{o}C/g, \"{}^{\\\\circ}C\");\n buffer.d = buffer.d.replace(/\\u00B0F|\\^oF|\\^{o}F/g, \"{}^{\\\\circ}F\");\n }\n if (buffer.q) { // fraction\n buffer.q = buffer.q.replace(/\\u00B0C|\\^oC|\\^{o}C/g, \"{}^{\\\\circ}C\");\n buffer.q = buffer.q.replace(/\\u00B0F|\\^oF|\\^{o}F/g, \"{}^{\\\\circ}F\");\n var b5 = {\n d: mhchemParser.go(buffer.d, 'pu'),\n q: mhchemParser.go(buffer.q, 'pu')\n };\n if (buffer.o === '//') {\n ret = { type_: 'pu-frac', p1: b5.d, p2: b5.q };\n } else {\n ret = b5.d;\n if (b5.d.length > 1 || b5.q.length > 1) {\n ret.push({ type_: ' / ' });\n } else {\n ret.push({ type_: '/' });\n }\n mhchemParser.concatArray(ret, b5.q);\n }\n } else { // no fraction\n ret = mhchemParser.go(buffer.d, 'pu-2');\n }\n for (var p in buffer) { delete buffer[p]; }\n return ret;\n }\n }\n },\n 'pu-2': {\n transitions: mhchemParser.createTransitions({\n 'empty': {\n '*': { action_: 'output' } },\n '*': {\n '*': { action_: [ 'output', 'cdot' ], nextState: '0' } },\n '\\\\x': {\n '*': { action_: 'rm=' } },\n 'space': {\n '*': { action_: [ 'output', 'space' ], nextState: '0' } },\n '^{(...)}|^(-1)': {\n '1': { action_: '^(-1)' } },\n '-9.,9': {\n '0': { action_: 'rm=', nextState: '0' },\n '1': { action_: '^(-1)', nextState: '0' } },\n '{...}|else': {\n '*': { action_: 'rm=', nextState: '1' } }\n }),\n actions: {\n 'cdot': function () { return { type_: 'tight cdot' }; },\n '^(-1)': function (buffer, m) { buffer.rm += \"^{\"+m+\"}\"; },\n 'space': function () { return { type_: 'pu-space-2' }; },\n 'output': function (buffer) {\n /** @type {ParserOutput | ParserOutput[]} */\n var ret = [];\n if (buffer.rm) {\n var mrm = mhchemParser.patterns.match_('{(...)}', buffer.rm || \"\");\n if (mrm && mrm.remainder === '') {\n ret = mhchemParser.go(mrm.match_, 'pu');\n } else {\n ret = { type_: 'rm', p1: buffer.rm };\n }\n }\n for (var p in buffer) { delete buffer[p]; }\n return ret;\n }\n }\n },\n 'pu-9,9': {\n transitions: mhchemParser.createTransitions({\n 'empty': {\n '0': { action_: 'output-0' },\n 'o': { action_: 'output-o' } },\n ',': {\n '0': { action_: [ 'output-0', 'comma' ], nextState: 'o' } },\n '.': {\n '0': { action_: [ 'output-0', 'copy' ], nextState: 'o' } },\n 'else': {\n '*': { action_: 'text=' } }\n }),\n actions: {\n 'comma': function () { return { type_: 'commaDecimal' }; },\n 'output-0': function (buffer) {\n /** @type {ParserOutput[]} */\n var ret = [];\n buffer.text_ = buffer.text_ || \"\";\n if (buffer.text_.length > 4) {\n var a = buffer.text_.length % 3;\n if (a === 0) { a = 3; }\n for (var i=buffer.text_.length-3; i>0; i-=3) {\n ret.push(buffer.text_.substr(i, 3));\n ret.push({ type_: '1000 separator' });\n }\n ret.push(buffer.text_.substr(0, a));\n ret.reverse();\n } else {\n ret.push(buffer.text_);\n }\n for (var p in buffer) { delete buffer[p]; }\n return ret;\n },\n 'output-o': function (buffer) {\n /** @type {ParserOutput[]} */\n var ret = [];\n buffer.text_ = buffer.text_ || \"\";\n if (buffer.text_.length > 4) {\n var a = buffer.text_.length - 3;\n for (var i=0; i<a; i+=3) {\n ret.push(buffer.text_.substr(i, 3));\n ret.push({ type_: '1000 separator' });\n }\n ret.push(buffer.text_.substr(i));\n } else {\n ret.push(buffer.text_);\n }\n for (var p in buffer) { delete buffer[p]; }\n return ret;\n }\n }\n }\n //#endregion\n };\n\n //\n // texify: Take MhchemParser output and convert it to TeX\n //\n /** @type {Texify} */\n var texify = {\n go: function (input, isInner) { // (recursive, max 4 levels)\n if (!input) { return \"\"; }\n var res = \"\";\n var cee = false;\n for (var i=0; i < input.length; i++) {\n var inputi = input[i];\n if (typeof inputi === \"string\") {\n res += inputi;\n } else {\n res += texify._go2(inputi);\n if (inputi.type_ === '1st-level escape') { cee = true; }\n }\n }\n if (!isInner && !cee && res) {\n res = \"{\" + res + \"}\";\n }\n return res;\n },\n _goInner: function (input) {\n if (!input) { return input; }\n return texify.go(input, true);\n },\n _go2: function (buf) {\n /** @type {undefined | string} */\n var res;\n switch (buf.type_) {\n case 'chemfive':\n res = \"\";\n var b5 = {\n a: texify._goInner(buf.a),\n b: texify._goInner(buf.b),\n p: texify._goInner(buf.p),\n o: texify._goInner(buf.o),\n q: texify._goInner(buf.q),\n d: texify._goInner(buf.d)\n };\n //\n // a\n //\n if (b5.a) {\n if (b5.a.match(/^[+\\-]/)) { b5.a = \"{\"+b5.a+\"}\"; }\n res += b5.a + \"\\\\,\";\n }\n //\n // b and p\n //\n if (b5.b || b5.p) {\n res += \"{\\\\vphantom{X}}\";\n res += \"^{\\\\hphantom{\"+(b5.b||\"\")+\"}}_{\\\\hphantom{\"+(b5.p||\"\")+\"}}\";\n res += \"{\\\\vphantom{X}}\";\n res += \"^{\\\\smash[t]{\\\\vphantom{2}}\\\\mathllap{\"+(b5.b||\"\")+\"}}\";\n res += \"_{\\\\vphantom{2}\\\\mathllap{\\\\smash[t]{\"+(b5.p||\"\")+\"}}}\";\n }\n //\n // o\n //\n if (b5.o) {\n if (b5.o.match(/^[+\\-]/)) { b5.o = \"{\"+b5.o+\"}\"; }\n res += b5.o;\n }\n //\n // q and d\n //\n if (buf.dType === 'kv') {\n if (b5.d || b5.q) {\n res += \"{\\\\vphantom{X}}\";\n }\n if (b5.d) {\n res += \"^{\"+b5.d+\"}\";\n }\n if (b5.q) {\n res += \"_{\\\\smash[t]{\"+b5.q+\"}}\";\n }\n } else if (buf.dType === 'oxidation') {\n if (b5.d) {\n res += \"{\\\\vphantom{X}}\";\n res += \"^{\"+b5.d+\"}\";\n }\n if (b5.q) {\n res += \"{\\\\vphantom{X}}\";\n res += \"_{\\\\smash[t]{\"+b5.q+\"}}\";\n }\n } else {\n if (b5.q) {\n res += \"{\\\\vphantom{X}}\";\n res += \"_{\\\\smash[t]{\"+b5.q+\"}}\";\n }\n if (b5.d) {\n res += \"{\\\\vphantom{X}}\";\n res += \"^{\"+b5.d+\"}\";\n }\n }\n break;\n case 'rm':\n res = \"\\\\mathrm{\"+buf.p1+\"}\";\n break;\n case 'text':\n if (buf.p1.match(/[\\^_]/)) {\n buf.p1 = buf.p1.replace(\" \", \"~\").replace(\"-\", \"\\\\text{-}\");\n res = \"\\\\mathrm{\"+buf.p1+\"}\";\n } else {\n res = \"\\\\text{\"+buf.p1+\"}\";\n }\n break;\n case 'roman numeral':\n res = \"\\\\mathrm{\"+buf.p1+\"}\";\n break;\n case 'state of aggregation':\n res = \"\\\\mskip2mu \"+texify._goInner(buf.p1);\n break;\n case 'state of aggregation subscript':\n res = \"\\\\mskip1mu \"+texify._goInner(buf.p1);\n break;\n case 'bond':\n res = texify._getBond(buf.kind_);\n if (!res) {\n throw [\"MhchemErrorBond\", \"mhchem Error. Unknown bond type (\" + buf.kind_ + \")\"];\n }\n break;\n case 'frac':\n var c = \"\\\\frac{\" + buf.p1 + \"}{\" + buf.p2 + \"}\";\n res = \"\\\\mathchoice{\\\\textstyle\"+c+\"}{\"+c+\"}{\"+c+\"}{\"+c+\"}\";\n break;\n case 'pu-frac':\n var d = \"\\\\frac{\" + texify._goInner(buf.p1) + \"}{\" + texify._goInner(buf.p2) + \"}\";\n res = \"\\\\mathchoice{\\\\textstyle\"+d+\"}{\"+d+\"}{\"+d+\"}{\"+d+\"}\";\n break;\n case 'tex-math':\n res = buf.p1 + \" \";\n break;\n case 'frac-ce':\n res = \"\\\\frac{\" + texify._goInner(buf.p1) + \"}{\" + texify._goInner(buf.p2) + \"}\";\n break;\n case 'overset':\n res = \"\\\\overset{\" + texify._goInner(buf.p1) + \"}{\" + texify._goInner(buf.p2) + \"}\";\n break;\n case 'underset':\n res = \"\\\\underset{\" + texify._goInner(buf.p1) + \"}{\" + texify._goInner(buf.p2) + \"}\";\n break;\n case 'underbrace':\n res = \"\\\\underbrace{\" + texify._goInner(buf.p1) + \"}_{\" + texify._goInner(buf.p2) + \"}\";\n break;\n case 'color':\n res = \"{\\\\color{\" + buf.color1 + \"}{\" + texify._goInner(buf.color2) + \"}}\";\n break;\n case 'color0':\n res = \"\\\\color{\" + buf.color + \"}\";\n break;\n case 'arrow':\n var b6 = {\n rd: texify._goInner(buf.rd),\n rq: texify._goInner(buf.rq)\n };\n var arrow = \"\\\\x\" + texify._getArrow(buf.r);\n if (b6.rq) { arrow += \"[{\" + b6.rq + \"}]\"; }\n if (b6.rd) {\n arrow += \"{\" + b6.rd + \"}\";\n } else {\n arrow += \"{}\";\n }\n res = arrow;\n break;\n case 'operator':\n res = texify._getOperator(buf.kind_);\n break;\n case '1st-level escape':\n res = buf.p1+\" \"; // &, \\\\\\\\, \\\\hlin\n break;\n case 'space':\n res = \" \";\n break;\n case 'entitySkip':\n res = \"~\";\n break;\n case 'pu-space-1':\n res = \"~\";\n break;\n case 'pu-space-2':\n res = \"\\\\mkern3mu \";\n break;\n case '1000 separator':\n res = \"\\\\mkern2mu \";\n break;\n case 'commaDecimal':\n res = \"{,}\";\n break;\n case 'comma enumeration L':\n res = \"{\"+buf.p1+\"}\\\\mkern6mu \";\n break;\n case 'comma enumeration M':\n res = \"{\"+buf.p1+\"}\\\\mkern3mu \";\n break;\n case 'comma enumeration S':\n res = \"{\"+buf.p1+\"}\\\\mkern1mu \";\n break;\n case 'hyphen':\n res = \"\\\\text{-}\";\n break;\n case 'addition compound':\n res = \"\\\\,{\\\\cdot}\\\\,\";\n break;\n case 'electron dot':\n res = \"\\\\mkern1mu \\\\bullet\\\\mkern1mu \";\n break;\n case 'KV x':\n res = \"{\\\\times}\";\n break;\n case 'prime':\n res = \"\\\\prime \";\n break;\n case 'cdot':\n res = \"\\\\cdot \";\n break;\n case 'tight cdot':\n res = \"\\\\mkern1mu{\\\\cdot}\\\\mkern1mu \";\n break;\n case 'times':\n res = \"\\\\times \";\n break;\n case 'circa':\n res = \"{\\\\sim}\";\n break;\n case '^':\n res = \"uparrow\";\n break;\n case 'v':\n res = \"downarrow\";\n break;\n case 'ellipsis':\n res = \"\\\\ldots \";\n break;\n case '/':\n res = \"/\";\n break;\n case ' / ':\n res = \"\\\\,/\\\\,\";\n break;\n default:\n assertNever(buf);\n throw [\"MhchemBugT\", \"mhchem bug T. Please report.\"]; // Missing texify rule or unknown MhchemParser output\n }\n assertString(res);\n return res;\n },\n _getArrow: function (a) {\n switch (a) {\n case \"->\": return \"rightarrow\";\n case \"\\u2192\": return \"rightarrow\";\n case \"\\u27F6\": return \"rightarrow\";\n case \"<-\": return \"leftarrow\";\n case \"<->\": return \"leftrightarrow\";\n case \"<-->\": return \"rightleftarrows\";\n case \"<=>\": return \"rightleftharpoons\";\n case \"\\u21CC\": return \"rightleftharpoons\";\n case \"<=>>\": return \"rightequilibrium\";\n case \"<<=>\": return \"leftequilibrium\";\n default:\n assertNever(a);\n throw [\"MhchemBugT\", \"mhchem bug T. Please report.\"];\n }\n },\n _getBond: function (a) {\n switch (a) {\n case \"-\": return \"{-}\";\n case \"1\": return \"{-}\";\n case \"=\": return \"{=}\";\n case \"2\": return \"{=}\";\n case \"#\": return \"{\\\\equiv}\";\n case \"3\": return \"{\\\\equiv}\";\n case \"~\": return \"{\\\\tripledash}\";\n case \"~-\": return \"{\\\\mathrlap{\\\\raisebox{-.1em}{$-$}}\\\\raisebox{.1em}{$\\\\tripledash$}}\";\n case \"~=\": return \"{\\\\mathrlap{\\\\raisebox{-.2em}{$-$}}\\\\mathrlap{\\\\raisebox{.2em}{$\\\\tripledash$}}-}\";\n case \"~--\": return \"{\\\\mathrlap{\\\\raisebox{-.2em}{$-$}}\\\\mathrlap{\\\\raisebox{.2em}{$\\\\tripledash$}}-}\";\n case \"-~-\": return \"{\\\\mathrlap{\\\\raisebox{-.2em}{$-$}}\\\\mathrlap{\\\\raisebox{.2em}{$-$}}\\\\tripledash}\";\n case \"...\": return \"{{\\\\cdot}{\\\\cdot}{\\\\cdot}}\";\n case \"....\": return \"{{\\\\cdot}{\\\\cdot}{\\\\cdot}{\\\\cdot}}\";\n case \"->\": return \"{\\\\rightarrow}\";\n case \"<-\": return \"{\\\\leftarrow}\";\n case \"<\": return \"{<}\";\n case \">\": return \"{>}\";\n default:\n assertNever(a);\n throw [\"MhchemBugT\", \"mhchem bug T. Please report.\"];\n }\n },\n _getOperator: function (a) {\n switch (a) {\n case \"+\": return \" {}+{} \";\n case \"-\": return \" {}-{} \";\n case \"=\": return \" {}={} \";\n case \"<\": return \" {}<{} \";\n case \">\": return \" {}>{} \";\n case \"<<\": return \" {}\\\\ll{} \";\n case \">>\": return \" {}\\\\gg{} \";\n case \"\\\\pm\": return \" {}\\\\pm{} \";\n case \"\\\\approx\": return \" {}\\\\approx{} \";\n case \"$\\\\approx$\": return \" {}\\\\approx{} \";\n case \"v\": return \" \\\\downarrow{} \";\n case \"(v)\": return \" \\\\downarrow{} \";\n case \"^\": return \" \\\\uparrow{} \";\n case \"(^)\": return \" \\\\uparrow{} \";\n default:\n assertNever(a);\n throw [\"MhchemBugT\", \"mhchem bug T. Please report.\"];\n }\n }\n };\n\n //\n // Helpers for code anaylsis\n // Will show type error at calling position\n //\n /** @param {number} a */\n function assertNever(a) {}\n /** @param {string} a */\n function assertString(a) {}\n", "type": "application/javascript", "title": "$:/plugins/tiddlywiki/katex/mhchem.min.js", "module-type": "library" }, "$:/plugins/tiddlywiki/katex/fonts/KaTeX_AMS-Regular.woff": { "text": "d09GRgABAAAAAJfUAA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FHHnviqWeee8E3QfCArQAAAADs7Xzftm3bzLZd12wbGDFqzLgJk6ZMmzFrzrwFi5YsW7FqzboNm7Zs27Frz74Dh44cO3HqzLkLl65cu3Hrzr0Hj548e/HqzbsPn758+/Hrz7+AoJCwiKiYuISklLSMrJy8gqKSsoqqmrqGppa2jq6e/pAgeDBAAAgAANjtP0g2P9u2sUl3omLiEpJS0jKycvIKipGgpKyiqiaoa2hqaevo6ukbGBoZm5iamVtYWlnb2NrZOzg6Obu4url7eHp5+/j6/VucCxzJdSAAww938DCGxCA2asWwJ2julpqU4dMPpP6Av0LJNy/ng1JJ/bdfLqY5scrcPR+O683qclpKpVaxqx+NsuOsVl00XrQGHXoM4qDvFtN0eTtuts/3czQddvtnacaEGZuYFBq0mLFgRfayQo0OPSbM2LCLxaDFAR16DBgxYcaCFRt2sSbMWMWm0MwapXG43Zyuzx9Pm2cKVdQDusfrdLlepufD5bw4/r84744baRmNBi0OOKK7e95vps32MrFpx5unw+lwXEzkVRw0GnSYsGEXR40GLTr0WETn0GPAiAUbdtEr1GjQokOPBSs27GJQqDFgxIQZ2YsKE2as2LCLSaHGgBETFqzYsIvZoMUBRwyYMGO5WV+eT4vnveTFY8SEGQtWbNjFqlCjQYsDOvQYMGLCjA272BRqdOgxYMSEGQvWWWsM2tmhhNs/XWn1/fwElkAZAjV8K3cYvUZztz0cj5v18vL+67cxytub5+mw2L1cZSBbdFJfn8mrWNSsU+Os11Y0ajZy+TQ20VckDyM69BgwYsKMRYwjOjGP6NBjwIhJLCM6zFh+bEo59BgwYsGKDbuoFWp06DFgxIR5tveKDfsX2nVo4gABAAH//wAP", "title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_AMS-Regular.woff", "type": "application/font-woff" }, "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Caligraphic-Bold.woff": { "text": "d09GRgABAAAAAC2wAA4AAAAAS3QAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAAjgAAAAFQAAABgRrFhEWNt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rpSSv0NUrI+/WF349/vr+hMUV+Gopw0Behf4RyQur3/DL37j+/wNOP1LaWfMI8zxxSBtFIX0wEIL33qkQHP96/FtEMa0ea3XkhRhHEkX/6JyiGsS1h90E7UhBCNRHrobzN3YbelFpbqjESv0xbOXWQC+0R564lCTPzixZukZEllr+Zl0tTDsvBruqBMfA/90ZJxnvbFDjRBEfwBo4Jdx/CUyBtWFGAryZ7dd7xOu4jf+puYH31VY+YAAAB42mzBRQHDQAAAsBwpGMNzzMxTV+GtgSYiUFcu2uwQRElHV0/fwNDI2MTUzNzC0sraxtbO3sHRydnF1c3dw9PL28fXzz/EkEIOpRl7aV6mgYGjAYh2dXNzgdKuUNoNAEGtETIAAAEAAf//AA8=", "title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Caligraphic-Bold.woff", "type": "application/font-woff" }, "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Caligraphic-Regular.woff": { "text": "d09GRgABAAAAACzEAA4AAAAASPwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAAijAAAAFIAAABgRYdYoWNtYXAAACLgAAAAgwAAAWL22LJqY3Z0IAAAKXAAAAAaAAAAKgB9ClVmcGdtAAAjZAAABYsAAAuX2BTb8Gdhc3AAACy8AAAACAAAAAgAAAAQZ2x5ZgAAAUQAAB/aAAAwoNp4c6ZoZWFkAAAhnAAAADYAAAA2FNd1GGhoZWEAACJsAAAAHwAAACQHxQLmaG10eAAAIdQAAACWAAAAsGPbBMVsb2NhAAAhQAAAAFoAAABaBBT3jG1heHAAACEgAAAAIAAAACABYww/bmFtZQAAKYwAAALJAAAHLx46VQhwb3N0AAAsWAAAAGMAAACa0lYi83ByZXAAACjwAAAAfQAAAIqOiODGeNqVewV8G1e29z3n0vCMYMTMtiSDwDJbSeyA43Aax3VKcdqmsN4kXe4y4+8tPGZmWPwYto+ZmZk+Zm6+GckTu32cUWDunDPR/R/+34Qg6RBCfhxdQokkyhcEA4IzzW6oG6p3Q+XOl9/qdND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1zgOmeH91Q3erk15Td64JsR8e/G2aiuY3WtZ97XN9VluWOrRvDS7yzqMRVkI9Viz6RNn6+CVt/lV4c3tpY3XT2ieKqppRI4spZRRIKa3lNA7rB1q4ftODYnaGEwLZMgLt8RuH0wLpMRqKAayKrGi6JfObfp05/wN2Do4WlxnwdLUhWMB/TriA8QndApPTbn4OUQ1FBbcPTJAejjRwJeogkuQ1QE3kk9J9WMYv/ZrPHb8C8URdk76VMmNWqRkfPrDfse/33HxmaCBfAqd0xTgf4F1SOqmF1P07j++zOOMlzcs/ZDzKHNMEZhW6mLpmJc+9cmAz3cvx7RFGmrzW6+lKMJ3IDv/yGUf0TmiAdhO3IQhHon00N9k7iHuSi0s1RlRr9IG1m1kAveR88Yjh5j42Yu3ScmQyl7My6Spj2GBazqjXLD7/mjJOEu7Egcaowh4wFcjbuLzcHNksQ+IFQa87jrepG3oN/5G8wNrp2zaAAAAeNpswUUBw0AAALAcKRjDc8zMU1fhrYEmIlBXLtrsEERJR1dP38DQyNjE1MzcwtLK2sbWzt7B0cnZxdXN3cPTy9vH188/xJBCDqUZe2lepoGBowGIdnVzc4HSrlDaDQBBrREyAAABAAH//wAP", "title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Caligraphic-Regular.woff", "type": "application/font-woff" }, "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Fraktur-Bold.woff": { "text": "d09GRgABAAAAAFhoAA4AAAAAi0wAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAABNdAAAAFYAAABgRrphw2NtYXAAAE3MAAAA2wAAAZrCd5kKY3Z0IAAAVLQAAAAnAAAAOgJLDw9mcGdtAABOqAAABYsAAAuX2BTb8Gdhc3AAAFhgAAAACAAAAAgAAAAQZ2x5ZgAAAUQAAEm9AABxCg1qrlxoZWFkAABL7AAAADYAAAA2FUZ04mhoZWEAAE1UAAAAHwAAACQIAgRHaG10eAAATCQAAAEuAAABiOS1Dspsb2NhAABLJAAAAMYAAADGeuVfBG1heHA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HnKx7rBC86lzFtxvnX5xtkqO96zwiojoMOtRvEh8Rn+EcK8j51qJXl2iBCW3yVvhM4PwzZ5bxCcr3nYC84FC68XgL5wSG71y9zxP6K399e+cuhm/fR+8zhb4/FDrQcPRv8jmAulrvDP75wv2+n9i6Yum7nHvJIQIyre8lOPDrMvzagyFfbv6OYAeaavPiH1EIeBzRy6K4pz4kuiTqk517lzGjzWfk9664SuwS130H8a2MV69ji89dZJ5713nrnkMIefSnq1D+8s2ezBVo9HhZzjUueOfszr5onziPfY8dJhBw7nhkxGUeBSL/7zI4YuXT2zc7XcYu9Vsf0fwBng5ZXwAAeNpswYNBRAEAAND3dc627cu2bXOVdqrxaoF7Twj8fSsq5QuBUCSWyMrJKyhTrkKlKtVq1KpTr0GjJs1atGrTrlO3Xn36DRg0ZNiIUWPGTZg0pWjajFlz5i1YtGTZilVrNmzasWvPvgOHjhw7cerMuQuXrly7cevOvQePnjx78RqEfvwGURAHSZAK0kEmyAa5IB8U0v8rzcs0MHA0ANGuxgaGUNoIShtDaRMobQqlLaC0JZh2c3OB0q5Q2g0ACSYsYQAAAAABAAH//wAP", "title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Fraktur-Bold.woff", "type": "application/font-woff" }, "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Fraktur-Regular.woff": { "text": "d09GRgABAAAAAFZIAA4AAAAAhjAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAABLVAAAAFMAAABgRb1ZkWNtYXAAAEuoAAAA1wAAAZICN3XSY3Z0IAAAUowAAAAlAAAAOgIrDw9mcGdtAABMgAAABYsAAAuX2BTb8Gdhc3AAAFZAAAAACAAAAAgAAAAQZ2x5ZgAAAUQAAEekAABr0Nvu0tBoZWFkAABJ0AAAADYAAAA2FIl04WhoZWEAAEs0AAAAHwAAACQHRgOLaG10eAAASggAAAEpAAABjMKCDctsb2NhAABJCAAAAMgAAADILTBICm1heHAAAEjoAAAAIAAAACABlwyWbmFtZQAAUrQ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rUR01VsD2kRT6+50qJS/TMY3Gc+cS6P+xrObO9vIgd7N70mm1njc6rXZLPhlve4XsZ9YUmUlltchUUhdT9+hC/EzWc13I+0x3zWi+rg/MyemS04MwdnumNx5qt1QWYal0PSMd1ZIXUtM0LkXfJY+M87YspKVa6tEPak2/W6zcfTWdTtVIh7yvZ4rZ39z7rQYuAwek9IJZBKfJ1IZc9ow3bmK6ctGUbOmRqbejkuQgt37xe788D1PtjJAY2swUnoHjomuchNzI/uqGbFemWIg3FoJUrppuq7ai2U2s6Im2Q302NBJr0bL0fld0eJHkIVQvmk2fOVsFr7wdXhTd3F7a+PEffESJCnM4WPSQI0BwFxnu8dtBi9dzNCJq8xF8goGP2oKnfWTEhjiDQUpmNWKF5JfObTy6dn5Gbp0aHV3fIyPqwmDE+HXiA+ITnGIJjqcBvcZEe2R7RENyjv9KRof4deRNzKNi1S8gP/Fp1J3+QHnEk4OHjbmFuVR8Hv3hXNPfn2z0eYVpvBRG0Aj07/M7g7rs/Q3u/ccN1DMOLlW6prmdOUVCpY11SZyY5+MwgaFerjcl2IJmtPnpdhQSXgf0svC16H2ic6Ip1S66LBRDfrM4O3+ZcUzcjTVIrMrE6FVs8LuNCtTWnDdqDinkm023ocCnVlk9r0BjwseS1zjDMHI3c9Ex43vsRhzwAgn5wKsibvLydHOwPAdixYde15NuYpvxG38T8wWUF2BVeNpiYGIAg//NDEYM2EAyEDMCVQFqioeEAAIwAKPf2Nm2azyTbdvt866r1fHi39s8DR0DBxcPn4AKKqmimhpqqaOeBhppopkWWmmjnQ666KGPfgYYZIhhRhhljHEmCImISUjJyCkomWSKaWaYZY55FllilTXW2WCTLbbZYZc99jngkCOOOeGUM8654JIrrrnhljtF5Z0PRVN0xVBMxVJsxVFcxVN8JbDeXh+iaCn6eS2N/o/lRE7lTM7lQi5/X19fldfk9S+dIi6XAAAAAAEAAf//AA8=", "title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Fraktur-Regular.woff", "type": "application/font-woff" }, "$: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AMAuQ75t27bZjZuIiIqJS0hKScvIyskrKCopq6iqqWtoamnr6OrpGxgaGZuYmplbWFpZ29ja2Ts4Ojm7uLq5e3h6efv4+vkLwqLoat1RHgoD8C9Tl2tBCoVDdNz1NIXVkmcHmciWu59Cvu6p8C4BYgvTccdJnEnPP1qzGCYwnb1kbctm3xrSbP6Otaea/feL//eJz77yS8sW3wfFRd/9/6nh/39SfHzMcxwP+vAAAxjCGCbzlndGk03z46TrlMvXZ8nutJErduY8dL0o3jwQJ6m0ZEotv6A9Y4KGZsWk7B8EnfViisywnpT80mjbrPuHzkanXuMBM9SdHTAO4RFGMLYmIYxhYk0zmFszB7ow29rRT2Kc3fqWmGF3C6c5Pt81TvM5GWdq35MHq6v3JBUTG3rkSlOnORNLagf9pEgvL5LV/FpckKD26lKZqtEN09MLPNeHAQy3TGmSXN21TDcoRjDeDrIfeql53zExY91FkG15PgzWor/wignW1SuEvdzyTpNUVI1Pzkx3vS4Ub7lg0j53cKC/qvruIg11GpXcGjgb+m34PRPUVRg1TGBqPSYwnSZKUpmTIr2/JeOF9FbSWdAjekjQs89HhTV2oQd9eFhXXFaCBmEUSuHellojNB/EE8oRjK2JB3142A0kB+pqXhnBJKp4Kjss6l7/PYgshOgXBSytpTvpOxGMYQJTq+dBfzJIb8Ywt2aoF+VMDaymKQtDF3ovKmFOSHJYwHLyWEQwtpYBDOERRjCGCcwmE7+0JjB1RgvHs5ZlDgtY/gEBHN7nAAAAAQAB//8ADw==", "title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Bold.woff", "type": "application/font-woff" }, "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-BoldItalic.woff": { "text": "d09GRgABAAAAAGMIAA4AAAAArdAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAABXBAAAAFIAAABgRtJZqGNtYXAAAFdYAAABeQAAAlpAfqxiY3Z0IAAAXuAAAAAoAAAAOgKdD6JmcGdtAABY1AAABYsAAAuX2BTb8Gdhc3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Ymc0BxJkibq5ubC5R2hdJuAK3RR8UAAAEAAf//AA8=", "title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-BoldItalic.woff", "type": "application/font-woff" }, "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Italic.woff": { "text": "d09GRgABAAAAAGZ0AA4AAAAAuhgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAABagAAAAFMAAABgRalZOGNtYXAAAFrUAAABfAAAAmKgp23hY3Z0IAAAYlwAAAAqAAAAOgJKD2ZmcGdtAABcUAAABYsAAAuX2BTb8Gdhc3AAAGZsAAAACAAAAAgAAAAQZ2x5ZgAAAUQAAFZNAACd2pxbGFloZWFkAABYxAAAADYAAAA2FMp02WhoZWEAAFpgAAAAHwAAACQHjwL9aG10eAAAWPwAAAFjAAACHCPkOnBsb2NhAABXtAAAARAAAAEQA+4qZm1heHAAAFeUAAAAIAAAACABtAxwbmFtZQAAYogAAAK4AAAG0k8nB4xwb3N0AABlQAAAASoAAAGn2dpETnByZXAAAGHcAAAAfgAAAIqSjPzKeNqcfAVgHFeSdlU9apoe6mGNNCDNiCxLmhHL0hhFhjiO7dgyruzgxRvYcBYuS7eB41s8Ztjjc35mZmZm2GOmyH/3m+mRrNjJ/rcxTb+vuqeL31dPCwSTAPC3KQUMFBi3JUeg8ZFGvBGvN+LVyc/fmJyk1Ltfm8SfB4InAfA1+vvgQQmutCyOCFkkRusbP1d94OFWHhAYIHuaI0BqAxijTYFELh0vtDIcAeFZQIbPdlc8On6hlUynEHryqVK6ZBngoSelN4KT6VRKSSWrlWZiZnpmiRrTrFKbmp5u+CuexPVU8fg6Iy+1xqwCMyQZP57qYUM9meIY/f1s2v6v/5XJBP5FlXOREb3bLGSLQ4V0fgyA4OfwVcrTO1CEBRhoVQRxBoCbDBGjcLyvF2Gg2rvQt6AEFLGov47/6KZ+dMpTsv29ak3/e01PSSUb77uKRqYw2pcpUupgLiuJxyJHiw5nzu17X6YDuXTvaDVvpu2Lq8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q1YssrDXCPiTsguoR4b1G0s8LuMPHBPOy+ccYghF3bchApPqOzSvAKNMR/HuMYe34ydmogOGb9jNWCPD4gY97xy4jqvEiZsLYcnVnzodTzjOpapX7iP5j8uPFLueNpswQNaJQAYAMD5n821bb61bdu6ytq4wFYf+5y7SeZJ6gLNSABzH7Qs5AtCQlJKWkZOXkFRSVlFVU1dQ9Miiy2x1DLLrbDSKqutsc4GG22y2RZbbbPdDjvtstsee+2zX8sBBx1y2BFHHXPcCSedctpZ55x30SWXXXHVNdfdcNMtt91x1z33PfDQI4898dQzz73w0ivvIuGT3z6Y8tc/37TrMKxLdySNmI1UpCNj3IRJo6YjqzNykY9CFKMU5ahEVZsevQYM6tMftahHI5rZ+ZXmZRoYOBqAaSNjcwjtbAmlHaG0E6t7Ym5uImtIRmpJIptPYm5SSiJTRCZTQCZrcGZ6biJ7aEFxZk5+HnNARiZzQHEmSJuRoYEbiHZ1c3OB0q5Q2g0ASORKBgAAAAEAAf//AA8=", "title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Italic.woff", "type": "application/font-woff" }, "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Regular.woff": { "text": "d09GRgABAAAAAJTgAA4AAAABD5AAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAACFEAAAAFMAAABgRb9aFWNtYXAAAIVkAAACzwAABGJ2Eb0LY3Z0IAAAjkAAAAAsAAAAOgJUD4BmcGdtAACINAAABYsAAAuX2BTb8Gdhc3AAAJTYAAAACAAAAAgAAAAQZ2x5ZgAAAUQAAH7YAADoBlf+PwBoZWFkAACCgAAAADYAAAA2Fbh1W2hoZWEAAITwAAAAIAAAACQJFQcSaG10eAAAgrgAAAI2AAAEgNaAOPZsb2NhAACAPAAAAkIAAAJC6DStiW1heHAAAIAcAAAAIAAAACACTAyBbmFtZQAAjmwAAAK8AAAG2+pYUGtwb3N0AACRKAAAA60AAAdTF2OqhnByZXAAAI3AAAAAfgAAAIqSjPzKeNq8v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d72tQCXpM41sy8jbb6D/O7FfSVrqMLOt8LzEG/WDozOLYQLTyUtqGpp8u7Kh6TtqTjX990v890lMvopLQ7PvvRaya///dBX/f9JiWOZ7ng8DuIcHGMIYJtNGtNawS/Pj6M4r56/Piu6MVQs6CxHu/ChePbBgpY0iredf0J6Q5P66IKW6B8lnMxsj2y9HlbhcjWvW3UProlNnsMD2desOjEN4hBGMnUkIY5g40wzmzsyDO5it3eknOdxuSUhsvyGE4x2f/zVc8zkZbur2yQ+Lm/esNMkVPwptuDWC5Jyb3jxpNvOLolrcijOW3Nyca1tdzZXMuIG/C+ABhmvShpXQdw2ZK4oRjNe96vpOGdG1JCfUXiS7lh/Aw1J2F1GRpLZeIOzUWrSGleZqWDmx7e13pkUjJCm3bu/BYFF17UVZbg0qufPgrfi3Ffckua1wapjA1HlMYDpelJW2J81m+zcZftisFZ8lP6KHBD23Piqc8Q76MID7ZSVUJbmXVqMUbl2psdKIXj6hHMHYmfgwgPtNz6rnthaVlaRQxapsP6s7MzwI5CFEvyhg6Sx3o4EXwRgmMHX6PgycqQfd+kMawBjmzgz1opzonmoeszDcQf9FJe0JSQ4LWI4eiwjGsIDolwcYwiOMYAwTmI0mQelMoBup8HxnWeawgOUf3lLrLwAAAAABAAH//wAP", "title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Regular.woff", "type": "application/font-woff" }, "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Math-BoldItalic.woff": { "text": "d09GRgABAAAAAFc0AA4AAAAAmYwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAABLkAAAAFIAAABgRrBZp2NtYXAAAEvkAAAA3QAAAcrTnKJPY3Z0IAAAUtwAAAA9AAAAaB+SBSpmcGdtAABMxAAABYwAAAuX2xTb8Gdhc3AAAFcsAAAACAAAAAgAAAAQZ2x5ZgAAAUQAAEfJAAB+AhXZPFpoZWFkAABJ/AAAADYAAAA2FTN06GhoZWEAAEtwAAAAHwAAACQH3gM0aG10eAAAS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N3cPT60cQXBtACAABALu8u7srtjAFBS1jkujoRqOnb2BoZGxiGrWZuYWllbWNrZ29Q5SOTs5Rubi6uXt4enn7+Pr5S6QyuaKteRqSLYihaFVHy/mef9ueRtW5bWv1L3rBNc5hYwWHhxeH5I6XJSffRg+cPvNSKJ78Q/IO5AvSkrOfpoeirtC7AfTeA+FFYzgWtpqkvlPpYuBMhzK82QRyycENxFBbM+dNw2kRZldjsgCrS5CdndqZmvZuzxHxCg18ZGNc2diV0n7rkrrUKad+6BG2iSPqI0eexsntXp85fXN7ex31TdS3OxJ4YqkAAQAB//8ADw==", "title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Math-BoldItalic.woff", "type": "application/font-woff" }, "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Math-Italic.woff": { "text": "d09GRgABAAAAAFk8AA4AAAAAoCAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAABNsAAAAFMAAABgRYlZLmNtYXAAAE4EAAAA3QAAAcrTnKJPY3Z0IAAAVPwAAABAAAAAaB8ABGpmcGdtAABO5AAABYwAAAuX2xTb8Gdhc3AAAFk0AAAACAAAAAgAAAAQZ2x5ZgAAAUQAAEnqAACE2rLvSQpoZWFkAABMHAAAADYAAAA2FHp04GhoZWEAAE2QAAAAHwAAACQHHgKcaG10eAAATFQAAAE5AAABlOJIDGtsb2NhAABLUAAAAMwAAADM6ZcJpm1heHAAAEswAAAAIAAAACABcwxtbmFtZQAAVTwAAAK2AAAG0k4rEqZwb3N0AABX9AAAAUAAAAHbvYckjHByZXAAAFRwAAAAiQAAAJWB93OaeNqMWgVYG2m3PvLJzGSiRHEiE5xCIKkBqQt1Yyndsl226+67d/f+z/pv193d3d3d3d3dXcre+WYSAvzd3v9pC+l870HOe95jX4BgBgB+kjLAoMH6NiUQaNdYLVlLVmvJ0syn3zczQ5lbfzOD3+RjSwD06/SzcAhOw/WmM4kg9yADnVz6xtK5u5q9YIEES94AxPElJYgBeFUjc4VP9fjHaOHTbcz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6jQW5l1Eo97TnhTMeYtCFGTdhdGtml8YlWIxlO7Fb7MkptlMdsRrxO1YVB3xAJPYgXyG4Lp9HolMrEAQbjT447nEdy6JfuI/mP8d8UxYAAHjabMHVAYFhAADA81tFt0/Xm+5ujyYxOAu4EwHfj+CfN2IicQlJKWkZWTl5BUUlZRVVQU1dQ1NLW0dXT9/A0MjYxNTM3MLSytrG1s7ewdHJ2cXVzd3D0+tHEFwbQAgAAQC7vLu7K7YwBQUtY5Lo6Eajp29gaGRsYhq1mbmFpZW1ja2dvUOUjk7OUbm4url7eHp5+/j6+UukMrmirXkaki2IoWhVR8v5nn/bnkbVuW1r9S96wTXOYWMFh4cXh+SOlyUn30YPnD7zUiie/EPyDuQL0pKzn6aHoq7QuwH03gPhRWM4FraapL5T6WLgTIcyvNkEcsnBDcRQWzPnTcNpEWZXY7IAq0uQnZ3amZr2bs8R8QoNfGRjXNnYldJ+65K61CmnfugRtokj6iNHnsbJ7V6fOX1ze3sd9U3UtzsSeGKpAAEAAf//AA8=", "title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Math-Italic.woff", "type": "application/font-woff" }, "$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Bold.woff": { "text": "d09GRgABAAAAAEhUAA4AAAAAg5gAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAA8mAAAAFYAAABgRuBhfmNtYXAAADzwAAABTAAAAiJym1SAY3Z0IAAAREgAAAAuAAAAOgMBEApmcGdtAAA+PAAABYsAAAuX2BTb8Gdhc3AAAEhMAAAACAAAAAgAAAAQZ2x5ZgAAAUQAADikAABnzq1rTE5oZWFkAAA7CAAAADYAAAA2FIl05WhoZWEAADx4AAAAHwAAACQHTwOkaG10eAAAO0AAAAE2AAAB+BguHJRsb2NhAAA6CAAAAP4AAAD+4cDIZm1heHAAADnoAAAAIAAAACABigw/bmFtZQAARHgAAALAAAAG/O5MD5Vwb3N0AABHOAAAARMAAAF9LbDAfnByZXAAAEPIAAAAf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RM9qkvk6YNwgLX9ECZYO+70eI4pGupPQ0oAO5xStQdHEeJ7KAkj1ohoLXbdodm6J/+S89vQQZdu3jabMFDQjQAGADQ9409v20b89s2s3WQvK4rtG2bb5J5krpA70kAu6Nq9jOAkJCUkpaRlZNXUFRSVlF1wEGHHHbEUcccd8JJp5x2xlnnXHDJZVdcdc11N9x0y2133HXPfQ88VPPIY0889cxzL7z0ymtvvPXeBx999sVX33z3w0+//PbHX//8V6deg0ZNmrVo1aZdh05d+iJh3Kgxm5YiadlOpKxZt2HFVqRNRiaykYt8FKIYpSibMG3GvAWz5qIS1dibAHtpXqaBgaMBmDYyNofQzpas7om5uYmsIRmpJYlsPom5SSmJTBGZTAGZrMGZ6bmJ7KEFxZk5+XnMARmZzAHFmSBtrm5uLlDaFUq7AQAZ3T7oAAABAAH//wAP", "title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Bold.woff", "type": "application/font-woff" }, "$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Italic.woff": { "text": "d09GRgABAAAAAESkAA4AAAAAePAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAA48AAAAFMAAABgRbRZLWNtYXAAADlEAAABSAAAAhoVQrJlY3Z0IAAAQJgAAAAqAAAAOgKQD7RmcGdtAAA6jAAABYsAAAuX2BTb8Gdhc3AAAEScAAAACAAAAAgAAAAQZ2x5ZgAAAUQAADTbAABdBkXGBfhoZWFkAAA3QAAAADYAAAA2FFp05WhoZWEAADjQAAAAHwAAACQHHwKyaG10eAAAN3gAAAFWAAAB/AICLv1sb2NhAAA2QAAAAQAAAAEAT95nem1heHAAADYgAAAAIAAAACABiQxDbmFtZQAAQMQAAAK+AAAHDh/2EXFwb3N0AABDhAAAARgAAAGPMPGRenByZXAAAEAYAAAAfgAAAIqSjPzKeNrV/Ad8HMeRMIp3VU/cnGbzLjZHAIvNCCSwBEmASAQJJoFRzKRESRRlW9bnHE/2Z8lyuuBwtnwnf86W/xLps3zO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ee6FV1574533Pvjok8+++Oqb73746Zff/vjrn/9atGrTrkOnLt36I2HMqA2LkbRkO1KRjoxVa9Yt24ysichFPgpRjFKUoxJV46ZMmzNvxmzUoh6N7O5K8zINDBwNwLSRsTmEdraE0o5Q2onVPTE3N5E1JCO1JJHNJzE3KSWRKSKTKSCTNTgzPTeRPbSgODMnP485ICOTOaA4E6TN1c3NBUq7Qmk3APT0QvQAAQAB//8ADw==", "title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Italic.woff", "type": "application/font-woff" }, "$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Regular.woff": { "text": "d09GRgABAAAAAD9kAA4AAAAAdHQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAAzqAAAAFMAAABgRbRZbGNtYXAAADP8AAABSAAAAhoVQrJlY3Z0IAAAO1AAAAAuAAAAOgKPD8NmcGdtAAA1RAAABYsAAAuX2BTb8Gdhc3AAAD9cAAAACAAAAAgAAAAQZ2x5ZgAAAUQAAC+sAABYhCNUxN9oZWFkAAAyEAAAADYAAAA2FDB052hoZWEAADOIAAAAHwAAACQG9wNFaG10eAAAMkgAAAE+AAAB/P+pG7hsb2NhAAAxEAAAAQAAAAEACVIgS21heHAAADDwAAAAIAAAACABggw1bmFtZQAAO4AAAALEAAAHF3AnSqVwb3N0AAA+RAAAARgAAAGPMPGRenByZXAAADrQAAAAfgAAAIqSjPzKeNrdvAVgXNeVMHzOuY8H39DTiAc0MyJLGtBIMmhkS7YFtmQUmCUldtIwJ02TcjcNNOU2ZXJT+Nvsl1qh8lK5XSwvM+8WvoV4/N/7Zp5GkmUv//CN4ui9e857c+655x6+AoIsAHyFwsBABe2CIiFQb2fOzJnpnJnIvm05m6Xwxb/K4i8CwU0A8B1aARf44JrJp+Izc6UIIMIxAPBMAhGbl5AxL5tqmHwqeQWoyaE1gG8dYH6+5OYfn9sXSCZkxeos5qmQz4ZDFA7F1UIufI+xaOw3Fl9I4adSiKnywRQ+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9P9u2Mi8S912hbdt8k8yT1AWakQB2RjXtZRAhISklLSMrJ6+gqKSsoqqmrmGf/Q446JDDjjjqmONOOOm0s84574KLLrnsiquuue6Gm2657Y6mu+6574GHHnnsiaeeee6FV1574533Pvjok8+++Oqb73746Zff/vjrn/9atGrTrkOnLt36I2HMqA2LkbRkO1KRjoxVa9Yt24ysichFPgpRjFKUoxJV46ZMmzNvxmzUoh6N7O5K8zINDBwNwLSRsTmEdraE0o5Q2onVPTE3N5E1JCO1JJHNJzE3KSWRKSKTKSCTNTgzPTeRPbSgODMnP485ICOTOaA4E6TN1c3NBUq7Qmk3APT0QvQAAQAB//8ADw==", "title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Regular.woff", "type": "application/font-woff" }, "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Script-Regular.woff": { "text": "d09GRgABAAAAADR0AA4AAAAAYCwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAAqZAAAAFIAAABgRgtY6mNtYXAAACq4AAAAcQAAAVp1bn61Y3Z0IAAAMTQAAAAhAAAALgBLCmNmcGdtAAArLAAABYsAAAuX2BTb8Gdhc3AAADRsAAAACAAAAAgAAAAQZ2x5ZgAAAUQAACfaAABIXiA++bhoZWFkAAApiAAAADYAAAA2FVt0mmhoZWEAACpEAAAAHwAAACQIEwHvaG10eAAAKcAAAACDAAAAiFtrBURsb2NhAAApQAAAAEYAAABGUUM9am1heHAAACkgAAAAIAAAACABgAyjbmFtZQAAMVgAAAK7AAAG8zvmoaBwb3N0AAA0FAAAAFgAAACG0dQigHByZXAAADC4AAAAfAAAAIoOiuLIeNq9fAVgG1fS/5t5b99bBmnFZEmWZFmWQbIkcxSwYwxjnTZpnJSTuu21KfNhj5mZr8d3HzMz/5mZmT64a/5aUdxce9DefV4lWngzI5j5Da4Ikgoh5HcwQCgRRP42Z0BwvFR1qk6h6mQr771QqWDgu/+pAl8njGSv/iX9S/xDcopcJI+Rd5EjzYOPnb/JZVx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onts/KaTeX_Script-Regular.woff", "type": "application/font-woff" }, "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size1-Regular.woff": { "text": "d09GRgABAAAAABooAA4AAAAAMnQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAAPSAAAAE4AAABgQ2JZAWNtYXAAAA+YAAAA7QAAAhobTaO1Y3Z0IAAAFnwAAAAKAAAADAAAAABmcGdtAAAQiAAABYwAAAuX1RTb8Gdhc3AAABogAAAACAAAAAgAAAAQZ2x5ZgAAAUQAAAyXAAAYrO5FPkxoZWFkAAAOZAAAADYAAAA2E2h062hoZWEAAA8oAAAAHwAAACQGkwLaaG10eAAADpwAAACMAAAAzHYWCaVsb2NhAAAN/AAAAGgAAABoij+Qfm1heHAAAA3cAAAAIAAAACAA0Ax7bmFtZQAAFogAAALBAAAG50jJ4LVwb3N0AAAZTAAAANMAAAGcu8W4hHByZXAAABYUAAAAaAAAAH/i0Eg6eNrtWAV420q21jkzGskiW7IlOYljx3ZiO3HQWAxs4ZZxy11Ibm4vM0O/9rvpMjNT+xiWmZmZmZmZo74Z2c7zMvN6PkU0+c//n3PmjGYklCqSJL0RXYlIiqQ+j1GQcLJctat2sWrnK49erFTQXf5KBZ4lgfTY4Bz8G9knxSX2nBiByXKz5jSrnptQmB3zxTlfwMfefm2Kac98psZS197+k9fB1DwjVH99cO/gfm/UKWHzMCVxrDzHmuJYLseyBdZQApV8rlBvNBt2rFgo1hrVqufA1G3XmaaK2tOfrqFqmhzyDcE756ki66+FW+DW1+qySuaDd3DEZnAONY4Y5YgR4IjQqFY8l0kKC3El+JSqR0wIjlFm8jP8K9lsmBr5yemIONHTHOPNnNX9OYbCMUDiGHG76ub58eZXPparp88o/eRppZ+zpaGwleBGigWpWOBGfU9CjZtgNDgGwC8UCv8avFgzjQg9TdSoEfnJaeEDLzgnvb9tjYCwVudO54f3ylc+loyUfrK3RO/B+13KWX2M99vD+02EyhRhjLdirc5P/OCtUK81mqLVxFGv1cMb7sVK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ludNbMJWhsZFvhNZ7lK9zBTHRIHOA2YI8+IuG9rFJwR5aDCe9WwgtWIT3fT7mDqdRP/qbmf7W5WNkAAAB42mzBQQEBUQAA0Zm/AAAAgAicoQh0UQJcdaIMcN73CPy9j8yJswAkEJGnQI0VazbsOBh48DQyYdKUaTNmuZjjzN28BW4WLVm2YtWadRs2bdm2Y9eefQcOHTl24tTZp2a5NmAgimEA2oWHMQS74znCzDj+JyvVM0jtz/VAlFNSSbrvw3m9Wd0uy3gR4nF78Xzefp97N7m+/a49m5bnz33wH+M9NYTJFIUjWMIK1mZJkKFA6ytN4QzmsDArSk7qKbRcTgQZChzCcbRumgrWsPFEcFtwAAABAAH//wAP", "title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size1-Regular.woff", "type": "application/font-woff" }, "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size2-Regular.woff": { "text": "d09GRgABAAAAABkkAA4AAAAAL4wAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAAOlAAAAE4AAABgRWJbumNtYXAAAA7kAAAAyQAAAdqK1xeEY3Z0IAAAFaQAAAAKAAAADAAAAABmcGdtAAAPsAAABYwAAAuX1RTb8Gdhc3AAABkcAAAACAAAAAgAAAAQZ2x5ZgAAAUQAAAwCAAAWjK6904RoZWFkAAANwAAAADYAAAA2FFN06WhoZWEAAA50AAAAHwAAACQJfAGCaG10eAAADfgAAAB5AAAArH3JAgZsb2NhAAANaAAAAFgAAABYadFve21heHAAAA1IAAAAIAAAACAAyAxmbmFtZQAAFbAAAAK/AAAG50rK5LZwb3N0AAAYcAAAAKkAAAFCunBaJXByZXAAABU8AAAAaAAAAH/i0Eg6eNrlWAVg21gS1fwvsGXLtmxBwLEMiexwYll2aZOmFGjKzHhQ5i6Wl5nhmJnTHDMzM/My826s3khO2vSY73Y34tHov5k3k/l/zBAmzzDMF4nKUEZgfMM8CwzpaLZkS85aciZ/6+Z8nqjle/PwXgaYk+VzSSd7mIkz/FCQQEczKELGN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hU93GyJsQYuaX92KEidP6qlUmkfKfUHngvpuD+Jww8jkm7i5NTdpXcFtl0/uROzUq9iQ7zYqx33ovPHIwQc923IE5R53shdzCRo9eYzUNc7kLbUHM9EucRa7DluMwZO6lasSHMjVIHF7q2AFK5ee3U05wLboN/5G8wPUoVjhAHjabME3AYMAAADB//Teu4Vs2ZNghOIFE7QVT6AGDHDHCAC6lA9D3oCMGLNmw4kffwIiEkc0tI6dUDglp6Zy5tyFS1eu3bh1596DR0+evXj15t2HT1/zviW5NkAAhoIAWrPNF7SL74G7w/zRq97J/3EmstRVksnvfNvtt8/7pi0iTEPxMMA49AQZCtSu0hKuoIWuu4hLOH5LBBkKnMJ5M6YUYISpAMYdQXoAAAAAAQAB//8ADw==", "title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size2-Regular.woff", "type": "application/font-woff" }, "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size3-Regular.woff": { "text": "d09GRgABAAAAABHYAA4AAAAAH7gAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAAHnAAAAE4AAABgRbpbgGNtYXAAAAfsAAAAogAAAar/FJbOY3Z0IAAADoQAAAAKAAAADAAAAABmcGdtAAAIkAAABYwAAAuX1RTb8Gdhc3AAABHQAAAACAAAAAgAAAAQZ2x5ZgAAAUQAAAVKAAAHzrxbewZoZWFkAAAG6AAAADYAAAA2EIN07WhoZWEAAAd8AAAAHwAAACQGBgH2aG10eAAAByAAAABbAAAAbD0F+5psb2NhAAAGsAAAADgAAAA4GmscjW1heHAAAAaQAAAAHwAAACAArwv5bmFtZQAADpAAAALCAAAG50zL6Ldwb3N0AAARVAAAAHoAAAC6UaNkMnByZXAAAA4cAAAAaAAAAH/i0Eg6eNqtVWOcJMkTzcjMyiw1Sj3asdZo7uxgrcFitP7btm3bONu2bX86W2uruvYiu/vD2RHlehUvX0T8ogglaULILTQgjEiiXyg4EDpzSsbJOJ0ZpzX9j4+l0zQobk7DuQTIveEAvVI7jTQQcb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Yz53JGE1UQCEgoYXPkRQRQ119DGkwhMvatrwoJ0OOumimx566aPfeduv4vFG3OBUPOm+rrbT2eSwG/+TZCqeFy4IN4SbBuc6eWGj73S7beGOcPcL1/sicgAAAAEAAf//AA8=", "title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size3-Regular.woff", "type": "application/font-woff" }, "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size4-Regular.woff": { "text": "d09GRgABAAAAABgoAA4AAAAAKwgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAANiAAAAE4AAABgRuZdBmNtYXAAAA3YAAAAugAAAcoB+528Y3Z0IAAAFIgAAAAKAAAADAAAAABmcGdtAAAOlAAABYwAAAuX1RTb8Gdhc3AAABggAAAACAAAAAgAAAAQZ2x5ZgAAAUQAAArKAAARUELbjX5oZWFkAAAMoAAAADYAAAA2EIN07WhoZWEAAA1oAAAAHwAAACQHMgKeaG10eAAADNgAAACPAAAA2JZiEF1sb2NhAAAMMAAAAG4AAABueip1+m1heHAAAAwQAAAAHwAAACAAygwAbmFtZQAAFJQAAALAAAAG507M7Lhwb3N0AAAXVAAAAMoAAAHIC8Bi1nByZXAAABQgAAAAaAAAAH/i0Eg6eNqtWAV4G9fS3Zm7e1crraQFyUySbCu1QxaGoRhDmL7Gf5lCZW6dr244KTMzM7eBnx5zmZmZG7a1eXN3peDj9/Zq0aNzZs7Mzr2WhFJKkqTfYlRikir5nuIySDi0NW2mzWTaTKSuPjqVwmjhqxQ8JoH0TV89buKvStUSfyKEMLRViqiJeLI5KZkG5PK5dLosonKGpmFb5WRpWMCTzkR4otJG0+ShNUeceuoRa/paOQc2GL5h/8PWw7d1NnBuf+r8xlldeKPwurPa+c2nxBUjrhbiqhVcQFx2Jp1OlZeVSwZwNcETiXg2k8/ZlmkwTDbHbF+QyOAJZ2KSc1XhpnnvIUuXHnKvyf+kEZtjb1npWIMZ+Fn0BSiHldiB7bASyl+ISsQ2rK9e/hWxRYgtINgglyqLRniU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m4taaWYWppAo0RQ8UuRvJC9QZZ9Y0Eyqoghp5ZZbhi9Ok3zOdTkc1tIuruqukee7Ph6Z+Y6wJpYfM0BwGHeNiOmLLWZvLNFgQ7ekGP1yKCoKT2Njhz+PmtevojEmIuok4sWJrJWXOyMVMx5s7tJ9yMhTvDAUh3S65qIpKwu69pNva1PVVncnPRNPa4iFpNxXEzqVT+byNMpM6q6ypD6ac31/bef0PltFEih4yGFQQw4HwGxH+yFhCQa5J5DwqykNYAcN6bSJfx4gEs+BI3qEwmx4rBO8mFzFylzwh3LZotE9dRCSoDEZD/NuCTwRf4FL6DPqCR3AEltQW6tDSsCZdCZwfM+HZdyg/4ynQKxm5xykfVJ2B5W1hfCdJh/LPyCf3Mvz4bvqcGXT8pdCAhpP8qoxdqJs1z+HPD+7648bajUo/0jxsDhGI0vh5kd8x6/epDRY93Z0QYQ9a3PzqqShJCoSPhbGPnMeCrgV1xJf5hKGiLmPk983etLUEl30/+Rmxd29iR8Z9pF77MHnnUUIIenbKRSj/+Jm92EvQaMtjhNe4krdwD/ZE+8ZFHHrsMIVAeCdXKjgvl0UknUa+nWAlj2Td7XIe++Lf+YrnPxKAWPF42myKwwECABSG35dt23XL3dIg2fYEzdJOtUw89/hLFPKr11VK8q9qn+WTUopRTOKQhjSlJV3po5C7PFCikhtqNGjRoceAERNmLFixYceBExduPHjx4SdAkBBhIkSJESdBkhRpMmTJaS/bRaHQLvx+uVDSnxfr8WS02wy/yruluDYAIIYBIDZSmLqA7f03ejw1isl3Hrx4/4/Nh4WV7X95Dhw5cebClRt3Hrx482H53+27aefxrt57Dt+heA4cOXH+NhNWthvTfGCxAAAAAQAB//8ADw==", "title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size4-Regular.woff", "type": "application/font-woff" }, "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Typewriter-Regular.woff": { "text": "d09GRgABAAAAAE8kAA4AAAAAjFQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAABDa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45UBJHBg+9utputr7P5fJo5y5y/AeyLSTAAAQAB//8ADw==", "title": "$:/plugins/tiddlywiki/katex/fonts/KaTeX_Typewriter-Regular.woff", "type": "application/font-woff" }, "$:/plugins/tiddlywiki/katex/katex-logo": { "title": "$:/plugins/tiddlywiki/katex/katex-logo", "text": "$$\\KaTeX$$\n" }, "$:/plugins/tiddlywiki/katex/latex-parser.js": { "title": "$:/plugins/tiddlywiki/katex/latex-parser.js", "text": "/*\\\ntitle: $:/plugins/tiddlywiki/katex/latex-parser.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text inline rule for LaTeX. For example:\n\n```\n\t$$latex-goes-here$$\n```\n\nThis wikiparser can be modified using the rules eg:\n\n```\n\\rules except latex-parser \n\\rules only latex-parser \n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nexports.name = \"latex-parser\";\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 = /\\$\\$/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\tdisplayMode;\n\t// Process the text\n\tif(match) {\n\t\ttext = this.parser.source.substring(this.parser.pos,match.index);\n\t\tdisplayMode = text.indexOf('\\n') != -1;\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\tdisplayMode = false;\n\t\tthis.parser.pos = this.parser.sourceLength;\n\t}\n\treturn [{\n\t\ttype: \"latex\",\n\t\tattributes: {\n\t\t\ttext: {\n\t\t\t\ttype: \"text\",\n\t\t\t\tvalue: text\n\t\t\t},\n\t\t\tdisplayMode: {\n\t\t\t\ttype: \"text\",\n\t\t\t\tvalue: displayMode ? \"true\" : \"false\"\n\t\t\t}\n\t\t}\n\t}];\n};\n\n})();\n", "type": "application/javascript", "module-type": "wikirule" }, "$:/plugins/tiddlywiki/katex/readme": { "title": "$:/plugins/tiddlywiki/katex/readme", "text": "This is a TiddlyWiki plugin for mathematical and chemical typesetting based on [ext[KaTeX from Khan Academy|http://khan.github.io/KaTeX/]] (v0.10.2) and [ext[mhchem|https://github.com/mhchem/MathJax-mhchem]] through a [ext[Katex extension|https://github.com/KaTeX/KaTeX/tree/master/contrib/mhchem]].\n\nIt is completely self-contained, and doesn't need an Internet connection in order to work. It works both in the browser and under Node.js.\n\n[[Source code|https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins/tiddlywiki/katex]]\n" }, "$:/plugins/tiddlywiki/katex/snippets/logo": { "title": "$:/plugins/tiddlywiki/katex/snippets/logo", "tags": "$:/tags/KaTeX/Snippet", "text": "$$\\KaTeX$$\n" }, "$:/plugins/tiddlywiki/katex/styles": { "title": "$:/plugins/tiddlywiki/katex/styles", "tags": "[[$:/tags/Stylesheet]]", "text": "\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline\n\n/* KaTeX styles */\n\n{{$:/plugins/tiddlywiki/katex/katex.min.css}}\n\n/* Force text-rendering (see https://github.com/Jermolene/TiddlyWiki5/issues/2500) */\n\n.katex {\n text-rendering: auto;\n}\n\n/* Avoid TW5's max-width: 100% */\n\n.katex svg {\n max-width: initial;\n}\n\n/* Override font URLs */\n\n@font-face {\n\tfont-family: KaTeX_AMS;\n\tsrc: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_AMS-Regular.woff'>>) format('woff');\n\tfont-weight: 400;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Caligraphic;\n\tsrc: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Caligraphic-Bold.woff'>>) format('woff');\n\tfont-weight: 700;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Caligraphic;\n\tsrc: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Caligraphic-Regular.woff'>>) format('woff');\n\tfont-weight: 400;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Fraktur;\n\tsrc: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Fraktur-Bold.woff'>>) format('woff');\n\tfont-weight: 700;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Fraktur;\n\tsrc: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Fraktur-Regular.woff'>>) format('woff');\n\tfont-weight: 400;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Main;\n\tsrc: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Bold.woff'>>) format('woff');\n\tfont-weight: 700;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Main;\n\tsrc: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-BoldItalic.woff'>>) format('woff');\n\tfont-weight: 700;\n\tfont-style: italic;\n}\n\n@font-face {\n\tfont-family: KaTeX_Main;\n\tsrc: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Italic.woff'>>) format('woff');\n\tfont-weight: 400;\n\tfont-style: italic;\n}\n\n@font-face {\n\tfont-family: KaTeX_Main;\n\tsrc: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Regular.woff'>>) format('woff');\n\tfont-weight: 400;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Math;\n\tsrc: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Math-Italic.woff'>>) format('woff');\n\tfont-weight: 400;\n\tfont-style: italic;\n}\n\n@font-face {\n\tfont-family: KaTeX_SansSerif;\n\tsrc: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Bold.woff'>>) format('woff');\n\tfont-weight: 700;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_SansSerif;\n\tsrc: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Italic.woff'>>) format('woff');\n\tfont-weight: 400;\n\tfont-style: italic;\n}\n\n@font-face {\n\tfont-family: KaTeX_SansSerif;\n\tsrc: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Regular.woff'>>) format('woff');\n\tfont-weight: 400;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Script;\n\tsrc: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Script-Regular.woff'>>) format('woff');\n\tfont-weight: 400;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Size1;\n\tsrc: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size1-Regular.woff'>>) format('woff');\n\tfont-weight: 400;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Size2;\n\tsrc: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size2-Regular.woff'>>) format('woff');\n\tfont-weight: 400;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Size3;\n\tsrc: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size3-Regular.woff'>>) format('woff');\n\tfont-weight: 400;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Size4;\n\tsrc: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size4-Regular.woff'>>) format('woff');\n\tfont-weight: 400;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Typewriter;\n\tsrc: url(<<datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Typewriter-Regular.woff'>>) format('woff');\n\tfont-weight: 400;\n\tfont-style: normal;\n}\n\n" }, "$:/plugins/tiddlywiki/katex/ui/EditorToolbar/katex-dropdown": { "title": "$:/plugins/tiddlywiki/katex/ui/EditorToolbar/katex-dropdown", "text": "\\define toolbar-button-stamp-inner()\n<$button tag=\"a\">\n\n<$action-sendmessage\n\t$message=\"tm-edit-text-operation\"\n\t$param=\"replace-selection\"\n\ttext={{$(snippetTitle)$}}\n/>\n\n<$action-deletetiddler\n\t$tiddler=<<dropdown-state>>\n/>\n\n<$view tiddler=<<snippetTitle>> field=\"caption\" mode=\"inline\">\n\n<$transclude tiddler=<<snippetTitle>> mode=\"inline\"/>\n\n</$view>\n\n</$button>\n\\end\n\n<$list filter=\"[all[shadows+tiddlers]tag[$:/tags/KaTeX/Snippet]!has[draft.of]sort[caption]]\" variable=\"snippetTitle\">\n\n<<toolbar-button-stamp-inner>>\n\n</$list>\n\n----\n\n<$button tag=\"a\">\n\n<$action-sendmessage\n\t$message=\"tm-new-tiddler\"\n\ttags=\"$:/tags/KaTeX/Snippet\"\n\ttext=\"\"\"$$snippet$$\"\"\"\n\tcaption=\"description shown in dropdown\"\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\n[ext[KaTeX functions catalogue|https://khan.github.io/KaTeX/function-support.html]]\n\n[ext[Chemical equations reference|https://mhchem.github.io/MathJax-mhchem/]]\n" }, "$:/plugins/tiddlywiki/katex/ui/EditorToolbar/katex": { "title": "$:/plugins/tiddlywiki/katex/ui/EditorToolbar/katex", "tags": "$:/tags/EditorToolbar", "icon": "$:/plugins/tiddlywiki/katex/katex-logo", "caption": "katex", "description": "create and insert preconfigured KaTeX snippets", "condition": "[<targetTiddler>!is[image]]", "dropdown": "$:/plugins/tiddlywiki/katex/ui/EditorToolbar/katex-dropdown", "text": "" }, "$:/plugins/tiddlywiki/katex/usage": { "title": "$:/plugins/tiddlywiki/katex/usage", "text": "!! Reference:\n\n# Mathematical typesetting: [ext[https://katex.org/docs/supported.html]]\n# Chemical typesetting: [ext[https://mhchem.github.io/MathJax-mhchem/]]\n\n<hr>\n\nThe usual way to include ~LaTeX is to use `$$`. For example:\n\n```\n$$\\displaystyle f(x) = \\int_{-\\infty}^\\infty\\hat f(\\xi)\\,e^{2 \\pi i \\xi x}\\,d\\xi$$\n```\n\nSingle line equations will render in inline mode. If there are newlines between the `$$` delimiters, the equations will be rendered in display mode.\n\nThe underlying widget can also be used directly, giving more flexibility:\n\n```\n<$latex text=\"f(x) = \\int_{-\\infty}^\\infty\\hat f(\\xi)\\,e^{2 \\pi i \\xi x}\\,d\\xi\" displayMode=\"true\"></$latex>\n```\n\nThe KaTeX widget is provided under the name `<$latex>` and is also available under the alias `<$katex>`. It's better to use the generic `<$latex>` name unless you are running multiple ~LaTeX plugins and wish to specifically target KaTeX.\n" }, "$:/plugins/tiddlywiki/katex/wrapper.js": { "title": "$:/plugins/tiddlywiki/katex/wrapper.js", "text": "/*\\\ntitle: $:/plugins/tiddlywiki/katex/wrapper.js\ntype: application/javascript\nmodule-type: widget\n\nWrapper for `katex.min.js` that provides a `<$latex>` widget. It is also available under the alias `<$katex>`\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nvar katex = require(\"$:/plugins/tiddlywiki/katex/katex.min.js\"),\n chemParse = require(\"$:/plugins/tiddlywiki/katex/mhchem.min.js\"),\n\tWidget = require(\"$:/core/modules/widgets/widget.js\").widget;\n// Add \\ce, \\pu, and \\tripledash to the KaTeX macros.\nkatex.__defineMacro(\"\\\\ce\", function(context) {\n return chemParse(context.consumeArgs(1)[0], \"ce\")\n});\nkatex.__defineMacro(\"\\\\pu\", function(context) {\n return chemParse(context.consumeArgs(1)[0], \"pu\");\n});\n// Needed for \\bond for the ~ forms\n// Raise by 2.56mu, not 2mu. We're raising a hyphen-minus, U+002D, not \n// a mathematical minus, U+2212. So we need that extra 0.56.\nkatex.__defineMacro(\"\\\\tripledash\", \"{\\\\vphantom{-}\\\\raisebox{2.56mu}{$\\\\mkern2mu\"\n+ \"\\\\tiny\\\\text{-}\\\\mkern1mu\\\\text{-}\\\\mkern1mu\\\\text{-}\\\\mkern2mu$}}\");\n\nvar KaTeXWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nKaTeXWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nKaTeXWidget.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 text = this.getAttribute(\"text\",this.parseTreeNode.text || \"\");\n\tvar displayMode = this.getAttribute(\"displayMode\",this.parseTreeNode.displayMode || \"false\") === \"true\";\n\t// Render it into a span\n\tvar span = this.document.createElement(\"span\"),\n\t\toptions = {throwOnError: false, displayMode: displayMode};\n\ttry {\n\t\tif(!this.document.isTiddlyWikiFakeDom) {\n\t\t\tkatex.render(text,span,options);\n\t\t} else {\n\t\t\tspan.innerHTML = katex.renderToString(text,options);\n\t\t}\n\t} catch(ex) {\n\t\tspan.className = \"tc-error\";\n\t\tspan.textContent = ex;\n\t}\n\t// Insert it into the DOM\n\tparent.insertBefore(span,nextSibling);\n\tthis.domNodes.push(span);\n};\n\n/*\nCompute the internal state of the widget\n*/\nKaTeXWidget.prototype.execute = function() {\n\t// Nothing to do for a katex widget\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nKaTeXWidget.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;\t\n\t}\n};\n\nexports.latex = KaTeXWidget;\nexports.katex = KaTeXWidget;\n\n})();\n\n", "type": "application/javascript", "module-type": "widget" } } }
{ "tiddlers": { "$:/plugins/tobibeer/appear/widget.js": { "title": "$:/plugins/tobibeer/appear/widget.js", "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})();", "type": "application/javascript", "module-type": "widget" }, "$:/plugins/tobibeer/appear/defaults/show": { "title": "$:/plugins/tobibeer/appear/defaults/show", "text": "»" }, "$:/plugins/tobibeer/appear/defaults/mode": { "title": "$:/plugins/tobibeer/appear/defaults/mode", "text": "block" }, "$:/plugins/tobibeer/appear/defaults/keep": { "title": "$:/plugins/tobibeer/appear/defaults/keep", "text": "yes" }, "$:/plugins/tobibeer/appear/defaults/button-class": { "title": "$:/plugins/tobibeer/appear/defaults/button-class", "text": "tc-btn-invisible tc-tiddlylink" }, "$:/plugins/tobibeer/appear/defaults/default-state": { "title": "$:/plugins/tobibeer/appear/defaults/default-state", "text": "$:/temp/appear/" }, "$:/plugins/tobibeer/appear/popup.js": { "title": "$:/plugins/tobibeer/appear/popup.js", "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}})();", "type": "application/javascript", "module-type": "utils" }, "$:/plugins/tobibeer/appear/readme": { "title": "$:/plugins/tobibeer/appear/readme", "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" }, "$:/plugins/tobibeer/appear/styles": { "title": "$:/plugins/tobibeer/appear/styles", "tags": "$:/tags/Stylesheet", "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>" } } }
{ "tiddlers": { "$:/plugins/tobibeer/preview/config": { "title": "$:/plugins/tobibeer/preview/config", "text": "\\define default()\r\n<dt>$(defaults)$$(option)$</dt>\r\n<dd>\r\n//{{$:/plugins/tobibeer/preview/lingo/$(option)$}}<$list\r\nfilter=\"[[$(option)$]prefix[template]]\">\r\n{{$(defaults)$$(option)$}}</$list>://<br>\r\n<$edit-text tag=input tiddler=\"$(defaults)$$(option)$\"/>\r\n</dd>\r\n\\end\n\n<dl class=\"preview-defaults\">\r\n<$vars defaults=\"$:/plugins/tobibeer/preview/defaults/\">\r\n<$list filter=\"[all[tiddlers+shadows]removeprefix<defaults>sort[title]]\" variable=\"option\">\r\n<<default>>\r\n</$list>\r\n</$vars>\r\n</dl>\r\n<style>.preview-defaults input {width:90%;}</style>" }, "$:/plugins/tobibeer/preview/lingo/keys": { "title": "$:/plugins/tobibeer/preview/lingo/keys", "text": "modifier keys to trigger popup directly on-hover (ctrl, alt+shift, meta, etc...)" }, "$:/plugins/tobibeer/preview/defaults/keys": { "title": "$:/plugins/tobibeer/preview/defaults/keys", "text": "CTRL" }, "$:/plugins/tobibeer/preview/lingo/delay": { "title": "$:/plugins/tobibeer/preview/lingo/delay", "text": "delay popup for this many milliseconds" }, "$:/plugins/tobibeer/preview/defaults/delay": { "title": "$:/plugins/tobibeer/preview/defaults/delay", "text": "1500" }, "$:/plugins/tobibeer/preview/lingo/class": { "title": "$:/plugins/tobibeer/preview/lingo/class", "text": "css classes applied to the popup" }, "$:/plugins/tobibeer/preview/defaults/class": { "title": "$:/plugins/tobibeer/preview/defaults/class", "text": "tc-popup-keep" }, "$:/plugins/tobibeer/preview/lingo/not": { "title": "$:/plugins/tobibeer/preview/lingo/not", "text": "no preview for links inside elements with these classes" }, "$:/plugins/tobibeer/preview/defaults/not": { "title": "$:/plugins/tobibeer/preview/defaults/not", "text": "tc-drop-down tc-sidebar-scrollable tc-topbar tc-tiddler-title" }, "$:/plugins/tobibeer/preview/lingo/exclude": { "title": "$:/plugins/tobibeer/preview/lingo/exclude", "text": "no preview for links to tiddlers matching this filter" }, "$:/plugins/tobibeer/preview/defaults/exclude": { "title": "$:/plugins/tobibeer/preview/defaults/exclude", "text": "[is[system]] [all[shadows]] [!has[text]]" }, "$:/plugins/tobibeer/preview/lingo/template": { "title": "$:/plugins/tobibeer/preview/lingo/template", "text": "the preview template" }, "$:/plugins/tobibeer/preview/defaults/template": { "title": "$:/plugins/tobibeer/preview/defaults/template", "text": "$:/plugins/tobibeer/preview/template" }, "$:/plugins/tobibeer/preview/lingo/open": { "title": "$:/plugins/tobibeer/preview/lingo/open", "text": "view at ''<<WIKI>>''" }, "$:/plugins/tobibeer/preview/keyboard.js": { "title": "$:/plugins/tobibeer/preview/keyboard.js", "text": "/*\\\r\ntitle: $:/plugins/tobibeer/preview/keyboard.js\r\ntype: application/javascript\r\nmodule-type: utils\r\n\r\nFixes $:/core/modules/utils/dom/keyboard.js by providing an alternative.\r\nDo not use as an API, let's fix the core.\r\n\r\n@preserve\r\n\\*/\n(function(){\"use strict\";var e={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,PAGEUP:33,PAGEDOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,INSERT:45,DELETE:46};exports.parseKeyDescriptorTB=function(t){var l,r,y,s=t.toUpperCase().split(\"+\"),K={keyCode:null,shiftKey:false,altKey:false,ctrlKey:false};for(y=0;y<s.length;y++){l=false;r=s[y];if(r.substr(0,1)===\"!\"){l=true;r=r.substr(1)}if(r===\"CTRL\"){K.ctrlKey=l?null:true}else if(r===\"SHIFT\"){K.shiftKey=l?null:true}else if(r===\"ALT\"){K.altKey=l?null:true}else if(r===\"META\"){K.metaKey=l?null:true}else if(e[r]){K.keyCode=e[r]}else{K.keyCode=r.charCodeAt(0)}}return K};exports.checkKeyDescriptorTB=function(e,t){var l=!!t.metaKey;return(t.keyCode===null||e.keyCode===t.keyCode)&&(t.shiftKey===null?!e.shiftKey:e.shiftKey===t.shiftKey)&&(t.altKey===null?!e.altKey:e.altKey===t.altKey)&&(t.ctrlKey===null?!e.ctrlKey:e.ctrlKey===t.ctrlKey)&&(t.metaKey===null?!e.metaKey:e.metaKey===l)}})();", "type": "application/javascript", "module-type": "utils" }, "$:/plugins/tobibeer/preview/link.js": { "title": "$:/plugins/tobibeer/preview/link.js", "text": "/*\\\r\ntitle: $:/plugins/tobibeer/preview/link.js\r\ntype: application/javascript\r\nmodule-type: startup\r\n\r\nEnhances the link widget for on-hover previews\r\n\r\n@preserve\r\n\\*/\n(function(){var e,t=require(\"$:/core/modules/widgets/link.js\").link,i=t.prototype.render,o=t.prototype.handleClickEvent;t.prototype.render=function(){i.apply(this,arguments);var t=this,o=this.wiki,p=this.domNodes[0],r=o.getTiddler(t.to),n=\"$:/plugins/tobibeer/preview/defaults/\",u=\"$:/temp/tobibeer/preview-\",l=$tw.utils.parseKeyDescriptorTB(o.getTextReference(n+\"keys\",\"\").toUpperCase()),s=o.getTextReference(n+\"delay\").toUpperCase(),a=function(e){var i=$tw.popup.popupInfo(e),p=i.popupLevel;return o.getTextReference(u+p)&&o.getTextReference(u+p+\"-tiddler\")===t.to?null:i},f=function(){var i,r=a(p);if(r){i=r.popupLevel;clearTimeout(t.previewTimeout);$tw.popup.cancel(i);i++;o.setText(u+i+\"-tiddler\",\"text\",null,t.to);if($tw.popup.findPopup(u+i)===-1){setTimeout(function(){$tw.popup.triggerPopup({domNode:p,title:u+i,wiki:o});e=0},50)}}},d=function(){var e,i,r=1,u=o.getTextReference(n+\"not\",\"\");if(u){$tw.utils.each(u.split(\" \"),function(e){var t=p;while(t&&r){if($tw.utils.hasClass(t,e)){r=0;return false}t=t.parentNode}})}if(r){i=o.getTextReference(n+\"exclude\",\"\");e=i?o.filterTiddlers(i):[];if(e.indexOf(t.to)>=0){r=0}}return r};s=s!==undefined?parseInt(s):null;if(s!==null&&isNaN(s)){s=0}if(r){$tw.utils.addClass(p,\"tc-popup-handle\");$tw.utils.addClass(p,\"tc-popup-absolute\");[\"mouseover\",\"mouseout\"].forEach(function(i){p.addEventListener(i,function(o){var p=o||window.event;if(i===\"mouseover\"){if(d()){if(!p.keyCode){p.keyCode=0}if($tw.utils.checkKeyDescriptorTB(p,l)){if(!e){e=1;f()}}else if(s!==null){e=0;t.previewTimeout=setTimeout(f,s)}}}else{e=0;clearTimeout(t.previewTimeout)}})})}};t.prototype.handleClickEvent=function(){o.apply(this,arguments);clearTimeout(this.previewTimeout);$tw.popup.cancel(Math.max(0,$tw.popup.popupInfo(this.domNodes[0]).popupLevel))}})();", "type": "application/javascript", "module-type": "startup" }, "$:/plugins/tobibeer/preview/popups": { "title": "$:/plugins/tobibeer/preview/popups", "tags": "$:/tags/PageTemplate", "text": "\\define state(num)\n$:/temp/tobibeer/preview-$num$\n\\end\n\n\\define classes(num)\ntc-popup appear appear-block appear-reveal tc-preview-tiddler tc-preview-tiddler-$num$ $(default-classes)$\n\\end\n\n\\define level(num)\n<$reveal tag=\"div\" type=\"popup\" state=<<state $num$>> class=<<classes $num$>>>\n<$tiddler tiddler={{$:/temp/tobibeer/preview-$num$-tiddler}}>\n<$transclude tiddler={{$:/plugins/tobibeer/preview/defaults/template}} mode=\"block\"/>\n</$tiddler>\n</$reveal>\n\\end\n\n<$vars default-classes={{$:/plugins/tobibeer/preview/defaults/class}}>\n<$list filter=\"1 2 3 4 5 6 7 8 9\">\n<$macrocall $name=\"level\" num={{!!title}}/>\n</$list>\n</$vars>" }, "$:/plugins/tobibeer/preview/readme": { "title": "$:/plugins/tobibeer/preview/readme", "text": "The plugin $:/plugins/tobibeer/preview enhances the core <<x LinkWidget>> to display a preview of tiddlers when hovering an internal link.\n\n<br>\n\n; documentation / examples / demos...\r\n: http://tobibeer.github.io/tw5-plugins#preview" }, "$:/plugins/tobibeer/preview/styles": { "title": "$:/plugins/tobibeer/preview/styles", "tags": "$:/tags/Stylesheet", "text": ".tc-popup.tc-preview-tiddler{\r\n\tmax-width:600px;\r\n\twidth:100%;\r\n\tpadding:1em;\r\n}" }, "$:/plugins/tobibeer/preview/template": { "title": "$:/plugins/tobibeer/preview/template", "text": "{{||$:/core/ui/ViewTemplate/tags}}\n\n<$transclude mode=\"block\"/>" } } }
tc-popup-keep
1000
{ "tiddlers": { "$:/plugins/tongerner/layout_adjustment/icon": { "text": "<svg width=\"22pt\" height=\"22pt\" viewBox=\"0 0 100 100\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:svg=\"http://www.w3.org/2000/svg\">\n <metadata id=\"metadata7\">image/svg+xml</metadata>\n <g>\n <title>Layer 1</title>\n <g id=\"layer1\">\n <path d=\"m48.98237,97.8691l-41.98313,-24.239l0,-48.47796l41.98313,-24.23897l41.98313,24.23897l0,48.47796l-41.98313,24.239z\" id=\"path4142\" stroke-miterlimit=\"4\" stroke-width=\"1.2218\" stroke=\"#a0a0ff\" fill=\"#a0a0ff\"/>\n <path id=\"svg_3\" d=\"m73.1813,28.26401l-15.55706,15.81597c0.61319,0.6247 0.61206,1.63724 0,2.25944c-0.61371,0.62398 -1.60823,0.62448 -2.22362,0l-6.66496,-6.77579c-0.61439,-0.62462 -0.61363,-1.63801 0,-2.26065c0.61329,-0.62358 1.60695,-0.62444 2.22244,0l0,0l15.55707,-15.81609c1.84112,-1.87179 4.8262,-1.87179 6.66732,0c1.84113,1.87178 1.84112,4.90654 -0.00001,6.77832l-0.00118,-0.0012zm-50.00484,46.31849l-2.22244,-2.2595l3.30621,-5.6205l3.36112,-1.1578l23.33557,-23.72413l2.22243,2.25941l-23.33556,23.72422l-1.13868,3.417l-5.52865,3.3613z\" fill-rule=\"evenodd\"/>\n </g>\n </g>\n</svg>", "type": "image/svg+xml", "title": "$:/plugins/tongerner/layout_adjustment/icon", "modifier": "TonGerner", "modified": "20170725155035239", "creator": "TonGerner", "created": "20160109160239631" }, "$:/plugins/tongerner/layout_adjustment/macros": { "created": "20150801122014492", "text": "\\define inputBox() <$edit-text tiddler=\"$(reftarget)$\" field=\"$(reffield)$\" class=\"$(refclass)$\"/>\n\n\\define tableRow(header,target,field,class)\n<$set name=\"reftarget\" value=\"$target$\">\n<$set name=\"reffield\" value=\"$field$\">\n<$set name=\"refclass\" value=\"settings\">\n<tr><th>$header$ </th><td><<inputBox>></td></tr>\n</$set>\n</$set>\n</$set>\n\\end\n", "title": "$:/plugins/tongerner/layout_adjustment/macros", "tags": "$:/tags/Macro", "modifier": "TonGerner", "modified": "20170103121557249", "creator": "TonGerner" }, "$:/plugins/tongerner/layout_adjustment/readme": { "created": "20150731184044439", "text": "''Note:''<br>This plugin contains 'general' settings for the layout and is additionally required for my following plugins: ^^1^^\n\n* Top menu\n* Top-left menu (top + left menu)\n* Left menu\n* Toolbar (on top)\n* Tiddlersbar\n* ~TabStory (alternative tiddlersbar at top of story)\n* Uptoolbar (toolbar above title)\n* Tristate (tristate sidebar)\n\nThis plugin contains layout code common to the mentioned plugins and let you adjust:\n\n!! Theme tweaks\n* Scroll offset (thanks to [[Tobias Beer|https://tobibeer.github.io/tb5/#%24%3A%2Fhack-142-scroll-pagescroller.js]])\n* Sidebar layout\n* Story left position\n* Story top position\n* Story right\n* Story width\n* Tiddler width\n* Sidebar top position (new)\n* Sidebar width\n\n!! Other layout settings\n* Color and height of the top bar (as a boundary for top menu, toolbar, tiddlersbar, etc.)\n* Top padding of a tiddler\n* Color for displaying the 'active' state of some toggle buttons\n* Vertical position of 'sticky titles'\n* Vertical position 'sticky editor toolbar'\n\nSettings for the layout can be found in ''~ControlPanel > Appearance > [[Plugin tweaks|$:/plugins/tongerner/layout_adjustment/tweaks]]'', also available via the 'Adjust layout' button ({{$:/plugins/tongerner/layout_adjustment/image/layout}}) in the Toprightbar.\n\n|borderless|k\n|^^^1^^ | |All these plugins contain a 'Settings' tiddler tagged with $:/tags/plugin-tweaks and will display - when installed - a tab under 'Plugin tweaks'.|\n\n<<<\n''Note:''<br>A sticky editor toolbar works ''only'' in non-preview mode!.\n<<<", "title": "$:/plugins/tongerner/layout_adjustment/readme", "modifier": "TonGerner", "modified": "20180131171650981", "creator": "TonGerner" }, "$:/plugins/tongerner/layout_adjustment/settings": { "text": "!!Layout settings\n<table class=\"tablestyle\">\n@@.brown ''Top bar''@@\n<<tableRow \"Background color 'Top bar'\" \"$:/plugins/tongerner/layout_adjustment/styles\" \"topbar-background-color\">>\n<<tableRow \"Height 'Top bar'\" \"$:/plugins/tongerner/layout_adjustment/styles\" \"topbar-height\">>\n@@.brown ''Tiddler''@@\n<<tableRow \"Top padding\" \"$:/plugins/tongerner/layout_adjustment/styles\" \"tiddler-padding-top\">>\n@@.brown ''Button color''@@\n<<tableRow \"Active button color\" \"$:/plugins/tongerner/layout_adjustment/styles\" \"active-state-color\">>\n@@.brown ''Sticky''@@<br>{{$:/plugins/tongerner/layout_adjustment/pin-buttons}}\n<<tableRow \"Top 'sticky title'\" \"$:/plugins/tongerner/layout_adjustment/styles\" \"top-sticky-title\">>\n<<tableRow \"Top 'sticky editor toolbar'\" \"$:/plugins/tongerner/layout_adjustment/styles\" \"top-sticky-editor-toolbar\">>\n</table>\n\n<<<\n''Note:''\n\n* @@color:red;For a 'Top bar' to become visible, a color and a height > 0px need to be entered!@@\n* The 'Sticky general' button ({{$:/plugins/tongerner/layout_adjustment/pin-icon}}/{{$:/plugins/tongerner/layout_adjustment/unpin-icon}}) acts the same as the setting in ''Control panel > Appearance > Theme tweaks > Sticky titles''\n*The 'Sticky editor toolbar' button (also {{$:/plugins/tongerner/layout_adjustment/pin-icon}}/{{$:/plugins/tongerner/layout_adjustment/unpin-icon}}) adds stickyness to the editor toolbar\n** Both 'Top' settings are ''only'' active when the toolbar is sticky!\n* A sticky editor toolbar works ''only'' in non-preview mode!\n<<<\n\n<$button tooltip=\"Help\">\n<$action-sendmessage $message=\"tm-open-window\" $param=\"$:/plugins/tongerner/layout_adjustment/settings-help\" height=\"450px\" width=\"700px\"/>Help</$button>", "title": "$:/plugins/tongerner/layout_adjustment/settings", "tags": "$:/tags/plugin-tweaks", "order": "2", "modifier": "TonGerner", "modified": "20180217143046452", "creator": "TonGerner", "created": "20150729190109349", "caption": "Layout" }, "$:/plugins/tongerner/layout_adjustment/settings-help": { "text": "<<<\n''Note:''<br>You can enter values in allowed CSS units, e.g. `%`, `px`, `em`...\n<<<\n\n|Item|Entry |Description |Default |h\n|Topbar |Background color 'Top bar'|Background color of the top bar<br>Transparent when left 'blank'''!''| ^^''1''^^ |\n|~|Height 'Top bar'|Height of the top bar| 0px ^^''2''^^ |\n|Tiddler |Top padding |Top padding of tiddler | 30px |\n|Button color|Active button color |Color indicating 'active' state of toggle button | #0044BB |\n|Sticky ^^''3''^^|Top 'sticky title' |Position sticky title from top | 0px |\n|~|Top 'sticky editor toolbar'|Position sticky editor toolbar from top| 35px ^^''4''^^ |\n\n<br>\n\n|borderless|k\n|^''@@font-size: 0.8em;1@@'' | |Default left blank; `#F4F4F4` is the Page background color for the Snow White theme|\n|^''@@font-size: 0.8em;2@@'' | |A ''height > 0px'' is required to 'see' the top bar!|\n|^''@@font-size: 0.8em;3@@'' | |Both 'Sticky Top' settings are ''only'' active when the toolbar is sticky!|\n|^''@@font-size: 0.8em;4@@'' | |About 35px higher than Top 'sticky title' to prevent hiding the tiddler control buttons|\n\n\n\n", "title": "$:/plugins/tongerner/layout_adjustment/settings-help", "tags": "", "modifier": "TonGerner", "modified": "20180217143233293", "creator": "TonGerner", "created": "20150801124528672" }, "$:/plugins/tongerner/layout_adjustment/sidebar-top": { "text": "0px", "title": "$:/plugins/tongerner/layout_adjustment/sidebar-top", "tags": "", "modified": "20170317105358712", "created": "20161213115930178" }, "$:/plugins/tongerner/layout_adjustment/styles": { "created": "20161212103011213", "text": "<pre>/* LAYOUT SETTINGS */\n\n/* VERTICAL OFFSET FOR TOP OF SIDEBAR */\nhtml .tc-sidebar-scrollable {\n top: {{$:/plugins/tongerner/layout_adjustment/sidebar-top}};\n}\n\n* BACKGROUND COLOR TOPRIGHTBAR (with double chevron) */\n.tc-topbar {\n background-color: {{!!topbar-background-color}};\n}\n\n/* TOPBAR */\n.tgc-toolbar {\n display:block;\n position:fixed;\n left:0px;\n top:0px;\n width:100%;\n height: {{!!topbar-height}};\n background-color: {{!!topbar-background-color}};\n z-index: 600;\n}\n\n/* TOP PADDING TIDDLER */\nbody.tc-body .tc-tiddler-frame {\n padding-top: {{!!tiddler-padding-top}};\n}\n\n/* COLOR ACTIVE STATE TOGGLE BUTTON */\nbody.tc-body .tgc-active-indicator {\n color: {{!!active-state-color}};\n}\nbody.tc-body .tgc-active-indicator svg {\n fill: {{!!active-state-color}};\n}\n\nbody.tc-body .tgc-active-indicator:hover svg {\n fill: <<colour \"foreground\">>;\n}\n\n/* SETTINGS TABLE */\n/* WIDTH SETTINGS TABLE */\ninput[type='text'].settings {\n width: 120px;\n}\ntable.tablestyle {\n font-size: 0.9em;\n border-width: 0px;\n border-style: solid;\n padding: 2px;\n border-color: #DDD;\n border-collapse: collapse;\n}\ntable.tablestyle th {\n background-color: #F0F0F0;\n border-color: #DDD;\n text-align: left;\n vertical-align: top;\n border-style: solid;\n border-width: 1px;\n padding: 5px;\n}\ntable.tablestyle tr {\n background-color: #F0F0F0;\n padding: 0px;\n}\ntable.tablestyle td {\n border-color: #DDD;\n border-style: solid;\n border-width: 1px;\n padding:2px;\n}\n/* BORDERLESS TABLES */\n.borderless, .borderless table, .borderless td, .borderless tr, .borderless th, .borderless tbody {\n border:0 !important;\n margin:0 !important;\n padding:0 !important;\n}\n</pre>", "topbar-height": "0px", "topbar-background-color": "", "title": "$:/plugins/tongerner/layout_adjustment/styles", "tiddler-padding-top": "30px", "tags": "$:/tags/Stylesheet", "story-river-top": "0px", "sidebar-top": "0px", "modifier": "TonGerner", "modified": "20180201194136555", "list-after": "$:/themes/tiddlywiki/vanilla/base", "creator": "TonGerner", "active-state-color": "#0044BB", "top-sticky-title": "0px", "top-sticky-editor-toolbar": "35px" }, "$:/plugins/tongerner/layout_adjustment/themetweaks": { "created": "20161212090056554", "text": "!! Theme tweaks\n\n@@.brown '''Adjust layout' button''@@<br>\n<$checkbox tiddler=\"$:/plugins/tongerner/layout_adjustment/configuration-button\" tag=\"$:/tags/TopRightBar\"> 'Adjust layout' button ({{$:/plugins/tongerner/layout_adjustment/image/layout}}) visible in Toprightbar?</$checkbox>\n\n@@.brown ''Scroll hack''@@<br>\n<$checkbox tiddler=\"$:/scrollhack-pagescroller.js\" field=\"module-type\" checked=\"macro\" unchecked=\"\" default=\"macro\"> Scroll hack active?</$checkbox> (needs save & refresh)\n\n|tablestyle|k\n|<$link to=\"$:/plugins/tongerner/layout_adjustment/offsetY\">''Scroll offset''     </$link> |<$edit-text tiddler=\"$:/plugins/tongerner/layout_adjustment/offsetY\" default=\"\" tag=\"input\"/> |\n\n@@.brown ''Theme tweaks''@@<br>\nexcerpt from 'Theme Tweaks' tab\n\n|tablestyle|k\n|<$link to=\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\">Sidebar layout</$link> |<$select tiddler=\"$:/themes/tiddlywiki/vanilla/options/sidebarlayout\"><option value=\"fixed-fluid\">Fixed story, Fluid sidebar</option><option value=\"fluid-fixed\">Fluid story, Fixed sidebar</option></$select> |\n|<$link to=\"$:/themes/tiddlywiki/vanilla/metrics/storyleft\">Story left position</$link>|^<$edit-text tiddler=\"$:/themes/tiddlywiki/vanilla/metrics/storyleft\" default=\"\" tag=\"input\"/> |\n|<$link to=\"$:/themes/tiddlywiki/vanilla/metrics/storytop\">Story top position</$link>|^<$edit-text tiddler=\"$:/themes/tiddlywiki/vanilla/metrics/storytop\" default=\"\" tag=\"input\"/> |\n|<$link to=\"$:/themes/tiddlywiki/vanilla/metrics/storyright\">Story right</$link>|^<$edit-text tiddler=\"$:/themes/tiddlywiki/vanilla/metrics/storyright\" default=\"\" tag=\"input\"/> |\n|<$link to=\"$:/themes/tiddlywiki/vanilla/metrics/storywidth\">Story width</$link>|^<$edit-text tiddler=\"$:/themes/tiddlywiki/vanilla/metrics/storywidth\" default=\"\" tag=\"input\"/> |\n|<$link to=\"$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth\">Tiddler width</$link>|^<$edit-text tiddler=\"$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth\" default=\"\" tag=\"input\"/> |\n|<$link to=\"$:/plugins/tongerner/layout_adjustment/sidebar-top\">Sidebar top position</$link> |^<$edit-text tiddler=\"$:/plugins/tongerner/layout_adjustment/sidebar-top\" default=\"\" tag=\"input\"/> |\n|<$link to=\"$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth\">Sidebar width</$link> |^<$edit-text tiddler=\"$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth\" default=\"\" tag=\"input\"/> |\n<$button tooltip=\"Help\">\n<$action-sendmessage $message=\"tm-open-window\" $param=\"$:/plugins/tongerner/layout_adjustment/themetweaks-help\" height=\"700px\" width=\"700px\"/>Help</$button>\n", "title": "$:/plugins/tongerner/layout_adjustment/themetweaks", "tags": "$:/tags/plugin-tweaks", "order": "1", "modified": "20180222204708661", "caption": "Theme tweaks" }, "$:/plugins/tongerner/layout_adjustment/themetweaks-help": { "created": "20161212130221042", "text": "|Item |Entry |Description |Default |h\n|'Adjust layout' button |<input type=\"checkbox\" /> / <input type=\"checkbox\" checked />|Toggle button in Toprightbar on/off| <input type=\"checkbox\" checked /> |\n|Scroll hack |<input type=\"checkbox\" /> / <input type=\"checkbox\" checked />|Scroll hack active?<br>(needs save & refresh)| <input type=\"checkbox\" checked /> |\n|~|Scroll offset |Shifts standard scroll top position downwards| 42px ^^1^^|\n|Theme tweaks |^Sidebar layout |^Choice between Fluid story, fixed sidebar and Fixed story, fluid sidebar|Fluid story, fixed sidebar ^^2^^|\n|~|^Story left position |^How far the left margin of the story river (tiddler area) is from the left of the page| 0px|\n|~|^Story top position |^How far the top margin of the story river is from the top of the page| 0px ^^3^^|\n|~|^Story right |^How far the left margin of the sidebar is from the left of the page| 770px|\n|~|^Story width |^The overall width of the story river| 770px|\n|~|^Tiddler width |^Within the story river| 686px|\n|~|^Sidebar top position |^Start of the sidebar<br>(from the top)| 0px ^^3^^|\n|~|^Sidebar width |^The width of the sidebar in fluid-fixed layout| 350px|\n\n|borderless|k\n|^''@@font-size: 0.8em;1@@'' ||To fix the tiddler scrolling underneath the top bar when opening TW. Default 42px. Adjust as required but use the minimum value needed (to prevent scroll problems at the bottom).|\n|^''@@font-size: 0.8em;2@@'' ||''Fluid story, fixed sidebar interferes with Tristate plugin'' => select Fixed story, fluid sidebar for Tristate plugin |\n|^''@@font-size: 0.8em;3@@'' | |Default values; ''need to be adjusted (increased) in case of adding a top menu, toolbar, tiddlersbar, ... to the wiki!''|", "title": "$:/plugins/tongerner/layout_adjustment/themetweaks-help", "tags": "", "modified": "20180222204547275" }, "$:/plugins/tongerner/layout_adjustment/topbar": { "created": "20150731184520854", "text": "<div class=\"tgc-toolbar\"></div>\n<<scrollhack>>", "creator": "TonGerner", "modified": "20171224115711436", "modifier": "TonGerner", "tags": "$:/tags/PageTemplate", "title": "$:/plugins/tongerner/layout_adjustment/topbar" }, "$:/plugins/tongerner/layout_adjustment/tweaks": { "created": "20150801100456266", "creator": "TonGerner", "text": "The general layout adjustments can be found under the 'Themes tweak' and 'Layout' tabs. Dependent on installed plugins other tabs are available ('Top menu', 'Top-left menu', 'Toolbar', 'Tiddlersbar, '~TabStory', 'Uptoolbar', 'Tristate').\n<<tabs \"[all[shadows+tiddlers]tag[$:/tags/plugin-tweaks]nsort[order]]\" \"$:/plugins/tongerner/layout_adjustment/settings\" \"\" \"tc-vertical\">>", "caption": "Plugin tweaks", "modified": "20171204115305512", "modifier": "TonGerner", "tags": "$:/tags/ControlPanel/Appearance", "title": "$:/plugins/tongerner/layout_adjustment/tweaks" }, "$:/themes/tiddlywiki/vanilla/sticky_": { "created": "20170330150510113", "text": "<$reveal state=\"$:/themes/tiddlywiki/vanilla/options/stickytitles\" type=\"match\" text=\"yes\">\n``\n.tc-tiddler-title {\n position: -webkit-sticky;\n position: -moz-sticky;\n position: -o-sticky;\n position: -ms-sticky;\n position: sticky;\n top: ``{{$:/plugins/tongerner/layout_adjustment/styles!!top-sticky-title}}``;\n background: ``<<colour tiddler-background>>``;\n z-index: 500;\n}\n.tc-editor-toolbar {\n position: -webkit-sticky;\n position: -moz-sticky;\n position: -o-sticky;\n position: -ms-sticky;\n position: sticky;\n top: ``{{$:/plugins/tongerner/layout_adjustment/styles!!top-sticky-editor-toolbar}}``;\n background: ``<<colour tiddler-background>>``;\n z-index: 500;\n}\n``\n</$reveal>\n", "type": "text/vnd.tiddlywiki", "title": "$:/themes/tiddlywiki/vanilla/sticky_", "tags": "", "modified": "20180201194034940" }, "$:/plugins/tongerner/layout_adjustment/configuration-button": { "created": "20171203165317769", "text": "<$button class=\"tc-btn-invisible\" tooltip=\"Adjust layout\">\n<$action-sendmessage $message=\"tm-open-window\" $param=\"$:/plugins/tongerner/layout_adjustment/tweaks\" height=\"700px\" width=\"650px\"/>\n{{$:/plugins/tongerner/layout_adjustment/image/layout}}\n</$button>\n\n\n", "title": "$:/plugins/tongerner/layout_adjustment/configuration-button", "tags": "$:/tags/TopRightBar", "modified": "20180201194645402", "list-before": "$:/core/ui/TopBar/menu", "description": "Adjust layout", "caption": "{{$:/plugins/tongerner/layout_adjustment/icon}} adjust layout" }, "$:/plugins/tongerner/layout_adjustment/image/layout": { "text": "<svg class=\"tgc-layout-button tc-image-button\" height=\"22pt\" width=\"22pt\" viewBox=\"0 0 22 22\">\n<path d=\"m19.84313,0.21698l-17.65497,0c-1.08334,0 -1.96191,0.9235 -1.96191,2.0571l0,17.48416c0,1.1359 0.87857,2.0571 1.96191,2.0571l17.65497,0c1.08334,0 1.96191,-0.92119 1.96191,-2.0571l0,-17.48416c0,-1.1336 -0.87857,-2.0571 -1.96191,-2.0571zm-17.65497,7.80127l5.71838,0l0,11.73768l-5.71838,0l0,-11.73768zm7.67809,11.73768l0,-11.73768l9.97689,0l0,-2.0571l-17.65497,0l0,-3.68707l17.65497,0l0.0022,17.48416l-9.97909,0l0,-0.00231z\"/>\n</svg>", "created": "20171203171851124", "modified": "20171203173424044", "tags": "", "title": "$:/plugins/tongerner/layout_adjustment/image/layout" }, "$:/plugins/tongerner/layout_adjustment/offsetY": { "created": "20171203173818558", "text": "42px", "title": "$:/plugins/tongerner/layout_adjustment/offsetY", "tags": "", "modified": "20171225094534779" }, "$:/scrollhack-pagescroller.js": { "created": "20171203173540819", "text": "/*\\\ntitle: $:/scrollhack-pagescroller.js\ntype: application/javascript\nmodule-type: macro\nsummary: overwrites $tw.pageScroller.scrollIntoView to introduce an offset [[$:/plugins/tongerner/layout_adjustment/offsetY]]\n\n<<scrollhack>>\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\"use strict\";\n\nexports.name = \"scrollhack\";\nexports.params = [{}];\n\n/*\nRun the macro\n*/\nexports.run = function() {\n\n\tif(!this.hackOnce){\n\t\tthis.hackOnce = true;\n\n\t\t//SCROLLHACK: get offsetY\n\t\tvar offsetY = parseInt($tw.wiki.getTiddlerText(\"$:/plugins/tongerner/layout_adjustment/offsetY\"));\n\t\toffsetY = isNaN(offsetY) ? 0 : offsetY;\n\n\t\t/*\n\t\tHandle a scroll event DIFFERENTLY hitting the page document\n\t\t*/\n\t\t$tw.pageScroller.scrollIntoView = function(element) {\n\t\t\tvar duration = $tw.utils.getAnimationDuration();\n\t\t\t// Now get ready to scroll the body\n\t\t\tthis.cancelScroll();\n\t\t\tthis.startTime = Date.now();\n\t\t\tvar scrollPosition = $tw.utils.getScrollPosition();\n\t\t\t// Get the client bounds of the element and adjust by the scroll position\n\t\t\tvar clientBounds = element.getBoundingClientRect(),\n\t\t\t\tbounds = {\n\t\t\t\t\tleft: clientBounds.left + scrollPosition.x,\n\t\t\t\t\ttop: clientBounds.top + scrollPosition.y,\n\t\t\t\t\twidth: clientBounds.width,\n\t\t\t\t\theight: clientBounds.height\n\t\t\t\t};\n\t\t\t// We'll consider the horizontal and vertical scroll directions separately via this function\n\t\t\tvar getEndPos = function(targetPos,targetSize,currentPos,currentSize) {\n\t\t\t\t\t// If the target is above/left of the current view, then scroll to it's top/left\n\t\t\t\t\tif(targetPos <= currentPos) {\n\t\t\t\t\t\treturn targetPos;\n\t\t\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\t\t} else if(targetSize < currentSize && currentPos < (targetPos + targetSize - currentSize)) {\n\t\t\t\t\t\treturn targetPos + targetSize - currentSize;\n\t\t\t\t\t// If the target is big, then just scroll to the top\n\t\t\t\t\t} else if(currentPos < targetPos) {\n\t\t\t\treturn targetPos;\n\t\t\t\t\t// Otherwise, stay where we are\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn currentPos;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tendX = getEndPos(bounds.left,bounds.width,scrollPosition.x,window.innerWidth),\n\t\t\t\tendY = getEndPos(bounds.top,bounds.height,scrollPosition.y,window.innerHeight);\n\n\t\t\t// Only scroll if necessary\n\t\t\tif(endX !== scrollPosition.x || endY !== scrollPosition.y) {\n\n\t\t\t\t//HACK-142: fix endY via offsetY\n\t\t\t\tendY = (endY - offsetY) || 0;\n\n\t\t\t\tvar self = this,\n\t\t\t\t\tdrawFrame;\n\t\t\t\tdrawFrame = function () {\n\t\t\t\t\tvar t;\n\t\t\t\t\tif(duration <= 0) {\n\t\t\t\t\t\tt = 1;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tt = ((Date.now()) - self.startTime) / duration;\t\n\t\t\t\t\t}\n\t\t\t\t\tif(t >= 1) {\n\n\t\t\t\t\t\tself.cancelScroll();\n\t\t\t\t\t\tt = 1;\n\t\t\t\t\t}\n\t\t\t\t\tt = $tw.utils.slowInSlowOut(t);\n\n\t\t\t\t\twindow.scrollTo(\n\t\t\t\t\t\tscrollPosition.x + (endX - scrollPosition.x) * t,\n\t\t\t\t\t\tscrollPosition.y + (endY - scrollPosition.y) * t);\n\n\t\t\t\t\tif(t < 1) {\n\t\t\t\t\t\tself.idRequestFrame = self.requestAnimationFrame.call(window,drawFrame);\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t\tdrawFrame();\n\t\t\t}\n\t\t};\n\n\n\t};\n\treturn \"\";\n\n}\n\n})();", "type": "application/javascript", "title": "$:/scrollhack-pagescroller.js", "tags": "", "module-type": "macro", "modified": "20171225094433841" }, "$:/plugins/tongerner/layout_adjustment/license": { "text": "[[Layout adjustment plugin|http://tongerner.tiddlyspot.com/#Layout%20adjustment%20plugin]] © Ton Gerner — 2018\n\nMIT License: https://opensource.org/licenses/MIT\n", "title": "$:/plugins/tongerner/layout_adjustment/license", "tags": "", "modified": "20180130092116257", "created": "20180124162829244" }, "$:/plugins/tongerner/layout_adjustment/pin-buttons": { "created": "20180131170419120", "text": "<$reveal state=\"$:/themes/tiddlywiki/vanilla/options/stickytitles\" type=\"nomatch\" text=\"no\">\n<$button set=\"$:/themes/tiddlywiki/vanilla/options/stickytitles\" setTo=\"no\" tooltip=\"Activate sticky\" class=\"tc-btn-invisible\">{{$:/plugins/tongerner/layout_adjustment/pin-icon}}\n</$button>\n</$reveal>\n<$reveal state=\"$:/themes/tiddlywiki/vanilla/options/stickytitles\" type=\"match\" text=\"no\">\n<$button set=\"$:/themes/tiddlywiki/vanilla/options/stickytitles\" setTo=\"yes\" tooltip=\"Deactivate sticky\" class=\"tc-btn-invisible\">{{$:/plugins/tongerner/layout_adjustment/unpin-icon}}\n</$button>\n</$reveal>Sticky general: {{$:/themes/tiddlywiki/vanilla/options/stickytitles}} —\n<$reveal state=\"$:/state/sticky-toolbar\" type=\"nomatch\" text=\"yes\">\n<$button set=\"$:/state/sticky-toolbar\" setTo=\"yes\" tooltip=\"Activate sticky editor toolbar\" class=\"tc-btn-invisible\">{{$:/plugins/tongerner/layout_adjustment/unpin-icon}}\n<$action-setfield $tiddler=\"$:/themes/tiddlywiki/vanilla/sticky_\" title=\"$:/themes/tiddlywiki/vanilla/sticky\"/>\n</$button>\n</$reveal>\n<$reveal state=\"$:/state/sticky-toolbar\" type=\"match\" text=\"yes\">\n<$button set=\"$:/state/sticky-toolbar\" setTo=\"no\" tooltip=\"Deactivate sticky editor toolbar\" class=\"tc-btn-invisible\">{{$:/plugins/tongerner/layout_adjustment/pin-icon}}\n<$action-deletetiddler $tiddler=\"$:/themes/tiddlywiki/vanilla/sticky\"/>\n</$button>\n</$reveal>Sticky editor toolbar: {{$:/state/sticky-toolbar}}", "title": "$:/plugins/tongerner/layout_adjustment/pin-buttons", "tags": "", "modified": "20180131170949454" }, "$:/plugins/tongerner/layout_adjustment/pin-icon": { "created": "20180131170610630", "text": "<svg class=\"tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 8 8\">\n <path d=\"m1.85672,0.03562a0.5,0.49555 0 0 0 0.16,0.99109l0.5,0l0,1.98219l-1,0c-0.55,0 -1,0.44599 -1,0.99109l3,0l0,2.97328l0.44,0.99109l0.56,-0.99109l0,-2.97328l3,0c0,-0.5451 -0.45,-0.99109 -1,-0.99109l-1,0l0,-1.98219l0.5,0a0.5,0.49555 0 1 0 0,-0.99109l-4,0a0.5,0.49555 0 0 0 -0.09,0a0.5,0.49555 0 0 0 -0.06,0l-0.01,0z\"/>\n</svg>", "title": "$:/plugins/tongerner/layout_adjustment/pin-icon", "tags": "", "modified": "20180131170621663" }, "$:/plugins/tongerner/layout_adjustment/unpin-icon": { "created": "20180130174200638", "text": "<svg class=\"tc-image-button\" width=\"22pt\" height=\"22pt\" viewBox=\"0 0 8 8\">\n <path transform=\"rotate(89.90647888183594 4.016719818115234,3.998984575271606) \" d=\"m1.85672,0.03562a0.5,0.49555 0 0 0 0.16,0.99109l0.5,0l0,1.98219l-1,0c-0.55,0 -1,0.44599 -1,0.99109l3,0l0,2.97328l0.44,0.99109l0.56,-0.99109l0,-2.97328l3,0c0,-0.5451 -0.45,-0.99109 -1,-0.99109l-1,0l0,-1.98219l0.5,0a0.5,0.49555 0 1 0 0,-0.99109l-4,0a0.5,0.49555 0 0 0 -0.09,0a0.5,0.49555 0 0 0 -0.06,0l-0.01,0z\"/>\n</svg>", "title": "$:/plugins/tongerner/layout_adjustment/unpin-icon", "tags": "", "modified": "20180131170641913" } } }
{ "tiddlers": { "$:/plugins/tongerner/tiddlersbar/button": { "text": "<$fieldmangler tiddler=\"$:/plugins/tongerner/tiddlersbar/styles\">\n<$list filter=\"[[$:/plugins/tongerner/tiddlersbar/styles]tag[$:/tags/Stylesheet]]\"><$button message=\"tm-remove-tag\" tooltip=\"Hide Tiddlersbar\" param=\"$:/tags/Stylesheet\" class=<<tv-config-toolbar-class>>>\n<span class=\"tgc-active-indicator\">\n{{$:/plugins/tongerner/tiddlersbar/image-tiddlersbar-off}}\n</span>\n<$list filter=\"[<tv-config-toolbar-text>prefix[yes]]\">\n<span class=\"tgc-active-indicator\">\n<$text text=\"tiddlersbar\"/>\n</span>\n</$list>\n</$button>\n</$list>\n<$list filter=\"[[$:/plugins/tongerner/tiddlersbar/styles]!tag[$:/tags/Stylesheet]]\">\n<$button message=\"tm-add-tag\" tooltip=\"Show tiddlersbar\" param=\"$:/tags/Stylesheet\" class=<<tv-config-toolbar-class>>>{{$:/plugins/tongerner/tiddlersbar/image-tiddlersbar-on}}\n<$list filter=\"[<tv-config-toolbar-text>prefix[yes]]\">\n<$text text=\"tiddlersbar\"/>\n</$list>\n</$button>\n</$list>\n</$fieldmangler>\n", "title": "$:/plugins/tongerner/tiddlersbar/button", "tags": "$:/tags/PageControls $:/tags/ViewToolbar", "modifier": "TonGerner", "modified": "20170325122226644", "description": "Toggle tiddlersbar on/off", "creator": "TonGerner", "created": "20170325114731405", "caption": "{{$:/plugins/tongerner/tiddlersbar/image-tiddlersbar-on}} breadcrumbs" }, "$:/plugins/tongerner/tiddlersbar/combination": { "created": "20170325114751649", "text": "In case the Tiddlersbar 'menu' has to be combined with other 'top menus' like the ones in 'Toolbar' ^^''1''^^ or 'Top menu' ^^''1''^^, some adjustments to the Tiddlersbar and the 'receiving' TW are required:\n\n# The Tiddlersbar has to be shifted downwards, otherwise toolbars and/or top menu will be hidden:\n#* Adjust @@.BLUE Top 'Tiddlersbar'@@ (In ''~ControlPanel > Appearance > Plugin tweaks'', tab 'Tiddlersbar' or direct via [[Plugin tweaks|$:/plugins/tongerner/layout_adjustment/tweaks]]).\n# To prevent the Tiddlersbar menu hides the top part of the tiddlers and the Sidebar, story-river and Sidebar have to be shifted downwards as well.\n#* Adjust @@.BLUE Story top position@@ and @@.BLUE Sidebar top position\t@@ with the same amount (In ''~ControlPanel > Appearance > Plugin tweaks'', tab 'Theme tweaks' or direct via [[Plugin tweaks|$:/plugins/tongerner/layout_adjustment/tweaks]]).\n\n^^''1''^^ http://tongerner.tiddlyspot.com/", "title": "$:/plugins/tongerner/tiddlersbar/combination", "tags": "", "modified": "20170330091727242" }, "$:/plugins/tongerner/tiddlersbar/icon": { "text": "<svg width=\"22pt\" height=\"22pt\" viewBox=\"0 0 100 100\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:svg=\"http://www.w3.org/2000/svg\">\n <path fill=\"#a0a0ff\" stroke=\"#a0a0ff\" stroke-width=\"1.2218\" stroke-miterlimit=\"4\" d=\"m48.98237,97.86909l-41.98313,-24.239l0,-48.47796l41.98313,-24.23897l41.98313,24.23897l0,48.47796l-41.98313,24.239z\" id=\"path4142\"/>\n <rect fill=\"#000000\" stroke=\"#000000\" stroke-width=\"8.78819\" stroke-miterlimit=\"4\" stroke-opacity=\"0\" y=\"25.08274\" x=\"8.68744\" height=\"9.10985\" width=\"16.25652\" id=\"rect4807\"/>\n <rect fill=\"#000000\" stroke=\"#000000\" stroke-width=\"8.78819\" stroke-miterlimit=\"4\" stroke-opacity=\"0\" id=\"rect4809\" width=\"16.25652\" height=\"9.10985\" x=\"54.08981\" y=\"25.08274\"/>\n <rect fill=\"#000000\" stroke=\"#000000\" stroke-width=\"8.78819\" stroke-miterlimit=\"4\" stroke-opacity=\"0\" y=\"25.08274\" x=\"31.38863\" height=\"9.10985\" width=\"16.25652\" id=\"rect4820\"/>\n</svg>", "type": "image/svg+xml", "title": "$:/plugins/tongerner/tiddlersbar/icon", "tags": "", "modified": "20170725175328104", "created": "20170325114817530" }, "$:/plugins/tongerner/tiddlersbar/image-tiddlersbar-off": { "created": "20170325114839090", "text": "<svg class=\"tgc-image-tiddlersbar-off tc-image-button\" viewBox=\"0 0 22 22\" width=\"22pt\" height=\"22pt\"><path d=\"m7.3572,12.30506c-0.13915,-0.39832 -0.23057,-0.82001 -0.23057,-1.26429c0,-2.13671 1.74588,-3.87591 3.889,-3.87591c0.44658,0 0.8689,0.09111 1.26856,0.2298l1.84701,-1.84079c-1.05983,-0.44185 -2.12289,-0.73293 -3.11557,-0.73293c-6.10492,0 -10.92187,6.21983 -10.92187,6.21983s1.75316,2.2504 4.47392,4.04523l2.78953,-2.78094zm9.7407,-5.14664l-2.47239,2.46407c0.17556,0.44024 0.27911,0.91757 0.27911,1.4191c0,2.1351 -1.74588,3.87591 -3.889,3.87591c-0.50321,0 -0.98135,-0.10321 -1.42389,-0.27818l-1.99749,1.99157c1.07358,0.38622 2.22078,0.63134 3.42138,0.63134c4.6689,0 10.92188,-6.22064 10.92188,-6.22064s-2.13664,-2.11816 -4.8396,-3.88316zm1.63747,-5.05392l-16.73636,16.68002l1.14477,1.14173l16.73555,-16.68083l-1.14396,-1.14092z\"/></svg>", "title": "$:/plugins/tongerner/tiddlersbar/image-tiddlersbar-off", "tags": "", "modifier": "TonGerner", "modified": "20170726083143926", "creator": "TonGerner" }, "$:/plugins/tongerner/tiddlersbar/image-tiddlersbar-on": { "created": "20170325114911997", "text": "<svg class=\"tgc-image-tiddlersbar-on tc-image-button\" viewBox=\"0 0 22 22\" width=\"22pt\" height=\"22pt\">\n<path d=\"m10.98438,4.786c-6.10492,0 -10.92187,6.2141 -10.92187,6.2141s4.81695,6.2149 10.92187,6.2149c4.6689,0 10.92188,-6.2149 10.92188,-6.2149s-6.25298,-6.2141 -10.92188,-6.2141zm0,10.08643c-2.14311,0 -3.889,-1.73759 -3.889,-3.87233s1.74588,-3.87233 3.889,-3.87233s3.889,1.7384 3.889,3.87233s-1.74588,3.87233 -3.889,3.87233zm0,-6.13273c-1.25318,0 -2.27013,1.01178 -2.27013,2.2604c0,1.24862 1.01614,2.2604 2.27013,2.2604c1.25399,0 2.27013,-1.01179 2.27013,-2.2604c0,-1.24781 -1.01614,-2.2604 -2.27013,-2.2604z\"/>\n</svg>", "title": "$:/plugins/tongerner/tiddlersbar/image-tiddlersbar-on", "tags": "", "modifier": "TonGerner", "modified": "20170726083127363", "creator": "TonGerner" }, "$:/plugins/tongerner/tiddlersbar/license": { "text": "!!! Buggy j's ~StoryTopTabs plugin\n\nMIT License\n\nCopyright © Jeffrey Wikinson aka Buggyj — 2015\n\n<hr>\n\n[[Tiddlersbar plugin|http://tongerner.tiddlyspot.com/#Tiddlersbar%20plugin]] © Ton Gerner — 2018\n\nMIT License: https://opensource.org/licenses/MIT\n", "title": "$:/plugins/tongerner/tiddlersbar/license", "tags": "", "modified": "20180129132842167", "created": "20180124182128080" }, "$:/plugins/tongerner/tiddlersbar/readme": { "text": "This plugin - based on Buggy j's [[StoryTopTabs plugin|http://bjtools.tiddlyspot.com/#StoryTopTabs]] - creates a 'Tiddlersbar' of open tiddlers (as tabs) on top of the screen. It works best in Zoomin view.<br>\nThe Tiddlersbar can be toggled on/off with a button in the Page toolbar and/or the View toolbar.\n\n<<<\n''Note:''<br>''This plugin needs my $:/plugins/tongerner/layout_adjustment plugin for general layout settings (available at http://tongerner.tiddlyspot.com/).''\n<<<\n\nSettings for the layout can be found in ''~ControlPanel > Appearance > [[Plugin tweaks|$:/plugins/tongerner/layout_adjustment/tweaks]]''.\n", "title": "$:/plugins/tongerner/tiddlersbar/readme", "tags": "", "modifier": "TonGerner", "modified": "20170504194608129", "creator": "TonGerner", "created": "20170325115014248" }, "$:/plugins/tongerner/tiddlersbar/settings": { "text": "!!Tiddlersbar settings\n<table class=\"tablestyle\">\n<<tableRow \"Left 'Tiddlersbar'\" \"$:/plugins/tongerner/tiddlersbar/styles\" \"left-tiddlersbar\">>\n<<tableRow \"Top 'Tiddlersbar'\" \"$:/plugins/tongerner/tiddlersbar/styles\" \"top-tiddlersbar\">>\n<<tableRow \"Font size 'Tiddlersbar'\" \"$:/plugins/tongerner/tiddlersbar/styles\" \"tiddlersbar-font-size\">>\n<<tableRow \"Background color 'Tiddler tabs'\" \"$:/plugins/tongerner/tiddlersbar/styles\" \"tiddlersbar-color\">>\n<<tableRow \"Text color 'Tiddler tabs'\" \"$:/plugins/tongerner/tiddlersbar/styles\" \"tiddlersbar-text-color\">>\n<<tableRow \"Background color 'Tiddler tab selected'\" \"$:/plugins/tongerner/tiddlersbar/styles\" \"tiddlersbar-selected-color\">>\n<<tableRow \"Text color 'Tiddler tab selected'\" \"$:/plugins/tongerner/tiddlersbar/styles\" \"tiddlersbar-selected-text-color\">>\n<<tableRow \"Rounded corners 'tiddler tabs'\" \"$:/plugins/tongerner/tiddlersbar/styles\" \"tiddlersbar-border-radius\">>\n</table>\n<$button tooltip=\"Help\">\n<$action-sendmessage $message=\"tm-open-window\" $param=\"$:/plugins/tongerner/tiddlersbar/settings-help\" height=\"380px\" width=\"700px\"/>Help</$button>\n", "title": "$:/plugins/tongerner/tiddlersbar/settings", "tags": "$:/tags/plugin-tweaks", "order": "7", "modifier": "TonGerner", "modified": "20171222164148379", "list-after": "$:/plugins/tongerner/layout-adjustment", "creator": "TonGerner", "created": "20170325115624509", "caption": "Tiddlersbar" }, "$:/plugins/tongerner/tiddlersbar/settings-help": { "text": "<<<\n''Note:''<br>You can enter CSS values in all allowed units, e.g. `%`, `px`, or `em`.\n<<<\n\n|Entry |Description |Default |h\n|Left 'Tiddlersbar' |Start (from the left) of the Tiddlersbar| 42px |\n|Top 'Tiddlersbar' |Start (from the top) of the Tiddlersbar| 10px |\n|Font size 'Tiddlersbar' |Font size of Tiddlersbar | 0.9em |\n|Background color 'Tiddler tabs' |Background color of breadcrumbs |#D8D8D8 |\n|Text color 'Tiddler tabs' |Text color of tiddler tabs | #666666 |\n|Background color 'Tiddler tab selected' |Background color of selected tiddler tab| #FFFFFF |\n|Text color 'Tiddler tab selected' |Text color of selected tiddler tab | #666666 |\n|Rounded corners 'tiddler tabs' |Rounded corners of tiddlersbar | 1px |\n", "title": "$:/plugins/tongerner/tiddlersbar/settings-help", "tags": "", "modifier": "TonGerner", "modified": "20170325123756939", "creator": "TonGerner", "created": "20170325115648290" }, "$:/plugins/tongerner/tiddlersbar/style-no-tiddlersbar": { "text": "/* DEFAULT: HIDDEN BREADCRUMBS */\n.tgc-tiddlersbar {\n display: none;\n}", "type": "text/css", "title": "$:/plugins/tongerner/tiddlersbar/style-no-tiddlersbar", "tags": "$:/tags/Stylesheet", "modifier": "TonGerner", "modified": "20170325123152056", "creator": "TonGerner", "created": "20170325115709994" }, "$:/plugins/tongerner/tiddlersbar/styles": { "created": "20170325123352694", "text": "<pre>/* BREADCRUMBS TOP MENU */\n.tgc-tiddlersbar {\n display: block;\n position: fixed;\n left: 0;\n top: {{!!top-tiddlersbar}}; /* vertical start of tiddlersbar 'menu' */\n width: calc(100% - 60px); /* right margin for '>>' icon */\n margin-left: {{!!left-tiddlersbar}};\n z-index: 900;\n}\n\n/* TIDDLERSBAR */\n.tgc-tiddlersbar button {\n font-size: {{!!tiddlersbar-font-size}};\n color: {{!!tiddlersbar-text-color}};\n padding: 3px 5px 3px 5px;\n border: none;\n border-radius: {{!!tiddlersbar-border-radius}};\n background: none;\n background-color: {{!!tiddlersbar-color}};\n border-left: 1px solid #cccccc;\n border-top: 1px solid #cccccc;\n border-right: 1px solid #cccccc;\n}\n\n/* TIDDLERBAR SELECTED */\n.tgc-tiddlersbar button.tgc-tiddlersbar-selected {\n color: {{!!tiddlersbar-selected-text-color}};\n background: none;\n background-color: {{!!tiddlersbar-selected-color}};\n}\n/* HOVER over 'x' */\n.tgc-tiddlersbar button.tgc-x:hover {\n font-weight: bold;\n}\n.tgc-tiddlersbar button.tgc-tiddlersbar-selected.tgc-x:hover {\n font-weight: bold;\n}\n</pre>", "top-tiddlersbar": "10px", "title": "$:/plugins/tongerner/tiddlersbar/styles", "tiddlersbar-text-color": "#666666", "tiddlersbar-selected-text-color": "#666666", "tiddlersbar-selected-color": "#FFFFFF", "tiddlersbar-font-size": "0.9em", "tiddlersbar-color": "#D8D8D8", "tiddlersbar-border-radius": "1px", "tags": "$:/tags/Stylesheet", "modifier": "TonGerner", "modified": "20180602163412687", "list-after": "$:/plugins/tongerner/tiddlersbar/style-no-tiddlersbar", "left-tiddlersbar": "42px", "creator": "TonGerner" }, "$:/plugins/tongerner/tiddlersbar/tiddlersbar": { "created": "20170325114702089", "text": "<div class=\"tgc-tiddlersbar\" >\n<$list filter=\"[list[$:/StoryList]]\" history=\"$:/HistoryList\" variable=\"currentTab\">\n<$reveal type=\"match\" state=\"$:/HistoryList!!current-tiddler\" text=<<currentTab>>>\n<div style=\"display:inline-block;\">\n<$button to=<<currentTab>> class=\"tgc-tiddlersbar-selected\" style=\"margin-right: -0.4em; border-right: 0.0em\">\n<$macrocall $name=\"currentTab\" $type=\"text/plain\" $output=\"text/plain\"/>\n</$button>\n<$button message=\"tm-close-tiddler\" param=<<currentTab>> class=\"tgc-tiddlersbar-selected tgc-x\" style=\"border-left: 0.0em;\">X</$button></div></$reveal>\n<$reveal type=\"nomatch\" state=\"$:/HistoryList!!current-tiddler\" text=<<currentTab>>>\n<div style=\"display:inline-block;\">\n<$button to=<<currentTab>> style=\"margin-right: 0.0em;\" >\n<$macrocall $name=\"currentTab\" $type=\"text/plain\" $output=\"text/plain\"/>\n</$button><$button message=\"tm-close-tiddler\" param=<<currentTab>> class=\"tgc-x\">\nX</$button></div></$reveal>\n</$list>\n</div>\n", "title": "$:/plugins/tongerner/tiddlersbar/tiddlersbar", "tags": "$:/tags/PageTemplate", "modifier": "TonGerner", "modified": "20171223210933697", "creator": "TonGerner" } } }
<pre>/* BREADCRUMBS TOP MENU */ .tgc-tiddlersbar { display: block; position: fixed; left: 0; top: {{!!top-tiddlersbar}}; /* vertical start of tiddlersbar 'menu' */ width: calc(100% - 60px); /* right margin for '>>' icon */ margin-left: {{!!left-tiddlersbar}}; z-index: 900; } /* TIDDLERSBAR */ .tgc-tiddlersbar button { font-size: {{!!tiddlersbar-font-size}}; color: {{!!tiddlersbar-text-color}}; padding: 3px 5px 3px 5px; border: none; border-radius: {{!!tiddlersbar-border-radius}}; background: none; background-color: {{!!tiddlersbar-color}}; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; border-right: 1px solid #cccccc; } /* TIDDLERBAR SELECTED */ .tgc-tiddlersbar button.tgc-tiddlersbar-selected { color: {{!!tiddlersbar-selected-text-color}}; background: none; background-color: {{!!tiddlersbar-selected-color}}; } /* HOVER over 'x' */ .tgc-tiddlersbar button.tgc-x:hover { font-weight: bold; } .tgc-tiddlersbar button.tgc-tiddlersbar-selected.tgc-x:hover { font-weight: bold; } </pre>
<pre>/* LEFT MENU */ /* STORY-RIVER */ html .tc-story-river { left: {{!!story-left}}; width: {{!!story-width}}; } /* LEFT MENU, FIXED IN POSITION */ html .tgc-leftmenu { display: block; padding: 0px 0px 0px 20px; position: fixed; left: 0px; top: {{!!top-leftmenu}}; width: {{!!leftmenu-width}}; z-index: 1500; } .tgc-scrollable-menu { padding: 1em; height: {{!!scroll-height}}; position: relative; } /* SLIDER STYLING */ html .tgc-slider { color: #006DEC; font-weight: bold; } .tgc-slider:hover { color: #006DEC; text-decoration: underline; } /* STYLING FOR DIRTREE MENU */ .dirtree, .dirtree ul { list-style-type: none; background-image: url(data:image/gif;base64,R0lGODlhEAAQAIABAAAAAP///yH5BAEKAAEALAAAAAAQABAAAAIbRI6ppo3sGoxp0mNvpjt290nXMlblc2JpECoFADs=); background-repeat: repeat-y; margin: 0; padding: 0; } .dirtree ul { margin-left: 16px; } .dirtree li { margin: 0; padding: 0 16px 0 18px; background-image: url(data:image/gif;base64,R0lGODlhEAAQAIABAAAAAP///yH5BAEKAAEALAAAAAAQABAAAAISjI+py+0Po5wM2IszoLz7DwYFADs=); background-repeat: no-repeat; line-height: 1.5; } .dirtree li:last-child { background-image: url(data:image/gif;base64,R0lGODlhEAAQAIABAAAAAP///yH5BAEKAAEALAAAAAAQABAAAAIaRI6ppo3sGoxp0mNvpjuCD4Zid5XmiabqWQAAOw==); background-color: #fff; } </pre>
Yay Education!
Main Education Wiki
show
show
hide
hide
hide
show
hide
show
hide
hide
show
hide
show
hide
show
show
hide
hide
hide
show
hide
hide
show
hide
show
hide
hide
hide
hide
show
show
white box
java.util
difference
sprint
build.xml
personal rev
page file
configuration
no
configuration
no
contents
no
contents
contents
yes
yes
no
$:/plugins/danielo515/ContextPlugin/visualizer
$:/core/ui/AdvancedSearch/Standard
$:/plugins/flibbles/relink/ui/configuration/Fields
$:/core/ui/ControlPanel/Palette
Software Optimizations
$:/core/ui/ControlPanel/Basics
$:/core/ui/ControlPanel/Plugins
SER 315 - Week 1
$:/core/ui/DefaultSearchResultList
$:/core/ui/DefaultSearchResultList
$:/core/ui/MoreSideBar/Drafts
$:/core/ui/SideBar/Tools
close
close
close
close
open
close
close
close
close
open
close
close
close
close
open
close
close
close
close
close
open
open
open
close
close
close
open
close
close
close
close
close
open
close
close
open
close
close
close
close
close
open
close
close
close
close
close
close
open
close
close
close
close
close
open
close
open
close
open
close
close
close
close
close
close
close
close
close
close
close
close
close
open
open
close
close
open
close
open
open
open
open
open
open
close
close
close
close
open
open
open
open
close
close
open
close
open
close
open
open
close
close
close
close
close
close
close
open
close
open
open
close
open
close
open
open
close
close
close
close
close
close
open
close
close
close
close
close
close
close
close
close
close
close
close
close
close
close
open
close
close
close
close
close
close
close
close
close
close
close
close
{ "tiddlers": { "$:/info/browser": { "title": "$:/info/browser", "text": "yes" }, "$:/info/node": { "title": "$:/info/node", "text": "no" }, "$:/info/url/full": { "title": "$:/info/url/full", "text": "about:srcdoc" }, "$:/info/url/host": { "title": "$:/info/url/host", "text": "" }, "$:/info/url/hostname": { "title": "$:/info/url/hostname", "text": "" }, "$:/info/url/protocol": { "title": "$:/info/url/protocol", "text": "about:" }, "$:/info/url/port": { "title": "$:/info/url/port", "text": "" }, "$:/info/url/pathname": { "title": "$:/info/url/pathname", "text": "srcdoc" }, "$:/info/url/search": { "title": "$:/info/url/search", "text": "" }, "$:/info/url/origin": { "title": "$:/info/url/origin", "text": "null" }, "$:/info/browser/screen/width": { "title": "$:/info/browser/screen/width", "text": "1920" }, "$:/info/browser/screen/height": { "title": "$:/info/browser/screen/height", "text": "1080" }, "$:/info/browser/language": { "title": "$:/info/browser/language", "text": "en-US" } } }
18px
12px
-3px
15px
show
hide
hide
hide
hide
hide
hide
hide
show
hide
hide
hide
hide
hide
hide
hide
show
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
show
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
show
hide
hide
hide
hide
hide
hide
show
hide
hide
hide
hide
hide
hide
hide
hide
show
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
show
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
show
hide
show
hide
show
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
show
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
show
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
show
hide
hide
hide
hide
hide
hide
hide
hide
show
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
hide
$:/themes/tiddlywiki/vanilla
{ "tiddlers": { "$:/themes/tiddlywiki/snowwhite/base": { "title": "$:/themes/tiddlywiki/snowwhite/base", "tags": "[[$:/tags/Stylesheet]]", "text": "\\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: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {\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\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" } } }
{ "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<$button popup=<<qualify \"$:/state/popup/themetweaks/backgroundimage\">> class=\"tc-btn-invisible tc-btn-dropdown\">{{$:/core/images/down-arrow}}</$button>\n<$reveal state=<<qualify \"$:/state/popup/themetweaks/backgroundimage\">> type=\"popup\" position=\"belowleft\" text=\"\" default=\"\">\n<div class=\"tc-drop-down\">\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\"\"\"/>\n</div>\n</$reveal>\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]]", "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 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\\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\n*, input[type=\"search\"] {\n\tbox-sizing: border-box;\n\t-moz-box-sizing: border-box;\n\t-webkit-box-sizing: border-box;\n}\n\nhtml button {\n\tline-height: 1.2;\n\tcolor: <<colour button-foreground>>;\n\tbackground: <<colour button-background>>;\n\tborder-color: <<colour button-border>>;\n}\n\n/*\n** Basic element styles\n*/\n\nhtml {\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 background-color: transparent;\n}\n\n\"\"\">>\n\nh1, h2, h3, h4, h5, h6 {\n\tline-height: 1.2;\n\tfont-weight: 300;\n}\n\npre {\n\tdisplay: block;\n\tpadding: 14px;\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: {{$:/themes/tiddlywiki/vanilla/options/codewrapping}};\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.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 border-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 left: -50px;\n top: 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 right: -80px;\n bottom: -20px;\n}\n\ndl dt {\n\tfont-weight: bold;\n\tmargin-top: 6px;\n}\n\nbutton, textarea, input, select {\n\toutline-color: <<colour primary>>;\n}\n\ntextarea,\ninput[type=text],\ninput[type=search],\ninput[type=\"\"],\ninput:not([type]) {\n\tcolor: <<colour foreground>>;\n\tbackground: <<colour background>>;\n}\n\ninput[type=\"checkbox\"] {\n vertical-align: middle;\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/*\nMarkdown likes putting code elements inside pre elements\n*/\npre > code {\n\tpadding: 0;\n\tborder: none;\n\tbackground-color: inherit;\n\tcolor: inherit;\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}\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.tc-csv-table {\n\twhite-space: nowrap;\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/*\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}\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/*\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-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 cursor: pointer;\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.tc-btn-text {\n\tpadding: 0;\n\tmargin: 0;\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\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: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {\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\tmargin-right: 7px;\n}\n\n.tc-tags-wrapper {\n\tmargin: 4px 0 14px 0;\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\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: 400;\n\tline-height: 1.2em;\n\tcolor: <<colour tag-foreground>>;\n\twhite-space: nowrap;\n\tvertical-align: baseline;\n\tbackground-color: <<colour tag-background>>;\n\tborder-radius: 1em;\n}\n\n.tc-untagged-separator {\n\twidth: 10em;\n\tleft: 0;\n\tmargin-left: 0;\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\tvertical-align: text-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\twhite-space: normal;\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/*\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.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.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: 300;\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\tfont-size: 1.5em;\n}\n\n.tc-page-controls .tc-drop-down {\n font-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-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: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {\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}\n\n\t.tc-story-river {\n\t\tposition: relative;\n\t\tpadding: 0;\n\t}\n}\n\n@media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/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}\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\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.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\ttext-align: right;\n\tfont-style: italic;\n\tfont-weight: 200;\n}\n\n.tc-view-field-value {\n}\n\n@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {\n\t.tc-tiddler-frame {\n\t\tpadding: 14px 14px 14px 14px;\n\t}\n\n\t.tc-tiddler-info {\n\t\tmargin: 0 -14px 0 -14px;\n\t}\n}\n\n@media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/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: 300;\n\tfont-size: 2.35em;\n\tline-height: 1.2em;\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}\n\n.tc-system-title-prefix {\n\tcolor: <<colour muted-foreground>>;\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: 300;\n}\n\n.tc-tiddler-missing .tc-title {\n font-style: italic;\n font-weight: normal;\n}\n\n.tc-tiddler-frame .tc-tiddler-controls {\n\tfloat: right;\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 height: 1.2em;\n width: 1.2em;\n margin: 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\tpadding: 3px 3px 3px 3px;\n\tborder: 1px solid <<colour tiddler-editor-border>>;\n\tbackground-color: <<colour tiddler-editor-background>>;\n\tline-height: 1.3em;\n\t-webkit-appearance: none;\n\tfont-family: {{$:/themes/tiddlywiki/vanilla/settings/editorfontfamily}};\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-tiddler-body {\n\tclear: both;\n}\n\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/Jermolene/TiddlyWiki5/issues/282 */\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-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 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/*\n** Adjustments for fluid-fixed mode\n*/\n\n@media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/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-storyview-zoomin-tiddler {\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-storyview-zoomin-tiddler {\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 fill: <<colour toolbar-new-button>>;\n}\n\n.tc-page-controls svg.tc-image-options-button {\n fill: <<colour toolbar-options-button>>;\n}\n\n.tc-page-controls svg.tc-image-save-button {\n fill: <<colour toolbar-save-button>>;\n}\n\n.tc-tiddler-controls button svg.tc-image-info-button {\n fill: <<colour toolbar-info-button>>;\n}\n\n.tc-tiddler-controls button svg.tc-image-edit-button {\n fill: <<colour toolbar-edit-button>>;\n}\n\n.tc-tiddler-controls button svg.tc-image-close-button {\n fill: <<colour toolbar-close-button>>;\n}\n\n.tc-tiddler-controls button svg.tc-image-delete-button {\n fill: <<colour toolbar-delete-button>>;\n}\n\n.tc-tiddler-controls button svg.tc-image-cancel-button {\n fill: <<colour toolbar-cancel-button>>;\n}\n\n.tc-tiddler-controls button svg.tc-image-done-button {\n fill: <<colour toolbar-done-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-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-preview {\n\toverflow: auto;\n}\n\n.tc-tiddler-preview-preview {\n\tfloat: right;\n\twidth: 49%;\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-preview .tc-edit-texteditor {\n\twidth: 49%;\n}\n\n.tc-tiddler-frame .tc-tiddler-preview canvas.tc-edit-bitmapeditor {\n\tmax-width: 49%;\n}\n\n.tc-edit-fields {\n\twidth: 100%;\n}\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 {\n\tdisplay: inline-block;\n\twidth: 15%;\n}\n\n.tc-edit-field-add-value {\n\tdisplay: inline-block;\n\twidth: 40%;\n}\n\n.tc-edit-field-add-button {\n\tdisplay: inline-block;\n\twidth: 10%;\n}\n\n/*\n** Storyview Classes\n*/\n\n.tc-storyview-zoomin-tiddler {\n\tposition: absolute;\n\tdisplay: block;\n\twidth: 100%;\n}\n\n@media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {\n\n\t.tc-storyview-zoomin-tiddler {\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.tc-btn-invisible:hover svg {\n\tfill: <<colour foreground>>;\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 width: auto;\n margin-bottom: 0px;\n border-bottom-left-radius: 0;\n border-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: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/*\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/*\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: 300;\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 word-break: break-word;\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}\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\t\n}\n\n.tc-manager-controls {\n\t\n}\n\n.tc-manager-control {\n\tmargin: 0.5em 0;\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 display: block;\n width: 100%;\n text-align: left;\t\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 flex: 1 0;\n background: <<colour tiddler-editor-background>>;\n border-right: 0.5em solid <<colour muted-foreground>>;\n border-bottom: 0.5em solid <<colour muted-foreground>>;\n white-space: nowrap;\n}\n\n.tc-manager-list-item-content-item-heading {\n\tdisplay: block;\n\twidth: 100%;\n\ttext-align: left;\n background: <<colour muted-foreground>>;\n\ttext-transform: uppercase;\n\tfont-size: 0.6em;\n\tfont-weight: bold;\n padding: 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 flex: 3 1;\n border-left: 0.5em solid <<colour muted-foreground>>;\n border-right: 0.5em solid <<colour muted-foreground>>;\n border-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** Alerts\n*/\n\n.tc-alerts {\n\tposition: fixed;\n\ttop: 0;\n\tleft: 0;\n\tmax-width: 500px;\n\tz-index: 20000;\n}\n\n.tc-alert {\n\tposition: relative;\n\tmargin: 28px;\n\tpadding: 14px 14px 14px 14px;\n\tborder: 2px solid <<colour alert-border>>;\n\tbackground-color: <<colour alert-background>>;\n}\n\n.tc-alert-toolbar {\n\tposition: absolute;\n\ttop: 14px;\n\tright: 14px;\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}\n\n.tc-alert-highlight {\n\tcolor: <<colour alert-highlight>>;\n}\n\n@media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/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-plugin-info {\n\tdisplay: block;\n\tborder: 1px solid <<colour muted-foreground>>;\n\tbackground-colour: <<colour background>>;\n\tmargin: 0.5em 0 0.5em 0;\n\tpadding: 4px;\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 > .tc-plugin-info-chunk > svg {\n\tfill: <<colour foreground>>;\n}\n\n.tc-plugin-info-chunk {\n\tdisplay: inline-block;\n\tvertical-align: middle;\n}\n\n.tc-plugin-info-chunk h1 {\n\tfont-size: 1em;\n\tmargin: 2px 0 2px 0;\n}\n\n.tc-plugin-info-chunk h2 {\n\tfont-size: 0.8em;\n\tmargin: 2px 0 2px 0;\n}\n\n.tc-plugin-info-chunk div {\n\tfont-size: 0.7em;\n\tmargin: 2px 0 2px 0;\n}\n\n.tc-plugin-info:hover > .tc-plugin-info-chunk > img, .tc-plugin-info:hover > .tc-plugin-info-chunk > svg {\n\twidth: 2em;\n\theight: 2em;\n\tfill: <<colour foreground>>;\n}\n\n.tc-plugin-info > .tc-plugin-info-chunk > img, .tc-plugin-info > .tc-plugin-info-chunk > svg {\n\twidth: 2em;\n\theight: 2em;\n\tfill: <<colour muted-foreground>>;\n}\n\n.tc-plugin-info.tc-small-icon > .tc-plugin-info-chunk > img, .tc-plugin-info.tc-small-icon > .tc-plugin-info-chunk > svg {\n\twidth: 1em;\n\theight: 1em;\n}\n\n.tc-plugin-info-dropdown {\n\tborder: 1px solid <<colour muted-foreground>>;\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 1em 1em;\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 vertical-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/*\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\twidth: 1em;\n\theight: 1em;\n\tvertical-align: middle;\n}\n\n.tc-language-chooser .tc-image-button img {\n\twidth: 2em;\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\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: 200;\n\tline-height: 1.5;\n}\n\n.tc-table-of-contents li li li li {\n\tfont-size: 0.95em;\n\tfont-weight: 200;\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\nbody.tc-dirty span.tc-dirty-indicator, 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/*\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 margin: 0;\n padding: 0;\n border: none;\n background: 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 color: <<colour select-tag-foreground>>;\n background: <<colour select-tag-background>>;\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/plain", "text": "/*! normalize.css v3.0.0 | MIT License | git.io/normalize */\n\n/**\n * 1. Set default font family to sans-serif.\n * 2. Prevent iOS text size adjust after orientation change, without disabling\n * user zoom.\n */\n\nhtml {\n font-family: sans-serif; /* 1 */\n -ms-text-size-adjust: 100%; /* 2 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/**\n * Remove default margin.\n */\n\nbody {\n margin: 0;\n}\n\n/* HTML5 display definitions\n ========================================================================== */\n\n/**\n * Correct `block` display not defined in IE 8/9.\n */\n\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection,\nsummary {\n display: block;\n}\n\n/**\n * 1. Correct `inline-block` display not defined in IE 8/9.\n * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.\n */\n\naudio,\ncanvas,\nprogress,\nvideo {\n display: inline-block; /* 1 */\n vertical-align: baseline; /* 2 */\n}\n\n/**\n * Prevent modern browsers from displaying `audio` without controls.\n * Remove excess height in iOS 5 devices.\n */\n\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n\n/**\n * Address `[hidden]` styling not present in IE 8/9.\n * Hide the `template` element in IE, Safari, and Firefox < 22.\n */\n\n[hidden],\ntemplate {\n display: none;\n}\n\n/* Links\n ========================================================================== */\n\n/**\n * Remove the gray background color from active links in IE 10.\n */\n\na {\n background: transparent;\n}\n\n/**\n * Improve readability when focused and also mouse hovered in all browsers.\n */\n\na:active,\na:hover {\n outline: 0;\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Address styling not present in IE 8/9, Safari 5, and Chrome.\n */\n\nabbr[title] {\n border-bottom: 1px dotted;\n}\n\n/**\n * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.\n */\n\nb,\nstrong {\n font-weight: bold;\n}\n\n/**\n * Address styling not present in Safari 5 and Chrome.\n */\n\ndfn {\n font-style: italic;\n}\n\n/**\n * Address variable `h1` font-size and margin within `section` and `article`\n * contexts in Firefox 4+, Safari 5, and Chrome.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/**\n * Address styling not present in IE 8/9.\n */\n\nmark {\n background: #ff0;\n color: #000;\n}\n\n/**\n * Address inconsistent and variable font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` affecting `line-height` in all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsup {\n top: -0.5em;\n}\n\nsub {\n bottom: -0.25em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove border when inside `a` element in IE 8/9.\n */\n\nimg {\n border: 0;\n}\n\n/**\n * Correct overflow displayed oddly in IE 9.\n */\n\nsvg:not(:root) {\n overflow: hidden;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * Address margin not present in IE 8/9 and Safari 5.\n */\n\nfigure {\n margin: 1em 40px;\n}\n\n/**\n * Address differences between Firefox and other browsers.\n */\n\nhr {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n height: 0;\n}\n\n/**\n * Contain overflow in all browsers.\n */\n\npre {\n overflow: auto;\n}\n\n/**\n * Address odd `em`-unit font size rendering in all browsers.\n */\n\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * Known limitation: by default, Chrome and Safari on OS X allow very limited\n * styling of `select`, unless a `border` property is set.\n */\n\n/**\n * 1. Correct color not being inherited.\n * Known issue: affects color of disabled elements.\n * 2. Correct font properties not being inherited.\n * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n color: inherit; /* 1 */\n font: inherit; /* 2 */\n margin: 0; /* 3 */\n}\n\n/**\n * Address `overflow` set to `hidden` in IE 8/9/10.\n */\n\nbutton {\n overflow: visible;\n}\n\n/**\n * Address inconsistent `text-transform` inheritance for `button` and `select`.\n * All other form control elements do not inherit `text-transform` values.\n * Correct `button` style inheritance in Firefox, IE 8+, and Opera\n * Correct `select` style inheritance in Firefox.\n */\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/**\n * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`\n * and `video` controls.\n * 2. Correct inability to style clickable `input` types in iOS.\n * 3. Improve usability and consistency of cursor style between image-type\n * `input` and others.\n */\n\nbutton,\nhtml input[type=\"button\"], /* 1 */\ninput[type=\"reset\"],\ninput[type=\"submit\"] {\n -webkit-appearance: button; /* 2 */\n cursor: pointer; /* 3 */\n}\n\n/**\n * Re-set default cursor for disabled elements.\n */\n\nbutton[disabled],\nhtml input[disabled] {\n cursor: default;\n}\n\n/**\n * Remove inner padding and border in Firefox 4+.\n */\n\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n\n/**\n * Address Firefox 4+ setting `line-height` on `input` using `!important` in\n * the UA stylesheet.\n */\n\ninput {\n line-height: normal;\n}\n\n/**\n * It's recommended that you don't attempt to style these elements.\n * Firefox's implementation doesn't respect box-sizing, padding, or width.\n *\n * 1. Address box sizing set to `content-box` in IE 8/9/10.\n * 2. Remove excess padding in IE 8/9/10.\n */\n\ninput[type=\"checkbox\"],\ninput[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Fix the cursor style for Chrome's increment/decrement buttons. For certain\n * `font-size` values of the `input`, it causes the cursor style of the\n * decrement button to change from `default` to `text`.\n */\n\ninput[type=\"number\"]::-webkit-inner-spin-button,\ninput[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.\n * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome\n * (include `-moz` to future-proof).\n */\n\ninput[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n -moz-box-sizing: content-box;\n -webkit-box-sizing: content-box; /* 2 */\n box-sizing: content-box;\n}\n\n/**\n * Remove inner padding and search cancel button in Safari and Chrome on OS X.\n * Safari (but not Chrome) clips the cancel button when the search input has\n * padding (and `textfield` appearance).\n */\n\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * Define consistent border, margin, and padding.\n */\n\nfieldset {\n border: 1px solid #c0c0c0;\n margin: 0 2px;\n padding: 0.35em 0.625em 0.75em;\n}\n\n/**\n * 1. Correct `color` not being inherited in IE 8/9.\n * 2. Remove padding so people aren't caught out if they zero out fieldsets.\n */\n\nlegend {\n border: 0; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Remove default vertical scrollbar in IE 8/9.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * Don't inherit the `font-weight` (applied by a rule above).\n * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.\n */\n\noptgroup {\n font-weight: bold;\n}\n\n/* Tables\n ========================================================================== */\n\n/**\n * Remove most spacing between table cells.\n */\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n\ntd,\nth {\n padding: 0;\n}\n" }, "$:/themes/tiddlywiki/vanilla/settings/fontfamily": { "title": "$:/themes/tiddlywiki/vanilla/settings/fontfamily", "text": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"" }, "$:/themes/tiddlywiki/vanilla/settings/codefontfamily": { "title": "$:/themes/tiddlywiki/vanilla/settings/codefontfamily", "text": "\"SFMono-Regular\",Consolas,\"Liberation Mono\",Menlo,Courier,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", "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" } } }
13px
17px
13px
16px
6500px
400px
689px
pre-wrap
fluid-fixed
no
-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"
classic
()
[img width=400 [https://i.imgur.com/GPq0h3I.png]]
''James Geddes'' helped build the [[Erie Canal|The Erie Canal]] and was one of the judges on the team. He was born to a Scottish farmer in PA, and taught school for a bit. He went into salt manufacturing and did some surveying. he served in NY assembly and one session in Congress. He is a self-trained engineer.
[img width=300 [https://i.imgur.com/HbzS8NC.png]]
''Benjamin Wright'' was a judge for the [[Erie Canal|The Erie Canal]]. he learned some about canal work from [[William Weston|William Weston]], and was named Chief Engineer of Erie Canal in 1817. He was later dubbed the "Father of American Civil Engineering" by ASCE.
''Canvass White'' was a person that acted as one of the judges for the [[Erie Canal|The Erie Canal]]. He traveled to Britain in 1817 to study British canals and learned the techniques there. he patented a new technique to make hydraulic cement. He later helped build several other American canals. * 1816-1824: Erie Canal * 1824-1826: Union Canal * 1825: Delaware and Raritan Canal * 1827: Lehigh Canal * 1826-: President, Cohoes Company
''John Jervis'' was an engineer that worked on the Erie Canal. He rose through the ranks through his lifetime and near the end of his life had the following quote: [img width=700 [https://i.imgur.com/vOteQWo.png]] Some other things that he did were: * 1827: Delaware & Hudson Canal * 1831: Mohawk and Hudson Railroad * 1833: Chenango Canal * 1836: Croton Aqueduct * 1846: Boston water system * Chief engineer for several railroad companies in the 1850s and 1860s
* There are about 5 million people from Europe and Africa including about 875,000 slaves * Occupation: About 90% of Americans are farmers; Industrial production is rare and there are few factories. * Energy: Mainly firewood, animal power, and human muscle. Some water-power; Almost no fossil fuels * Transportation: Largely by foot. Horse, wagon, or sailboat. Railroads begin to spread in 1830s, Auomobiles are first pioneered in 1890s. * Geography: Nearly all non-native Americans live within 100 miles of Atlantic seaboard. * Education: Public schooling is rare. Few colleges or universities, people learn at home typically. * Owning a farm was the 1800 version of the American Dream * There was lots of land to settle. There were many natural resources. There were very few large enterprises, most people were aspiring to be independent farmers. * There were many technical skills but almost no engineers. A lot of people were pretty technical, so they had a lot of technology they used at home to accomplish tasks. For example they would make their own cloth a lot of the time. Local Mills were also really important for any community because it was how grain got turned into flour I think. Here are [[some pictures of Mills|Image - Local Mills around 1800]]. There were also some blacksmiths, urban print shops, etc. Plantations and cotton were really important around this time. Here is an [[image of how much cotton accounted for in the US economy|$:/Image - How much cotton accounts for in US economy around 1800]].
[img width=700 [https://i.imgur.com/Ruk0mzq.jpg]]
The trail of tears was when people were forced to leave their homes it sounds like. [img width=700 [https://i.imgur.com/aEiHbsw.jpg]]
The ''abstract factory design pattern'' is a type of [[creational design pattern|Creational Design Pattern]] and is used to provide a client with a set of related or dependent objects. The family of objects created by the factory are determined at run-time. This means that the abstract factory is a template for some concrete [[factories|Factory Method Design Pattern]] that create objects. Here is an [[example of one|$:/Example - Abstract Factory Design Pattern]].
An ''abstract method'' or ''abstract function'' is when you would like to have some kind of function for the objects of a class, but only the subclasses or derived classes will know how to go about that task. See also: * [[Java Abstract Methods]] * [[C++ Abstract Functions]]
''Acceptance Testing'' or ''alpha testing'' is the final stage in the [[testing process|Standard Testing Process Flow]]. The system is tested with customer data rather than simulated data and is carried out by the client. This is considered [[black box testing|Black Box Testing]] and is where system performance issues may come to light. Acceptance testing can be supported by Client expectation documents, or the [[software specification|Software Specification]]. The goal is to demonstrate that the system meets the requirements and is ready to use. The customer can require in a contract that the acceptance tests must successfully pass in the client's own software and systems.
An ''actuator'' converts an electrical signal back into physical phenomena.
The ''Adapter design pattern'' or ''adaptive design pattern'' is a type of [[structural design pattern|Structural Design Patterns]] that is used to provide a link between two otherwise incompatible types by wrapping the "adaptee" with a class that supports the interface required by the client.
An n-bit ''adder'' takes two n-bit data inputs A and B and generates an n-bit data output S representing the sum and a 1-bit output C representing the carry-bit if needed. Smaller bit adders are highly preferred over larger bit adders, because the transistor usage is exponential.
''Burndown charts'' are charts that have data indicating some amount of [[story points|Agile Story Points]] left to complete over some period of time. When a user story is completed, the quanitity of the total story points is reduced, which is reflected in the burndown chart. You want to see the burndown chart steadily reach zero over time. See below for an example of a burndown chart: {{$:/Image - Release Burndown Chart Example}} Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Agile Burndown Charts'>> </div>
''Planning poker'' is a game that team members can play during [[planning meetings|Scrum Sprint Planning Meeting]] to get familiar with point estimates for particular [[user stories|User Stories]]. Each team member is given a set of cards with numbers on them, typically in the fibonacci sequence. So 0, 1, 2, 3, 5, 8, 13, and 21. Each user story is read aloud, and after it is presented, each person on the team is asked to show the level of effort they believe the story represents for the team. Once all the votes are in, the members with the highest and lowest estimate explain why they chose their scores.
''Agile Processes'' can be things like [[Scrum|Scrum]] or XP (extreme programming). All the agile methods have some common characteristics: * The processes of specification, design, and implementation are interleaved. * The system is developed in a series of increments. End-users and other system stakeholders are involved in specifying and evaluating each increment. * Extensive tool support is used to support the development process. For example, automated testing tools, tools to support [[configuration management|Software Configuration Management (SCM)]], and system integration tools. Agile methodologies may not be suitable for the following: * Embedded systems engineering * Development of large and complex systems * Maintenance of software * If there are many stakeholders * Large distributed teams, although it is possible. * Projects that have some kind of legal component The Agile Manifesto describes: * Individuals and interactions over process and tools * Working software over comprehensive documentation * Customer collaboration over contract negotation * Responding to change over following a plan Some different agile methodologies are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Agile Software Processes'>> </div> See also: * [[Agile manifesto site|http://agilemanifesto.org/]]
''Story points'' are points assigned to a particular [[user story|User Stories]]. Normally these are used in [[Sprint Backlogs|Scrum Sprint Backlog]] or [[Product Backlogs|Scrum Product Backlog]] to indicate a measure of overall effort that will need to go into a user story to move a story to done. This includes research, work, risk, complexity, and tests. Note that points do not equal hours. Normally story points are numbers with the Fibonacci Sequence. So 0, 1, 2, 3, 5, 8, 13, and 21. See also: * [[Software Measurement > Function Points]]
''ALF or Algebraic Logic Functional'' language is an integrated [[functional|Functional Programming]] and [[logic|Logic Programming]] language.
An ''algorithmic fault'' is one where the system has built an incorrect part of the of program. A cartoon example is here: https://drive.google.com/file/d/1FiKijuzakJnia6zFt7yR89wTgYd3Ca6c/view?usp=sharing. These could be parts that are missing initialization, incorrect branching conditions, or missing tests for null.
An ''algorithmic state machine'' or ''ASM'' is similar to a flowchart except that it uses the notion of a clock that enables transitions. Unlike a normal state process that can flow from one item to the next, an algorithmic state machine follows a set pattern like an algorithm.
''Amazon'' is amazon, obviously. The commercial [[database|Database]] that houses amazon's data is 42 terabytes according to the book in this tiddler's source.
If a method is called and the parameters could match two of the [[overloaded methods|Function Overloading (Programming Languages)]], it is called an ''ambiguous invocation'', which is a compilation error.
Some ''American history big talking points'' are below. This is up to about 1850: * 12,000 years ago, the America's begin to be settled by people coming from Asia over a landmass bridge between Russia and Alaska * 1492: Columbus "discovers" the Americas * 1607: Virginia Colony is established by European settlers - This is one of the first attempts to establish a colony. This is in Jamestown * 1775-1783: Americans win independence from Britain in the Revolutionary war. Here is a [[picture of the territorial claims in eastern america after the treaty of Paris|$:/Image - Territorial claims in eastern america after the treaty of Paris]]. Also here is an [[image of trading at that time|Image - Atlantic Trading World around 1783]]. * 1800: Here is an [[image of America in 1800|Image - United States of America around 1800]]. * 1815-1825: Construction of the [[Erie Canal|The Erie Canal]]. * 1861-1865: Civil War
Republicanism in the United States was lead by Thomas Jefferson it looks like. This favored a small central state and limited government power. Those in support of republicanism did not want the national government to be aggressive in supporting industrial growth or internal improvements. This was different than the Republican party, which was formed later. Another approach to National development, was a Strong State. This was lead by a few founding fathers, including Alexander Hamilton. The idea was to have a strong central government. This advocated for strong government roles in creating national banks, support for industry, and a strong military. Republicanism seemed more popular at the time, but now we would see Hamilton's views as more natural.
''ASCII'' is an 8-bit method of transmitting characters. Each character is represented by a 7-bit value. ''Extended ASCII'' is represented by an 8-bit value, and has an extra 128 characters for different languages. The null character is the ASCII value of 0. It stands for `\0` and typically terminates strings. Here is a [[website with all of the ASCII characters listed|https://www.eso.org/~ndelmott/ascii.html]].
An ''analog signal'' or a ''continuous signal'' can have one of an infinite number of possible values. The temperature outside is an analog signal, it can be 92.6665487.. degrees outside for example. An analog system could be recording sound onto a tape recorder. Because there are massive amounts of magnetic particles, and the magnetic particles are positioned while recording, which can be positioned an infinite number of ways, it is an analog system of recording. The problem is that with each reading of the tape, it will change the magnetism slightly, resulting in degradation that is common with all analog systems.
This is the field of studying algorithms in [[Computer Science|Computer Science]].
''ANOVA'' is a good way to test multiple different values against each other. To use this type in Minitab, you can go to Stat -> ANOVA -> One-way (Unstacked). Then select and add each row that should be used for the analysis and click okay. Some times the number of values for each set is called the number of treatments, or factors and could correspond to an individual setting value for each experiment set. The degrees of freedom are $$an - 1$$ where $$a$$ is the number of treatments and $$n$$ is the number of replicates or sets of values. The degrees of freedom associated with the treatments is $$a - 1$$. The degrees of freedom associated with the error is $$a(n - 1)$$.
Analyzing loop execution can be done by first determining the order of the body of the loop, then multiply that by the number of times the loop will execute relative to n. For example, take this loop: https://drive.google.com/file/d/13xwqNFcxoiqbTkQjbJ-udmjtBAGUKDzN/view?usp=sharing It has a body with order O(1), and the loop itself executes n times. So overall this loop has O(n) order. Even if this loop executed half as many times, for example if it went to n/2, it would still be of order O(n) because the coefficients don't matter. A logarithmic loop looks like the following: https://drive.google.com/file/d/1jy9GQhaLuuvcKwda88DdJqdI8iZJ5K-O/view?usp=sharing because the loop count increases faster and faster with higher values of n, so it becomes logarithmic. This loop is specifically $O(\log_{2}n)$ which is assumed if it is not indicated for big oh.
Analyzing method calls can be done by finding the complexity of the method call, multiplied by the enclosing loop's complexity (if there is one). Overhead of the method call itself is generally ignored.
Analyzing nested loops can be done by multiplying the complexity of the inner loop by the complexity of the outer loop.
An ''AND gate'' has two inputs x and y and an output F. F should only be 1 if both x and y are 1. An AND gate transistor circuit is shown below: [img width=300 [https://lh5.googleusercontent.com/RXtTyO7_6w2fHVagxBU29Zg99171tqnwzs_XSUdNptH-3OCGKdQgH3y-ze8chaB_225NZatyqD1bRCQ=w2560-h1232]] The gate design for an AND gate is shown below: [img width=300 [https://lh4.googleusercontent.com/Ob8Q6QPiIG6wY1QJ1FjPAitQ-6vL6J5rfhJondeifWcrcD2MER__w-KackOJIjauRFAQ2m4QCTK95tU=w2560-h1232]]
''Android'' is a mobile operating system that [[Google|Google]] acquired way back when. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Android'>> </div>
The ''aapt tool'' is used to compile the [[XML layouts|Android App Dev > XML Layouts]] and other resources into the [[R class|Android App Dev > R Class]] which can be used by the android app.
''Adapters'' are a bridge between your model data and that data's visual representation in the associated [[AdapterView|Java android.widget.AdapterView Class]]. For example: an adapter might "adapt" an invoice into a [[View|Java android.view.View Class]] that would serve as a row in a [[ListView|Java android.widget.ListView Class]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Android App Dev > Adapters'>> </div>
The ''AndroidManifest.xml'' file is used to declare different properties of your android app. This is also a place to set ''Android permissions''. Some different things that are defined here are: * [[Activities|Java android.app.Activity Class]] * [[BroadcastRecievers|Java android.content.BroadcastReciever]] * [[ContentProviders|Java android.content.ContentProvider Class]] * [[Services|Java android.app.Service Class]] Some notable elements are below: * `<uses-permission android:name="android.permission.INTERNET/>` - Used to allow internet access by the Android app. * `<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE/>` - Used to allow internet access by the Android app. * `<uses-permission android:name="android.permission.WAKE_LOCK/>` allows the use of methods that would keep the screen awake.
Creating ''settings'' for your Android app starts with creating a `Preference` XML type in the preference screen's [[XML layout|Android App Dev > XML Layouts]]. See also: * [[Android guide to Settings|https://developer.android.com/guide/topics/ui/settings.html]] * [[Android Preference activity example|https://www.viralpatel.net/android-preferences-activity-example/]]
The ''AppCompatActivity class'' seems to be required to implement for a MainActivity class when developing an Android app. Some of the methods that it has available are below: * `setContentView(activityXMLFile)` ** `acitivtyXMLFile` seems to need to be `R.layout.activity_main` for the most part. * `protected void onCreate(Bundle savedInstanceState)` can be used a bit like a constructor. So you can initialize the different variables declared for a class that extends `AppCompatActivity`.
The ''assets folder'' can be created by going to File > New > Folder (at the bottom area) > Create assets folder
Some work that should be done on the ''background thread'' vs the [[main application thread|Android App Dev > The Main Application Thread]] are below: * Internet access * Significant file operations * Any sort of complex calculations Some limitations to the background thread are below: * You cannot modify the UI from it. So any call to something like `setText()` will crash the app. * The possibility is there that the process will be terminated while your work is still going on. This is why you might use something called a `Service` such as `IntentService` apparently. Some ways of using background threads for operations are below: * [[AsyncTask|Java android.os.AsyncTask Class]] * You can use the `Handler` class. There aren't any notes on this yet. * You can supply a [[Runnable object|Java java.lang.Runnable Interface]] to be executed on the main application thread to `post()` on any [[View|Java android.view.View Class]] or to `runOnUiThread()` on an [[Activity object|Java android.app.Activity Class]].
The ''BottomNavigationView class'' can be used to create a modern looking bottom navigation bar. It seems that it might need some importing of things to get it to work at first. This is kind of like a [[toolbar|Java android.widget.Toolbar Class]]. The fully qualified name of the class is ''com.google.android.material.bottomnavigation.BottomNavigationView''. See also: * [[Android documentation on the BottomNavigationView class|https://developer.android.com/reference/com/google/android/material/bottomnavigation/BottomNavigationView]]
''Databases'' are one method of handling [[storage and data with Android|Android App Dev > Storage and Data]]. Android supports SQLite and they suggest to use something called the [[Room persistence library|Android App Dev > Room Persistence Library]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Android App Dev > Databases'>> </div>
''External storage'' is one method of handling [[storage and data with Android|Android App Dev > Storage and Data]]. This is something liike an SD card, or a USB device attached to the Android device. These have global access priveledges.
A ''fragment'' is a modular section of an [[activity|Java android.app.Activity Class]]. It sounds like it could be a [[life-cycle aware component|Java androidx.lifecycle.LifecycleObserver Interface]]. A fragment is a part of your activity that can be swapped out with another while it is running. Fragments came about because of the large size of tablets which allowed multiple activities to occur on the screen at once. The image below is a great example: [img width=700 [https://i.imgur.com/9HhEuCz.png]] When an activity is paused, so are all the [[Fragment objects|Java androidx.fragment.app.Fragment Class]] within it. When an activity is destroyed, so are all the fragments within it. When an activity is resumed, the fragments within it can be transacted in and out. This allows for the back-stack to consist of fragment transactions. To transact a fragment, you can use the `FragmentTransaction` class for its APIs. You can get an instance of that class by doing the following within your fragment: ```java FragmentManager fragmentManager = getSupportFragmentManager(); FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction(); ``` Then you can transact the fragment: ```java ExampleFragment fragment = new ExampleFragment(); fragmentTransaction.add(R.id.fragment_container, fragment); fragmentTransaction.commit(); ``` Here is an [[image of the fragment lifecycle|$:/Image - Fragment Lifecycle]]. A fragment is considered a ''headless fragment'' if it doesn't do anything on the [[main UI thread|Android App Dev > The Main Application Thread]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Android App Dev > Fragments'>> </div> See also: * [[Android guide on creating fragments|https://developer.android.com/training/basics/fragments/creating.html]]
To start ''integrating Google Maps'' you need to configure the project first. See [[Android's guide to project configuration|https://developers.google.com/maps/documentation/android-sdk/config]].
''Internal storage'' is one method of handling [[storage and data with Android|Android App Dev > Storage and Data]]. By default these files are private to the app that created them. The system creates a private directory on the file system for each app where you can organize any files your app needs. When the user uninstalls your app, the files saved on the internal storage are removed. For this reason make sure not to store anything here the user expects to be saved perpetually. For that you can use the `MediaStore` API.
''MainActivity.java'' is used to start the application. This should extend [[AppCompatActivity|Android App Dev > AppCompatActivity Class]]. To access a view within the app you can declare a private variable to reference the view. For example `private TextView myTextView`. Then you can initialize it in the [[onCreate method|Android App Dev > AppCompatActivity Class]] with something like `myTextView = findViewById(R.id.my_text_view);`.
To play ''media and sound'' in [[Android|Android]] you typically use the follwoing classes: * [[MediaPlayer|Java android.media.MediaPlayer Class]] * [[AudioManager|Java android.media.AudioManager Class]]
''Navigation'' is how the user interacts with your app as it pertains to hardware buttons, software buttons, and general gestures. See also: * [[Android principles of navigation guide|https://developer.android.com/guide/navigation/navigation-principles]] * [[Android navigation guide|https://developer.android.com/guide/navigation]]
''Networking'' in [[Android|Android]] consists of a few different aspects: * Setting up the right permissions in the [[AndroidManifest.xml file|Android App Dev > AndroidManifest.xml]] * Using [[background threads|Android App Dev > Background Thread]] where possible. This can be done with a [[headless fragment|Android App Dev > Fragments]]. * Use the [[HttpsURLConnection class|Java javax.net.ssl.HttpsURLConnection Class]] for connections See also: * [[Android guide on connecting to a network and downloading things|https://developer.android.com/training/basics/network-ops/connecting.html]] * [[Android guides on Connectivity|https://developer.android.com/guide/topics/connectivity]]
The ''R class'' seems to be a special class in Android development that can be used to access identifiers and other various resources in the project. It seems that all of these resources are located in the `res` file. Some notable variables it can access are below: * `R.id` The values of this variable are the different IDs declared for views in the project it seems. This can be used with `findViewById()` to return a view. * `R.strings` will allow access to the different [[Android strings|Android App Dev > Strings]] available. * `R.layout` will allow access to the different layout files * `R.raw` will allow access to raw files. To open these files, use `Resources.openRawResource(<resource>)` where `<resource>` could be `R.raw.places` for example. `places` in this case would be a file called `places.json`. In order to get the `Resources` object you need to use `getResources()` inside of a file which extends [[Activity|Java android.app.Activity Class]] or [[AppCompactActivity|Android App Dev > AppCompatActivity Class]] it seems.
''RelativeLayout'' inherits from [[ViewGroup|Java android.view.ViewGroup Class]] and displays all children [[views|Java android.view.View Class]] in relative positions to each other. See also: * [[Android documenation on Relative Layout|https://developer.android.com/guide/topics/ui/layout/relative.html]]
The ''Room persistence library'' is a method of interacting with a SQLite database through an abstraction layer with Android. There are 3 primary components in Room: * Database * Entity * DAO See also: * [[Android guide on saving data in a local database using Room|https://developer.android.com/training/data-storage/room/index.html]]
A ''selection'' is highlighting something with a device such as a remote control or a D-pad. A "click" is actually tapping something or pressing the center key on a D-pad.
The ''setContentView function'' seems to be global maybe? It isn't clear where this function comes from quite yet. It is typically used in the [[onCreate method|Java android.app.Activity.onCreate Method]]. The declaration is as follows: ```java public void setContentView(int layoutResID) ``` * `layoutResID` is normally a property of the [[R class|Android App Dev > R Class]]. For example `R.layout.main`.
''Shared preferences'' is one method of handling [[storage and data with Android|Android App Dev > Storage and Data]]. It is a good way to store key value pairs that persist through application closes.
''Spinners'' are a drop down list that can be used in an Android app. There are 3 primary components to a spinner: * An object of the [[Spinner class|Java android.widget.Spinner Class]] * An object of a class that implements `SpinnerAdapter` * Preferably your activity that uses the spinner implementing `AdapterView.OnItemSelectedListener`. Note that this implies a [[selection|Android App Dev > Selection vs Click]] is made, which can just be movement of a d-pad up and down the list. You can provide the different options for a spinner by using anything that implements `SpinnerAdapter`. A convenient class for this is [[ArrayAdapter|Java android.widget.ArrayAdapter Class]]. See also: * [[Android guide to spinners|https://developer.android.com/guide/topics/ui/controls/spinner]]
''Storage and data'' in Android can be handled in a few different ways. Some different methods are below: * [[Internal Storage|Android App Dev > Internal Storage]] * [[External Storage|Android App Dev > External Storage]] * [[Shared Preferences|Android App Dev > Shared Preferences]] * [[Databases|Android App Dev > Databases]] See also: * [[Android guide on Data and File Storage|https://developer.android.com/guide/topics/data/data-storage?hl=en]]
''Strings'' in Android app development should be held in a `strings.xml` file which should be held in the resources or `res` file under `values`. This is because there is a certain overhead to putting string literals in your code without putting it in that XML file. This also makes it much easier to localize your app to different languages. In order to refer to strings in the `strings.xml` file from another XML file for example, you can use `@string/string_name`. So if a string was named `click_me` then you could use `@string/string_name` within the string literal of an XML element. To create arrays of strings, you can also use the `strings.xml` file. To do this you can make something like the following: ``` <string-array name="col_header"> <item>First</item> <item>Last</item> </string-array> ``` Then the previous example could be referenced somewhere, maybe to assign to a variable, with `this.getResources()(.getStringArray(R.strings.col_header))`. In a Java file you can use the [[R class|Android App Dev > R Class]] to access the strings in `strings.xml`.
''The main application thread'' or ''UI thread'' in Android app dev is used for nearly all callbacks into your [[activities|Java android.app.Activity Class]]. So this includes the operations that occur in [[onCreate|Java android.app.Activity.onCreate Method]] for example. This also means that if the logic occurring on the main thread takes too long, then Android could display the "Application Not Responding" dialog. ANR for short. ''Jank'' refers to sluggish UI updates, particularly when something is animating. In Android's Project Butter, they made it so frames will be dropped if they take more than 16ms. All of the work that happens on the main application thread should happen very quickly. All other work should happen on the [[background thread|Android App Dev > Background Thread]].
''Threading'' in Android can be done by focusing on using the [[background thread|Android App Dev > Background Thread]] and the [[main thread|Android App Dev > The Main Application Thread]] for their specific purposes. Threading in Android supports the [[Java Thread class|Java java.lang.Thread Class]] and the `java.util.concurrent` class package. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Android App Dev > Threading'>> </div>
''Widgets'' are implementations of the [[View class|Java android.view.View Class]] it seems. Normally at the top of the documentation for widgets there will be an XML layouts example. Probably only define an id for widgets that will be used in the code. Widgets that don't need to be referenced can go without an id. The id can be assigned by using `@+id/<idName>` where subsequent uses can drop the `+`. Some specific attributes can be assigned to most widgets. Those are below: * `android:layout_width` and `android:layout_height` can be either a `dp` value of some kind, `wrap_content` or `match_parent`. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Android App Dev > Widgets'>> </div>
''XML layouts'' are used when developing with Android. The [[aapt android tool|Android App Dev > aapt Tool]] uses these layouts to generate the magic [[R class|Android App Dev > R Class]]. lol. Make sure to store your new XML layout files in the `res/layout/` directory. Almost everything that can be done with an XML layout can be accomplished with Java code. The nice part is that it is much more easily editable and makes a bit of a middle-ground between programmers and tool writers. XML layout files follow the standard [[well-formed XML rules|XML Well Formed Documents]]. The difference is that the root element must be a [[View|Java android.view.View Class]] or [[ViewGroup object|Java android.view.ViewGroup Class]].
This is the tiddler for ''Android app development''. If you are looking to just refresh yourself on how to start this, maybe start with [[XML layouts|Android App Dev > XML Layouts]] and the [[MainActivity|Android App Dev > MainActivty.java]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Android App Development'>> </div> See also: * [[Android documentation on application fundamentals|https://developer.android.com/guide/components/fundamentals]]
The ''file structure'' for Android typically has the following folders: * `/data` - holds things like the user file * `/data/user` - holds the different users * `/data/user/0` - typically holds the data for the main user on the device. This should be the data for each app on the device.
''Android Studio'' is an IDE specifically for [[Android app development|Android App Development]]. Android Studio uses [[Gradle|Gradle]] to put together your Java code, [[XML layouts|Android App Dev > XML Layouts]], and latest Android build tools to create an APK file. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Android Studio'>> </div>
The ''Android Debugger'' or ''ADB'' can be used from command line to manipulate a virtual device or an actual device. To trigger this command, go to terminal or command line and use `adb`. Some useful other commands are below: * `adb shell` will activate a shell for hte connected device. This will have root priveledges! For some tips on what folders to go to, see [[Android File Structure|Android File Structure]].
''Ant'' is a build tool written in [[Java|Java]]. Ant reads information from an [[xml file|XML Documents]] called [[build.xml|Ant Build Files]]. Some basic commands for `ant` are the following: * `ant <target element name> <options>` will execute the [[target|Apache Ant target Elements]]. There are some options for this as well though: ** `-D<attribute-name>="<some value>"` will change the given attribute of the target seemingly no matter where it is to the provided value. This is temporary and only for the current run.
''Build files'' for Ant are typically named `build.xml`. They typically contain the following types of elements: * Header - This is a `project` element which encompasses the entire build xml file. This is the root element. Some good attributes to include in the header are: ** `name="Name of the project"` ** `default="targets"` not sure why this is needed yet ** `basedir="."` ** `xmlns="antlib:org.apache.tools.ant"` for the basic ant functionality it seems ** `xmlns:cpptasks="antlib:net.sf.antcontrib.cpptasks"` for compiling c/c++ programs. * `property` [[elements|XML Elements]] - To reference a property in the attribute of another element, it can be surrounded by curly braces and began with a cash sign. For example `dir="${build}"` would use the value of the property element with the attribute `name` set to `build`. Some good property definitions are the following: ** `<property name="src.dir" value="src"/>` ** `<property name="build" value="classes"/>` for setting where the classes will be ** `<property environment="env"/>` this sets a variable to define the outside shell environment when the build file is ran ** `<property name="user" value="${env.USERNAME}"/>` sets the variable `user` to the environment variable `USERNAME`. * Common Definitions (classpath) * `classpath` which can be contained in either a `javac` or `java` element. It seems to have one attribute: ** `refid` which needs to be the actual value of the `id` attribute of a `path` element. It does not need a cash sign and curly braces. * `path` element which can have the following attribute: ** `id` with a string for the id. This could be something like `compile.classpath`. * `pathelement` which needs to be within a `path` element and can have the following attribute: ** `location` which indicates the location of the path it seems. as well as: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Ant Build Files'>> </div> See also: * [[Example of an Ant build file|Example - Basic Ant Build File]]
''Anti digital forensics'' or ''ADF'' is designed to thwart discovery of information about illegal activities of a user. It is meant to manipulate, erase, or obfuscate digital data and to make its examination difficult, time consuming, or virtually impossible. ADF techniques can be categorized based upon their intended actions or the effect they have. For example: * Overwriting data and metadata * Hiding / Obfuscating data ([[steganography|Steganography]], cryptography, and low-tech methods) * Exploiting bugs in forensic tools * Evidently renaming files by changing the file extension is considered an ADF action as well according to [[CYBER502x|CYBER502x]] Some examples of ADF tools are: * Timestomp * Slacker * CCleaner Conferences are: * DEFCON * Blackhat * Bluehat * Toorcon * Shmoocon
An ''anti-pattern'' is a bad thing to do in a particular context. A popular example of this is Big ball of mud @b:154. The anti-pattern may have an associated solution though. An example is shown here: https://drive.google.com/open?id=1RxPB8EYmqtLKWj_e9xRG6P5B8u9fQzni.
''Apache'' seems to be an open source foundation for different projects and standards on the web. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Apache'>> </div>
The ''cc task'' can be used to compile c++ it seems. This seems like the equivalent to the [[gcc command|gcc (GNU C Compiler)]]. Some parameters that can be included as nested elements are below: * [[includepath|Apache Ant includepath Element]] See also: * [[Link to documentation on the cc task|http://ant-contrib.sourceforge.net/cpptasks/antdocs/CCTask.html]]
The ''dirset element'' can be used to define a group of directories. It has the following notable attributes: * `dir` which is the root directory for this `dirset` and is required. This could be something like `"/"` even. * `includes` can be a space or comma separated list of directories to be included.
The ''exec element'' can be used to execute a system command. When the `os` attribute is specified, it only runs on that particular OS. Some notable attributes are below: * `executable` can be set to the command to execute without any command line arguments.
The ''includepath element'' can be used as a parameter for the [[cc task|Apache Ant cc Task]]. It can include the following nested parameter elements: * [[dirset|Apache Ant dirset Element]]
The ''javac task'' is an [[Apache task|Apache Ant target Elements]] which can be used to run the [[javac command|javac (Java Compiler)]]. Some of its possible attributes are below: * `srcdir` which is where the `.java` files are held * `destdir` which is where the `.class` files should go * `includeantruntime` which can be true or false. It seems like this should be false for now. The `javac` task can also have the following nested elements: * `classpath` There isn't much documentation on this online it seems.
The ''parallel element'' can be used to run two tasks in parallel. This doesn't guarantee that the tasks ran inside of it are thread safe, it just tries to run them. See also: * [[Link to Apache Ant documentation on parallel|https://ant.apache.org/manual/Tasks/parallel.html]]
''target elements'' can be used in a [[build.xml file|Ant Build Files]]. It looks like there are many elements for ant which can be used inside of a target element, which are called ''Apache Ant Tasks''. Target elements can have the following notable [[attributes|XML Attributes]]: * `name` which can just be a string * `depends` which can be a string that indicates the name of another target attribute. If the target that has this attribute is ran, it will first run the target that is named in the `depends` attribute. Some tasks are below: * `mkdir` elements which seem to need to be contained in a `target` element. They can have the following attributes: ** `dir` which points to the directory to make <div class="tc-table-of-contents"> <<toc-selective-expandable 'Apache Ant target Elements'>> </div> See also: * [[Link to documentation on all Apache Ant Tasks|https://ant.apache.org/manual/]]
The ''taskdef element'' adds a task definition to the current project so that it can be used in the current project. This task is a form of [[typedef|Apache Ant typedef Element]] with the following attributes set: * `adapter` set to `"org.apache.tools.ant.TaskAdapter"` * `adaptto` set to `"org.apache.tools.ant.Task"`
The ''typedef element'' adds a task or data type definition to the current project such that it can be used in the current project. It can have the following notable attributes: * `resource` The name of the resource to load definitions from. See also: * [[Link to Apache documentation on typedef|https://ant.apache.org/manual/Tasks/typedef.html]]
The ''Apache HTTP Server Project'' is an open source project with the goal of creating a good HTTP server for the public. [[Apache|Apache]] runs this project. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Apache HTTP Server Project'>> </div>
''Apache mod_* handlers'' are a type of event handler for [[Apache's HTTP server project|Apache HTTP Server Project]]. They operate on the [[implicit invocation architectural style|Architectural Styles > Implicit Invocation]]. An event in this model could be an incoming request to the [[HTTP|HyperText Transfer Protocol (HTTP)]] server. I don't fully understand how this works yet. [[PHP|PHP]] is even a possible module for this Apache structure. Here is an example of how this mod handler structure might look: [img width=700 [https://i1.wp.com/www.opensourceforu.com/wp-content/uploads/2010/08/figure-1-Apache-web-architecture.jpg]] //Credit: https://opensourceforu.com/2010/08/securing-apache-part-1///
''Concurrent dispatch queues'' are a type of [[Apple's GCD queues|Apple Grand Central Dispatch (GCD)]] where blocks are removed in FIFO order, but several may be removed at a time. There are 3 system wide concurrent queues, low, default, and high priority.
''Dispatch groups'' are a type of technology related to [[Apple's Grand Central Dispatch|Apple Grand Central Dispatch (GCD)]]. They are a way to monitor a set of [[block objects|Apple Grand Central Dispatch (GCD)]] for completion. This provides a synchronization mechanism for a group of related tasks.
[[GCD|Apple Grand Central Dispatch (GCD)]] identifies ''blocks''. A block is a self-contained unit of work which is preceded by a caret `^`. A simple block is below: ``` ^{ printf("I am a block!"); } ``` Blocks can be used in [[C|C Programming Language]], [[C++|C++ Programming Language]], and [[Objective-C|Objective-C (Programming Language)]] code. Blocks are places on a [[dispatch queue|Apple Grand Central Dispatch (GCD)]] and when a block is removed from the queue, it assigns it to an available thread from the [[thread pool|Operating System Thread Pools]] it manages.
''Grand Central Dispatch'' or ''GCD'' is a technology for Mac OSX and iOS. It is an [[implicit threading|Operating System Implicit Threading]] library. [[Blocks|Apple GCD Blocks]] are key to how GCD works. Blocks are places on a dispatch queue and when a block is removed from the queue, it assigns it to an available thread from the [[thread pool|Operating System Thread Pools]] it manages. There are two types of dispatch queues: * [[Serial dispatch queues|Apple Serial Dispatch Queues]] * [[Concurrent dispatch queues|Apple Concurrent Dispatch Queues]] Here is an [[example of using GCD|$:/Image - Example of using grand central dispatch]]. Some technologies that use GCD are below: * [[Dispatch groups|Apple Dispatch Groups]] * Dispatch semaphores * Dispatch sources
''Serial dispatch queues'' are a type of [[Apple's GCD queues|Apple Grand Central Dispatch (GCD)]] where blocks are removed in FIFO order. Each block must complete execution before another block is removed. Each process has it's own queue called the main queue. Serial queues are often good for synchronizing resources. The idea would be to make one queue for each resource. But how does this allow accessing multiple resources with the same task? Each serial queue operates concurrently in respect to other serial queues. So if there are 4 serial queues, up to 4 tasks could be running at any given time. Priorities can be set on the serial queues. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Apple Serial Dispatch Queues'>> </div>
All [[executables|Operating System Executables]] are obligated to follow a specific ''Application Binary Interface'' or ''ABI'' that specifies system properties like type size, and library interface mechanism. There are two primary types of ABIs: * ''Executable and Linkable Format'' or ''ELF'' for Unix. Here is an [[image of how it generally looks|$:/Image - ELF Unix Format]]. * ''Portable Executable'' or ''PE'' which is for Windows. Here is an [[image of how that generally looks|$:/Image - Portable Executable format]].
An ''application programming interface'' or ''API'' is a collection of functions and properties that can be made available to other programmers. An API can serve data. An API for an [[object-oriented programming language|Object Oriented Programming (OOP)]] is typically a [[class library|Class Libraries]].
''Architectural design'' is the identification of the overall structure of the system, the principal components, their relationships, and how they are distributed.
''Architectural patterns'' are a set of architectural decisions applicable to a recurring design problem. The patterns are parameterized to account of different software development contexts. These are similar to [[design patterns|Design Patterns]] with the difference that they have a broader scope. Some architectural patterns are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Architectural Patterns (Software Engineering)'>> </div>
''Architectural styles'' describe a fundamental structural organization for software systems. They can define styles of collaboration for significant elements in the subsystems. Styles can achieve different goals such as organizing system elements, or adapting to infrastructure changes. An architectural style could be something like peer-to-peer. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Architectural Styles (Software Engineering)'>> </div>
''Implicit invocation'' is a type of [[architectural style|Architectural Styles (Software Engineering)]] and a variation of the [[blackboard architecture|Blackboard Architecture (Software Engineering)]]. The difference is that instead of notifications being sent to clients when an update occurs, certain functions are actually invoked within the clients (sometimes modules) upon some condition being met on the server that is providing the events.
An ''argument form'' is a sequence of [[compound propositions|Compound Propositions]] involving [[propositional variables|Propositional Variables]]. An argument form is valid no matter the [[truth values|Truth Value]] of the propositional variables, and as long as it follows logically from the premises. That is, if each premise were to be true, then the conclusion would have to be true. So a valid argument form is when premises $$p_1, p_2, ..., p_n$$ and conclusion $$q$$ form a [[tautology|Tautology]] from $$(p_1 \land p_2 \land ... \land p_n) \to q$$.
An ''arithmetic sequence (arithmetic progression)'' is a [[sequence|Sequence (Mathematics)]] of the form $$a, a+d, a+2d, ..., a+nd, ...$$ where the initial term $$a$$, and the common difference $$d$$ are real numbers. In other words the difference between consecutive terms is constant. This is just like a linear function. The general formula for 0 based numbering is $$a_n = a + nd$$, and for 1 based numbering is $$a_n = a + (n-1)d$$. An example is $$a_n = 1 + 2n$$ where a = 1 and d = 2. The summation of an arithmetic sequence is $$\sum_{k=1}^{n}(a + kd) = \sum_{k=1}^{n}a + d \sum_{k=1}^n k = na + d \frac{n(n+1)}{2}$$
An ''arithmetic series'' is the sum of the members of a finite arithmetic progression. Consider $2+5+8+11+14$. You can find the sum by taking the number of terms $n$, multiplying by the first and last number, signified by $a_1$ and $a_n$, then dividing by 2. So your result becomes $\frac{n(a_1 + a_n)}{2}$
''Arity'' means the number of arguments.
This is the school that I attend currently. <<list-links "[tag[Arizona State University]!sort[modified]]">>
The ''ARM architecture'' is a subset of the [[RISC architecture|Reduced Instruction Set Computer (RISC) Architecture]] and is used in many different [[CPUs|Central Processing Unit (CPU)]]. See also: * [[Wikipedia page on the ARM architecture|https://en.wikipedia.org/wiki/ARM_architecture]]
''Armstrong's axioms'' are situations where some [[functional dependencies|Relational Functional Dependencies]] can imply another. Those are listed below where $$X, Y$$ are [[attribute|Relational Data Model > Relations > Attributes]] sets: * Reflexivity: if $$Y \subseteq X$$ then $$X \rightarrow Y$$ * Augmentation: If $$X \rightarrow Y$$ then $$XW \rightarrow YW$$ * [[Transitivity|Relational Transitive Dependencies]]: If $$X \rightarrow Y$$ and $$Y \rightarrow Z$$ then $$X \rightarrow Z$$ * Union: If $$X \rightarrow Y$$ and $$WY \rightarrow Z$$ then $$XW \rightarrow Z$$ * Decomposition: If $$X \rightarrow Y$$ and $$Z \subseteq Y$$ then $$X \rightarrow Z$$.
''Arquillian'' needs a dependency manager like Maven to work. Arquillian test case requirements are in the note. Arquillian helps with [[integration testing|Integration Testing]] because it can separate the classes being tested into completely separate containers, so that certain classes can be tested without the existence of others. <u>Requirements for Arquillian Test Case: </u> * A `@RunWith(Arquillian.class)` annotation on the class. * A public static method annotated with `@Deployment` that returns a `ShrinkWrap` archive. * At least one method annotated with `@Test`. <u>Sources: </u>- #Source:Website Tutorial for doing this in eclipse. Its pretty long haha, notes need to be taken about each component of the guide to really get a grasp on whats happening here: http://arquillian.org/guides/getting_started/#open_the_project_in_eclipse The **RunWith Annotation** in __JUnit @b:48__ will tell JUnit to use the following indicator as the test controller. This looks like `@RunWith(Arquillian.class)` and it is put before the class header that is being used as a test case. A @b:58 **test archive** in __Arquillian__**__ @b:57__** is a way to isolate the classes and resources needed by the test from the remainder of the classpath. **ShrinkWrap** is a way to create archives in Java. It is used for the __test archives__ @b:58 in __Arquillian__ @b:57. An example and source is in the note. ```Java public static JavaArchive createDeployment() { return ShrinkWrap.create(JavaArchive.class) .addClass(Greeter.class) .addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml"); } } ``` Sources: * http://arquillian.org/guides/shrinkwrap_introduction/
An ''array'' is a series of values in computer science. 1 Dimensional arrays are called a ''vector''.
<div class="tc-table-of-contents"> <<toc-selective-expandable 'Artificial Intelligence' sort[title]>> </div>
An ''assembler'' is used to convert [[assembly language|Assembly Language]] into [[machine language|Machine Language]]. The typical work that it does is convert mnemonic symbols into corresponding binary numbers, substitute registry numbers or variables for their memory locations, and calculate the destination of instructions according to the position of their labels in the code.
The ''.org assembler directive'' indicates where the instructions that follow should be placed in memory, and it is inclusive with the one that is indicated. New projects in [[PLP|Progressive Learning Platform (PLP)]] add `.org 0x10000000` because that is the first memory address in RAM.
The ''.space assembler directive'' can be used to create space for an [[assembly array|Assembly Arrays]]. For example to create 10 words (about 4 bytes each word) of empty space for an array, the following can be done: ``` array_label: .space 10 ``` Then the address of the space can be copied into a register with ``` li $s0, array_label ```
The ''add immediate instruction'' allows two values to be added. It starts with the keyword `addiu` then the destination register, the register to add to, and a number value to add to the value of the second register. For example: `addiu $t3, $t2, 29` which is like saying $t3 = $t2 + 29. The add immediate instruction only takes 1 clock cycle, even though it conducts two instructions. Those instructions are [[load upper immediate|Assembly Load Upper Immediate Instruction]], and [[or immediate|Assembly Or Immediate Instruction]]. These two instructions allow `addiu` to accept a full 64 bit value to be added.
The ''add instruction'' is an [[r-type instruction|Assembly R-Type Instructions]] and takes 3 registers where it will add the last 2 and store it in the first. For example `addu $t6, $t4, $t5` which is equivalent to $t6 = $t4 + $t5. The `addu` instruction takes one clock cycle and is a native instruction. Here is an [[example of how addu flows through a datapath|Example - Assembly - How an R-type instruction flows through a datapath]].
The ''and instruction'' takes two registers and uses a [[bit-wise operation|Bitwise Operations]] to AND them together. This can be useful for [[bit masking|Bit Masking]]. For example `and $t2, $t0, $t1` is the same as saying, AND together `$t0` and `$t1` then assign the result to `$t2`.
Data in an ''array'' can be accessed just like any other memory access, which is with [[load word|Assembly Load Word Instruction]] and [[store word|Assembly Store Word Instruction]] instructions. The [[.space assembler directive|Assembly .space Assembler Directive]] can be used to allocate space. Once space is allocated, the array can have information inserted into the array address location, then different spots in the array can have information inserted with an offset.
The ''beq instruction'' stands for "branch if equal" and takes two registers, and a [[label|Assembly Control Flow Labels]]. An example is `beq $t5, $t3, my_label`.
The ''bne instruction'' stands for "branch if not equal". An example is `bne $t1, $t7, my_label`.
There is a delay of one cycle before a branch takes effect because of ''branch delay slots''. During this time, the instruction immediately after the instruction containing the branch delay slot, will be executed, no matter if it was supposed to or not. In a branch delay slot, there are two choices. One is to do nothing, which the `nop` instruction is meant for. The other option is to put in an instruction that meets these two criteria: 1. It doesn't effect the branch, and 2. it needs to be expected to run regardless of the branch outcome. This could be any instruction you expected to go just before the instigating branch, into the first instruction of that branch. A branch delay happens because the condition to see if a branch is taken is in the middle of processors that are considered "pipelined". More information on this will come in a later course, although below is an image of where the branch part is in an assembly pipeline: [img width=700 [https://i.imgur.com/VVKGqdT.png]] Here is an [[example of using branch delay slots|Example - Assembly - Using branch delay slots]].
''Branch Instructions'' allow the programmer to make decisions in the assembly code. They have the general format below: [img width=500 [https://i.imgur.com/L7wqvJs.png]] * `rs` and `rt` indicate which registers to compare. 5 bits can represent numbers 0 through 31, and PLP has 32 registers. So that works out well. * The `offset` is a [[signed value|Signed Numbers (Computer Science)]] and represents the number of instructions from the __branch delay slot address__ to the label address. The 2 least significant bits of the offset are truncated because of [[how the RAM is organized|PLP RAM Organization]]. Here is an [[example of how a branch instruction flows though a datapath|Example - Assembly - How a branch instruction flows through a datapath]]. Table of contents; <div class="tc-table-of-contents"> <<toc-selective-expandable 'Assembly Branch Instructions' sort[title]>> </div>
The ''call instruction'' carries out all the operations of a [[context switch for a function|Assembly Functions]]. For example `call label_name`. In order to use the call function, the [[stack register|Assembly Stack Register]] must have been set. This will save the current registers to the stack. It will perform a [[jump and link|Assembly jump-and-link Instruction]] to the label. The call instruction is composed of 26 native instructions. This means that a combination of jump and link with [[push|Assembly push Instruction]] pseudo-ops will be more efficient at saving when there are fewer than 13 registers. The call instruction includes a native `nop` as the last native instruction so it does not have a [[branch delay slot|Assembly Branch Delay Slots]].
Assembly uses labels as names for a location in a program which then allows manipulation of the ''control flow''. Labels are pointers to memory locations of instructions. The [[assembler|Assembler]] replaces labels with the address of the instruction being pointed to. A ''control flow label'' can simply have a name followed by a colon. For example `my_label:`. To use a label, use the [[jump instruction|Assembly jump Instruction]]. See also: * [[Example - Assembly - Loop using jump instruction and control flow labels]]
''Function return values'' are located in register `$v0` and `$v1`. They are used to hold return values from a [[function|Assembly Functions]].
A function is like a [[subroutine|Assembly Subroutines]], except that it has context. Context means having specific registers available to it, and a [[return address|Assembly jump-and-link Instruction]]. When context is switched, the current value of the registers that are part of the functions context are saved on to the stack. Then upon returning they are restored to their previous value. The saved and restored registers during context switching are below: * `$a0` - `$a3` which are the argument registers. * `$s0` - `$s7` which are the saved registers * `$t0` - `$t9` which are temporary registers and not saved by [[MIPS|MIPS Architecture]], although they are saved by [[PLP|Progressive Learning Platform (PLP)]]. * `$ra` which is the return address. To make a label into a function, it can be called with the [[call pseduo-op|Assembly call Instruction]]. Table of contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Assembly Functions' sort[title]>> </div>
''I-Type instructions'' have one output destination which is a register, and two inputs which are 1 register and 1 immediate value. I-type instructions are laid out like shown below: [img width=600 [https://i.imgur.com/cTtU3RK.png]] Here is an [[example of how an I-type instruction flows through a datapath|Example - Assembly - How an I-type instruction flows through the datapath]]. See also: * [[Assembly R-Type Instructions]] * [[Assembly J-Type Instructions]] Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Assembly I-Type Instructions' sort[title]>> </div>
The ''interrupt return address'' is the location of the program immediately after the last instruction that was executed before the [[interrupt|Assembly Interrupts]] and it is indicated by `$ir`.
An ''interrupt'' is a signal to the processor that something needs to be attended to. This is similar to an event handler, with the difference that event handlers are software triggers, and interrupts are hardware triggers. When an interrupt occurs the following will happen: # The [[interrupt return address|Assembly Interrupt Return Address]] will be stored. # The program will jump to the [[ISR|Interrupt Service Routine (ISR)]] as long as it was declared. # After the ISR completes it will jump back to the return address. Using interrupts has the advantage of handling I/O when ready compared to [[polling|Polling (Embedded Systems)]]. Although it has the disadvantage that instructions are not executed sequentially, so the current state of registers is unknown. It also has the disadvantage that the current state of the program is unknown when one occurs, so it can be harder to debug. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Assembly Interrupts' sort[title]>> </div>
''J-Type instructions'' are jump type of instructions. So they will move to another section of code in some way. J-type instructions takes advantage of [[how RAM is organized in PLP|PLP RAM Organization]] by using the first 4 bits of the previous address and truncating the 2 least significant bits. Then when the cpu is done processing the instruction, it shifts the address left by two bits to restore the 2 zeros. This frees up 6 bits for the `opcode`, and 26 bits for the `address` to jump to. Below is a small example of calculating a jump address. [img width=400 [https://i.imgur.com/mECwv2h.png]] where `PC` means the current address, `PC[31:28]` means the address's first 4 bits, and `imm` means the 26 bit value which is the immediate value. The actual value given as a jump instruction from PLP will contain the opcode, and the truncated address of the jump. So for example if the target address to jump to holds the label `jump_here`, and that label is at address `0x1000000c`, then the actual jump instruction value would be `0x08000003`. Here is an example of [[how a jump instruction flows through a datapath|Example - Assembly - How a J-Type instruction flows through a datapath]]. See also: * [[Assembly R-Type Instructions]] * [[Assembly I-Type Instructions]] Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Assembly J-Type Instructions' sort[title]>> </div>
The ''jump instruction'' is a [[j-type instruction|Assembly J-Type Instructions]] and allows the control flow to jump from the given location to where a [[control flow label|Assembly Control Flow Labels]] begins. For example: `j my_label`. The jump instruction does have a [[branch delay slot|Assembly Branch Delay Slots]]. See also: * [[Example - Assembly - Loop using jump instruction and control flow labels]]
The ''jump register instruction'' can be written like `jr $ra` and works just like the [[jump instruction|Assembly jump Instruction]] but that it takes a register as an input, and performs a jump to the address stored in `$ra`. This instruction is typically paired with the [[jump and link instruction|Assembly jump-and-link Instruction]].
The ''jump-and-link instruction'' can be written like `jal label_name` and performs a jump to label just like the [[jump instruction|Assembly jump Instruction]], then saves the address of the next instruction after the [[branch delay slot|Assembly Branch Delay Slots]] in register `$ra` which stands for ''return address''. The [[jump register instruction|Assembly jump register Instruction]] is used to return to the return address.
''Assembly Language'' or ''Assembly'' translates directly to [[machine language|Machine Language]] and is considered a [[low-level programming language|Low-Level Programming Languages]]. Assembly is more human readable than machine code because it uses letters, and numbers which are [[hexadecimal|Hexadecimal]] or decimal for operations rather than a binary number to define an operation. Assembly doesn't have abstractions. Rather it's notation consists entirely of the instruction set that a given CPU provides. Some of the features lost between a high-level language and assembly are outlined below: * Assembly doesn't have variables, and most of the time doesn't have types. * Assembly doesn't support structs, classes, or objects * Assembly doesn't support methods or functions, rather they are made up of a large number of instructions. An [[assembler|Assembler]] is used to translate assembly language into machine language. Assembly instructions use [[registers|Register]] as inputs and outputs. All individual instructions are 32 bits according to [[CSE 230|CSE 230]]. Table of contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Assembly Language' sort[title]>> </div>
The ''load immediate instruction'' allows a value to be put into a [[register|Register]]. The instruction is written by writing `li`, then the register to be written to, then a comma and a value. For example `li $t0, 8`. `li` takes two clock cycles to complete because it is a [[pseudo-operation|Assembly Pseudo-Operations]] made up of two separate native [[I-type instructions|Assembly I-Type Instructions]], which are `lui` and `ori`.
The ''load upper immediate instruction'' is written in assembly as `lui`. This is used as a component in other [[pseudo operations|Assembly Pseudo-Operations]].
The ''load word instruction'' copies a value from memory to a register, and operates very similarly to the [[store word instruction|Assembly Store Word Instruction]] with the difference that the first register location indicates the destination register for the value, and the second register holds the memory address to pull the value from. For example: `lw $t3, 0($t4)`. The load word instruction can be used to read from I/O devices, such as a switch.
The ''logical shift left instruction'' will shift a value left by an indicated number of binary bits. It takes the keyword `sll` then a register to store the shifted value, a register holding the base value, and then the number of bits to shift it. For example `sll $t2, $t3, 2`. The opposite of this is `srl`. An example of doing this, using the previous example could take the value `00110101`, when shifted left, it loses the 2 most significant bits, which in a 32 bit system would be the 32nd and 31st bit unlike this example which only has 8 bits, and adds two zeros in the least significant bit positions. So the result is `11010100`. A logical shift happens in one cycle no matter the number of shifts.
The ''move instruction'' copies a value from the second register, to the first register in the command. For example `move $t2, $t1` will copy the contents of `$t1` to `$t2`. This assembles into one instruction, although it is `addu $t2, $0, $t1` where `$0` is a special register that always has zero. This is still considered a pseudo-op because it makes the code make more sense and cleaner.
The ''or immediate instruction'' is written in assembly as `ori`. This is used as a component in other [[pseudo operations|Assembly Pseudo-Operations]].
The ''pop instruction'' works almost exactly the same as the [[push instruction|Assembly push Instruction]] with the difference that it goes in reverse, and loads the value in the stack into the given register. For example `pop $t1`. Keep in mind that when things are popped off of the stack, the value remains in memory. It just makes a copy and puts it into the designated register. This could have security implications. If pop is used on a stack that is empty, it results in a ''stack underflow''. In [[PLP tool|PLP Tool]] this results in a runtime error.
''Pseudo-Operations'' are similar to a [[macro|Macro]] where the assembler replaces a pseudo-op with a set of one or more native instructions. One reason for having pseudo-ops, is that PLP instructions have fixed length instructions, such as 32-bits. So if an instruction needs more than 32 bits to be performed, it needs to be a pseudo-op. Table of contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Assembly Pseudo-Operations' sort[title]>> </div>
The ''push instruction'' is to be used after a [[stack register|Assembly Stack Register]] has been designated. This can be done like so: `push $t1`. This instruction is a [[pseudo-op|Assembly Pseudo-Operations]] that does the following: # It decrements the stack register by 4, or in other words, sets it to the next memory address lower than it currently is, # It assigns the value to the memory address 4 bytes higher, or in the memory address the stack register was just at.
''R-Type instructions'' have one output destination which is a register, and two inputs which are 2 registers. The exception to this rule is the [[shift instruction|Assembly Logical Shift Left Instruction]], which has one register and a shift amount, and it is still an R-type instruction because of the way it is formatted in the machine code. An R-type instruction contains 6 parts, or fields. The different parts are broken down below: # The first field contains 6 bits for the `opcode`. The processor knows how to handle each op code. # The `rs` register which is source 1 takes the next 5 bits (possible values are 0-31 which is exactly how many registers there are in PLP) # The `rt` register which is source 2 takes 5 bits # The `rd` register which is the destination register takes 5 bits # The next part is the `shamt` or shift amount which takes the next 5 bits # The last field is `funct` which takes 6 bits Here is an [[example of how an R-type instruction flows through a datapath|Example - Assembly - How an R-type instruction flows through a datapath]]. See also: * [[Assembly I-Type Instructions]] * [[Assembly J-Type Instructions]] Table of Contents <div class="tc-table-of-contents"> <<toc-selective-expandable 'Assembly R-Type Instructions' sort[title]>> </div>
The ''return instruction'' can be used after the [[call instruction|Assembly call Instruction]] and will jump to the [[return address|Assembly jump-and-link Instruction]] from within a [[function|Assembly Functions]]. It will also restore all the registers from the stack. The return instruction includes a native `nop` as the last native instruction so it does not have a [[branch delay slot|Assembly Branch Delay Slots]]. The return instruction can be executed by simply typing `return`.
The ''save instruction'' saves all registers to the stack except for `$zero`. It can be written with `save`. The ''restore instruction'' is written as `restore` and restores all the registers from the stack in reverse order (so like a stack normally returns things) and is usually used as a compliment to `save`.
The ''stack register'' is most of the time at `$sp` and grows upwards in memory, or in other words the address gets smaller, and starts at the largest memory address used by the stack. In PLP, the bottom of the memory mapped to RAM should be assigned to the `$sp` register which is `0x10FFFFFC`. So `li $sp, 0x10FFFFFC`. The stack has two operations: * [[Assembly push Instruction]] * [[Assembly pop Instruction]] See also: * [[Stack Overflow]] * [[Stack Frame Pointer]]
The ''store word instruction'' copies a value from a register to memory. It can be written by writing `sw` then a register which acts as the source, a comma, then an offset constant and another register within parenthesis. The second register should hold a memory address where the contents of the first register will be stored. For example `sw $t1, 0($t2)`. The constant plus the memory address is where the contents of the first register will be stored. See also: * [[Word (Computer Architecture)]]
''Subroutines'' perform a set of instructions, and can be considered different than [[functions|Assembly Functions]], because they do not have context.
All ''value comparison'' instructions can be done with the ''set less than instruction''. For example `slt $t3, $t1, $t2` stands for set less than, and is equivalent to saying: if $t1 < $t2 then $t3 is set to 1 (true). Otherwise $t3 is set to 0. This is often used with a [[bne instruction|Assembly bne Instruction]] such as `bne $t3, $0, was_less_than`. A table below shows the different options to make the the different inequalities: [img width=400 [https://i.imgur.com/RAFPrFc.png]]
''ASU VIPLE'' stands for Visual IoT/Robotics Programming Language Environment. It was meant to support as many features and functionalites that MRDS VPL supports as possible. This is because microsoft dropped support of that product in 2014.
''Asynchronous'' means that tasks can be started before another has finished. The task's completion is independent of another tasks start or ending. This is commonly done with multiple threads, although it can be done with a single thread by chopping up execution of tasks into different sections of consecutive time. See also: * [[Synchronous]]
A [[sequential circuit|Sequential Circuit]] that does not use a [[clock|Circuit Clocks]] is called an asynchronous circuit. Asynchronous circuit design is beyond the scope of the textbook so it is not covered. Most sequential circuits designed today are [[synchronous|Synchronous Circuit]].
''AJAX'' refers to a group of technologies that make asynchronous requests to a server to transfer data then load any returned data into the page. A couple properties of AJAX is that the browser does not stop loading a page to wait for a server's response, and the browser inserts updated data into part of the page without having to refresh the entire page. Often the data is transferred in [[JSON|JavaScript Object Notation (JSON)]]. JSON transmitted by APIs are sent as bytes and your application receives it as a string. This is where using something like `JSON.parse()` comes in handy. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Asynchronous JavaScript and XML (AJAX)' sort[title]>> </div> See also: * [[JavaScript fetch Method]]
An ''atomic formula'' is a mathematical-logical formula with no deeper [[propositional|Proposition]] structure. This means they are the simplest formulas that can be expressed. These are often used as the basis for proofs.
''Authentication'' is the determination of the identity or role that someone has, usually based on a combination of * Something the person has (smart card, radio key fob, etc) * Something the person knows (password) * Something the person is (human with a fingerprint, eyes, etc)
''Authorization'' is the determination if a person or system is allowed access to resources based on access control policy. There are two common approaches to authorization: * ''Role-based Access Control'' or ''RBAC'' * ''Attribute-based Access Control'' or ''ABAC''
''Autopsy'' is a front-end to [[Sleuth Kit|Sleuth Kit]]. See also: * [[Autopsy main website with download link|https://www.sleuthkit.org/autopsy/]]
''AVL trees'' are trees where each node keeps track of the height of the left and right subtrees. So for any node in the tree if the balance factor which is height of the right subtree - height of the left subtree is greater than 1 or less than -1 that node needs to be re balanced. The balance factor is updated whenever an element is added or removed. It seems the best way to remember how these work is to practice and follow along with a site like this one: https://www.cs.usfca.edu/~galles/visualization/AVLtree.html
''Babel'' is a [[transpiler|Transpiler]] that is typically used for [[React|React]].
''Backus-Naur Form'' or ''BNF'' is a meta language that can be used to define the lexical and syntactic structures of another language. Syntax for BNF is below: * The symbol `::==` means to define the name on the left by the expression on the right. * Names in a pair of angle brackets like `<>` mean they are nonterminal. Nonterminal means the name needs to be further defined. * The vertical bar `|` represents an "or" relation. * Bold-faced names are terminal which means that the names need not be further defined. Because BNF notations can be sometimes difficult to read, [[syntax graphs|Syntax Graph]] can be used to supplement their readability. Here is an [[example of BNF for a small programming language|Example - BNF for a small programming language]]. See also: * [[Example - Backus Naur Form for English]]
A tree is a ''balanced tree'' if all the leaves of the tree are on the same level or within one level of each other. An example is here: https://drive.google.com/file/d/1mmX7iXiR2w7NKwkCjSKNyMU5kZqBS4Wf/view?usp=sharing. A balanced n-ary tree with m elements has a height of $\log_{n}(m)$
''Base b (or weight b) expansion of n'': Let an integer $$b \ge 1$$, then if an integer $$n > 0$$, it can be expressed uniquely in the form $$n = a_kb^k + a_{k-1}b^{k-1}+\cdot \cdot \cdot + a_1b+ a_0$$ where $$k$$ is a non-negative integer, $$a_k \ne 0$$, and $$a_0, a_1, ..., a_k$$ are non-negative integers less than $$b$$. An example of base expansion is $$(245)_8$$ which would represent $$2\cdot 8^2 + 4\cdot 8 + 5 = 165$$. To count in your head a conversion to base 10, you can also just count multiples of the base moving from right to left starting with 1, and repeat for each number. So $$(1000010)_2$$ becomes $$64 + 2 = (66)_{10}$$. Base b expansion of n including decimals can be done the same way as the normal expansion, but for decimals, just continue going down powers of base b. For example hexadecimal F10.B19 = $15*16^2 + 1*16^1 + 0*16^0 + 11*16^{-1} + 1*16^{-2} + 9*16^{-3} = 3865.6914...$
''Bash'' is a [[command line interface|Command Line Interface (CLI)]], typically used in [[Linux|Linux]]. It stands for "Bourne-Again SHell" and was originally created for [[GNU|GNU Operating System]]. Bash starts in your home directory. On startup, bash processes one of the following files in your home: `.bash_profile`, `.bashrc`, `.bash_logout`, or `.profile`. [[Debian Linux|Debian Linux]] uses `.bashrc` while [[MacOS|Mac OSX]] Terminal uses `.profile`. The start-up script contains any user specific environment variables, a [[PATH environment variable|Unix PATH]], aliases, and the [[PS1|Process - Creating a PS1 in Bash]]. Bash understands [[emacs control sequences|GNU Emacs]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Bash' sort[title]>> </div> See also: * [[Link to Getting Started with Bash website|http://www.hypexr.org/bash_tutorial.php]] where more notes can be pulled from * [[Linux Commands]] * [[Unix Commands]]
''Command piping'' is where you take the output of one command and direct it as input to another command. The following command seems to be kind of crazy, but is an example of this: * `ls -l | grep -i nov | grep -v 200[89]grep -i` * It seems like an easier example to understand is filtering all of the output from the [[ls command|Linux ls Command]] with the [[grep command|Unix grep Command]]: `ls -l | grep -i lib` will search for all files in the current directory that have "lib" in it. Non-case sensitive. It will then output that to the terminal window.
[[Bash|Bash]] has a few ''commands and features'' specific to itself. Some of those are highlighted below: * Command Redirection or ''bash arrow operator'' - Redirect the input from a file, or output to a file ** `ls >> myListing.txt` will place a listing of files in the current directory into a local file named `myListing.txt`. This command can be used again to append the listing to the end of that file. ** Using a single greater than sign will place the listing in a file or overwrite if it already exists. `>` ** Using `<` means that it will pipe the contents of the file on the right, to the `stdin` of the command on the left. This is assuming the program accepts `stdin`, if not, it seems that it does nothing really. For example `cat < Test.txt` will print the contents of `Test.txt` to the console window. * File name completion: pressing tab will autocomplete. * The `$` will take the series of characters after it, find the environment variable that has that name, and replace the cash sign along with the series of characters, with whatever is after the equal sign after that environment variable. * command line editing can be done in most cases with [[emacs|GNU Emacs]] control sequences. An example of a few are below: ** `^b` goes back a character ** `^f` moves forward one character ** `!cmd` executes the most recent `cmd` again <div class="tc-table-of-contents"> <<toc-selective-expandable 'Bash Commands and Features'>> </div> See also: * [[Unix Commands]] * [[Linux Commands]]
A ''basic SR latch'' uses two NOR gates and has two inputs, the set channel and the reset channel, as well as the output Q. An example is here: https://drive.google.com/file/d/0B5Qq4fe-ZajTWG82em94OEJVblE/view?usp=sharing. There is an issue when both S and R are set to 1, where the output is undefined. This is because it will oscillate between 0 and 1, then 1 to 0 repeatedly. Realistically the gates will have slightly different delays just because of material imperfections, so after some time one gate will get ahead of the other and output a 0 or a 1 before the other does and reach a stable situation, but there is no way to tell beforehand which it will be. Such a condition is called a race condition. To prevent this from happening you can implement a circuit prior to the latch that prevents SR = 11 from ever happening. For example: https://drive.google.com/file/d/0B5Qq4fe-ZajTYTdmd3VVZTk4MG8/view?usp=sharing. But even with this precaution, if wire lengths are significantly different there may be a glitch where one wire turns before another just because of wire delay, possibly causing a latch to reset when it wasn't supposed to.
''BCrypt hashes'' are a type of fingerprint used for various languages. An example of what a bcrypt hash looks like is below: ``` $2a$13$ZyprE5MRw2Q3WpNOGZWGbeG7ADUre1Q8QO.uUUtcbqloU0yvzavOm ``` * The first section `$2a` indicates what kind of algorithm was used. * The second section `$13` indicates the cost. This is an algorithmic function indicating the difficulty. At the time of reading this off of freecodecamp, a difficulty of 12 is considered very secure. * The last section before the period, `$ZyprE5MRw2Q3WpNOGZWGbeG7ADUre1Q8QO` is the salt in plain text. * The rest is the hashed password.
''Behavioral design patterns'' define manners of communication between classes and objects. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Behavioral Design Patterns'>> </div>
A ''Bernouli trial'' is a way of estimating success. Probability of success is denoted by $$p$$ where probability of failure is therefore $$1 - p$$. Many experiments consist of performing a sequence of Bernoulli trials.
''Beta Testing'' is when a system marketed as a software product is delivered to a number of potential customers, or previous testers of the product who agree to use the system and report problems to the system developers. After this feedback, the system is modified and released either for further beta testing or for general sale. The advantages to this are identification of unexpected errors, and low costs while some disadvantages are the low quality of error reports where a lot of effort is required to examine those error reports.
''Bezier Curves'' are parametric curves frequently used in Computer Graphics. They are particularly used in computer design and can model a graphic as it moves over time.
''Biconditonals'' definition: Let p and q be propositions. The biconditional statement $$p \leftrightarrow q$$ is the proposition "p if and only if q." The biconditional statement $$p \leftrightarrow q$$ is true when p and q have the same truth values, and is false otherwise. biconditional statements are also called bi-implications. $$p \leftrightarrow q$$ has exactly the same truth value as $$(p \to q) \land (q \to p)$$ This is also sometimes referred to as "iff". This is the negation of XOR.
''BBOM'' stands for ''Big Ball of Mud'' and can be used in reference to a software prototype @b:118 that a customer says to use as part of the final product instead of throwing it away.
Big Oh Notation (mathematics) is where $f, g : (\mathbf{R} \lor \mathbf{Z}) \to \mathbf{R}$ then $f(x)$ is $O(g(x))$ if there are positive constants C and k such that $x > k$ and $|f(x)| \le C|g(x)|$. This is like saying that f(x) has a growth of at-most g(x). Any $g(x)$ larger than the original can be substituted and still be valid. This graph really well exemplifies the relationship between k, x, C, f(x), and g(x): https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5VHNWNy1Yc3dLRXc/view?usp=sharing
A good way to find a more simplified version of efficiency, is to see how many times operations occur in the worst case scenario, which is normally as the size of the data set goes to infinity (asymptotic). The number of operations is chosen, but generally is how many times something will loop. Computer scientists use ''Big-Oh notation'' to describe the asymptotic time complexity of an algorithm with respect to the number of items in the data set (n). To turn an expression into big-oh notation, take the fastest growing term and ignore it's constant coefficients, no matter how large or small it may be. Formally, suppose there is a number of operations that are executed in reality on a specific data set represented as $T(n)$ which in the worst case scenario performs a number of operations determined by $f(n)$. So the overall expression is $T(n) = O(f(n))$. An example of common big-Oh growth rates are in the note ordered from slowest to fastest growth. The normal expression means that T(n) grows as fast as f(n) or slower. If the expression is $T(n)= \Omega(f(n))$ then T(n) grows at least as fast as f(n) or faster. Finally, $T(n)=\Theta(f(n))$ means that T(n) grows exactly as fast as f(n). * t(n) = 17 O(1) Constant * t(n) = 3 log n O(log(n)) Logarithmic * t(n) = 20n - 4 O(n) Linear * t(n) = 12n log n + 100n O(n log(n)) Linearithmic (Linear + Logarithmic) * t(n) = 3n^2 + 5n - 2 O(n^2) Quadratic * t(n) = 8n^3 O(n^3) Cubic * t(n) = 2^n 18n^2 + 3n O(2^n) Exponential
A function is a ''one to one correspondance'', or ''bijection'', or ''bijective'' if it is both one to one and onto. The ''identity function'' assigns each element of a set to itself and is by definition, a bijection. This is denoted by $$\iota_{A} (x) = x$$
''Binary'' is [[base|Radix (Mathematics)]] 2 and is written with the prefix `0b`.
For two [[binary numbers|Binary]] $$a = (a_{n-1} a_{n-2} ... a_1 a_0)_2$$ and $$b = (b_{n-1} b_{n-2} ... b_1 b_0)_2$$. First add the rightmost bits which gives $$a_0 + b_0 = c_0 \cdot 2 + s_0$$ where $$c$$ is the carry (either 0 or 1) and $$s_0$$ is the rightmost bit in the resultant binary value. The next equation would become $$a_1 + b_1 + c_0 = c_1 \cdot 2 + s_1$$ Repeat this until all values are translated until you have a resulting expansion $$a + b = (s_n s_{n-1} ... s_1 s_0)_2$$. The algorithm for addition of binary integers is here: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5aGhYSGp4MUJuOEU/view?usp=sharing
''Binary Search'' - if your array is sorted this method can be used. This is an O(log(n)) algorithm. The algorithm starts by searching in the middle of the list, and determining if it's on one side or the other because it is sorted. On the first run it eliminates half of the options. On the second it eliminates 1/4, then 1/8, and so on until it is found. The example is given for an arbitrary class "T" ``` // pKey is the key to search for. public int binarySearch(ArrayList<T> pList, T pKey) { int low = 0, high = pList.size() - 1; while (low <= high) { int middle = (low + high) / 2; if (pKey == pList.get(middle)) { return middle; } else if (pKey < pList.get(middle)) { high = middle - 1; } else { low = middle + 1; } } return -1; // Not found } ```
A ''binary search tree'' is a [[binary tree|Binary Tree (Computer Science)]] with the added property that the left child is always less than, in some way, than the parent, which is always less than or equal to the right child. This improves the efficiency of search algorithms. The methods specific to a binary search tree are in the note. The definition of a binary search tree is an extension of the definition of a binary tree. The left most node will contain the smallest element, while the right most node will contain the largest element. A balanced search tree will be the most efficient, an unbalanced search tree could end up being as inefficient as a list. Binary Search Tree Methods: * +addElement * +removeElement - removes a given element from the tree or throws an `ElementNotFoundException`. Another node will have to be promoted to replace the one being removed. A good example is shown here: https://drive.google.com/file/d/1qsIyOFq4SsitgTCSJSvkvfvRhLjR8CPM/view?usp=sharing * +removeAllOccurrences * +removeMin - balanced: O(logn) - unbalanced O(n) * +removeMax - balanced: O(logn) - unbalanced O(n) * +findMin - balanced: O(logn) - unbalanced O(n) * +findMax - balanced: O(logn) - unbalanced O(n) * #replacement - There are 3 cases for removal of a node. If the node has no children, replacement returns null. If the node has one child, replacement returns that child. If the node has two children, replacement returns the inorder successor of the node to be removed
A ''binary tree'' is a type of [[n-ary tree|Tree Order]], and only allows at most two children. The find method for a binary tree with no sorting is O(n) as expected.
An ''n-bit barrel shifter'' is a general purpose [[N-Bit shifter|Bit Shifters]] that will shift any number of positions according to control inputs that provide the number of shifts and the direction to shift. A cascading 8 bit barrel shifter is shown here: https://drive.google.com/file/d/14cuoZfBLHoIuex7po9iaYV8jmakYKmB9/view?usp=sharing
''Bit masking'' hides bits that your not interested in with something called a mask. In [[PLP|Progressive Learning Platform (PLP)]], bit masking can be done by first creating a mask with something like `li $t1, 0b100` then an [[and instruction|Assembly and Instruction]] like `and $t2, $t0, $t1`.
An ''n-bit shifter'' is a combinational component that shifts an n-bit data input by a fixed amount to generate an N-bit data output. Examples are shown here: https://drive.google.com/file/d/1TOtBMW5v44rjwt_xqRn1cvKEdtVMkpLe/view?usp=sharing. Any bits that shift to the right past the original bit width is removed. So for example a right shift would remove the least significant bit. Bit shifting by 1 is the same as dividing by 2, shifting by 2 is like dividing by 4, etc. Same going the other way with multiplication.
A ''binary shift'' of a number left by $$x$$ bits is the same as multiplying the number by $$2^x$$. A binary shift of a number right by $$x$$ bits is equivalent to integer division by $$2^x$$.
A ''bit string'' is a sequence of zero or more bits. The length of this string is the number of bits in the string.
The bit operations can be extended to define bitwise OR, "|" bitwise AND, "&" and bitwise XOR "^" of two bit strings of the same length where the result is the corresponding bits from the two strings. There is also bitwise NOT which is "~" and shift left "<<" as well as shift right ">>". An example is in the note. The bitwise and can be used in java with the exact same affect. ``` 01 1011 0110 11 0001 1101 ___________ 11 1011 1111 bitwise OR 01 0001 0100 bitwise AND 10 1010 1011 bitwise XOR ```
''Black box testing'', ''specification based testing'', ''functional testing'', or ''requirements testing'' is using the code's [[specification|Software Specification]] to determine the tests. It is used for the [[validation|Software Validation]] part of [[validation and verification|Software Validation and Verification]]. This type of testing is normally done in later stages of testing. The idea is that data is fed into the code from one end, and some expected data is supposed to be returned without knowing any of the internal workings. The focus is on assessing functional requirements of the code. A [[test oracle|Test Oracle]] is normally required for this. The goal of black box testing is to reduce the number of [[test cases|Test Cases]] by [[equivalence partitioning|Equivalence Class (Computer Science)]]. Some tools for black box testing are: * QTP * Loadrunner * [[NPM Packages > zombie]] Types of black-box testing: * [[Equivalence partitioning|Equivalence Class (Computer Science)]] * [[Boundary value analysis|Boundary Value Analysis]] * Cause-Effect Graphing * Random testing * [[Regression testing|Regression Testing]] Black Box testing steps: * Requirements and specification is examined * Valid inputs are chosen, and invalid inputs are chosen. * Expected outputs for all inputs are chosen * Test cases are created for the inputs * Test cases are executed * Outputs are compared with expected outputs * Defects are fixed then the inputs are tested again
The ''blackboard architecture'' style is an [[architectural style|Architectural Styles (Software Engineering)]] and a variant of the [[data centered architecture|Data Centered Architecture]] with the difference that updates to the data center are sent to the clients in the form of notifications if the data that is changed may be of interest to the client.
''Boehms spiral model'': Show here: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5N0lidW5iWC05NnM/view?usp=sharing The main difference of this model vs others is it's explicit recognition of risk.
<<list-links "[tag[Book - Fundamentals of Database Systems 7th Ed]sort[title]]">>
<<list-links "[tag[Book - Fundamentals of Database Systems 7th Ed - Chp 1]sort[title]]">>
<<list-links "[tag[Book - Fundamentals of Database Systems 7th Ed - Chp 3]sort[title]]">>
<<list-links "[tag[Book - Fundamentals of Database Systems 7th Ed - Chp 4]sort[title]]">>
5th Edition by Chen <<list-links "[tag[Book - Introduction to Programming Languages]sort[title]]">>
The author of this book is Silberschatz.
The link to this book is [[here|https://drive.google.com/file/d/1MJyy2wiiBObtAIIhjE-cW3wXpDswT7TH/view?usp=sharing]].
The area of logic that deals with propositions is called ''propositional calculus'', ''boolean algebra'', or ''propositional logic''. It was first developed by Aristotle. <div class="tc-table-of-contents"> <<toc-selective-expandable 'Boolean Algebra' sort[title]>> </div>
''Boolean searches'' are when you use propositional logic to filter queries.
The ''bottom-up testing strategy'' is a method of [[integration testing|Integration Testing]] where the subsystems in the lowest layer of the call hierarchy are tested individually, then the systems another level up that call those subsystems are tested, then this is repeated until all subsystems are included. This heavily involves [[drivers|Driver (Software Testing)]]. Here is an [[image of a possible hierarchy|$:/Image - 3 Layer Testing Design]] that could be used with this type of testing. Some pros are: * No [[stubs|Stubs (Software Testing)]] are needed * Useful for testing object-oriented systems, real-time systems, or systems with strict performance requirements Some cons are: * Tests the most important subsystem, which is the user interface, last. * Drivers are needed
''Boundary value analysis'' is one type of [[black box testing|Black Box Testing]] and is where you specifically test values at the extremes of each [[equivalence class|Equivalence Class (Computer Science)]].
The ''bounded buffer problem'' is a variation of the [[consumer producer problem|Producer-Consumer Problem]] and involves [[semaphores|Semaphore (Computer Science)]]. See below: ``` //shared data int n; //buffer data structure semaphore buf_mutex = 1; semaphore empty = n; semaphore full = 0; //producer do { //produce next_produced wait(empty); wait(buf_mutex); //add next_produced to the buffer signal(buf_mutex); signal(full); } while (true); //consumer do { wait(full); wait(buf_mutex); //move from buffer to next_consume signal(buf_mutex); signal(empty); //consume next_consumed } while (true); ``` First step of producer is to reduce the amount of empty spots in the array, so `wait(empty)` is called. See also: * [[Reader-Writers Problem]]
The ''Bridge design pattern'' is a type of structural design pattern @b:0168 is kind of a confusing pattern at the moment. It is meant to separate the abstract elements of a class from the implementation details, providing the means to replace the implementation details without modifying the abstraction. This is used when doing cross-platform work.
Some key highlights of the ''British engineering tradition'' are below: * British engineers mainly learned on the job. This is kind of like "shop culture" vs French, which is like "school culture". The focus is on knowing how, not knowing why. Getting something to work and to pay, were the main criteria. Tinkering and "rules of thumb" dominated practice. * British state neither hired nor trained many engineers. Most were employed in the private sector. The University system that was in Britain was aimed at training clergy, lawyers, and gentlemen, not engineers. * British engineers came largely from working-class and trade backgrounds. So engineering was not a prestigious occupation. It was linked to personal gain and not national interest. Sons of prominent engineers usually chose other professions to move up in the world. A good example of British Engineering is Thomas Newcomen, who developed the steam engine in 1712 with little formal education. Here is an [[image of that first design|Image - Thomas Newcomen and Steam Engine]].
The ''Browser Object Model'' or ''BOM'' is actually outside of the [[DOM|Document Object Model]]. There should be some more notes on this. It sounds interesting. This is represented by the [[window object|JavaScript window Object]] in JavaScript.
Bubble Sort - This algorithm sequentially compares each 2 elements and swaps them if the one at the higher index is smaller than the one at the lower index. It goes through each element and does this, then repeats back over the list until no swaps are made.
A ''fault'', ''bug'', or ''defect'' is the [[mechanical|Mechanical Fault]] or [[algorithmic|Algorithmic Fault]] cause of an [[error|Error (Computer Science)]]. These can be dealt with by using [[fault handling|Fault Handling]] techniques. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Bug (Computer Science)'>> </div>
The ''builder design pattern'' is a type of [[creational design pattern|Creational Design Pattern]] where the goal of the pattern is to produce a complex object with constituent parts that must be created in the same order or according to some algorithm. An external class known as the director controls the construction algorithm. Often the object is a [[facade|Facade Design Pattern]], or [[composite|Composite Design Pattern]]. See also: * [[Gang of Four site for the builder design pattern|http://www.blackwasp.co.uk/Builder.aspx]]
A ''byte'' holds 8 bits (1 byte)
''Byte addressable memory'' refers to a hardware architecture which allows accessing individual bytes of data rather than [[words|Word (Computer Architecture)]].
The java [[compiler|Compiler]] specifically translates into ''bytecode''. Then the java interpreter translates bytecode into [[machine language|Machine Language]] and executes it with the java virtual machine that acts as a CPU. An example of this process is below: [img width=500 [https://i.imgur.com/ZyTkc0E.png]] Bytecode is an example of [[intermediate code|Microsoft Visual Studio]].
The ''atof function'' accepts a [[C string|C/C++ Strings]] and returns a float. If it could not be parsed, then it returns `0.0`.
The ''atoi function'' accepts a [[C string|C/C++ Strings]] and returns an integer. If it could not be parsed, then it returns `0`.
The ''exit function'' can be used to terminate a process. This is implicitly done when the main function returns, or the return statement in the main function calls return. See also: * [[Operating System Zombie Processes|Operating System Zombie Processes]]
The ''fclose function'' can be used to close a [[FILE*|C fopen Function]] type. ``` fclose(file_var_name); ``` * `file_var_name` should be a `FILE*` data type
The ''fopen function'' can be used to open a file, or create one if it doesn't exist. This creates a file stream. The general structure is below: ``` fopen(filename, mode); ``` * Returns a `FILE*` data type * `filename` should be a `const char*` data type * `mode` should be a `const char*` data type and can contain a string such as `"rb"` ** `r` means read ** `b` means binary mode ** `w` means write Always use [[fclose|C fclose Function]] to close the file stream.
The ''fprintf function'' is just like [[printf|C printf Function]] with the exception that the first argument is the location to send the print result to. For example this could be `stderr` to print out an error wherever that might go. All other arguments following the first are the same.
The ''fread function'' can be used to read in data from a given [[FILE*|C fopen Function]] type, into a given [[void*|C Generic Type]] pointer type. The general structure of the function is as follows: ``` size_t fread(void* ptr, size_t size, size_t nmemb, FILE* stream) ``` * The return value is the total number of elements that were successfully read. * `ptr` is the `void*` type to read the data into * `size` is the number of bytes for each element. * `mnemb` is the number of elements, each one with `size` number of bytes This function can be executed successive times to read in chunks of data at a time from a single file stream. Here is an [[example of using this function|$:/Image - Example of using the fread function for experiment data reading]].
The ''fscanf function'' can be used to read in formatted data from a [[FILE*|C fopen Function]] type to a given ``` fscanf(stream, format, <input args>) ``` * Returns an integer representing the number of data successfully read * `stream` should be a [[FILE*|C fopen Function]] data type * `format` should be a `const char*` data type and can be any of the format specifiers in [[scanf|C scanf Function]]. * `<input args>` can be the list of variables to read the data into, just like scanf.
The ''fseek function'' can be used to move the "reading head" of a FILE object by some number of bytes. The general structure is below: ``` fseek(stream, offset, origin) ``` * Returns an int. Not sure what it indicates yet. * `stream` should be a `FILE*` data type * `offset` should be a `long int` data type and indicates the number of bytes to move * `origin` should be an int data type
The ''fwrite function'' can be used to write data to a given FILE pointer type, from a given [[void*|C Generic Type]] pointer type. The general structure of the function is as follows: ``` fwrite(ptr, size, num_elements, stream) ``` * The return value is a `size_t` data type and indicates the total number of elements that were successfully written. * `ptr` is the `void*` type to read the data from * `size` is a `size_t` data type and indicates the number of bytes for each element. * `num_elements` is the number of elements, each one with `size` number of bytes * `stream` is the `FILE*` type to write to This function can be executed successive times to write in chunks of data at a time to a single file stream.
A ''C generic type'' can be represented using `void*`. For example this could be used as an argument for a function so that any type can be passed into it.
A ''header guard'' checks if a constant has already been defined, and if it hasn't to define it in a header file. This way the functions in the file don't get compiled twice. Below is an example of a header guard: ``` #ifndef UTILITIES_H #define UTILITIES_H #include <stdio.h> void flush(FILE *std); #endif UTILITIES_H ``` Header guards make use of [[ifndef and endif|C/C++ Directives]]. Header guards are used in [[modular programming|Modular Programming]]. It isn't exactly clear yet how a file would be compiled twice.
The ''if directive'' allows code to be compiled if the constant expression following it evaluates to a non-zero value. The directive should end with `#endif`. For example: ``` #if 1 // do this thing #endif ```
The basic ''input and output'' or ''IO'' library of C is `<stdio.h>` which can be imported using the [[include directive|C/C++ include Directive]]. The basic input is the keyboard, the basic output is the monitor or console output. Below are some functions of `<stdio.h>`: * `getchar()` returns one character from the input (file, or keyboard entry) every time it is called. After it reaches the last character, it returns `EOF` which stands for end of file. * `putchar()` prints the character passed to it every time it is called. * To input a stream of characters, `fgets()` can be used. Syntax is `fgets(char *tempStr, int n, FILE *inputFile)`. It returns `null` if nothing is read into `tempstr`. ** `*tempStr` is the string of characters that the function will output to, ** `n` is the max characters to read. The function will stop when `n-1` characters are read, or a newline character is reached. ** `*inputFile` is the file to be read, which can be `stdin` for the keyboard input. * [[scanf|C scanf Function]] * [[printf|C printf Function]] * [[atof|C atof Function]] - converts string to float * [[atoi|C atoi Function]] - converts string to int See also: * [[Example - C - Using getChar and putChar]] * [[Example - C - Flush function for clearing stdin]]
The ''linux/list.h library'' can be included with `#include <linux/list.h>`. Some useful structs/functions are below: * `list_for_each(pos, head)` will setup a for loop to iterate through each member of a list ** `pos` should be the [[struct list_head*|C linux/types.h Library]] to use as a loop iterator ** `head` should be the [[struct list_head*|C linux/types.h Library]] for the list. * `list_empty(head)` will test if a list is empty ** Returns an int where 1 is true and 0 is false ** `head` should be a [[struct list_head*|C linux/types.h Library]] data type * `list_entry(ptr, type, member)` will get the struct for a given [[struct list_head*|C linux/types.h Library]] ** Returns a pointer to the wait a sec..... Does this need to be the location of list_head for the value in question? ** `ptr` should be the target [[struct list_head*|C linux/types.h Library]] ** `type` should be the type of the struct this is embedded in, for example `struct task_struct` ** `member` should be the name of the list_head within the struct. The path in the [[linux kernel|Linux Kernel]] documentation is `root/include/linux/list.h`. Here is a [[link to the 4.18.x version of this library in that documentation|https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/list.h?h=linux-4.18.y]].
The ''linux/module.h library'' can be included with `#include <linux/module.h>`. Some useful structs/functions are below: * `MODULE_LICENSE(license_string);` ** `license_string` can be something like `"GPL"` * `MODULE_DESCRIPTION(description_string);` ** `description_string` can be something like `"Simple Module"` * `MODULE_AUTHOR(author_string);` ** `author_string` can be something like `"AGN"` * `module_init(function_name);` The `function_name` function must return an integer value, with 0 representing success, and any other value meaning failure. This function should also not accept parameters. * `module_exit(function_name);` The `function_name` function should return void. This function should also not accept parameters. * `printk(<priorityFlag> message_string)` which is the same as [[printf|C printf Function]], with the difference that it prints to the [[kernel log buffer|Linux dmesg Command]], and that a priority flag can be set. ** `<priorityFlag>` can be `KERN_INFO` for informational messages. The path in the [[linux kernel|Linux Kernel]] documentation is `root/include/linux/module.h`. Here is a [[link to the 4.18.x version of this library in that documentation|https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/module.h?h=linux-4.18.y]].
The ''linux/moduleparam library'' can be included with `#include <linux/moduleparam.h>`. This library allows parameters to be added to a [[loadable kernel module|Loadable Kernel Modules (LKMs)]]. The general format of a loadable kernel module should be declared as follows when using module parameters: # Module parameter variable declarations as global # Module parameter functions from `moduleparam.h` # Module initialization and exit function declaration/implementations Some notable functions that `moduleparam.h` contains are below: * `module_param(name, type, perm)` can set a parameter of a module ** `variableName` is the name of the previously declared variable that will be the module parameter ** `type` is the type of the parameter, such as `int` or `char` ** `perm` can be `0` * `module_param_array(name, type, nump, perm)` When the module parameters are set in this way, then they can be set when [[insmod|Linux insmod Command]] is used by using the variable name used in the declaration, and equal sign, then the value. For example if a parameter named `someInt` is set, then the kernel could be installed using `insmod simple.ko someInt=55`. The path in the [[linux kernel|Linux Kernel]] documentation is `root/include/linux/moduleparam.h`. Here is a [[link to the location of this library for kernel version 4.18.x in that documentation|https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/moduleparam.h?h=linux-4.18.y]]. See also: * [[Basic example of using moduleparam library|$:/Example - Basic usage of moduleparam library]]
The ''linux/pid.h library'' can be included with `#include <linux/pid.h>`. Some useful structs/functions are below: * `find_vpid(nr)` which finds the `struct pid*` of a given integer ** Returns a `struct pid*` ** `nr` should be an integer indicating a [[process pid|Operating System Process pid]] * `struct pid` * `pid_task(pid, pid_type)` ** Returns a `struct task_struct*` ** `pid` should be a `struct pid*` type ** `pid_type` should be an `enum pid_type`, which can just be `PIDTYPE_PID`. The path in the [[linux kernel|Linux Kernel]] documentation is `root/include/linux/pid.h`. Here is a [[link to the 4.18.16 version of this library in that documentation|https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/pid.h?h=v4.18.16]].
The ''linux/rculist.h library'' can be included with `#include <linux/rculist.h>`. Some useful structs/functions are below: * `list_entry_rcu(ptr, type, member)` macro. This gets the struct for the given entry? How would that be useful? More specifically, it does the following: `container_of(lockless_dereference(ptr), type, member)` ** `ptr` should be a [[struct list_head|C linux/types.h Library]] pointer ** `type` is the type of the struct this is embedded in. So this could be something like `struct example_struct` ** `member` is the name of the list_head within the struct. The path in the [[linux kernel|Linux Kernel]] documentation is `root/include/linux/rculist.h`. Here is a [[link to the 4.18.16 version of this library in that documentation|https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/rculist.h?h=v4.18.16]].
The ''linux/sched library'' can be included with `#include <linux/sched.h>`. Some useful structs/functions are below: * `struct task_struct` which is defined on [[line 593 in the documentation and ends on line 1198|https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/sched.h?h=linux-4.18.y]]. It defines a lot of properties, some of the important ones are below: ** `struct list_head tasks;`. See [[struct list_head|C linux/types.h Library]]. ** `char comm[TASK_COMM_LEN];` which is the executable name without the path. ** `pid_t pid;` See [[pid_t|C pid_t Data Type]] ** `volatile long state;` ** `int prio;` ** `int static_prio;` ** `int normal_prio;` ** `struct task_struct __rcu *real_parent;`. What is `__rcu`? ** `struct task_struct __rcu *parent;` ** `struct list_head children;` See [[struct list_head|C linux/types.h Library]]. * `find_task_by_vpid(nr)` which finds a task by its virtual pid. This is in pid.h? ** Returns `struct task_struct*` ** `nr` is a [[pid_t data type|C pid_t Data Type]] The path in the [[linux kernel|Linux Kernel]] documentation is `root/include/linux/sched.h`. Here is a [[link to the 4.18.x version of this library in that documentation|https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/sched.h?h=linux-4.18.y]].
The ''linux/sched/signal.h library'' can be included with `#include <linux/sched/signal.h>`. Some useful structs/functions are below: * `for_each_process(p)` macro which does the following: `for (p = &init_task; (p = next_task(p)) != &init_task;)` ** `p` should be a placeholder [[struct task_struct*|C linux/sched.h Library]] to iterate with * `next_task(p)` macro which does the following: `list_entry_rcu((p)->tasks.next, struct task_struct, tasks)` ** `p` should be a [[struct task_struct*|C linux/sched.h Library]] data type ** See [[list_entry_rcu|C linux/rculist.h Library]] The path in the [[linux kernel|Linux Kernel]] documentation is `root/include/linux/sched/signal.h`. Here is a [[link to the 4.18.x version of this library in that documentation|https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/sched/signal.h?h=linux-4.18.y]].
The ''linux/types.h library'' can be included with `#include <linux/types.h>`. Some useful structs/functions are below: * `struct list_head` which implements: ** `struct list_head *next, *prev;` The path in the [[linux kernel|Linux Kernel]] documentation is `root/include/linux/types.h`. Here is a [[link to the 4.18.x version of this library in that documentation|https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/types.h?h=linux-4.18.y]].
The header for the ''Memory allocation function'' for C that dynamically allocates memory is `void *malloc(size_t size)`. The `<stdlib.h>` library is required to be [[included|C/C++ include Directive]] to use malloc. The function returns a pointer to the initial address of the memory block reserved for that variable. `malloc` is normally used with the [[sizeof() function|C/C++ sizeOf Function]] so that it is an appropriate byte size for the computer at hand. For example, to allocate enough space for an integer: `exampInt = malloc(sizeof(int));`. If the system runs out of memory, malloc will return null. The `void *` part of the initial syntax means that it can return any variable type, because all pointers are considered the same structural data type. To explicitly define what type of pointer is to be defined the following can be used: `exampInt = (int *) malloc(sizeof(int));` which is normally a good practice. In C++ the [[new operator|C++ new Operator]] is used for dynamic memory allocation. A good practice is never to use malloc in C++ because it can cause some difficult to diagnose issues when used in proximity to new. To get free memory that has been reserved by `malloc`, use the [[free function|C/C++ Free Function]]. See also: * [[C/C++ Data Types > size_t]] * [[C/C++ Struct Implementation of Linked List]] * [[Example - C - Multi-dimensional array with Structures using malloc]]
The ''pid_t data type'' is used to store [[process ids|Operating System Process pid]]. This is an alias of a [[signed int|C/C++ Basic Data Types]].
''printf'' is a function in C, part of the [[stdio.h library|C Input and Output]] that can be used to print formatted data to the console. The general format of the function is below: ``` printf("control sequence", expression1, expression2, ... , expressionj); ``` Different control symbols are listed below: * `%d` signifies the next argument is to be an integer. ** `%ld` signifies long int or unsigned long int * `%f` the next argument is to be a floating point number. * `%c` is for a character ** `%lc` signifies wide character * `%s` is for strings of characters ** `%ls` signifies wide character string * `%p` is to print an address, it doesn't get the address but rather simply prints it in a uniform way. So a pointer can be used with this. Any of the control symbols can have a negative number to indicate how much space they should take up. For example `%-10s` will print the string and if there is more space it will fill it with spaces up to 10 characters.
''C'' is an [[imperative programming language|Procedural Programming]]. It was invented and first implemented by Dennis Ritchie between 1969 and 1973, as a system implementation language for the Unix operating system. C has a [[weak type checking|Weakly Typed Programming Languages]] structure to allow a higher level of programming flexibility. There are no classes in C. Below is the table of contents for C: <div class="tc-table-of-contents"> <<toc-selective-expandable 'C Programming Language' sort[title]>> </div>
There is no specific ''string'' type in C. So an array of characters is considered a string. This could be like `char[] = "this is a string!"` See also: * [[C/C++ Strings]] * [[C/C++ Array based Strings]]
''scanf'' is a function in C, part of the [[stdio.h library|C Input and Output]] that can be used to take in formatted data from the console. The general format of the function is below: ``` scanf("control sequence", &variable1, &variable2, ... , &variablek); ``` Each variable passed to `scanf` must be a pointer, so if it is an array, then it does not need the `&` operator. If it is not a pointer, then it does need that operator. The control sequence includes constant strings to be printed such as `"i = %d"` and control symbols to be used. Different ''control symbols'' are listed below: * `%d` signifies the next argument is to be an integer. * `%f` the next argument is to be a floating point number. * `%c` is for a character * `%s` is for strings of characters. If `%s` is used and the user enters spaces, then some stack smashing errors will come up when the user exits the program. It isn't exactly clear yet on how to get around this or do it properly with spaces. ** A number can be put before the `s` to indicate how many characters should be read in. This value should not include the space needed for the [[null terminator|C/C++ Array based Strings]]. For example if a character array was 32 characters long, then `%31s` could be used to indicate the maximum number of characters to read in.
The ''semaphore.h library'' can be used to implement [[semaphores|Semaphore (Computer Science)]] in [[C|C Programming Language]]. This can be included with `#include <semaphore.h>`. Some notable functions and data types are below: * `sem_t` is the data type for semaphores. * `sem_init(sem, visibility, set_value)` ** `sem` should be a `sem_t*` data type ** `visibility` should be an int and indicates what processes can use this semaphore. `0` indicates this process and any of its child processes can use it, so that is typically what it is set to. ** `set_value` should be an int data type and indicates the value to initially set the semaphore to. * `sem_wait(sem)` ** `sem` should be a `sem_t*` data type * `sem_post(sem)` is the equivalent of signal with semaphores. ** `sem` should be a `sem_t*` data type
The ''unistd library'' is the standard library for [[Linux|Linux]] in C.
The ''wait function'' will accept one argument which is a [[process ID|Operating System Process pid]] to wait for. If NULL is provided, it will wait for all of the current process's children to finish before continuing. The `wait` function is typically used with the [[fork function|POSIX fork Function]].
The ''windows library'' contains the standard library for Windows in C.
The ''ctime library'' can be used to represent dates and times. The `<ctime>` library holds the following types: * `clock_t` * `time_t` this seems to be the most useful at the moment * `size_t` * `tm` The structure type `tm` holds the date and time in the form of a C structure having the following elements: ```c struct tm { int tm_sec; // seconds of minutes from 0 to 61 int tm_min; // minutes of hour from 0 to 59 int tm_hour; // hours of day from 0 to 24 int tm_mday; // day of month from 1 to 31 int tm_mon; // month of year from 0 to 11 int tm_year; // year since 1900 int tm_wday; // days since sunday int tm_yday; // days since January 1st int tm_isdst; // hours of daylight savings time } ``` The following methods seem the most useful: * `time_t time(time_t *time)` It seems that this can be called with a `0` and it will return the current time? This should be tested. * `char* ctime(const time_t* time)` This will return a string of the time provided. * `struct tm* localtime(const time_t *time)` Converts a `time_t` type into a `struct tm` so that time can be extracted.
The `<time.h>` library has some useful functions for time. It can be imported with the [[include directive|C/C++ include Directive]]. The functions it seemed useful to take notes on are below: * `clock()` can be used to get the number of clock cycles. This can be used to measure how many clock cycles have passed since a certain point. For example: ``` c1 = clock(); foo(); c2 = clock(); interval = (double) (c2 - c1) // gives the number of clock cycles that passed ``` * `time()` gives the time in seconds. This can be used in conjunction with the `time_t` datatype. For example: ``` main() { time_t start, finish; time(&start); // gets the start time foo(); time(&finish); // gets the end time } ```
The `&` is the ''address-of operator'' that returns the address of the variable. For example if integer `x` is located at address = 2000, then `&x` will return `2000`. Note that the `&x` returns the address value, and not a pointer variable containing the value. Thus `&x` is an [[r-value|Variable (Computer Science)]].
The ''arpa/inet.h library'' can be used for socket connections in C it seems. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'C/C++ arpa/inet.h Library'>> </div>
``` char str1[] = {'a', 'l', 'p', 'h', 'a', '\0'}; char str2[] = "alpha"; ``` The first line of code simply makes a character [[array|C/C++ Arrays]], where the null terminator at the end is required. Declaring the array in the second line of code, tells the compiler that it is a string and will automatically append a `\0` character at the end of the string which is called a ''null terminator''. In ASCII the code for the null character is 0. Keep in mind that the code for the actual value `0` is 48. Appending the null character increases the size of the string by one when using `sizeof()`, and adds a space after the array is printed. That was found out by testing it in C++ with the code in the note. If the length of the character array is restricted so that there is not enough room for the null character, then it will not be included. For example `char str3[5] = "alpha"` will only have the characters `alpha` in it. This is called ''truncated initialization''. `strcpy()` must be used to assign an array based string to another string because they are [[r-values|Variable (Computer Science)]].
An ''array'' in C/C++ is a consecutive series of memory locations with no indicator of when the array ends. This is why length is not a supported function of arrays. An array variable is a [[pointer|C/C++ Pointers]] to a set of consecutive elements. For example when creating an array such as `int a [6];`, finding an element within the array such as `a[2]` is the same thing as saying `*(a+2)`. For this reason an array variable in this case `a` can be treated as an array, or a pointer. ``` typename variablename[length] = {v0, v1, v2, ..., vk}; ``` The other normal combinations of this terminology can be used as well. The length cannot be a variable, but may be an expression. The array must have a length either implicitly, or explicitly stated or it will result in a compiler error. If the length is stated and there is also an initializing array, then if the length is less than the length of the initializing array, it will result in a [[contextual|Contextual Structure]] compilation error. If it is equal, it works as expected, and if it is higher, then the first array values in the array will equal the initializing array, while the rest will be empty. This type of array declaration is based on static memory allocation. Arrays can be declared with [[dynamic memory allocation|C Memory Allocation Function]] though. If there is no other way of finding the length of a particular array besides where the [[sizeof function|C/C++ sizeOf Function]] can be used divided by the sizeof the datatype within it. See also: * [[C/C++ Multi-Dimensional Arrays]] * [[C/C++ Strings]] * [[C/C++ Array based Strings]] * [[Example - C/C++ - Creating a two-dimensional array locally]]
The ''arrow operator'' is sometimes called the pointer to member operator because it can be used to take a [[pointer|C/C++ Pointers]] variable and map to it's [[structure|C/C++ Structure Types]]'s fields. This can be used to access or insert data just like using the field on it's own. For example if a structure as laid out below: ``` struct Contact { char name[30]; long phone; char email[30]; struct Contact *next; // pointer to next Contact in list } *head = NULL; // head is a global pointer to the first entry ``` it can be created with something like ``` struct Contact *p; p = (struct Contact *) malloc(sizeof(struct Contact)); ``` then it's fields can be accessed through the pointer with `p->phone` or even to traverse the list, it could be `p = p->next;`.
All variables end up as a simple number, even things like `char`. They are only turned into their appropriate value when using [[printf|C Input and Output]] or some other function to do that. The 5 ''basic data types'' are: * `char` - 1 byte - This is a character which originally came from C, and is based on the 7-bit ASCII code which only allows 128 characters. This can also be used as number storage, because by definition it is stored as a number. ** `signed` ** `unsigned` * `int` In C, any integer that evaluates to 0 is considered `false` in a statement, and any other value besides 0 evaluates to `true`. `int` can be modified with the following modifiers or ''qualifiers'': ** `signed` which allows for the most significant bit to represent positive or negative values. By default an integer value is signed. A `1` means a negative number, while a 0 represents positive. ** `unsigned` means that only positive values can be represented ** `long` Can have unsigned and signed prefix ** `short` Same as int. Can have unsigned and signed prefix * `float` - 4 bytes * `double` - 8 bytes * `void` Which is valueless * [[pid_t|C pid_t Data Type]] C++ adds two more: * `bool` * `wchar_t` which stands for Wide-character and is based on the 16-bit Unicode which allows $$2^{16}$$ characters. Java's char type by comparison is already based on Unicode. A summary of the different data types are in the note. The [[sizeof function|C/C++ sizeOf Function]] is useful for telling the size of a data type. See also: * [[C/C++ Variable Declaration]] * [[C/C++ register Modifier]] <<_note """ A summary of the different data types, where the minimum bits ''DOES NOT'' seem correct. [img width=700 [https://i.imgur.com/Ps2cwHp.png]] """>>
The syntax graph for the ''Basic Selection Structure'' is shown below: [img width=700 [https://i.imgur.com/gP0rw2G.png]] `<block1>` and `<block2>` can contain zero, one, or a block of statements. A block of statements are enclosed within curly braces. The `<condition>` is any expression that evaluates to an integer value. If the expression is 0, then it is false, any other value is true. This also means that a conditional block can actually be assigned to a variable, or used as a value. In C/C++ there is also a ternary ''conditional operator'' which is indicated by `?:`. The syntax graph for the operator is shown below: [img width=700 [https://i.imgur.com/GtEeQuM.png]] An example of using the operator is below: [img width=700 [https://i.imgur.com/ksWiTyu.png]]
There are two ways to write ''comments'' in C/C++. Multi line comments are done with `/*` and `*/`, while single line comments are done with `//`. A good style guide for C/C++ comments is the [[google C/C++ style guide|https://google.github.io/styleguide/cppguide.html#Comments]].
[[C++ Arrays|C/C++ Arrays]] and [[C++ Pointers|C/C++ Pointers]] are ''complex data types''. The thing to keep in mind with the complex data types is that when a pointer is used it points to the first address of that series of values that make up the data type. The data type name is what tells the compiler how many values to read. In the case of a [[string|C/C++ Strings]], the null delimiter is what tells the compiler that the string is done being read.
''Compound data types'' are composed of several different data types. These types include [[structures|C/C++ Structure Types]], [[unions|C/C++ Union Data Type]], array of structures, linked list of sturctures connnected by pointers, and file types.
The most simple way to declare a [[constant|C/C++ Constants]] is just to use the ''constant qualifier'', for example: `const int min = 5;`. This is equivalent to using final in Java. Although, the [[dereferencing operator|C/C++ Dereferencing Operator]] can be used on a constant declared with the constant qualifier, so it can be modified in that way. For example: ``` const int max = 100; int *temp; temp = &max; *temp = *temp + 10; printf("max = %d\n", max); // The output will be max = 110; ```
''Constants'' can be created in 3 different ways in C/C++: * [[Macros|Macro]] * [[Const Qualifier|C/C++ Constant Qualifier]] * Enumeration constant
''Data Types'' in C/C++ can be summarized with the following table: [img width=600 [https://i.imgur.com/iy1W2Jd.png]] [[Basic data types|C/C++ Basic Data Types]] belong to the arithmetic type. [[Complex data types|C/C++ Complex Data Types]] cover pointer, enumeration, and aggregated types.
`size_t` is normally an [[unsigned integer|C/C++ Basic Data Types]] which specifies a number of bytes.
The ''define directive'' can define some constant, or a simple function. For example: ``` #define MAXVAL 100 #define QUADFN(a,b) a*sqrt(b)+b*b - 2*a*a ``` This will simply replace inside the code, the variables or functions displayed. It will not process them besides simple variable substitution if it is a function. Functions will directly copy and paste their values in. They will not evaluate first. For example: ``` #define ABS(a) ((a<0) > -1 * a : (a)) // with int i = 4; int j = abs(++i); ``` Will result in the code: ``` int j = ((++i<0) > -1 * ++i : (++i)); ``` See also: * [[Example usage of define with line breaks|$:/Example - C/C++ - Macro example with line breaks and assembly]]
The ''dereferencing operator'' is an asterisk `*` and can be used to access the value of the address of a [[pointer variable|C/C++ Pointers]]. When the dereferencing operator is used, and it is combined with the name of the pointer variable, that combination becomes a new variable, that points to the actual value of the variable. For example `int *i = 7;` where `i` becomes the pointer. The dereferncing operator can be placed anywhere between the datatype and the variable name, so try to not let that confuse you. For example `int* i = 7;` is the same as `int * i = 7;` and so on. Try to not do this in practice because it is misleading. When the dereferencing operator is placed before a function like `char *getString() {...}` that means that the function returns a pointer to its return value. When the dereferencing operator is placed before a formal parameter such as `void printString(char *str)` that means that it is using [[call-by-address|C/C++ Parameter Passing]] parameter passing.
''Directives'' are indicated by a `#` and are how [[macros|Macro]] are created in C/C++. This means that the statement following a `#` is interpreted by the [[preprocessor|Program Preprocessing]]. Using `\` in a C/C++ directive statement will result in it determining there is no line break. Here is an [[example of using the no line break character|$:/Example - C/C++ - Macro example with line breaks and assembly]]. Directives will allow evaluation for a few operators it seems. The basic operators of `<`, `>`, and `==` are allowed it seems. So are parenthesis. Some of the different directives are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'C/C++ Directives'>> </div> * `#pragma` such as `#pragma warning(disable: 4996)` for [[visual studio|Microsoft Visual Studio]] because it doesn't like base C 😛. * `#ifndef` creates a block that can be ran if the following symbol is not defined. The block is ended with `#endif`. This is important for blocks of code called [[header guards|C Header Guards]]. * `#ifdef` is similar to `#ifndef`. Here is a [[useful example of how this could be used|$:/Example - C/C++ - Using an ifdef directive]]. * `#elif` can be used within if blocks like `#ifndef` to indicate an else if. See also: * [[C/C++ Predefined Macros]]
''Enumeration types'' are usually used for variables that can take an enumerable ordered set of values. Each of the values is given a name, and they can be used to access the corresponding value. The names are associated with an integer value starting at 0. Each enumeration type is a distinct data type which is named just after the closing brackets of the enumeration. Enumeration types are defined with the keyword `enum`. For example: ``` #include <stdio.h> typedef enum { Sun, Mon, Tue, Wed, Thu, Fri, Sat } Days; ``` Which is actually a shorthand way of using [[typedef|C/C++ typedef]] with an anonymous enum declaration as the type. This will initialize each value to a constant ordered from 0, to the number of values - 1. They can be assigned a value right away though by setting them equal to something. For example: `Sun = 1, Mon = 2, Tue = 3` etc. Then it can be used like so: ``` Days x = Sun, y = Sat; void main () { while (x <= y) { printf("x = %d/t", x); x++; } printf("\n"); } ``` which will produce: ``` x = 0 x = 1 x = 2 x = 3 x = 4 x = 5 x = 6 ```
When something is assigned memory space from [[malloc|C Memory Allocation Function]], it can have that memory removed when it is no longer needed, or otherwise inaccessible by using the ''free function'' which is a type of [[garbage collection|Garbage Collection (Computer Science)]]. `free()` will return the memory linked to the variable, back to the heap. To properly delete something, each one of its components, or structures needs to be deleted. `free()` accepts a pointer as an argument. Whenever a variable is freed, it should then be set to `NULL` right afterwards. See also: * [[Example - C/C++ - Freeing a Linked List]]
A C program consists of one or more ''functions''. The two kinds of functions are built in functions which are pre-written and exist in libraries, and user defined functions written by the programmer. The `main()` function is the entry point of all C/C++ programs. A function definition can include the return value before the name such as `void main()` or `int main()` which is common to indicate an exit value of a program. Specifically, if main does not have a type, it defaults to int in C. Main can also have program inputs just like Java. This would look like `void main(int argc, char *argv[]) {...}`. There are 7 different ways to represent main. Unlike Java, C/C++ functions may exist outside any class or functions, this would cause them to be ''global functions''. `main()` is always a global function. The general form for a function is below: ``` typename function_name(typename name, ... , typename name) { <body> } ``` `void` can be written in place of the `typename` before the function name, or as a placeholder for no parameters within that part of the function declaration. Because C/C++ is compiled procedurally, some issues can arise with how variables are compiled if one function calls another, and the other function calls the original. This is called ''mutually recursive functions''. An example of this is in the note. There is ''multi-scan compilation'' to solve this which is where the compiler scans the code multiple times. For example all names could be stored first, then in the second round the binding between names and memory locations are made. There is also ''forward declaration'' where each function is declared in two steps. A forward declaration and a genuine declaration. Here is an [[example of using forward declaration|Example - C/C++ - Mutually Recursive Functions and Forward Declaration]]. * Forward declaration: Makes the function name known in advance and needs to specify the return type, function name, parameter types, and parameter names. * Genuine declaration creates the binding between memory and names. Most C/C++ compilers today use the multi-scan technique and do not need forward declaration. However forward-declaration is still frequently used to make the program independent of the compiler, and for better readability. Because the forward declarations serve as an index of all functions. See also: * [[C/C++ Parameter Passing]]
In C/C++, [[garbage collection|Garbage Collection (Computer Science)]] should occur when variables or objects acquire memory from the heap, it will need to be deallocated or freed. The [[free function|C/C++ Free Function]] for [[malloc|C Memory Allocation Function]] and the [[delete function|C++ delete Function]] for the [[new operator|C++ new Operator]] will need to be used to free the memory back up.
''Global variables'' are variables that are outside all functions and accessible by all functions within that file's scope.
A ''header file'' has the extension of `.h` and can be imported using the [[include directive|C/C++ include Directive]]. A file can be turned into a header file by changing the extension from `.cpp` or `.c` to `.h`. This is useful for [[C++ classes|C++ Classes]]. [[Libraries|C/C++ Libraries]] are a classification of header file. Header files are considered modules in [[modular programming|Modular Programming]], and in that line of thought, should only contain the specifications for some code. So they should only contain the function declarations, and should include a [[header guard|C Header Guards]]. The associated `.c` or `.cpp` file of the same name should contain implementations. See also: * [[Image - Typical modular programming C layout|$:/Image - Typical modular programming C layout]]
The ''include directive'' can be used by stating `#include` before the [[header file|C/C++ Header Files]] to be included. For example when `#include <iostream>` is used for C++, that means that the preprocessor will include a section of standard C++ code called [[header iostream|C++ iostream Library]]. `#include` is essentially equivalent to `import` in Java. In C++ the `.h` extension does not need to be written after a built-in library name. Once a header file is included, all of the functions, classes, and variables that are used in that file can then be accessed in the same way as if they were copy and pasted at the top of the file. To include a local header file, quotations can be used and the `.h` extension. This differentiates the programming language libraries from local header files. For example a local file called `time.h` could be included by using `#include "time.h"`.
''Inlining'' can be done in C with the keyword `-inline` while in C++ it can be done with `inline`. The benefit of inlining vs [[macros|Macro]] is that if there are simple enough variables, the procedure will be inlined by the [[compiler|Compiler]] (not the [[preprocessor|Program Preprocessing]]) while if it is too complicated, it will be converted into a normal procedure. This allows the computer to make the decision between length of assembly instructions, and processing time. A similar method can be done in Java to this. It is called [[final|Final Method (Java)]].
The syntax graph for the ''while loop'' is shown below: [img width=500 [https://i.imgur.com/LiHfBme.png]] The block of statements will loop until the `<condition>` is `true` or a non-zero value. There is not a [[syntactic|Syntactic Structure]] level loop, there is just the [[semantic|Semantics]] level loop. The syntax for the ''for loop'' is shown below: [img width=700 [https://i.imgur.com/OhyvOSj.png]]
All ''libraries'' are considered [[header files|C/C++ Header Files]] because they have the file extension of `.h`. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'C/C++ Libraries'>> </div>
''C/C++ memory management'' builds on the ideas of [[memory management for programming languages|Memory Management (Programming Languages)]]. * [[Program Runtime Stack|Program Runtime Stack]]: All [[global variables|C/C++ Global Variables]] and items that use the [[static qualifier|C/C++ Static Qualifier]] obtain memory from the stack when the program is launched and the symbol table is read. Keep in mind that addresses in the stack start at the last address available, and move backwards, much like the [[assembly stack register|Assembly Stack Register]]. * [[Heap|Heap Memory (Programming Languages)]]: Using [[malloc|C Memory Allocation Function]] or [[new in C++|C++ new Operator]] uses memory from the heap.
''Multi-dimensional arrays'' can be declared like so: ``` char vals[5][7]; int vals2[2][3] = {{4, 2, 3}, {7, 8, 9}}; ``` If the array contains structures, and needs to be dynamically created, or in other words, created with a variable number of rows and columns, then [[malloc |C Memory Allocation Function]] can be used as shown in [[Example - C - Multi-dimensional array with Structures using malloc]]. In a multi-dimensional array, if the pointer is incremented, it will loop through each row then each column all the way to the end because arrays are stored consecutively. See also: * [[Example - C/C++ - Creating a two-dimensional array locally]]
The syntax graph for the ''switch statement'' in C/C++ is shown below: [img width=700 [https://i.imgur.com/xj6R1Kn.png]] The switch statement follows much of the same operations as the Java switch statement. Here is an [[example of using a switch statement in C/C++|Example - C/C++ - Using a switch statement]]. The reason that switch statements need a `break;` statement after each case is because of how they are implemented with a jump table. A ''jump table'' is the assembly language structure of the switch construct. Here is an [[example of a jump table|Image - C/C++ Switch Jump Table]]. In a jump table, if there is not a break statement, then each subsequent statement will be executed like normal in assembly language.
The ''netinet/in.h library'' has the following parts: <div class="tc-table-of-contents"> <<toc-selective-expandable 'C/C++ netinet/in.h Library'>> </div>
The ''sockaddr_in struct'' has the following definition: ```c struct sockaddr_in { short sin_family; // e.g. AF_INET unsigned short sin_port; // e.g. htons(3490) struct in_addr sin_addr; // see struct in_addr, below char sin_zero[8]; // zero this if you want to }; ``` * `sin_family` can be a few different things it seems: ** `PF_INET` if being used for a server ** `AF_INET` if being used for a client * `sin_port` is the port number ** One way to define this is to use `(in_port_t) htons(3000)` where `3000` can be replaced with the port number. * `sin_addr` is an `in_addr` type ** One way to define this is to use a statement like `sochaddr_in_var.sin_addr.s_addr = hton1(INADDR_ANY)`. This seems like it is specific to a server implementation. There is also the `in_addr` struct which is useful in this context: ```c struct in_addr { unsigned long s_addr; // load with inet_aton() }; ``` Where `inet_aton` can be used as follows: ```c inet_aton("63.161.169.137", &myaddr.sin_addr.s_addr); ``` Further Reading: * Head-First C page 470
The ''C/C++ NULL Value'' is spelled out in all caps. It will result in an error if it is not. This is because `NULL` is actually a [[macro|Macro]] in C.
''C/C++ Operators'' and their associativity (if they are the same level of precedence, then how they are evaluated) are below: [img width=700 [https://i.imgur.com/yJcgrGR.png]] C/C++ uses ''lazy evaluation'' which means an expression will be evaluated only if it needs to. For example if `(i == 0) && j++` is stated, then `j` will only be incremented if `i == 0`. <<_note """ Operators and their precedence from highest to lowest: """>>
See [[parameter passing|Parameter Passing (Computer Science)]] for the basis of ''C/C++ parameter passing''. Normal parameter passing is [[call-by-value|Call-by-Value Parameter Passing]]. In C++, the option to use call-by-alias is available. To declare a [[formal parameter|Parameter Passing (Computer Science)]] `x` in a [[call-by-alias|Call-by-Alias Parameter Passing]] fashion, the [[address-of operator|C/C++ Address-of Operator]] can be prefixed to the parameter. Here is an [[example of a function that uses call by alias parameter passing|Example - C/C++ - Call by Alias Parameter Passing]]. Take note of how [[forward declaration|C/C++ Functions]] is done when doing this. __Call-by-Address__ To use [[call-by-address|Call-by-Address Parameter Passing]], the declaration can include an address, or a pointer variable. The actual value that is passed, will be call-by-value though so changing the pointer will not change the actual parameter. Changing the underlying variable will though of course. This is kind of like just declaring that a pointer is the formal parameter. This is more useful when passing a complex data type such as a string. * [[Call by address with a simple data type|$:/Example - C/C++ - Call by Address parameter passing with a simple data type]] * [[Call by address with a string|$:/Example - C/C++ - Using Call-By-Address with a String]]
A string can also be defined by a [[pointer|C/C++ Pointers]], which actually points to the first character in the string, and when treated like a string, will read until it finds the null terminator. For example: ``` char testString[] = "This is a test"; char *p = testString, *j; ``` A pointer based string cannot be edited. But a pointer based string copied into an array, can be.
The name of a variable's address, is a ''pointer''. Like any variable, a pointer variable is an [[l-value|Variable (Computer Science)]] and the address is an [[r-value|Variable (Computer Science)]]. The data range of a pointer is the address space of the programming language. In C/C++ the data range is the same as an unsigned integer. The operations on a pointer are below: * Assignment operation: An address value can be assigned to a pointer variable. * Integer operations: A pointer variable can be operated like an integer variable, where single increments or decrements to the address increment by the size of the pointer's [[data type|C/C++ Basic Data Types]] in bytes. * Referencing operation: Obtaining the address of a variable `x` from the variable name using the [[address-of operator|C/C++ Address-of Operator]]. * Dereferencing operation: Using the [[dereferencing operator|C/C++ Dereferencing Operator]] which can be done as many times as it is possible. The idea of [[variables |Variable (Computer Science)]] provide the foundation for pointers. Addresses can be used to access unnamed variables. Addresses are useful because they can be incremented. Memory addresses are also numbers so they can be compared to see which one is smaller and manipulated as such. The pointer type is common in all [[imperative languages|Procedural Programming]]. There is no type name for pointers, so a pointer is declared by the type to which it points, and it is declared by using the [[dereferencing operator|C/C++ Dereferencing Operator]]. When declared with nothing else, it just points to 0. For example `int *numberPointer;` if printed, will print 0. An example of using a dereferencing operator with a pointer is below: ``` int i = 137; int *j; j = &i; ``` This results in `i` and `*j` being aliases of each other, while `j` holds the address value of `i`. When using pointers it might be helpful to think of `&` as "location of" and `*` as "value at" for the various levels. __Declaration and Initialization in one Line__ When a pointer is declared and initialized in one statement: `int *j = 13;` both the integer pointer variable `j`, and the integer variable `*j` are initialized. `*j` is assigned 13, while `j` is assigned some address location from the compiler such as `120` as a hypothetical example. These values are linked. If a pointer is declared and it needs to point to the value of a variable, which itself points to a basic value all in one line, then the variable needs to have an address-of operator before it. This is because when a normal value is assigned, it doesn't have an address, so it can be put plainly. Although when a value does have an address, that needs to be specified. If the variable is a pointer, then the variable name can be used without the address-of operator. ``` int n = 4; int *p1 = &n; // results in p1 = &n, and *p1 = 4 ``` See also: * [[Example - C/C++ - Keeping track of pointers in code]]
Some ''C/C++ predefined macros'' are below: * `__DATE__` * `__FILE__` * `__LINE__` * `__TIME__`
A modifier called `register` is a suggestion to the compiler that the variable should be accessed in the fastest way possible. This should be used sparingly because processors only have so many registers.
The ''Scope'' of a variable is from it's declaration to the end of it's block defined by curly braces. Scope in C/C++ is declare-before use which means any variables or functions must be declared before they can be used.
In C++ the `sizeof()` function can tell the number of bytes for that particular variable or data type. In C, it does the same thing, although sizeof is an operator, and not a function. For example `i = sizeof a;` where a is an array.
Anything delcared using the ''static qualifier'' `static` will be loaded into the [[program runtime stack|Program Runtime Stack]], and creates a [[static variable|C/C++ Static Variables]].
A ''static variable'' can provide a way to create a consistent variable that isn't a [[global variable|C/C++ Global Variables]]. They can be created with the [[static qualifier|C/C++ Static Qualifier]]. The advantages of using a static local variable over a global variable are that it puts the variable where it is used, and it prevents other functions from using the variable. Although there may be two static variables with the same name, the one that is more local when used, will be the target of the operation. Here is an [[example of using a static variable in a function|Example - C++ - Static Variable usage in a function]]. If a static variable is declared in the global scope, it is the same thing as a global variable. If a static variable is declared as a class member, it must be initialized outside the class using the [[scope resolution operator|C++ Scope Resolution Operator]]. An example of that is shown below: ``` class Queue { ... static int counter; // declaration within the class ... } int Queue::counter = 0; // initialization outside the class ``` This counter can be incremented in the [[constructors|C++ Constructors]], and decremented in the [[destructor|C++ Destructors]] and keeps track of how many objects of the Queue class exist during runtime. A static variable in a class is shared by all objects of the class. When referencing a static variable from a class, it must have the scope resolution operator even in the class itself. For example `cout << Foo::counterA <<endl;`.
`strcpy(char *str1, char *str2)` will copy the contents from `str2` to `str1`. ''strcpy'' is part of the `<string.h>` library. This will occur even if the contents of `str2` contain more characters than the actual size of `str1` this means that if str1 has 6 characters and str2 has 26, then 26 characters will end up in str1, while str1 still has a size of 6. This is because str1 will report whatever characters it has starting at the first character until it finds a null terminator. The compiler and the runtime system does not know that it is using this extra space though. Three things can happen in this situation. The locations are not allocated to any other variables which is lucky. Locations are allocated to other variables and they have been overwritten, or locations are allocated to other variables and the values will be overwritten later. This leaves a huge responsibility to the programmers. In some environments like visual studio, new functions are added such as `strcopy_s(str1, str2)` and `strcmp_s(str1, str2)` which add security features to prevent code attacks at the instruction level such as [[ROP attacks|Return-Oriented Programming (ROP) Attacks]].
* [[C/C++ Strtok Function]] * `strlen(str)` is better used than `sizeof()` because `strlen` will actually get the string length while `sizeof()` gets the bytes, which if the `wchar_t` is being used, would be two bytes per char. Another feature is that `strlen()` does not include the null terminator, while `sizeof()` does. * [[C/C++ strcpy Function]] [img width=700 [https://i.imgur.com/wcSPpwp.png]]
The ''string library'' can be imported using `#include <string.h>`. This allows strings to be used much like an object, without needing to use strcopy to assign strings. Some functions of the string library are: * [[strtok|C/C++ Strtok Function]] * [[C/C++ string::cstr Function]] * An image of some functions of the string library is in the [[string functions|C/C++ String Functions]] tiddler. See also: * [[C++ String Initialization with String Library]] * [[C/C++ Strings]]
The ''cstr function'' is part of the [[string library|C/C++ String Library]] and allows a string to be copied into a c compatible character array. Here is an [[example of using cstr|Example - C/C++ - Using the cstr Function]].
''Strings'' can be created with an [[array initialization|C/C++ Array based Strings]], [[pointer initialization|C/C++ Pointer Based Strings]], or [[initialization with the string library|C++ String Initialization with String Library]] specifically for C++. See also: * [[C/C++ String Library]] * [[C/C++ String Functions]] * [[$:/Example - C/C++ - Using Call-By-Address with a String]]
`strtok(char *string, char token)` can parse strings where `string` is the string to be parsed and `token` is the point to stop. When the function is first used, it remembers what string it is operating on. The token is not consumed until it is used with `NULL`. This is better shown in the example. [[Link to article|https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/rtref/strtok.htm]] with documentation. strtok is part of the [[string library|C/C++ String Library]]. A great example that shows how tokens are consumed, is shown in the [[C/C++ strtok example|Example - C/C++ - Using strtok function]].
If a [[structure type|C/C++ Structure Types]] has an integer, pointer, or a float, the structure size must be aligned with multiples of 4 bytes in a 32-bit computer, and multiples of 8 bytes in a 64 bit computer. Any extra bytes that are needed are considered padding. This is because after reading one of the aforementioned datatypes, the machine language will start using the [[load word instruction|Assembly Load Word Instruction]] for the entire struct. This is important to consider because if for example a character is added right after an integer, then an other integer is added followed by a character, that is 4 bytes, followed by 1 byte, 3 padding bytes, 4 bytes, 1 byte, and 3 more padding bytes. So it is much more efficient to put the smaller types towards the end of the struct declaration. If a structure does not have integer, pointer, or float it will not be read with the "load word" instruction, but rather the "load byte" instruction meaning no padding will be used. See also: * [[Example - C/C++ - Struct Size for 32-bit Computer]]
``` struct type_name { type field1; type field2; ... type fieldn; } optionalVariablesToDeclare; ```
``` #include <stdio.h> #include <stdlib.h> // used for malloc struct Contact { char name[30]; long phone; char email[30]; struct Contact *next; // pointer to next Contact in list } *head = NULL; // head is a global pointer to the first entry int insertion(); int search(); int insertion() { struct Contact *p; p = (struct Contact *) malloc(sizeof(struct Contact)); if (p == 0) { printf("out of memory\n"); return -1; // works as an error code. } printf("enter name, phone, email \n"); scanf("%s", p->name); scanf("%d", &p->phone); // & used because phone is a value and not a pointer scanf("%s", p->email); p->next = head; // sets the current head to the next contact head = p; // sets the current head to the new contact return 0; } ```
A ''structure'' can be created with the `struct` keyword. The general syntax is in the note. Variables can be declared directly after the struct declaration, or on their own with the following syntax after the struct has been established: `struct exampleType s, t;` where `s` and `t` are now `exampleType`s. The keyword must go before the type name. Structures function a bit like classes in Java. Their fields can be accessed with [[dot notation|Dot Notation]]. An example of a linked list implementation is in the note. Table of contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'C/C++ Structure Types'>> </div>
The ''connect function'' can connect a [[socket.h socket|C/C++ sys/socket.h socket Function]] to a server of some kind. It has the following general form: ```c connect(int sockfd, const struct sockaddr *addr, int addrlen) ``` * `sockfd` can be an integer returned from the [[socket function|C/C++ sys/socket.h socket Function]]. * `addr` can be a pointer to a [[sockaddr struct|C/C++ sys/socket.h sockaddr Struct]] * `addrlen` seems to be able to be something like `sizeof <addr-variable>` * returns an integer which is 0 if succesful or 1 otherwise.
The ''sys/socket.h library'' contains some data structures and functions which can be used to build [[sockets|Sockets]] in C/C++. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'C/C++ sys/socket.h Library'>> </div> See also: * [[Link to Open Group documentation on the socket.h library|https://pubs.opengroup.org/onlinepubs/7908799/xns/syssocket.h.html]]
The ''send function'' can be used to send data over a socket.
The ''sockaddr struct'' is a [[c structure|C/C++ Structure Types]] and seems to be mainly used as a way to cast other data types to this one. Some data types that can be cast to `struct sockaddr` are below: * [[sockaddr_in|C/C++ netinet/in.h sockaddr_in Struct]]
The ''socket function'' can be used to create a new socket. It has the following general form: ```c socket(int domain, int type, int protocol) ``` * `domain` is a communication domain. A couple options are below: ** `AF_INET` is a macro. This is for IPv4 ** `AF_INET6` is a macro. This is for IPv6 * `type` is a communication type a couple options are below: ** `SOCK_STREAM`, this is a macro, so it can be written as is. This is for [[TCP|Transmission Control Protocol (TCP)]] ** `SOCK_DGRAM` also a macro. This is for [[UDP|User Datagram Protocol (UDP)]]. * `protocol` which should be `0` for internet protocol (IP). * returns an integer which is a socket descriptor
''typedef'' is a keyword in C/C++ and allows the creation of different variables based on another datatype. For example, `typedef int newNumType;` allows the use of `newNumType` in all ways that an integer can be used. A new variable can be declared after that statement with `newNumType x = 3;` `typedef` is useful when some additional useful information is wanted for a variable. That way it is easier to read the code.
A ''union type'' is a shared region of memory that over time can contain different types of values, but at any one time can only have one value. The general syntax for a union type is similar to a [[structure data type|C/C++ Structure Types]], and is in the note. Union variables can be declared directly after the union declaration, or on their own with the following syntax after the union has been established: `union exampleType s, t;` where `s` and `t` are now `exampleType`s. An initialized union type variable will have the size of the largest field declared in the union type's declaration. Accessing a union type can be done with dot notation referring to the field requested. An example of this is in the note. Unions can be useful when the type of the data is variable but only one of the different types are needed. For example if there is a `struct` that needs an ID and there are two different kinds of ID such as faculty ID and student ID. Then that struct could contain a union data type that will only contain one or the other and save on space. This could be done with a C++ generic class as well. <<_note """ __Struct general syntax:__ ``` union union_name { type field1; type field2; ... type fieldn; } optionalUnionVariablesToDeclare; ``` __Accessing a union type:__ ``` union utype { char ch; int x; } v; v.x = 124000; v.ch = 'C'; // This overwrites the previous assignment ``` """>>
[[Variable declaration|Variable Declaration (Computer Science)]] can be done in C/C++ with the following syntax: `qualifier typename variableNames` where `variableNames` can be multiple and separated by a comma. [[Example - C/C++ - Variable Declarations]]
hide
hide
''Attributes'' in [[C#|C# Programming Language]] are additional pieces of declarative information for a program entity. See also: * [[Fairly good guide on attributes|https://www.codeproject.com/Articles/2933/Attributes-in-C]] * [[Microsoft documentation on C# attributes|https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/attributes/]]
''C#'' was developed by Microsoft and announced in June 2000. The language is derived from [[C++|C++ Programming Language]] and [[Java|Java]]. It was implemented as a "full" [[object oriented language|Object Oriented Programming (OOP)]] without [[primitive types|Primitive Data Types]]. C# also emphasizes component-oriented programming which is a refined version of object oriented programming. The idea is to assemble software systems from pre-fabricated components. It sounds like it's good to use with .NET.
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'C# System.Windows Namespace'>> </div> See also: * [[Windows documentation on the System.Windows namespace|https://docs.microsoft.com/en-us/dotnet/api/system.windows?view=netframework-4.8]]
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'C# System.Windows.Controls Namespace'>> </div> See also: * [[Microsoft documentation on the System.Windows.Controls namespace|https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls?view=netframework-4.8]]
The ''DataGrid class'' is part of the [[System.Windows.Controls namespace|C# System.Windows.Controls Namespace]] and is a control which displays data in a customizable grid. See also: * [[Microsoft documentation on the DataGrid class|https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.datagrid?view=netframework-4.8]]
The ''ItemsControl class'' represents a control that can be used to present a collection of items. Some properties of an `ItemsControl` object are below: * [[ItemsSource|C# System.Windows.Controls.ItemsControl.ItemsSource Property]]
The ''ItemsSource property'' of an [[ItemsControl object|C# System.Windows.Controls.ItemsControl Class]] can be used to get or set a collection used to generate the content of the `ItemsControl` object. The `ItemsSource` property can be used in XAML to indicate the appropriate data binding. For example: ```xml <object ItemsSource="bindingDeclaration"/> ``` where * `bindingDeclaration` is a [[binding declaration|C# System.Windows.Data.Binding Class]]. See also: * [[Microsoft documentation on the ItemsSource property|https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.itemscontrol.itemssource?view=netframework-4.8]]
The ''Binding class'' provides high-level access to the definition of binding, which binds properties of different objects and any data source. A ''binding declaration'' is See also: * [[Windows documentation on the Binding class|https://docs.microsoft.com/en-us/dotnet/api/system.windows.data.binding?view=netframework-4.8]]
''Abstract classes'' are any class that contain an [[abstract function|C++ Abstract Functions]]. An object cannot be instantiated from an abstract class.
''Abstract functions'' are based on the same idea as [[abstract methods in computer science|Abstract Method]]. To create an abstract function, the [[virtual keyword|C++ virtual Keyword]] can be used followed by the return type, function name, and parameters, then set to 0. For example: ``` virtual void print_object() = 0; ``` This requires the abstract function be overridden in the derived classes, because having it equal to 0 will throw an error probably. See also: * [[C++ Abstract Classes]]
The three ''access privileges'' or ''access specifiers'' in C++ are: * public: where each member can be accessed by any functions inside or outside the class * private: Members can only be accessed by functions within the same class * protected: The member can only be accessed by member functions within the same class and the inherited classes
The syntax graph for a ''class'' is shown below: [img width=700 [https://i.imgur.com/o44A1DY.png]] Notice that a class has the curly bracket to close it and a semi colon, while the members don't have semi colons. Members of a class in C++ can be put outside the class declaration with the [[scope resolution operator|C++ Scope Resolution Operator]]. Classes can also be held in a separate file by turning them into a [[header file|C/C++ Header Files]]. Classes can also be structured in a more distributed way, which is the required way for [[CSE 240|CSE 240]], such that the declarations are held in a `classname.h` file and the implementations are held in `classname.cpp` then yet another file can handle the main function which [[includes|C/C++ include Directive]] the `classname.h` file. An object of a class can be instantiated locally with `ClassName classObjectVariableName();` or the [[new operator|C++ new Operator]]. If the object is instantiated the first way, it is assigned to the [[stack|Program Runtime Stack]] and does not need to be [[deleted|C++ delete Function]]. The default [[access specifier|C++ Access Privileges]] for class members is private. See also: * [[C++ Friend Classes]] * [[C++ Abstract Classes]] * [[C++ Virtual Base Classes]] * [[Class Containment]] * [[Class Members (Computer Science)]]
The tilde `~` represents a ''complement operation'' in C++. For example a [[destructor|C++ Destructors]] is the complement operation of a [[constructor|C++ Constructors]].
These seem almost the same as the [[basic idea of constructors|Constructors (Computer Science)]]. To make a constructor in C++ the same name as the class must be used followed by the parameters. To use the constructor of a base class that has parameters, the derived classes name must be used, followed by the name of the base classes constructor. Here is an example of using [[inheritance with a constructor and destructor|Example - C++ - Inheritance with constructor and destructor]]. If the chosen base class constructor has no parameters, it will automatically be called by calling a constructor of the derived class. The furthest base class's constructor will be called first when a derived class is created, then the next derived, and next, until the derived classes constructor is reached. This is because the derived class may use the base classes variables in it's constructor. See also: * [[C++ Multiple Inheritance]]
The ''delete operation'' will call the [[destructor|C++ Destructors]] of an object that was created with the [[new operator|C++ new Operator]] and return the memory to the [[heap|Heap Memory (Programming Languages)]]. The general syntax is `delete pointer;` or `delete[] pointerArray;`. To delete an array of objects, a loop can be used or the `delete[] p` operation where `p` is pointing to an array of objects or structures. See also: * [[Example - C/C++ - Deleting a Linked List]] * [[Example - C/C++ - Deleting a character array]] * [[Example - C++ - Inheritance with constructor and destructor]]
''Destructors'' are a member function with the same name as its compliment member function but prefixed with the tilde or `~` which signals a [[complement operation|C++ Complement Operation Operator]]. A destructor cannot have any parameters or a return value, and thus it cannot be [[overloaded|Function Overloading (Programming Languages)]]. A class can have one destructor it seems. A destructor is called when: * A function exits and a local object from the [[stack|Program Runtime Stack]] goes out of scope. This will call the destructor of each object before the function completely exits. * When a program ends and global or static objects exist. * When the [[delete function|C++ delete Function]] is called. * When the destructor is explicitly called. When the destructor of a derived class is called, the derived class destructor will run first, then the base class destructor will be called.
The ''Fast Light ToolKit'' or ''FLTK'' is a GUI written in [[C++|C++ Programming Language]] for C++ programs. It can be used on [[Linux|Linux]], [[Windows|Microsoft Windows]], [[Mac OSX|Mac OSX]] and DOS apparently lol. GUI Toolkits in C++ normally refer to objects like buttons, input boxes, scrollbars etc as widgets. So FLTK follows this as well. The base class for all widgets is [[Fl_Widget|FLTK Fl_Widget Class]]. All programs using this must use the following snippet: ```cpp #include <FL/Fl.H> #include <FL/Fl_Window.H> ```
''Friend classes'' allows a [[C++ class|C++ Classes]] to give access to any other particular classes or functions through the use of the `friend` keyword. A friend function has the same access privileges as a function within the class, so it can access private data members. A friend class can access all of the functions in the source class, and only the public [[data members|Instance Variable / Attribute / Data Member / Field / Data Field]] of the source class. For example: `friend class Cylinder;` declares the class `Cylinder` as a friend.
''Inheritance'' follows the same principles as the [[general idea of inheritance|Inheritance]]. In C++ the parent class is called the base class, and the child class is called the derived class. To use inheritance the following can be used where the colon is just like using `extends` in Java: ``` class Consultant : public Employee { // new members here } ``` In this example, public inheritance is used. The access specifier before the base class name determines the maximum level of access for the members that are inherited from the base class. So if the base class has a public member, and protected inheritance is used, that public member will then be protected to any users of the derived class. Here is a [[table of the different inheritances and their impact|Image - Table of Inheritance Access Specifiers]] if needed. See also: * [[C++ Multiple Inheritance]] * [[Example - C++ - Inheritance with constructor and destructor]] * [[Overriding base classes|C++ virtual Keyword]]
The ''insertion operator'' is indicated by `<<` and means to insert whater follows into the location preceding it. For example: ``` std::cout << "Hello World!"; ``` will insert `"Hello World!"` into the computer screen location which is part of the [[iostream library|C++ iostream Library]]. It can also be used in the other direction with the same principle using `>>`. The insertion operator can be used to concatenate strings as well. An example of that is in the note. <<_note """ Concatenating strings example: ``` sum = i + j; cout << "Sum is " << sum << endl; // Prints the sum ``` """>>
The `<iostream>` library is the C++ I/O library package, vs [[stdio for C|C Input and Output]] which can still be used in conjunction with iostream because all the functions of stdio are included in iostream. `endl` is the C++ newline function. When using this library, statements can begin with `std::cout` which stands for ''standard character output device'' which is usually the computer screen. An example of using cin is below: ``` cout << "Please enter a row number where the patron wants to sit. \n" << endl; cin >> row; ``` See also: * [[Example - C/C++ - Using iostream and stdio libraries together]] * [[C++ Namespaces]] * [[C++ Insertion Operator]]
''Maps'' in C++ can be used in a few different ways. It seems that their elements can be selected by doing something like `mapVariable["element name"]` which will return a reference to that element. It seems that simply setting something that isn't already set just creates a new entry as well. For example `mapVariable["newVar"] = 32;` Would create a new map entry with title "newVar" which is set to the value `32`.
[[Visual studio|Microsoft Visual Studio]] has a built in tool to detect some memory leaks which can be enabled by using the following in a program: ``` #define _CRTDBG_MAP_ALLOC #include <stdlib.h> #include <crtdbg.h> // Other code here _CrtDumpMemoryLeaks(); // call memory leak reporter before returning at the end of the program. ``` A [[memory leak table|Memory Leak Tables]] can also be written. See also: * [[C/C++ Garbage Collection]] * [[Garbage Collection (Computer Science)]]
C++ allows for [[multiple inheritance|Multiple Inheritance]] although it is discouraged because it is error prone. Multiple inheritance can be declared much like [[single inheritance in C++|C++ Inheritance]] with the exception of using a comma to separate the different base classes like so: ``` class Consultant : public Employee, public ConsultingCo { // new members here } ``` The order in which the base classes are listed after the derived class name, is the order in which the constructors will be called. In this case, the constructor for `Employee` will be called, then `ConsultingCo`, then `Consultant`. If a class inherits two classes in the same hierarchy, then a [[virtual base class|C++ Virtual Base Classes]] can be used to prevent duplicate members. See also: * [[Example - C++ - Virtual Base Class Multiple Inheritance usage]] * [[C++ Constructors]]
''Namespaces'' seem kind of like packages in Java. For example when the statement `std::cout` is used, it means that it is referring to the `cout` object of the `std` or "standard" library. It is also called the fully-qualified name of `cout`. The namespace does not need to be used in each statement of an object if it is declared visible by using ''visibility declarations''. To do that, `using namespace std;` can be written at the beginning of a program to allow unqualified use of `cout`. An example of that is in the note. <<_note """ Example of using declarations: ``` #include <iostream> using namespace std; int main() { cout << "Hello World! "; cout << "I'm a C++ program"; } ``` """>>
The ''new operator'' can instantiate a new object in C++, add it to the [[heap|Heap Memory (Programming Languages)]], and return it's address. Because it returns an address, it must be used with a pointer. The different ways of using the new operator are below: ```cpp class Contact { public: char name[30]; int phone; }; Contact *c1; c1 = new Contact(); delete c1; Contact *cA1[2]; // Creates an array of pointers which need the arrow operator to be accessed. cA1[0] = new Contact(); cA1[1] = new Contact(); delete cA1[0]; delete cA1[1]; Contact *c2 = new Contact(); delete c2; Contact *cA2 = new Contact[2]; // Creates an array of objects which can be accessed with dot notation. delete[] cA2; ``` When an object is created using new, it will use memory from the heap for all of the data members, and function members. Although, the local variables within the functions will get their memory from the stack when they are executed. Whenever an object is created using new, it needs to be deleted using the [[delete function|C++ delete Function]] because the program will not delete the object from the heap when it is closed. When new is used on an array of objects, it calls the default constructor of the objects once for each member of the array. When using the array notation of new, parameters cannot be passed to the constructors. Here is an [[example of making an array of objects|Example - C++ - Using new to make an Array of Objects]].
A local ''object'' of a [[C++ class|C++ Classes]] allocated using something like `Queue r();` can be accessed with dot notation. For example `r.enqueue(int)`. If one is created this way, then the program will automatically get rid of it during [[garbage collection|C/C++ Garbage Collection]]. An object created from the heap by creating a pointer, aka using the [[new operator|C++ new Operator]] can be done like: ``` Queue *s; s = new Queue; ``` which can be accessed with the [[arrow operator|C/C++ Arrow Operator]] like so: `s->enqueue(int);`.
''Operator overloading'' allows custom behavior to be applied when using operators for particular objects. For example how should `employee1 + employee2` evaluate? That can be determined by operator overloading. To overload an operator, it must be defined in a class for the object type that it will apply to. Generally the overloading syntax is as follows: ``` returnType operator+(const paramType &p) { ... } ``` where the `+` can be swapped with the target operator. It also should be treated as [[call-by-alias|Call-by-Alias Parameter Passing]] which is why the [[address-of operator|C/C++ Address-of Operator]] is there. Here is an [[example of overloading an operator for a cylinder class|Example - C++ - Overloading Operators for a Cylinder Class]]. To define prefix overloading, `++` or `--` can be used in the normal position, just after `operator`, without a parameter. This tells the compiler that it is a prefix. Prefix overloading returns the modified object. Postfix overloading can be done by putting an int parameter type. Postfix overloading returns the object before being changed by saving it to a temporary variable, then the object is changed, and the final statement is returning the original object. Not all operators can be overloaded. Here is a [[list of operators in C++ that cannot be overloaded|Image - C++ Operators that cannot be overloaded]].
''Polymorphism'' in C++ is largely based on the [[general idea of polymorphsim|Polymorphism]]. When variables are declared as a certain type, they can be re-assigned to any derived types. For example: ``` class ContactX { }; class ContaxtX2 : public ContactX { }; int main() { ContactX2 cX2; ContactX *cX = &cX2; } ``` Those derived types can be accessed using only the dynamically bound members of the original type, which can be designated with the [[virtual keyword|C++ virtual Keyword]]. An [[example of some types and use of the virtual keyword is here|Example - C++ - Polymorphism using the virtual keyword]]. If a member in a derived type does not exist in the base type, then it cannot be accessed in this way. If the virtual keyword is used in the base type, then the actual object type's member with the same name as the declared type's virtual member will be called. [[Type casting|C++ Type Casting]] can be used to be able to access all members of the target class somehow? Need more notes on this or an example.
''C++'' is an [[object oriented programming|Object Oriented Programming (OOP)]] language, and an [[imperative programming language|Procedural Programming]]. C++ can be used to write [[C|C Programming Language]] programs too. Some history of C++ is in the note. C++ was originally called ''C with Classes'', developed by Bjarne Stoustrup in 1980 at Bell Labs, then revised and renamed in 1983 to C++. C++ was considered a better C because of its strong type checking. The table of contents for C is below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'C++ Programming Language' sort[title]>> </div>
In C++, member functions can be within the class definition if they are short, or outside the class definition, or even the class file if they are long. The ''scope resolution operator'' defines which class a function outside of a class belongs to. This also allows for the implementation of a class's members to be in a completely separate `.cpp` file than the one holding the main function. The scope resolution operator consists of the class name and two consecutive colons. The general format is: ``` return_type class_name::function_name(parameters) {...}; ``` Within the class, the function needs to be declared by using the return type, function name, and parameters. For example: ``` private: bool compact(void); // implementation outside class ``` See also: * [[C/C++ include Directive]] * [[C++ Classes]] * [[C/C++ Static Variables]]
``` #include <string.h> void main() { string cat1 = "Max", cat2, temp; temp = cat1; cat1 = cat2; cat2 = temp; int length = cat1.size(); } ```
''Type casting'' is largely based on the [[original idea of type casting|Typecasting (Programming Languages)]] and can be done in C++ like so: ``` int x = 7; double f = (double) x + 5; ``` or ``` int x = 7; double f = static_cast<double>(x + 5); ``` Descriptions for the different types of casts are below: * `const_cast`: Converts a variable or object into a constant one. * `static_cast`: Removes type restrictions and reclassifies the target type as long as they are [[structurally equivalent|Structural Equivalence (Type Checking)]]. This is a safe way to do casts. * `dynamic_cast`: This is normally used to cast a pointer of an object to it's base class, or from the base class down to the derived class if that is what the object is. Dynamic cast is not checked by the compiler so it is up to the programmer to make sure it works correctly. * `reinterpret_cast`: This is a more powerful but dangerous version of dynamic cast. This allows objects as well as pointers to be casted. It can convert unrelated objects and even change a larger object to a smaller one through truncation. The smaller one can not be turned back into the larger one because that data is lost. This should only be used if static and dynamic casts do not work.
A ''virtual base class'' is used when multiple inheritance results in one class being inherited from twice, or more. This is sometimes called the ''diamond problem''. `virtual` can be placed before the base class that could possibly be duplicated in the declaration of the derived classes that use it. Here is an [[example of using the virtual base class|Example - C++ - Virtual Base Class Multiple Inheritance usage]]. The virtual base class indicates that there should only be one copy of the designated base class. Otherwise there will be two, when a member from the base class in conflict is called.
The ''virtual keyword'' allows a function or data member of a base class to be ''overridden'' in the derived classes. If a member is prefixed with the keyword `virtual` it can, although does not need to be, put before the members that will be overriding it in the derived classes. Here is an [[example of polymorphism without the virtual keyword|Example - C++ - Polymorphism with non-dynamically bound members]], and [[one with the virtual keyword|Example - C++ - Polymorphism using the virtual keyword]]. See [[polymorphism|C++ Polymorphism]] for a couple more specific details on the virtual keyword as it pertains to polymorphism.
A ''Caesar cipher'' is a simple approach to encoding messages where you shift each letter a constant number of spots in the alphabet. To improve this, a repeating key can be used. For example if you have a key value of "317425" then the first character is shifted 3, then the second is shifted 1, third shifted 7, etc shifting for each letter in the message and following back through the key. This key could be stored in a queue where once a value is used, it's put back at the tail of the queue.
''Call-by-address'' is also called ''call-by-pointer'' and is where the address of the actual parameter is passed into a local variable of the function, and is then treated like [[call-by-value|Call-by-Value Parameter Passing]]. The benefit of this is the address can be resolved to edit the actual data that is stored at the address. See also: * [[C/C++ Parameter Passing]]
''Call-by-Alias'' or ''call-by-reference'' or ''call-by-variable'' is where the formal parameter is an alias name of the actual parameter. This means that changing the formal parameter changes the actual parameter. It also means that the actual parameter must be a variable because a [[literal value|Literals (Programming Languages)]] cannot have an alias. This method of parameter passing is supported by [[C++|C++ Programming Language]] but not [[C|C Programming Language]]. See also: * [[C/C++ Parameter Passing]]
In ''call-by-value'' parameter passing, the [[formal parameter|Parameter Passing (Computer Science)]] is a local variable of the function. It is initialized to the value of the actual parameter. So modification of formal parameters has no impact on the actual parameters. The advantage of call-by-value is that it is considered a reliable programming practice and has no side-effects.
''Callbacks'' are functions that are slipped or passed into another function to decide the invocation of that function. An example of this is the parameter for the [[filter function in JavaScript|JavaScript Array.prototype.filter Function]].
A ''canonical form'' is a standard form of boolean equations similar to a truth table, where it only displays the values that results in 1 or "true". These also occur in algebra, for example the canonical form of a polynomial of degree two is $$ax^2 + bx + c$$.
A 4-bit ''carry-ripple adder'' takes three full-adders and one half-adder to add two 4-bit numbers together and through a carry bit out as well. This design can be thought of just like adding numbers together on paper. You start with the smallest, carry a number, and add the next three numbers together. It is the same in every way. The design is shown here: https://drive.google.com/file/d/1qGoGYbnjBhgcxFubrBcDVYCT5X6-slRq/view?usp=sharing. Because this is the same as adding basic numbers, you can tie multiple 4 bit adders together to make a bigger one as long as it has the carry in bit like shown here: https://drive.google.com/file/d/1KJX8UQf_rbNWl6RKhOKWKaj9K3oJeaUM/view?usp=sharing. A calculator block design with two 8 bit adders and an 8 bit register to show the value (and prevent it from flashing incorrent values before it ripples all the way through) is shown here: https://drive.google.com/file/d/1yy3G7pXh-_jf64p9ZITmyh32KpWYJ4Uf/view?usp=sharing. A 32-bit adder in the carry-ripple style comes to 384 transistors with the gate designs shown here. Using an n-bit adder, it would come to 100 billion transistors, so its a very good example of good circuit design.
''Cascading'' is where a variable is usable within the node that it is created, or nodes nested within it.
In order to convert floating point numbers to integers you need to use a ''cast operator''. Write the casting operator before the expression that you want to convert. An example is in the note. It discards the fractional part of the floating point number. When applying the cast operator to an expression, you need to enclose the expression in parenthesis. int dollars = (int) (total + tax) If you want to round the number instead of throw away the extra, use Math.round(variable); For example int rounded = (int) Math.round(balance); <<_note """ ``` double balance = total + tax; int dollars = (int) balance; ``` """>>
The ''central limit theorem'' says that for any [[population|Statistical Population]], if a sample is large enough, then the distribution of the sample mean is approximately normal. This means that the sample mean $$\overline{X}$$ is a [[normal random variable|Statistical Normal Random Variable]] with the same mean as the population, but [[variance|Standard Deviation]] $$n$$ times smaller, where $$n$$ is the number of values in the sample. So the mean becomes: $$\mu_{\overline{X}} = \mu$$ and the variance becomes $$\sigma^2_{\overline{X}} = \frac{\sigma^2}{n}$$. A good rule of thumb is that if the sample size is greater than 30, then it is approximately normal.
The ''Central Processing Unit (CPU)'' performs program control and data processing. Pretty much all CPUs are [[microprocessors|Microprocessor]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Central Processing Unit (CPU)'>> </div>
''Centralized version control systems'' are [[version control systems|Version Control System]] where a single master [[repository|SCM > Repository]] maintains all versions of the software components that are being developed. For a centralized VCS, if a component is checked out (a file or something) by 1 person, then another person tries to check out that file, it will give them a warning that someone else is currently working on it. This differs from how [[distributed VCSs|Distributed Version Control System (dVCS)]] work. Some different centralized VCSs are below: * SVN * I think that Team Foundation Server from Microsoft is an example of this. Which may now be called Azure DevOps.
''CFAST software'' which stands for ''Consolidation Model of Fire and Smoke Transport'' is located at this [[github repo|https://github.com/firemodels/cfast]].
A ''chain of custody'' is a record of how evidence has been handled from the moment it was collected to the moment it was presented in a court. Some things that are included are: * Who owns it * Full name and signature of each person possessing the evidence and for how long * When * Timeline * Location of the evidence Personal note: It could be easier to record yourself doing any kind of work with evidence so that if something is forgotten, it can be retrieved from the recording. This recording should also have a camera fixed on the screen ideally. See also: * Notes on [[digital forensics evidence|Digital Forensics Evidence]]
The ''chain of responsibility design pattern'' is used to process varied requests, each of which may be dealt with by a different handler. This design pattern allows for a series of handlers to be created in a linked list or chain. The request is passed to the first handler in the chain, which will either process it or pass it on to it's sucesor. This continues until the request is processed or the end of the chain is reached. This is used in exceptions @b:0015.
''Change management'' is part of [[configuration management|Software Configuration Management (SCM)]] and involves keeping track of requests for changes to delivered software from customers and developers. This also involves working out the costs and impact of making the changes, and deciding if and when the changes should be implemented. A big part of change management is traceability. Change management processes identify: * What system [[artifacts|Software Artifact]] changed * Why it needed to be changed * Who made the change and when it occurred. Some change management processes involve informing stakeholders of changes. Often there is something called a ''Change Control Board'' or ''CCB'' evidently.
''CheckStyle'' is a [[static analysis|Static Testing]] tool that can be used in [[Eclipse|Eclipse IDE]] or [[Gradle|Gradle]], and other build tools. It seems that sometimes when you try to get it directly from the Eclipse marketplace, it does not work. So try to download it directly and add the software as an archive. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'CheckStyle (Static Analysis Tool)'>> </div>
The ''CheckStyle Gradle plugin'' is a [[gradle plugin|Gradle Plugins]] that incorporates [[CheckStyle|CheckStyle (Static Analysis Tool)]] into the build process. Apparently configuration is setup with the [[CheckstyleExtension|https://docs.gradle.org/current/dsl/org.gradle.api.plugins.quality.CheckstyleExtension.html]]? See also: * [[Main page for the CheckStyle Gradle plugin|https://docs.gradle.org/current/userguide/checkstyle_plugin.html]]
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Chrome Web Store'>> </div>
A ''pulse'' is a change from 0 to 1 then back to 0. A pulsing enable signal is called a ''clock signal''. This might be indicated on a circuit next to the end of a channel with 'Clk1' for example. Designers typically use an ''oscillator'' to generate a signal alternating between 1 and 0 at a constant frequency which typically has no inputs other than power, and has an output representing the clock signal like shown here: https://drive.google.com/file/d/0B5Qq4fe-ZajTR0RQM05FTzdTeVU/view?usp=sharing. A clock signal's period is the time between successive 1's. A ''clock cycle'' is one segment of time where the clock is 1 and then 0. The ''clock frequency'' is the number of cycles per second and is computed as $$f = 1/p$$ where $$f$$ is the frequency and $$p$$ is the clock period. So if the period was 20ns then 1/20ns = 50MHz. If the period is 1 ns, then it's frequency is 1 GHz, 10 ns is 100 MHz, and 0.1 ns is 10 GHz. Nano second: $$1\rm{ns} = 10^{-9} \rm{s}$$, Micro: $$1\rm{\mu s} = 10^{-3} \rm{s}$$, Milli second: $$1\rm{ms} = 10^{-3} \rm{s}$$
Component inputs can be divided into two groups. Control inputs influence the behavior of the component such as input selectors on a mux, or the enable input on a decoder. This is usually one bit and represents a particular event or command that directs the system's mode of operation. When the active value of a control input is set to 1, it is considered active high, and when it is active when set to 0, it is considered active low. Active low inputs are typically indicated with an inversion bubble as shown here: https://drive.google.com/file/d/0B5Qq4fe-ZajTcDdpNE0yRWlfaE0/view?usp=sharing. When components are designed with a control input designers will use the term assert to mean setting the control value to activate the associated operation. So one must assert the enable input of a decoder to enable the decoder's outputs to be active. Control inputs on a custom processor are determined by the controller, and on a microprocessor, they are determined by program instructions written to the processor, so it is determined from within.
The maximum time for a gate's output to change from 0 to 1 or 1 to 0 in response to an input change is the gate's delay. Modern CMOS gates delays can be less than 1 nanosecond, but that's still something. The delay of a circuit known as circuit delay is the delay of the longest path from input to output, known as the circuit's critical path. An example of calculating delay for a circuit is shown for a seat belt here: https://drive.google.com/file/d/0B5Qq4fe-ZajTMlp1aUoxMXJMUkU/view?usp=sharing. A circuits delay should be assumed for any change of inputs no matter which one by someone working with the circuit.
A ''circuit event'' is any change in a bit signal that flips it from 0 to 1, or 1 to 0.
You can use ''circuit simulation'' to make sure that your circuits are correct. One way of providing inputs for the simulator to test is to draw waveforms for each input going from left to right. An example is here: https://drive.google.com/file/d/0B5Qq4fe-ZajTTFlCcnU4SXJuVzA/view?usp=sharing
If you would like to implement a queue with an array, it must be treated circular vs linear, because if it was linear each time something needs to be added to the 0 index end, the whole array needs to shift. A circular array can be constructed by thinking of the last index to immediately proceed the first index. Then you can keep track of which index is currently the front, and the rear. If used in this fashion, make sure to keep track of the total values, because the final index value of the array no longer indicates that. To calculate how it circles around you can use a remainder operation like so: `rear = (rear+1) % queue.length;`
A ''class'' or ''abstract data type'' is a way of encapsulating information. A class consists of [[class members|Class Members (Computer Science)]]. See also: * [[C++ Classes]]
''Class containment'' is where a class is created with an object of another class within it to expand the functionality of the contained class. This is good for something like nodes, although it provides a poor workaround to [[inheritance|Inheritance]].
''Class libraries'' are the equivalent of an [[API|Application Programming Interface (API)]] for an [[object-oriented programming language|Object Oriented Programming (OOP)]]. Different class libraries with notes are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Class Libraries'>> </div>
''Class members'' are part of a [[class|Class (Computer Science)]] and consist of [[data members|Instance Variable / Attribute / Data Member / Field / Data Field]] and [[methods|Method (Computer Science)]].
The ''class selector'' starts with a `.` for example `.center`. Class names can not start with a number.
A ''clause'' seems to be a statement about something. For example "The pig has not been fed" would be a clause.
''Clean room design'' is a type of [[reverse engineering|Reverse Software Engineering]] and a [[software process|Software Development Processes]] where the software is rewritten from scratch by trying to imitate the behavior of the original software. This can be considered using a black box representation of the software to rebuild it. This can be used to replicate software while avoiding copyright claims (not suggested lol), but does not avoid patent claims.
''Cloudinary'' is an image hosting platform that can perform image transformations on the fly.
''Cohesion'' is the degree to which the elements inside a module belong together. See also: * [[Component Analysis]] * [[Wikipedia page on cohesion|https://en.wikipedia.org/wiki/Cohesion_(computer_science)]]
''Cold Boot Attack'' is a digital forensics tool developed by Princeton University. They found out that RAM isn't automatically erased when it no longer has power. So the tactic is to pull the plug, then reboot and grab the contents of the RAM. If you use compressed air cans to cool the memory modules before turning off the device it can help the memory stick for much longer. Minutes or even up to hours. The primary files seem to be the following: * `scraper.bin` A bootable image to dump memory to a USB * `USBDUMP` Dump the RAM from the USB to your forensics system * `AESKEYFIND` and `RSAKEYFIND` searches for AES keys and RSA keys to hopefully decrypt the RAM. It looks like the original code was possibly altered? Some links are below for references: See also: * [[Article from Princeton on the Cold Boot Attacks|https://citp.princeton.edu/our-work/memory/]] * [[Repo from Princeton on the Cold Boot Attacks|https://citp.princeton.edu/our-work/memory/code]] * [[Copy of the original repo from Princeton on the cold boot attacks|https://github.com/aneuhold/coldboot-attacks]]
A ''collection'' is an object that gathers and organizes other objects. Collections can be split into two broad categories: Linear and non-linear. A collection defines the specific ways the elements of the collection can be accessed or managed
Normally ''color blindness'' is the reduced ability to see greens. This is important to consider for [[web development|Web Development]].
The primary colors are Red Green and Blue. Mixing two primary colors creates secondary colors such as cyan, magenta and yellow. Tertiary colors are created from mixing primary colors with a secondary color. There are different ways to combine colors in a harmonious way. One of those is the [[split-compliment scheme|Split Compliment Scheme]]. A helpful map for determining colors is the [[color wheel|Color Wheel]].
A color wheel is a visual tool to see how colors relate to each other. When two colors are opposite each other, they are considered complimentary. This means that when they are combined, they cancel each other out and create a grey color, but when they are put side by side, they stand out and look vibrant. [img[https://graf1x.com/wp-content/uploads/2014/09/color-wheel-poster.jpg]]
A ''combinational circuit'' is a circuit whose output value depends solely on the current combination of circuit inputs. A door bell is an example. If you press it, it rings, and when you let go it stops. A combinational circuit has no memory.
To design a [[combinatorial circuit|Combinational Circuit]] there are 2 steps. # Describe the behavior of the logic known as capturing the behavior. This might be most natural as a truth table or as an equation. If you capture as a truth table, then turn it into an equation, which is part of the converting step where you take the behavior and convert it into a circuit. This can involve creating the equations and implementing it as a gate based circuit. This will result in whats known as a two-level circuit or two-level logic with a column of AND gates followed by a single OR gate.
The ''command design pattern'' is used to express a request including the call to be made and all of it's required parameters in a command object. The command may then be executed immediately or held for later use.
A ''command line interface'' is the simplest, although not as intuitive as a [[GUI|Graphical User Interfaces (GUI)]], way to interact with an [[operating system|Operating Systems]]. A CLI is a type of [[shell|Shell (Computing)]]. In a CLI, commands are processed by a ''command interpreter'', which is the program actually running the CLI. For example [[Bash|Bash]]. See also: * [[CLI vs GUI|Example - CLI vs GUI]] Some different command line interfaces are: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Command Line Interface (CLI)'>> </div>
Base 8 expansions are called octal which is represented by various prefixes that change between languages. Base 16 expansions are called hexadecimal or hex and it is written with the prefix `0x`. In hexadecimal, this means that 16 different digits are needed. These are usually 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. Base two is binary and it is written with the prefix `0b` such as `0b1101`, base 3 is ternary, base 12 is duodecimal. In binary, right-most bit is called the least-significant bit, the left-most bit is called the most significant bit. To speak of binary you can say "101" as "one zero one, base two".
''Common coupling'' is a type of [[procedural programming coupling|Procedural Programming Coupling]]. Common coupling is where several modules have access to the same [[mutable|Mutability]] global data.
''Common Gateway Interface'' or ''CGI'' is a protocol to communicate between web forms and your program. A CGI program is an executable program that resides on the server typically. In the past, more specifically the 90s, CGI programs (`.cgi` extension) used to be what servers used as an "interactive application" online. At the time, there was not a way to have a dynamic website besides CGI. They also provided a relatively quick path to re-use legacy code. A big con was a big decrease in run-time performance because HTTP is synchronous and every request was a new fork of a process. Another issue was a tight coupling to markup. A third issue was security because anything could be injected into the server it seems. Some better architectures eventually came out like Netscape server API or NSAPI. Also some un-official standards came out like OpenMarket. As a result many HTTP servers ''FastCGI''. The general structure for a CGI script was as follows: # Read the user's form input. # Do what you want with the data. # Write the HTML response to STDOUT. See also: * [[This short guide to CGI|https://www.jmarshall.com/easy/cgi/]]
It seems there are two primary ways that ''communication system calls'' operate and most systems implement both types of message models. * [[Message passing model|Communications System Calls > Message Passing Model]] * [[Shared Memory Model|Communications System Calls > Shared Memory Model]] Communication system calls are also summed up under the heading of ''inter-process communication'' or ''IPC'' because this is how [[processes|Operating System Processes]] communicate. See also: *[[Image of how the two models kind of look|$:/Image - Communications system calls]]
The ''message passing model'' sends messages directly or indirectly through some kind of mailbox. This method is considered slow, and more safe than the [[shared memory model|Communications System Calls > Shared Memory Model]]. Before communication a connection must be opened. The name of the other communicator process must be known, be it on the same system, or on another system. When this connection is established, it is called a ''communication link''. Processes may use different kinds of communication in the message passing model: * ''Direct communication''. Links are complete, focused on pairs, and unique (unique how?) ** Symmetric: `send(P1, message)`, `receive(P2, message)`, where P1, and P2 are processes. ** Asymmetric: `send(P, message)`, `receive(&id, message)`. This allows the receiver to accept a message from any process. * ''Indirect communication'' over a mailbox/port. Links are specific, focused on groups, and non-unique ** `send(M, message)`, `receive(M, message)` where M is a mailbox. Another notion to consider for message passing systems is [[blocking|Communications System Calls > Message Passing Model > Blocking]], and [[nonblocking|Communications System Calls > Message Passing Model > Nonblocking]]. Most processes that will be receiving connections are called ''daemons'', which are system programs built for this purpose. See also: * [[Image of how the message passing model kind of looks|$:/Image - Communications system calls]]
A ''blocking'' message in a [[message passing model|Communications System Calls > Message Passing Model]] is the same idea as a [[synchronous|Synchronous]] message. There is an option of a blocking send, and a blocking receive. A blocking message is like calling someone, and waiting for them to pick up. The call won't go through unless they pick up. See also: * [[Nonblocking messages|Communications System Calls > Message Passing Model > Nonblocking]]
A ''nonblocking'' message in a [[message passing model|Communications System Calls > Message Passing Model]] is the same idea as an [[asynchronous|Asynchronous]] message. There is an option of a non-blocking send, and a non-blocking receive. A nonblocking message is like texting someone. The message will go through and they can decide to look at it or not. See also: * [[Blocking messages|Communications System Calls > Message Passing Model > Blocking]]
In the ''shared memory model'', processes use `shared_memory_create()` and `shared_memory_attach()` system calls to create and gain access to regions of memory owned by other processes. Normally an OS prevents this kind of interaction, although this requires that two applications forgo that restriction. This means the two applications are then in charge of making sure the data isn't written to at the same time, and all that comes along with data management which is normally done by the OS. The shared memory model is faster and a little more unsafe because a program can interact with the memory pool in any way it chooses. One issue that can arise with a shared memory model is the [[producer consumer problem|Producer-Consumer Problem]]. See also: * [[Image of how the shared memory model kind of looks|$:/Image - Communications system calls]]
''Compilation'' is the process of translating [[source code|Source Code]] into [[object code|Object Code]] by the [[compiler|Compiler]]. A compiled program is faster than a program that is [[interpreted|Interpretation]]. Some downsides of compilation are that some debugging info may be lost because it is compiled all at once instead of line by line. [[C|C Programming Language]] and [[C++|C++ Programming Language]] use compilation. Java uses both compilation and interpretation. A step in the compilation process is to create a [[symbol table|Symbol Table (Programming Languages)]]. See also: * [[Image - Compilation Based Program Processing]]
A ''Compiler'' translates high level instructions like from a [[high-level programming language|High-Level Programming Languages]] into the more detailed instructions required by the CPU as [[machine language|Machine Language]]. A compiler allows program modules to be compiled separately. A compiler generally follows the process of [[lexical|Lexical Structure]] analysis -> [[syntactic|Syntactic Structure]] analysis -> [[semantic|Semantics]] analysis -> code generation in [[assembly language|Assembly Language]] -> translates to Machine language. An image of this is below: [img width=700 [https://i.imgur.com/nLsGArF.png]] The compiler does not execute the program. The person to invent the compiler was Grace Hopper, who designed the first widely known compiler, the A0 in 1951. See also: * [[Program Preprocessing]]
The ''complement'' of a set A is the universal set U minus the set A, so $$\overline{A} = \{ x \in U | x \notin A \} = U - A$$. Some sources use $$S^C$$ or $$S'$$ to indicate a complement. This is the equivalent of NOT for sets.
A ''complement'' of a single-digit base ten number A is the number that when added, results in a sum of ten. So complement of 1 is 9, complement of 8 is 2, etc. You can use this to subtract by performing addition. For example if you have 8 - 3 then the complement of 3 is 7. So 8 + 7 = 15. Drop the 10, and you have 5. There are two types of complements in binary numbers. A ''two's complement'' is where the magnitude (actual value) of a negative [[signed number|Signed Numbers (Computer Science)]] is obtained by inverting all the bits of the number and adding 1. Here is an [[example of getting a two's compliment|Example - Computer Science - Getting a twos compliment]]. A ''one's complement'' is obtained by inverting all the bits without adding 1. The two's compliment is used far more often because it has simpler logic. For example if you have a 4 bit number you can represent -8 to 7. To represent 7, you print it as normal: 0111. To represent -5 you invert, then add 1. So 5 = 0101 inverted = 1010 + 1 = 1011. This way if you want to add -5 to 4 you can just add them together which gives 1011 + 0100 = 1111 which is the right answer -1. Negative numbers all have a 1 in the leftmost bit like this, so it is often referred to as the sign-bit.
A tree is considered a ''complete tree'' if it is a [[balanced tree|Balanced Trees (Computer Science)]] and all of the leaves at the bottom level are on the left side of the tree. This is important for some algorithms. Some examples are here: https://drive.google.com/file/d/1ltpoLpIvmywustAPHqzI0RDJ5aiqGbUQ/view?usp=sharing.
Intel processors use this kind of architecture. See also: * [[Reduced Instruction Set Computer (RISC) Architecture]]
The most popular type of [[IC|Integrated Circuits (ICs)]] transistor is the CMOS (complimentary metal oxide semi-conductor) Transistor. The explanation of how one works is beyond the scope of this class's book, but a basic explanation is given. A certain type of CMOS transistor, an nMOS transistor has 3 parts of a switch: the source input, the output which is called the drain, and third which is the control input or called the gate possibly because it acts kind of like a gate for the electrons to pass through the switch or not. The region between the source and the drain is called the channel. The gate is separated from the channel by an insulation layer made from silicon dioxide, also known as oxide in this case. The channel is made of an insulator that blocks electrons, and when the gate has a voltage, it creates a small positive electric field while still not allowing electrons to pass through from the gate because of the oxide layer. This allows negative electrons to pass through the insulator between the drain and source in the same way you can use a magnet to move a paper clip from underneath a table. Once enough electrons are attracted to the insulator (semi-conductor), then it becomes a conductor and starts allowing electrons through freely until the gate is turned off. Another type of CMOS transistor is the pMOS transistor that works much in the same way but opposite. So that the channel starts out as a conductor, then gets turned into a insulator when voltage is applied to the gate. Together it makes the "C" in CMOS which stands for complimentary. A picture of an example nMOS and pMOS transistor circuit drawing is here: https://drive.google.com/file/d/0B5Qq4fe-ZajTWDY1TnlXZU1LY0U/view?usp=sharing. This shows that a pMOS transistor is written with a circle at the gate of the circuit and the nMOS is written without a circle there.
''Component Analysis'' can be done by focusing in on system components and comparing them to each other. Anomalous [[measurements|Software Measurement]] can then signal there may be problems with the quality of those components. Metrics: * Weighted methods per class (WMC): The number of methods in each class weighted by the complexity of each method. This is an objective measurement, because a simple method would have a value of 1, and a complex method could have some higher value. This actual value assignments are up to the measurer though. * Depth of inheritance tree (DIT): This is the number of discrete levels in the inheritance tree. The deeper the inheritance tree, the more complex it's design. This also means that the leaves will take a lot of reading through the parent classes to understand. * Number of children (NOC): A high number of NOC means greater reuse, so greater emphasis should be put on validating the base classes. * Coupling between object classes (CBO): A class is coupled when methods in one class use methods or variables from a different class. A high CBO means that classes are very dependent and one change may effect many other classes. * Response for a class (RFC): RFC is a measure of the number of methods that could potentially be executed in response to a message received by an object of that class. The higher the value, the higher the complexity and more prone to errors. * Lack of [[cohesion|Cohesion (Computer Science)]] in methods (LCOM): This is calculated by considering pairs of methods with shared attributes. The value of this metric is debated and has several variations. It's usefulness is also debated.
The ''component based architectural style'' is very popular in [[web development|Web Development]] front-end frameworks such as [[React|React]] and [[Vue.js|Vue]]. See below for an image that pretty well describes how components are used. This also includes the framework Flux at the top which is used for this kind of architecture as well. [img width=700 [https://cdn-media-1.freecodecamp.org/images/zu0i01opFa-1t7seaTGrMnNLM1TRh353RUZg]] See also: * [[Component Driven Software Engineering]] * [[Great FreeCodeCamp article on MVC and component architectures|https://www.freecodecamp.org/news/is-mvc-dead-for-the-frontend-35b4d1fe39ec/?gi=b99635d323e3]]
''Reuse-oriented software engineering'' or ''component driven software engineering'': Informal reuse happens whenever a programmer uses some code snippet that matches the project their working on. But using existing software as a component has become increasingly popular, and sometimes the components are systems in their own right such as commercial off-the-shelf systems (COTS). Keep in mind that control over the components is not under the organization using them, so control over the system evolution is lost over time as updates are made to the components without active development as time goes on. * Component analysis: This is where a search is made for components to implement the specification. Usually there is no exact match (why would you be making the software otherwise) so multiple are used. * Requirements modification is where, given the components found, you modify the requirements to fit them. If it is not possible, then a different set of components are needed. * System design with reuse: During this phase the framework of the system is designed or an existing framework is reused. Designers take into account what is reused and some new software may have to be designed if reusable components are not available. * Development and integration: Software that cannot be externally procured is developed and the components are integrated to create the new system. System integration with this model sometimes becomes part of the development process. See also: * [[Component Based Architectural Style]]
The ''Composite design pattern'' is a type of [[structural design pattern|Structural Design Patterns]] and is used when an object may have a substructure of the same type of itself. An example of this is a binary tree where the tree may contain two other trees within it. This could also be an XML document with elements that may contain other elements. Here is a [[UML example of how this pattern may look|$:/Image - Composite Design Pattern]].
''Composition'' is the ability to assemble complex behavior by aggregating simpler behavior.
A compound proposition is satisfiable if there is an assignment of truth values to it's variables that makes it true. When there exists not even one combination that makes it true, then the compound proposition is unsatisfiable. In other words, if the compound proposition is unsatisfiable, then it is a contradiction, and it's negation is a tautology.
''Compound proposition'' means an expression formed from propositional variables using logical operators called ''connectives'' such as $$p \land q$$. {{ Tautology || Transclusion Template}} {{Contradiction}} {{Contingency}} {{Equivalency (Logic)}} If you find a particular combination of truth values makes a compound proposition true, then that assignment is a solution to that particular compound proposition.
''Compression'' is when you use some kind of scheme to shorten the original data. For example if there are multiple occurrences of "0000000000" and "1111111111" in some data, then if the first bit is a 0, then some shorthand is used, such as "00" for "0000000000" and "01" for "111111111111" . If the first character is "1" then the rest is the actual signal data. Therefore if the receiver understands the compression scheme, then "0000000000 0000000000 0000001111 1111111111" becomes "00 00 10000001111 11".
This is the topic for computer science as a discipline. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Computer Science'>> </div>
A ''concept combination table'' takes criteria and puts them in columns. Then the answers to those criteria are listed in those columns. The answers can be paired together in a systematic way like this in an easy to view format. An example is here: https://drive.google.com/open?id=1h5Gh3-Fib2p4mdQhsbRtwviuyatYej55. This helps the design team explore design ideas systematically.
A ''concept screening matrix'' takes criteria in the rows and uses each overall design concept as the columns. Then in each cell, a rating of some kind is given to rate the concept in that field of criteria. An example is here: https://drive.google.com/open?id=1bUqRrQQX3O4zpl8Ri6iUq0C1acMcxLrE
''Concurrency'' is where a system performs tasks [[asynchronously|Asynchronous]] by allowing them all to make progress, but not necessarily with multiple processors.
''Conditional'' or ''implication'' definition: Let p and q be propositions. The conditional statement $$p \to q$$ is the proposition "if p is true, q must be true" the only way it can be false is if p is true, and q is false. If p is false, q doesn't matter and by default it is true. In the conditional statement $$p \to q$$ p is called the hypothesis, or anecdote, or premise, and q is called the conclusion, or consequence. When analyzing english, first convert the terms to variables, then analyze the english to prevent pre-concieved notions. The mathematical concept of a conditional statement is independent of cause and effect relationship between the hypothesis and conclusion. Truth Table: |!p |!q|!$$p \to q$$ | |T|T|T| |T|F|F| |F|T|T| |F|F|T|
A ''confidence interval'' has a given probability that it contains the [[sample|Statistical Sample]] mean. This can be calculated with $$\overline{X}$$ which is the sample average, $$\sigma$$ which is the standard deviation, and $$n$$ which is the sample size. The confidence interval is normally specified with the ''confidence level'' which can be something like 95%. This is normally defined in terms of $$\alpha$$ which for 95% would be 0.05. Alpha is used in a similar way in [[hypothesis tests|Statistical Hypothesis Tests]]. The confidence interval needs a lower and upper bound. * Lower bound is $$ \overline{X} - \frac{Z_{\alpha/2} * \sigma}{\sqrt{n}} $$ * Upper bound is $$ \overline{X} + \frac{Z_{\alpha/2} * \sigma}{\sqrt{n}} $$ See also: * Excel sheet named "Hypothesis tests"
If $$a$$ and $$b$$ are integers and $$m$$ is a positive integer then $$a$$ is ''congruent'' to $$b$$ modulo $$m$$ if $$m \mid (a - b)$$ which is denoted by $$a \equiv b \pmod{m}$$ which is called a congruence and $$m$$ is it's modulus (plural is moduli). If a and b are not congruent modulo m we write $$a \not\equiv b \pmod{m}$$. This means that a and b have the same remainder when divided by m. A property of this is that $$a \equiv b \pmod{m} \leftrightarrow (a \bmod m = b \bmod m)$$. Another property is that if $$a \equiv b \pmod{m}$$ if and only if there is an integer k such that $$a = b + km$$. The set of all integers congruent to an integer a modulo m is called the ''congruence class'' of a modulo m. Keep in mind you cannot always treat congruence like algebra. With that in mind another property exists namely if \(a \equiv b \pmod{m}\) and \(c \equiv d \pmod{m}\) then \(a + c \equiv b + d \pmod{m}\) and \(ac \equiv bd \pmod{m}\).
A ''conjecture'' is a statement that is being proposed to be true usually by an expert, or some partial evidence. Then when a [[proof|Mathematics > Proofs]] of a conjecture is found, the conjecture becomes a [[theorem|Theorem]].
Conjuction or AND definition: Let p and q be propositions. The conjunction of p and q, denoted by $$p\land q$$ is the proposition "p and q." The conjunction $$p \land q$$ is true when both p and q are true and is false otherwise. Sometimes "but" is used in place of "and" in a conjunction. Such as "The sun is shining, but it is raining". This is sometimes indicated as multiplication in boolean equations such as $$p * q$$ or $$pq$$ which is the same as "p and q".
A ''constructor'' initializes the instance variables of an object. The constructor is automatically called whenever an object is created with the new operator. The name of a constructor is identical to the name of it's class. An example is in the note. Constructors never return values, but do not use the void reserved word when declaring them. ```java public class CashRegister { // Other code goes here /** Constructs a cash register with cleared item count and total. */ public CashRegister() { itemCount = 0; totalPrice = 0; } } ``` Many classes have more than one constructor. This allows you to declare objects in different ways. A BankAccount class is given as an example in the note. Both constructors have the same name as the class. When you construct an object, the compiler chooses the constructor that matches the arguments that you supply. ``` public class BankAccount { . . . /** Constructs a bank account with a zero balance. */ public BankAccount() { . . . } /** Constructs a bank account with a given balance. ~@param initialBalance the initial balance */ public BankAccount(double initialBalance) { . . . } } ``` Every constructor needs to ensure that all instance variables are set to appropriate values. It is illegal to call instance methods on the null reference. So it is a good idea to initialize all objects (like strings) in your constructor as well. As a general rule, initialize every instance variable with each constructor. You cannot call a constructor after an object has already been created, but you can replace an object with a new one.
''Content coupling'' is a type of [[procedural programming coupling|Procedural Programming Coupling]] that is the highest form of [[coupling|Coupling (Software Engineering)]] (which is a bad thing). Content coupling is where one module uses the code of another module to perform its task.
Stub tiddler
''Contextual structure'' is also sometimes called ''static semantics'', probably because it is done at compile time. Contextual structure is the 3rd layer of the [[programming language structural layers|Programming Language Structural Layers]]. Contextual structure defines the program [[semantics|Semantics]], before dynamic execution. This means that contextual structure includes variable declaration, initialization, and type checking. Some imperative languages require that all variables be initialized when they are declared at the contextual layer, some languages only require that variables are initialized before their values are used, meaning they would be initialized in the semantic layer, vs the contextual layer. Most languages do type checking in the contextual layer. A program that is [[lexically |Lexical Structure]] correct may not be contextually correct. An example of that is in the note. <<_note """ A statement that is lexically correct but not contextually correct is below: ``` String str = "hello"; int i = 0; int j = i + str; ``` Everything is lexically correct, but the last statement is not contextually correct. """>>
A compound proposition that is neither a tautology nor a contradiction is called a ''contingency''.
''Continuos integration'' is the use of [[integration testing|Integration Testing]] continuously. This is where the whole system is tested from day one. So the system can build from day one, test from day one, and integrate from day one such that the system is always runnable. This requires a continuous build server, automated tests with high coverage, tool supported refactoring, [[software configuration management|Software Configuration Management (SCM)]], and issue tracking. Some best practices according to Fowler are below: # Maintain a single source repository # Automate the build with something like [[gradle|Gradle]], [[ant|Ant (Build Tool)]], or [[maven|Maven]]. # Make your build self testing # Everyone commits every work day # Every commit should build the [[mainline|SCM > Mainline]] on an integration machine such as [[Travis CI|Travis CI]] or Jenkins. # Fix broken builds immediately # Keep the build fast # Test in a clone of the production environment # Make it easy for anyone to get the latest executable # Everyone can see whats happening # Automate deployment Some different continuous integration tools are below: * [[Travis CI|Travis CI]] * Jenkins * Buildbot * Strider * Go (Not the language right?) * Integrity
A compound proposition that is always false is called a ''contradiction''.
The ''contrapositive'' of $$p \to q$$ is the following proposition $$\neg q \to \neg p$$. This will always have the same truth value as it's original proposition.
''Control coupling'' is a type of [[procedural programming coupling|Procedural Programming Coupling]]. Control coupling is where one module is controlling the flow of another module by passing it information on what to do.
''Control structures'' are hallmarks of [[high-level programming languages|High-Level Programming Languages]]. They can be any kind of control like an if block, or a loop of some kind.
The sequential circuit that implements an [[FSM|Finite State Machine (FSM)]] is called a ''controller''. A standard controller architecture consists of a register and combinational logic like the example here: https://drive.google.com/file/d/1x2F2Omvnm1OyTZtkypC7U5laC9FjtJRk/view?usp=sharing or more generally for an m-bit wide register: https://drive.google.com/file/d/1OBYOsLXeth6g8erwz_NDbvkR2nqb0NF2/view?usp=sharing. The controller's register stores the FSM state and is called the state register. Each state is represented as a unique bit encoding. The controller design process, examples, simplifications, and things to remember are in the note. <<_note """ Controller Design Process: - Step 1: Capture the FSM with a state diagram. - Step 2a: Set up the standard architecture by setting up a state register with appropriate bit width and combinational logic. - Step 2b: Assign a unique binary number to each state, which is sometimes referred to as encoding. - Step 2c: Translate the FSM into a truth table, ordering with state bits first, to help with the correspondence between controller and FSM state diagram. - Step 2d: Implement the combinational logic using any methods you like. Example laser FSM: - The state diagram for a laser with included states from the state register is shown here: https://drive.google.com/file/d/1-fhFmOGqzOhOzG1tY9g5THZ7bz6Ni294/view?usp=sharing - The inputs are b for the button, outputs are x, where x = 1 means the laser is on. The register input is n1 and n0, and the register output for each state is s1 and s0. - The truth table for this FSM is shown here and very well explains the organization of the design process at this point: https://drive.google.com/file/d/1b5Ms9oRPQnX8E3atBZRFw5XQTKTIbM8l/view?usp=sharing - At this point you can write the combinational logic from the truth table which will result in 3 boolean equations corresponding to the 3 variables. - The final circuit with the state register and combinational logic appears here: https://drive.google.com/file/d/1kr_M-0QgWylA5FvKLj0wxaFsazKXHILd/view?usp=sharing Full example in one picture: - For a pretty useful button press synchronizer: https://drive.google.com/file/d/14ddf3bZK4S5A4vYBE6vLH_ov5a5lHdWi/view?usp=sharing Simplifications: - If there are multiple circuits with clock signals, then you can remove the wiring and just shown the input for clock connections. This assumes each one has the same clock connection and reduces on wire clutter. An example is here: https://drive.google.com/file/d/1Y8liAAhL-XN7yZWSYViELoCtOSiQTBUn/view?usp=sharing """>>
The proposition $$q \to p$$ is the ''converse'' of $$p \to q$$.
A ''corollary'' is a theorem that can be established directly from a theorem that has been proved.
''Coupling'' is the degree of interdependence between software modules. Coupling is normally contrasted with [[cohesion|Cohesion (Computer Science)]]. Low coupling normally correlates with high cohesion. Low coupling is normally the goal for [[software engineering|Software Engineering]] and is an indication of a good design. Some different types of coupling are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Coupling (Software Engineering)'>> </div> See also: * [[Wikipedia article on coupling|https://en.wikipedia.org/wiki/Coupling_(computer_programming)]]
A ''cache'' is a way to add fast memory between the [[CPU|Central Processing Unit (CPU)]] and main memory. Memory access needs to be faster because memory access can typically take many cycles of the processor, and cause a [[memory stall|Processor Memory Stalls]].
''Multi-level queue algorithms'' make distinctions between different classes of processes. For example there could be foreground processes and background, or batch processes. Each queue has it's own [[CPU scheduling algorithm|CPU Scheduling Algorithms]]. There must be scheduling among the queues. Some different multi-level queue scheduling algorithms are below: * Fixed-Priority Preemptive Scheduling: This is the most common, and sets a fixed priority for each queue. For example the foreground queue may have absolute priority over the background queue. Here is an [[example of this type of scheduling|$:/Image - Example of fixed priority preemptive scheduling]]. * Multilevel feedback queue scheduling: This allows a process to move between queues, and typically the idea is to take a process which uses too much CPU time and move it to a lower-priority queue. A process which waits too long will be moved up a queue. It seems that this type of queue, can integrate many different types of CPU scheduling algorithms to make a pretty efficient setup. Here is an [[example of a 3 layer feedback queue algorithm|$:/Image - Example of 3 level feedback queue]]. ** A multilevel feedback queue scheduler is defined by the following: number of queues, scheduling algorithm of each queue, method used to determine when to upgrade process, method used to determine when to downgrade process, method used to determine which queue a process will enter when that process needs service? Not sure what the last part means. See also: * [[CPU Scheduling Algorithms]]
Some ''CPU scheduling algorithms'' for a [[CPU scheduler|Operating System Process Schedulers]] are listed below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'CPU Scheduling Algorithms'>> </div> See also: * [[CPU Multi-Level Queue Scheduling Algorithms]] * [[CPU Scheduling Criteria|CPU Scheduling Criteria]]
In ''earliest-deadline-first'' or ''EDF'' scheduling, processes are assigned priorities according to their deadline. The earlier the deadline the higher the priority. In this algorithm, when a process becomes runnable, it must announce its deadline requirements to the system. This is different from [[rate-monotonic scheduling|CPU Scheduling Algorithms > Rate-Monotonic Scheduling]] where the periods and thus priorities are fixed. Theoretically this algorithm is optimal because each process will know its deadline time, or essentially its CPU burst time and can run for the exact amount of time it needs. Although in practice, context switching and interrupt handling make this solution impossible to achieve.
''First come first serve (FCFS)'': The process that requests the CPU first, gets the CPU first. This is not a very efficient algorithm, because the average waiting time is pretty long if the first process is long, and subsequent processes are pretty short. Although in the opposite situation, the average is very low. The FCFS algorithm is [[non-preemptive|Operating System Short-term Scheduler]]. This is a [[live algorithm|Live Algorithms]].
The ''completely fair scheduler'' or ''CFS'' (haha), works like a [[multi-level queue|CPU Multi-Level Queue Scheduling Algorithms]] where tasks are sorted into scheduling classes like default, and real-time. When executed, tasks receive a dynamic [[time quantum|CPU Scheduling Algorithms > Round Robin (RR) Scheduling]] based on their "niceness" and a targeted latency. Nice values range from -20 to 19 where lower values receive higher priority. Priority is indirectly computed from ''virtual run time'', or ''vruntime''. Vruntime decays over time, lower priority decays faster. Runnable tasks are stored in a [[balanced BST|Binary Search Tree]], keyed by vruntime.
In ''POSIX real-time scheduling'' two scheduling classes are are provided: * `SCHED_FIFO` schedules threads according to [[FCFS|CPU Scheduling Algorithms > First Come First Serve (FCFS)]] where there is no time slicing among threads of equal priority. So the highest priority real-time thread will be granted the CPU until it terminates or blocks. * `SCHED_RR` for [[round robin scheduling|CPU Scheduling Algorithms > Round Robin (RR) Scheduling]].
''Priority scheduling'' is where a priority is associated with each [[process|Operating System Processes]], and where two processes have the same priority, FCFS is used. Priority scheduling can be [[preemptive|Operating System Short-term Scheduler]] or [[non-preemptive|Operating System Short-term Scheduler]]. The problem with priority scheduling is that [[starvation|Operating System Process Starvation]] can occur. A solution to this is something called aging. ''Aging'' is where the priority of a process in a system that is waiting, slowly gets a higher priority.
''Proportional share scheduling'' starts by allocating $$T$$ shares among all applications. An application can receive $$N$$ shares of time so it ensures that it will have $$N/T$$ of the total processor time. This algorithm requires that an admission-control policy is in place, so that there can never be more shares allocated to an application than the system has total. This algorithm is useful for a server environment.
A ''rate-monotonic scheduling algorithm'' uses a static [[priority policy|CPU Scheduling Algorithms > Priority Scheduling]] with [[preemption|Operating System Short-term Scheduler]]. As each process enters the system, it will be assigned a priority inversely based on its period. The shorter the period, the higher the priority. This type of scheduling assumes that each process with the same period, has the same [[CPU burst|Operating System Processes CPU Bursts]] length. The idea of rate-monotonic scheduling is that a period will be longer than the CPU burst, this should be assumed because it is how the period is determined. If the CPU burst for the process completes before the period for that process is done, it takes the next process and runs as much as it can until the full period for the first process is finished. At that point, the next period begins with the next process, that process goes for as long as it needs, and the last part of the partially completed second process continues. Here is an [[example of how this might look|$:/Image - rate-monotonic scheduling]].
''Round Robin (RR) scheduling'': This algorithm is particularly designed for time-sharing systems. Similar to [[FCFS|CPU Scheduling Algorithms > First Come First Serve (FCFS)]], but [[preemption|Operating System Short-term Scheduler]] is added to switch processes. A unit of time called a ''time quantum'' or ''time slice'' is defined which is typically 10 to 100 milliseconds in length. The ready queue is treated as a circular queue and allocates CPU time to each process for the time interval of up to 1 time quantum. This algorithm is best when the time quantum is much larger than the [[context switch|Operating System Process Context Switching]] time, although not so large that it turns into FCFS. So 10 to 100 milliseconds is quite a bit larger than the 10 microseconds it typically takes a context switch. A rule of thumb is that 80% of the CPU bursts should be shorter than the time quantum. Waiting time for round robin is the time that the process is not running.
''Shortest job first (SJF)'': This algorithm associates with each process the length of the process's next [[CPU burst|Operating System Processes CPU Bursts]]. When the CPU is available it is assigned to the process with the smallest CPU burst. This algorithm might more aptly be named the shortest-next-CPU-burst algorithm. The SJF algorithm is provably optimal because it gives the lowest overall average waiting time. SJF is frequently used in [[long-term scheduling|Operating System Process Schedulers]] because SJF is not a [[live algorithm|Live Algorithms]], so it would be best used where there is a known set of processes that need to run, like a 1000 processes over night or something like that.
''Shortest job first Live (SJFL)'': The hard part of [[SJF|CPU Scheduling Algorithms > Shortest Job First (SJF)]] is determining the CPU burst time. The next cpu burst is generally predicted as an exponential average of the measured lengths of previous CPU bursts. The calculation for estimated CPU burst time is $$ \tau_{n+1} = \alpha t_n + (1 - \alpha) \tau_n$$ where $$\tau_n$$ is a guess for CPU burst time of a process' nth burst, and $$t_n$$ is the actual CPU time for the process' nth burst. $$\alpha$$ is a constant between 0 and 1 which controls the variation.
The different ''criteria'' used to judge a [[CPU scheduler algorithm|CPU Scheduling Algorithms]] are as follows: * CPU utilization: Higher utilization is better * Throughput: One measure is the number of processes per time unit, called ''throughput''. This can be small for long processes and high for short processes. * Turnaround time: this is how long it takes to complete a particular process, and can be calculated by adding the time of completion of each process in a set to a total. An average turnaround time could be 0.3s. * Waiting time: this is the sum of the time spent waiting in the ready queue for a particular process * Response time: In an interactive system, turnaround time may not be the best criteria. For this situation, the time is measured from the submission of a request, to the first response produced. This is not the time it takes to output a response. Typically an operating system that minimizes response time is more desirable. In the past the average was sought to be minimized, although now it is the response time specifically.
''Creational Design Patterns ''provide ways to instantiate single objects or groups of related objects. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Creational Design Pattern'>> </div>
''Creativity'' is looking at the same thing as everyone else and thinking something different. Try to walk around and look at things to be creative. Everything you can to think "outside the box". Creativity requires domain skills, creative thinking and working skills, as well as intrinsic motivation. A venn diagram is here: https://drive.google.com/open?id=1qmwZXPsFSvw_kTb7lP0bQFTDL_kGlH-0. Generate ideas and be happy to provide ideas. Ideas for removing habit barriers and attitude barriers are in the note. <<_note """ Removing habit barriers: - There is only one right answer - Looking at the problem in isolation - Following the rules: Sometimes breaking the rules in just the idea phase will spur something else that is really useful and doesn't break the rules. Remove attitude barriers: - Discomfort with ambiguity - Negative pessimistic thinking - Risk avoidance or fear of failure """>>
''Cross-Origin Resource Sharing'' or ''CORS'' defines [[response headers|HTTP Response Headers]] that indicate how to allow/restrict cross-site requests on a case-by-case basis. This is in an effort to prevent [[cross-site scripting|Web InfoSec > Cross-Site Scripting (XSS)]]. By default, requests made with JavaScript will require some kind of CORS response from the server in the response header. For example, the client might send the header ``` GET /resources/public-data/ HTTP/1.1 ... Origin: https://foo.example ``` And if the server is restrive to only it's own site, it would respond with: ``` HTTP/1.1 200 OK ... Access-Control-Allow-Origin: https://foo.example ``` Otherwise the server would specify `Access-Control-Allow-Origin: *` See also: * [[MDN documentation on CORS|https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS]]
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'CSE 230' sort[title]>> </div>
<<list-links "[tag[CSE 230 - Week 1]sort[title]]">>
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'CSE 230 - Week 2' sort[title]>> </div>
<div class="tc-table-of-contents"> <<toc-selective-expandable 'CSE 230 - Week 3' sort[title]>> </div>
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'CSE 230 - Week 4' sort[title]>> </div>
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'CSE 230 - Week 5' sort[title]>> </div>
<<tabs "[tag[CSE 240]]">>
<<list-links "[tag[CSE 240 - Week 1]sort[title]]">>
<<list-links "[tag[CSE 240 - Week 2]sort[title]]">>
<<list-links "[tag[CSE 240 - Week 3]sort[title]]">>
<<list-links "[tag[CSE 240 - Week 4]sort[title]]">>
<<list-links "[tag[CSE 240 - Week 6]sort[title]]">>
<<list-links "[tag[CSE 240 - Week 7]sort[title]]">>
''CSS'' stands for ''Cascading Style Sheets'' and they describe how [[HTML]] elements are displayed on screen, paper, or other media. CSS is parsed uniformly, unlike HTML, so it actually has a standard syntax that it needs to follow. <div class="tc-table-of-contents"> <<toc-selective-expandable 'CSS' sort[title]>> </div>
`::before` and `::after` are used to add something before or after an element. When using these, `content` must always be a defined property. For example a heart having a rectangle added before it: ``` .heart::before { content: ""; background-color: yellow; border-radius: 25%; position: absolute; height: 50px; width: 70px; top: -50px; left: 5px; } ```
The ''align-items property'' is similar to [[justify-content property|CSS justify-content Property]] with the difference that it doesn't align to the main axis, but instead aligns to the cross-axis of a [[flex container.|CSS Flex Containers]]. Some different values for `align-items` are listed below: * `flex-start` aligns items to the start of the flex container, so for rows that would be the top and for columns that would be the left. * `flex-end` * `center` * `stretch` stretches the items to fill the flex container. This is the default if align-items is not set. * `baseline` aligns items to their baseline which is kind of like text. Where all items align to the bottom of text. This seems to center the elements but keeps them at the start of the flex container.
There are some animation properties that can be given to an element, `animation-name` and `animation-duration`. `animation-name` is simply the name that will be used in the [[keyframes designation|CSS Keyframes]], while `animation-duration` gets a time value such as `25s` for 25 seconds. `ms` can also be used which stands for milliseconds. There is also `animation-fill-mode` which determines what state an element will take on after the animation is finished. To make it so that final version of the animation stays for the life of the element, or until the animation resets, the value `forwards` can be assigned to it. `animation-iteration-count` determines how many times the animation will run. This could be set to `3` to have it run 3 times or `infinite` to continuously have the animation run. `animation-timing-function` is used to determine how the animation accelerates and decelerates. By default this is set to `ease` where the animation speeds up at the beginning then slows at the end, giving the appearance of momentum, or weight on the elements. Other values are `linear` which is a constant speed from start to end, `ease-out` which starts quickly and slows at the end, and `ease-in` which starts slowly and speeds up towards the end. The animation timing function can also use a [[cubic bezier function|Cubic Bezier Function]]. Here is a [[nice guide on web animation principles|https://uxdesign.cc/the-ultimate-guide-to-proper-use-of-animation-in-ux-10bd98614fa9]].
An ''attribute selector'' can match any element with a particular [[attribute|HTML Attributes]]. For example to match any element with the `type` equal to `radio` the following could be used: ``` [type='radio'] { margin: 20px 0px 20px 0px; } ```
A Background image can be used to set the background of an [[element|HTML Elements]]. By default the image is tiled across the background to fill the entire element, which does look kind of 1990's haha. An example for the body is in the note. A background can be repeated only horizontally or vertically if it makes it look better. An example is in the note. To repeat vertically use `background-repeat: repeat-y;`. No repeat can be set as well with `background-repeat: no-repeat;`. Background position can be set too with `background-position: right-top` which will set the image to the top right of the element. An image can also be fixed to the page so that scrolling does not move it with `background-attachment: fixed`. An example of that is in the note. There is a shorthand property for CSS background images as well. Simple Background example: ``` body { background-image: url("paper.gif"); } ``` Repeating only horizontally for a hue: ``` body { background-image: url("gradient_bg.png"); background-repeat: repeat-x; } ``` Fixing an image to the page: ``` body { background-image: url("img_tree.png"); background-repeat: no-repeat; background-position: right top; background-attachment: fixed; } ``` Shorthand background images: The shorthand is listed in the following order: - background-color - background-image - background-repeat - background-attachment - background-position It doesn't matter if one of the properties are missing as long as they are in the right order. An example is here: ``` body { background: ~#ffffff url("img_tree.png") no-repeat right top; } ```
CSS has a background property for setting the background color of an [[HTML element|HTML Elements]]. It can be used by setting `background: blue;` for example. The background property also has a [[linear gradient|CSS linear-gradient Function]] function, [[repeating linear gradient|Repeating Linear Gradient]] function, and [[url function|CSS url Function]] that can be used with it.
''Border styles'' allow borders to be built around elements. It can have up to 4 values assigned to it in [[CSS |CSS]] after the `border-style: ` property. The different types are in the note. The supplemental border properties can be applied only after a border style is set. Those are `border-width` and `border-color`. The different sides can be set individually as well with `border-top-style`, `border-right-style`, etc. A [[shorthand property|Shorthand Properties]] for the border style is `border:` which is specified in order with border-width border-style and border-color. `border-radius` can also be used to make rounded borders. For example `border-radius: 8px;` __Border styles__ * dotted - Defines a dotted border * dashed - Defines a dashed border * solid - Defines a solid border * double - Defines a double border * groove - Defines a 3D grooved border. The effect depends on the border-color value * ridge - Defines a 3D ridged border. The effect depends on the border-color value * inset - Defines a 3D inset border. The effect depends on the border-color value * outset - Defines a 3D outset border. The effect depends on the border-color value * none - Defines no border * hidden - Defines a hidden border
Box shadows can be added to an element which gives a nice affect. They use the following 4 parameters: * offset-x: how far to push the shadow horizontally. This can accept 4 [[length units|CSS Length Units]] and a color * offset-y: how far to push the shadow vertically from the element. This can accept 4 length units and a color. * (optional) blur-radius: * (optional) spread-radius: An example is here: ``` box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); ``` Which results in: [img width=200 [https://i.imgur.com/csteKIO.png]]
CSS treats each HTML element as it's own box. Block level items start on a new line, while inline elements sit within surrounding content. The default layout in this way is called the ''normal flow''. CSS offers a way to change this through the [[CSS position Property]].
CSS comments can be made with forward slashes and asterisks like so `/* This is a single line comment */`. Multi-line comments can also be done the same way: ``` /* This is a multi-line comment */ ```
The ''flex value'' of the [[display property|CSS display Property]] can be written as `display: flex;` can allow element to move in a predictable way depending on the [[viewport|HTML Viewport]]. Basically, it seems to just try to fill its container. Using `flex` on an element turns it into a [[flex container|CSS Flex Containers]] which allows quite a few other properties. See also: * [[Pretty helpful website with infographics on how to use flex in CSS|https://css-tricks.com/snippets/css/a-guide-to-flexbox/]]
The ''display grid Property'' is where `display: grid;` is stated on an element in its CSS. When this is done, the parent element (the one with the grid property) is considered the [[grid container|CSS Grid Containers]], and the children are called the [[grid items|CSS Grid Items]].
The ''display property'' creates a way to manipulate how elements are presented. The different values of `display` are below: * [[CSS display flex Property]] * [[CSS display grid Property]] * `none` will hide the element * `block` makes a good way to show an element on its own line such as an [[image|HTML image Element]]. * `inherit` which inherits from the parent element
The ''align-self property'' can be used on any [[flex item|CSS Flex Items]], which is useful because [[float|CSS float Property]] cannot be used. `align-self` can have the following values: * `flex-start` aligns items to the start of the flex container, so for rows that would be the top and for columns that would be the left. * `flex-end` * `center` * `stretch` stretches the items to fill the flex container. This is the default if align-items is not set. * `baseline` aligns items to their baseline which is kind of like text. Where all items align to the bottom of text. This seems to center the elements but keeps them at the start of the flex container.
''Flex containers'' are elements that have the [[flex property|CSS display flex Property]] assigned to them in the CSS. This allows them to have the following other properties: * [[CSS flex-direction Property]] * [[CSS justify-content Property]] * [[CSS flex-direction Property]] * [[CSS align-items Property]] * [[CSS flex-wrap Property]] Below is an image of a flex container's different dimensions in a [[row orientation|CSS flex-direction Property]], the same properties, although flipped 90 degrees apply to the column orientation: [img width=600 [https://www.w3.org/TR/css-flexbox-1/images/flex-direction-terms.svg]] The [[flex items|CSS Flex Items]] are the flex container's children.
''Flex items'' are the children of [[flex containers|CSS Flex Containers]]. They can have the following properties: <<list-links "[tag[CSS Flex Items]sort[title]]">>
The ''flex property'' can be set on [[flex items|CSS Flex Items]], and is a combined notation for [[flex-grow, flex-shrink|CSS flex-shrink Property]], and flex-basis in that order. The default property settings are `flex: 0 1 auto;`.
The ''flex-direction property'' allows a [[flex container|CSS Flex Containers]] to have its children children align horizontally, or vertically. `flex-direction` can be set to: * `row` which aligns the children horizontally stacked in rows. This is the default value. * `column`which aligns the children vertically stacked in columns. * `row-reverse` * `column-reverse`
The ''flex-shrink property'' can be used for a [[flex item|CSS Flex Items]] and allows an item to shrink if the [[flex container|CSS Flex Containers]] is too small. Items shrink when the width of the parent container is smaller than the combined width of the flex items. `flex-shrink` takes numbers as values. The higher the number, the more it will shrink compared to other items in the flex container. If one item has a value of 1, and the other has a value of 3, it will shrink 3 times more than the other item. The ''flex-grow property'' is almost exactly the same, just that when the parent's width is more than the combined width of the items, it will grow proportional to its value.
By default a [[flex container|CSS Flex Containers]] will contain all of its items in one row or column. The ''flex-wrap property'' allows modification of that. The different values that `flex-wrap` can have are below: * `nowrap` which is default * `wrap` which wraps items from left to right if they are in a row, or top to bottom if they are in a column * `wrap-reverse`
`float` can be used to free an element of their [[normal flow|CSS Box-Model]] and move to the `left` or `right` of the parent element.
The ''font property'' is shorthand for font-style font-variant [[font-weight|CSS font-weight Property]], [[font-size|CSS font-size Property]], and [[font-family|CSS font-family Property]].
The ''font-family property'' allows fonts to be set in CSS. The values are indicated in a fallback pattern, so the first one is the target font, the next is a fallback, and the next is a further fallback. For example: ``` p { font-family: "Times New Roman", Times, serif; } ``` Font families can be imported as well. Use [[this really helpful google fonts website|https://fonts.google.com/?selection.family=Roboto]] to help import different fonts, and get suggested fallbacks. See also: * [[$:/Example - HTML/CSS - Nice Roboto Font for Web Pages]]
The ''font-size property'' simply sets the font size of any text in the element. It can accept any [[length unit|CSS Length Units]].
The ''font-weight property'' can make text bold, and can accept a value. For example `font-weight: bold;` will make text bold and `font-weight: 900;` will make text roughly the same amount of bold.
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'CSS Functions'>> </div>
The ''align-self property'' allows a grid item to be aligned horizontally much the same way that [[justify-self|CSS justify-self Property]] allows grid items to align vertically.
''CSS Grid containers'' are elements that have the [[display grid property|CSS display grid Property]]. The different properties that they can have are listed below: * [[CSS grid-template-columns Property]] * [[CSS grid-template-rows Property]] * `grid-gap` which is shorthand for [[grid-row-gap|CSS grid-row-gap Property]] and [[grid-column-gap|CSS grid-column-gap Property]] in that order. If grid-gap has one value it will create that gap between all rows and columns. * [[CSS grid-template-areas Property]] * [[CSS justify-items Property]] If either of `grid-template-rows` or cols is not set, then it will automatically be assigned a value. The concept of a grid, is also surrounded by the idea of lines. Here is an [[image of the different aspects of a grid container|Image - CSS Grid Contianer Properties]]. See also: * [[CSS Grid Items]]
''Grid items'' are the components of [[grid containers|CSS Grid Containers]]. The properties they can have are below: <<list-links "[tag[CSS Grid Items]sort[title]]">>
The ''grid-column property'' allows a [[grid item|CSS Grid Items]] to take up more than one column in the grid. It uses the [[grid lines|Image - CSS Grid Contianer Properties]] idea to determine the values. For example, if a grid item should take up two columns, that are at the beginning of some row, then it could have the property: `grid-column: 1/3` which means it will take the space from column line 1, to column line 3.
The ''grid-column-gap property'' makes it so there is a gap of empty space between columns in a [[grid container|CSS Grid Containers]], and accepts some [[length unit|CSS Length Units]].
The ''grid-column-gap property'' is almost exactly the same as [[CSS grid-column-gap Property]].
The ''grid-template-areas property'' allows groups of cells to be combined together into an area, which can be given a custom name. For example: ``` grid-template-areas: "header header header" "advert content content" "footer footer footer"; ``` Each pair of double quotes is a row, and each word is a column. So this merges the top three into an area called `header` and the bottom three into an area called `footer`. A `.` can designate an empty cell in the area. After `grid-template-areas` is designated, a [[grid item|CSS Grid Items]] can use the `grid-area` property and choose the area it needs to inhabit. Such as `grid-area: header;`. The `grid-area` property can also accept line values for on the fly positioning such as `grid-area: 1/1/2/4;` which means horizontal line to start at, vertical line to start at, horizontal line to end at, vertical line to end at.
The ''grid-template-columns property'' takes any number of values of some [[length|CSS Length Units]]. For example `grid-template-columns: 50px 50px;` will give two grid columns that are 50px wide each. The number of values determines the number of columns. Some special units can also be used such as `fr` which is a fraction of the available space. The [[repeat function|CSS repeat Function]] can be used for the grid-template-columns property. Also see this [[example of using the repeat function here|$:/Example - CSS - Using repeat function with the grid-template-columns property]].
The ''grid-template-rows property'' is almost the same the [[grid-template-columns property|CSS grid-template-columns Property]].
Height and Width are used to set the height and width of elements.
''Hidden accessibility elements'' can be created for people using screen readers by just creating a class for the elements such as `sr-only`, then referencing that class with `.sr-only` in CSS. For example a bar chart could be replaced with a table and put off the page in the following example: ``` .sr-only { position: absolute; left: -10000px; width: 1px; height: 1px; top: auto; overflow: hidden; } ``` Width and height are `1px` because if it were `0px` then screen readers would ignore it.
The ''important identifier'' allows for a certain style to override the precedence of other styles. For example if a style property is set for an element but the same element's tag style is set in the header, then the style property will take precedence. But if the the `!important` identifier is used then the one will take precedence as long as no others are also using that identifier, otherwise the normal precedence takes place. An example is in the note. //CSS:// ``` #elementId { background: blue !important; // This will take precedence now } ```
An inline style is one added onto a specific element with `<h1 style="color:red; text-align:center;">This is red and centered</h1>`
The ''justify-content property'' allows [[flex items|CSS Flex Containers]] to be aligned to the main axis in some way. Below are the different values that `justify-content` can have assigned. * `center` which aligns all the flex items to the center. * `flex-start` which aligns all the items to the start of the container. * `flex-end` * `space-between` which aligns items to the center of the [[main axis|CSS Flex Containers]] with extra space between them. The first and last item are pushed to the very furthest edge of the container then the items in-between are spaced evenly. * `space-around` which is almost the same as space-between except that it doesn't lock the first and last item to the outside of the container. * `space-evenly`
The ''justify-items property'' can be applied to a [[grid container|CSS Grid Containers]] and will justify all the grid items in a certain way. The possible values are below: * `start` * `end` * `center` * `stretch`
The ''justify-self property'' allows a [[grid item|CSS Grid Items]] to horizontally align itself within its cell in the designated way. The different values for `justify-self` are below: * `stretch` which will stretch it horizontally to fit the cell. This is the default. * `start` * `center` * `end`
Keyframes are used to describe an [[animation|CSS Animation Properties]]. They are written with the prefix `@` for example `@keyframes anim` where the animation is called `anim`. Frames are represented by percentages, where 0% is the very first frame and 100% is the very last frame. For example: ``` #rect { animation-name: rainbow; animation-duration: 4s; } @keyframes rainbow { 0% { background-color: blue; } 50% { background-color: green; } 100% { background-color: yellow; } } ``` The [[position properties|CSS position Property]] can also be used with keyframes as if the position was already set to `relative`. For example to move an element around: ``` #rect { animation-name: rainbow; animation-duration: 4s; } @keyframes rainbow { 0% { background-color: blue; top: 0px; left: 0px; } 50% { background-color: green; top: 50px; left: 25px; } 100% { background-color: yellow; top: 0px; left: 0px; } } </style> ``` Animation rates can be varied by starting similar animations at different percentages, and the animation-duration could be changed to slightly different values as well.
CSS has ''length units'' that are relative or absolute. Absolute units tie to physical units of length for example `in` and `mm` correspond to inches and millimeters. Relative units such as `em` or `rem` are relative to another length value. For example `em` is based on the size of an [[element's|HTML Elements]] font. If `em` is used to set the `font-size` property itself, then it's relative to the parent's font size. [[Viewport units|CSS Viewport Units]] are another relative unit. Another relative unit is actually `px`. On low resolution devices this actually corresponds to a pixel. On high resolution devices this corresponds to possibly multiple pixels.
`line-height` adjusts the amount of space each line of text gets on the page. This can also be used to center text vertically.
The `linear-gradient()` function can be used for the value of the [[CSS background Property]]. The general syntax is ``` background: linear-gradient(gradient_direction, color1, color2, color3, ...); ``` The `gradient_direction` can be stated as a degree for example `90deg` makes a vertical gradient, while `45deg` is angled like a backslash. These gradients make very pleasing effects such as: [img width=200 [https://i.imgur.com/9Xd6jHc.png]] which results from: ``` <style> div{ border-radius: 20px; width: 70%; height: 400px; margin: 50px auto; background: linear-gradient(35deg, #CCFFFF, #FFCCCC); } </style> <div></div> ```
The ''list-style-type property'' can change the style of list of a [[list element|HTML List Element]]. The different values are below: * `disc` which is a bullet and the default * `circle` * `square` * `none`
The ''margin property'' can be set with `margin`. This is shorthand to set, in the following order, top, right, bottom, and left. Or if it is one value then it is all margin sides. If two values are given then it is top and bottom then left and right. There is also `margin-top`, `margin-bottom`, and for the right and left. For example: ``` [type='radio'] { margin: 20px 0px 20px 0px; } ``` The margin property `auto` will automatically center the element horizontally within its container. If a width is set, then the element will take the width, then any remaining space will become margin in the container. The `inherit` property of margin let's it inherit the margin properties of it's parent element. Top and bottom margins sometimes collapse into a single margin that takes the larger of the two margins. This does not happen with horizontal margins. See also: * [[CSS padding Property]]
The ''max-width property'' can be used for [[images|HTML image Element]] and if set to `100%` it will scale to fit the width of its container, but won't stretch wider than its original size.
''Media queries'' consist of a media type, and if that media type matches the type of [[viewport|HTML Viewport]], then the styles are applied. For example: ``` @media (max-width: 100px) { p { font-size: 10px; } /* other CSS Rules */ } ``` Some media types are: * `max-width` returns the content when the viewport width is less than or equal to the specified width. * `min-height` returns the content when the viewport height is more than or equal to the specified height.
The ''minmax function'' is useful for situations where a value should be a minimum of some value, and a maximum of some value. For example: `grid-template-columns: 100px minmax(50px, 200px);` will make two columns. One that is 100px, and one that is a minimum of 50px and a maximum of 200px. See also: *[[$:/Example - CSS - Using repeat auto-fill with minmax in a grid layout]]
[[This website|http://getbem.com/naming/]] is great for using a common naming convention and seems to be used across the industry.
The ''opacity property'' can be set between 1 and 0 where 0 is completely transparent. For example: `opacity: 0.6;`.
The ''order property'' can determine in what order [[flex items|CSS Flex Items]] appear. By default they come in the order in which they are presented in the HTML. `order` accepts a value indicating its position, and can accept negative values.
The ''outline property'' can be set so that there isn't an outline when an element is selected on the page. For example to turn the outline off on a button: ``` button { outline: none; } ```
The ''overflow property'' can determine what happens when the content of an element overflows its container. The different values `overflow` can have are below: * `visible` where the overflow is not clipped and it is visible outside of its container. This is the default. * `hidden` the overflow is clipped and hidden * `scroll` the overflow is clipped and the container becomes scrollable * `auto` if the overflow is clipped, a scrollbar shows up
The ''overflow-x property'' seems to control the extra screen space that seems to show up sometimes on mobile views. It can be set to `hidden` to make that go away.
The ''padding property'' provides spacing for an element within it's borders. If padding is used with width, then the padding will add to the total width, which is normally an undesirable result. The `box-sizing` property can be used to avoid this. If `box-sizing` is used then the available content space will decrease. The order in which padding can be used is top, right, bottom, then left. An example is here: ``` div { width: 300px; padding: 25px; box-sizing: border-box; } ``` See also: * [[CSS margin Property]]
The ''position property'' allows things or menus to be fixed on a page. For example to fix a menu to the top of the page use: ``` position: fixed; top: 0; width: 100%; ``` Then to make sure it doesn't overlay content, add `margin-top` to the main content of the page to be whatever the height of the top menu is. This is a property that allows the positioning of an element to break away from the [[normal flow|CSS Box-Model]] of the page. Position can be set to `relative` which then allows the element to move relative to it's normal flow position. Then the properties `top`, `bottom`, `left`, and `right` can be used to determine how many [[length units|CSS Length Units]] it should be from the normal position. If an element is moved in this way, it does not change the normal flow of the page, and other elements will act as if the element is still in it's normal position. Another option is to use `absolute`. This removes the item from the normal flow of the page so other items ignore it. The same `top`, `bottom`, `left`, and `right`can be used here as well. If a position rule is added to the parent, such as `relative`, then the target element will position itself absolutely, relative to the parent. `fixed` is different than `absolute` in that it stays put even when the user scrolls the page. This is good for top menus if they should stay at the top.
''CSS properties'' consist of all the different kinds of visual changes that can be applied to various [[HTML elements|HTML Elements]].
Pseudo-Classes are keywords that can be applied to a [[selector|CSS Selectors]] in order to select a specific state of an element. For example `:hover` can be used to change how an element looks when it is hovered over. For example: ``` a:hover { color: blue; } ```
The ''repeat function'' is a way of repeating values. The first argument is the number of times to repeat, and the second argument is the thing to repeat. The first argument of `repeat()` can accept the following values: * The number of times to repeat as an integer * `auto-fill` as the first argument which will fill the element using it with the maximum number of items it can have. This has some interesting effects while using [[minmax|CSS minmax Function]] at the same time. * `auto-fit` which will do almost the same thing as auto-fill with the exception that it will use up as much space as possible and only put items down a row when it is absolutely necessary. Here is an [[example of using the repeat function with the grid-template-columns property|$:/Example - CSS - Using repeat function with the grid-template-columns property]]. See also: * [[$:/Example - CSS - Using repeat auto-fill with minmax in a grid layout]]
The root element can be defined in CSS with `:root` and applies to the entire [[HTML|HTML]] document. These are great spots to assign [[css variables|CSS Variables]].
A CSS rule consists of a selector and a declaration block. The selector points to the [[HTML]] element to be styled such as `h1`, while the declaration block contains one or more declarations separated by semicolons. Each ''CSS declaration'' contains a property name and value separated by a colon. Example: ```java p { color: red; text-align: center; } ```
Scale an element with the `scale()` function used as a value of `transform`. To double the size of something, the following could be used: ``` transform: scale(2); ``` This is good when used in combination with [[pseudo-classes|CSS Pseudo-Classes]] like `:hover`.
A selector finds an element, class, or id based on some identifier. The most simple case is the element selector: ``` <style> h2 {color: red;} </style> ``` This will search for all `h2` elements and apply the [[color|Programming Colors]] `red`. Other selectors are the [[ID selector|ID Selector]], [[Class Selector|Class Selector]], and [[Attribute Selector|CSS Attribute Selector]]. Some of these selectors can be combined as well such as all p elements with a class of `center` which would come to `p.center`. To group selectors, separate them with a comma such as `h1, h2, p`.
`skewX()` skews an element along it's X axis a given degree. This will make it slant in a way. For example: ``` p { transform: skewX(-32deg); } ```
Text-align has a few different options to organize text. Some of those are laid out below: `text-align: left` is default, and left-aligns the text. `text-align: justify;` causes all lines of text except the last line to meet the left and right edges of the line box. `text-align: center;` centers the text. `text-align: right;` right-aligns the text.
The ''text-decoration property'' is a shorthand property for `text-decoration-line`, `text-decoration-color`, and `text-decoration-style` in that order. The different values for the properties are below: * Property `text-decoration-line` ** `none` ** `overline` ** `underline` ** `line-through` * Property `text-decoration-style` ** `solid` ** `double` ** `dotted` ** `dashed` ** `wavy`
The ''text-transform property'' can adjust the capitalization of the text uniformly without having to change the actual content in the [[HTML|HTML]]. The following values can be used: * `none` is the default and uses the original text * `lowercase` which makes it all lowercase. * `uppercase` * `capitalize` which causes the first letter of each word to be capitalized. * `initial` uses the default value * `inherit` uses the parent value
The `transform` property will can adjust an element as a whole. It works with various functions as values such as [[scale()|CSS scale Function]], [[skewX()|CSS skew Function]], and skewY
This can be used with the [[background property|CSS background Property]] to designate a texture to use for a background from the source of a picture. For example: ``` background-image: url(https://i.imgur.com/MJAkxbh.png); ```
Variables can be created with CSS to manipulate multiple parameters at once. CSS variables are [[cascading|Cascading]], which means that they can be declared in the [[root element|CSS Root Element]]. A CSS variable needs a name with two dashes in front of it. Then assign it a value like so: ``` --penguin-skin: gray; ``` This creates a variable named `--penguin-skin` with a value of `gray`. To use the variable, add a `var(--var-name)` to any property that should be linked to it. For example: ``` background: var(--penguin-skin); ``` A fallback value can be used just in case the browser or device does not yet use CSS variables. This can be declared by using `background: var(--penguin-skin, black)`. Where `black` is the fallback value.
''Viewport units'' are relative to the [[viewport|HTML Viewport]] dimensions of a device, and percentages are relative to the size of the parent container element. The 4 different viewport units are: * `10vw` would be 10% of the viewports width * `3vh` would be 3% of the viewports height * `70vmin` would be 70% of the viewport's smaller dimension (height vs width) * `100vmax` would be 100% of the viewport's bigger dimension (height vs width)
The ''Cubic Bezier Function'' consists of 4 main points that sit on a 1 x 1 grid and is based on a [[Bezier Curve]]. They are `p0`, `p1`, `p2`, and `p3`. The X-axis indicates the duration of the animation, and the Y-axis represents the change in the animation. `p0` and `p3` are pre-set to be $$0,0$$ and $$1,1$$ respectively. `p1` and `p2` are set by the user in the form of 4 points: `(x1, y1, x2, y2)` which form the arguments of the function. All together the timing function could be: ``` animation-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75); ``` This creates the same effect as creating `animation-timing-function: linear;`. Although the x value can not exceed 1, the y value can.
The ''cumulative distribution function'' can be defined as $$F(x) = P(X \leq x)$$ where $$X$$ is a [[random variable|Statistical Random Variable]], $$P$$ is a probability function, and $$x$$ is some constant value. The cumulative distribution function specifies the probability that a random variable is less than or equal to a given value, whereas the [[probability mass function|Probability Mass Function]] specifies the probability that a random variable is equal to a given value. For a [[discrete random variable|Statistical Discrete Random Variable]], the cumulative distribution function can be found by summing each of the probabilities of all possible values of $$X$$ that are less than or equal to $$x$$. Note that this means that $$F(x)$$ is defined for any number of $$x$$, not just the possible values of $$X$$. See also: * [[Probability Density Function (PDF)]]
''Current'' is the measure of the flow of charged particles. This is analogous to the rate of flow such as $$m^3 / s$$. It is measured in amperes (A) or amps for short.
''Currying'' means to convert a function of N [[arity|Arity (Computer Science)]], into N functions of arity 1. This seems like a really good way to break up functions that take a very long time so that one argument can be provided when its available at a time. Here is an [[example of currying in JavaScript|Example - JavaScript - Currying]].
A ''custom processor'' is specialized to perform one computation. This could be like a graphics processor
''CYBER502x'' is a course about [[digital forensics|Digital Forensics]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'CYBER502x'>> </div>
<<list-links "[tag[CYBER502x - Week 1]sort[title]]">>
<<list-links "[tag[CYBER502x - Week 2]sort[title]]">>
<<list-links "[tag[CYBER502x - Week 3]sort[title]]">>
<<list-links "[tag[CYBER502x - Week 4]sort[title]]">>
<<list-links "[tag[CYBER502x - Week 5]sort[title]]">>
<<list-links "[tag[CYBER502x - Week 6]sort[title]]">>
<<list-links "[tag[CYBER502x - Week 7]sort[title]]">>
<<list-links "[tag[CYBER502x - Week 8]sort[title]]">>
''Cybercrime'' includes the following among other things: * Money laundering * Forgery * Identity theft * Child pornography * Fraud * Terrorism * Extortion * Cyberstalking
''Cyclomatic complexity'' is a type of [[predictor metric|Software Predictor Metrics]] and shows the number of linearly independent paths through a program's source code. This means that the cyclomatic complexity counts how many possible paths there are and uses that as a metric for the potential of bugs in the software. The calculation for cyclomatic complexity is generally as follows: $$CC(G) = E - N + 2$$ where * $$CC(G)$$ means cyclomatic complexity of a [[control flow graph|Software Testing > Control Flow Graph]] * $$E$$ is the number of [[edges|Software Testing > Code Coverage]], aka if/else paths or switch paths. Note that a loop counts as one edge, and so does a single movement from one node to another. * $$N$$ is the number of [[nodes|Software Testing > Code Coverage]], aka statements See also: * [[Wikipedia page on cyclomatic complexity|https://en.wikipedia.org/wiki/Cyclomatic_complexity]]
''Axes'', which is the plural of axis, are a way to relatively easily generate measurements marks, or ticks, for a [[scale|D3 Scales]]. Regardless of orientation, axes always render at the origin point which is 0,0. This can be adjusted with a transform attribute, which acts just like the [[css transform property|CSS transform Property]]. Here is an [[example of doing that|Example - D3 - Rendering an axis off the origin]]. See also: * [[D3 continuous.tickFormat Method]] Some types of axes are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'D3 Axes' sort[title]>> </div>
A ''continuous object'' in D3 is anything that is basically [[analog|Analog Signal]] it seems. So this would be a [[scale|D3 Scales]], or an [[axis|D3 Axes]].
The ''continuous.tickFormat method'' can be used on a [[continuous object|D3 Continuous Objects]], and accepts a [[format object|D3 Format Objects]]. Here is an example of using the tickFormat method: ``` continuousObject.tickFormat(formatObject); ```
The ''d3.axisBottom and d3.axisLeft methods'' take a [[scale|D3 Scales]] as an argument and creates a corresponding axis for that scale. An example of using an axis is below: ``` const xAxis = d3.axisBottom(xScale); svg.append("g") .attr("transform", "translate(0, " + (h - padding) + ")") .call(xAxis); ``` More notes will be needed on the transform attribute and call method.
The ''d3.hierarchy method'' can be used to create hierarchal data from a JSON file for example. It accepts one argument, which is the data to be turned into a D3 hierarchy, and returns a root [[node|D3 Hierarchy Nodes]] for that hierarchy.
The ''d3.min and d3.max methods'' accept a dataset as the first argument and return either the minimum value or maximum value. Optionally it can accept a callback function as the second argument that takes in the current value of the given array being compared and returns the value that should be compared. This can be useful for finding the max of certain values in embedded arrays.
The ''d3.scaleLinear method'' can be executed with no arguments and return a scale which can be used to set the output values for some set of data so that it matches up with the available space. Or just to adjust values. This topic seems like it needs more notes. An example of using it with domain and range is below: ``` const scale = d3.scaleLinear(); // The domain covers the set of input values scale.domain([50, 480]); // The range covers the set of output values scale.range([10, 500]); scale(50) // Returns 10 scale(480) // Returns 500 scale(325) // Returns 323.37 scale(750) // Returns 807.67 ``` Each scale is done on a linear axis. So if two axis are needed, such as x and y, then two scales will be needed.
The ''d3.scaleOrdinal method'' returns a ordinal scale that allows the domain to be set to any value, even named values. The domain input can be an array of strings for example.
The ''d3.scaleQuantile method'' produces a quantile scale where the domain can be set specifically for each value, then the range can be specified like normal. More notes might be needed on how this is useful compared to a normal scale, because it doesn't seem that any values can be set for the range, it must be numbers.
The ''d3.scaleTime method'' can be used to create a time scale from the provided data. This makes it easier to show dates on an [[axis|D3 Axes]] as well. The domain and range are done pretty much the exact same way, with the difference that the domain values should be dates.
The ''d3.select method'' takes one argument which is a string containing a CSS selector or multiple and returns the first element that matches it in the document. For example `d3.select("a")` would return the first [[anchor element|HTML Anchor Element]] in the document.
The ''d3.selectAll method'' takes an argument which is a tag name such as `"a"` and returns all the elements on the page with that name as an array.
The ''d3.timeFormat method'' returns a [[format object|D3 Format Objects]], and can accept an argument that contains a string that specifies the format of the time. [[Here is documentation on making that string|https://github.com/d3/d3-time-format/blob/master/README.md#locale_format]].
The ''d3.treemap method'' returns a new [[treemap|Tree Maps (Computer Science)]] layout with default settings. For example: `const treemap = d3.treemap();` Here is a [[link to the documentation on the treemap layout|https://github.com/d3/d3-hierarchy/blob/master/README.md#treemap]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'D3 d3.treemap Method' sort[title]>> </div>
A ''format object'' or ''formatter'' seems to be a way to setup a format specification that can be used for different types of data. [[Here is a link to documentation of custom formats|https://github.com/d3/d3-format#api-reference]]. Some format object types are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'D3 Format Objects' sort[title]>> </div>
''Hierarchy nodes'' can be created with the [[d3.hierarchy method|D3 d3.hierarchy Method]] and each have the following properties: * `node.data` which has the data for the node. * `node.depth` which is 0 for the root node * `node.height` which is 0 for leafs, and represents the greatest depth from internal nodes to a leaf node. * `node.parent` which returns the parent node, and null if it is the root node. * `node.value` which is the summed value of all the nodes children and itself. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'D3 Hierarchy Nodes' sort[title]>> </div>
The ''hierarchyNode.sum method'' can be used on a [[node|D3 Hierarchy Nodes]], and takes a callback function as an argument. The callback function can take one argument which will be each node including the node it is called on, in [[post-order traversal|Postorder Tree Traversal]]. This function must be used before using [[hierarchal data|D3 d3.hierarchy Method]] for a layout. For example: ``` d3.hierarchy(data) .sum(d => d.size) .sort((a, b) => b.height - a.height || b.value - a.value) ```
The ''node.append method'' can be used on an HTML node, like one retrieved from the [[select method|D3 d3.select Method]] and takes one argument that is also a node, which will be appended to the the one it is used on. For example: ``` d3.select("p") .append("div") ``` This will append a div element onto the first paragraph element in the document.
The ''node.attr method'' can add any attribute to an HTML node, such as `class`. For example `selection.attr("class", "container")`. It can also accept a callback function for one of the properties where the first argument is the data of the current element in the data array, and the second argument is the index of the array at that point. For example ``` selection.attr("property", (d, i) => { /* * d is the data point value * i is the index of the data point in the array */ }) ``` See also: * [[Example - D3 - Creating a simple bar chart]]
The ''node.style method'' can style the given node with inline styles. It takes comma separated key value pairs as an argument. For example: ``` selection.style("color", "blue"); ``` The `node.style()` method can also accept callback functions for the values of styles. This allows data from the data method to be used to determine the style of a node. For example: ``` selection.style("color", d => { if (d < 30) { return "blue"; } else { return "red"; } }) ``` Keep in mind that some elements, such as the [[rect svg element|HTML svg rect Element]], set color with the `fill` property.
The ''node.text method'' can be used to access the text of an [[html node|D3 d3.select Method]]. The different argument options are below: * If it is provided no arguments it will return the text of the node. * If it is given a string, it will set the text of the node to the string provided. * If it is provided a [[callback function|JavaScript Callback Functions]] with one argument, then it will supply that argument with the current data value from the [[data method|D3 nodes.data Method]] and whatever is returned will become the text for the node.
The ''nodes.data method'' can be used on an array of nodes it seems like. For example this array could come from the [[selectall method|D3 d3.selectAll Method]], and could be nodes that don't quite exist yet. This might make more sense in the context of an example like [[this one that shows an example of using the data and enter methods|Example - D3 - Using data and enter methods]]. The data method takes one argument and that is an array of data that it needs to process. Each chained command attached onto the data method will be ran once for each data entry. The [[text method|D3 node.text Method]] can be used to do something with the data from the dataset.
The ''scale.domain method'' sets the input values for a given [[scale object|D3 Scales]]. The argument passed to the domain method is an array of two values which indicate the starting value and ending value of the domain. To help find the smallest and largest value of the data, the [[min and max methods|D3 d3.min and d3.max Methods]] can be used.
A ''scale'' seems to be some kind of representation of data that can fit the corresponding area that is specified as the range. Scales can be used for any kind of value mapping. Typically they could be used for mapping some set of data onto a set space, although they can be used for colors, stroke width, or stroke size. The ''domain'' covers the set of input values, while the ''range'' covers the set of output values, or allowed output values. Some different kinds of scales in d3 are listed below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'D3 Scales' sort[title]>> </div>
The ''treemap.size method'' accepts an argument which is an array of two values that indicate the width and height of the treemap. For example `treemap.size([width, height]);`
''Data'' are known facts that can be recorded and have implicit meaning.
''Data at rest'' means that data is on a mobile phone, in the cloud, on a USB drive, or something similar like that. See also: * [[Data in Use|Data in Use]] * [[Data in Transit|Data in Transit]]
A group of N wires in a circuit that transport data is called a ''data bus'' or just a ''bus''. N is the width of the bus. This is drawn as a single bolded line with a small angled line drawn through it to denote multiple bits, and optionally a number to determine how many. An example of the notation is here: https://drive.google.com/file/d/1E83m0jvxAqHqLSphRtpT0_Ukg_1Zobwz/view?usp=sharing.
A ''Data centered architecture'' allows multiple clients to collaborate through shared, synchronized data access. Some advantages are that it is simple, clients operate independently, it is relatively easy to add new clients or modify clients, and information can be passed between clients via the data store. The blackboard architecture style @b:0155 is a variant of the data centered architecture.
''Data coupling'' is a type of [[procedural programming coupling|Procedural Programming Coupling]] and is the lowest form of coupling (a good thing). Data coupling is where modules share data through parameters.
A ''data definition language'' or ''DDL'' is a language that can be used to create a [[schema|Database Schema]], or contain type information for some other language or data storage format.
''Data Driven Documents'' or ''D3'' or ''D3.js'' is a [[JavaScript Library|JavaScript Libraries]] to create dynamic and interactive data visualizations in the browser. D3 is built to work with [[HTML|HTML]], [[CSS|CSS]], and [[SVG|Scalable Vector Graphics (SVG)]]. D3 is typically used with the [[namespace|JavaScript import Keyword]] `d3`, so all the notes under D3 use that. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Data Driven Documents (D3)' sort[title]>> </div>
''Data in transit'' means data currently moving over a network. See also: * [[Data in Use|Data in Use]] * [[Data at Rest|Data at Rest]]
''Data in use'' means data in memory on a computer or device. See also: * [[Data at Rest|Data at Rest]] * [[Data in Transit|Data in Transit]]
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Data Management' sort[title]>> </div>
''Actors on the scene'' are the users that conduct work with a database day-to-day. More details are in section 1.4 of [[this book|Book - Fundamentals of Database Systems 7th Ed]] if further notes need to be taken. See also: * [[Data Management > Workers behind the scene]] Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Data Management > Actors on the scene' sort[title]>> </div>
''Workers behind the scene'' are those that maintain the database environment and aren't really interested in what the database actually contains. * ''DBMS system designers and implementers'' design and implement the DBMS modules and interfaces as a software package. * ''Tool developers'' design and implement ''tools''. Tools are the software packages that facilitate database modeling and design. Tools are often packages that are purchased separately. They might contain packages for design, performance monitoring, natural language or graphical interfaces, prototyping, simulation, and test data generation. In many cases independent software vendors develop and market these tools. * ''Operators and maintenance personnel'' or ''system administrator personnel'' are responsible for the actual running and maintenance of the hardware and software environment for the database system. See also: * [[Data Management > Actors on the scene]]
A ''data model'' is an abstraction that is typically used to provide a [[DBMS conceptual representation|DBMS Conceptual Representation]]. A data model provides logical concepts such as objects and their relationships rather than computer storage concepts. Rules that pertain to a specific data model are called ''inherent rules'' of the data model. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Data Model'>> </div>
''Data parallelism'' focuses on distributing subsets of the same data over multiple processing cores. For example to sum an array of N values, core 0 could sum values [0] to [N/2 - 1], and core 1 would sum [N/2] to [N - 1].
''Data striping'' is where data is split across disks. One way to do this is ''bit-level striping'' where each byte is split across multiple disks. For example if there are 8 disks, each bit i of a byte will be written to disk i. Then the array of 8 disks can be considered one logical disk with eight times the normal size and eight times the transfer rate. ''Block-level striping'' is the same idea but with [[blocks|Magnetic Disk Logical Blocks]].
A ''data structure'' is a particular "way" or implementation of storing data in memory of some kind. A general idea is Programs = Data Structures + Algorithms. The 3 primary actions that algorithms need to be able to perform on data structures are add data, remove data, and search the structure for specific data. A data structure built correctly with a focus on efficient use of the CPU and memory is one that can be reused in many different applications. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Data Structures'>> </div>
A ''data type'' is defined by the values that are allowed by use of it, and the operations allowed for those values. A data type is used to declare variables.
''Data warehouses'' are used with [[OLAP|Online Analytical Processing (OLAP)]] systems to extract useful business information from very large databases.
A ''database'' is a logically coherent collection of related [[data|Data]]. A random assortment of data cannot correctly be referred to as a database. The web is still considered a database even though it seems pretty random. A database is designed, built, and populated with data for a specific purpose. The entries in a database are called [[data records|Database Data Records]]. A specific file, where file is used loosely, may store records of the same type. A database represents some aspect of the real world, or [[universe of discourse / miniworld|Domain]]. Sub-topics: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Database' sort[title]>> </div>
''Database Administrators'' or ''DBAs'' are the chief administrators that oversee and manage database resources.
There are 3 high-level ''database application architectures'': * Embedded. Where the applicaiton and the database run in the same process. They share RAM, CPU, etc. Calls to the DB are made via a library. The benefit is that it leverages a standard interface. * Client/Server. This is the dominant model. The application runs as a client which makes requests to a database server. Typically there are many clients for the DB server. This method is ''connection oriented'' which means when the connection is made, the socket is kept open. * ''Database as a Service'' (''DaaS''). The database runs on the cloud, where applications or other services access it as service calls.
In a [[database application|Database Applications]], ''Data bindings'' map a database's data type to a programming language's data type. A different binding is needed for each programming language because they have different data types.
Some ''database application optimizations'' which are of course for [[database applications|Database Applications]], are laid out below: * Configuration choices ** [[Fetch size|Java java.sql.ResultSet Class]], batch statements ** Use of [[prepared statements|Java java.sql.PreparedStatement Class]] ** [[Connection pooling|Server Connection Pooling]] * Software architecture ** Use of object-level caching, where the [[proxy design pattern|Proxy Design Pattern]] is used to keep some common database results in memory. Look into open-source solutions for this, there may be a lot. ** Use of [[stored procedures|Database Stored Procedures]] * Database Server-Side - This is the realm of the [[DBA|Database Administrators (DBAs)]]. ** Query plan evaluation and heuristic query optimization ** [[Indexing|DBMS Indexes]] ** [[Denormalization|Database Controlled Redundancy]] See also: * [[JDBC Best Practices]]
''Database application programmers'' implement the specifications found by the [[database system analysts|Database System Analysts]]. They test, debug, document and maintain the [[database applications|Database Applications]].
''Application-based constraints'', ''semantic constraints'', or ''business rules'' are constraints that cannot be expressed as a [[schema-based constraint|Database Schema-based Constraints]] or [[model-based constraint|Database Inherent Model-Based Constraints]]. These are expressed in the [[database applications|Database Applications]] themselves or in some other way. An example is that the salary of an employee should not exceed the salary of the employee's supervisor.
A ''database application'' accesses a [[database|Database]] by sending [[queries|Database Queries]] to the [[DBMS|Database Management System (DBMS)]]. They are normally built specifically for a certain [[type of database|Types of Databases]]. Database applications can be written in general-purpose languages such as [[C/C++|Programming in C/C++]], [[Java|Java]], etc. or in scripting languages such as PHP, [[JavaScript|JavaScript]], and [[Python|Python]]. See also: * [[An image of database application design on the left side and database design on the right side|$:/Image - Overview of the database design process]] Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Database Applications' sort[title]>> </div>
''Canned transactions'' seem to be a general term that refers to common [[database transactions|Database Transactions]] that are built into a [[database application|Database Applications]].
After the [[requirements step|Database Requirements Specification]], the ''conceptual design'' step occurs. This is where a [[conceptual schema|Database Conceptual Schema]] is created for the database. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Database Conceptual Design' sort[title]>> </div>
The ''conceptual schema'' is a product of the [[conceptual design|Database Conceptual Design]], and is a concise description of the [[database requirements|Database Requirements Specification]]. The conceptual schema can be built as an [[ER model|Entity-Relationship (ER) Models]] and represented as an [[ER Diagram|ER Diagrams]].
A ''database constraint specification language'' can be used to specify [[application-based constraints|Database Application-based Constraints]]. SQL-99 is a constraint specification language it sounds like.
''Controlled redundancy'' or ''denormalization'', contrasted to [[redundancy|Database Redundancy]], and [[normalization|Relational Database Normalization]] is where redundancy is used to increase performance by storing similar frequently queried information together. According to [[this book|Book - Fundamentals of Database Systems 7th Ed]], the definition of denormalization is "the process of storing the join of higher normal form relations as a base relation, which is in a lower [[normal form|Relational Database Normalization]]" An example is below: [img width=700 [https://i.imgur.com/Zh0rDUD.png]]
''Database data abstraction'' is a process or quality of a [[database|Database]] that requires [[program-data independence|Database Program-Data Independence]] and [[program-operation independence|Database Operations]].
''Data records'' store ''data elements'' in a database, which can be specified further with [[metadata|Metadata]]. A data element is a generalized term and may store a particular point of information such, as a number, or a string. So a data record could be a row of data elements, or a [[relational tuple|Relational n-Tuples]] which are essentially the same idea.
''Database design'' typically occurs alongside [[database application|Database Applications]] design. Design of a new database might proceed as follows: * [[Requirements specification and analysis|Database Requirements Specification]] * [[Conceptual Design|Database Conceptual Design]] * [[Logical Design|Database Logical Design]] * [[Physical Design|Database Physical Design]] Here is an [[image of an overview of the database design process|$:/Image - Overview of the database design process]] where the application design is on the left side, and the database design is on the right side.
''Database Designers'' are responsible for identifying the data to be stored in a [[database|Database]]. These tasks are mostly taken before the database is actually populated with data. Most of the time, database designers are on the staff of the [[DBA|Database Administrators (DBAs)]]. They are responsible for interacting with each potential group of users and develop [[views|Database Views]] of the database.
''Domain constraints'' specify that within each tuple, the value of each [[attribute|Relational Data Model > Relations > Attributes]] $$A$$ must be an atomic value from the [[domain|Relational Domain]] $$dom(A)$$.
''Database end users'' are the people that require access to a [[database|Database]] as part of their job. Some types of end users are below: * ''Casual end users'' occasionally access the database, and generally need different information each time. They are typically middle or high level managers or occasional browsers and need a sophisticated query interface. * ''Naive users'' or ''Parametric users'' make up a sizable portion of the end users. Their main job revolves around constantly updating and querying the database using standard types of queries and updates, or [[canned transactions|Database Canned Transactions]], that have been carefully tested and programmed. Many of these tasks are turned into mobile apps. These could be bank customers or tellers, reservation agents or customers, employees at receiving stations, or social media users. * ''Sophisticated end users'' include engineers, scientists, business analysts or anyone that wants to heavily interact with the database, maybe for making their own application. * ''Standalone users'' maintain personal databases by using ready made program packages that provide easy to use menu-based or graphics based interfaces. An example is a user of Intuit or something.
When database statements are included in a program, the general-purpose programming language is called the ''host-language'', whereas the database language, which in some cases is [[SQL|Structured Query Language (SQL)]], would be called the ''data sublanguage''.
Database systems often suffer from something called the ''impedance mismatch'' problem which means the data structures provided by the [[DBMS|Database Management System (DBMS)]] are incompatible with the programming language's data structures. [[Object oriented database systems|Object-Oriented Database System]] typically offer data structure compatibility with one or more object-oriented languages. One way to get around an impedance mismatch is a [[data binding|Database Application Data Bindings]], although it can be complex.
''Inherent model-based constraints'' or ''implicit constraints'' are those that are imposed by the [[data model|Data Model]] being used. An example is the [[first normal form assumption|Relational First Normal Form]] for a [[relational data model|Relational Data Model]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Database Inherent Model-Based Constraints'>> </div>
''Integrity constraints'' generally fall under the following categories: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Database Integrity Constraints' sort[title]>> </div> It is the responsibility of the [[database designers|Database Designers]] to identify integrity constraints during [[database design|Database Design]]. If a database does not obey all the integrity constraints it is required to follow, then it is called ''not valid''. One that does is said to have a ''valid state''.
''Logical data independence'' protects the user from changes in one of the two parts of the [[logical structure|Database Logical Structure]] of the data.
After the [[conceptual design step|Database Conceptual Design]], the design is then translated to a ''logical design'', which is also called ''data model mapping''. which can be expressed as a [[data model|Data Model]]. Most current [[DBMSs|Database Management System (DBMS)]] use something called an ''implementation data model'', such as SQL apparently. The result of the logical design step is a [[database schema|Database Schema]] in the implementation data model of the DBMS. Data model mapping is often automated or semi-automated.
The ''logical structure'' of a database is what users see. It is the program or query language interface. The logical structure can be divided into two components: * [[Views|Database Views]] * [[Conceptual Schema|Database Conceptual Schema]] See also: * [[Image - Three-level architecture of a database|$:/Image - Three-level architecture of a database]]
A key concept for recoverability is a ''log''. A log keeps track of all actions that are carried out by a [[database|Database]]. The log is a sequential, append-only file that is held on disk. It can be used to essentially undo and redo operations. Typically the most recent log items are held in a log [[buffer|DBMS Buffer Space]], and when the buffer fills, it is appended to the log. The log file is typically backup up periodically. Some of the more common logs are [[database transaction|Database Transactions]] logs. These are logs where typically a variable `T` is the transaction ID. Here is an [[image of the different basic logs|$:/Image - Basic transaction log types]].
A ''Database Management System'' or ''DBMS'' is a software package that allows users to create, store, and maintain a [[database|Database]]. DBMSs provide a [[conceptual representation|DBMS Conceptual Representation]] to users as an interface to the database, once the DBMS is defined, and constructed. A DBMS is a general purpose software system that facilitates the process of defining, constructing, manipulating, and sharing databases among various users and applications. Other important functions are protecting the database and maintaining it over a period of time. Some points about that are below: * Defining a database means specifying data types, structures, and constraints of the data stored in the database. This becomes the [[database definition|DBMS Catalog]]. * Constructing the database is the process of storing the database on some storage medium that is controlled by the DBMS. * Manipulating a database includes functions that [[query|Database Queries]] it, update it, and generate reports for example. * Sharing a database allows multiple users and programs to access the database simultaneously. This is done with the [[concurrency control module|DBMS Concurrency Control Module]]. * Protection includes system protection against hardware or software crashes as well as security protection from unauthorized access. A DBMS can work equally well with any database because it uses a [[DBMS catalog|DBMS Catalog]]. Some DBMS systems may be specific, which would make them ''special-purpose DBMSs''. A DBMS contains many [[modules|DBMS Modules]]. The overhead costs of a DBMS: * High initial investment in hardware, software, and training * The generality that a DBMS provides may be too large for the domain * Overhead for providing security, concurrency control, recovery and integrity functions. When not to use a DBMS: * Simple well defined database applications that are not expected to change * Stringent, real-time requirements for an application that could not be met otherwise by the DBMS overhead * Embedded systems with limited storage capacity, where a general purpose DBMS would not fit. * No multiple-user access to data Sub-topics: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Database Management System (DBMS)' sort[title]>> </div>
''Database operations'' aka ''functions'', or ''methods'' are just like normal functions which act on data in the [[database|Database]]. Operations are features of [[Object-Relational Database Systems|Object-Relational Database System]] and [[Object-Oriented database systems|Object-Oriented Database System]]. Operations are defined in the [[DBMS catalog|DBMS Catalog]]. Operations are defined in two parts: * The ''operation interface'', or ''operation signature'', which are much like [[Java headers|Java Method Header]]. * The implementation is specified separately. This allows the functionality to be modified separately without the user needing to know how it works. The book terms this as ''program-operation independence''.
Databases can be used to provide ''persistent storage'' for program objects and [[data structures|Data Structures]]. This is one of the main reasons for [[object-oriented database systems|Object-Oriented Database System]]. Once an object is stored in a [[database system|Database Systems]], it is said to be ''persistent''. See also: * [[Database Impedance Mismatch]]
''Physical data independence'' protects the user from changes in the [[physical structure|Database Physical Structure]] of the data.
The final stage of a [[database design|Database Design]] is a ''physical design'' where further specifications are provided for storing and accessing the database. The database design is implemented, populated with actual data, and continuously maintained to reflect the state of the [[miniworld|Domain]]. The physical design is where the decision on what [[indexes|DBMS Indexes]] to use is decided.
The ''physical structure'' of a database is how files are organized, and what indexing mechanisms are used. See also: * [[Image - Three-level or three-tier architecture of a database|$:/Image - Three-level architecture of a database]]
''Program-data independence'' is when the structure of a [[database|Database]] is stored in a [[database definition|DBMS Catalog]] rather than in the [[database application|Database Applications]] itself. This makes a difference because if an application references data from a DBMS, it only accesses a particular column. If another column is added, the applications using the database do not need to be notified / changed. It seems that the only time they would be, is if the database deleted a column.
''Database programming APIs'' are one [[database programming approach|Database Programming Approaches]]. An example of this is [[mongoose|NPM Packages > mongoose]]. This approach provides an [[API|Application Programming Interface (API)]] for accessing a database from a program. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Database Programming APIs'>> </div>
Some of the different approaches for ''database programming'' are below: * [[Embedded Database Commands]] * [[Database Programming APIs|Database Programming APIs]] * Designing a brand new language!: A [[database programming language|Database Programming Languages]] is normally a product of this. The problem with the first two approaches is [[impedance mismatch|Database Impedance Mismatch]]. The problem with the third is that it takes a long time of course haha.
A ''database programming language'' is designed from scratch to be compatible with the database model and query language it is targeted at. Additional programming structures such as loops and conditional statements are added to convert it to a full-fledged programming language. An example of a database programming language is Oracle's SQL/PSM language.
A ''query'' typically causes some data to be retrieved. Sometimes query is used loosely to mean all interactions with a database. See also: * [[Database Transactions]]
''Redundancy'' is where some data is stored multiple times by different users. This leads to duplication of effort, storage space is wasted, and the data may be inconsistent. A different way of doing this is [[controlled redundancy|Database Controlled Redundancy]].
The ''requirements specification and analysis'' step in [[database design|Database Design]] is a more specific version of [[software specification|Software Specification]]. During this step the [[database designers|Database Designers]] interview prospective [[database users|Database End Users]] to understand and document their ''data requirements''. Here is an [[example of a requirements statement for a database|$:/Image - Example requirements for a database design]]. In parallel with specifying the requirements, the ''functional requirements'' should be specified as well. These consist of the user-defined [[operations|Database Operations]] or [[transactions|Database Transactions]] that will be applied to the database.
A ''database schema'' refers to the actual definition of a database that lives with the [[DBMS|Database Management System (DBMS)]], or some other database definition system. This could be referring to any of the following tiddlers that have been tagged with this one: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Database Schema' sort[title]>> </div>
''Schema-based constraints'' or ''explicit constraints'' are those specified by the [[schema|Database Conceptual Schema]]. These are specified in the [[DDL|Data Definition Language (DDL)]] as well. Some examples of explicit constraints are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Database Schema-based Constraints' sort[title]>> </div> as well as: * Constraints on NULLs
''Stored procedures'' or ''persistent stored modules'' are functions that are stored and executed by the [[DBMS|Database Management System (DBMS)]]. Database stored procedures are useful in the following cases: * If a [[database program|Database Applications]] is needed by several applications, it can be stored at the server. * Executing the program at the server can reduce data transfer and communication cost. * More complex modeling power is wanted for [[views|Database Views]] on the server. The [[CREATE PROCEDURE command|SQL CREATE PROCEDURE Command]] can be used to create procedures.
''Database system analysts'' determine the requirements of [[end users|Database End Users]], especially naive and parametric end users, and develop specifications for standard [[canned transactions|Database Canned Transactions]] that meet those requirements.
A ''database system'' is a [[database|Database]] and [[DBMS|Database Management System (DBMS)]] together. Here is an [[image of a simplified model of a database system|Image - Database System Example]]. The main advantages of the database approach vs [[traditional file processing|Traditional File Processing (Databases)]] are: * Self describing nature of a database system * [[Program-Data Independence|Database Program-Data Independence]] * [[Database Views]] * Sharing of data and multi-user transaction processing Some other advantages are: * potential for enforcing standards. * Reduced application development time. Development time using a DBMS is estimated to be 1/6th to 1/4th that for a file processing system. * Flexibility * Availability of up-to-date information. * Economies of scale Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Database Systems' sort[title]>> </div>
''Top-down conceptual refinement'' is a method of entity subtype design where [[subtypes|EER Model Entity Subtypes]] are created by first taking the most general [[entity|ER Models > Entity Types]] and creating sub types from there. The corresponding other way of doing this is ''bottom-up conceptual synthesis''.
The ''commit point'' of a [[database transaction|Database Transactions]] occurs when all [[transaction operations|Database Transaction Operations]] that access the database have completed successfully. At that point, the transaction writes a commit record into the [[log|Database Logs]].
A ''data item'' in the perspective of the [[database transaction model|Database Transaction Model]], could be a row, individual [[value|Relation Values]], or something as large as a disk block. The size of a data item is called its granularity.
The ''database transaction model'' sees a [[database|Database]] as a collection of named [[data items|Database Transaction Data Items]].
The basic ''operations'' of a [[database transaction|Database Transactions]] in the [[transaction model|Database Transaction Model]] are as follows: * `read_item(X)` This reads a [[database item|Database Transaction Data Items]] X into a program variable `X`. The process includes finding the address of the disk block and copying to and from a [[buffer|DBMS Buffer Space]]. * `write_item(X)` This writes a value of program variable X into the database item named X. Process includes finding the address of the disk block, copying to and from a [[buffer|DBMS Buffer Space]], and storing the updated disk block back to disk.
A ''transaction schedule'' or ''transaction history'' $$S$$ of $$n$$ [[transactions|Database Transactions]] $$T_1, T_2, ..., T_n$$ is an ordering of the [[operations of transactions|Database Transaction Operations]]. Operations from different transactions can be interleaved in the schedule. Two transactions are said to conflict in a schedule when they satisfy all three conditions below: # They belong to different transactions # They access the same [[data item|Database Transaction Data Items]] X # At least one of the operations is a write operation on X. A schedule is a ''complete schedule'' if the following conditions hold: * The operations in $$S$$ are exactly those operations in $$T_1, T_2, ..., T_n$$ including a commit or abort operation at the end of each transaction. * For any pair of operations in a transaction $$T_i$$, their relative order is the same as in $$S$$. * For any two conflicting operations one of the two must occur before the other in the schedule. A ''committed projection'' $$C(S)$$ are the committed transactions of the schedule $$S$$. A ''cascadeless schedule'' avoids cascading rollback. It's not exactly clear what that means. A ''strict schedule'' means that transactions can neither read nor write an item X until the last transaction that wrote X has committed or aborted. This means a simpler recovery process can be used. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Database Transaction Schedules'>> </div>
A [[schedule|Database Transaction Schedules]] is a ''serial schedule'' if for every transaction $$T$$ all operations of $$T$$ are executed consecutively. Of course the opposite of this is a ''nonserial schedule''. A serial schedule implies that interleaving of operations and concurrency is not allowed. So these are not acceptable in practice. See also: * [[Database Transaction Serializable Schedules]]
A ''serializable schedule'' is a [[schedule|Database Transaction Schedules]] that is equivalent to some [[serial schedule|Database Transaction Serial Schedules]] of the same set of [[transactions|Database Transactions]]. A serializable schedule is considered to always be correct. ''Conflict equivalence'' is where the relative order of any two conflicting operations is the same in both the serializable schedule and the serial schedule.
The different ''database transaction states'' for a [[database transaction|Database Transactions]] are show in this [[image of the transaction state flow|$:/Image - Database transaction state flow]]. The different ''transaction commands'' are below: * `BEGIN_TRANSACTION` * `READ` or `WRITE` * `END_TRANSACTION` * `COMMIT_TRANSACTION` this signals a successful transaction and will commit any changes that were made to the database. * `ROLLBACK` or sometimes this is `ABORT`. They do the same thing. See also: * [[Database Logs]]
A ''transaction'' is an atomic sequence of [[database|Database]] actions, such as reading and applying [[insertions|Relational Database Insert Operation]], [[deletions|Relational DELETE Operation]], or [[updates|Relational Database Modify Operation]]. At the end of a transaction, it must leave the database in a state which satisfies all requirements set by the [[database schema|Database Schema]]. A transaction is considered a logical unit of database processing. There are two basic types of transactions. Read-only, and read-write. Database transactions strive to achieve the goals of ''ACID'' which are outlined below. * The ''atomicity property'' ensures that either all database operations in a transaction are executed, or none are. * ''Consistency preservation property'' means that if a transaction occurs from start to end without interference it should take the database from one consistent, or valid state to another. * The ''isolation property'' ensures that each transaction appears to happen in isolation from other transactions, even though hundreds of others may be occurring. * The ''durability property'' or ''permanency property'' means that the changes applied to a database by a committed transaction must persist. The changes must not be lost because of a failure. Database transactions are recorded in a [[database log|Database Logs]]. Here is an [[image of two example database transactions|$:/Image - Two example database transactions]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Database Transactions'>> </div>
''Transition constraints'' are [[constraints|Database Integrity Constraints]] that can be defined to deal with state changes in a database. For example "the salary of an employee can only increase".
A ''uniqueness constraint'' or ''key constraint'' is one that says that every course record must have a unique value for `Course_number`. If there are multiple [[attributes|Relational Data Model > Relations > Attributes]] in which there cannot be the same values for each one of the attributes, then that set of attributes is called a ''superkey'' of the relation or table. If there are a set of attributes in which any of the attributes cannot be the same among tuples, then it is called a ''key''. The key must also be the most minimized version of itself, so that if any attributes were removed, the uniqueness constraint would no longer hold. A key is a more strict version of a superkey. If auto-generated row numbers, or sequential numbers are assigned as keys, then they are called ''artificial keys'' or ''surrogate keys''. A key should be ''time-invariant'', meaning that a tuple's key should not change over time. When there are multiple keys in a table, each is called a ''candidate key''. Once a key is designated a ''primary key'' in these situations, the others become ''unique keys'', or ''secondary keys''.
A ''view'' is a perspective of a [[database|Database]]. A view may be a subset of the database or contain virtual data that is derived from the database. An example of two different views are below: [img width=700 [https://i.imgur.com/ntvJtkH.png]]
''Datagram sockets'' are sockets for [[datagrams|Network Datagrams]]. These seem to be specifically for [[UDP|User Datagram Protocol (UDP)]]. Some aspects are below: * Not session oriented - independent transmissions * No sequencing or checksums provided * No acknowledgement provided * Limit data transfer to 32K bytes * fastest form of communication See also: * [[Java java.net.DatagramSocket Class]]
Building blocks that work on data are called ''datapath components'' and a circuit of datapath components is called a ''datapath''. Datapaths can get pretty complex so its important to use ones that encapsulate a pretty high level of functionality. For example if your building a bike you would get tires, a set, handlebars, etc. You would avoid starting with rubber and glue, because that's how a tire is made, but not the bike. So logic-gates are too low-level. Primarily there are data storage components like registers, and data manipulation components.
A ''buffer replacement policy'' is needed for when all [[buffers|DBMS Buffer Space]] are occupied and another needs to be added. One example is a least recently used policy.
''Buffer space'' is part of the [[DBMS cache|DBMS Cache]]. The buffer space is divided into individual ''buffers'' which are each the same size in bytes as exactly one disk block. When buffers are occupied a [[buffer replacement policy|DBMS Buffer Replacement Policies]] is used to choose which buffer will be replaced.
A [[DBMS|Database Management System (DBMS)]] normally has a ''buffering and caching module'' that maintains parts of the database in main memory [[buffers|DBMS Buffer Space]]. Normally the operating system is responsible for disk-to-memory buffering, but because data buffering is crucial to performance, most DBMSs do their own data buffering.
The ''DBMS cache'' is an area in the main memory that is controlled by the [[DBMS|Database Management System (DBMS)]].
The ''DBMS catalog'', or ''database catalog'' is the ''database definition'', which contains things like the structure of each file, data types, and storage format. The actual data on each item is called [[metadata|Metadata]]. Here is an [[image of what a DBMS catalog might look like|$:/Image - DBMS Catalog]].
A ''conceptual representation'' seems to be an interface that does not include many of the details of how the data is stored in the database controlled by the DBMS, or how the operations are implemented. A [[data model|Data Model]] is used to create a conceptual representation.
The ''DBMS Concurrency control module'' ensures that when several users are using a database, they do so in a controlled manner that makes sure the result of the updates are correct. The concurrency control module tries to avoid certain issues that may arise due to how [[transactions|Database Transactions]] are processed. Those are listed below: * ''Lost update problem'' is when two transactions that access the same [[data item|Database Transaction Data Items]] have [[operations|Database Transaction Operations]] interleaved. This results in an incorrect value of some database items. Here is an [[example of the lost update problem|$:/Image - Example of lost update problem]]. * ''Temporary update problem'' is where an update is made to a value, then another transaction accesses that same value before the first update was committed. Here is an [[example of the temporary update problem|$:/Image - Example of temporary update problem]]. * ''Incorrect summary problem'' seems to be kind of like the temporary update problem, except that there is some kind of aggregation of the offending value is involved. Here is an [[example of the incorrect summary problem|$:/Image - Example of the incorrect summary problem]]. * ''Unrepeatable read problem'' is where two reads will result in two different values.
''DBMS indexes'' are used to efficiently execute queries and updates. They are typically based on [[tree data structures|Tree Data Structure]] or [[hash|Hashing]] data structures that are modified for disk search. It seems that indexes are typically for a single column in a table. They take that column, copy it to a new table with just one column, then sort it so that binary searches can occur on that separate table, where each value is a pointer to the actual location of the column value. The choice of which indexes to create and maintain is part of the [[physical database design|Database Physical Design]] and tuning, which is one of the responsibilities of the [[DBA staff|Data Management > Actors on the scene]].
[[DBMSs|Database Management System (DBMS)]] contain ''modules'' that perform various important functions of the DBMS. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'DBMS Modules' sort[title]>> </div>
The ''backup and recovery subsystem'' is responsible for recovery, duh. lol. So if the computer system fails in the middle of a complex query, the recovery system needs to be able to restore the database to the state it was in before.
A ''security and authorization subsystem'' controls who can access what data in a database.
The ''SQL query optimizer'' is typically part of the [[DBMS processing and optimization module|DBMS Query Processing and Optimization Module]], and is responsible for choosing an execution plan for each relational algebra statement that is provided to it. This includes choosing a good algorithm for each operation. Here is a list of the different algorithms for different operations that the query optimizer can use: * [[SQL SELECT Operation Search Methods]] * [[Relational JOIN Operation Algorithms]] * [[Relational PROJECT Operation Algorithms]] * [[Relational Set Operation Algorithms]] The query optimizer will also take into account the [[selectivity|DBMS SQL Query Processing Selectivity]] to determine how the execution plan will look. Typically the query optimizer receives input from the system catalog to estimate selectivity. There aren't any notes yet on what the system catalog is. Maybe it refers to the [[DBMS catalog|DBMS Catalog]]?
The ''query processing and optimization module'' of a [[DBMS|Database Management System (DBMS)]] is responsible for [[query processing|DBMS SQL Query Processing]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'DBMS Query Processing and Optimization Module'>> </div>
The ''join selection factor'' is similar to [[selectivity|DBMS SQL Query Processing Selectivity]]. This is the fraction of records in one file that will be joined with the records in another file. See also: * [[Relational JOIN Operation Algorithms]]
To process [[SQL|Structured Query Language (SQL)]], a [[DBMS|Database Management System (DBMS)]] will use a ''SQL parser'' which checks the query syntax to determine if it is formulated according to the syntax rules of SQL.
''SQL Query processing'' is typically done as part of a [[DBMS query processing and optimization module|DBMS Query Processing and Optimization Module]]. Here is an [[image of some typical steps for processing a query|$:/Image - Typical steps for processing a high-level query]]. The order of processing is laid out below: # The query is processed by the [[SQL scanner|DBMS SQL Scanner]], and [[SQL parser|DBMS SQL Parser]], then it is validated. This includes turning the query into a set of [[query blocks|SQL Query Blocks]]. In turn, each block is turned into corresponding [[relational algebra|Relational Algebra]] statements. # Those relational algebra statements are taken in by the [[query optimizer|DBMS Query Optimizer]] and and an execution plan is produced. # Code to execute the query is created # The result of the query is returned Eventually the query is turned into a [[query tree|Query Trees]], or query graph apparently which, by definition, is in the form of [[relational algebra|Relational Algebra]].
''Selectivity'' is the ratio of the number of records that satisfy a condition compared to the total number of records in the file. This number is between zero, where no records satisfy the condition, and 1, where all records satisfy the condition. See also: * [[DBMS Query Processing Join Selection Factor]]
To process [[SQL|Structured Query Language (SQL)]], a [[DBMS|Database Management System (DBMS)]] will use a ''SQL scanner'' which identifies query tokens, such as SQL keywords, attribute names, and relation names. The SQL Scanner is part of the [[query processing and optimization module|DBMS Query Processing and Optimization Module]].
''De Morgan's Laws'' indicate the following: $\neg (p \land q) \equiv \neg p \lor \neg q$ and $\neg (p \lor q) \equiv \neg p \land \neg q$ which can be extended outward for any length of propositions. In mathematical terms that means $\neg ( p_1 \land p_2 \land \cdot \cdot \cdot \land p_n) \equiv (\neg p_1 \lor \neg p_2 \lor \cdot \cdot \cdot \lor \neg p_n)$ which both laws can be written concisely as $\neg(\bigvee_{j=1}^n p_j) \equiv \bigwedge_{j=1}^n \neg p_j$ and $\neg (\bigwedge_{j=1}^n p_j) \equiv \bigvee_{j=1}^n \neg p_j$
''Debugging'' or ''defect removal'' is the act of finding and removing [[faults|Bug (Computer Science)]]. ''Defect removal methods'' consist of * The different [[types of testing|Types of Testing]] * Compiling * [[Software inspections and reviews|Software Inspection or Review Types]] See also: * [[Software Failure]]
A ''decoder'' is a higher level building block commonly used in digital circuits. A decoder decodes an input $$n$$-bit binary number by setting exactly one of the decoder's $$2^n$$ outputs to 1. A decoder often comes with an extra input called an enable. When enable is 0, all outputs are 0. When it is 1, it will function as normal. The enable is useful when you don't want to activate any output, because by default at least one output must be 1 because the decoder has an output for every possible combination of input.
The ''decorator design pattern'' is a type of [[structural design pattern|Structural Design Patterns]] and is used to extend or alter the functionality of objects, not classes, at run-time by wrapping them in an object of a decorator class. This is a flexible alternative to [[inheritance|Inheritance]] to modify behavior. An example of doing this would be modifying a vehicle object with a "for-sale" decorator. Then maybe a "used" decorator. Either of which can be applied in any order. Here is a [[UML diagram explaining the general concept of the decorator design pattern|$:/Image - Decorator Design Pattern]] and here is another [[more firm UML diagram example|$:/Image - Decorator Design Pattern 2]]. It seems that what is going on here is the following: * The "component" is the target of the decorator. * The "ComponentBase" is the base class of the component * The "ConcreteComponent" is the object that will actually be used at run time. * The "DecoratorBase" is an abstract class that holds onto a reference to the `ComponentBase` class that it is associated with. * The `ConcreteDecorator` actually holds the methods * Decorators can be applied multiple times to the `ConcreteComponent`. __Usage:__ In order to use a decorator, you first create an instance of the `ConcreteComponent`, then you pass that `ConcreteComponent` into the constructor of a `ConcreteDecorator`, which gives you back a new version of the original `ConcreteComponent` with the features of the `ConcreteDecorator`. See also: * [[Link to the gang of four page on the decorator pattern|http://www.blackwasp.co.uk/Decorator.aspx]]
''Deductive database systems'' can infer new information based on information stored in the database. ''Rules'' specify when new information can be derived. It is possible to associate ''triggers'' with tables which are a form of a rule activated by updates to the table, which performs some additional operations to other tables. More involved procedures are called [[database stored procedures|Database Stored Procedures]]. More powerful functionality is provided by ''active database systems'' which provide actives rules that can automatically initiate actions when certain events and conditions occur.
A ''degenerate tree'' is one that looks more like a linked list than a tree, and can happen if the tree is not balanced when adding values. For example, adding 3 5 9 12 18 and 20 with no balancing to a binary search tree would result in the following tree: https://drive.google.com/file/d/1pn3EoQggUF1mYuFDLy-kkTnu_YvoPf8S/view?usp=sharing
A ''demultiplexer'' does the exact opposite of a mux. It has one input and selects among multiple outputs to send the data from that input. All non-chosen outputs stay 0.
The `Deque` interface (pronounced "deck) is implemented with the `LinkedList` class and acts like a double-ended queue. Java suggests using this class as a stack in place of the original stack class too interestingly enough.
A ''derangement'' is denoted by $$!n$$ where $$n = |S|$$. The following [[recurrence relation|Recurrence Relation]] describes it: $$!n = (n-1)(!(n-1) + !(n-2))$$ where $$!0 = 1, !1 = 0$$
''Design'' is to create, fashion, execute, or construct according to plan - Webster. "Good design keeps the user happy, the manufacturer in the black, and the aesthete un-offended" - Raymond Loewy. Have pride in the entire product as well. A basic approach for design is in the note. Design is the process of deciding how the requirements should be implemented. Design should not be confused with modeling @b:88. Design is guided by design principles. <<_note """ Basic Approach for Design: - Define the goal - Set up boundaries and pre-conditions - Get rid of prejudice: think outside the box, and do not think of everything already known and done. Think of new things. - Evaluate if it meets the goal - Decide if the goal is met or another iteration is needed. Iterations are good, and normally needed. """>>
A ''Design pattern'' is basically a generally known programming pattern, economically written. Design patterns can help raise the vocabulary level of models and teams. Design patterns are generally a reusable solution to a commonly occurring problem within a given context in [[software design|Software Design]]. The authors of the book that defines the basic software design patterns are sometimes called the gang of four. When [[refactoring|Refactoring]], it is useful to take structures of code that may be slightly obfuscated or unrecognizable, and turn them into one or more recognizable design patterns. Design pattern format: * Name : Conveys the essence of the pattern; becomes part of the vocabulary * Intent or Problem Description: What does the pattern do? What is the rationale and what problem(s) does it address? * Motivation: A scenario or example that indicates how classes, objects and structures solve the problem. * Applicability: A scoping statement. In what situations can this pattern be applied? A mention of what "code smells" this design pattern can fix would go here. * Structure: Also called the participants, it indicates the classes and objects participating in the pattern and their responsibilities. * Collaborations: How do the participants collaborate to carry out the pattern's responsibilities? * Implementation or Solution Description: A description in appropriate notation, which normally ends up being [[UML|Unified Modeling Language (UML)]] for software. * Known Uses: Examples of the pattern in real and preferably well known systems. * Consequences: Are there side effects or trade-offs resulting from applying the pattern? * Related Patterns: Other patterns commonly used in conjunction with this pattern, or that could be applied as an alternate solution to the same problem. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Design Patterns'>> </div> See also: * [[Architectural Patterns (Software Engineering)]] * [[Gang of Four design patterns website|http://www.blackwasp.co.uk/gofpatterns.aspx]] Sources: * Book: https://drive.google.com/open?id=17EHhUj0h9XgbEWUNux-cfXd38ox-OGXZ
A ''detailed design'', sometimes called ''Big Up-front Design (BUFD)'' is a part of the [[Engineering Design Process|Engineering Design Process]] where the chosen design is heavily invested in, and each physical component is modeled with dimensions, materials, and computer code. The assembly process is also determined in the detailed design. This is hardly done at all in [[agile software engineering|Agile Software Processes]] shops.
''Development'' is converting the system specification into an executable system. This combines design and implementation.
''Device management system calls'' have some of the same operations as [[file management system calls|File Management System Calls]]. There are just 3 device management system calls: `read()`, `write()`, `reposition()`. This allows anything to be done though as long as the device is [[memory mapped|Memory Mapped Input/Output]].
''Device managers and drivers'' are responsible for the peripherals attached to a system. They can be installed and uninstalled by users.
''Digital Forensics'' involves the investigation of computer-related crimes or [[cybercrimes|Cybercrime]] with the goal of obtaining evidence to be presented in the court of law. It is a science and process of __collecting, preserving, analyzing and then reporting__ (in that order according to [[CYBER502x|CYBER502x]]) legally admissible evidence to court. Here, the word "preserve" means to authorize that evidence presented to court has never been modified. So following [[forensic procedure|Digital Forensics Procedure]] is important. The goals can be defined as: * Identify, analyze, and reconstruct past events or activities * Persent court admissible evidence The first digital forensics toolkit was ''The Coroner's Toolkit'' or ''TCT''. That tool has largely been replaced by [[Sleuth Kit|Sleuth Kit]]. This is believed to mark the beginning of the computer forensics field. The two people that came out with that toolkit had the following definition of ''Computer Forensics'': <<< Gathering and analyzing data in a manner as free from distortion or bias as possible to reconstruct data or what has happened in the past on a system. <<< - Farmer and Venema, 1999 Some different types of digital forensics are below: * [[System Forensics|System Forensics]] * Memory Forensics * Mobile Device Forensics * Network Forensics * [[Internet and Cloud Forensics|Internet and Cloud Forensics]] Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Digital Forensics'>> </div>
Some ways of ''acquiring network data'' are below: * Windows: `ipconfig /all > myWindowsNetworkSettings.txt` * Linux: `ifconfig -a > myUnixNetworkingSettings`
A ''bitstream copy'' or ''hard drive image'' is a bit-for-bit copy of all the sectors on the media. It is performed on the hard-drive level, therefore it ignores the EOF marker. This is often called ''bitstream imaging'' or ''forensic imaging'' evidently. When doing bitstream imaging, make sure to have some kind of write blocker in place that makes it so the drive being interacted with can only be read. Some forensic imaging tools are below: * DD * [[FTK Imager|FTK Imager]]
Some examples of ''volatile system data'' that is wiped when the computer is shut off are below: * System date and time * [[Network data|Digital Forensics > Acquiring Network Data]] * A list of the users who are currently logged in * Open files * A list of currently running processes * A list of currently open sockets * The applications listening on open sockets * A list of the systems that have current or had recent connections to the system Some tools for collecting volatile system data are below: * [[LiME|Linux Memory Extractor (LiME)]] * Fmem * Live response from E-Fense - This is a live USB that is pretty easy to use. You simply insert the USB into the device, collect the data using a menu of options, and eject the USB key. * F-Response - Can be used for remote acquisition of data. One dongle is used on the subject system, which when plugged in will wait for the other dongle (its pair) to be connected to the remote forensic system. Once the remote system has the dongle plugged in, the connection will be complete and the data will be transferred. Some evidence from most volatile to non-volatile is below: * Memory * Swap space or page-file * Network status and connections * Processes running * Files open * Hard drive media * Removable media See also: * [[Digital Forensics Procedure > Acquire the Data]]
Note that ''digital forensics evidence'' must be stored in a tamper-proof container. It should also have an identifier like a tag that indicates the maker, model, serial number, case number, and item or tag number See also: * [[Chain of custody|Chain of Custody]]
''Digital Forensics investigators'' need to make a final presentation of evidence and actions in court which serves to support or disprove case statements.
The ''digital forensics procedure'' starts when a computer incident is confirmed. First, follow the companies incident response policies and procedures to the T. Read the following for how to initially approach the device: * If you turn the system off, you will lose computer memory and volatile data, such as logged in users, TCP connections, and the running processes. If possible, collect the volatile data first before turning off the machine. See [[volatile data while system is running|Digital Forensics > Volatile System Data]]. * If the suspected machine can be turned off, do you shut it down gracefully or forcefully? Comparing the two shutdown scenarios, you should always yank the power cord, and document every action. ** If you turn off the system gracefully then there will be fresh buffers to save information to disks, notify users and services, etc. But if intruders have a rootkit installed, then evidence could be destroyed upon a graceful shutdown request. ** If you forcefully shutdown the system by yanking the power cord, it will avoid potential loss of evidence caused by rootkits. But it may cost data in cache not written to disk and leave data in an inconsistent state. After collecting the device, keep track of a [[chain of custody|Chain of Custody]]. The second part to the digital forensics procedure is as follows: # [[Acquire the evidence|Digital Forensics Procedure > Acquire the Data]] # [[Authenticate the evidence|Digital Forensics Procedure > Authenticate the Evidence]] - Sometimes this is called "preserving the evidence". # [[Analyze the evidence|Digital Forensics Procedure > Analyze the Evidence]] # [[Present the evidence|Digital Forensics Procedure > Report the Evidence]] From the data the following should be deduced: * Who was involved * What happened? * When did it happen? * How did it happen?
You want to ''acquire the data'' in different ways. __Acquiring Volatile Data__ You want to collect the [[volatile data|Digital Forensics > Volatile System Data]] first before turning off the device. To do this, you can use something like the [[lsof command|Unix lsof Command]] on linux. Some other useful commands for Linux are below: * `date` - Run this first so that you can record what time you started operations, then run this last so you can record what time you stopped operations. * `uptime` * `uname -a` * [[ifconfig|Unix ifconfig Command]] * `pid=0` or `ps -eaf | grep root` for suspicious processes * `netstat` and [[lsof|Unix lsof Command]] * `w` or `who` or `users` * `ls -l /usr/bin/passwd` and `find / -uid 0 -perm -4000 2>/dev/null` for permissions. This checks what programs are configured to run as root while they are running as the user or as the group it sounds like. * `more -f var/log/messages; last` for logs * `find /directory_path -type f -a=x -mtime -1` * `free` for the amount of free and used memory in the system You can also use a memory dump program such as [[Linux Memory Extractor|Linux Memory Extractor (LiME)]] or Fmem. To redirect the output to a receiving machine, you can use a utility called [[netcat|Unix netcat Utility]]. You can acquire volatile data in Windows with tools like those listed below: * `date /T` or `time /T` * `uptime` * `psinfo` System information * `ipconfig` * `listdlls` to view currenlty loaded DLLs * `psfile; openfiles` to view currently open files * `netstat; fport` * `pslist` and `tasklist` * `psloggedon; logonsessions` * `pclip` * Windows Event Viewer * Windows Netcat (No notes on that yet) * [[Helix3 from E-Fense|E-Fense Helix3]] __General Guidelines__ All data should be sent to a receiving machine, otherwise you are tampering with data. The receiving machine should ideally be a powerful machine with forensic tools installed and a clean-wiped drive to store acquired evidence. A common practice is to sanitize the forensics machine before data acquisition. __Acquiring Non-Volatile Data__ Normally a [[bitstream copy|Digital Forensics > Bitstream Copy]] is a great way to get non-volatile data off of a machine and have a re-createable version of it. There are quite a few ways to get non-volatile data from a device. Typically you can use one of the [[digital forensics tools|Digital Forensics Tools]] for this. Some examples of good tools are below: * [[FTK Imager|FTK Imager]] - Likely needs a write blocker * Tableau TD2u from Guidance Software - Can transfer data at very high speeds. * [[DD|Unix DD Utility]] - This needs a write blocker though. * BelkaSoft * F-Response * MoonSols' DumpIt * Winen.exe from Guidance Software __Table of Contents__ <div class="tc-table-of-contents"> <<toc-selective-expandable 'Digital Forensics Procedure > Acquire the Data'>> </div>
''Analyzing the evidence'' has the following general steps: * Set the time zone on the forensics computer to the one used by the target device * Start an analysis by looking at the partition table on the suspect drive - This can include checking the partitions on the drive for gaps between partitions that could include hidden data. * Generate a timeline * Retrieve deleted files * Check for hidden data * Hash analysis - To filter out innocent files and potentially malicious files * Keyword search for terms related to your case * Signature analysis - To identify fake extensions * OS Specific media analysis * Clean evidence from registry, recycle bin, shortcuts * Collection information through recycle bin Some Windows memory analysis tools are below: * WindowScope * Redline/Memoryze * [[The volatility framework|Volatility Framework (Digital Forensics Tool)]] * Rekall * [[Google Rapid Response (GRR)|Google Rapid Response (GRR)]] * [[Cold Boot Attack|Cold Boot Attack (Digital Forensics Tool)]]
To ''authenticate the evidence'' in the [[digital forensics procedure|Digital Forensics Procedure]], you can use a cryptographic [[hash algorithm|Hashing]].
To ''report the evidence'' you should write a [[digital forensics report|Digital Forensics Reports]].
A ''digital forensics report'' should be the conclusion of a [[digital forensics investigation procedure|Digital Forensics Procedure]] it seems. Some general guidelines for the report are below: * Title Page ** Case name, date, investigator name, and contact information * Table of Contents * Executive summary - High level view of important findings * Objectives - This is the task assigned with a factual statement * Evidence analyzed - Serial numbers, hash values, pictures taken at the scene, etc. * Steps taken - Your results should be reproducible including software and hardware used, and version numbers. * Relevant findings ** Documents of interest ** Internet activity ** Software of note ** USB devices, etc. * Timeline - A concise timeline of important events, possibly using a good graphic * Conclusion - Highlight the important issues in a list of concise findings. The conclusion should support the initial statement, or reject it. * Signature - The report should be signed * Exhibits ** Your curriculum vitae, chain of custody documentation, supporting document linked from the body of the report, etc. Some general guidelines are below: * Start your report from the beginning * You can use phrases like "it is my professional opinion", "the evidence indicates", and "based on my knowledge". Sources: * [[Cyber502x Course|CYBER502x]] - Unit 1 - Additional resources page
Some things that ''digital forensics tools'' have in common are below: * Ensure forensically-sound operations * Process data structures from the image, bypassing kernel's support. So they don't modify evidence. * They work on both images and live systems Some bootable drive systems are below: * Caine * Helixs * Kali * Penguin Sleuth * F.I.R.E * Snarl Some digital forensics tools are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Digital Forensics Tools'>> </div> See also: * [[Website with a large list of digital forensics tools|http://malwarefieldguide.com/LinuxChapter1.html]]
A ''digital signal'' also known as a ''discrete signal'' is a [[signal |Signal]] that at any time can have one of a finite set of possible values. A digital signal is how many fingers you are holding up, because the value must be 0 through 10. A single binary signal is known as a binary digit, or bit.
A ''digital system'' is a system that takes digital inputs and generates digital outputs. A ''digital circuit'' is a connection of digital components that together make a digital system. An advantage of this system is that you can prevent quality loss over time vs analog. Comparing digital circuits to microprocessors focuses on price, time costs/savings of each implementation, and energy savings. Custom digital circuits will almost always be more power efficient, and energy efficient, but they will also almost always be far more expensive. The trade-offs are up to the company, but there are still very many uses for custom circuits. Partitioning focuses on splitting up tasks between custom circuits and microprocessors to save costs more precisely. An example of an image processing camera time savings is shown here: https://drive.google.com/file/d/1nWSyXmWFTZ7n3tmvqe38q9IfyF6sflyK/view?usp=sharing
''Digital-to-analog conversion'' is like translating digital sound data into a song played by a speaker that varies by temperature, pressure, wear, etc. This also means that there is quality loss between the original analog signal to the newly produced analog signal, but this can be made finer by storing more bits for each sound until the human ear can't tell the difference in the case of music reproduction.
The process of ''analog-to-digital conversion'' (also called ''digitization'', or ''encoding'') is like when you record analog sound data through a microphone, and record levels matched to voltages as 00 for 1 volt, 01 as 2 volts, 10 as 3 volts, and 11 as 4 volts into a string of bits.
A ''DIP switch'' is a [[dual in-line package|Dual In-Line Package (DIP)]] with switches for each pair of electrical connectors. Wikipedia article is here: https://en.wikipedia.org/wiki/DIP_switch. Each switch can either be up or down, so if it is up, then it corresponds to a 1, if down, it corresponds to a 0. This means it can represent $$2^8 = 256$$ distinct values.
A ''direct proof'' of a conditional statement $$p \to q$$ is constructed when the first step is the assumption that p is true. Then subsequent steps are constructed to show that q must also be true.
Direct recursion is when a method invokes itself. Indirect recursion is when a method invokes another method, which eventually results in calling the original method again. When writing indirect recursion, it is very important that proper documentation is made about it, so it can be followed by someone else. Also take great care in making the decision to use indirect recursion, and that it is necessary.
A ''directed graph (digraph)'' is a graph where the edges are ordered pairs of vertices, meaning they have direction. ''Directed acyclic graphs (DAG)'' are the same as a directed graph but they do not form circular connections.
A ''directed tree'' is a [[directed graph|Directed Graphs]] in which there is at most one path between any pair of nodes.
''Discrete transistors'' came about in 1947 from Bell Laboratories (research arm of AT&T) and used a small piece of silicon doped with extra materials to create a switch and quickly dominated the computing market after vacuum tubes.
''Disjunction or OR'' definition: The disjunction of p and q, denoted by $$p \lor q$$ is the proposition "p or q" The disjunction $$p \lor q$$ is false when both p and q are false and is true otherwise. This is considered an ''inclusive or''. This is sometimes indicated as addition in boolean equations such as $$p + q$$ which is the same as "p or q".
''Distributed computing'' involves computation executed on more than one logical or physical processor or computer. The computation units can be functions or methods in the component or application. This could involve multiple [[multicore|Multicore Systems]] systems. The main issues in distributed computing are concurrency, concurrent computing, resource sharing, synchronization, messaging, and communication among distributed units. [[Multithreading|Operating System Multi-threading]] is a common distributed computing technique. If the distributed units are at the object level, then that is called ''distributed OO (Object oriented) computing''. Some well known distributed OO computing frameworks are CORBA developed by OMG (Object Management Group), and DCOM developed by [[Microsoft|Microsoft]].
''Distributed object computing'' is an idea where objects interact between applications to provide some goal. It sounds a bit like peer-to-peer applications in a way. Applications would then be federations of cooperating distributed objects. Distributed objects would then be able to survive network outages and/or follow mobile paradigms where connectivity is constantly changing.
''Distributed version control systems'' or ''dVCS'' is a [[version control system|Version Control System]] that provides benefits over [[centralized VCSs|Centralized Version Control System]] in that they provide the ability for collaborators to work offline and commit incrementally. They allow a collaborator to determine when his/her work is ready to share, they offer the collaborator access to the repository history when offline, and they allow the managed work to be published to multiple repositories, potentially with different branches of granularity of changes visible. Some popular dVCSs are below: * Bazaar * Darcs * Fossil * [[git|Git]] * Mercurial * Veracity
''The division algorithm'': Let $$a$$ be a positive integer and $$d$$ a positive integer. Then there are integers $$q$$ and $$r$$ with $$0 \le r < d$$ such that $$a = dq + r$$ where $$d$$ is called the divisor, $$q$$ the quotient (result of the division), and $$r$$ the remainder. $$q = a \textrm{ div } d = \lfloor a / d \rfloor$$ which means throw out the remainder and $$r = a \bmod d = a - d$$ which is the same as programming language modulus. The remainder cannot be negative, so the result needs to reflect that with negative divisions. Also if m is a positive integer and a and b are integers then $$(a + b) \bmod m = ((a \bmod m) + (b \bmod m)) \bmod m$$ and $$ab \bmod m = ((a \bmod m)(b \bmod m)) \bmod m$$.
The ''division hashing function'' is where the remainder of the key divided by some positive integer $$p$$ is the index for the given element. This function will yield a value in the range of 0 to $$p-1$$. Using a prime number for $$p$$ results in a better distribution of keys. This is a very effective hashing function.
A ''doc-string'' is a multi-line comment before a function that can be created with three single quotes `'''` and finished with the same `'''`. This will help users because if someone types in `function() help` it will print that string. A doc-string for a class can be made with 3 double quotes and finished with 3 double quotes. For example `"""This is an example class doc-string"""`. Any instantiated class's doc string can be returned by accessing the `__doc__` parameter. So if a class was called `ExampleClass` then `ExampleClass.__doc__` would return the doc-string.
The ''Document Object Model'', ''Core DOM'', or just ''DOM'' is a concept, standard, and cross-platform, language-agnostic [[API|Application Programming Interface (API)]] that will take a document that it is provided, and represent it as a [[tree structure|Tree Data Structure]] in memory, where each node represents a part of the document. In other words the tree structure is [[stateful|Stateful (Computer Science)]]. The DOM is built on the [[living DOM standard specification|DOM Standard Specification]] and maintained by the [[WHATWG|Web Hypertext Application Technology Working Group (WHATWG)]]. A DOM is a standard, and is not the same thing as a [[HTML DOM|HTML DOM]]. Although the HTML DOM is an implementation of the DOM. The fact that the DOM is loaded in memory can be a downside if there is not enough RAM to handle that particular model. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Document Object Model'>> </div>
The ''DOM Document interface'' represents any web page loaded in the [[browser|Web Browsers]] and serves as an entry point into the web page's content, which is the [[DOM tree|Document Object Model]]. An instance of this object in an HTML context is the [[window.document object|JavaScript window.document Object]]. Depending on the document's type, typically there is a larger API available. For example HTML, XML, SVG, etc. Some notable methods and properties that can be used on an object that implements the Document interface are below: * `document.documentElement` will return the root [[node|DOM Node Interface]] of the document. * `document.getElementsByTagName(tag)` ** `tag` can be a string indicating the tag such as `p`. You can also use `*` to get all elements in the document. This is case sensitive for XML documents but it is case in-sensitive for HTML documents and XHTML documents. ** Returns an array of [[element objects|DOM Element Class]]. <div class="tc-table-of-contents"> <<toc-selective-expandable 'DOM Document Interface'>> </div> See also: * [[MDN Documentation on the Document interface|https://developer.mozilla.org/en-US/docs/Web/API/Document]]
The ''document.write method'' can be used on any object which implements the [[Document interface|DOM Document Interface]]. An example of using it in JavaScript is below: ```javascript document.write(Date()); ``` Be careful to never use `document.write()` after the document is loaded because it will overwrite the document.
The ''DOM Element class'' is the most general base class from which all element objects in a [[Document|DOM Document Interface]] inherit. More specific versions of elements inherit from this class such as: * [[HTMLElement|DOM HTMLElement Interface]] * SVGElement You can change any attribute of an element (such as an [[HTML attribute|HTML Attributes]]) by setting it with a [[property|JavaScript Properties]] on the element object. Some notable properties and methods of an Element object are below: * [[addEventListener method|DOM Element.addEventListener Method]] * [[innerHTML method|DOM Element.innerHTML Method]] See also: * [[MDN Documentation on the Element class|https://developer.mozilla.org/en-US/docs/Web/API/Element]]
A ''DOM Element Event Listener'' can be added in JavaScript using the [[addEventListener method|DOM Element.addEventListener Method]]. To assign a function to an event, assign the property equal to a function object. For example if `select` is a [[DOM Element object|DOM Element Class]], then `select.onclick = function( event ) { ... };` would work great. The event function can take the event object as a parameter. If the `bubbles` property on the event object is set to true then this will enable [[bubbling event propagation|DOM Event Propagation]]. See also: * [[HTML DOM Events]]
The ''addEventListener method'' can be used on any object of the [[DOM Element class|DOM Element Class]], strangely enough, including the [[document object|JavaScript window.document Object]] or [[window object|JavaScript window Object]]. The general structure of the method is below: ``` element.addEventListener(event, callbackFunction[, useCapture]); ``` * `event` is a string representing the event type. This can be any of the [[HTML DOM events|HTML DOM Events]] it seems like. Another event that can be used is the [[DOMContentLoaded event|DOM Window DOMContentLoaded Event]]. You can add multiple listeners to the same event type. * `callbackFunction` is a function that will be called when the event is triggered. * `useCapture` is optional and is a boolean which if set to false then it will use [[event bubbling|DOM Event Propagation]], otherwise it will use [[event capturing|DOM Event Propagation]]. False is the default value if this is not set. The opposite of this method is the `element.removeEventListener()` method which takes the same arguments?
The ''innerHTML method'' can be used on an instance of the [[Element class|DOM Element Class]]. An example is below: ```javascript document.getElementById("elementID").innerHTML = "Changed HTML."; ``` Conversely, just the text for an element can be changed with the ''innerText method'' for example: `document.getElementById("elementID").innerText = '<span> this span will be printed as is. '`. Similarly, outer HTML and outer Text can be used. Outer HTML specifies the entire HTML block including the tags. Outer text just turns the whole thing into a string, which could definitely break things haha. Its not very clear why that is useful.
In the [[DOM|Document Object Model]], ''event propogation'' can be handled in two primary ways: Lets have an example where there is a `div` that contains a `p` tag like below and both of them have an [[onclick|HTML onclick Attribute]] listener. The user clicks on the paragarph, so which happens first? ``` <div onclick="function1()"> <p onclick="function2()">Test Paragraph</p> </div> ``` * ''Bubbling'' means that the inner most element's event is handled first, then the outer, and outer and so on. * ''Capturing'' means that the outer most element's event is handled first then the inner, and inner and so on until the most embeded element. These can be specified when an event listener is created with [[addEventListener|DOM Element.addEventListener Method]].
The ''GlobalEventHandlers mixin'' is evidently not an interface or a class, because it cannot have an object instantiated of its type. Instead, it is implemented by other classes or interfaces such as [[HTMLElement|DOM HTMLElement Interface]] or [[Document|DOM Document Interface]]. Some notable properties it has are below, which seem to be most of the [[HTML DOM Events|HTML DOM Events]]: <<list-links "[tag[DOM GlobalEventHandlers Mixin]sort[title]]">> See also: * [[MDN Documentation on the GlobalEventHandlers mixin|https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers]]
The ''HTMLElement interface'' inherits from the [[Element class|DOM Element Class]] and represents any [[HTML element|HTML Elements]]. Some notable additional methods and properties it defines are below: * `style` which is an object representing the declarations of an element's [[style attribute|HTML style Attribute]]. You can treat this like a declarative object where something like `element.style.color = "blue"` will change that element's color to blue. See also: * [[MDN Documentation on the HTMLElement interface|https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement]]
The ''DOM Node interface'' is an interface which a lot of [[DOM|Document Object Model]] API objects implement. Some notable properties and methods of a Node object are below: * `nodeValue` is a property that can be used to set or return the value of the current node. * `nodeName` is a property that contains the name of the node. For example if this is an HTML element, then it will be the uppercase tag name such as `DIV` or `H1`. If it is an attribute node, then it will be the attribute name. ** The nodeName of a [[document node|DOM Document Interface]] is always `#document` ** The nodeName of a text node is always `#text`. * `nodeType` is the type of the node. There are some set values for this as well. ** `1` is an `ELEMENT_NODE` aka [[Element object|DOM Element Class]] ** `2` is an `ATTRIBUTE_NODE` ** `3` is a `TEXT_NODE` which is plain text like a string. ** `8` is a `COMMENT_NODE` such as [[HTML comments|HTML Comments]]. ** `9` is a `DOCUMENT_NODE` * `node.appendChild(someOtherNode)` will append `someOtherNode` as a child of `node` in the last position. * `node.insertBefore(someOtherNode)` inserts `someOtherNode` as a child of `node` in the first position. * `node.removeChild(childNode)` See also: * [[MDN Documentation on the Node interface|https://developer.mozilla.org/en-US/docs/Web/API/Node]]
The ''DOM standard specification'' is the standard for the [[Document Object Model|Document Object Model]] and is held in the page below: https://dom.spec.whatwg.org/
The ''DOMContentLoaded event'' is fired when the initial [[content tree|Web Browser Rendering Engines]] is parsed, but doesn't wait for the [[render tree|Web Browser Rendering Engines]] to be parsed. The target for this event should be the [[document object|JavaScript window.document Object]]. This event is also very useful for making API calls with something like [[XMLHttpRequests|JavaScript XMLHttpRequest Objects]].
The ''Window interface'' represents a window containing a [[DOM document|DOM Document Interface]]. Some notable properties, methods and events are below: <<list-links "[tag[DOM Window Interface]sort[title]]">> See also: * [[MDN documentation on the Window interface|https://developer.mozilla.org/en-US/docs/Web/API/Window]]
The ''domain'' or ''domain of discourse'', or ''universe of discourse'' is, in mathematics, the set of values that a particular quantification is applying to. For example the $$\forall x P(x) $$ is normally applied with the domain set to all real numbers and if one is not applied, if the predicate seems to be dealing with numbers, the default is all real numbers. It is an implicit assumption that the domain will not be empty, but if it is, then $$\forall xP(x)$$ is true for any propositional function P(x). The domain of discourse or ''miniworld'' is generally, the domain of knowledge that encompasses the topic at hand.
A ''DSSA'' stands for ''domain specific software architecture'' and is an assembly of software components. It is specialized for a particular task or domain as the name implies and is generalized for effective use across that domain. It is composed in a standard structure effective for building successful applications.
A method in Java, and many other languages, is invoked with ''dot notation'', or a ''dot operator''. For an instance method, the object is followed by the name of the method, and the method is followed by parameters enclosed in parenthesis `System.out.println("Hello")`. For a static method the class is followed by the name of the static method then the name of the numeric input `Math.sqrt(2)`.
The nodes of the LinkedList class store a link to the next element and the previous one. This is called a doubly-linked list. A single linked list means that elements only store a link to the next node in the chain. You can use the previous and hasPrevious methods to move the iterator backward. The add method adds an object after the iterator, then moves the iterator position past the new element. Visualize insertion to be just like typing text in a word processor.
A ''driver'' is a class or program that tests the targeted system, or sub-system. These can depend on [[stubs|Stubs (Software Testing)]] @b:49 as shown in the following picture: https://drive.google.com/open?id=1jr7iHEZ2PP8c59qsihZ8NKXRdgyPs8tU which shows the tested unit as the sub-system under test from the driver. An example for simple Java driver is in the note. A [[bottom-up testing strategy|Bottom-Up Integration Testing]] heavily involves drivers. ```java /** This program tests the CashRegister class. */ public class CashRegisterTester { public static void main(String[] args) { CashRegister register1 = new CashRegister(); register1.addItem(1.95); register1.addItem(0.95); register1.addItem(2.50); System.out.println(register1.getCount()); System.out.println("Expected: 3"); System.out.printf("%.2f\n", register1.getTotal()); System.out.println("Expected: 5.40"); } } ```
''DrRacket'' can be used to program in Scheme. The statement `#lang scheme` can be put at the top of the document to indicate that the scheme language will be used. DrRacket uses [[simplified pair notation|Scheme pair Data Type]] for any pairs in scheme.
A ''dual in-line package'' or ''DIP'' is an electronic component package, or a chip looking doohickey, with a rectangular housing and two parallel rows of electrical connecting pins. The Wikipedia article is here: https://en.wikipedia.org/wiki/Dual_in-line_package
''Dynamic binding'', ''late binding'', or ''dynamic dispatch'' is when the actual memory locations that store code, are bound to the variables that reference them at execution time, or run-time. Dynamic refers to something that happens at run-time. [[Polymorphic|Polymorphism]] function calls are only possible if late binding is applied.
''Dynamic memory allocation'' allocates memory to variables during execution by a function or method call.
''Dynamic SQL'' is a type of [[embedded database command approach|Embedded Database Commands]] where SQL commands are created from user input. This could be directly, as in how DBMS programs might allow a user to input complete SQL commands like [[MySQL workbench|MySQL Workbench]], or it could be a user friendly input, such as a web form where the SQL is created for them. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Dynamic SQL'>> </div>
''Dynamic testing'' or ''dynamic analysis'' is testing at run-time using test data. Examples of this are: * [[White box testing|White Box Testing]] * [[Black box testing|Black Box Testing]]
''Dynamically linked libraries'', ''shared libraries'', or ''DLLs'' are system libraries that are linked to user programs when the programs are run. This is similar to [[dynamic loading|Operating System Dynamic Loading]]. In dynamic linking, a stub is included for each library routine reference. The stub indicates how to locate the actual memory location routine, or how to load the library if the routine is not present at runtime when it is needed. Dynamically linked libraries allow updates to libraries to occur without changing all the references to it. When an [[executable|Operating System Executables]] uses a DLL, it means that it will dynamically bring in code from the library. See also: * [[Static Linking|Operating System Static Linking]]
''Helix3'' seems to just be a combined product from E-Fense. It doesn't seem like it has a lot of big benefits honestly. It looks like there is a version that is free called Helix3 2009R1. It seems like this tool just contains a bunch of Linux tools ran in Windows somehow. Some tools that are available are below: * Winen See also: * [[E-Fense page for Helix3 Pro|https://www.e-fense.com/helix3pro.php]]
''Eager evaluation'' tries to start from the innermost operations first. At the same level, operations can be done in any order. Eager evaluation can better support parallel computing than [[lazy evaluations|Lazy Evaluation (Programming Languages)]] because the computations can be done before they are needed. [[Functional programming languages|Functional Programming]] can use eager evaluation because order of evaluation does not matter.
The ''Eclipse Foundation'' is a company that owns different things that seemed important to take note of. This is because what they own plays a part in how code can be shared and what things can be named. See below for different things they are in charge of: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Eclipse Foundation'>> </div> See also: * [[Main website for the Eclipse Foundation|https://www.eclipse.org/org/]]
The ''Eclipse IDE'' is maintained by the [[Eclipse Foundation|Eclipse Foundation]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Eclipse IDE'>> </div>
Some different methods of [[static testing|Static Testing]] in the [[Eclipse IDE|Eclipse IDE]] are below: * Compiler warnings and errors * Check style ** Check for code guideline violations ** http://checkstyle.sourceforge.net/ * [[SpotBugs|SpotBugs (Static Java Analysis Tool)]] * Metrics ** Check for structural anomalies ** http://metrics.sourceforge.net/
An ''edge'' typically connects one [[node|Tree Data Structure]] to another. Edges are typically represented as a line, and can be used in [[tree data structures|Tree Data Structure]], as well as [[graphs|Graph (Data Structures)]].
A bit storage block that stores the bit transferred to the D input at the very edge of the rising clock cycle is called an ''edge-triggered D flip-flop''. An edge-triggered D flip-flop has a master servant design as shown below: [img width=500 [https://lh4.googleusercontent.com/Vi6chQoxwTMhLs36NIl-xEImfQPVhavlLBaEdd3olPYs7JO9ODOkJHCA544W9Ao10X4Bc3Z8qjGenTc=w1918-h1888]] This makes it so while the circuit is processing normally and sending a signal to a block where the designer wishes to store the bit, most of the processing through the gate has already been done before the clock hits, then as soon as the clock cycle hits, a last couple steps complete, and the bit is stored. This is known as a positive or rising edge triggered flip-flop when the clock changes from 0 to 1, but there are also negative or falling edge triggered flip flops triggered when the clock changes from 1 to 0. Positive edge triggered flip-flops are drawn using small triangle at the clock input. Negative edge triggered flip-flops are drawn with a small triangle along with an inversion bubble. Both are shown here: https://drive.google.com/file/d/0B5Qq4fe-ZajTbjJkdkNvcXBFRXM/view?usp=sharing. Because the symbols identify the clock input, those inputs typically are not given a name. Keep in mind that it is positive because it stores the value at the D input when the input is rising. It is not determined by when the output is changed (the falling clock edge).
An ''EER Diagram'' has all the of the same features of an [[ER Diagram|ER Diagrams]], with some notable additions below: * [[Specializations|EER Model Specializations]] are indicated by connecting the subclasses and the superclass with a line interrupted with a circle and the type of specialization, either a d for [[disjoint|EER Model Specializations]], or an o for [[overlap|EER Model Specializations]]. On the line connecting the subclass to the circle, there should be a subset symobl pointing at the subclass. Here is an [[example of having subtypes implemented in an EER diagram|Image - EER Diagram with subtypes]]. The opposite of a specialization is a ''generalization'', although they have the same notation. ** A specialization that has a specific attribute that will become the characteristic of the specialization, can have that attribute specified next to the line leading to the circle with a d in it. Then on each line leading to the subtypes, there can be the value of that attribute. These kind of subtypes are called ''predicate-defined subtypes'' or ''condition-defined subtypes''. Here is an [[example of that being used|Image - Predicate defined subtypes in an EER Diagram]]. ** A [[total specialization|EER Model Specializations]] is shown by drawing two lines connecting to the type of specialization circle. * [[Union types|EER Models > Unions]] are shown similarly to the specialization, with the difference that a U is put in the circle separating the superclasses from the subclass, and the subset symbol goes on the line connecting to the subclass, showing that the subclass is a subset of the superclasses. Here is an [[example of a union type|Image - Union in an EER diagram]]. * A total category is represented by putting a double line connecting the category and the circle. Here is a [[large example of an EER diagram|Image - Full example of an EER Diagram]].
A ''subtype'' or ''subclass'' is very similar to a subclass in programming. It just inherits the attributes and relationships of the parent entity type, with some extra attributes. The additional attributes are called the ''specific attributes'' or ''local attributes'' of the subtype. A ''specific relationship type'' is a [[relationship type|ER Models > Relationship Types]] that belongs to a particular subtype. An example of a subtype of the `EMPLOYEE` superclass or supertype is `ENGINEER` or `MANAGER`. The relationship between a superclass and its subclass is just called a class/subclass relationship or any alternative really. A subclass with more than one superclass is called a ''shared subclass''.
A ''specialization'' is the set of [[subtypes|EER Model Entity Subtypes]] of a supertype which have some kind of common distinguishing characteristic which is called the ''defining predicate'', or ''defining attribute'' of the relationship. For example a set of subtypes of `EMPLOYEE` could be `ENGINEER`, `TECHNICIAN`, and `SECRETARY`, where their common characteristic would be job type. That set of subtypes would be the specialization. If a specialization does not have a particular characteristic it is called a ''user-defined specialization''. The ''disjointness constraint'' specifies that an entity can only be a member of at most one sub-class of the specialization. This is implied by attribute-defined subtypes. If this is not defined, then the subtypes can be a member of another subtype, so their entity sets ''overlap''. The ''completeness constraint'' or ''totalness constraint'' determines if a specialization is total or partial. A ''total specialization'' says that every entity in the superclass must be a member of at least one subclass in the specialization. A ''specialization hierarchy'' has the constraint that every subtype only participates in one type/subtype relationship. This results in a tree structure. This contrasts to a ''specialization lattice'' where each subtype can be a subtype in more than one type/subtype relationship. Here is an [[example of making a specialization lattice|Image - Example of a specialization lattice]].
A ''union type'' or ''category'' is a type of connection where a few different entity types are related by some special condition. This might be, for example, person, bank, and company entity types which are all capable of being vehicle owners. They would be connected via a union type to a `OWNER` entity type. Attributes are only inherited from the entity type in which the entity originally came from. Here is an [[example of a union in an EER diagram|Image - Union in an EER diagram]]. A ''total category'' holds the union of all entities in its superclasses. A ''partial category'' holds a subset of the union. Union types and categories should generally be avoided unless the situation definitely warrants this type of construct. Most modeling should be done with [[specialization / generalization|EER Model Specializations]].
<<list-links "[tag[EGR 280]sort[title]]">>
<<list-links "[tag[EGR 280 - Module 1]sort[title]]">>
<<list-links "[tag[EGR 280 - Module 2]sort[title]]">>
<<list-links "[tag[EGR 280 - Module 3]sort[title]]">>
<<list-links "[tag[EGR 280 - Module 4]sort[title]]">>
<<list-links "[tag[EGR 280 - Module 5]sort[title]]">>
''Electrical resistance'' is the tendency of a material to resist [[current|Current (Electrical)]]. This is analogous to a pipe's diameter for water to flow through. Electrical resistance is measured in ohms $$\Omega$$.
''Embedding database commands'' in a general-purpose programming language is one [[approach of database programming|Database Programming Approaches]]. This is sometimes referred to as ''static database programming''. In this approach, database statements are embedded in a general-purpose language and are identified by a special prefix. For example, a common way to embed SQL is to prefix it with `EXEC SQL`. A [[preprocessor|Program Preprocessing]] will scan the source for those statements and extract them for processing by the [[DBMS|Database Management System (DBMS)]]. They are replaced in the program by function calls to the DBMS-generated code. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Embedded Database Commands' sort[title]>> </div>
''Embedded SQL'' is [[embedded database commands|Embedded Database Commands]] specific to [[SQL|Structured Query Language (SQL)]]. Table of Contents: <div class="tc-table-of-contents"> <$macrocall $name="toc-selective-expandable" tag=<<currentTiddler>>/> </div>
A ''cursor'' is an [[iterator|List Iterator]] variable that refers to a single tuple or row from a query result that retrieves a collection of tuples. The cursor is declared at the same time that the SQL query is declared. The `OPEN CURSOR` command will set the cursor to the position just before the first row in the result of the query, which becomes the current row for the cursor. The current location of a cursor can be used in the `WHERE` block of any SQL command by using `WHERE CURRENT OF <cursor name>` `CLOSE CURSOR` can be used to close out the cursor. Here is an [[example of using a cursor in C|$:/Image - Using embedded SQL cursor in C]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Embedded SQL Cursor'>> </div>
''Declaration'' of a [[cursor|Embedded SQL Cursor]] follows this general format where `[]` means optional, and `|` means "or": ``` EXEC SQL DECLARE <cursor name> [INSENSITIVE] [SCROLL] CURSOR [WITH HOLD] FOR <select-from-where block> <optional ORDER BY command> <optional cursor action> ``` * [[select-from-where block|SQL Select-From-Where Blocks]] * If `SCROLL` is used then the structure of the [[FETCH command|Embedded SQL FETCH Command]] is changed a bit, that is detailed in the FETCH tiddler. * `INSENSITIVE` and `WITH HOLD` are discussed later in the book. * [[ORDER BY command|SQL ORDER BY Command]] * `<optional cursor action>` can be any of the following: ** `FOR READ ONLY` is the default. If the cursor action is not set, this is what it will be. ** If `FOR UPDATE` is specified with nothing else, then the rows are set to be deleted. ** If `FOR UPDATE OF <SQL attribute list>` is used then those attributes are set to be updated.
The ''FETCH command'' will move an open [[cursor|Embedded SQL Cursor]] to the next row. FETCH follows this general structure: ``` EXEC SQL FETCH <optional fetch orientation> FROM <cursor name> <INTO clause>; ``` * The `<optional fetch orientation>` can be used when the [[cursor declaration|Embedded SQL Cursor Declaration]] uses `SCROLL`. This makes it so the cursor can move in ways other than sequentially. The different options are below: ** `NEXT` ** `PRIOR` ** `FIRST` ** `LAST` ** `ABSOLUTE i` where i the the index value of the tuple ** `RELATIVE i` where i is the relative index value of the tuple * [[INTO Clause|Embedded SQL INTO Clause]] If the FETCH command is issued, and the [[SQLCODE|Embedded SQL SQLCODE and SQLSTATE]] is > 0, or [[SQLSTATE|Embedded SQL SQLCODE and SQLSTATE]] says `02000` then there is no more data available. See also: * [[Image - Using embedded SQL cursor in C|$:/Image - Using embedded SQL cursor in C]]
''Embedded SQL in C'' is a type of implementation of [[embedded database commands|Embedded Database Commands]]. In this implementation, [[C|C Programming Language]] is the [[host language|Database Host-Language]]. `EXEC SQL` can prefix any SQL statements in C to indicate to the preprocessor that the following statements should be separated. The SQL statements should be terminated by either a semicolon `;` or `END-EXEC`. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Embedded SQL in C' sort[title]>> </div>
''SQLJ'' is a way to use [[embedded SQL|Embedded SQL]] in [[Java|Java]]. A SQLJ translator is generally needed to convert SQL statements into Java, which can then be executed through the [[JDBC|JDBC]] interface. This is why a [[JDBC driver|JDBC Drivers]] is needed when using SQLJ. Embedded SQL statements in Java are preceded by a `#sql`. SQLJ uses the [[INTO clause|Embedded SQL INTO Clause]] and a colon before shared variables `:`. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Embedded SQL in Java (SQLJ)'>> </div>
The ''INTO clause'' can be used to put the results of a [[SELECT statement|SQL Select-From-Where Blocks]] into [[shared variables|SQL in C Shared Variables]]. An example is below: ``` EXEC SQL SELECT Fname, Minit, Lname, Address, Salary INTO :fname, :minit, :lname, :address, :salary FROM EMPLOYEE WHERE Ssn = :ssn; ``` The INTO clause can only be used for a single record retrieval.
After each database command is executed, the DBMS returns a value in ''SQLCODE''. SQLCODE is not standardized among vendors. * A value of 0 indicates the statement was successful. * A value > 0 or value = 100 no more records are available. * A value < 0 indicates some error has occurred. Later on, ''SQLSTATE'' was introduced which is 5 characters. SQLSTATE is supposed to be standardized among vendors for values starting with 0-4 or A-H. * `00000` means everything was successful * `02000` means no more data.
''Embedded systems'': These are generally anything that includes digital circuits other than general-purpose computers. Design aspects include physical size, responsiveness, and power management. An example is an insulin pump control system.
There is an ''empty set'' or ''null set'' that has no elements. This set is denoted by $$\emptyset$$ or by { }. Sometimes a set is empty because of it's requirements. For example $$\{x | x \in \mathbf{Z}^+ \land x > x^2\}$$ is the empty set. The set with the empty set in it, is not the empty set.
An ''encoder'' takes $n$ inputs where only one can be 1 at any moment, and translates that to $n\log_2 (n)$ outputs. This would be the case for a sliding switch with $n$ possible positions for example. A priority encoder does the same thing, but in the case that multiple inputs are 1, it takes the highest value input and translates that.
This is a general topic tiddler for ''engineering'' as a whole. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Engineering'>> </div>
The ''Engineering Design Process'' is the process of devising a system, component, or process to meet desired needs. It is a decision making process in which the basic sciences, mathematics, and engineering sciences are applied to convert resources optimally to meet these stated needs. All design processes require creativity, engineering design processes require specialized knowledge of technology, math, and science than other types of design. The people that the engineering project is designed for are the customers and stakeholders. A ''stakeholder'' is anyone who has an interest in the project. This could be the customer, the individuals who will purchase it, the mechanics who will maintain it, the agency that monitors it's emissions, and the companies that will supply it parts. Some example steps are in the note. __Example Design Process:__ """1 - Define the problem: 1.2 - The needs of potential customers are identified, potential competitors are identified and their market positions are characterized. Constraints imposed by government regulations or technological limitations are identified, and constraints such as available personnel, time, and money are established. This is often established as a problem statement. 1.2 - Root Cause analysis 2 - Identify criteria and constraints 2.1 - Constraints describe conditions or limitations that must be met by the design and design process. 2.2 - Criteria are measurable values that can be used to compare several designs and determine which is better. 3 - Generate Ideas 3.1 - This is the "black magic art" of the process. Find ways to be creative! 3.2 - Idea reduction. Generate a lot of ideas, and try to prune them. 4 - Explore possibilities: After potential designs are generated, they are explored to understand their likely advantages and disadvantages. 4.1 - Use idea reduction techniques such as voting, or combining. 4.2 - With a difficult problem, the amount of time spent on a problem can have a big impact on the outcome. Too much attention to an idea is analysis paralysis. Too little is married to an idea. 5 - Select a design concept: Potential designs are evaluated compared to the constraints and criteria. One or more concepts are selected to be designed in detail and prototyped. 5.1 - This can get emotional and personal! 6 - Develop a detailed design 6.1 - The design architecture is established by identifying physical and functional chunks. Shapes and dimensions are determined, materials and fabrication processes selected, and product components are identified. 6.2 - This is developed in enough detail that prototypes can be made. 7 - Create models and prototypes, test and evaluate, and refine the design 7.1 - Sometimes the design is revealed to not work at all, so the design process needs to be picked again. 8 - Implementation and Communication: Depending on the context, the design is produced or constructed. Communicate Process and results"""
The ''EER Model'' includes all of the modeling concepts of [[ER Models|Entity-Relationship (ER) Models]] as well as the ones shown below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Enhanced ER (EER) Model' sort[title]>> </div>
The ''entity integrity constraint'' says that no [[primary key attribute's|Database Uniqueness Constraint]] value can be `NULL`.
''Entity-Relationship models'' or ''ER models'' are commonly used in [[database design|Database Design]]. ER Models can be portrayed with an [[ER Diagram|ER Diagrams]]. An ER model can also be shown as a [[UML Class Diagram|UML Class Diagrams]]. Here is an [[image showing some different possible notations for ER Diagrams|Image - Different notations for ER diagrams]]. Unlike a [[relational model|Relational Data Model]], there is no concept of a [[primary key|Database Uniqueness Constraint]] in the ER model. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Entity-Relationship (ER) Models' sort[title]>> </div>
An ''equivalence class'' sometimes called ''defect clustering'', or ''equivalence partitioning'', divides the possible inputs of a program into categories such that testing one point in each category is equivalent to testing all points in the category. This is a type of [[black box testing|Black Box Testing]]. Any test in the same equivalence class should give the exact same result. The goal is to provide one test case for each class or cluster. Equivalence class definitions are usually an iterative process and go on throughout development. If the same tests are repeated over and over, eventually the same test cases will no longer find new bugs. This is called the ''pesticide paradox''. Its good to use heuristics to get started designing the test cases. This means using your gut, or using an educated guess to get the right categories. Because of something called ''combinatorial explosion'', there are situations where just have multiple inputs to a function will cause there to be 100s of equivalence classes. Some tactics for this situation are below: * Ensure that at least on test is run with every equivalence class of every individual input. * Test all combinations where an input is likely to affect the interpretation of another * Test a few other random combinations of equivalence classes Equivalence Class Examples: * If the input is a value, the maximum value would be an equivalence class. An equivalence class of 1. The min value would be another class, same with an empty value, typical value, illegal value. * If the input is a sequence, then a class could be a single element, an empty sequence, max and min element values could be an equivalent class of 2. * For web design, an equivalence class could be that every page is retrieved at least once, to test that there are no 404 errors. * A good calendar example of black box testing is here: https://drive.google.com/open?id=1QGIkXR7mRl7tdRUbEYg-l9fO9Nj4nXiD
Let $$R$$ be an equivalence relation on a set $$A$$. The set of all elements that are related to an element $$a$$ of $$A$$ is called the ''Equivalence Class'' of $$a$$. The equivalence class of $$a$$ with respect to $$R$$ is denoted by $$[a]_R = \{s \mid (a,s) \in R \}$$. If some $$b \in [a]_R$$ then $$b$$ is called a ''representative'' of this equivalence class, which just means that it is an element in the set and nothing more really.
Compound propositions that have the same truth values in all possible cases are called ''equivalent''. p and q are called logically equivalent if $$p \leftrightarrow q$$ is a tautology. The notation $$p \equiv q$$ denotes that p and q are logically equivalent. Note that $$\equiv$$ is not a logical connective and the symbol $$\Leftrightarrow$$ is used sometimes to indicate logical equivalence. Logical equivalences involving conditional and biconditional statements are here: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5VF9iQ0g5d0l5T0U/view?usp=sharing
Here is an [[example of an ER Diagram|$:/Image - ER Diagram example]] using the [[requirements in this example|$:/Image - Example requirements for a database design]]. In the standard cardinality ratio, and total participation notation, when reading an ER diagram, it goes from the closest node, to it's attached line and value, then the eventual target. So for example in the example ER diagram, there are N employees that work for a department, and there is 1 department per employee. Again reading it for participation, each employee must be attached to a department, and every department must have an employee. Some notation rules are below: * [[Entity types|ER Models > Entity Types]] are represented as a rectangular box enclosing the entity type name. * [[Weak entity types|ER Models > Weak Entity Types]], and their identifying relationships are distinguished by surrounding their boxes, and relationship diamonds respectively with double lines. Their [[partial keys|ER Models > Weak Entity Types]] are underlined using a dashed or dotted line. * [[Attributes|ER Models > Attributes]] are enclosed in ovals and are attached to their entity type by straight lines. ** [[Composite attributes|ER Models > Composite Attributes]] are attached to their [[atomic attributes|ER Models > Atomic Attributes]] by a straight line. ** [[Key attributes|ER Models > Entity Types > Key Attributes]] have their name underlined inside the oval. ** [[Derived attributes|ER Models > Derived Attributes]] should have a dotted or dashed line for their oval. ** [[Multivalued attributes|ER Models > Multivalued Attributes]] are displayed in double ovals. * [[Relationship types|ER Models > Relationship Types]] are displayed as diamond shaped boxes, which are connected by straight lines to the entities they connect. The relationship name is displayed within the diamond shaped box. ** [[Cardinality ratios|ER Models > Relationship Types > Cardinality Ratios]] are represented by displaying 1, M, and N on the diamonds of the relationship. This is shown better in the example ER Diagram. ** [[Total participation constraints|ER Models > Relationship Types > Participation Constraints]] are shown as a double line from the diamond, while [[partial participation constraints|ER Models > Relationship Types > Participation Constraints]] are shown as a single line. ** If needed, a [[role name|ER Models > Relationship Types]] can be put below the [[structural constraint|ER Models > Relationship Types > Structural Constraints]]. See also: * [[ER Models > Min, Max Notation]] * [[EER Diagrams]]
A ''value set'' or ''domain of values'' is associated with each [[atomic attribute|ER Model Atomic Attributes]] in an [[entity type|ER Models > Entity Types]]. These determine the set of values that may be assigned to the attribute for each entity. For example the value set of the `Age` attribute of an `EMPLOYEE` entity type may be the set of integers between 16 and 70. Value sets are not typically represented in [[ER diagrams|ER Diagrams]], although they are in [[UML Class Diagrams|UML Class Diagrams]]. A value set can be defined mathematically as a function. For example an attribute $$A$$ of entity set $$E$$ whose value set is $$V$$ can be defined by the [[function|Function (Mathematics)]] $$A : E \to \mathcal{P}(V)$$. This says that the attribute A maps the entity E to the powerset of V. This definition covers both the empty set which is [[NULL|ER Models > Attributes > NULL Values]], as well as [[multivalued attributes|ER Models > Multivalued Attributes]] and [[single-valued attributes|ER Models > Single-Valued Attributes]].
''Atomic attributes'' or ''simple attributes'' are attributes that are not divisible.
''Attributes'' are the properties that describe an [[entity|ER Models > Entities]]. For example an employee entity might have attributes such as name, age, address, salary, and job. Each attribute should have a value associated with it, which can be NULL. There are different types of attributes as well: * [[Composite Attributes|ER Models > Composite Attributes]] vs [[Atomic Attributes|ER Model Atomic Attributes]] * [[Single-Valued Attributes|ER Models > Single-Valued Attributes]] vs [[Multivalued Attributes|ER Models > Multivalued Attributes]] * [[Stored Attributes|ER Models > Stored Attributes]] vs [[Derived Attributes|ER Models > Derived Attributes]] * [[Complex Attributes|ER Models > Complex Attributes]] See also: * [[Image - ER Models > Two entities with their attributes and values|$:/Image - ER Models > Two entities with their attributes and values]]
''NULL values'' can be used for the value of an attribute if it does not exist. For example if there is an `Apartment_number` attribute and they do not live in one, it could be `NULL`.
A ''binary relationship type'' is a [[relationship type|ER Models > Relationship Types]] with with a [[degree|ER Models > Relationship Types]] of two.
''Complex attributes'' are those that include both [[multi-valued attributes|ER Models > Multivalued Attributes]] and [[composite attributes|ER Models > Composite Attributes]]. Here is an [[example of a complex attribute|$:/Image - Complex attribute example]].
''Composite attributes'' can be divided into smaller sub parts which represent more basic attributes with independent meanings. For example in this [[example entity image|$:/Image - ER Models > Two entities with their attributes and values]], the `Address` attribute can be divided into `Street_address`, `City`, `State` and `Zip`, each with their own values. Composite attributes can form a hierarchy, as shown in [[this example|$:/Image - Hierarchy of composite attributes]]. The value of a composite attribute, is the concatenation of the values of its component, [[atomic attributes|ER Model Atomic Attributes]]. If the composite attribute is only ever referenced as a whole, it may not need to be turned into a composite attribute. To denote a composite attribute, its sub-attributes can be denoted within parenthesis `()` preceded by the complex attribute name. Here is an [[example of a composite attribute being used in a complex attribute|$:/Image - Complex attribute example]].
In some situations two attributes may be related. For example if there is a birthday attribute, there could also be an age attribute, which could be calculated from the the current date and the birthday. The age attribute in this case would be the ''derived attribute'' which is derivable from `Birth_date` which would be a [[stored attribute|ER Models > Stored Attributes]].
An ''entity'' is a thing or object in the real world with an independent existence. It might be an object with a physical existence such as a car, house, person, or it might be an object with a conceptual existence, such as a company, job, or university course. When deciding if something should be an entity, a good rule of thumb is to make sure that the entity will have one non-key attribute, or it is the "many" side in a many to one, or many to many relationship. Each entity has [[attributes|ER Models > Attributes]]. See also: * [[Image - ER Models > Two entities with their attributes and values|$:/Image - ER Models > Two entities with their attributes and values]] Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'ER Models > Entities' sort[title]>> </div>
An ''entity type'' defines a collection or set of entities that have the same [[attributes|ER Models > Attributes]], but different values. The entity type describes the ''schema'' or ''intention'' of that set or collection of entities. The name of an entity type should correspond to each entity on its own. So if the entities are employees, then the entity type should be named in the singular, `EMPLOYEE`. The collection of all entities in a database of the same entity type in a database at any point in time is called an ''entity set'' or ''entity collection'' or the ''extension'' of that entity type. Each [[atomic attribute|ER Model Atomic Attributes]] of an entity type is associated with a [[value set|ER Model Atomic Attribute Value Sets]]. <div class="tc-table-of-contents"> <<toc-selective-expandable 'ER Models > Entity Types' sort[title]>> </div>
An [[entity type|ER Models > Entity Types]] usually has one or more attributes whose values have a [[uniqueness constraint|Database Uniqueness Constraint]]. These are called ''key attributes''. Sometimes a couple attributes together form the key attribute. Other times there may be multiple attributes which are key attributes in their own right. Here is an [[example of a car entity type which has two key attributes, one of which is made from two component attributes|Image - Car entity type with two key attributes]].
A ''higher degree relationship type'' is one that is higher than a [[ternary relationship type|ER Models > Ternary Relationship Types]].
There is an alternative notation to the cardinality ratios and total participation constraints, which is called the ''(min, max) notation''. This is normally more precise than using double lines, and provides more flexibility. It is different than the cardinality ratio and total participation method in that the directions of relationships are read in the opposite. The (min, max) is placed near the entity type in (min, max) notation. Here is an [[example of the original example diagram using this notation|Image - ER Diagram Example using min, max notation]].
''Multivalued attributes'' have multiple values. They could be something like `colors` of a car or `College_degrees` of a person. A multivalued attribute may have an upper and lower bound. When denoting multivalued attributes, they can be put between braces `{}` and separated by commas. Here is an [[example of a complex attribute that uses that notation|$:/Image - Complex attribute example]].
A ''relationship type'' $$R$$ among $$n$$ entity types: $$E_1, E_2, ... , E_n$$ defines a ''relationship set''. A relationship type and set, are normally referred to by the same name. The relationship set $$R$$, is a set of ''relationship instances''. Each of the entity types $$E_1, E_2, ... , E_n$$ is said to participate in the relationship type $$R$$. The ''relationship type degree'', is the number of participating [[entity types|ER Models > Entity Types]]. A relationship type of degree 2, is called a [[binary relationship type|ER Models > Binary Relationship Types]], one of degree 3 is called a [[ternary relationship type|ER Models > Ternary Relationship Types]]. Anything higher is a [[higher-degree relationship|ER Models > Higher Degree Relationship Types]]. [[Structural constraints|ER Models > Relationship Types > Structural Constraints]] can apply to every degree of relationship. Each entity type that participates in a relationship type plays a particular role, and gets a ''role name''. For example in a `WORKS_FOR` relationship type, `EMPLOYEE` could get the role name of employee, or worker, and `DEPARTMENT` could get the role name of department or employer. Role names may not always be needed, but there may be some cases where the same entity type will participate more than once in a relationship type in different roles. These relationship types are called ''recursive relationships'' or ''self-referencing relationships''. Here is an [[example of a recursive relationship where the employee entity type could be the supervised, or the supervisor|Image - Recursive relationship example]]. Relationship types can conceptually have attributes as well. For example in a 1:1 relationship, an attribute would conceptually belong to the relationship, so it can go to either entity type participating in the relationship. In a 1:N relationship, the attribute would belong to the N-side of the relationship. In an M:N relationship, the attribute would actually belong to the relationship, and the relationship would get a fully fledged relation. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'ER Models > Relationship Types' sort[title]>> </div>
The ''cardinality ratio'' is a [[structural constraint|ER Models > Relationship Types > Structural Constraints]], and specifies the maximum number of [[relationship instances|ER Models > Relationship Types]] that an entity can participate in. For example in a relationship called `WORKS_FOR` between `DEPARTMENT:EMPLOYEE`, there could be a cardinality ratio of `1:N` so there is 1 department per employee, and N employees per department. There are just 4 options when choosing a cardinality ratio. That is 1:1, 1:N, N:1, and M:N. If more are needed, then [[min, max notation can be used|ER Models > Min, Max Notation]].
A ''participation constraint'' or ''minimum cardinality constraint'' specifies if the existence of an entity depends on it being related to another entity via the [[relationship type|ER Models > Relationship Types]]. In other words it specifies the minimum number of relationship instances that each entity can participate in. The two types of participation constraints are: * ''Total Participation'' or ''Existence Participation'' is where every entity in the [[entity set|ER Models > Entity Types]] must participate in the relationship type. For example if a company policy states that every employee must work for at least one department, then the `WORKS_FOR` relationship has a total participation constraint. * ''Partial Participation'' is where at least one relationship must exist, for example there must always be a manager of a department, so at least one `MANAGES` relationship instance must exist. See also: * [[ER Models > Min, Max Notation]]
There are two types of relationship constraints which together are called the ''structural constraints'' of the relationship type: * [[Cardinality Ratios|ER Models > Relationship Types > Cardinality Ratios]] * [[Participation Constraints|ER Models > Relationship Types > Participation Constraints]]
''Relationships'' represent the connections between [[entity types|ER Models > Entity Types]] in an [[ER Model|Entity-Relationship (ER) Models]]. Table of contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'ER Models > Relationships' sort[title]>> </div>
''Single-Valued Attributes'' are attributes that have a single value for their entity. This could be something like age.
''Stored attributes'' are attributes which are not [[derived|ER Models > Derived Attributes]].
A ''ternary relationship type'' is one that connects three different [[entity types|ER Models > Entity Types]]. Here is an [[example of a ternary relationship type|Image - Ternary relationship type]].
[[Entity types|ER Models > Entity Types]] normally have [[key attributes|ER Models > Entity Types > Key Attributes]]. If an entity type does not have a key attribute, it is called a ''weak entity type''. If it does, it is called a ''regular entity type'' or a ''strong entity type''. The [[relationship|ER Models > Relationship Types]] that connects a weak entity type to its owner is the ''identifying relationship'' of the weak entity type. A weak entity type always has a [[total participation constraint|ER Models > Relationship Types > Participation Constraints]] with respect to its identifying relationship. An example of a weak entity type could be `DEPENDENT` of an `EMPLOYEE` entity type. The dependent may by chance have the same first, middle, and last name as another, although that is okay because the dependent is related to a different employee. A weak entity type normally has a ''partial key'' or ''discriminator'', which identifies it among its sibling weak entities. In a worst case scenario, the composite attribute of all the weak entity's attributes will be the partial key. Weak entity types may be represented as [[complex attributes|ER Models > Complex Attributes]]. A good determination of wether or not to use a weak entity type, is if the entity type participates in relationships other than its identifying relationship.
An ''erroneous state'' or ''error'' is when the system is in a state such that further processing by the system can lead to a [[failure|Software Failure]]. This could be a null reference error, concurrency errors, or [[exceptions|Exception (Java)]].
''ES modules'' or ''ECMAScript modules'' are modules built by the ECMAScript standard. Compared to [[CommonJS modules|Node.js Modules]], they are very similar but break many things when they are used. See also: * [[Mozilla article on the differences between common JS modules and ES Modules|https://hacks.mozilla.org/2018/03/es-modules-a-cartoon-deep-dive/]]
To include a quotation mark in a literal string, precede it with a backslash such as the following: "He said \"Hello\"" This is called an ''escape sequence''. To include a backslash in a string, use the escape sequence \\. To denote a newline character, use \n and this will start a newline on the display. To denote a tab use \t.
''ESLint'' is a code formatting extension and [[NPM package|NPM Packages]]. To lint a [[TypeScript|TypeScript]] code base, you can use [[this guide|https://github.com/typescript-eslint/typescript-eslint/blob/master/docs/getting-started/linting/README.md]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'ESLint'>> </div>
The ''.eslintignore file'' specifies files much the same way as a [[.gitignore|Git .gitignore Files]] file that shouldn't be linted. This is a good spot for build files and the node modules folder.
The ''.eslintrc file'' can have a `.json` extension and provides the rules for linting. See also: * [[Example .eslintrc.json file that was made for typescript files|$:/Example - JSON - .eslintrc File]]
A mathematical expression can be evaluated in different orders. For example $$3 + 4 + (15 / 3)$$ can have the following orders: * $$3 + 4 = 7$$ then $$15/3 = 5$$ then $$7 + 5 = 12$$ * $$15/3 = 5$$ then $$4 + 5 = 9$$ then $$3+9= 12$$ * $$15/3 = 5$$ then $$3 + 4 = 7$$ then $$7 + 5 = 12$$ There are two main methods of evaluation orders: * [[Eager Evaluation (Programming Languages)]] * [[Lazy Evaluation (Programming Languages)]]
''Event-driven programming'' is when code is executed upon activation of events.
This is an example of how an [[branch instruction|Assembly Branch Instructions]] flows through a [[datapath|Datapath]]. The video it is sourced from is [[at this link|https://youtu.be/oETOwVBzu1s?t=785]]. [img width=700 [https://i.imgur.com/J5TwXQz.jpg]] Where the red lines are bit high, and the blue are bit low signals.
This is an example of how an [[J-type instruction|Assembly J-Type Instructions]] flows through a [[datapath|Datapath]]. The video it is sourced from is [[at this link|https://youtu.be/oETOwVBzu1s?t=622]]. [img width=700 [https://i.imgur.com/lneQLPd.jpg]] Where the red lines are bit high, and the blue are bit low signals.
This is an example of how an [[I-type instruction|Assembly I-Type Instructions]] flows through a [[datapath|Datapath]]. The video it is sourced from is [[at this link|https://youtu.be/oETOwVBzu1s?t=953]]. [img width=600 [https://i.imgur.com/yyKkvj2.jpg]] Where the red lines are bit high, and the blue are bit low signals.
This is an example of how an [[R-type instruction|Assembly R-Type Instructions]] flows through a [[datapath|Datapath]]. The video it is sourced from is [[at this link|https://youtu.be/oETOwVBzu1s?t=328]]. [img width=700 [https://i.imgur.com/ZjP01bM.jpg]] Where the red lines are bit high, and the blue are bit low signals.
``` li $t2, 5 example_label: addiu $t2, $t2, 10 j example_label ``` This loop is infinite as written.
Suppose you want to store the value `0xffffff00` at the memory address `0xf0a00000` which is the address of the seven segment display. First the [[load immediate instruction|Assembly Load Immediate Instruction]] is used: ``` li $t0, 0xf0a00000 li $t1, 0xffffff00 ``` then the [[store word instruction|Assembly Store Word Instruction]]: ``` sw $t1, 0($t0) ```
``` li $a0, 1 li $t0, 1 beq $a0 $t0 set_to_two nop li $v0, 4 j end nop set_to_two: li $v0, 2 end: j end # a method of cycling through so it doesn't keep accessing memory nop ```
[img width=600 [https://i.imgur.com/lxSPOh8.png]]
```xml <?xml version="1.0"?> <project name="Ser321 Simple example of Ant to build a Java program." default="targets" basedir="." xmlns:dn="antlib:org.apache.ant.dotnet" xmlns="antlib:org.apache.tools.ant" xmlns:cpptasks="antlib:net.sf.antcontrib.cpptasks"> <property name="src.dir" value="src"/> <property name="build" value="classes"/> <property environment="env"/> <property name="user" value="${env.USERNAME}"/> <target name="targets"> <echo message="Targets are clean, prepare, build, execute, and targets"/> </target> <path id="compile.classpath"> <pathelement location="${build}"/> </path> <target name="prepare"> <mkdir dir="${build}" /> </target> <target name="clean"> <delete dir="${build}" failonerror="false"/> </target> <target name="build" depends="prepare"> <javac srcdir="${src.dir}" includeantruntime="false" destdir="${build}"> <classpath refid="compile.classpath"/> </javac> </target> <target name="execute" depends="build" description="Run the program"> <echo message="command line execute: java -cp classes Fraction" /> <java classname="Fraction" fork="yes"> <classpath refid="compile.classpath"/> </java> </target> </project> ```
First the [[lexical structure|Lexical Structure]] is defined, followed by the [[syntactic structure|Syntactic Structure]]. [img width=600 [https://i.imgur.com/GpySGDp.png]] [img width=600 [https://i.imgur.com/6bfuobw.png]]
``` void flush() { int c; // Pretty sure this should be a char? do { c = getchar(); } while (c != '\n' && c != EOF); } ```
``` struct theatre_seating { struct patron **seating; int num_rows; int num_cols; }; void theatre_seating_init(int rowNum, int columnNum, struct theatre_seating *t) { t->num_rows = rowNum; t->num_cols = columnNum; t->seating = (struct patron **) malloc(rowNum * sizeof(struct patron *)); for (int row = 0; row < rowNum; row++) { t->seating[row] = (struct patron *) malloc(columnNum * sizeof(struct patron)); for (int col = 0; col < columnNum; col++) { struct patron temp_patron; patron_init_default(&temp_patron); t->seating[row][col] = temp_patron; } } } ```
Gets the characters typed to the terminal and prints them back to the terminal: ``` #include <stdio.h> void main() { char c; c = getchar(); while (c != '\n') { putchar(c); c = getchar(); } } ```
``` #include <iostream> void foo(int, int &); // forward declaration int i = 1; void main() { int j = 2; // j is a local variable here foo(i, j); } void foo(int m, int &n) { // call-by-alias applied to parameter n printf("i = %d m = %d n = %d\n", i, m, n); i = 5; m = 3; n = 4; printf("i = %d m = %d n = %d\n", i, m, n); } ```
[img width=700 [https://i.imgur.com/roYnLij.png]] The constant is commented out because that would not be allowed, since array declarations cannot have variables as their size.
``` char *charArray = new char[50]; delete[] charArray; ```
To delete a linked list in a situation where the linked list was created using [[new|C++ new Operator]], such as the one shown in [[the linked list example|C/C++ Struct Implementation of Linked List]], use the following procedure using the [[free function|C/C++ Free Function]]: ``` temp = head; while (temp != null) { temp = temp->next; delete head; head = temp; } ```
To free a linked list in a situation where the linked list was created using malloc, such as the one shown in [[the linked list example|C/C++ Struct Implementation of Linked List]], use the following procedure using the [[free function|C/C++ Free Function]]: ``` temp = head; while (temp != null) { temp = temp->next; free(head); head = temp; } ```
```c int i = 137, *j = 0, **k = 1; j = &i; k = &j; *j = 0; **k = 1; ``` The table can be done with tabs in a test, and the table can be read from right to left saying the highest of the variable is the highest address, then the actual values as it goes to the left. Lets assume that the compiler has allocated address 100 to `i`, 120 to `k`, and 160 to `j`. | !Line of code | !`i` | !`&i` | !`*j` | !`j` | !`&j` | !`**k` | !`*k` | !`k` | !`&k` | | 1 | 137 | 100 | 0 | | 160 | 1 | | | 120 | | 2 |137|100| `i` | `&i` |160| 1 ||| 120 | | 3 |137|100| `i` | `&i` |160| `i` | `&i` | `&j` |120| | 4 | 0 |100 | `i` | `&i` |160| `i` | `&i` | `&j` |120| | 5 | 1 |100 | `i` | `&i` |160| `i` | `&i` | `&j` |120|
[img width=700 [https://i.imgur.com/YMaKcfJ.png]]
__C/C++ Example of Recursive Selection Sort:__ [img width=700 [https://i.imgur.com/rlRM2yZ.png]]
[img width=700 [https://i.imgur.com/w9Skwoo.png]]
``` int a = "ten"; // Incorrect type ``` ``` i = 10; // No declaration ``` ``` int c = 10; arr[c]; // arrays must always be integers and not variables ``` ``` int main() { return "this is a string"; // incorrect return type } ```
``` struct contact { char name[30]; int phone; char email[30]; } x; ``` Because there is an integer involved, 30 needs 2 bytes of padding to be a multiple of 4, and so does the email. So total it becomes 32+4+32=68 bytes. If the name and email field were put next to each other, it would be 64 bytes.
``` int a // Doesn't have a closing semicolon ``` ``` void main() int a; } // Doesn't have an opening brace ``` ``` for (int i = 0; i < 5) { // Doesn't have a third argument for the for loop, this only seems relevant in SER 240 though because this is valid in C++, it will just never increment, which could be intended, or the i variable could be incremented within the loop. } ``` ``` int int; // Using two keywords ```
__C/C++ Example of using a stack:__ ``` elementType stack[stackSize]; int top = 0; void push(elementType Element) { if (top < stackSize) { stack[top] = Element; top++; } Printf("Error: stack full\n"); } elementType pop() { if (top > 0) { top--; return stack[top]; } Printf("Error: stack empty\n"); } ``` where `elementType` is the type of element chosen.
``` switch (ch) { case '+': x = a + b; printf("x = %d\n", x); break; case '-': x = a - b; printf("x = %d\n", x); break; case '*': x = a * b; printf("x = %d\n", x); break; case '/': x = a / b; printf("x = %d\n", x); break; default: printf("invalid operator"); } ```
``` #include <iostream> using namespace std; void main() { char c = 68; printf("c = %d", c); printf("\tc = %c\n", c); cout << "c = " << (int) c; cout << "\tc = " << c < endl; } ``` which outputs: ``` c = 68 c = D c = 68 c = D ```
``` #include <stdio.h> #include <string.h> int main(void) { char *token, *string = "a string, of, ,tokens\0,after null terminator"; /* the string pointed to by string is broken up into the tokens "a string", " of", " ", and "tokens" ; the null terminator (\0) is encountered and execution stops after the token "tokens" */ token = strtok(string, ","); do { printf("token: %s\n", token); } while (token = strtok(NULL, ",")); } ``` Where the output should be: ``` token: a string token: of token: token: tokens ``` An analysis of this line by line is: ``` token = strtok(string, ","); // token = "a string" token = strtok(Null, ","); // this basically works as a consumption operation // token = " of" // and so on... ```
``` #include <iostream> #include <cstring> #include <string> using namespace std; int main () { string str("This is an example of a string"); char *cstr = new char[str.length()+1]; strcpy (cstr, str.c_str()); // cstr now contains a c-string copy of str delete[] cstr; } ```
``` int i = 0, j, k; const double pi = 3.1415926; float x = 3.0, y, z = 2.5; ```
[img width=700 [https://i.imgur.com/5RzNCU4.png]]
[img width=700 [https://i.imgur.com/UviZCcU.png]]
``` Cylinder operator+(const Cylinder &c) { Cylinder cylinder; cylinder.radius = this->radius + c.radius; cylinder.height = this->height + c.height; return cylinder; } bool operator>(const Cylinder &c) { double vol0, vol1; vol0 = this->getVolume(); vol1 = c.getVolume(); if (vol0 > vol1) return true; else return false; } ```
[img width=700 [https://i.imgur.com/Ud9EAlg.jpg]]
[img width=900 [https://i.imgur.com/EYXvCQW.jpg]]
``` void login() { static int counter = 0; // will be initialized only once readId_pwd(); if (verified()) counter++; // counts the number of users that logged in until the program is terminated. } ```
``` class Contact { char name[30]; int phone; }; int main() { Contact *arrayC; arrayC = new Contact[10]; // This makes an array of 10 contact objects delete[] arrayC; } ```
``` class Personnel { // members }; class Employee : virtual public Personnel { // members }; class Student : virtual public Personnel { // members }; class TA : public Employee, public Student { // members }; ```
Why use a CLI vs a GUI? Pros for a [[Command Line interface|Command Line Interface (CLI)]]: * It is faster * There are more options, because it doesn't limit you to selecting from a menu Pros for a [[Graphical user interface|Graphical User Interfaces (GUI)]]: * They are simply more intuitive * You can have more information available to you at once, like viewing an image is a clear winner for a GUI. You can also just view more things at once though.
Starting out with the signed value `0b1110`, we can flip the bits which gives `0b0001`, then add one which gives `0b0010`. This equals 2, so from that we can determine that `0b1110` is equal to -2.
``` <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> .triangleTop { width: 0; height: 0; border-left: 30px solid transparent; border-right: 30px solid transparent; border-bottom: 30px solid #f00; } .squareBottom{ position: relative; width: 30px; height: 30px; top: 0px; background-color: red; } .flexCenter { display: flex; flex-direction: column; align-items: center; } </style> </head> <body> <h2>Square CSS</h2> <div class="flexCenter"> <div class="triangleTop"></div> <div class="squareBottom"></div> </div> </body> </html> ``` which results in: <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> .triangleTop { width: 0; height: 0; border-left: 30px solid transparent; border-right: 30px solid transparent; border-bottom: 30px solid #f00; } .squareBottom{ position: relative; width: 30px; height: 30px; top: 0px; background-color: red; } .flexCenter { display: flex; flex-direction: column; align-items: center; } </style> </head> <body> <h2>Square CSS</h2> <div class="flexCenter"> <div class="triangleTop"></div> <div class="squareBottom"></div> </div> </body> </html>
An example of using it is: ``` <ChristmasTree treeSize="25px" /> ``` Requires the [[Triangle example|Example - CSS React - Triangle]]. ``` const ChristmasTree = function(props) { // Must take props: treeSize return ( <div style={{ display: "flex", flexDirection: "column", alignItems: "center", // The marginTop might need to change a bit for different sizes marginTop: `calc(${props.treeSize} * -1.85)`, }} > <Triangle yOffset={`calc(${props.treeSize} * -1.4)`} triangleColor="green" triangleSize={props.treeSize} /> <Triangle yOffset={`calc(${props.treeSize} * -0.9)`} triangleColor="green" triangleSize={`calc(${props.treeSize} * 1.3)`} /> <Triangle yOffset="0px" triangleColor="green" triangleSize={`calc(${props.treeSize} * 1.6)`} /> <div style={{ width: `calc(${props.treeSize} * 0.6)`, height: `calc(${props.treeSize} * 0.6)`, backgroundColor: "#9d4e15", position: "relative", top: '0px', }} > </div> </div> ); } ```
This example needs to keep the `bottom` css because it is used by the [[Tree example|Example - CSS React - Christmas Tree Component]]. An example of using it is: ``` <Triangle yOffset={`calc(${props.treeSize} * -1.4)`} triangleColor="green" triangleSize={props.treeSize} /> ``` ``` const Triangle = function(props) { // Must take props: yOffset, triangleColor, triangleSize return ( <div style={{ position: "relative", bottom: props.yOffset, width: 0, height: 0, borderLeft: props.triangleSize + " solid transparent", borderRight: props.triangleSize + " solid transparent", borderBottom: props.triangleSize + " solid " + props.triangleColor, }} /> ); } ```
``` <style> .bar { width: 25px; height: 100px; display: inline-block; background-color: blue; } </style> <body> <script> const dataset = [12, 31, 22, 17, 25, 18, 29, 14, 9]; d3.select("body").selectAll("div") .data(dataset) .enter() .append("div") .attr("class", "bar") .style("height", d => `${d}px`) </script> </body> ```
```xml <body> <script> const dataset = [ [ 34, 78 ], [ 109, 280 ], [ 310, 120 ], [ 79, 411 ], [ 420, 220 ], [ 233, 145 ], [ 333, 96 ], [ 222, 333 ], [ 78, 320 ], [ 21, 123 ] ]; const w = 500; const h = 500; const padding = 60; const xScale = d3.scaleLinear() .domain([0, d3.max(dataset, (d) => d[0])]) .range([padding, w - padding]); const yScale = d3.scaleLinear() .domain([0, d3.max(dataset, (d) => d[1])]) .range([h - padding, padding]); const svg = d3.select("body") .append("svg") .attr("width", w) .attr("height", h); svg.selectAll("circle") .data(dataset) .enter() .append("circle") .attr("cx", (d) => xScale(d[0])) .attr("cy",(d) => yScale(d[1])) .attr("r", (d) => 5); svg.selectAll("text") .data(dataset) .enter() .append("text") .text((d) => (d[0] + "," + d[1])) .attr("x", (d) => xScale(d[0] + 10)) .attr("y", (d) => yScale(d[1])) const xAxis = d3.axisBottom(xScale); const yAxis = d3.axisLeft(yScale); svg.append("g") .attr( "transform", "translate(0," + (h - padding) + ")" ) .call(xAxis); svg.append("g") .attr("transform", "translate(" + padding + ",0)") .call(yAxis) </script> </body> ```
``` d3.select("body").append("svg") .attr("width", 1440) .attr("height", 30) .append("g") .attr("transform", "translate(0,30)") .call(axis); ```
This first selects the `ul` element on the page, then selects all list items which returns an empty selection. Then the data method reviews the dataset and runs the code chained on it three times, once for each item in the array. The enter() method sees there are no li elements on page and adds 1 for the given part of the dataset it is currently working on. ```xml <body> <ul></ul> <script> const dataset = ["a", "b", "c"]; d3.select("ul").selectAll("li") .data(dataset) .enter() .append("li") .text("New item"); </script> </body> ```
``` { "extends": "airbnb", "rules": { "react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }], "react/destructuring-assignment": ["enabled", "never"] }, "env": { "browser": true, "node": true, "jest": true }, "parser": "babel-eslint" } ```
``` group: Climbs Routes = { RId:number, RName:string , Grade:string, Rating:number, Height:number 1 , 'Last Tango' , 'II' , 12 , 100 2 , 'Garden Path', 'I' , 2 , 60 3 , 'The Sluice' , 'I' , 8 , 60 4 , 'Picnic' , 'III' , 3 , 400 } Climbers = { CId:number, Cname:string, Skill:string, Age:number 123 , 'Edmund' , 'EXP' , 80 214 , 'Arnold' , 'BEG' , 25 313 , 'Bridget' , 'EXP' , 33 212 , 'James' , 'MED' , 27 } Climbs = { CId:number, RId:number, Date:date , Duration:number 123 , 1 , 1988-10-10, 5 123 , 3 , 1987-11-08, 1 313 , 1 , 1989-12-08, 5 214 , 2 , 1992-08-07, 2 313 , 3 , 1994-06-07, 3 } Hikers = { CId:number, Cname:string, Skill:string, Age:number 214 , 'Arnold' , 'BEG' , 25 898 , 'Jane' , 'MED' , 39 } Beginners = { CId:number, Cname:string, Skill:string, Age:number 214 , 'Arnold' , 'BEG' , 25 212 , 'James' , 'MED' , 27 } ```
```javascript res.render('/index.pug', { title: 'Hello', message: 'Please Login' }) ```
``` <form> First name:<br> <input type="text" name="firstname"><br> Last name:<br> <input type="text" name="lastname"> </form> ``` Which results in: <form> First name:<br> <input type="text" name="firstname"><br> Last name:<br> <input type="text" name="lastname"> </form>
``` <form> <input type="radio" name="gender" value="male" checked> Male<br> <input type="radio" name="gender" value="female"> Female<br> <input type="radio" name="gender" value="other"> Other </form> ``` Which comes out to be: <form> <input type="radio" name="gender" value="male" checked> Male<br> <input type="radio" name="gender" value="female"> Female<br> <input type="radio" name="gender" value="other"> Other </form>
``` <select> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="mercedes">Mercedes</option> <option value="audi">Audi</option> </select> ``` which creates: <select> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="mercedes">Mercedes</option> <option value="audi">Audi</option> </select>
``` <figure> <img src="roundhouseDestruction.jpeg" alt="Photo of Camper Cat executing a roundhouse kick"> <br> <figcaption> Master Camper Cat demonstrates proper form of a roundhouse kick. </figcaption> </figure> ```
```java import java.io.*; import java.math.*; import java.security.*; import java.text.*; import java.util.*; import java.util.concurrent.*; import java.util.regex.*; public class Solution { // Complete the nonDivisibleSubset function below. static int nonDivisibleSubset(int k, int[] S) { int highestVal = 0; ArrayList<Integer> goodValues = new ArrayList<Integer>(); ArrayList<Integer> valuesToCheck = convertToArrayList(S); for (int i = 0; i < S.length - 1; i++) { for (int j = i + 1; j < S.length; j++) { if ((S[i] + S[j]) % k != 0) { ArrayList<Integer> tempGoodValues = (ArrayList<Integer>)goodValues.clone(); tempGoodValues.add(S[i]); tempGoodValues.add(S[j]); // System.out.println("The tempGoodValues arrayList is: " + tempGoodValues); ArrayList<Integer> tempValuesToCheck = (ArrayList<Integer>)valuesToCheck.clone(); tempValuesToCheck.remove((Object)S[i]); tempValuesToCheck.remove((Object)S[j]); int tempVal = getLargestSubsetValue(tempGoodValues, tempValuesToCheck, k, highestVal); if (tempVal > highestVal) { highestVal = tempVal; } } } } return highestVal; } static int getLargestSubsetValue(ArrayList<Integer> goodValues, ArrayList<Integer> valuesToCheck, int k, int highestVal) { for (Integer checkVal : valuesToCheck) { boolean allValuesGood = true; for (Integer goodVal : goodValues) { if ((goodVal + checkVal) % k == 0) { allValuesGood = false; } } if (allValuesGood && valuesToCheck.size() > 0) {// If all Good Values are good with a value to check, then do this ArrayList<Integer> tempGoodValues = (ArrayList<Integer>)goodValues.clone(); tempGoodValues.add(checkVal); System.out.println("The new goodValues list is: " + tempGoodValues); ArrayList<Integer> tempValuesToCheck = (ArrayList<Integer>)valuesToCheck.clone(); tempValuesToCheck.remove((Object)checkVal); int tempVal = getLargestSubsetValue(tempGoodValues, tempValuesToCheck, k, highestVal); if (tempVal > highestVal) { highestVal = tempVal; } break; } } if (goodValues.size() > highestVal) { highestVal = goodValues.size(); } return highestVal; } static ArrayList<Integer> convertToArrayList(int[] arr) { ArrayList<Integer> intList = new ArrayList<Integer>(); for (int i : arr) { intList.add(i); // System.out.println("The value being added to the arraylist is: " + i); } return intList; } private static final Scanner scanner = new Scanner(System.in); public static void main(String[] args) throws IOException { BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter(System.getenv("OUTPUT_PATH"))); String[] nk = scanner.nextLine().split(" "); int n = Integer.parseInt(nk[0]); int k = Integer.parseInt(nk[1]); int[] S = new int[n]; String[] SItems = scanner.nextLine().split(" "); scanner.skip("(\r\n|[\n\r\u2028\u2029\u0085])?"); for (int i = 0; i < n; i++) { int SItem = Integer.parseInt(SItems[i]); S[i] = SItem; } int result = nonDivisibleSubset(k, S); bufferedWriter.write(String.valueOf(result)); bufferedWriter.newLine(); bufferedWriter.close(); scanner.close(); } } ```
The errors are highlighted in red: [img width=350 [https://i.imgur.com/yCHfDYb.png]]
This fits the 80 character limit width rule. The factorial returns 1 for 0. Factorial of negative numbers is normally undefined. ``` /** * Calculates the factorial of the provided integer recursively for all * positive values. Negative values return 0. * @param i the <code>int</code> to calculate the factorial for * @return the <code>int</code> representing the factorial of <code>i</code> * which is within the set of natural numbers starting with 0 */ public static int factorial(int i) { if (i < 0) { return 0; } else if (i == 0) { return 1; } else { return i * factorial(i - 1); } } ```
``` public static void printTriangle(int sideLength) { if (sideLength < 1) { return; } printTriangle(sideLength - 1); for (int i = 0; i < sideLength; i++) { System.out.print("[]"); } System.out.println(); } ```
__Java Example of Selection Sort:__ ``` public static void selectionSort(int[] a) { int min, temp; for (int i = 0; i < a.length - 1; i++) { min = i; for (int scan = i + 1; scan < a.length; scan++) { if (a[scan] < a[min]) { min = scan; } } temp = a[min]; // Swap the values a [min] = a[i]; a[i] = temp; } } ```
__Java Example of using a stack:__ ``` Stack<String> s = new Stack<String>(); s.push("A"); s.push("B"); s.push("C"); while (s.size() > 0) { System.out.print(s.pop + " "); // Prints C B A } ```
```javascript function checkCashRegister(price, cash, cid) { let status = "OPEN"; let change = []; let originalCID = []; for (let i = 0; i < cid.length; i++) { // This was apparently required otherwise it would modify the internal values along with cid... originalCID.push([]); for (let j = 0; j < cid[i].length; j++) { originalCID[i].push(cid[i][j]); } } // take the price // take the cash given - price which will give the required change // take the required change, and go down through each type of currency to gather the right amount // if it gets to the end and it isn't zero, then set change = [] and set status let changeNeeded = cash - price; let currentChangeIndex = 0; let changeNames = {}; let cashInDrawerEmpty = true; let iteratoinNum = 0 getChange(100, "ONE HUNDRED", 8); getChange(20, "TWENTY", 7); getChange(10, "TEN", 6); getChange(5, "FIVE", 5); getChange(1, "ONE", 4); getChange(0.25, "QUARTER", 3); getChange(0.10, "DIME", 2); getChange(0.5, "NICKEL", 1); getChange(0.01, "PENNY", 0); if (changeNeeded > 0) { status = "INSUFFICIENT_FUNDS"; change = []; } else if (cashInDrawerEmpty) { status = "CLOSED"; change = originalCID; } function getChange(changeNum, changeString, changeIndex) { while (changeNeeded >= changeNum && cid[changeIndex][1] >= changeNum) { //console.log("iteration " + ++iteratoinNum, changeString); if (!changeNames.hasOwnProperty(changeString)) { change.push([changeString, 0]); changeNames[changeString] = currentChangeIndex; currentChangeIndex++; } changeNeeded = parseFloat((changeNeeded - changeNum).toFixed(2)); // Subtract change needed cid[changeIndex][1] = parseFloat((cid[changeIndex][1] - changeNum).toFixed(2)); // Subtract available cash change[changeNames[changeString]][1] = change[changeNames[changeString]][1] + changeNum; // add to change } if (cid[changeIndex][1] > 0) { cashInDrawerEmpty = false; } } return { status: status, change: change }; } // Example cash-in-drawer array: // [["PENNY", 1.01], // ["NICKEL", 2.05], // ["DIME", 3.1], // ["QUARTER", 4.25], // ["ONE", 90], // ["FIVE", 55], // ["TEN", 20], // ["TWENTY", 60], // ["ONE HUNDRED", 100]] console.log(JSON.stringify(checkCashRegister(3.26, 100, [["PENNY", 0.04], ["NICKEL", 2.05], ["DIME", 3.1], ["QUARTER", 4.25], ["ONE", 90], ["FIVE", 55], ["TEN", 20], ["TWENTY", 60], ["ONE HUNDRED", 100]]))); console.log(JSON.stringify(checkCashRegister(19.5, 20, [["PENNY", 0.5], ["NICKEL", 0], ["DIME", 0], ["QUARTER", 0], ["ONE", 0], ["FIVE", 0], ["TEN", 0], ["TWENTY", 0], ["ONE HUNDRED", 0]]))); ```
```javascript function rot13(str) { // LBH QVQ VG! str = str.split(""); for (let i = 0; i < str.length; i++) { if (str[i].match(/[A-Za-z]/)) { str[i] = String.fromCharCode(shiftCharCode(str[i])); } } function shiftCharCode(character) { let charNum = character.charCodeAt(0); if (charNum + 13 > 90) { let addNum = (charNum + 13) - 90; return 64 + addNum; } else { return charNum + 13; } } str = str.join(""); return str; } ```
Author: Anton Neuhold ```javascript function clearDuplicates(stringArray) { let newArray = [stringArray[0]]; let newArrayTarget = 0; for (let i = 1; i < stringArray.length; i++) { if(stringArray[i] !== newArray[newArrayTarget]) { newArrayTarget++; newArray[newArrayTarget] = stringArray[i]; } } return newArray; } ```
```javascript function binaryAgent(str) { str = str .split(" ") // take the string, and split it by spaces .map(val => parseInt(val, 2)) // take the resulting array, and map each value to an integer with base 2 .map(val => String.fromCharCode(val)) // use fromCharCode to convert the value to a character .join(""); // join the array with no spaces return str; } ```
Author: Tony Neuhold ```javascript function convertToRoman(num) { let result = ""; while (num >= 1000) { result += "M"; num -= 1000; } if (num >= 900) { result += "CM"; num -= 900; } else if (num >= 800) { result += "DCCC"; num -= 800; } else if (num >= 700) { result += "DCC"; num -= 700; } else if (num >= 600) { result += "DC"; num -= 600; } else if (num >= 500) { result += "D"; num -= 500; } else if (num >= 400) { result += "CD"; num -= 400; } else if (num >= 300) { result += "CCC"; num -= 300; } else if (num >= 200) { result += "CC"; num -= 200; } else if (num >= 100) { result += "C"; num -= 100; } if (num >= 90) { result += "XC"; num -= 90; } else if (num >= 80) { result += "LXXX"; num -= 80; } else if (num >= 70) { result += "LXX"; num -= 70; } else if (num >= 60) { result += "LX"; num -= 60; } else if (num >= 50) { result += "L"; num -= 50; } else if (num >= 40) { result += "XL"; num -= 40; } else if (num >= 30) { result += "XXX"; num -= 30; } else if (num >= 20) { result += "XX"; num -= 20; } else if (num >= 10) { result += "X"; num -= 10; } switch (num) { case 9: result += "IX"; num -= 9; break; case 8: result += "VIII"; num -= 8; break; case 7: result += "VII"; num -= 7; break; case 6: result += "VI"; num -= 6; break; case 5: result += "V"; num -= 5; break; case 4: result += "IV"; num -= 4; break; case 3: result += "III"; num -= 3; break; case 2: result += "II"; num -= 2; break; case 1: result += "I"; num -= 1; break; } return result; } ```
```javascript //Un-curried function function unCurried(x, y) { return x + y; } //Curried function function curried(x) { return function(y) { return x + y; } } curried(1)(2) // Returns 3 ```
```javascript function smallestCommons(arr) { let highVal = 0; let lowVal = 0; if (arr[0] < arr[1]) { lowVal = arr[0]; highVal = arr[1]; } else { lowVal = arr[1]; highVal = arr[0]; } let valFound = false; let currentMultiple = highVal; while (!valFound) { if ( // If the current multiple is a multiple of both values currentMultiple % lowVal === 0 && currentMultiple % highVal === 0 ) { let divisibleByAllInBetween = true; for (let i = lowVal + 1; i < highVal; i++) { if (currentMultiple % i !== 0) { divisibleByAllInBetween = false; } } if (divisibleByAllInBetween) { valFound = true; } } if (!valFound) { currentMultiple += highVal; } } return currentMultiple; } ```
```javascript function sumPrimes(num) { let total = 0; for (let i = 2; i <= num; i++) { let prime = true; for (let j = Math.floor(Math.sqrt(i)); j > 1; j--) { if (i % j === 0) { prime = false; break; } } if (prime) { total += i; } } return total; } console.log(sumPrimes(978)); ```
Authored by Tony Neuhold ```javascript function palindrome(str) { str = str .replace(/[^A-Za-z0-9]/g, "") .toLowerCase(); let isPalindrome = true; let lastStringIndex = str.length - 1; let firstStringIndex = 0; while (isPalindrome) { if (firstStringIndex >= lastStringIndex) { break; } if (!(str[firstStringIndex] === str[lastStringIndex])) { isPalindrome = false; } firstStringIndex++; lastStringIndex--; } return isPalindrome; } ```
```javascript function getPostById(id) { return new Promise((resolve, reject) => { // This is the part that should take some time, so settimeout is used to mimic a database setTimeout(() => { // finding the post wanted const post = posts.find(post => post.id === id); if (post) { resolve(post) } else { reject(Error("No post was found!")) } }, 200) }) } function hydrateAuthor(post) { return new Promise((resolve, reject) => { const authorDetails = authors.find(person => person.name === post.author) if (authorDetails) { // "hydrate" the post object with the author object post.author = authorDetails; resolve(post); } else { reject(Error("Can not find the author")) } }) } getPostById(2) .then(post => { // This will run after the post is retrieved console.log(post); // Returning a promise will allow another .then to be used return hydrateAuthor(post); }) .then(post => { console.log(post); }) .catch(err => { console.error(err); }); ```
```javascript function steamrollArray(arr) { // check if the first value is an array // if it is an array then unravel it // recursive function that takes each level of array // once something that isn't an array is found, push it onto the return array let newArray = []; unravelArray(arr); function unravelArray(arr) { for (let i = 0; i < arr.length; i++) { if (Array.isArray(arr[i])) { unravelArray(arr[i]); } else { newArray.push(arr[i]); } } } return newArray; } ```
```javascript function sumFibs(num) { let total = 0; let fibArray = [1,1]; let index = 2; let i = 1; if (num === 1 || num === 2) { return 2; } total++; while (i <= num) { if (i % 2 === 1) { total += i; } i = fibArray[index - 1] + fibArray[index - 2]; fibArray[index] = i; index++; } return total; } console.log(sumFibs(5)); ```
```javascript function telephoneCheck(str) { str = str.trim(); let isProperTel = true; if (!( str.match(/^(1 )?[\d]{3}-[\d]{3}-[\d]{3}/) || str.match(/^1? ?\([\d]{3}\) ?[\d]{3}-[\d]{3}/) || str.match(/^(1 )?[\d]{10}$/) || str.match(/^(1 )?[\d]{3} [\d]{3} [\d]{4}$/) )) { isProperTel = false; } return isProperTel; } ```
``` function greeting(name = "Anonymous") { return "Hello " + name; } console.log(greeting("John")); // Hello John console.log(greeting()); // Hello Anonymous ```
``` const person = { name: "Zodiac Hasbro", age: 56 }; // Template literal with multi-line and string interpolation const greeting = `Hello, my name is ${person.name}! I am ${person.age} years old.`; console.log(greeting); // prints // Hello, my name is Zodiac Hasbro! // I am 56 years old. ```
``` const doubler = (item) => item * 2; ```
``` var variableExample = "test"; function foo() { var variableExample = "different"; console.log(variableExample); } console.log(variableExample); ``` Which will print: ``` different test ```
```json { "path": "Path parameter", "httpMethod": "Incoming request's method name", "headers": {Incoming request headers}, "queryStringParameters": {query string parameters }, "body": "A JSON string of the request payload.", "isBase64Encoded": "A boolean flag to indicate if the applicable request payload is Base64-encode" } ```
``` (defun my-nth (n l) (cond ( (< n 0) nil ) ( (eq n 0) (car l) ) ( t (my-nth (- n 1) (cdr l)) ) ) ) ```
``` (defun f (x y) (+ x y) ) ```
``` (setq x '(a b c)) ; prints (A B C) (setf (cadr x) 10) ; assigns the second element of x. ; prints 10 X ; prints (A 10 C) ```
An example of the list `(a b c d)` is here: [img width=400 [https://i.imgur.com/GgKUW2a.png]]
n-ary Tree structures can be created in lisp with the following recursive general structure: `(root subtree-1 ... subtree-n)`.
``` (defun PrintListElems (l) (cond ((not (null l)) (print (car l)) (PrintListElems(cdr l)) )) ) ```
``` (setf route '(cambridge canby oregon portland)) (first route) ; returns CAMBRIDGE (rest (rest (rest route))) ; returns (PORTLAND) ```
``` (defun first-n-chars (string n &key reverse-first ; nil by default (capitalize-first t) ) ; t by default (let ((val (if capitalize-first (string-upcase string) string))) (if reverse-first (subseq (reverse val) 0 n) (subseq val 0 n)))) ``` From the interpreter: ``` (first-n-chars "hello world" 5 :reverse-first t) "DLROW" (first-n-chars "hello world" 5 :reverse-first t :capitalize-first nil) "dlrow" (first-n-chars "hello world" 5 :capitalize-first nil :reverse-first t ) "dlrow" (first-n-chars "hello world" 5) "HELLO" (first-n-chars "hello world" 5 :capitalize-first nil) "hello" ```
``` (let ((x 3)) (print x) (let (x) (print x) (let ((x "hello")) (print x) ) (print x) ) (print x) (print "end") ) ``` Which results in, if the interpreter also prints out the result of the final value: ``` 3 NIL "hello" NIL 3 "end" "end" ```
``` (if (> 3 2) (progn (print "hello") (print "yo") (+ 2 2) ) (+ 1 2 3) ) ```
``` obj-m += simple.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean ``` The first line says to take the result of compiling the file `simple.c`, which turns into `simple.o` and combine it with the default binaries for creating a module. This results in a `.ko` file that represents a built [[LKM|Loadable Kernel Modules (LKMs)]]. If using this makefile, the path to the files needs to not contain any spaces. Otherwise it will throw a `arch/x86/Makefile:155: CONFIG_X86_X32 enabled but no binutils support` error.
``` ## A simple makefile CC = gcc CFLAGS = -g -I/usr/class/cs107/include LDFLAGS = -L/usr/class/cs107/lib -lgraph PROG = program HDRS = binky.h akbar.h defs.h SRCS = main.c binky.c akbar.c ## This incantation says that the object files ## have the same name as the .c files, but with .o OBJS = $(SRCS:.c=.o) ## This is the first rule (the default) ## Build the program from the three .o's $(PROG) : $(OBJS) $(CC) $(LDFLAGS) $(OBJS) -o $(PROG) ## Rules for the source files -- these do not have ## second build rule lines, so they will use the ## default build rule to compile X.c to make X.o main.o : main.c binky.h akbar.h defs.h binky.o : binky.c binky.h akbar.o : akbar.c akbar.h defs.h ## Remove all the compilation and debugging files clean : rm -f core $(PROG) $(OBJS) ## Build tags for these sources TAGS : $(SRCS) $(HDRS) etags -t $(SRCS) $(HDRS) ```
```javascript module.exports = class Square { constructor(width) { this.width = width; } area() { return this.width ** 2; } }; ```
``` const express = require('express'); const app = express(); // ... code module.exports = app; ```
``` app.get('/now', (req, res, next) => { req.time = new Date().toString(); next(); }, (req, res) => { res.json({time: req.time}); }) ```
``` app.get("/", (req, res) => { res.send("Hello Express") }); ``` Serves a string when a user navigates to the deployed website that says `Hello Express`.
```javascript var express = require('express'); var app = express(); let absolutePath = __dirname + "/views/index.html"; app.get("/", (req, res) => { res.sendFile(absolutePath); }) module.exports = app; ```
``` app.use(express.static(__dirname + "/public")); ```
``` app.get('/:word/echo', (req, res) => { res.json({echo: req.params.word}); }) ```
``` route: POST '/library' urlencoded_body: userId=546&bookId=6754 req.body: {userId: '546', bookId: '6754'} ```
[img width=700 [https://i.imgur.com/QITC4lN.png]]
Below is a picture of facts in yellow then rules in red: [img width=350 [https://i.imgur.com/4f8Dy7T.png]]
``` fib(F, N) :- N =:= 0, F is 0. fib(F, N) :- N =:= 1, F is 1. fib(F, N) :- N > 1, M1 is N-1, M2 is N-2, fib(F1, M1), fib(F2, M2), F is F1 + F2. ``` Where `F` is the result and `N` is the number to be passed.
[img width=700 [https://i.imgur.com/Zx9pc3A.png]]
``` reverse([], []). % stopping condition reverse([X | T], RL) :- reverse(H, RT), append(RT, [H], RL). ``` Where `RL` is the reversed list.
``` member(1, [1 | [2 | 3]]). % returns "true" member(2, [1 | [2 | 3]]). % returns "true" member(3, [1 | [2 | 3]]). % returns "false" ```
``` [1 | 2] % cannot be simplified [1 | [2 | 3]] % [1, 2 | 3] [1 | [2 | [3 | []]]] % [1, 2, 3] [9 | [2 | [8 | [4 | [3 | 7]]]]] % [9, 2, 8, 4, 3 | 7] ```
``` a(href="google.com") Google ``` will turn into: ```xml <a href="google.com">Google</a> ```
``` input( type='checkbox' name='agreement' checked ) ``` Will turn into: ```xml <input type="checkbox" name="agreement" checked="checked" /> ```
``` class MyComponent extends React.Component { constructor(props) { super(props); this.state = { visibility: false }; this.toggleVisibility = this.toggleVisibility.bind(this); } toggleVisibility() { if (this.state.visibility === true) { this.setState({ visibility: false }); } else { this.setState({ visibility: true }); } } render() { if (this.state.visibility) { return ( <div> <button onClick={this.toggleVisibility}>Click Me</button> <h1>Now you see me!</h1> </div> ); } else { return ( <div> <button onClick={this.toggleVisibility}>Click Me</button> </div> ); } } }; ```
``` // After being transpiled, the <div> will have a CSS class of 'customClass' const DemoComponent = function() { return ( <div className='customClass' /> ); }; ```
``` class Kitten extends React.Component { constructor(props) { super(props); } render() { return ( <h1>Hi</h1> ); } } ```
```javascript import React from 'react'; import { withStyles } from '@material-ui/core/styles'; const styles = theme => ({ sizeSmall: { padding: '4px 8px', minWidth: 64, minHeight: 31, fontSize: theme.typography.pxToRem(13), }, }) const ToDoListView = props => ( <div className="ToDoListView"> <List className={props.classes.sizeSmall}> </List> <p>Example paragraph</p> </div> ); export default withStyles(styles)(ToDoListView); ```
``` class ControlledInput extends React.Component { constructor(props) { super(props); this.state = { input: '' }; this.handleChange = this.handleChange.bind(this); } handleChange(event) { this.setState({ input: event.target.value }); } render() { return ( <div> <input value={this.state.input} onChange={this.handleChange} ></input> <h4>Controlled Input:</h4> <p>{this.state.input}</p> </div> ); } }; ```
``` class MyApp extends React.Component { constructor(props) { super(props); this.state = { inputValue: '' } this.handleChange = this.handleChange.bind(this); } handleChange(event) { this.setState({ inputValue: event.target.value }); } render() { return ( <div> <GetInput input={this.state.inputValue} handleChange={this.handleChange} /> <RenderInput input={this.state.inputValue} /> </div> ); } }; class GetInput extends React.Component { constructor(props) { super(props); } render() { return ( <div> <h3>Get Input:</h3> <input value={this.props.input} onChange={this.props.handleChange}/> </div> ); } }; class RenderInput extends React.Component { constructor(props) { super(props); } render() { return ( <div> <h3>Input Render:</h3> <p>{this.props.input}</p> </div> ); } }; ```
``` class MyForm extends React.Component { constructor(props) { super(props); this.state = { input: '', submit: '' }; this.handleChange = this.handleChange.bind(this); this.handleSubmit = this.handleSubmit.bind(this); } handleChange(event) { this.setState({ input: event.target.value }); } handleSubmit(event) { // change code below this line event.preventDefault(); this.setState({ submit: this.state.input }); // change code above this line } render() { return ( <div> <form onSubmit={this.handleSubmit}> { /* change code below this line */ } <input onChange={this.handleChange}></input> { /* change code above this line */ } <button type='submit'>Submit!</button> </form> { /* change code below this line */ } <h1>{this.state.submit}</h1> { /* change code above this line */ } </div> ); } }; ```
``` const JSX = <div> <h1>Hi there!</h1> <p>This is a series of elements.</p> <ul> <li>List item 1</li> <li>List item 2</li> <li>List item 3</li> </ul> </div> ```
``` import { DeleteIcon } from '@material-ui/icons'; import { IconButton } from '@material-ui/core'; const ToDoView = props => ( <div className="ToDoView"> {props.toDo.title} <IconButton> <DeleteIcon /> </IconButton> </div> ); ```
``` const textAreaStyles = { width: 235, margin: 5 }; class MyToDoList extends React.Component { constructor(props) { super(props); // change code below this line this.state = { userInput: "", toDoList: [] } // change code above this line this.handleSubmit = this.handleSubmit.bind(this); this.handleChange = this.handleChange.bind(this); } handleSubmit() { const itemsArray = this.state.userInput.split(','); this.setState({ toDoList: itemsArray }); } handleChange(e) { this.setState({ userInput: e.target.value }); } render() { const items = (this.state.toDoList.map(val => <li key={val}>{val}</li> )); return ( <div> <textarea onChange={this.handleChange} value={this.state.userInput} style={textAreaStyles} placeholder="Separate Items With Commas" /><br /> <button onClick={this.handleSubmit}>Create List</button> <h1>My "To Do" List:</h1> <ul> {items} </ul> </div> ); } }; ```
```javascript const store = Redux.createStore( asyncDataReducer, Redux.applyMiddleware(ReduxThunk.default) ); ```
```javascript const defaultState = { login: false }; const reducer = (state = defaultState, action) => { if (action.type === "LOGIN") { return { login: true } } else { return state; } }; const store = Redux.createStore(reducer); const loginAction = () => { return { type: 'LOGIN' } }; ```
``` const defaultState = { authenticated: false }; const authReducer = (state = defaultState, action) => { switch (action.type) { case "LOGIN": return {authenticated: true}; break; case "LOGOUT": return {authenticated: false}; break; default: return state; break; } }; const store = Redux.createStore(authReducer); const loginUser = () => { return { type: 'LOGIN' } }; const logoutUser = () => { return { type: 'LOGOUT' } }; ```
Match any number in any format such as scientific, decimal, multiple commas, and negative and positive notation: ``` (^(\-|\+)?(\d+,?)+\.?\d*(e\d+)?$) ```
[img width=700 [https://i.imgur.com/Q71hy30.png]] using the following relational algebra: [img width=400 [https://i.imgur.com/zkq6SUa.png]]
``` (module module-name (export name1 name3 name5 ... namen) ; names are visible outside the module (define name1 value1) (define name2 (lambda (x) (...))) (define name3 ...) ... ) ```
``` (display (string-append (string-append (symbol->string (read)) " ") (symbol->string (read)) ) ) ```
``` (let ( (name1 value1) (name2 value2) ... (namen valuen) ) body ) ``` is the exact same as ``` ( (lambda (name1 name2 ... namen) body ) value1 value2 ... valuen ) ```
``` (+ 3 6) (<= 2 5) (sqrt 32) (number? 45) (symbol? "x") (append "abc" "123") ```
``` (define size 100) ; named constant (define x (* 5 6)) ; named form (define (add1 x) (+ x 1)) ; named procedure where x is the parameter ```
```swift func save(name: String) { guard let appDelegate = UIApplication.shared.delegate as? AppDelegate else { return } // 1 let managedContext = appDelegate.persistentContainer.viewContext // 2 let entity = NSEntityDescription.entity(forEntityName: "Person", in: managedContext)! let person = NSManagedObject(entity: entity, insertInto: managedContext) // 3 person.setValue(name, forKeyPath: "name") // 4 do { try managedContext.save() people.append(person) } catch let error as NSError { print("Could not save. \(error), \(error.userInfo)") } } ```
[img width=600 [https://i.imgur.com/Z6Rx1NP.png]]
Here is the [[basis BNF notation example|Example - Backus Naur Form for English]] for the following syntax graph. [img width=600 [https://i.imgur.com/a5NY0Nm.png]]
It seems like updating [[Ubuntu|Ubuntu]] can be done in a few different ways. To do a full update the following can be done: * sudo [[apt-get update|Ubuntu Commands > apt-get update]] * `sudo apt-get dist-upgrade` This will update the distribution. This can be helpful if it is saying that packages aren't available even after using `apt-get update` * `sudo apt-get update` * `suco apt-get upgrade` this will upgrade everything
//JavaScript:// ``` Vue.component('greeting', { template: ' <p> Hey there, I am {{name}} <button v-on:click="changeName">Change Name</button> </p> ', data: function() { return { name: 'Yoshi' } }, methods: { changeName: function() { this.name = 'Mario'; } } }) ```
//JavaScript:// ``` Vue.component('greeting', { template: '<p>Hey there, I am a re-usable component</p>', data: function() { return { name: 'Yoshi' } } }) ```
This is sometimes called the ''dispose pattern''. [img width=400 [https://i.imgur.com/jzmWD26.png]] Starting with Java 7, the "try with resources" construct makes this neater. The `finally` clause is no longer needed. Java automatically invokes `close()` on any `AutoCloseable` objects declared inside the argument list of the try block: [img width=500 [https://i.imgur.com/rFfx9MP.png]]
An ''Exception'' is an [[object|Object (Computer Science)]] in [[Java|Java]] that describes errors caused by the program and external circumstances. These errors can be caught and handled by the program.
''Exception Handling'' is managing [[exceptions|Exception (Java)]] in the code so that they can gracefully be managed without necessarily crashing the program.
''Exclusive or or XOR'' definition: Let p and q be propositions. The exclusive or, of p and q, denoted by $$p \oplus q$$, is the proposition that is true when exactly one of p and q is true and is false otherwise. The XOR gate is shown here: https://drive.google.com/file/d/0B5Qq4fe-ZajTQmtTcXlmNGhnME0/view?usp=sharing
''Experimental design'' regards creating experiments in a way that produces the most useful results. Nowadays it sounds like the consistent pattern is to make something called [[factorial designs|Statistical Factorial Designs]].
An ''expert witness'' has the following important functions in court: * Following the procedures of the court * Testifying the scientific basis of findings, analyses, and conclusions in court * Demonstrating the scientific knowledge associated with their areas of expertise * Show no bias and only speak truths
An ''exploit'' takes advantage of a [[vulnerability|Vulnerability]].
The combination of [[variables|Variable (Computer Science)]], [[literals|Literals (Programming Languages)]], operators, and/or method calls is called an ''expression''. For example (a + b) / 2 is an expression. An expression is something that is evaluated and always returns a value. Here is a link to the [[wikipedia article on expressions in computer science|https://en.wikipedia.org/wiki/Expression_(computer_science)]].
''Directories'' in the ext file system are a simple file whose data is a sequence of file entries which contain the following: * [[inode|ext File System inodes]] number * Byte offset in directory, or the length of the entry * File name
''ext inodes'' are [[inodes|inode (Data Structures)]] that are part of the [[ext file system|Extended File System (ext)]]. They contain the following: * type * owner * permission bits * Modification, changing, and access times * Links to the file and by extension the link count * Data block addresses Once the number of links reach 0, the following steps occur: * The data blocks in the block bitmap are marked as free * The inode in the inode bitmap is marked as free * The deletion time is set in the inode * The directory entry is marked as unused * In ext3 and ext4, the file size in the inode is set to 0, also the data blocks info in the inode is cleared.
The ''superblock'' in the [[extended file system|Extended File System (ext)]] contains the following: * Magic number * Mount count and maximum mount count * [[Block|Magnetic Disk Logical Blocks]] size, for example 4096B * Inode count and block count * Number of free disk blocks * Number of free inodes on the system * First inode - The inode number of the first inode in the file system. The first inode for an ext2 root file system would be the directory entry for the `/` directory.
''Extended File System'' or ''ext'' has gone through a few iterations and is now on ''ext4''. It was originally built for [[Linux|Linux]] and is still actively used. When ext is installed the partition contains an optional boot [[block|Magnetic Disk Logical Blocks]] and [[superblock|ext Superblock]]. When a file is created in this file system it goes through the following general process: * A free inode is chosen from the [[inode|ext File System inodes]] bitmap. * The superblock free inode values are decremented by one * An entry is added in the parent directory * Free data blocks are chosen from the block bitmap to store the file content * The inode contents are filled in. For how files are deleted, see [[ext inodes|ext File System inodes]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Extended File System (ext)'>> </div> See also: * [[Linux file system|Linux File System]] * [[Wikipedia article on ext4|https://en.wikipedia.org/wiki/Ext4]]
''Extensible Application Markup Language'' or ''XAML'' is an [[XML|Extensible Markup Language (XML)]]-based language used for defining UI elements, data binding, events, and other features. This is primarily used for [[WPF|Windows Presentation Foundation (WPF)]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Extensible Application Markup Language (XAML)'>> </div> See also: * [[Wikipedia page on XAML|https://en.wikipedia.org/wiki/Extensible_Application_Markup_Language]]
''Extensible markup language'' or ''XML'' is a standard for structuring and exchanging data on the web. This is something that is done also with [[JSON|JavaScript Object Notation (JSON)]]. XML is called a tree model or hierarchical model because of the way it is written. XML is considered [[self-describing|Self-Describing Data]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Extensible Markup Language (XML)'>> </div>
''External coupling'' is a type of [[procedural programming coupling|Procedural Programming Coupling]]. External coupling is where two modules share an externally imposed data format, communication protocol, or device interface.
''External sorting algorithms'' or ''streaming algorithms'' are those that are suitable for large files of records on disk that cannot all fit into memory at one time. ''Internal sorting algorithms'' are like normal data-structure algorithms. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'External Sorting Algorithms'>> </div>
The typical [[external sorting algorithm|External Sorting Algorithms]] uses a ''sort-merge strategy'', where it starts by sorting small sub-files called ''runs'' of the main file, then merges those into larger files which can then be merged until it is finished. These sorting of runs requires [[buffer space|DBMS Buffer Space]]. During the sorting-phase, the number of runs that can fit into the available buffer space are loaded in and sorted with internal sorting algorithms. The number of runs, indicated by $$n_R$$, are dictated by the number of file blocks $$b$$ and the number of buffers $$n_B$$ in the equation $$n_R = \lceil b / n_B \rceil$$. In the merging-phase the sorted runs are merged during one or more ''merging passes''. Each merge-pass can have one or more merge steps. The ''degree of merging'' $$d_M$$ is the number of sorted sub-files that can be merged in one merge-step. In each merge-step one buffer block is needed for each of the disk blocks that will be merged. An additional buffer is needed for holding one disk block of the result of the merge. The number of merge-passes is $$\lceil \log_{d_M}(n_R) \rceil$$. The number of disk block read and writes by the merge-sort algorithm can be determined by $$(2 * b) + (2 * b * (\log_{d_M}(nR)))$$
An External style sheet can be used to link a `.css` file to an HTML file. Each HTML file must have this link, but it does make it so one change to the file can change the whole website. A link can be done in the header with the following: `<link rel="stylesheet" type="text/css" href="mystyle.css">`.
The ''extraction hashing function'' is where only part of the elements value or key is used to compute the location at which to store the element. For example using the last four digits of phone numbers to organize them.
The ''Facade design pattern'' is a type of [[structural design pattern|Structural Design Patterns]] and is used to provide a simplified interface to a more complex subsystem. This seems self explanatory. Remember modded-minecraft! :D
The ''Factory method design pattern'' is a type of [[creational design pattern|Creational Design Pattern]] and is used to replace [[constructors|Constructors (Computer Science)]], abstracting the process of object creation so that the type of the object instantiated can be determined at run-time. An example of using this is when creating a connection to a data source if the type of the data source will be selected by the end-user using a graphical interface. Then an abstract class that defines base functionality for all data sources is created. After that many concrete classes pertaining to each type of data source can be created. Then the data source factory could generate objects corresponding to the correct concrete class based upon a parameter passed to the factory method. An example of how this design pattern might look is below: [img width=300 [http://www.blackwasp.co.uk/images/FactoryMethod.png]] See also: * [[Gang of four site for the factory method design pattern|http://www.blackwasp.co.uk/FactoryMethod.aspx]]
A ''fallacy'' is an incorrect reasoning that leads to an invalid argument. They are arguments that result with [[contingencies|Contingency]] rather than [[tautologies|Tautology]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Fallacy'>> </div>
$$((p \to q) \land q) \to p$$ is called the ''fallacy of affirming the conclusion''.
$$((p \to q ) \land \neg p) \to \neg q$$ is called the ''fallacy of denying the hypothesis''.
''Fault avoidance'' is a type of [[fault handling|Fault Handling]] and is done before the system is released. This can be achieved by using methodologies to * Reduce complexity, * [[Configuration management|Software Configuration Management (SCM)]] to prevent inconsistency, * [[Software verification|Software Validation and Verification]] to prevent [[algorithmic faults|Algorithmic Fault]], * or [[software inspections and reviews|Software Inspection or Review Types]].
''Fault detection'' is done while the system is running. This can be achieved using [[testing|Software Testing]], [[debugging|Debugging]], or [[monitoring|Monitoring (Debugging)]].
''Fault handling'' is achieved by using either: * modular redundancy, * declaring the [[bug|Bug (Computer Science)]] as a feature, * patching, or * [[testing|Software Testing]] (of course). There are three sub types of fault handling: * [[Fault avoidance|Fault Avoidance]] * [[fault detection|Fault Detection]] * [[fault tolerance|Fault Tolerance]] Fault handling is different than [[exception handling|Exception Handling]] because it deals with the entire software system, and not just the code.
''Fault tolerance'' is recovering from [[failure|Software Failure]] once the system is released. This can be achieved with modular redundancy and [[exception handling|Exception Handling]].
''FPGA''s can take programmable logic, and form real, programmable gates into things such as a processor. An example of a FPGA is the [[Digilent Nexys 3 FPGA Board|https://www.google.com/search?q=digilent+nexys+3+fpga+board]] which is used in [[CSE 230|CSE 230]].
''File Allocation Table'' or ''FAT'' is a [[Windows file system|Windows File Systems]] developed in 1977. Some different versions are below: * FAT 12 * FAT 16 * FAT 32 * exFAT A FAT file system consists of the following parts: # Boot record ## Defines the volume, and the offset of the 3 following areas. ## This is the first [[sector|Magnetic Disks (HDDs)]] of FAT12 or FAT16 and the first 3 sectors of FAT32. ## This might contain a boot program if this file system is bootable # File Allocation Tables - This is sometimes a primary then a backup FAT ## A lookup table to see which [[cluster|Operating System Disk Formatting]] comes next ## One entry in the FAT is 16 bits representing one cluster, Each entry can one of the following ### `FFF7` which means the cluster contains defective sectors ### Example: `A8F7` The address of the next cluster in the same file ### `0000` Special value meaning not-allocated ### `FFFF` Special value meaning this is the last cluster in the chain. # Root Directory # Data Record When a file is deleted, the system replaces the first character of the file name with the hex code `E5h`, then it unallocates the clusters in the FAT table. Evidently an entry will typically have a `.` or `..` in it if it has some hidden data or something? In FAT the first cluster number of a file is defined in the file's parent directory's content.
''File management system calls'' are typically operations like create, delete, read, write, reposition, get_file_attributes, set_file_attributes. Higher level calls could be provided such as move, and copy. Systems typically have some kind of persistent file store, where the store contains files and directories with some attributes.
''Final methods and classes'' are methods that cannot be overridden and classes that cannot have subclasses. An example of both is in the note. <<_note """ ``` public final class String { . . . } // and public class SecureAccount extends BankAccount { . . . public final boolean checkPassword(String password) { . . . } } ``` """>>
A ''finite set'' is a set $$S$$ where exactly $$n$$ distinct elements are present. Then $$n$$ is the ''cardinality'' of s. The cardinality of S is denoted by $$|S|$$. This does look just like absolute values, but different for sets. In other words, the cardinality, is the set size. If S is the set of letters in the English alphabet, then $$|S| = 26$$ and $$|\emptyset| = 0$$. A set is said to be ''infinite'' if it is note finite. The set of positive integers is infinite for example.
A ''finite state machine (FSM)'' or sometimes called ''finite state automata'' is a set of states representing every possible system mode or situation. An FSM is in exactly one state at any time, which is known as it's current or present state. An initial state is the state in which to start when the FSM is powered on. This can be shown by a directed edge starting from no state and pointing to the initial state. Transitions can be shown with directed edges and conditions can be drawn with directed edges and input variables which can be combined with boolean notation. Assigning an output in an FSM is known as an action.
''Fire Dynamics Simulator'' or ''FDS'' is a [[computational fluid dynamics|Computational Fluid Dynamics (CFD)]] model of fire-driven fluid flow. This software solves numerically a form of the Navier-Stokes equations appropriate for low-speed, thermally-driven flow with an emphasis on smoke and heat transfer from fires. This program seems to be purely used for computations, which can then be output to a program like [[smokeview|Smokeview]].
The ''Fl_Group class'' has a few subclasses which are outlined below: * [[Fl_Window|FLTK Fl_Window Class]]
The constructor for the ''Fl_Button class'' is as follows: ```cpp Fl_Button(int x_coord, int y_coord, int width, int height, string label) ```
The ''FI_Widget class'' is the base class for all widgets in [[FLTK|C++ Fast Light ToolKit (FLTK)]]. Some subclasses of this class are below: * FI_Box * [[Fl_Button|FLTK Fl_Button Class]] * [[FI_Group|FLTK FI_Group Class]] * FI_Input * FI_Menu * FI_Progress * FI_Timer
The ''FI_Window class'' is used in every [[FLTK|C++ Fast Light ToolKit (FLTK)]] program. The `Fl_Window class` has the following constructor, although it seems to be able to be initialized kind of strangely. This is probably just due to the fact that it is a window, and doesn't need to be used an actual object sometimes. ```cpp Fl_Window(int width, int height, string windowName); //Constructor sig // Creating a new window Fl_Window win(400, 400, "FLTK Tutorial - Example 1"); // or the more natural way Fl_Window *win = new Fl_Window(400, 400, "FLTK Tutorial - Example 1"); ``` An object of the `Fl_Window class` has the following notable methods: * `show()` Which displays the window * `color(void* color)` It isn't exactly clear what type this parameter should be. A provided value seems to be able to be `FL_WHITE` and probably other normal colors too. * `begin()` This can be called to tell FLTK to start a group of children in the `Fl_Window` object. It sounds like this could be implicitly triggered? After this is called, other [[widgets|FLTK Fl_Widget Class]] can be created as pointers with the [[new operator|C++ new Operator]]. It seems that when these are created, they are automatically added to the window somehow. * `end()` stops adding children to the window Every FLTK program has to have the `Fl::run()` statement. Which seems to need to be located as the `return` of the `main` function. This statement seems to indicate the `run()` function inside the main `Fl.h` header. This enters the FLTK event loop. This allows the program to wait for events like mouse clicks or key strokes.
''Flutter'' seems to be a language or platform for developing android and iOS applications.
The ''Flyweight design pattern'' is a type of structural design pattern @b:0168 and applies to situations where models contain many hundreds, thousands, or even hundreds of thousands of similar objects. The flyweight attempts to reduce memory impact by joining repeated properties into individual objects that are linked by all the participating objects. That way there is a flyweight object for each instance of shared data between the objects that is reasonably unchanging.
The ''folding hashing function'' is where the key is split up into parts and added together. For example a social security number such as 431-49-8590 could be split up and added to 431 + 49 + 8590 = 9070 and if the desired key length is 3 then it could be divided further. Another kind of folding is boundary folding where past a certain boundary the key is reversed, then added together.
''Font Awesome'' is a website that provides free icons and things to developers. [[Here is a link to the main site|https://fontawesome.com/]]. To use the icons there, you need to go to the [[download page|https://fontawesome.com/how-to-use/on-the-web/setup/hosting-font-awesome-yourself]], then follow the guide there.
A set of [[attributes|Relational Data Model > Relations > Attributes]] $$FK$$ in [[relation schema|Relation Schemas]] $$R_1$$ is a ''foreign key'' that references [[relation|Relational Data Model > Relations]] $$R_2$$ if it satisfies the following: * The attributes in $$FK$$ have the same [[domain|Relational Domain]] as the [[primary key|Database Uniqueness Constraint]] attributes, referred to as $$PK$$, of $$R_2$$. * A value of $$FK$$ in a tuple $$t_1$$ of the current relation state $$r_1(R_1)$$ either occurs as a value of $$PK$$ for some tuple $$t_2$$ or $$t_1[FK]$$ is NULL. In the former case, it can be said $$t_1[FK] = t_2[PK]$$, so it can be said that tuple $$t_1$$ references or refers to the tuple $$t_2$$. In this definition $$R_1$$ is called the ''referencing relation'', and $$R_2$$ is the ''referenced relation''. If the preceding two conditions hold, then a referential integrity constraint from $$R_1$$ to $$R_2$$ is said to hold. Typically in a diagrammatic representation of a foreign key, there is a simple line, or arc with an arrow pointing from the referencing relation's FK to the referenced relation's PK. Here is an [[example of this|$:/Image - Relational Database schema example with foreign keys]].
''Foremost'' is a [[forensic data recovery program|Digital Forensics Tools]] for [[Linux|Linux]]. It searches for headers of known file types and extracts those from the given image. Foremost has a `foremost.conf` file that configures how the command runs. It seems that if you want certain file formats to be found, then you need to modify the configuration file by uncommenting the types of files you want found. The general structure of the `foremost` command is below: ``` foremost [-h] [-V] [-d] [-vqwQT] [-b <blocksize>] [-o <dir>] [-t <type>] [-s <num>] [-i <imageFile>] ``` * `-i <imageFile>` is used to indicate the image file to scan. This could be unallocated data or something from [[dd|Unix DD Utility]]. See also: * [[Wikipedia page for Foremost|https://en.wikipedia.org/wiki/Foremost_(software)]] * [[man page for foremost|https://linux.die.net/man/1/foremost]]
''Formal methods'' use mathematics in a structured way to analyze and describe a problem.
The ''algebraic approach'' is specified in terms of it's operations and their relationships via [[axioms|Mathematics > Proofs]]. An example of an algebraic approach that isn't fully understood yet by myself is here: https://drive.google.com/open?id=1FnEYjNsfiIH6TADp_cCsLBXSnbWFdYXq.
''Design by contract'' is a method of stating one part of a [[formal specification|Formal Specifications]] where the pre and post conditions are stated in an equation. For example $$\{P\}S\{Q\}$$ where P is the pre-condition, Q is the post-condition, and S is the operation. A simple example is here: $$\{x=y\}y:=y-x+1\{y=1\}$$.
The ''model-based approach'' to [[formal specifications|Formal Specifications]] includes simple pre and post conditions. The system is specified in terms of a state model and operations are defined in changes to the system state.
''Formal specifications'' or ''formal verification'' are mathematical specifications, and if all math is correct, translates to writable code that matches perfectly with the specifications. This takes a lot of funding though and is typically reserved for safety or security-critical systems. It is often too time consuming or unfeasible for large systems. Formal specifications are also not really usable for user-interface design. Here is an [[example of a flow where formal specification would be used|$:/Image - Formal Specification Process Flow]]. [[Model checking|Model Checking (Formally Defined Software)]] is a cost effective way of building software from formal specifications. Pre and post conditions can be defined in quite a few ways it seems. One important identifier is the use of a single quote `'` after a variable, or set name. This is used in cases where a variable is change by some set amount. Because in logical terms, variables cannot be equal when they are changed, for example $$x = x + 1$$ is not okay, because x cannot be both $$x$$ and $$x+1$$ at the same time. An example of pre and post conditions is in the bullets because of formatting. A formal notation association between two classes for example in the case of a [[UML association relationship|UML Association Relationship]], is described as a relation between two sets. Those sets could be the set of all objects for a given class. A link is an element of this relation and can be described as the relation between just two objects of the classes, or as a tuple. Table of Contents <div class="tc-table-of-contents"> <<toc-selective-expandable 'Formal Specifications'>> </div>
''FP'' is one of the first [[functional programming|Functional Programming]] languages. It is not based on [[lambda calculus|Lambda Calculus]] like most other functional programming languages. Rather it is based on a simplified ruleset. At the same time FP was developed, [[ML|ML Programming Language]] was also being developed in the UK.
* 1775: When america declared independence, there were almost no engineers, but there were many technologically adept citizens. Some individuals were particularly skilled such as [[Oliver Evans|1755-1819 > Oliver Evans]], or Benjamin Franklin. How did American's learn? Mostly by trial and error and drawing on [[French engineering tradition|French Engineering Tradition]] as well as [[British engineering tradition|British Engineering Tradition]]. Here is an image overview: [img width=700 [https://i.imgur.com/YS4r0JW.png]] French engineering tradition came into play first during the war of independence, 1775-1783. France sends two dozen military engineers to assist Continental army. The French did this because Britain and France were enemies for hundreds of years, so France was happy to assist their enemy. Some of those engineers return during the chaos of the [[1789-1795 > French Revolution]]. So, many of the early engineering texts were brought to america from France. [[West Point|West Point]] became America's first engineering school.
The ''French engineering tradition'' has some key highlights below: * Driven by needs of military and national government * In 1600s, France is most centralized state in Europe. So large tax revenues support a large military and state bureaucracy. This gave rise to artillery and sieges. * The French state trains and hires engineers. Military-trained engineers work on both military and civilian projects including canals, roads, and water supply systems. ** 1676: the French Minister of Ware creates a corps of engineers. ** 1716: The Corps of Bridges and Engineers was established to facilitate speedy movements of troops. * The french create the first engineering schools ** 1747: School of Roads and Bridges ** 1749: School of Military Engineering ** 1778: School of Mines ** 1794: The Ecole Polytechnique is created to server general education and training in engineering matters; This becomes an elite institution. * In France, engineers emphasized mathematics and theory necessitating formal education. The Theory was to guide practice. Formal learning in French culture increased the prestige of engineering. * Most french engineers came from the lower nobility or upper middle-class. Some wealth was necessary to pursue formal education. So Engineering is a prestigious occupation in France.
The ''front controller'' is an [[architectural pattern|Architectural Patterns (Software Engineering)]] which is actually just a variation of the [[MVC pattern|Model-View-Controller (MVC) Architectural Pattern]] where the controller is split into two parts. This is mainly useful for the web where you have a server side and a client side, but can be used for any networked application really. The controller becomes * The front controller - Handles routing from the view and decides if a call to the actual controller (or which controller for that matter) is actually needed or if the request can be handled locally and just sent back to the view. * The controller - Still handles the primary connections to the model and is almost always on the server side. I don't see a situation where it wouldn't be at the moment. If it wasn't, it seems that this pattern wouldn't be valid.
FSM States and the transitions can be drawn with a state diagram which is a graphical drawing of an FSM. An example is shown here: https://drive.google.com/file/d/0B5Qq4fe-ZajTRkYweDdrZUxpaGM/view?usp=sharing. Clk^ represents the rising edge of the clock signal. An FSM that keeps "on" for three clock cycles then turns "off" is shown here: https://drive.google.com/file/d/0B5Qq4fe-ZajTMVVyLUdDelUyZjg/view?usp=sharing. An FSM that is off until an input b = 1, then goes back to off for each clock cycle is shown here: https://drive.google.com/file/d/0B5Qq4fe-ZajTNEpoLVE0X19SSDg/view?usp=sharing. In each of the previous drawings the clk^ (rising clock edge) has been explicitly written for each transition. In most state diagrams this is implied so that things written next to transitions are implicitly ANDed with a rising clock edge as shown here: https://drive.google.com/file/d/1jCmJC_sQcv23mYOSkz2bpNDmCJIWyp9q/view?usp=sharing. Methods for designing a state diagram and simplifications are in the note. Designing state diagrams: - List inputs and outputs - List the states, while denoting the initial state - Create transitions - Refine the FSM: Execute it mentally and make any needed improvements Simplifications: - To reduce the number of outputs listed under each state, you can assume any unlisted outputs are 0. If an output is specifically assigned 0, or it is important for understanding the FSM, then it can be shown. An example is here: https://drive.google.com/file/d/1phOn65shQi42F_V7EpWB1Uo42cpKnm9G/view?usp=sharing. Converting a circuit to an FSM (Reverse Engineering for Circuits) is useful to find the logic of a previously designed circuit maybe from a person that is no longer at a company, or to make sure your own circuits work as intended. Start with creating a truth table from the circuit using inputs and outputs shown grouped by state, then label each state. Then you can create an FSM with the outputs specified, and finally you can annotate that FSM with transitions annotated with inputs like shown here: https://drive.google.com/file/d/1FJl_8lz2ubU2m65PuroKttnwo0b04ZwD/view?usp=sharing. If it is not built in the standard controller design then it can still be reverse engineering treating each storage unit together such as a D flip-flop as one register with so many bits.
''FTK Imager'' is a [[forensic imaging|Digital Forensics > Bitstream Copy]] tool that is commonly used for hard drive images. When doing bitstream imaging, make sure to have some kind of write blocker in place that makes it so the drive being interacted with can only be read. When creating an image, a raw DD type is probably the best choice it sounds like. FTK Imager can also add case numbers and things too which is super helpful! If "verify files after they are created" is checked it will create a SHA1 hash and MD5 to verify the file after it is created. Apparently if the SHA1 doesn't match it will show under "bad sectors" or something. The FTK Imager image results in the following: * Deleted files will be shown * Any partitions * The image file with an extension of `.001`.
A ''full tree'' is when an [[n-ary tree|Tree Order]] has all leaves at the same level, and every node either is a leaf or has exactly n children.
A ''full-adder'' takes 3, one-bit inputs and adds them together with a carry bit. Starting from a truth table it can be fairly simply designed with 3 and gates, a nor gate for the s output, and an or gate for the carry-bit after the and gates. The final product with a block symbol is shown here: https://drive.google.com/file/d/1qGoGYbnjBhgcxFubrBcDVYCT5X6-slRq/view?usp=sharing
@@color:red; This tiddler should be broken down to sub-tiddlers. There are also more notes on this in Dynalist under MAT 243 Week 3 @@ A ''function'' can be written like $$f(a) = b$$ or $$f : A \to B$$. Functions are also sometimes called ''mappings'' or ''transformations''. A good visual description of this mapping of functions is below: [img width=400 [https://i.imgur.com/QQG553w.jpg]] This says that if f is a function from A to B then f maps A to B. The ''domain'' is the original set of elements in A, or it is called the set of input, and the ''codomain'' is the set of elements in B that are being mapped to, or potential outputs. The ''range'' is the set of elements that A maps to in B, or the actual outputs. So if some element in B is not mapped from an element in A, then it is not included in the range. In java, the statement `int floor(float real){...}` indicates that the domain is all real numbers, and the codomain is all integers. The ''default domain, and codomain'' is all real numbers. If you define a function's codomain that does not include all of it's outputs, then the definition is inconsistent, and it is not a ''well-defined function'' Two functions are equal if they have the same domain, same codomain, and map each element of their common domain to the same element in their common codomain. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Function (Mathematics)'>> </div>
When the same method or function name is used for two methods, then the name is ''overloaded''. This normally happens with [[constructors|Constructors (Computer Science)]], but doesn't need to with regular methods. It is not preferable to do this with regular methods, even though you can have the same method name with different arguments to make different methods. The [[signature|Function Signatures]] and return type of each overloaded method must be unique.
''Function signatures'' or ''method signatures'' are the number of parameters, type of parameters, and order in which they are presented. The return type is not part of the signature.
''Functional Programming'' or ''Applicative Programming'' expresses computation in terms of mathematical functions. There is no concept of memory locations in "pure" functional programming. This means that if there is an input value into a function, it is processed and either immediately output to the user, or put into another function. There is no ability to store a variable for use later. Functional programming is primarily based on [[lambda calculus|Lambda Calculus]]. Typical languages of functional programming are [[ML|ML Programming Language]], SML, [[JavaScript|JavaScript]], and [[Lisp|Lisp Programming Language]] / [[Scheme|Scheme Programming Language]]. Below are some primary features of functional programming languages: * Simpler [[semantics|Semantics]] * Closer to mathematical functions * Higher levels of abstraction * [[Referential transparency|Referential Transparency]] * Only [[call-by-value|Call-by-Value Parameter Passing]] is allowed. * Functions are treated as first-class objects, which means a function can appear anywhere that a value is expected. In functional programming, a good principle is to explicitly define dependencies in the function. To do this, require that the variable needed, or dependency, is passed directly into the function. Another good principle is to not modify variables or objects. Create new ones and return them if need be from a function. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Functional Programming' sort[title]>> </div>
The ''fundamental theorem of arithmetic'' says that every integer greater than 1 can be written uniquely as a [[prime|Prime Numbers (Mathematics)]] or as the product of two or more primes where the prime factors are written in order of non-decreasing size. Prime factorization is the method of doing this. $$100 = 2 · 2 · 5 · 5$$ 1024 = 2 · 2 · 2 · 2 · 2 · 2 · 2 · 2 · 2 · 2 641 = 641 999 = 3 · 3 · 3 · 37
''Fuzzy logic'' means that a proposition has a truth value between 0 and 1 (inclusive). 0 means false and 1 means true. Values between 0 and 1 have varying levels of truth. The negation of a truth value p in fuzzy logic is (1 - p). The truth value of conjunction of (AND) two propositions p and q is the minimum of the two truth values. So if p = 0.4 and q = 0.7 then $p \land q$ equates to 0.4
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'G Suite'>> </div>
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'G Suite Marketplace'>> </div>
The ''G Suite Marketplace SDK'' is a toolkit that allows control of the content and appearance of an [[application|G Suite Marketplace Applications]]'s listing. This includes the test and graphics that describe your application in the [[G Suite Marketplace|G Suite Marketplace]]. Some assets used for a Marketplace listing are below: * Graphic assets * Text assets * URLs
''g++'' is the ''GNU C++ compiler''. The output of g++ is an executable image in [[machine code|Machine Language]]. This image is directly executable as `./fraction` for example. Compilations with g++ are often system dependent. So they only work on the architecture in which they were compiled. The general stucture of `g++` seems to be: ``` g++ <options> <files to compile> <output file> ``` * `<options>` can be a combination of the following: ** `-g` means to generate debugger information ** `-c` means compile only ** `-o <output file name>` means to make the output the given file name.
The ''gang of four'' or ''GoF'' are the authors of the important book called Design Patterns: Elements of Reusable Object-Oriented Software, linked here: https://drive.google.com/open?id=17EHhUj0h9XgbEWUNux-cfXd38ox-OGXZ. They are Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides
''Garbage collection'' is the act of removing un-needed variables, or un-referable variables during run-time. Not collecting garbage, is called a ''memory leak''.
A ''gated SR latch'' or ''level-sensitive SR latch'' or ''transparent SR latch'' is a [[basic SR latch|Basic SR Latch]] with an added enable channel connected to two and gates that feed in the R (reset) and S (set) channels so they can be activated or deactivated. A picture is here: https://drive.google.com/file/d/0B5Qq4fe-ZajTeDU5SXB2RHZjYTQ/view?usp=sharing.
''Gatsby'' is a web framework that uses [[React|React]] as its front-end tool and allows API and database use as well.
The ''Gaussian distribution'' or ''normal distribution'' is a very commonly used distribution in statistics. The normal distribution uses a [[continuous random variable|Statistical Continuous Random Variable]] rather than a [[discrete random variable|Statistical Discrete Random Variable]] like the [[binomial distribution|Statistical Binomial Distribution]]. The normal distribution of a continuous random variable with mean $$\mu$$ and [[variance|Standard Deviation]] $$\sigma^2$$ is given by $$ f(x) = \frac{1}{\sigma \sqrt{2\pi}}e^{-(x-\mu)^2/(2\sigma^2)} $$ The normal distribution can be denoted by $$X \sim N(\mu, \sigma^2)$$.
''gcc'' is the ''GNU C Compiler''. It is typically used in a [[makefile|Linux Makefile]]. it has the general form of ``` gcc <options> ``` `<options>` can be: * `-c <files>` This directs gcc to compile the source files into object files without going through the linking stage. * `-o <file>` Specifies that the output should be named `<file>`. ** By default, if compiling a `.c` source file, the output object file will be named the same thing but with a `.o` extension. ** By default if linking to create an executable, the default output will be `a.out`. * `-g` Directs the compiler to include extra debugging information. The debugging information is meant for [[gdb|gdb (GNU Debugger)]]. * `-Wall` this enables more verbose debugging logs. This is really helpful and the code should compile without any Wall warnings ideally. Work to try and make that happen. * `-I<dir>` Adds the directory `<dir>` to the list of directories searched for [[header files|C/C++ Header Files]].
''gdb'' is the ''GNU Debugger''. If `gdb` doesn't show up at first, it can be installed with `sudo apt-get install gdb`. Pretty straightforward.
In a similar manner to creating a generic class, you can create generic methods where the generic parameter only applies to that method. An example header for a method that takes any object that extends Comparable would be `public static <T extends Comparable<T>> boolean linearSearch(T[] data, int min, int max, T target)`. Notice that the generic type parameter is declared before the return type. This is so that potentially you could use the generic parameter as the return type.
''Geographic Information Systems'' can store and analyze maps, weather data, and satellite images. They are type of [[database|Database]].
A ''geometric progression'' is a sequence of the form $$a, ar, ar^2, ..., ar^n, ...$$ where the initial term a and the common ratio (or common quotient) r are real numbers. This is just like an exponential function. For 0 based numbering this follows the formula $$a_n = aq^n$$ for 1 based numbering it is $$a_n = aq^{n -1 }$$ an example is $$a_n = 3 \cdot 2^n$$ with a = 3 and q = 2. The sum of a geometric progression when $$r \ne 1$$ is $$\sum_{j=0}^{n} ar^j = \frac{ar^{n+1}-a}{r-1}$$ and when $$r = 1$$ is $$\sum_{j=0}^{n} ar^j = (n+1)a$$
''Git'' is a [[distributed version control|Distributed Version Control System (dVCS)]] tool. Git enables the maintenance of a digital body of work, which is often code, but not limited to code, by many collaborators using a peer-to-peer network of repositories. Git was originally developed by Linus Torvalds, and he had three usability design goals which are laid out below: * Support distributed workflows similar to those enabled by BitKeeper * Offer safeguards against content corruption * Offer high performance Git uses [[directed acylic graphs|Directed Graphs]] for content storage, reference pointers for [[heads|Git Head]], object model representation, and remote protocol. Here is an [[example of a directed acyclic graph in git|https://drive.google.com/open?id=1X1L4Icydd23ix3KR6H4AU-uQ9k-tB56m]]. There are three stages of a git directory. See [[this image|$:/Image - 3 stages of a git directory]] for an overview of how it looks and the below descriptions: * Working directory * [[Staging area|Git Staging Area]] * .git directory, aka the [[repository|SCM > Repository]] Some features of git are below: * Can have several local repos * Collaboration with different groups of people * Simultaneously work on the same project * Several types of workflows * Saves snapshots of the file system. Every time you commit / push a snapshot is taken. If a file was not changed, then it is not stored again. * You cannot lose any information. Basically it is append-only. Here is a [[good workflow idea for Git|$:/Image - Git Workflow with multiple branches]]. Table of contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Git' sort[title]>> </div> See also: * [[Git main website|https://git-scm.com/]] * [[Pro Git book|https://git-scm.com/book/en/v2]]
Ignoring files in github can be done with ''.gitignore'' files. Some basic identifiers are below: * `*.extension` will ignore any file with the `extension` extension in any folder * `directoryName/` will ignore the directory `directoryName` I think only if it is at project root. See also: * [[Github page on .gitignore files|https://help.github.com/articles/ignoring-files/]]
A ''repository'' in [[git|Git]] is the same thing as an [[SCM repository|SCM > Repository]]. A ''remote repository'' is a git repo that isn't local. Typically this is identified by `origin` because it is the origin of the repository. At the moment that you clone a repository it keeps a record of what the origin/master branch was at that time. If other changes are made tot he master branch locally, then it will keep a separate local master branch. See below for an image describing this: [img width=700 [https://i.imgur.com/Hpe7gzJ.png]] See also: * [[Git Branches]]
A ''blob'' represents a file stored in the repository.
A ''branch'' in [[git|Git]] is a named variant of a [[codeline|SCM > Codeline]]. Git creates one branch at the beginning which is named "master". A branch is a pointer to a commit. See also: * [[Git > Repository]]
Some ''git commands'' that notes have been taken on are below: <<list-links "[tag[Git Commands]sort[title]]">>
The ''git add command'' will add either a particular file or all files if `.` is used, to the [[staging area|Git Staging Area]]. The general structure is below: ```zsh git add <identifier> ``` * `identifier` can be one of the below: ** `.` to stage all files that were modified. This doesn't include ones listed in the [[.gitignore|Git .gitignore Files]]. ** `directoryName/` stages the directory `directoryName` and all files inside that directory ** `filename` stages the file with `filename`
The ''git checkout command'' will move the [[head|Git Head]] reference to the given reference. For example if it was the master branch it would move the head reference to `.git/refs/heads/master`. Then it will populate the [[index|Git Staging Area]] with this head data and refresh the working directory to represent the tree at that head. Some options are below: * `git checkout <commit-number>` * `git checkout <branch-name>` * `git checkout -- <file-name>` To revert the given `file-name` back to the latest commit.
The ''git commit command'' will commit all files in the [[staging area|Git Staging Area]] and add a [[commit message|Git Commit Messages]]. The general structure (that I have used before, there are much more options) is below: ```zsh git commit <space-delimited-options> ``` Some options I have notes on are below: * `-a` Will automatically stage files that have been modified and deleted, but will not stage new files. It will then run the commit. * `-m <message>` Will commit with the message string that follows `-m`. See also: * [[Git documentation on the commit command|https://git-scm.com/docs/git-commit]]
The ''git fetch command'' will fetch a [[remote|Git > Repository]] branch into a new local branch, typically named like `origin/branch-name`. Some options are below: * `--all` will fetch all remote branches After this is completed See also: * [[Git Commands > pull]]
`git init` - Creates a new sub-directory named `.git` that contains all your necessary files.
The ''git log'' command by default lists the commits made in that repository in reverse chronological order. It seems that when using this command it launches you into your default editor. See also: * [[Git documentation on the log command|https://git-scm.com/docs/git-log]]
The ''git merge command'' can merge two branches it seems. Some usages are below: * `git merge <branchName>` will merge the branch with `<branchName>` into the current branch. It will try to do this automatically.
The ''git pull command'' works kind of like [[git fetch|Git Commands > fetch]] except that it [[merges|Git Commands > merge]] the remote [[branch|Git Branches]] into your local branch. There may be conflicts when it does this that you need to fix manually. Some options are below: * `--all` will fetch all branches and merge all of them to your local instance. Be careful with this though if there are possibly merge conflicts. See also: * [[Git > Repository]]
The ''git rm command'' will remove a file in different ways from the repo. See below for usages: * `git rm fileName` will remove the file `fileName` from the local directory and from the [[staging area|Git Staging Area]]. * `git rm --cached fileName` will remove the file from the staging area only * `git rm -r directoryName` will remove the directory locally and from the staging area recursively.
''Commit messages'' should have a defined convention for a team. The definition should cover at least three things: * Style - Markup syntax, wrap margins, grammar, capitalization, and punctuation. * Content - What kind of information should the body of the commit message contain and what should it not contain? * Metadata - How should issue tracking IDs, and pull request numbers be referenced? Some standard rules for good commit messages are below: # Separate subject from body with a blank line - This is recommended directly in the `git commit` man page. # Limit the subject line to 50 characters # Capitalize the subject line # Do not end the subject line with a period # Use the imperative mood in the subject line. For example: "Fix infinite loop in render method". A good way to think about this is: `If applied, this commit will <your subject line here>` # Wrap the body at 72 characters # Use the body to explain what and why vs how. See also: * [[Site on how to write a git commit message|https://chris.beams.io/posts/git-commit/]] * [[Git Commands > commit]]
The ''git core toolkit'' is divided into two parts, the "plumbing" and "porcelain", insinuating a reference to a toilet lol. The porcelain contains a smaller subset of `git` commands that most users need to maintain repos and communicate with other repos. Commands that seemed useful to take note of with their descriptions are in the note. Noteworthy git commands: * [[git init|Git Commands > init]] * [[git checkout|Git Commands > checkout]]
The ''head'' is a label indicating the point on the [[branch|Git Branches]] that is currently being worked on. This can also point to a specific commit.
The ''hooks directory'' located at `.git/hooks` contains scripts that can be run on certain lifecycle events of the repository.
The ''Object database'' is located at `.git/objects` and is the default Git object database which contains all content or pointers to local content. All objects are immutable once created.
The ''references directory'' located at `.git/refs` is the default location for storing reference pointers to both local and remote branches, tags, and heads. A reference is a pointer to an object usually of type `tag` or `commit`. References are managed outside of the [[object database|Git Object Database]] so that they can change where they point as the repository evolves.
The ''staging area'' is by default located at `.git/index` and contains any pending changes. The purpose of the staging area is to allow smaller parts of the work you have done to be committed at a time. This way you can explain different parts of your changes.
''GitHub'' is a [[distributed version control system|Distributed Version Control System (dVCS)]] owned by Microsoft. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'GitHub'>> </div>
This is used a lot in programming. Just seemed right to throw it in a tiddler.
''GNU Emacs'' is an extensible, customizable, free text editor. It seems to have a heck of a lot of shortcut keys and things. It is also based on "buffers" for the different documents that are open in it. Note the below translations of the documentation. * `C-x` = `Ctrl+x` * `M-x` = `Alt+x` Some different commands are below: * `M-x compile` will start the compile process in emacs. You can type in `make` to initiate the [[make command|Linux make Command]] after it prompts for the compile command.
''GNU'' stands recursively for "GNU Not Unix". It is an operating system, which is most famously the basis of [[Linux|Linux]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'GNU Operating System'>> </div>
''Google'' is a large search company that has grown pretty huge haha. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Google'>> </div>
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Google Drive'>> </div>
''Google Rapid Response'' or ''GRR'' See also: * [[Main Github site for GRR|https://github.com/google/grr]]
''Gradle'' is an open source build automation tool. This tool competes with Maven it sounds like. It sounds like it is used for [[continuous integration|Continuous Integration]] as well. When using Gradle you need to have a [[build.gradle file|Gradle > build.gradle File]]. Here is a [[great guide|https://www.baeldung.com/gradle-fat-jar]] to building an all-in-one Jar file, aka Fat Jar file in your gradle build process. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Gradle'>> </div> See also: * [[Gradle 5.2.1 documentation|https://docs.gradle.org/5.2.1/userguide/userguide.html]]
The ''build.gradle file'' can be setup in the root of your project directory. An example file is below: ``` apply plugin: 'application' mainClassName = 'main.java.Main' dependencies { compile files('lib/barchart.jar') compile files("resources") } run { args = ['graph.txt'] } ``` Gradle expects your project to be setup with the following folders: * `lib` * `resources` * `src`
''Gradle plugins'' are a way to "install" some set of features into [[Gradle|Gradle]]. To use a plugin you can use either: ``` apply plugin: '<pluginName>' ``` or for a list of plugins: ``` plugins { <pluginName>, <pluginName2> } ``` Some plugins that notes are taken on are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Gradle Plugins'>> </div>
The ''application plugin'' is a Gradle plugin that includes the `java` plugin. If you use the plugin, the only mandatory thing to add to your build.gradle is the following line: ``` mainClassName = '<mainClassPath>' ``` See also: * [[Main page for the application plugin|https://docs.gradle.org/current/userguide/application_plugin.html]]
''SourceSet'' is an element kind of? See also: * [[Gradle 5.2.1 documentation on SourceSet|https://docs.gradle.org/5.2.1/dsl/org.gradle.api.tasks.SourceSet.html#org.gradle.api.tasks.SourceSet]]
A ''task'' represents a single atomic source of work for [[Gradle|Gradle]]. See also: * [[Gradle 5.2.1 documentation on Task|https://docs.gradle.org/5.2.1/dsl/org.gradle.api.Task.html#org.gradle.api.Task]]
In a ''graph'', nodes are vertices and the connections between them are edges. Typically vertices are labeled like A,B,C,D and edges are labeled according to which vertices they connect such as edge(A,B) which connects A and B.
''Graph database nodes'' can have a label inside them that indicates what they are.
''Graph database relationships'' are [[edges|Edge (Computer Science)]] that connect two [[graph database nodes|Graph Database Nodes]], and can be labeled with the meaning of the relationship. Relationships can be bi-directional, or uni-directional. Relationships can have properties.
''Graph databases'' are based on [[graph data structures|Graph (Data Structures)]]. These are good for associative data stores and a navigational/path-oriented data models. Graph databases are useful when the relationships between data are more important than the data itself. For example in social networks, logistics and routing, search engines, and science apparently haha. Some popular graph databases are [[neo4j|neo4j]] and OpenLink Virtuoso. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Graph Databases'>> </div>
''Graphic Programming'' or ''Visual Programming'' is a type of visual programming where the user doesn't need to know much about how the underlying code works, but rather uses drag-and-drop techniques to build software. Some examples are in the note. ASU took it upon themselves to develop a new visual programming language environment called [[ASU VIPLE|ASU VIPLE]]. This stands for Visual IoT/Robotics Programming Language Environment. <<_note """ __Examples__: * MIT App Inventor * Carnegie Mellon's Alice * Intel's IoT Service orchestration layer. This is a workflow language that allows quick development of IoT applications on Intel's IoT platforms. Two of these platforms are Edison and Galileo. """>>
The commands of a system may be represented by a graphical metaphor, such as icons as proxies for objects, folders as containers/directories. This creates the ''graphical user interface'' and is an example of an [[operating system service|Operating System Services]]. The idea of a graphical interface is to leverage your intuition, through use of a metaphor. Some graphical metaphors are below: * Desktop - This is like having a desk, with items on it. You can move those items around, maybe open them, etc. Touch vs Click: * Touch you can lift off the scree, where as a mouse is always on the screen. It can't be taken off. * Touch is always active, where as with a mouse, Clicking represents active. See also: * [[CLI vs GUI|Example - CLI vs GUI]]
''GraphQL'' is an [[API|Application Programming Interface (API)]] standard that was invented and open-sourced by Facebook. It is an alternative to [[REST|Representational State Transfer (REST)]]. GraphQL exposes a single endpoint.
The ''great-circle distance'' or ''orthodromic distance'' is the shortest distance between two points on the surface of a sphere. It seems like the [[haversine forumla|https://en.wikipedia.org/wiki/Haversine_formula]] is the best way to calculate this. See also: * [[Wikipedia page on the great-circle distance|https://en.wikipedia.org/wiki/Great-circle_distance]]
A growth function shows the growth of operations proportional to $n$ in exact terms. An example is $f(n) = 2n^{2}$This is contrary to the order, which shows the general relationship. Some examples are in the note. An algorithm that scales like below ` for (int i = 0; i < n; i++) { for (int j = i; j < n; j++) { System.out.println("This is a value"); } }` This ends up with a f(n) = (1/2)n^2 An algorithm that scales with a multiplication like so ` for (int i = 0; i < n; i*=3) { System.out.println("This is a value"); }` Ends up with a log with base of whats being multiplied so this would become f(n) = log_(3)n
''Gson'' is a [[Java|Java]] library that can be used to convert Java Objects into their [[JSON|JavaScript Object Notation (JSON)]] representation. Here is a [[link to the main website for Gson|https://github.com/google/gson]]. See also: * [[Link to the most current documentation for Gson|https://www.javadoc.io/doc/com.google.code.gson/gson/]]
''GPT'' or ''GUID Partition Table'' is a standard for the layout of partition tables. It can support up to 128 primary partitions. See also: * [[Master Boot Record|Master Boot Record (MBR)]] * [[Wikipedia article on GPT|https://en.wikipedia.org/wiki/GUID_Partition_Table]]
''Winen'' is one of the few free tools that [[Guidance Software|Guidance Software]] provides.
A ''half-adder'' takes two bits and outputs the sum S and a carry-bit CO. This uses an XOR gate combined with an and gate for the carry bit. It results in this design here which is pretty straightforward: https://drive.google.com/file/d/1IkastapWODN3Nk4VdVmzlAYvVEKwGwvB/view?usp=sharing
''Hard real-time systems'' are those that need execution of a critical process to happen every set amount amount of time, or before a deadline. A process that is not serviced by the deadline, is the same as a process that was not serviced at all in this type of system. For these systems there is a burst time (t), deadline (d), and period (p). 0 <= t <= d <= p. An example of a hard real-time system is a sensor for a car. It needs to run every so many seconds, no matter what. Another example is medical systems. Some different factors that can play into response time for a hard real-time system are below: * [[Event Latency|Operating System Process Event Latency]] * [[Interrupt Latency|Operating System Process Interrupt Latency]] * [[Dispatch Latency|Operating System Process Dispatch Latency]] Some different scheduling algorithms that are used with hard real-time systems are below: * [[Rate-monotonic scheduling|CPU Scheduling Algorithms > Rate-Monotonic Scheduling]] * [[Earliest Deadline First Scheduling|CPU Scheduling Algorithms > Earliest-Deadline-First (EDF) Scheduling]] * [[Proportional Share Scheduling|CPU Scheduling Algorithms > Proportional Share Scheduling]] * [[POSIX Real-Time Scheduling|CPU Scheduling Algorithms > POSIX Real-time Scheduling]] See also: * [[Soft Real-Time Processing Systems]]
''Hashing'' is a technique where elements are stored in a ''hash table'' with their location in the table being determined by a [[hashing function|Hashing Functions]]. Efficiency of Operations are below: * `insert(e)` - O(n/m) - Where n is the number of elements in the table and m is the size of the table. * `find(e)` - Using hashing makes it so ideally each position can be calculated and has an access time of O(1). Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Hashing' sort[title]>> </div>
The ''chaining method'' for [[hashing collisions|Hashing Collisions]] treats the [[hash table|Hashing]] as a table of collections rather than individual cells. An example image of how this works is shown here: https://drive.google.com/file/d/1xdT2GkuDSVEER4Q4UkFLG_SPR8mNVlUU/view?usp=sharing.
The ''open addressing method'' for [[hashing collisions|Hashing Collisions]] looks for an open position in the hash table other than the one to which the element was originally going to go. The simplest of these methods is ''linear probing''. This is where if the position is taken, then the position at index `(p+1)%s` is tried where s is the size of the table (so it wraps around). If that is taken, then (p+2)%s is tried until it finds one. If one isn't found the table can be expanded, or an exception can be thrown, it's up to the designer. The problem with open addressing it that it tends to contain clusters of values, and starts to affect searching and insertion speeds. ''Quadratic probing'' just moves the value further away, but it's still susceptible to the same issues. ''Double hashing'' is another method of open addressing where if the first hashing method ends up in a collision, then a secondary hashing function is used.
''Hashing collisions'' occur when a [[hashing function|Hashing Functions]] determines that a new element should go where one already resides. Some different methods of solving this issue are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Hashing Collisions'>> </div>
A ''hashing function'' or ''hashing algorithm'' is used to determine the location where a new element will go in a [[hash table|Hashing]]. It can also be used to cryptographically secure some object or document. The only difference is that a ''cryptographic hashing function'' has to be a perfect hashing function. For example if you have an array of 26 elements and strings are going to be stored in it. Then the hashing function could map each element to a particular letter, so 0 would be A, and D would be 3. This could run into an issue when you have two items that have the same starting letter, this is called a [[hashing collision|Hashing Collisions]]. A hashing function that maps each element to a unique position in the hash table is called a ''perfect hashing function''. This is difficult to achieve because, for example, if you have a simple class with two integers as private instance variables, a perfect hashing function cannot be made because two integers cannot fit into one integer which becomes the hash code. If the data set is of a known size such as number of employees in a company and a perfect hashing function can be used, then the table can simply be the same size as the data set. If a perfect hashing function is not available, but the size of the data set is known, then a good rule of thumb is to make the table 150 percent of the size of the data set. The efficiency of a hash table heavily degrades as it gets full, so a load factor can be used such as 0.5 so that the table would be resized each time it hits 50 percent capacity. A hashing function does not need to be perfect to achieve O(1) time complexity, it just needs to be good enough to distribute the elements evenly among the table. Below are some hashing functions: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Hashing Functions'>> </div>
''Haskell'' is a [[functional programming|Functional Programming]] language.
A ''heap'' is a complete binary tree. A minheap is where for each node is less than or equal to both the left and right child. A maxheap is where each node is greater than or equal to it's children. The descriptions will generally follow a minheap. Methods specific to a minheap are in the note. the only way to remove an element from the heap is to remove the root with removeMin or removeMax. Specific Methods + addElement(n) - O(logn) - The book says that this method should throw a `ClassCastException` if the element is not `Comparable`, but it could require a comparable element instead. Because a heap is a complete tree, there is only one available location to insert an element at any given time. To keep ordering, the new value is compared to it's parent value, and they are swapped if the new value is less than the parent value. After this is finished, the last node is set to the node that was inserted. For both the array and linked implementation, this operation is O(logn). + removeMin() (or removeMax) - O(logn) - Once the minimum is removed the last leaf in the tree needs to replace it so that it stays complete. Then the tree needs to be reordered, which is done by swapping the element with the smaller of it's children until it is in the correct location. The time complexity for both array and linked implementation is O(logn) or for array it is specifically log n + 1. + findMin() - O(1) - Simply returns the root in a minheap. !! Implementing a heap with an Array Implementing a heap with an Array is better than using links because the tree must be balanced, so this eliminates the need to constantly go up and down the tree finding the correct location for the next leaf, where instead the new node can be placed in the next available location in the array. In an array implementation the computational strategy can be used which is in another note.
All dynamically allocated [[variables|Variable (Computer Science)]] obtain memory from the ''heap''. Data types that acquire memory from the heap are called ''reference types'' because their variables take memory addresses as their values.
A list of objects can be sorted by simply adding them to a heap, then removing them all which is called ''heap sort''. This has a time complexity of O(nlogn) because each element needs to be added which is O(logn) each so O(nlogn) then the same goes for removal so it ends up being $2*n\log{n}$ or O(nlogn).
''Heroku'' is a cloud services company that can help you spin up developer friendly VMs. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Heroku'>> </div>
The ''Heroku CLI'' can be used to create apps on Heroku it seems, among other things. It requires an installation of [[NPM|Node Package Manager (NPM)]], [[Node|Node.js]], and [[Git|Git]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Heroku CLI'>> </div>
The ''config command'' will show all set configuration variables on the dynos associated with the current working directory's repo. For example: ``` heroku config ``` Will show all the current variables set for the dyno associated with the current repo. You can also access this configuration through the Heroku dashboard.
The ''create command'' is part of the [[Heroku CLI|Heroku CLI]] can be used in a [[Git repo|Git > Repository]] to create a new dyno maybe? On [[Heroku|Heroku]]. An example of using this is below: ``` heroku create ``` You can also setup an existing git repository and an existing project on Heroku using the [[git:remote command|Heroku CLI > git:remote Command]]. See also: * [[Heroku page on getting started deploying a node.js app|https://devcenter.heroku.com/articles/getting-started-with-nodejs#deploy-the-app]]
The ''git:remote command'' is part of the Heroku CLI and allows for the setting of a particular project on Heroku to a pre-existing git repo. For example: ``` heroku git:remote -a <heroku-project-name> ``` where `<heroku-project-name>` can be replaced with the project name on Heroku. This will setup a remote on the git repo called `heroku` that is linked to that project. After doing this you can use a git push command to move the code to Heroku. This always has to be the master branch on the Heroku side, but if you want to use a different branch locally than master, you can use the following command: ``` git push heroku testbranch:master ```
The ''local command'' can be used to locally run an application as if it was running on Heroku. For example: ``` heroku local web ``` This examines the [[procfile|Heroku Procfile]] to determine what to run.
The ''ps command'' will show all the currently running dynos for your account for the repo that is currently in your working directory. For example: ``` heroku ps ``` You can also scale dynos with the following command: ``` heroku ps:scale web=<numDynos> ``` set `<numDynos>` to 0 to scale it to 0.
The ''Procfile'' should be in the root directory of your application that you wish to deploy to [[Heroku|Heroku]]. This can contain something like the following: ``` web: <build command> ``` * `<build command>` can be something like `node index.js` to run a node application starting at the given file name. * The `web` part indicates that it will run a web dyno that allows HTTP requests. See also: * [[Heroku documentation on the Procfile|https://devcenter.heroku.com/articles/procfile]]
Base 16 is called ''hexadecimal'' or ''hex'' and it is written with the prefix `0x`.
If you imagine a machine that takes in 8 bit inputs, an FSM will be too precise to model this, because every single possible state has to be modeled. A ''high-level state machine (HLSM)'' extends FSMs with multi-bit data inputs and outputs, local storage, and arithmetic operations. An example HLSM that shows the processor for a single soda dispenser is shown here: https://drive.google.com/file/d/1y3AbJZpmjl6fxn4dcxDBJb7moT3XdNGb/view?usp=sharing. d is output when a soda is to be dispensed, c means some coin was input, a is the value of the coin, s is the cost of the soda, and no change is given. Storage updates can be thought of as happening on outgoing transitions, because they are actually written on the next rising clock edge. Design is in the note. <<_note """ HLSM Design: - Each transition is implicitly ANDed with a rising clock edge - Any bit output not explicitly assigned will get a 0, but this doesn't apply for multi-bit outputs. - In the design book, bits are surrounded with single quotes like '0' and '1'. Other numbers like 0 and 8 are integer representations of their bit counterparts. - HLSMs use "==" for comparison and ":=" much like UML class diagrams - Every HLSM multibit output is registered, so each output X will have an Xreg that is the same width as X. Writing to X is done by writing to Xreg, and writing directly to X is not allowed. If desired single bits can be registered as well. - Comments can be used in HLSMs as well using a "//" before the comment. """>>
''High-level programming languages'' are a class of [[programming languages|Programming Languages]] that have been created to remove the barrier of tedious and error prone programming which was inputting 1 by 1 instructions to the CPU. High level languages introduce variables of different types, procedures or functions, and [[control structures|Control Structures]]. The higher the level of language, typically, the less efficient it is. So [[python |Python]]will run slower for massive computations, than something like Basic, or [[Assembly|Assembly Language]]. High-level languages require a [[compiler |Compiler]] to translate to [[assembly language|Assembly Language]], and an [[assembler|Assembler]] to translate to [[machine code|Machine Language]].
''Higher order functions'' are functions that take a function as an argument or return a function as a return value. The functions that get passed or returned, are called ''lambdas''.
''Histograms'' give a graphic idea of the shape of sample indicating regions where sample points are concentrated and regions where they are sparse. Histograms have separations of intervals of data into ''classes'' or ''bins''.
* 1958 - [[Lisp|Lisp Programming Language]] was developed by John McCarthy at MIT and released for the first time. * 1975 - As a Lisp dialect, [[Scheme|Scheme Programming Language]] was developed by GL Steele and GJ Sussman at MIT. * 1981 - Efforts were made to make a common dialect of Lisp, referred to as ''Common Lisp''. Common lisp was intended to make all dialects of Lisp compatible and to create a huge commercial product. The attempt to merge lisp into scheme failed and and Scheme still remains independent. * 1989 - Scheme was standardized by the IEEE. It had some good improvements in these later iterations like making functions first-class objects, removal of loops, and reliance on recursive procedure calls to express loops. * 1992 - Common Lisp was standardized by the IEEE.
A ''Horn Clause'' is a [[clause|Clause]] with at most one [[positive literal|Literal (Logic)]].
''Horn Logic'' is the use of [[Horn clauses|Horn Clause]] in [[propositional calculus|Boolean Algebra]].
''Host-attached storage'' is storage accessed through local I/O ports. typically a desktop PC uses an I/O bus architecture called IDE, or ATA. High end architectures typically used more sophisticated I/O such as [[fibre channel|Fibre Channel (FC)]].
''HSL'' means ''Hue Saturation Lightness'' and is a way to represent color in code. The [[hue|Hue]] is a number between 0 and 360 for the position on the [[color wheel|Color Wheel]]. [[Saturation|Saturation]] is a percentage value so 0 is a shade of gray, while 100% is the full color. [[Lightness|Lightness]] is also a percentage where 0 is black, 50% is neither light or dark, 100% is white.
`hsl()` is a way to set colors in CSS. This follows the exact same theory as normal [[HSL colors|HSL Colors]]: {{HSL Colors||Transclusion Template}} The format for writing `hsl()` is with actual percentage signs. For example green would be `hsl(120, 100%, 50%)`
<<list-links "[tag[HST 318]sort[title]]">>
<<list-links "[tag[HST 318 - Module 1]sort[title]]">>
''HTML'' stands for ''Hyper Text Markup Language''. It is a forgiving standard and is defined by HTML Document Type Definition, kind of like a [[XML DTD|XML Document Type Definition (DTD) Syntax]]. HTML is [[parsed|Syntactic Structure]] by the [[web browser rendering engines|Web Browser Rendering Engines]]. HTML is built on its [[living standard specification|HTML Standard Specification]] for all of the [[browsers|Web Browsers]] to follow. <div class="tc-table-of-contents"> <<toc-selective-expandable 'HTML' sort[title]>> </div> See also: * [[A good history about some important beginnings and features of HTML|http://diveinto.html5doctor.com/past.html]]
The ''accesskey attribute'' allows a specific shortcut key to be used to bring focus to an element. The attribute can be used on any element, so buttons or articles can be used. This is especially helpful for buttons, links, and forms on a page. For example: ``` <button accesskey="b">Important Button</button> ``` This is slightly related to the [[tabindex attribute|HTML tabindex Attribute]].
The ''anchor element'' or `a` can be used to create links in HTML. Try to include the description of the text when enclosing a link so that it is more helpful for screen-readers. For example `<a href="example.link">Link to information about batteries</a>`. A link can also be used to jump to a certain element in the page. To do this, use a hashtag `#` and then the element id to jump to. For example if an element has `id="example-id"` then a link could be made with `<a href="#example-id">Jump to Example-ID</a>` If the `target` attribute is set to `_blank` then it will open the link in a new tab.
The ''article element'' indicates a self contained section of content on a webpage. Such as a forum post, or blog entry. A good test for "self-contained" is to imagine removing all the context around it, and see if it would still make sense. It is written as `article`. See also: * [[HTML section Element]]
An [[HTML|HTML]] attribute is some kind of description of an HTML element. This could be the [[style attribute|CSS Inline Styles]], the class attribute, or hundreds of others.
The ''audio element'' gives semantic meaning when it wraps around audio stream content or sound. `audio` supports the [[controls attribute|HTML controls Attribute]]. Here is an example: ``` <audio id="meowClip" controls> <source src="audio/meow.mp3" type="audio/mpeg" /> <source src="audio/meow.ogg" type="audio/ogg" /> </audio> ``` An audio element can be controlled with JavaScript using [[getElementById|JavaScript document.getElementById Method]]. With the element found, the following notable properties and functions can be used on it: * `play()` which will play the audio * `currentTime` is a property which returns the current time of the playing audio, or can be set to the wanted time. * `loop` sets or returns whether or not the audio element should play on a loop. Here is a [[link to the audio/video DOM reference|https://www.w3schools.com/tags/ref_av_dom.asp]].
The ''break element'' can be written like `<br>` and creates a line-break in the HTML.
The ''canvas element'' is an [[HTML element|HTML Elements]] that is defined as "a resolution-dependent bitmap canvas that can be used for rendering graphs, game graphics, or other visual images on the fly".
''Comments'' can be written in HTML with an opening tag of `<!--` and a closing tag of `-->`
The ''controls attribute'' can be added to an element as a simple word. For example `<audio controls></audio>`. `controls` adds the browser default play, pause, and other controls. Plus it supports keyboard functionality.
The ''doctype'' at the top of an HTML document and determines a lot of different modes and compatibility for a webpage. Typically you just want to use the "standards mode" which can be done by using the very simple `<!DOCTYPE html>` delineation. That's basically all you need to stick to. See also: * [[An amazing description of the doctype black magic|http://diveinto.html5doctor.com/semantics.html]]
The [[web browser rendering engine|Web Browser Rendering Engines]] parses an [[HTML|HTML]] document into the ''HTML DOM''. The HTML DOM is like a tree, and each paragraph, body, header, etc, is like a node on the tree. The HTML DOM is a sub-type, or really a product of the [[Core DOM|Document Object Model]]. It is a standard for how to get, change, add, or delete [[HTML elements|HTML Elements]]. See also [[HTML parsing algorithm|HTML Parsing Algorithm]] because the implementation of parsing HTML itself can vary between browsers. The final product should be the same HTML DOM regardless of how it is parsed though... Ideally... The HTML DOM has some primary abstract classes associated with it, which are actually primary classes of the Core DOM. * [[Document Interface|DOM Document Interface]] - Represents a top level document * [[Node interface|DOM Node Interface]] - represents a node in the DOM tree. Element is the main node type. * [[Element Class|DOM Element Class]] - Represents an XML/HTML element Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'HTML DOM'>> </div>
''HTML DOM events'' are events that occur based on some action or interaction with the [[HTML DOM|HTML DOM]]. This could be clicking on a button element or having the mouse enter a bounding box of a paragraph for example. They seem to all start with `on`. It is good practice to keep all event logic separate from the [[HTML|HTML]]. So [[HTML Element event listeners|DOM Element Event Listener]] ideally are attached in the JavaScript file. Some notable events are listed below, which a lot are actually inherited from the [[GlobalEventHandlers mixin|DOM GlobalEventHandlers Mixin]]. * `ondrag` * `ondrop` * `onblur`, `onfocus` - It looks like these only apply to [[input elements|HTML Form input Element]]. * `onsubmit` - For [[form elements|HTML form Element]]. If you return `false` it will prevent the form from being submitted which is great for form validation. * `onreset` - For form elements <<list-links "[tag[HTML DOM Events]sort[title]]">> See also: * [[W3Schools list of HTML DOM Events|https://www.w3schools.com/jsref/dom_obj_event.asp]]
The ''onblur event'' is an [[HTML DOM event|HTML DOM Events]] and occurs when?
The ''onload event'' is an [[HTML DOM event|HTML DOM Events]] which is triggered when the `load` event is triggered on anything that implements the [[GlobalEventHandlers mixin|DOM GlobalEventHandlers Mixin]]. The `load` event can be different for different objects. The event doesn't fire until absolutely everything is loaded in the object the event is set on. To simplify this, and hopefully stay out of the weeds for the time being, this is just summarized into this one tiddler. There are more details about how this works under the hood though. See also: * [[W3schools documentation for the HTML onload Event Attribute|https://www.w3schools.com/tags/ev_onload.asp]] * [[MDN documentation for the onload property|https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload]]
An ''HTML element'' or ''DOM Element'' is any element such as `<div></div>`, or `<p></p>` and represents a node on the [[document object|JavaScript window.document Object]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'HTML Elements' sort[title]>> </div>
The ''figure element'' is great for enclosing a visual representation such as an [[image|HTML image Element]], diagram or chart. The `figcaption` element can be used within `figure` to indicate the caption for the figure. Here is an [[example of using figure with an image and figcaption|Example - HTML - Using figure with an img and figcaption]].
''File paths'' in HTML can be written relative to the file where the code is written. * To indicate a file in the current path of the file that the HTML is written, no prefix is needed. For example `<img src="picture.jpg">` * To indicate a file that is one folder up, two dots can be used: `<img src="../picture.jpg">`. * If a file is located in a folder, in the same folder as the HTML file, then the following can be used: `<img src="images/picture.jpg">`
The ''footer element'' goes at the bottom of a webpage and contains copyright information or links to related documents.
The ''action attribute'' designates a [[form handler|HTML Form Handler]]. For example: ```html <form action="/action_page.php"> ``` If the action attribute is omitted, then it defaults to the current page.
The ''form element'' describes a form that the user can input data to, and is described with `<form></form>`. The default request that a form element makes is a [[POST request|HTTP Request Methods > POST]]. The different kinds of form attributes are below: * [[HTML Form action Attribute]] * [[HTML Form target Attribute]] * [[HTML Form method Attribute]] The different types of form elements are below: * [[HTML Form input Element]] * [[HTML Form label Element]] See also: * [[Example - HTML - Form with simple inputs]] * [[Example HTML form with form handler|$:/Example - HTML - Form with form handler]]
The ''fieldset element'' can be used to group related data in a form and puts a box around it. The `legend` element defines the caption for the `fieldset` element. For example: ``` <form action="/action_page.php"> <fieldset> <legend>Personal information:</legend> First name:<br> <input type="text" name="firstname" value="Mickey"><br> Last name:<br> <input type="text" name="lastname" value="Mouse"><br><br> <input type="submit" value="Submit"> </fieldset> </form> ```
A ''form handler'' accepts data from a [[form element|HTML form Element]] and is designated by the [[form's action attribute|HTML Form action Attribute]] and is normally a web page of some kind that can handle that data with a server side script. The form handler will by default send a [[POST request|HTTP Request Methods]]. See also: * [[HTML form with form handler|$:/Example - HTML - Form with form handler]]
The ''input element'' describes a type of input in a [[form element|HTML form Element]] and is described with `<input type="text" name="firstName">` and no closing tag. Each input element can and sometimes should have the following attributes: * `name` Each input should have a name attribute so it can be submitted. If the name attribute is omitted, it will not be sent at all. * `value` Each input element can also have a value which will be replaced with the typed value, and/or used in the form submission. * `placeholder` The placeholder attribute is used for instructions for the field * `required` Each input element can have a required attribute with no value that indicates the field is required. * `size` specifies the number of characters that the field should allow * A `type` attribute can/should be put on every input. The possible options are: ** [[text|HTML Form input Element > text Type]] ** `radio` which defines a radio button. Radio can have a `checked` identifier which signals the default checked radio button. Here is an [[example of using radio buttons in a form|Example - HTML - Form with simple radio buttons]]. Radio buttons can be grouped by using the same `name` property value for each. ** `checkbox` acts much the same way as radio, although with checkboxes. ** `date` allows a date picker to come up when that input field is in focus. ** `submit` which defines a submit button, that upon click, passes the form data to the [[form handler|HTML Form Handler]]. ** `color` ** `datetime-local` ** `email` ** `month` ** `number` defines a number input type. It can also have the `min` and `max` properties which designate the minimum and maximum values. For example `<input type="number" name="quantity" min="1" max="5">` ** `range` ** `search` ** `tel` ** `time` ** `url` ** `week` See also: * [[Example - HTML - Form with simple inputs]] * [[HTML Form label Element]] * [[Example - React - Reactive input binding to state]]
The ''text type'' of an HTML form input element creates a small text field. The default width is 20 characters. For example: ```html <input type="text" name="firstName" > ``` It seems that this type can have the same properties as other input fields for the most part. Some particularly useful ones are below: * `size`
The ''label element'' can wrap text for a specific [[form|HTML form Element]] control item, usually a name or label for a choice. This brings semantic meaning to the form. The `for` attribute on a label tag explicitly associates that label with the form control id and is used by readers. For example: ```xml <form> <label for="name">Name: <input type="text" id="name" name="nameInput"> </label> </form> ``` The label should contain the element that it is labeling.
The ''method attribute'' specifies the HTTP method to be used when submitting the data. The different options are below: * `get` This is the default, and when it is used, the form data will be submitted in the URL such as `/action_page.php?firstname=Mickey&lastname=Mouse`. Keep in mind the length of a URL is limited to 3000 characters. Never use get to send sensitive data. This is better for results like queries of something. * `post` Use this for sensitive data. Post has no size restrictions. For example: ``` <form action="/action_page.php" method="get"> ```
The ''target attribute'' of a [[form|HTML form Element]] specifies if the submitted result of the [[action attribute|HTML Form action Attribute]] will open in a new window, a frame, or in the current window. For example: `<form action="/action_page.php" target="_blank">` The different values are: * `_self` which will open in the current window, and is the default value if it is omitted * `_blank` which will open in a new window * `_parent` * `_top` * The name of an iFrame
The ''head element'' is put at the top of the document and typically contains metadata elements. Some elements that can/should be contained in a `head` element are below: * `title` * `style` <<list-links "[contains:contained-by[HTML Head Element]sort[title]]">> Always include a [[meta character encoding|HTML meta Element]]! Example: ```html <!DOCTYPE html> <html> <head> <!-- metadata elements --> </head> <body> <!-- page contents --> </body> </html> ```
The ''header element'' belongs within the `body` tag of a webpage and indicates the navigation links or the introduction of the page. It is written as `header`. See also: * [[HTML nav Element]]
''HTML Headings'' are indicated with `h1` through `h6`, and have semantic meaning when used on a page. For example screen-readers will read just headings above a certain level when reading to a person. This means the headings actually have meaning. Starting in HTML5, each section can have its own `h1` element. For example when you create an [[article element|HTML article Element]], it creates its own section, and therefore can have its own `h1` tag that is semantically meaningful. If the size of a heading should be changed, so that it doesn't fall in the hierarchy of h1, h2, h3, then change the size with CSS instead of messing up the flow yo. Haha.
The ''hgroup element'' is a [[sectioning element|HTML Sectioning Elements]] in HTML5 that can be used to put all the different parts of a [[heading|HTML Heading Elements]] into one element. For example if the heading has a tagline, subheading, and alternative title, it might be good to use an `hgroup` element.
A horizontal line can be created with the self-closing `<hr>` tag.
To assign an ''id attribute'' simply list the attribute, add a space, and set the id like so `<p id="hello"> Hello World </p>`. A ''class attribute'' can be declared the same way.
An HTML image can be inserting into a document using the `<img>` tag. It can also be contained by the [[figure element|HTML figure Element]]. The different attributes it can have are below: * The `src` attribute determines where the image should be sourced from. * The `alt` attribute determines what text-readers will say, and what will show when the image cannot be found. Per HTML5 spec, `alt` attributes are mandatory. If some text already describes the image, then the alt attribute can be set to an empty string such as `alt=""`. * The `height` and `width` attributes are also available. The simplest way to make an image appear "retina" and optimize for high-resolution displays, is to define the height and width of an image as only half what the original file is. See also: * [[Webpack Images]] * [[React Images]] * [[CSS max-width Property]] * [[CSS display Property]]
A ''link element'' can be included in a [[head element|HTML Head Element]]. There are two categories of links that can be created using the `link` element. * Links to external resources - These normally have a link relation or [[rel property|HTML rel Property]] set on them. * Hyperlink links to other documents
A ''list element'' is contained by `<ul></ul>`, then each list entry is contained by `<li></li>`. For example: ``` <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> ``` They can also be embedded within each other. For example: ``` <ul> <li>Coffee</li> <li>Tea <ul> <li>Black tea</li> <li>Green tea</li> </ul> </li> <li>Milk</li> </ul> ``` Which makes: <ul> <li>Coffee</li> <li>Tea <ul> <li>Black tea</li> <li>Green tea</li> </ul> </li> <li>Milk</li> </ul> See also: * [[CSS list-style-type Property]]
The ''main element'' is rendered just like a `div`, but it marks the main part of the content of a page. This is useful for accessibility features. There should only be one `main` tag per page.
The ''meta element'' can be included in a [[head element|HTML Head Element]]. It is good to set the character set here. Always include a character set! This prevents vulnerabilities. For example: ```html <meta charset="utf-8" /> ```
The ''nav element'' is normally contained in the [[header element|HTML header Element]], and contains links for navigation on a website.
Some elements apply a style to a certain portion of an element, without having to employ any CSS. For example using the `<strong></strong>` tag will automatically apply the CSS `font-weight: bold;` to that portion of the element. Others are listed. `<u></u>` creates an underline and applies `text-decoration: underline;` to the CSS. `<em></em>` creates italicized text and applies the CSS `font-style: italic;` `<s></s>` creates strike-through text and applies the CSS `text-decoration: line-through;`.
The ''onchange attribute'' is an [[HTML DOM event|HTML DOM Events]] and can be set equal to some JavaScript code as a string. This is normally used on fields of a [[form|HTML form Element]]. This event triggers when focus leaves the field.
The ''onlclick attribute'' is an [[HTML DOM event|HTML DOM Events]] and can be set equal to some [[JavaScript|JavaScript]] code as a string. For example: ```html <button onclick="alert(1)">Try it</button> ```
An ''option element'' is part of a [[select element or dropdown|HTML select Element]] and indicates a single option in the dropdown. For example: `<option value="testOption">Test Option</option>`. The `value` indicates the value for the select element.
The ''HTML parsing algorithm'' is fairly complex and involves a lot of moving parts. It starts with the [[web browser rendering engine|Web Browser Rendering Engines]] which is in charge of this parsing. The general flow of the algorithm can be described in the image below from the HTML5 spec: [img width=350 [https://i.imgur.com/hq3LLsh.png]] See also: * [[PDF on how browsers work - Has a very thorough description of this algorithm|https://drive.google.com/file/d/1j6o6PtL6NWA8WBETdVRXNBB9nUFOAx6O/view?usp=sharing]]
The ''rel property'' or ''link relation'' can be set on a few different [[html element|HTML Elements]] types. Namely, [[links|HTML link Element]], [[anchors|HTML Anchor Element]], and `area` elements. The different values that the `rel` property value can be set to are [[here at this link|https://html.spec.whatwg.org/multipage/links.html#linkTypes]]. Some notes are taken about them below though: * `rel="stylesheet"` this means that the `href` attribute will then be the location of the stylesheet. By default the type is `text/css` so no need to specify a `type` attribute if that is the case. * `rel="alternate"` means that another version of the website exists somewhere else, namely at the following `href` location. This could be an RSS feed, or a PDF version. Something along those lines. * `rel="shortcut icon"` can be used to set the icon on the bar that is shown at the top of the web page, like in the tab area in chrome. See also: * [[A great description of the different rel values|http://diveinto.html5doctor.com/semantics.html#rel-stylesheet]]
The ''root element'' in an [[HTML element|HTML Elements]] that is actually the outermost ''html element'' that contains all of a webpage. It is not required, but can be helpful to have. Also that is according to suggested standards to have it. The `html` element can have the following notable properties: * `lang` which can be set to a string such as `en`. `xml:lang` is not needed because `lang` defines that as well.
The ''script Element'' can be used to embed some script into the page. By default this type is JavaScript. Some attributes that the `script` element can have are below: * `src="jsFile.js"` * `defer` Which can be set by itself as a boolean indicating true. This means that the script will only execute once the page is loaded, aka the [[onload event|HTML DOM onload Event]] is triggered. This is primarily useful if the js file is doing some kind of DOM manipulation. If it isn't, then you don't need to use this. * `async` Will indicate that the script should be executed as soon as it is loaded, but still allow the parser to load the HTML content. See also: * [[Process - Importing JavaScript into HTML]]
The ''section element'' groups thematically related content on a webpage. For example if a book is an [[article element|HTML article Element]], then each chapter is a `section`. When there's no relationship, use a `div`.
''Sectioning elements'' are a personally made up name for elements that act like a div, although work to help separate out content on a web-page. This is especially helpful for accessibility. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'HTML Sectioning Elements' sort[title]>> </div>
The ''select element'' creates a ''dropdown'' that has a set number of options within it. Within the select element, there are [[option elements|HTML option Elements]] that indicate the different options of the dropdown. Here is an [[example of a dropdown|Example - HTML - Select element or dropdown]]. The different properties of a select element are below: * `form` which can have the value of a [[form's|HTML form Element]] id to pair it with that form. * `name` specifies the name of the dropdown. * `multiple` specifies that multiple options can be selected. * `autofocus` specifies that the drop down should get focus when the page loads. * `required` specifies that the dropdown is required for the form to be submitted if `form` is designated * `size` specifies the number of visible options in the dropdown list at once.
A ''span element'' is a way to change the properties of in-line text, without adding any default visual elements to it. It is a good way to add a hook to a certain sentence, or word, or add an element id to a certain sentence for example. `<span id="newSpan"> This is a sentence. </span>`
The ''HTML standard specification'' is held in the page below: https://html.spec.whatwg.org/multipage/ When this was put here originally, it was updated on the same day as of 7:51am. So this is a __VERY__ active living document.
The ''style attribute'' of an element indicates all the different CSS properties of any given element. An example of this being used in javascript is in the note. Editing this in javascript changes the style attribute of an HTML element. Using the #style_css_Text_method allows the style property of an element to be edited all at once. This is much better because each time a style property is changed, the page re-renders. Meaning that if all of them are changed at once, it only has to re-render once. An example is also in the note.
The ''circle element'' takes a `cx` and `cy` attribute which stands for circle x and circle y. Those coordinates position the center of the circle. It also takes the `r` attribute which indicates the radius. For example: ``` <svg> <circle r="5" cx="100" cy="100"></circle> </svg> ```
The ''svg element'' can be used to contain [[SVG|Scalable Vector Graphics (SVG)]]s. An `svg` element can have the following attributes: * `width` this is an attribute, and not a style. This is because the proportion of width to height will be the same regardless of the scale. * `height` Within an SVG element, multiple other SVG element components can be slotted in. Typically they are given an `x` and `y` attribute that indicates their position within the height and width starting from the top left point, which is at 0,0. Those are listed in the table of contents below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'HTML svg Element' sort[title]>> </div> Keep in mind that the color of individual svg elements is done by the `fill` attribute and not the `color` css style. See also: * [[Complete reference from Mozilla MDN for svg Elements|https://developer.mozilla.org/en-US/docs/Web/SVG/Element]]
The ''rect element'' has the following attributes: * `x` * `y` * `width` * `height` * `fill` which can be set to most [[programming colors|Programming Colors]].
The ''text element'' allows text to be placed in an SVG. It needs an `x` and `y` attribute which indicates the start of the text at the bottom left point, and any of the text from within the element will be displayed on the SVG.
The ''title element'' can be slotted as the content of another svg element and sets the tooltip to the content of that element. For example: ``` <svg> <rect> <title>This will be a tooltip</title> </rect> </svg> ```
Certain elements automatically get keyboard focus when a user tabs through a page. Those things are links and form controls and it goes in the order that they are presented in the HTML. The same functionality can be added to other elements by placing `tabindex="0"` on them. A negative `tabindex` can be used for programmatically access content and could be covered in another guide. Adding `tabindex` also enables the [[CSS pseudo-class|CSS Pseudo-Classes]] `:focus` to work on the p tag. Using a `tabindex` value of 1 will bring keyboard focus to that element first, then it cycles through the values 2, 3, 4, etc before moving to the default `tabindex="0"` items.
The ''textarea element'' is good for allowing the user to input text in a large text box. `textarea` has the following notable attributes: * `rows` * `cols` * `disabled` if set then it will disable the text area. This attribute does not take a value * `wrap` wraps long lines, the value can be `hard` or `soft`. Maybe some experiments can determine what that means. * `name` for use with a [[form|HTML form Element]].
The ''time element'' can be used to indicate a standardized format of date and time inline with text on a web page. `time` is mainly useful for accessibility. The `datetime` attribute of `time` can be used to indicate the standardized date/time. For example: `<time datetime="2013-02-13">last Wednesday</time>`.
''Unknown elements'' in HTML can come up when the browser does not recognize the element being used. By default the element is treated as if it has the [[display inline CSS rule|CSS display Property]] set on it.
The ''video element'' is an [[HTML element|HTML Elements]] that can be used to embed video in your web page.
The ''viewport'' is a user's visible area of a web page.
''HTML5 Storage'' is part of the [[HTML|HTML]] 5 spec and if it is supported in your browser, then your [[browser|Web Browsers]] will have a [[localStorage property|JavaScript window.localStorage Object]] on the [[global window object|JavaScript window Object]]. It will also have a [[localStorage object|JavaScript window.localStorage Object]] it seems. Both `localStorage` and `sessionStorage` can be used by using the following methods: * `setItem(key, value)` * `getItem(key)` * `clear()` See also: * [[Web Development State]]
It looks like a cache is possible with [[HTTP|HyperText Transfer Protocol (HTTP)]]. ''HTTP caching'' is possible while using a few different headers that are passed around in [[requests|HTTP Request Headers]] and [[responses|HTTP Response Headers]]. Primarily, when some data is sent from a resource using the [[REST|Representational State Transfer (REST)]] methodology, an ''e-tag'' is sent along which a hash of the data indicating it's state. The e-tag should change if the data is changed at all. Next time the client sends the same request, the e-tag is passed along and if the server sees that nothing has been changed, it just sends a 304 [[HTTP response code|HTTP Status Codes]] indicating that it wasn't modified, so still use the same one you have. The problem with e-tags is how they are generated. The generation is determined per-server it seems like. So if something is load-balanced, different servers might be generating different e-tags unless a standardized approach is taken. You can use the [[standardized server configs|https://github.com/h5bp/server-configs]] to help with this. Primarily, cache policy is determined by the [[Cache-Control header|HTTP Request Headers > Cache-Control]]. See also: * [[HTTP standards document RFC 7234 HTTP/1.1 Caching|https://tools.ietf.org/html/rfc7234]] * [[Google guide to HTTP caching|https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching]]
''Cookies'' can be sent in a [[response header|HTTP Response Headers]] by a server and sent by a [[request header|HTTP Request Headers]] to a website. It seems like they are simply key value pairs with some kind of expiration attached to them optionally. Some typical uses are below: * Focusing advertising * Identifying a user during an e-commerce session Some different types of cookies are below: * Session cookies - Only used in memory in that session of the browser instance. So you close the browser and the cookie is gone * Persistent cookies - Lasts for a specified period of time * Secure cookies - Only transmitted over HTTPS by indicating a secure flag. If HTTP is attempted, it is not sent. Protects against snooping or cookie stealing. * HttpOnly cookies - Prevents reading cookie values in JavaScript by giving HttpOnly flag. Avoids having malicious JS compromise cookie info evidently. * 3rd Party vs. Samesite - Whether a cookie can originate from a domain other than where it is served from. Some important guidelines for cookies are below: * Never put sensitive information in cookies * If cookies are not critical to your task, don't use them. Avoid developing apps that fail when cookies are disabled. See also: * [[Good example of using cookies in Node.js|https://github.com/kgary/ser421public/blob/master/NodeHttp/cookieecho.js]] * [[Web Development State]] * [[NPM Packages > cookie-parser]]
Everything on the web has a ''MIME type'' for the most part. With the exception of browsers that support internet servers back to 1993. Those servers use content sniffing. Other than that though, everything has a MIME type. This is built under the `Content-Type` section of the header block of the HTTP packet. Some different MIME types are below: * `text/html` * `image/jpeg` * `image/png` * `multipart/form-data` - This is the default for binary files * `application/json`
''HTTP proxies'' take requests and send them to another server. They then receive the response and send it back to the original client. The primary difference is the first line in the [[request header|HTTP Request Headers]] to a proxy, that should be the full resource URL of the server.
An ''HTTP request header'' is included with each [[HTTP|HyperText Transfer Protocol (HTTP)]] request. An example of one is below: ``` <Request Method> /tutorials/other/top-20-mysql-best-practices/ HTTP/1.1 Host: net.tutsplus.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: PHPSESSID=r2t5uvjq435r4q7ib3vtdjq120 Pragma: no-cache Cache-Control: no-cache ``` Some details of lines that can be included are below: * First line must be included. ** `<Request Method>` can be replaced with the desired [[request method|HTTP Request Methods]]. ** The local path of the requested resource ** The version of HTTP being used * `Accept` indicates the [[MIME types|HTTP Header MIME Types]] that the browser can handle. This is normally comma delimited. * `Accept-Encoding` are the different formats that encoding can be accepted in by the browser * `Authorization` is used for user identification for password-protected pages * [[Cache-Control|HTTP Request Headers > Cache-Control]] * `Connection` ** `keep-alive` means that it can handle persistent connections. More details on this in the [[HTTP tiddler|HyperText Transfer Protocol (HTTP)]]. * `Content-Length` Is the number of bytes in the response * `Cookie` can be [[cookies|HTTP Cookies]] previously sent to the client * `Host` indicates the host given an original URL. This is a required header in HTTP 1.1. * `From` can be the email address of the sender or something. This must be user configurable because of privacy concerns. * `Referer` is the URL of referring web page. Useful for tracking traffic. This can be very easily spoofed though so don't put too much weight on it. * `User-Agent` is a string identifying the browser making the request. This is best used for identifying the category of a client. This can also easily be spoofed. See also: * [[MDN documentation on HTTP headers|https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers]]
''Cache-Control'' is an HTTP Request Header that can be used to determine how [[HTTP caching|HTTP Caching]] is handled for the request. Some different values it can be set to are below: * `no-cache` means that the origin server must be checked for validation before using the cached copy * `no-store` means that the cache should not store anything about the client request or server response. * `public` means that the response can be cached if it is marked as public. Not sure what this entails yet. * `private` means that the cache should be for a user. For example a user's browser can cache this but a [[CDN|Content Delivery Network (CDN)]] cannot cache the page. A great flowchart for determining cache policy is below: [img width=500 [https://i.imgur.com/FPFteDf.png]] //credit: [[Google developer site on http caching|https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching]]//
''HTTP request methods'' are fundamental to [[HTTP|HyperText Transfer Protocol (HTTP)]] and are the underlying methods that can be used to indicate a desired action to be performed on a given resource. The most common are things like `GET`, `POST`, `PUT`, and `DELETE`. * `GET` typically means getting a resource from a [[URI or URL|Uniform Resource Identifier (URI)]], and data can be sent with the URL to do things like query a search engine. * [[POST|HTTP Request Methods > POST]] * OPTIONS * HEAD - requests that the server send back the response headers only and not the actual resource. * PUT - This is normally good to use if you know the endpoint ahead of time. In other words, the endpoint doesn't change. It is very similar to POST though. If this is successful, it is good to use [[code 201|HTTP Status Codes]]. If it would result in the server being in an unstable state, then code 409 is good to use. * DELETE - If a successful delete, then a [[code 204|HTTP Status Codes]] should be sent back. * CONNECT * TRACE * PATCH - This is supposed to be a partial update to a [[resource|Uniform Resource Identifier (URI)]]. Every HTTP request method is paired with an [[HTTP request header|HTTP Request Headers]]. See also: * [[MDN documentation on http request methods.|https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods]]
`POST` is used to send data to create new items in a database, such as a new user, or a new blog post. `POST` is the default method used to send data with [[HTML forms|HTML form Element]]. In a post request, the data doesn't appear in the URL, and is hidden in the request body. HTML is all transferred in plain text, so that information is visible if it is not encrypted. An example of a `POST` request is below: ``` POST /path/subpath HTTP/1.0 From: john@example.com User-Agent: someBrowser/1.0 Content-Type: application/x-www-form-urlencoded Content-Length: 20 name=John+Doe&age=25 ``` * `Content-Length` is just a character count of the content that proceeds it. * `Content-Type` can be `multipart/form-data` as well which is the default for binary files. It seems that this can be any of the [[HTTP MIME types|HTTP Header MIME Types]]. The content seems to be in the exact same form as a query string. When a page is sent back as a result of a POST request, it is typically a bad idea to bookmark it or refresh it because the data is sent a second time. This is where the [[PRG pattern|Web Dev Concepts > PRG Pattern]] can help.
A ''HTTP response header'' follows an [[HTTP request header|HTTP Request Headers]]. An example is below: ``` HTTP/1.0 200 OK Date: Fri, 31 Dec 1999 23:59:59 GMT Content-Type: text/html Content-Length: 1354 <html> <body> <h1>Happy New Millennium!</h1> (more file contents) . . . </body> </html> ``` Some notable parts of the request header are below: * The first line is required and is called the "status line" with the following in order ** The HTTP version such as `HTTP/1.1` ** A [[response status code|HTTP Status Codes]] such as `200`. ** The english "reason phrase" describing the status code, such as `OK`. * `Cache-Control` has some history * `Content-Encoding` * `Content-Length` this is the number of bytes in the body and is very helpful for programs reading the response. * `Set-Cookie` The [[cookies|HTTP Cookies]] that the browser should remember. * `Content-Type` The [[MIME type|HTTP Header MIME Types]] of the content returned. For example if a web page was requested, this is typically `text/html`. * `Expires` - This is the time at which the document should be considered out of date and thus should no longer be cached. * `Last-Modified` - The last time the document was changed. * `Access-Control-Allow-Origin` is one of the [[CORS|Cross-Origin Resource Sharing (CORS)]] headers. If set to `*` it allows any source for the request. See also: * [[MDN documentation on HTTP headers|https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers]]
''HTTP status codes'' generally come back in levels: * 100s is some kind of information * 200s means success ** `200` means everything is fine ** `201` means that the resource has been created from [[PUT|HTTP Request Methods]] or [[POST|HTTP Request Methods > POST]]. The location header returned should be set to the [[URI|Uniform Resource Identifier (URI)]] of the new resource. ** `204` means that there is no content. This is good to use on a successful [[DELETE method|HTTP Request Methods]] * 300s means redirection ** `301` means moved permanently ** `303` is a good one to use if you are redirecting the user for internal website purposes. Like the result of a POST request done being processed or something. * 400s means some kind of client error ** `404` means page not found ** `409` means that completing the operation would leave the server resource in an unstable state. This is normally returned on a PUT or [[PATCH|HTTP Request Methods]] request. * 500s means a server error See also: * [[Full list of status codes|https://www.restapitutorial.com/httpstatuscodes.html]]
This is generally what people think of as "color". If a spectrum of colors is pictured from left to right, hue is where the color fits along this line.
The ''Humphrey Quality Plan'' includes a product introduction, product plans, process descriptions, quality goals, then risks associated with the product development and risk management methods. The product introduction is a description of the product, it's intended market, and the expectations for the product. Product plans are the critical release dates and responsibilities for the product along with distribution and product servicing. Process descriptions are the development and service processes that should be used. Quality goals are the goals for the product including identification and justification of critical quality attributes. Risks are the key risks that might affect product quality and the actions to be taken to mitigate them. - Good link for Humphrey's idea of a good quality plan https://www.win.tue.nl/~wstomv/quotes/humphrey-psp.html
Some examples of a ''hybrid operating system architecture'' are iOS and Android. Here is an [[image of roughly how those OSs are organized|$:/Image - Hybrid operating system architecture examples]].
''HTTP'' is a [[connection-oriented|Networks > Connections]] (or connectionless in some cases) protocol used to transfer data over the [[internet protocol|Internet Protocol (IP)]]. It is an [[application layer|TCP/IP Network Layers > Application Layer]] protocol. HTTP is [[synchronous|Synchronous]] and always [[stateless|Stateless (Computer Science)]] as well. When an HTTP connection is made, the browser can ask for the connection to persist so that future connections are faster. This is very helpful if the browser will keep requesting new data from the server. The server needs to accept this request though. Normally HTTP servers will have some certain number of connections they will allow to persist, which would be the "connection-oriented" communication lines, and a certain number that are "connectionless". The format of [[request|HTTP Request Headers]] and [[response headers|HTTP Response Headers]] follow this general structure: * Initial line, which is different for a request vs a response * zero or more header lines * a blank line * An optional message body. This could be something like a file, query data, or query output. All server-side web applications follow a general pattern which is actually the [[template design pattern|Template Method Design Pattern]]: # Process HTTP request headers - Controller # Process HTTP request parameters - such as the query string - Controller # Route the request to the appropriate handler to do the work - Model # Assemble the response payload - View # Set the response headers - Controller # Write the response - And flush / close the output stream - Controller Some nice HTTP request generating tools you can use are below: * Firefox: REST Easy plugin * https://postwoman.io/ * https://reqbin.com/ Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'HyperText Transfer Protocol (HTTP)'>> </div>
The ''ID selector'' uses a `#` for example `#para1`. An id cannot start with a number.
''IDLE'' is an integrated development environment for python, which seems to be built in when you install it. IDLE has a shell window, and a text-editor window. If you use ALT + P you can move through prior inputs in the Shell from most current to oldest. ALT + N cycles back forward.
The ''if statement'' allows a program to carry out different actions depending on the nature of the data to be processed. The syntax is in the note. Make sure that if you are duplicating code in your if statement, move it out of the if statement. The condition must evaluate to true or false, or it must be a boolean value. An else clause is always matched with the closest if statement, unless separated with braces, and the first statement following the if will be executed only without braces. This is why its good to always use braces. <<_note """ ``` if (condition) // don't put a semicolon here { statements; } // if no "else" is needed if (condition) { statements; } else { statements; } ``` """>>
[img width=700 [https://i.imgur.com/Oiw94KY.jpg]]
[img width=700 [https://i.imgur.com/4oiaeIm.png]]
[img width=700 [https://i.imgur.com/ZCKZrUx.png]]
[img width=700 [https://i.imgur.com/paZ9m7G.png]]
[img width=600 [https://i.imgur.com/N5q6h8U.png]]
[img width=900 [https://i.imgur.com/OoRUim2.png]]
[img width=700 [https://www.quackit.com/pix/stock/css_grid_placement_with_grid_items.png]]
[img width=700 [https://i.imgur.com/wjqdv1n.png]]
[img width=700 [https://i.imgur.com/uVVGFBN.png]]
[img width=700 [https://i.imgur.com/AATiYZd.png]]
[img width=700 [https://i.imgur.com/MfjCkXj.png]]
[img width=700 [https://i.imgur.com/QfVPBHX.png]]
[img width=700 [https://i.imgur.com/w27AHoW.png]]
[img width=700 [https://i.imgur.com/CFKL2W6.png]]
[img width=700 [https://i.imgur.com/tAi8PTX.png]]
[img width=700 [https://i.imgur.com/05BE1Yr.png]] these are used on [[this example relational database|Image - Example relational database state]].
[img width=700 [https://i.imgur.com/zMYqboe.png]]
[img width=700 [https://i.imgur.com/Zo5xSvU.png]]
[img width=700 [https://i.imgur.com/mtskPQq.png]]
[img width=700 [https://i.imgur.com/5jR5IsY.jpg]] [img width=700 [https://i.imgur.com/10LP3ce.jpg]]
[img width=700 [https://i.imgur.com/2jBmn5d.png]]
[img width=700 [https://i.imgur.com/kdmojQZ.png]]
[img width=700 [https://i.imgur.com/EVRmRQH.png]]
[img width=700 [https://i.imgur.com/lN3z1Nv.png]]
[img width=700 [https://i.imgur.com/sK7q3mM.png]]
[img width=700 [https://i.imgur.com/NqoOtYS.png]]
[img width=700 [https://i.imgur.com/2DehwOT.png]]
[img width=800 [https://i.imgur.com/g528zDA.png]]
[img width=500 [https://i.imgur.com/TbQdRFa.png]]
[img width=700 [https://i.imgur.com/bgHf24V.png]]
[img width=700 [https://i.imgur.com/j4lxdad.png]]
[img width=700 [https://i.imgur.com/QQbeNax.jpg]]
hide
''Incremental delivery model'': Where system increments are delivered to the customer to avoid premature design commitments. This supports change avoidance and change tolerance. In this process, customers identify and outline the most important services in order to the least important services. Then some number of delivery increments is then defined with each increment providing a sub-set of system functionality, with highest priority services accomplished first. This has many advantages, one of which is that customers can use the early increments and gain value from it very early in the process because it is a working system and not a prototype. This also means that the most important system requirements are tested the most with customers, meaning they will be more robust over time. This process does conflict with some contracts though where a complete system is defined, meaning any increment won't satisfy it until the last, unless the contract can be negotiated. It's also a challenge when replacing an older system because users want all the functionality of the old system right away. This process may not work well for very large systems, safety-critical systems, and where software depends on hardware development. This process does work for projects that have new technology.
''Incremental Design'' is where an existing product or process is developed further. A design is refined when testing has found weaknesses in the design.
''Incremental development'' is an [[agile software process|Agile Software Processes]] and is based on developing an initial implementation then after getting user comment, evolving the software through several versions until an adequate system has been developed. Here is an example image of how an incremental development process may look: {{$:/Image - Incremental Development}} This is important to any agile approach and is better than [[waterfall|Waterfall Model (Software Engineering)]] for most business, e-commerce, and personal systems. Some positive sides: * Cheaper and easier to make changes when you encounter an issue. * Customers can comment on demonstrations of the software and see how much has been implemented. This is useful because customers find it difficult to judge progress from software design documents. * This also means that customers are able to use and gain value from the software earlier than is possible with a [[waterfall process|Waterfall Model (Software Engineering)]]. Some negative sides: * The process is not visible meaning that it is difficult to measure progress because there are no deliverables. * It is not cost-effective to product documents for every version if it is developed quickly. * Further iterations of the software tend to corrupt the structure of the software originally intended, unless everything is refactored each time which is very costly.
An ''incrementer'' is used to just add 1 to a number. The design is much like a [[carry-ripple adder|Carry-Ripple Adders (Embedded Systems)]] but with only half adders. It is shown here: https://drive.google.com/file/d/1X6FqjY5k0l1oZLUxWHQomPesM-kBKuyo/view?usp=sharing
Indexed lists have elements that can be referenced using a numeric index starting at 0 with the front and going until the end of the list where rear indicates the number of elements, and the next available spot. The indexes are adjusted to stay in order and contiguous. Basic methods are in the note. Basic Indexed List Operations: addToFront addToRear addAfter remove contains
''Indirect proofs'' do not start with the premises and end with the conclusion. One type of indirect proof is ''proof by contraposition''. This takes the idea that the conditional statement $$p \to q$$ is equivalent to it's contrapositive $$\neg q \to \neg p$$. So you start the proof by assuming $$\neg q$$ is true. This is useful when it seems that a [[direct proof|Direct Proofs]] might not succeed. First try a direct proof though.
''Induction'' is a math tool to prove that [[recursion|Recursion]] is correct.
infix notation is where the operator is placed in between the operands. Such as 4 + 5.
In practice, the [[proofs|Mathematics > Proofs]] of theorems designed for human consumption are almost always ''informal proofs'', where more than one rule of inference may be used in each step, where steps may be skipped, where the axioms are being assumed and the rules of inference used are not explicitly stated. Computers are perfectly happy producing formal proofs using automated reasoning systems while informal proofs explain things to humans. Informal proofs are natural language essays, with paragraphs of suitable length, and grammatically correct sentences including correct punctuation. This leads the reader logically through the ideas. A good informal proof is concise.
This is a topic tiddler for ''information security'' or ''InfoSec'' for short. Some basic terms for InfoSec are below: * [[Security|Security (General)]] * Asset - Something that has value * [[Threat|Threat (Security)]] * [[Threat agent|Threat Agent]] * [[Vulnerability|Vulnerability]] * [[Exploit|Exploit]] * [[Risk|Risk (Security)]] InfoSec protects information that has value, or has ''CIA'': * Confidentiality - The avoidance of the unauthorized disclosure of information ** [[Authorization|Authentication]] ** [[Authentication|Authorization]] * Integrity - The property that info has if it was not altered ** Backups ** Checksums - Such as some kind of [[hashing function|Hashing Functions]] ** Data correcting codes * Availability - The property that information is accessible and modifiable in a timely fashion by those authorized to do so ** Physical protections ** Computational redundancies Some different security perspectives are below: * Physical security - Lock and key security * System security - Ensuring the host system cannot be hacked * Data security - Ensuring unauthorized parties can't view sensitive data * Enterprise security - If the system is compromised, the entire enterprise network and services are not compromised. This sounds like [[layering|InfoSec Defenses]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Information Security'>> </div>
''Defenses'' in information security are based on five fundamental principles: # Layering - One defense mechanism may be relatively easy for an attacker to circumvent. Instead, a security system should have layers. # Limiting - Access to information reduces the threat against it. # Diversity - Layers must be different # Obscurity - Not revealing the type of computer, operating system, software, and network connection a computer uses. # Simplicity - A secure system should be simple for those on the inside to understand and use.
''Inheritance'' is a relationship between a more general class called the superclass and a more specialized class, called the subclass. The subclass inherits data and behavior from the superclass. For example, every car is a vehicle. Here the car would be the sub class, and the vehicle would be the superclass. Philosophically make sure that all your classes follow the "is a" idea. Use a single class for variation in values, use inheritance for variation in behavior. Subclasses cannot cannot make a superclass method more restricted. For example if the superclass has a public method, it will have to stay public, and cannot be made private in the subclass. But a subclass can change the variable's accessibility.
''Inheritance'' in Python can be done by using the base class as a parameter for a class definition. For example: `class InheritingClass(BaseClass):` where the BaseClass is imported into the appropriate scope so that the inheriting class can pick it up.
An ''inode'' or ''index node'' is a data structure in a [[Unix|Unix]]-style file system which describes a file system object such as a file or directory. See also: * [[Wikipedia article on inodes|https://en.wikipedia.org/wiki/Inode]]
''Inorder tree traversal'' is where the left child of the node is visited, then the node, then any remaining child nodes going left to right (if it is more than a binary tree).
''Insertion sort'' - This takes about n^2 comparisons to sort a list of size n. This is therefore a sort of order n^2. This algorithm takes each value sequentially and pulls it down the list until the next value is lower than it. This way higher valued objects stay at the higher indexed side. ``` public static void insertSort(int[] numbers) { for (int i = 1; i < numbers.length; i++) { int key = numbers[i]; int pos = i; // shift larger values to the right while (pos > 0 && numbers[pos - 1] > key) { numbers[pos] = numbers[pos -1]; pos--; } numbers[pos] = key; } } // End of insertSort method ```
An [[object|Object (Computer Science)]] or instance of a class stores it's data in ''instance variables (attributes, data members, fields, or data fields)''. You specify instance variables in the class declaration. An example is in the note, and so is the syntax for instance variables. An instance variable declaration consists of a modifier (instance variables should always be private), the type of the instance variable (such as int) and the name of the instance variable (such as value). Each object of a class has it's own variables. The private specifier restricts access of a variable to methods of it's own class. The default specifier for an instance variable, and class is "private package". Make sure to not initialize the variable when it is declared. Save initialization for the constructor. If a variable is not handled by any constructor when an object is created, it gets assigned a default value (0, null, false). ``` public class ClassName { private typeName variableName; . . . } public class Counter { private int value; . . . ) ```
An ''integer'' is a whole number without a fractional part. Called int. Use this type for numbers that cannot have a fractional part. Integers hold 32 bits (4 bytes). Such as cows, people etc. This can represent numbers up to a little over two billion.
An ''integral'' represents the area "under" the curve of a function. When taking the integral of a function, each polynomial will gain a power, and be multiplied by a fraction with the denominator being equal to the newly gained power. For example: $$ \int^{6}_{5}(x^2 + x - 2)dx = \frac{x^3}{3} + \frac{x^2}{2} - \frac{2x}{1} \bigg|^6_5 $$
In 1958 the ''Integrated Circuit'' (IC) was invented, which was a chip with numerous tiny transistors. Early ICs only had about 10 transistors while current technology allows several billions. ICs in the 1960s held 10s of transistors and are now called SSI (Small scale integration). As transistors shrank in the 1960s and 70s, the ICs could hold hundreds of transistors, known as MSI (medium scale integration). 1970s corresponded to thousands of transistors known as LSI (large scale integration), and the 1980s had VLSI (very large scale integration). Small transistors are made using photographic methods. Light sensitive chemicals are laid over silicon then a focusing lens focuses light extremely finely like a microscope in reverse and lays lines for the chips canals where some kind of conductive material like copper or gold will be laid.
''IDE''s are environments built to assist with programming in any number of languages.
''Integration testing'' is where groups of sub-systems, or sets of classes that are tested as a complete system to make sure all requirements are met. This is slightly different than [[system testing|System Testing]] in that it is more specific. This can be an orderly progression of testing in which software and/or hardware elements are combined and tested until the entire system has been integrated. This can be supplemented with a system design document. The goal is to test all the interfaces and interactions among the subsystems. Here is an [[image of a possible system hierarchy|$:/Image - 3 Layer Testing Design]] where integration testing can occur. Integration testing strategy determines the order in which the subsystems are selected for testing and integration. Different types of integration testing strategies are below: <<list-links "[tag[Integration Testing]sort[title]]">> Steps for integration testing: # Based on the strategy, select a component to be tested. [[Unit test|Unit Testing]] all the classes in the component. # Put the component together and do any preliminary fix-up such as creating drivers and stubs. # Test functional requirements. Define test cases that exercise all use cases with the selected component. # Test the subsystem decomposition. So define the test cases that exercise all the dependencies. # Run performance tests. # Keep records of the test cases and testing activities. # Repeat steps 1 to 7 until the full system is tested.
''Interface design'' is defining interfaces between system components. With a precise interface, a component can be used without other components having to know how it is implemented.
Internal style sheets are simply done by adding a `<style></style>` tag to the HTML document for document specific styles.
''Internet and cloud forensics'' is a new type of [[digital forensics|Digital Forensics]] that focuses on things like Google Drive records and web-based email stored on servers owned by a third party.
''ICMP'' uses raw IP [[datagrams|Network Datagrams]] to relay error messages between hosts.
The ''Internet Protocol'' or ''IP'' is a protocol for the [[internet layer|TCP/IP Network Layers > Internet Layer]]. It is two protocols: [[IPv4|IPv4]] and [[IPv6|IPv6]]. These two protocols determine how exchanges are made and how ''IP addresses'' are defined. In both protocols, data is sent across the internet layer in packets called [[datagrams|Network Datagrams]]. There are [[IPv4 datagrams|IPv4 Datagrams]] and [[IPv6 datagrams|IPv6 Datagrams]]. Some protocols can be built on top of IP. The most common is [[ICMP|Internet Control Message Protocol (ICMP)]].
''Interpretation'' of a program is the direct execution of one statement at a time sequentially by the interpreter during runtime. This is contrary to the [[compilation |Compilation]] process where all statements are translated first before execution. The advantage of interpretation is that the separate program processing phase of compiling is skipped. This allows the program to be updated without stopping the system! Interesting. The speed of interpretation is slower than compiled programs, also it may be very slow for very [[high-level languages|High-Level Programming Languages]]. Interpretation is not efficient if multi-module programming is used. It is efficient for small source programs. [[LISP|Lisp Programming Language]] and [[Prolog|Prolog Programming Language]] use this kind of translation.
The ''interpreter design pattern'' is used to define the grammar for instructions that form part of a language or notation. The patterns are processed in a tree hierarchy similar to that of a [[composite design pattern|Composite Design Pattern]]. The terminal statements become leaf nodes, and the non-terminal statements become internal nodes. This is while allowing the grammar to be easily extended. This pattern is considered inefficient and is rarely used. It is good for processing mathematical problems though.
An ''interrupt service routine'', ''ISR'', or ''interrupt handler'' is a section of code that runs when an [[interrupt|Assembly Interrupts]] occurs. In [[PLP|Progressive Learning Platform (PLP)]], there are temporary interrupt registers which are meant for use inside an ISR. Those are `$i0`, and `$i1`. When jumping back to the [[interrupt return address|Assembly Interrupt Return Address]], the branch delay slot needs to be used to enable interrupts again. This can be done like so: ``` jr $ir sw $i0, 0($s1) ``` where `$s1` is the [[interrupt controller mask|PLP Tool Interrupt Controller Registers]] and `$i0` is the bit value to enable the devices that need to be enabled.
An ''interrupt vector'' is a pointer to the location of the [[interrupt service routine|Interrupt Service Routine (ISR)]]. It is initialized by loading the address of the ISR label into register `$iv`. For example: ``` li $iv, my_isr_label ``` The [[interrupt return address|Assembly Interrupt Return Address]] is set automatically after an interrupt occurs.
The ''intersection'' of A and B is the set containing the elements that are in both A and B. So it is the theoretical equivalent of and. In other words: $$~A \cap B = \{ x | x \in A \land x \in B\}~$$ Two sets are called ''disjoint'' if their intersection is the empty set, or in other words, they have no common elements. The intersection of a collection of sets is the collection of all elements that are contained in all of the sets. $$~A_1 \cap A_2 \cap ... \cap A_n = \bigcap\limits_{i = 1}^{n} A_i~$$
''Invariants'' describe the rules about a system state.
The ''inverse'' of $$p \to q$$ is $$\neg p \to \neg q$$
''iOS'' is an operating system for mobile developed by [[Apple|Apple]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'iOS'>> </div>
''iOS app development'' is typically done in [[Xcode|Xcode]] it seems. Different methodologies and techniques are in the table of contents. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'iOS App Development'>> </div>
No idea what the ''# keyword'' does yet. All that is clear as of now is that it can be used for things like [[#selector|iOS App Development > #selector Expression]].
The ''#selector expression'' can be used to return a `Selector` value for a provided method.
An ''app delegate'' in [[iOS app development|iOS App Development]] is an object in your app, or more specifically, it is an instance of the `AppDelegate` class. This instance creates the window where your app's content is drawn and that provides a place to respond to state transitions within the app. The `AppDelegate.swift` source file has two primary functions: * It defines the `AppDelegate` class * It creates the entry point to your app and a run loop that delivers input events to your app. This work is done by the `UIApplicationMain` attribute which appears just above the top of the `AppDelegate` class as `@UIApplicationMain`. The `AppDelegate` class implements the [[UIApplicationDelegate protocol|iOS UIKit > UIApplicationDelegate Protocol]] which has quite a few stubs to implement. These stubs can be left out, or implemented if you want to do something when those actions occur. See also: * [[SceneDelegate|iOS App Development > SceneDelegate.swift File]]
''App extensions'' allow an app to appear and offer its resources or tools in different places throughout the operating system. Some different ''extension points'' that an app can be used with are below: * Share * Today * Photo Editing * Custom Keyboard * File Provider * Actions * Document Provider * Finder Sync * Audio You create an extension by adding a new [[target|iOS App Development > Targets]] to an app. An app that contains one or more extensions is called a ''containing app''. See also: * [[Apple overview of app extensions|https://developer.apple.com/app-extensions/]]
''App settings'' can be created for your app in two different ways: * Display preferences inside the app * Use a [[settings bundle|iOS App Development > Settings.bundle File]] to manage preferences from the Settings app. It looks like no matter which option you choose, the settings are accessed with the [[UserDefaults class|Swift Foundation > UserDefaults Class]]. See also: * [[Apple preferences and settings programming guide|https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/UserDefaults/Preferences/Preferences.html]]
The ''application object'' is responsible for managing the life cycle of the app. The [[app delegate|iOS App Development > App Delegate]] is typically assigned to the application object.
''Auto Layout'' is a layout engine that can be used to automatically adjust views using constraints. In [[Xcode|Xcode]], this can be done by highlighting all of the view elements you want to put into a stack view, then clicking the button in the bottom right hand corner that looks like a box with an arrow pointing into it. This will embed it in a stack view. The idea is to try and use stack views as much as possible. Auto Layout will automatically re-adjust your views sizes based on internal or external changes: * External Changes ** User resizes the window ** The device rotates ** You want to support different size classes ** You want to support different screen sizes * Internal Changes ** The content displayed by the app changes ** The app supports internationalization ** The app supports [[Dynamic Type|iOS App Development > Dynamic Type]]. See also: * [[Constraints|iOS App Development > Constraints]] * [[Apple guide to Auto Layout|https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/AutolayoutPG/index.html#//apple_ref/doc/uid/TP40010853-CH7-SW1]]
A ''bundle'' in [[iOS app development|iOS App Development]] is a directory in the file system that groups executable code and related resources such as images and sounds together in one place. For example, applications and frameworks are bundles.
A ''constraint'' is typically used to define how a view should be positioned relative to another. See also: * [[Apple's documentation on the anatomy of a constraint|https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/AutolayoutPG/AnatomyofaConstraint.html#//apple_ref/doc/uid/TP40010853-CH9-SW1]] * [[Apple guide to working with constraints in the interface builder in Xcode|https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/AutolayoutPG/WorkingwithConstraintsinInterfaceBuidler.html#//apple_ref/doc/uid/TP40010853-CH10-SW1]]
''Container view controllers'' are one of two types of [[view controlelrs|iOS App Development > View Controller]] and collect information from other view controllers (child view controllers) and present it in a way that facilitates navigation or presents the content of those view cotrollers differently. Some examples of container view controllers are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'iOS App Development > Container View Controllers'>> </div> When you make a view contoller take over the view of the original, this makes the new view controller a ''presented view controller'' and the original view controller the ''presenting view controller''. Normally a connection is created between the two controllers so the presented view controller can reference the presenting view controller. UIKit may override a couple of these connections though for performance it sounds like. See also: * [[Removing a child view controller|Process - iOS App Development > Removing a Child View Controller]]
''Content view controllers'' are one of two types of [[view controlelrs|iOS App Development > View Controller]] and manage a discrete piece of your app's content. Content view controllers manage all of their views by themselves. Most custom view controllers are content view controllers. The most common parent classes of content view controllers are as follows: * `UITableViewController` for when you view controller's main view is a table * `UICollectionViewController` when your view controlelr's main view is a collection view. * `UIViewController` for all other view controllers.
At the top of each view hiearchy is a ''content view''. The content view can contain multiple [[views|iOS App Development > Views]].
''Core Data'' is a framework that you can use to manage the model layer objects in your application. Core Data depends on the [[schema|Relational Database Schema]] you create to describe your application's entities, their properties, and the relationships between them. The schema is a managed object model represented by an instance of [[NSManagedObjectModel|iOS Core Data > NSManagedObjectModel Class]]. To quickly implement Core Data into an existing project, you can make a new Single View app with Core Data, then copy the code from the `AppDelegate.swift` file to the bottom of your own AppDelegate file, then import CoreData and you're good to go for the most part. Checkout [[this guide|https://welcm.uk/blog/adding-core-data-to-an-existing-project-in-xcode-10-swift-4]] for more details. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'iOS App Development > Core Data'>> </div> See also: * [[Apple's Core Data development guide|https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/CoreData/index.html]]
A ''delegate'' is an object that acts on behalf of, or in coordination with, another object. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'iOS App Development > Delegate'>> </div>
''Dynamic Type'' is a setting that can be set by a user of an iPhone. It sets the font size and style universally for the phone. If your app supports this, then your app will adjust views and text to match it at runtime.
A ''gesture recognizer'' is an object that you attach to a [[view|iOS App Development > Views]] that allows the view to respond to the user the way a control does. You can add a gesture recognizer to a view by searching the object library for one, then dragging it onto the view that it needs to be attached to. The gesture recognizer will then appear in the dock at the top of a [[storyboard|Xcode Storyboard]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'iOS App Development > Gesture Recognizers'>> </div>
The ''main dispatch queue'' is a globally available [[serial dispatch queue|Apple Serial Dispatch Queues]] that is used to execute tasks on the app's main thread. Some rules apply to the main queue: # Don't do any long processes on the main queue # Only interact with Views on the main queue
''Outlets'' are a reference to an object in a [[storyboard|Xcode Storyboard]] from a source code file. They let you modify the [[views|iOS App Development > Views]] directly in the code.
A ''property observer'' observes and responds to changes in a property's value. For example: ``` @IBInspectable var starSize: CGSize = CGSize(width: 44.0, height: 44.0) { didSet { setupButtons() } } @IBInspectable var starCount: Int = 5 { didSet { setupButtons() } } ``` In this example, `didSet` is the property observer.
A ''scene'' represents an on-screen content area. Typically when a user is looking at the device, there is only one scene open at a time. A scene also typically represents one [[view controller|iOS App Development > View Controller]]. For scene transitions, see [[segue|iOS App Development > Segue]].
The ''SceneDelegate.swift file'' contains the declaration for the `SceneDelegate` class. The `SceneDelegate` class contains a single property: `window` which is declared as `var window: UIWindow?` so it is an [[optional|Swift Optional Values]]. This property stores a reference to the app's window which is where all the content is drawn. See also: * [[App Delegate|iOS App Development > App Delegate]]
A ''seque'', said like "segway", represents a transition from one [[scene|iOS App Development > Scene]] or [[view controller|iOS UIKit > UIViewController Class]] to the next one. A seque can also represent a transition between one [[storyboard|Xcode Storyboard]] to another. To create a segue in a storyboard you can control click and drag from one item in a view controller such as a button, and drag to another view controller. This will make the segue connection for you. There are different types of segues, shown below: * Show (Push) - This displays the new content over the original. This works with a [[NavigationController|iOS UIKit > UINavigationController Class]]. * Show Detail (Replace) - It doesn't seem that you quite have a reason yet to use this one. * Present Modally * Present as Popover When passing data through a segue, it seems that you can create some code from within the [[ViewController|iOS UIKit > UIViewController Class]] that will prep that data. This would be done by the ViewController.prepare method. See also: * [[Old Apple guide to using segues|https://developer.apple.com/library/archive/featuredarticles/ViewControllerPGforiPhoneOS/UsingSegues.html]]
The ''Settings.bundle file'' is a [[bundle|iOS App Development > Bundles]] that can be used to configure the settings for a particular app. See the [[app settings tiddler|iOS App Development > App Settings]] for more general info on settings. This file should go in the top level directory of your app. The contents of the bundle should be the following: * The `Root.plist` file which determines how your app settings will show up in the iOS Settings app. There should be documentation for your specific version on how to set this up. * Additional `.plist` files for your settings windows. * Additional images if they are used See also: * [[A very good guide by Apple on creating your Settings.bundle file|https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/UserDefaults/Preferences/Preferences.html]]
A ''target'' in iOS app dev is a group of settings and files that combine to form a product. That product could be an application. It could also be an [[app extension|iOS App Development > App Extensions]].
Using the ''UIApplicationMain attribute'' is equivalent to calling the `UIApplicationMain` function and passing your [[AppDelegate|iOS App Development > App Delegate]] class's name as the name of the delegate class. In response, the system creates an [[application object|iOS App Development > Application Object]]. The system also creates an instance of the `AppDelegate` class and assigns it to the application object. Finally, the system launches the app.
The ''UIKit framework'' provides the core objects needed to build apps for [[iOS|iOS]] and tvOS. Every UIKit app is required to have app icons, and a launch screen [[storyboard|Xcode Storyboard]]. A UIKit app follows the [[Model View Controller architectural pattern|Model-View-Controller (MVC) Architectural Pattern]] where the following sections apply: * Model ** Data objects ** Document * Controller ** [[UIApplication|iOS UIKit > UIApplication Class]] ** [[Application Delegate|iOS App Development > App Delegate]] ** [[View Controller|iOS App Development > View Controller]] * View ** [[UIWindow|iOS UIKit > UIWindow Class]] ** Views and UI Objects Here is an image of how the different components connect to each other: [img width=600 [https://i.imgur.com/pE9WfHm.png]] Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'iOS App Development > UIKit Framework'>> </div>
A ''view controller'' is an object that manages a single [[content view|iOS App Development > Content Views]] and coordinates the flow of information between the app's data model and the views that display that data. All view controller objects in iOS development are of type [[UIViewController|iOS UIKit > UIViewController Class]] or one of its subclasses. There are two types of view controllers: * ''[[Content View Controllers|iOS App Development > Content View Controllers]]'' * [[Container View Controllers|iOS App Development > Container View Controllers]] View controllers typically have access to a `window` object of type [[UIWindow|iOS UIKit > UIWindow Class]]. This represents the UI. A view controller has a few different states which can be plugged into as they are changing. Checkout [[this image for a summary of the different states|$:/Image - iOS View Controller Methods]] and [[UIViewController|iOS UIKit > UIViewController Class]] for details on the methods. Every view controller has a single root view that encloses all of the view controller's content. The view controller always has a reference to its root view, and each view has strong references to their subviews. [[Outlets|iOS App Development > Outlets]] allow direct access to subviews. View controllers are responder objects. This seems to imply that they can be used as a reciever of events. It is common to make a view controller a view's [[delegate|iOS App Development > Delegate]]. For example a view controller could implement the `UITextFieldDelegate` [[protocol|Swift Protocols]] so that it can take actions when that view has some event occur. When this is done, the view controller can have the view in question's delegate property set to the current view controller within the `viewDidLoad` function. For example: ``` class ViewController: UIViewController, UITextFieldDelegate { // code override func viewDidLoad() { super.viewDidLoad() // Handle the text field's user input through delegate callbacks nameTextField.delegate = self } // code } ``` Evidently the view controller can use something called a size class to change how things are presented depending on the space avaialble on the device. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'iOS App Development > View Controller'>> </div>
Some ''view controller design tips'' from Apple are below: * Use systemp-supplied view controllers whenever possible. ** The MediaPlayer framework provides view controllers for playing and managing video, and for choosing media assets fromt the user's library. ** The AVFoundation framework provides a view controller for displaying media assets. * Make each view controller an island. This means to make sure that no view controller have knowledge of the internal workings or view hierarchy of another view controller. ** If two view controllers need to pass data back and forth then do so using explicitly defined public interfaces. * Use the root view only as a container for other views. * Know where your data lives. This seems obvious. Keep stuff separate like the in [[MVC paradigm|Model-View-Controller (MVC) Architectural Pattern]]. * Adapt to changes. So adapt to different screen sizes.
A ''view'' is an object that is used to construct your user interface and display content to the user. See also: * [[View Controller|iOS App Development > View Controller]]
The ''Core Data stack'' is a collection of framework objects that act as the mediator between the objects in your application and external data stores. The stack consists of the following: * The persistent container to hold everything together and simplify creation - An [[NSPersistentContainer object|iOS Core Data > NSPersistentContainer Class]] * The managed object context - An [[NSManagedObjectContext object|iOS Core Data > NSManagedObjectContext Class]]. * The persistent store coordinator - An [[NSPersistentStoreCoordinator object|iOS Core Data > NSPersistentStoreCoordinator Class]] * The managed object model - An [[NSManagedObjectModel object|iOS Core Data > NSManagedObjectModel Class]]
The ''NSEntityDescription class'' is part of the [[Core Data framework|iOS App Development > Core Data]] and is an object that describes an entity, aka a [[table|Relational Data Model > Relations]]. This is not the actual table, but rather a description of what it should be. This will include relationships and the sort. To get an actual object of the table, see `insertNewObject` static method. Some notable static methods of the `NSEntityDescription` class are below: * `insertNewObject(forEntityName: String, into: NSManagedObjectContext) -> NSManagedObject` can be used to return an [[NSManagedObject object|iOS Core Data > NSManagedObject Class]] representing the table. ** `forEntityName: String` can be a String that represents the entity's name. For example "Employee". ** `inManagedObjectContext` is an [[NSManagedObjectContext object|iOS Core Data > NSManagedObjectContext Class]] See also: * [[Apple documentation on the NSEntityDescription class|https://developer.apple.com/documentation/coredata/nsentitydescription]]
The ''NSFetchedResultsController class'' is part of the [[Core Data framework|iOS App Development > Core Data]] and is a controller that you can use to manage the results of a Core Data fetch request and display that data to the user. See also: * [[Apple documentation on the NSFetchedResultsController class|https://developer.apple.com/documentation/coredata/nsfetchedresultscontroller]] * [[Apple guide on connecting the model to views with Core Data|https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/CoreData/nsfetchedresultscontroller.html#//apple_ref/doc/uid/TP40001075-CH8-SW1]]
The ''NSManagedObject class'' is part of the [[Core Data framework|iOS App Development > Core Data]] and acts a scratch pad for changes to be made to a particular [[entity|iOS Core Data > NSEntityDescription Class]]. This is basically a temporary representation of a [[table|Relational Data Model > Relations]] while changes are being made. To implement custom logic for an entity, you can subclass `NSManagedObject`. This is only required if you want to make custom logic though, otherwise it is not needed. For example you can implement custom properties. See [[this example|$:/Example - Swift - Creating custom properties for an NSEntityDescription class]] on how to do that because you need to use the [[@NSManaged keyword|Swift NSManaged Attribute]]. See also [[this apple documentation for which methods should not be overridden|https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/CoreData/LifeofaManagedObject.html#//apple_ref/doc/uid/TP40001075-CH16-SW1]]. There are a lot. An instance requires two elements: An [[NSEntityDescription instance|iOS Core Data > NSEntityDescription Class]], and an [[NSManagedObjectContext|iOS Core Data > NSManagedObjectContext Class]] reference. The `NSManagedObjectContext` instance tracks the changes made. To retrieve an `NSManagedObject` object you can use the [[insertNewObject function of the NSEntityDescription class|iOS Core Data > NSEntityDescription Class]]. Once this is done and changes are made, use the [[NSManagedObjectContext save method|iOS Core Data > NSManagedObjectContext Class]]. To delete a managed object, you can use the [[NSManagedObjectContext delete method|iOS Core Data > NSManagedObjectContext Class]]. See also: * [[Apple guide on creating and saving managed objects|https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/CoreData/CreatingObjects.html#//apple_ref/doc/uid/TP40001075-CH5-SW1]] * [[Apple documentation on the NSManagedObject class|https://developer.apple.com/documentation/coredata/nsmanagedobject]]
The ''NSManagedObjectContext class'' is part of the [[Core Data framework|iOS App Development > Core Data]] and represents a group of related model objects that represent an internally consistent view of one or more persistent data stores within a particular context. The `NSManagedObjectContext` class keeps track of changes to the object graph so that it can support undo and redo functionality. If things are chosen to be saved, then it ensures the validity of the state. Some notable methods are the following: * `delete(_ object: NSManagedObject)` will delete a given NSManagedObject instance from the entity. Note that this change needs to be saved. * `save()` will try to save the changes made to the entity. This could throw an error, so here is an [[example of using this method|$:/Example - Swift - Using the NSManagedObject save method]].
The ''NSManagedObjectModel class'' is part of the [[Core Data framework|iOS App Development > Core Data]] and is an object that describes a [[schema|Relational Database Schema]]. A model contains one or more [[NSEntityDescription objects|iOS Core Data > NSEntityDescription Class]] representing entities (aka tables) in the schema.
The ''NSPersistentContainer class'' is part of the [[Core Data framework|iOS App Development > Core Data]] and encapsulates the [[Core Data stack|iOS Core Data > Core Data Stack]] in your app. See also: * [[Apple documentation on the NSPersistentContainer class|https://developer.apple.com/documentation/coredata/nspersistentcontainer]]
The ''NSPersistentStoreCoordinator class'' is part of the [[Core Data framework|iOS App Development > Core Data]] and helps an instance of [[NSManagedObjectContext|iOS Core Data > NSManagedObjectContext Class]] access persistent data stores. See also: * [[Apple documentation on the NSPersistentStoreCoordintator class|https://developer.apple.com/documentation/coredata/nspersistentstorecoordinator]]
The ''CLLocation class'' can be used to contain geographical location and altitude of a device, with values indicating the accuracy of the measurement.
The ''file structure'' in [[iOS|iOS]] is centered around the idea that the user should not be able to access it. Each iOS app gets its own "sandbox" file directory. This directory consists of the following: * [[Bundle|iOS App Development > Bundles]] Container * Data Container * iCloud Container Some key directories are below: * `AppName.app` is the app bundle. It is not write-able. * `Documents/` is used to store user-generated content. These are files that should be able to be shared or manipulated by the user. This is backed up by iTunes and iCloud. * `Documents/Inbox` is used for files that your app was asked to open by outside entities. The mail program uses this for example. Your app can read and delete these files but not edit them or create new ones. * `Library/` is the top level directory for any files that are not user data files. The contents of this directory are backed up by iTunes and iCloud. * `Library/Application support/` is a good place to put files that the app uses to run but should remain hidden from the user. * `Library/Caches` is a good place to put files that can be downloaded again or regenerated. * `tmp/` This directory is used to write temporary files that do not need to persist between launches of your app. Your app should remove files from this directory when they are no longer needed, but the system may purge this directory when your app is no longer running. This is not backed up by iTunes and iCloud. To prevent a file from being backed up it looks like something like `-[NSURL setResourceValue:forKey:error:]` can be used? No idea what that means really. Make sure to prevent any files that can be re-created or downloaded from being backed up. See also: * [[Apple file system programming guide|https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html]]
The ''MapKit framework'' can be used to display map or satellite imagery directly from your app's interface. See also: * [[Apple documentation the MapKit framework|https://developer.apple.com/documentation/mapkit/]]
Every iOS app has exactly one instance of the ''UIApplication class''. When an app is launched, the system calls the `UIApplicationMain` function which creates a [[singleton|Singleton Design Pattern]] `UIApplication` object. Thereafter, you can access the object by calling the `shared` class method. The `UIApplication` object is also the basis for app scheduling, managing foreground to/from bacgkround, app creation and desctruction, and manages the event loop as well as other high-level app behaviors. Apps can also recieve push notifications through the `UIApplication` object.
The ''UIApplicationDelegate protocol'' is a [[protocol|Swift Protocols]] that is typically imlemented by the [[app delegate class|iOS App Development > App Delegate]] of your app. This is the primary form of communication for iOS 12 and earlier. iOS 13 and later uses `UISceneDelegate`. The state transiitions for `UIApplicationDelegate` are generally one of the following: * Not running ** This is generally the starting point for an app. It means that it has not been launched or has been terminated ** The app can move from here to "inactive", "suspended" or "background". * Suspended - Is in the background and is not executing code. The system automatically moves apps to this state. * Background - Is in the background and not visible, but is still executing code * Inactive - In the foreground and visible, but not recieving events. * Active - Is running in the foreground and is receiving events. [img width=700 [https://i.imgur.com/iPDaj3w.png]] Some important methods of the `UIApplicationDelegate` protocol are below: * `optional func application(_ appication: UIApplication, willFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool` can be used to determine what happens with your app when it is about to finish launching. This is a good spot to intiialize data structures, verify the app has the resources it needs to run, perform one-time setup, connect to any critical services, or check the launch options directory for why your app was launched. ** `application` is your [[UIApplication object|iOS UIKit > UIApplication Class]]. ** `launchOptions` is the directory that can be used to find out why the app launched. There are more details in the [[Apple documenation about this|https://developer.apple.com/documentation/uikit/app_and_environment/responding_to_the_launch_of_your_app#2922740]]. * `optional func application(_ appication: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool` * `applicationDidBecomeActive` - This means that the app is about to become foreground * `applicationWillResignActive` - The app will transition away from being foreground * `applicationDidEnterBackground` - The app is now running in the background * `applicationWillTerminate` - This isn't called if the app is suspended. It is only called when the app is being terminated. See also: * [[Link to the Apple documentation on UIApplicationDelegate|https://developer.apple.com/documentation/uikit/uiapplicationdelegate]]
The ''UIButton class'' is a subclass of [[UIControl|iOS UIKit > UIControl Class]]. Buttons have 5 different states: * `.normal` * `.selected` * `.highlighted` * `[.highlighted, .selected]` aka focused * disabled See also: * [[Apple documentation on the UIButton class|https://developer.apple.com/documentation/uikit/uibutton]]
The ''UIControl class'' is a subclass of [[UIView|iOS UIKit > UIView Class]]. This is the base class for controls, which are visual elements that convey a specific action or intention in response to user interactions. Some important functions are below: * `func addTarget(Any?, action: Selector, for: UIControl.Event)` associates a target object and action method with the control. ** `Any?` can be `self` for example if the control that needs a target added is the current control being manipulated ** `action: Selector` can use a `#selector` expression to return a `Selector` value for the provided method. This is an older way of providing methods, but some methods like this one, still use it. Some subclasses of `UIControl` are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'iOS UIKit > UIControl Class'>> </div>
The ''UIDocument class'' seems to be a class that can be used to save and retrive data on the device.
The ''UINavigationBar class'' is used to create a navigation bar at the top of an app. This is typically created and used by the [[UINavigationController class|iOS UIKit > UINavigationController Class]]. See also: * [[Apple documentation on the UINavigationBar class|https://developer.apple.com/documentation/uikit/uinavigationbar]]
The ''UINavigationController class'' is a [[container view controller|iOS App Development > Container View Controllers]] and supports navigation through a hierarchical data set of views. The ''navigation controller'' consists of a [[UINavigationBar object|iOS UIKit > UINavigationBar Class]] at the top that shows the current location of the app in the hierarchy. If the current location is not the root of that interface a back arrow will appear at the top left. Here is an [[image of how that might look|$:/Image - Sample Navigation Interface iOS]]. A `UINavigationController` object manages its child view controllers using an ordered array known as the ''navigation stack''. This stack is an [[NSArray type|Swift NSArray Class]]. The first view controller in the stack is the root view controller. The last is the topmost item on the stack. To dismiss a view controller while it is on the navigation stack use `popViewControllerAnimated()` cited below. The contents of the navigation bar are built dynamically using [[UINavigationItem objects|iOS UIKit > UINavigationItem Class]] associated with the view controllers on the navigation stack. This means that each view controller used with a `UINavigationController` object must have an associated, I assume, public `UINavigationItem` object. What should it be named though? If you subclass `UINavigationController` you must call the `init(navigationBarClass:toolbarClass:)` method. Some properties of a `UINavigationController` object are below: * `weak var delegate: UINavigationControllerDelegate? { get set }` This can be your own custom delegate that conforms to the [[UINavigationControllerDelegate protocol|iOS UIKit > UINavigationControllerDelegate Protocol]]. Some notable methods of a `UINavigationController` object are below: * `setNavigationBarHidden(_ hidden: Bool, animated: Bool)` will hide the navigation bar. * `popViewControllerAnimated(_ animated: Bool)` - Will pop the view controller that this is called within off of the navigation stack. For example: `self.navigationController?.popViewControllerAnimated(true)`
The ''UINavigationControllerDelegate protocol'' can be used to make your own custom delegate for a [[UINavigationController object|iOS UIKit > UINavigationController Class]] to change the navigation controller's behavior when a view controller is pushed or popped from the [[navigation stack|iOS UIKit > UINavigationController Class]].
The ''UINavigationItem class'' can be used to present a `UINavigationItem` object to a [[UINavigationController object|iOS UIKit > UINavigationController Class]] when it wants to retrieve it. The particular property to set is the [[UIViewController.navigationItem property|iOS UIKit > UIViewController.navigationItem Property]]. On the other hand, you could just set the [[title property|iOS UIKit > UIViewController Class]] which is a String. Some of the notable properties of a `UINavigationItem` object are below: * `var leftBarButtonItem: UIBarButtonItem? { get set }` - This can be used to set what the button for the left side of the [[UINavigationBar|iOS UIKit > UINavigationBar Class]] will look like. * `var rightBarButtonItem: UIBarButtonItem? { get set }` * `var backBarButtonItem: UIBarButtonItem? { get set }` See also: * [[Apple documentation on the UINavigationItem class|https://developer.apple.com/documentation/uikit/uinavigationitem]]
The ''UIPageViewController class'' can be used to present a paged view of content. This allows gestures to navigate through content as if it were a book.
The ''UIPickerView class'' can be used to set up a spinning wheel of values that the user can pick from. This a way to create an ''iOS drop down menu'' of sorts. Here is a pretty fully featured example of making a drop down sort of feature: ```swift import UIKit class ViewController: UIViewController, UIPickerViewDelegate, UIPickerViewDataSource, UITextFieldDelegate { @IBOutlet weak var textBox: UITextField! @IBOutlet weak var dropDown: UIPickerView! var list = ["1", "2", "3"] public func numberOfComponents(in pickerView: UIPickerView) -> Int{ return 1 } public func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int{ return list.count } func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? { self.view.endEditing(true) return list[row] } func pickerView(_ pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int) { self.textBox.text = self.list[row] self.dropDown.isHidden = true } func textFieldDidBeginEditing(_ textField: UITextField) { if textField == self.textBox { self.dropDown.isHidden = false //if you don't want the users to se the keyboard type: textField.endEditing(true) } } } ```
The ''UIPopoverController class'' can be used to create a "popover" of content inside the app. Like a little notification thing.
The ''UIScrollView class'' can be used to create a window in which the user can scroll through content. Remember when you are dealing with the Xcode UI constraints crap that you need to update the frames when you make changes every now and then. Also use the navigation view to set constraints. Some notable properties are below: * `contentInset: UIEdgeInsets { get set }` See also: * [[This amazing guide that finally fixed the holy mother fucking shit scrollview|https://www.freecodecamp.org/news/how-to-use-auto-layout-with-uiscrollview-for-ios-b94b8687a4cc/]]
The ''UISplitViewController class'' is a [[container view controller|iOS App Development > Container View Controllers]] and supports displaying content of two view controllers in a "master-detail" kind of format.
The ''UIStoryboardSegue class'' seems to be used as the class that makes transitions in a [[storyboard|Xcode Storyboard]], aka [[segues|iOS App Development > Segue]]. Some notable properties of a `UIStoryboardSegue` object are below: * `destination` is the destination object of the segue. This could be a [[UIViewController object|iOS UIKit > UIViewController Class]] or some subclass of it. * `identifier` is the String identifier of the segue as defined in the storyboard.
The ''UITabBarController class'' can be used to create a tabbed view at the bottom (or top I think) to allow the user to swap between different [[view controllers|iOS UIKit > UIViewController Class]]. To assign view controllers, and subsequently the tabs to a `UITabBarController` object you can add the view controllers in the order in which you would like them to be seen to the `viewControllers` property. One way to share data between tabs is to create a subclass of `UITabBarController` that has a variable you can use to store data. Then subclass that custom subclass of `UITabBarController` for each To customize how a view controller shows up in the tab bar, you can create a new instance of a [[UITabBarItem class|iOS UIKit > UITabBarItem Class]] and assign it to the view controller's [[tabBarItem property|iOS UIKit > UIViewController.tabBarItem Property]]. If no item is provided, then by default no picture will be used and the [[title property|iOS UIKit > UIViewController Class]] will be used for the name. Some properties of a `UIViewcontroller` object are below: * `var viewControllers: [UIViewController]? { get set }` - This can be added onto in the order in which you would like the tabs to be seen. * `selectedViewController` can be used to initially set which view controller should be used. This should normally be set as standard procedure when using `UIViewController`.
The ''UITabBarItem class'' can be used to specify how a [[view controller|iOS UIKit > UIViewController Class]] will look in a [[UITabBarController|iOS UIKit > UITabBarController Class]].
The ''UITableView class'' can be used to present data using rows arranged into a single column. Each row in the table view is provided by `UITableViewCell` objects. A reference to the `UITableView` object seems to exist inside of the [[UITableViewController class|iOS UIKit > UITableViewController Class]]. `UITableView` objects are provided data from a data source object. A data source object is an object that implements the [[UITableViewDataSource protocol|iOS UIKit > UITableViewDataSource Protocol]]. Some key properties of a `UITableView` object are below: * `var dataSource: UITableViewDataSource?` is the [[UITableViewDataSource object|iOS UIKit > UITableViewDataSource Protocol]] that you would like to assign to this `UITableView` object. See also: * [[Apple documentation on the UITableView class|https://developer.apple.com/documentation/uikit/uitableview]]
The ''UITableViewController class'' can be used to control an instance of a [[UITableView class|iOS UIKit > UITableView Class]]. To add an edit button you can set the [[navigationItem property|iOS UIKit > UIViewController.navigationItem Property]] to `self.editButtonItem`. Then implement `func tableView(tableView:commit:forRowAt)` in the [[UITableViewDataSource object|iOS UIKit > UITableViewDataSource Protocol]]. Some key properties are below: * `tableView` is the `UITableView` object associated with the controller. * `navigationItem` is a See also: * [[Apple documentation on the UITableViewController class|https://developer.apple.com/documentation/uikit/uitableviewcontroller]]
The ''UITableViewDataSource protocol'' can be used to provide the data for a [[UITableView object|iOS UIKit > UITableView Class]]. It seems that a good class to implement this protocol would be the main [[view controller|iOS UIKit > UIViewController Class]] of the app if that is the one that manages the data primarily. It looks like the following methods need to be implemented: * `func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int` ** `numberOfRowsInSection section: Int` is the section number. It isn't quite clear why they named it like this. If there is only one section, then this can be ignored. ** Should return the number of rows in the given section. * `func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell` should return a cell that is configured with the data needed. First a prototype cell needs to be configured in your [[storyboard|Xcode Storyboard]]. This can be done by just going to where the `UITableView` is shown, then clicking on the prototype and configuring its settings. Then it can be referenced while creating a new cell. The new cell should be created using `tableView.dequeuReusableCell(withIdentfiier:for:)`. ** `cellForRowAt indexPath: IndexPath` can be used to find the index. For example `indexPath.row` will provide that value for you. ** This should return a cell. See also: * [[Apple documentation on the UITableViewDataSource protocol|https://developer.apple.com/documentation/uikit/uitableviewdatasource]]
The ''UITextField class'' can be used to createa a UI Text Field in an app. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'iOS UIKit > UITextField Class'>> </div>
The ''UITextFieldDelegate protocol'' can be used as the [[delegate|iOS App Development > Delegate]] of the [[UITextField class|iOS UIKit > UITextField Class]]. It defines the following optional methods: * `func textFieldShouldReturn(_ textField: UITextField) -> Bool` * `func textFieldDidEndEditing(_ textField: UITextField)`
The ''UIView class'' seems to represent every type of [[view|iOS App Development > Views]] for iOS Development. Some subclasses of `UIView` are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'iOS UIKit > UIView Class'>> </div>
The ''UIViewController class'' is an object that manages a [[view hierarchy|iOS App Development > Content Views]] for your UIKit app. See [[view controller|iOS App Development > View Controller]] for some overall info about them. The `UIViewController` methods are summarized below: * `viewDidLoad()` Called when the view controller's [[content view|iOS App Development > Content Views]] is created and loaded from a [[storyboard|Xcode Storyboard]]. This is only called once in the life of the view controller. This is a good spot to perform initialization. ** It looks like you are supposed to call `super.viewDidLoad()` first in this function. * `viewWillAppear()` is called just before the view controller's content view is added to the app's view hiearchy and just after `viewDidLoad()`. It is called every time the view appears. * `viewDidAppear()` * `viewWillDisappear()` is called just before the view disappears. This is usually when the user navigates away from the view. This is a great spot to hide the keyboard, cancel network requests, save the state, or cancel existing timers. * `viewDidDisappear()` * `present(_: animated: completion:)` will present another view controller. This creates a relationship betweeen the presenting view controller, and the presented view controller. This relationship remains in place until the presented view controller is dismissed. ** `_` is the view controller to display ** `animated` can be a `Bool` and indicates if the view controller should animate in. ** `completion` can be a function which should be ran after the view controller completes. This can be `nil` if nothing needs to execute. * `didRecieveMemoryWarning()` is a warning that occurs when they system is starting to get low on memory. You can use this chance to remove objects from memory that are easy to create later. For example things that are cached. It is important to free as much memory as possible at this time or the system may termiante the app entirely. * [[prepare|iOS UIKit > UIViewController.prepare Method]] The `UIViewController` properties are below: * `modalPresentationStyle` is evidently some kind of style that can be applied to a view controller. Here is an [[image of some different presentation styles that can be used|$:/Image - Presntation styles for UIViewController]]. Some different constants this can be set to are below: ** `UIModalPresentationPopover` - A popover kind of style that looks like [[this image here|$:/Image - iOS Popover Presentation Style]]. See also [[this link to documentaiton on how to use popovers|https://developer.apple.com/library/archive/featuredarticles/ViewControllerPGforiPhoneOS/PresentingaViewController.html#//apple_ref/doc/uid/TP40007457-CH14-SW13]]. * [[navigationItem|iOS UIKit > UIViewController.navigationItem Property]] * `title` which is a string and can be used to set what a [[UINavigationController|iOS UIKit > UINavigationController Class]] will display for this particular view controller. * [[tabBarItem|iOS UIKit > UIViewController.tabBarItem Property]] * `tabBarController` will retrieve a reference to the nearest ancestor that is a [[tab bar controller|iOS UIKit > UITabBarController Class]] in the view controller hierarchy. See also: * [[Apple documentatino on creating different layouts with view controllers|https://developer.apple.com/library/archive/featuredarticles/ViewControllerPGforiPhoneOS/PresentingaViewController.html#//apple_ref/doc/uid/TP40007457-CH14-SW1]]
The ''navigationItem property'' of the [[UIViewController class|iOS UIKit > UIViewController Class]] has the following declaration: ``` var navigationItem: UINavigationItem { get } ``` So it is a [[UINavigationItem object|iOS UIKit > UINavigationItem Class]].
The ''prepare method'' can be used to configure and send any data from the source [[UIViewController object|iOS UIKit > UIViewController Class]], to the next view controller before a [[segue|iOS App Development > Segue]] occurs. The declaration for this function is below: ```swift func prepare(for segue: UIStoryboardSegue, sender: Any?) ``` * `for segue: UIStoryboardSegue` Is a [[UIStoryboardSegue object|iOS UIKit > UIStoryboardSegue Class]] that represents the [[segue|iOS App Development > Segue]] that is being triggered. Note that `for` in this case is not a keyword. Just a variable name. Here is an [[example of using this method|$:/Example - Swift - Usingthe UIViewController.prepare method]]. See also: * [[Apple documentation on the UIViewController.prepare function|https://developer.apple.com/documentation/uikit/uiviewcontroller/1621490-prepare]]
The ''tabBarItem property'' of the [[UIViewController|iOS UIKit > UIViewController Class]] class can be used to set a [[UITabBarItem object|iOS UIKit > UITabBarItem Class]] to it for customization of how the view controller will look in a [[UITabBarController|iOS UIKit > UITabBarController Class]].
The ''UIWindow class'' seems to represent an object that is the user interface.
''IPv4'' is the 4th version of the [[Internet Protocol|Internet Protocol (IP)]]. Data is sent in IPv4 with [[IPv4 datagrams|IPv4 Datagrams]]. The following IP addresses are reserved: * Addresses that begin with `10.` (Class A Internal), `172.16.` through `172.31.` (Class B Internal), and `192.168.` (Class C Internal) can only be used on internal networks. * Addresses that begin with `127.` mean they are a loopback address. They always point to the local computer. Normally this has a nick name which is `localhost`. * An address that uses the same number for each of the four bytes such as `255.255.255.255` is a broadcast address. Packets sent to this address are received by all nodes on the local network. They are not routed beyond the local network. This is how computers on a network find a DHCP server and get assigned an IP address. The following ranges of (it seems like global) IP addresses are separated into classes: |''Type''|''Address Range''| |Class B|128.0.0.0 - 191.255.255.255| |Class C|192.0.0.0 - 223.255.255.255| |Class D|224.0.0.0 - 239.255.255.255| |Class E|240.0.0.0 - 247.255.255.255| It might be good to record what each of these classes are for.
''IPv4 datagrams'' use 32-bit addresses. IPv4 datagrams contain a header between 20 and 60 bytes long and a payload that contains up to 65,515 bytes of data.
''IPv6'' is the 6th version of the [[Internet Protocol|Internet Protocol (IP)]]. Data is sent in IPv6 with [[IPv6 datagrams|IPv6 Datagrams]]. The following [[addresses|Networks (Computer Science)]] are reserved: * Addresses that begin with `::1` are a loopback address. * Addresses that begin with `127.` mean they are a loopback address. They always point to the local computer. Normally this has a nickname which is `localhost`.
''IPv6 datagrams'' use 128-bit addresses and adds a few other technical features to assist with routing. IPv6 datagrams contains a larger header and up to 4GB of data.
''ISO 9001 Software Quality Standard'' was developed in 1987 and updated in 2008. It is a framework for developing software standards. To be conformant with ISO 9001 a company must have defined how it's own processes line up with the 9 core processes that the standard provides. Although a company may be compliant, it may not mean that it will have quality software products. If the processes are lacking, then the products could still suffer while being compliant. Companies that use agile development models are rarely concerned with the bureaucratic overhead of ISO 9001 standards.
''Context of Use'' means characteristics of the users, tasks, and the organizational and physical environments. Understanding and specifying the context of use is the 2nd step in ISO 9241, user-centric design process @b:116. What is needed for the context of use description is in the notes. <<_note """ What is required for the context of use description: - Overall the context of use description should be more like a wiki, or knowledge base, that is iterated upon as further understanding is gained. Or like workflowy!! If this wiki is used alongside other documentation or maybe even implementation, it will need some kind of versioning system that way someone can state which version they were referencing when creating the corresponding artifact. - Specified range of intended users, tasks, and environments in sufficient detail to support design activity. This could be stated in the requirements perhaps. - The description should be derived from suitable sources, so actual studies on users and environments instead of google as is said in the youtube video here: https://www.youtube.com/watch?v=k87cMugze0o&list=PL9T7Xn6u5-cjvuWcI0BvRCGwVQ0dFsMfH&index=2 - It should be confirmed by the users or if they are not available, by those representing their interests in the process. - It should be adequately documented - It should be made available to the design team at appropriate times and in appropriate forms to support design activities. """>>
''Design solutions'' are produced as possible proposals that fit the user centric requirements, and context of use. Some activities for this are in the note. <<_note """ Potential steps: - Use existing knowledge to develop design proposals with mult-disciplinary input. - Make the design solutions more concrete using simulations, models, mock-ups, etc. - Present the design solutions to users and allow them interact with the prototype - Alter the design in response to user feedback and iterate this process until the human-centered design goals are met """>>
''Usability'' is defined by [[ISO 9241|ISO 9241 User-Centric Design Process]] as "The extent to which a product can be used by specified users to achieve specified goals with effectiveness efficiency and satisfaction in a specified context of use." Keywords are in the note. <<_note """ Keywords: - Effectiveness: the accuracy and completeness with which users achieve specified goals. - Efficiency: The resources expended in relation to the accuracy and completeness with which users achieve goals. - Satisfaction: Freedom from discomfort, and positive attitude to the use of the product """>>
''User-centric requirements'' are part of step 3 in the ISO user centric design process @b:116. Things to look at are in the note. <<_note """ Users: - Who are they - What are their work environments like? - How experirenced are they with technology? - More can be found if needed with this image: https://drive.google.com/open?id=1arQA_wGnaEzDRaCHn_CZQSEhAuSwSFwx """>>
The ''ISO 9241-XXX User-Centric design process'' shows a process model to design user-centric software systems. It is considered a meta model because it doesn't specify what exact steps should be followed. The general idea is to slowly narrow down iteratively a final design solution. It is a little bit of a BUFD @b:115 process because of the upfront investment. An example of the design flow is shown here, and the steps are copied down in the note: https://drive.google.com/open?id=1k08Q_65SIcfkGaOJMQO5bG6qYYuP1XZY. The design flow is fairly vague so that it can be interpreted as needed. Considerations for a plan using this are in the note. <<_note """ Plan the human centered design process (Step 1): - Identify the human centered activities for steps 2-5 - Identify procedures for integrating these activities with other system development activities such as analysis, design, testing. - Identify the individuals and the organizations responsible for the human-centered design activities, and the range of skills and viewpoints they provide. - Identify effective procedures for establishing feedback and communication on UCD activities as they affect other design activities, and methods for documentation. - Identify appropriate milestones for UCD integrated into the overall design and development process. - Identify suitable timescales to allow feedback, as well as possible design changes incorporated into the project schedule. Steps to a User-Centric Design Process: 1 - Plan the human-centered design process 2 - Understand and specify the context of use @b:119 3 - Specify the user requirements @b:120 4 - Produce design solutions @b:121 to meet user requirements 5 - Evaluate the designs against requirements """>>
The `Iterable<T>` interface is used to define a collection from which an iterator can be extracted. So a collection is iterable if it provides an iterator when needed. This is a generic interface.
''Iteration'' is a technique where you iterate or repeatedly use the [[recurrence relation|Recurrence Relation]]. Forward substitution means trying the iteration from the beginning, backward substitution means trying the iteration from the end.
''Jakarta EE'' is the name chosen by the [[Eclipse Foundation|Eclipse Foundation]] to replace the name ''Java EE'' or ''Java Enterprise Edition''. Java EE used to be called ''J2EE'' or ''Java 2 Enterprise Edition''. This name change happened because [[Oracle|Oracle Corporation]] gave the code of Java EE to the Eclipse Foundation but not the "Java" name. Hooking up Jakarta EE is a huge undertaking. There are many moving pieces it seems like and it is capable of a lot. See also: * [[Main page for Jakarta EE|https://jakarta.ee/]]
''Java'' is not considered a "Pure" [[object-oriented language|Object Oriented Programming (OOP)]] because it's primitive types are not classes. This makes it have aspects of an [[imperative language|Procedural Programming]]. Java is considered a language with a 2-step compilation process with some intermediate execution code. Java was written by a few different researchers at Sun Microsystems. It was originally called Oak, then renamed to Java in 1995 when it was publicly announced. Java's predecessors are considered to be [[C++|C++ Programming Language]] and [[Smalltalk|Smalltalk Programming Language]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java' sort[title]>> </div>
If you use the ''.equals method'' for any class beside a string, without it being overridden, it will just check for the same memory location, much like == does with objects.
The ''LinearLayout class'' inherits from [[ViewGroup|Java android.view.ViewGroup Class]] and aligns all children [[views|Java android.view.View Class]] in a single direction. This could be vertically or horizontally. No relative positioning needs to be setup with a `LinearLayout`. The views will be setup in the order they appear within the [[XML layout file|Android App Dev > XML Layouts]]. See also: * [[Android guide on Linear Layout|https://developer.android.com/guide/topics/ui/layout/linear.html]] * [[Android documentation on the LinearLayout class|https://developer.android.com/reference/android/widget/LinearLayout.html]]
''Abstract classes'' are sometimes contrasted to concrete classes (normal classes). You create such a class like such: `public abstract class Account { ... }`. You cannot construct an object of an abstract class, but you can still have an object reference whose type is an abstract class. Philosophically a mammal reference is a good way to describe an abstract class. For example you can see a dog, cat, bear, etc and those are all mammals. If you were asked to give an example of a mammal you could say one of those animals, but there is not a "mammal" animal. An abstract class is a good use for these kinds of concepts. A subclass of a concrete class can of course be abstract because every abstract class is a subclass of the concrete class `Object`. For a subclass to implement the methods of an abstract class, it needs to use `extends <AbstractClassName>`
Syntax for an ''abstract method'' is below: ``` public abstract returnType methodName(); ``` What this does is force the subclass programmer to create the override method for any abstract methods in the superclass. The subclass programmer could create a method that does nothing, but that is their choice. If one or more abstract methods are not overridden in the subclass then that subclass becomes an abstract class because the abstract methods are inherited. If you are writing an abstract method in an abstract class then you don't need to indicate that the method is abstract with the abstract keyword. You can just write for example: public void draw();
The ''android.app.Activity class'' can be used to present a UI to a user. An activity is a single, focused thing that the user can do. Android keeps an internal representation of Activities called the ''activity stack''. This keeps a running stack of activities that the user has navigated to, in order, so that they can press the back button to go back through them. This can be a stack of activities from many different apps. Here is a [[simplified visual representation of the activity lifecycle|$:/Image - Android activity lifecycle]] which encompasses some of the key methods of the `Activity` class. Some key methods of the `Activity` class are below: * [[onCreate|Java android.app.Activity.onCreate Method]] * `onPause()` is where you deal with the user pausing active interaction with the activity. Any changes made by the user at this point should be comitted. Note that this is not a good time to commit them because it is very short. Heavy load save operations should occur during the `onStop()` method. * `onStart()` this method completes very quickly and then triggers the `onResume()` method * `onResume()` This is the state in which the app interacts with the user. This is a good place to resume any components that may have been released from `onPause()`. * `onStop()` This is a good place to do heavy load save operations. This is when the activity has become completely invisible to the user. Here is an [[example of saving some content in the onStop method|$:/Example - Saving content in the onStop method]]. * `onDestroy()` can be called for a few different reasons outline below: ** The activity is finisheing due to the user completely dismissing the app or the app has called `finish()`. If this is the case then the `isFinishing()` method should be called first. This gives you an indication that there is not a configuration change. ** The system is temporarily destroying the activity due to a configuration change such as device rotation or multi-window mode. To tell if there is going to be a configuration change, the `onFinish()` method should not be called. * `finish()` can be called to finish an activity. * `setResult(int resultCode, Intent data)` can be used to set a result to return to an activity that started it with `startActivityForResult()`. * [[startActivityForResult|Java android.app.Activity.startActivityForResult Method]] * [[onActivityResult|Java android.app.Activity.onActivityResult Method]] For more details on launching another activity, see the [[Intent class|Java android.content.Intent Class]]. See also: * [[Android documentation on android.app.Activity class|https://developer.android.com/reference/android/app/Activity.html]] * [[Android documentation on the activity lifecycle|https://developer.android.com/guide/components/activities/activity-lifecycle]] * [[Android guide on starting a new activity|http://www.androiddocs.com/training/basics/firstapp/starting-activity.html]]
The ''onActivityResult method'' is an instance method of the [[Activity class|Java android.app.Activity Class]]. This method is typically used to retrieve results of calls to [[startActivityForResult|Java android.app.Activity.startActivityForResult Method]]. It is typically overridden. The declaration is below: ```java protected void onActivityResult(int requestCode, int resultCode, Intent data) ``` * `requestCode` is the request code that was sent over with the ativity call. This helps identify where the result is coming from. * `resultCode` is the returned result code from the child activity. This can be a few things such as: ** `RESULT_OK` ** `RESULT_CANCELED` ** or custom values such as `RESULT_FIRST_USER` if that is declared as a constant integer somewhere. * `data` is an [[Intent object|Java android.content.Intent Class]] that is sent back over from the finishing activity.
The ''onCreate method'' is an instance method of the [[Activity class|Java android.app.Activity Class]]. It's declaration is below: ```java protected void onCreate(Bundle savedInstanceState) ``` * `savedInstanceState` is a [[Bundle object|Java android.os.Bundle Class]] and can be `null` if the activity hasn't existed before. `onCreate()` is where the activity is initialized. This is typically where [[setContentView|Android App Dev > setContentView Function]] is used as well. This callback must be implemented. Also make sure to always start out the overridden method with `super.onCreate(savedInstanceState)`. This activity is only launched once for the lifecycle of the activity so it is a good place to bind data to lists, or do some other startup stuff. Here is an [[example of making this function|$:/Example - Java - Making an Activity class onCreate Method]].
The ''startActivityForResult method'' is an instance method of the [[Activity class|Java android.app.Activity Class]]. This method will start an [[activity|Java android.app.Activity Class]] for a result. In the activity that initiates the call, there should be an overridden method named [[onActivityResult|Java android.app.Activity.onActivityResult Method]]. The declaration is below: ```java public void startActivityForResult(Intent intent, int callNumber) ``` * `intent` is an [[Intent|Java android.content.Intent Class]] that can be passed with extra data. See the `Intent` class for how to do that. It seems that the same `Intent` object will be used when retrieved data from the completed activity. * `callNumber` can be any integer that will represent the call it seems.
The ''android.app.Service class'' represents a component that runs in the background to perform long-running operations or to perform work for remote processes. For example a file upload in the Facebook app. The service might just show a notification when it is complete. A service is not a new process or thread. A service is also not necessarily local to your application, because it could be invoked by other apps. A service is sticky, in that android will try to keep it running and even if it is killed, Android will try to restart it. A service is also distinct from the activity that created it. There are two types of services. You can write one that does both, but because they have their own lifecycle, it is not recommended to do so. * ''Local Services'' - An [[activity|Java android.app.Activity Class]] or other component calls `startService()`. This may outlive the application component that started it. These must implement `onStartCommand()` * ''Remote Services'' - Dependent on the application component bound to it. These must implement `onBind()`. See also: * [[Android documentation on android.app.Service class|https://developer.android.com/reference/android/app/Service]]
The ''BroadcastReciever class'' seems to simply be a system-wide event listener. Although, the message itself may be an [[intent|Java android.content.Intent Class]]. The main purpose of a BroadcastReciever is that it should recieve messages from other apps or the system. The lifecycle is that it dies as soon as `onRecieve()` completes. Common usage for BroadcastRecievers is to start [[services|Java android.app.Service Class]] on boot. See also: * [[Android documentation on the BroadcastReciever class|https://developer.android.com/reference/android/content/BroadcastReceiver]]
The ''ContentProvider class'' represents a shared set of app data. ''Content providers'' are almost like a database that your app provides so that other apps can access it's data. The other apps would make queries to your app's content provider. See also: * [[Android documentation on the ContentProvider class|https://developer.android.com/reference/android/content/ContentProvider]]
The ''Intent class'' seems very important for launching other [[activities|Java android.app.Activity Class]]. They can be used as a messaged object to request an action from another app component. So they can be used to start an activity, start a [[service|Java android.app.Service Class]], or deliver a [[broadcast|Java android.content.BroadcastReciever]]. There are two different types of intents: * ''Explicit intents'' - Your app specifies how the intent is handled * ''Implicit intents'' - The system decides how the intent is handled. This might be something like telling the system "play a video", or "display this coordinate on a map". Often these will ask the user what application they would like to use to run the intent. The most notable constructor is below: * `public Intent(Context packageContext, Class<?> cls)` Will generate an `Intent` object for a specific component. ** `packageContext` is the Context object corresponding to a particular [[Activity class|Java android.app.Activity Class]] where the activity will be launching from. ** `cls` is the `.class` property of the target new actiivty. Some notable methods of an `Intent` object are below: * `putExtra(String name, Parcelable value)` ** It seems that `name` can be something like `EXTRA_MESSAGE`. It is good practice to make this name be a constant defined at the top of the class using it, using your long package name so that it can be used with other apps in the future. For example `public final static String EXTRA_MESSAGE = "com.tonyneuhold.myfirstapp.INTENT_MESSAGE"`. ** `value` can be just an object maybe. like a String for example. There are many overloaded methods for `putExtra` that allow this argument to be basically anything. * `get<InsertTypeHere>Extra(String name)` where name is the name defiend possibly in another class as stated under the `putExtra()` method above. This is useful after using the `getIntent()` method in a recieved activity. To start a new activity it seems that you need basically the following snippet: ```java Intent intent = new Intent(MainActivity.this, DialogActivity.class); startActivity(intent); // OR startActivityForResult(intent); ``` To retrieve an intent within the started activity you can use `Intent intent = getIntent()`. See also: * [[Android guide on using Intents|https://developer.android.com/guide/components/intents-filters]] * [[Android guide on starting a new activity|http://www.androiddocs.com/training/basics/firstapp/starting-activity.html]]
The ''SQLLiteOpenHelper class'' can be used as a parent class to a custom implementation you build for a [[SQLite database|SQLite]] in your app. An implementing class must have a constructor that calls the parent classes main constructor. A notable constructor is below: * `SQLLiteOpenHelper(Context context, String databaseName, <cursorFactory>, int schemaVersion)` must be called in a constructor of an implementing class. ** `context` is typically something like `this` when a database is created ** `databaseName` seems to be reflected in the app's file structure, so it can be something like `places.db` ** `<cursorFactory>` can be an optional cursor factory which there aren't notes on yet. This can be `null` for now. ** `schemaVersion` is just an int indicating the version. Some notable methods are below: * `onCreate(SQLiteDatabase database)` must be implemented. Documentation says that this is triggered when the DB is created for the first time. It seems that this means when it is created in memory for the first time. * `onUpgrade(SQLiteDatabase database, int, int)` must be implemented * `onOpen(SQLiteDatabase database)` can be optionally implemented * `public SQLiteDatabase getWritableDatabase()` seems to be the correct way to access a database with this class. See also: * [[Android documentation on the SQLLiteOpenHelper class|https://developer.android.com/reference/android/database/sqlite/SQLiteOpenHelper]]
The ''AudioManager class'' provides access to volume and ringer mode control. See also: * [[Android documentation on the AudioManager class|https://developer.android.com/reference/android/media/AudioManager.html]]
The ''MediaPlayer class'' can be used to control playback of audio/video files and streams. A `MediaPlayer` object can be represented by the following state diagram: __''Insert state diagram here from android documentation''__ An object of the `MediaPlayer` class can accept several sources of data. For example from local resources, internal URLs, or external URLs for streaming. Some notable constructors are below: * `MediaPlayer()` creates a new blank `MediaPlayer` object. * `MediaPlayer.create(Context context, int rClassFile)` This calls prepare for you. ** `context` can be a context such as `self` if done from an activity. ** `rClassFile` can be a raw sound file in an acceptable format from the [[R class|Android App Dev > R Class]] such as `R.raw.sound_file_1`. Acceptable formats are listed in the [[supported media formats page|https://developer.android.com/guide/topics/media/media-formats.html]]. Some notable methods of a `MediaPlayer` object are below: * `setAudioStreamType()` * `setDataSource()` * `prepare()` * `start()` See also: * [[Android documentation on the MediaPlayer class|https://developer.android.com/reference/android/media/MediaPlayer.html]]
The ''AsyncTask class'' can be used to assign tasks to a [[background thread|Android App Dev > Background Thread]] easily. It seems that these are normally inner classes. The actual declaration has 3 generics in it: ```java public abstract class AsyncTask<Params, Progress, Result> ``` To use `AsyncTask` you need to do the following: * Create a subclass of `AsyncTask` * Override one or more `AsyncTask` methods to accomplish the background work, plus whatever work associated with the task that needs to be done on the [[UI thread|Android App Dev > The Main Application Thread]]. * When needed, create an instance of the AsyncTask subclass and call execute() to have it begin doing its work. Some important methods of the `AsyncTask` class are below: * `protected <Result> doInBackground(<Params>... paramsObjects)` needs to be overridden and determines what will be ran on a background thread. It is not suggested to make this an infinite loop though, make sure it can finish. ** `paramsObjects` is an array of type `Params` that is passed in as the first generic to the `AsyncTask` class. ** The return type of this method is the generic specified as `Result`. So this can be whatever you feel the result should be for the task. * `onPreExecute()` this method is called from the UI thread and is a good spot to initialize a progress bar or some other indication that work is going on in the background. * `onPostExecute()` this method is called from the UI thread. This is a good spot to do work after the work in the background completes, like updating a list or something. * `onProgressUpdate()` will be called each time that `doInBackground()` calls `publishProgress()`. This allows progress to be reported to the UI thread. Here is a [[full example of an implementation of the `AsyncTask` class|$:/Example - Java - Implementation of the Java AsyncTask class]]. See also: * [[Android documentation on AsyncTask|https://developer.android.com/reference/android/os/AsyncTask]]
The ''android.os.Bundle class'' is an internal Android OS class used for passing around instance states it seems.
The ''Handler class'' can be used to send and process [[Message objects|Java android.os.Message Class]] and [[Runnable objects|Java java.lang.Runnable Interface]]. A `Handler` object registers itself with the thread in which it is created. For example the [[main thread|Android App Dev > The Main Application Thread]] or a [[background thread|Android App Dev > Background Thread]]. It provides a challen to send data to this thread. The data which can be posted via the `Handler` class can be an instance of the [[Message class|Java android.os.Message Class]] or the [[Runnable class|Java java.lang.Runnable Interface]]. To re-use the existing `Handler` object in your [[activity|Java android.app.Activity Class]], you can use the following: `handler = getWindow().getDecorView().getHandler()`. See also: * [[Android documentation on the Handler class|https://developer.android.com/reference/android/os/Handler]] * [[A good guide on how the Handler class works|https://www.vogella.com/tutorials/AndroidBackgroundProcessing/article.html]]
The ''Message class'' can be used to define a message this is typically used with a [[Handler object|Java android.os.Handler Class]] evidently. The best way to get a `Message` object is to call `Message.obtain()`. See also: * [[Android documentation on the Message class|https://developer.android.com/reference/android/os/Message.html]]
The ''View class'' seems to be the central way to create new views in [[Android development|Android App Development]]. A view usually draws something the user can see and interact with. Some standard attributes that all subclasses of `View` can have in an [[XML layout|Android App Dev > XML Layouts]] are below: * `android:contentDescription` can be used like an `alt` attribute for an image tag in HTML. This makes it much more accessible for people. * `android:visibility` can be used to control if the view is visible. You can group views together using [[ViewGroup objects|Java android.view.ViewGroup Class]].
The ''ViewGroup class'' can be used to contain other [[View objects|Java android.view.View Class]]. Some different classes that inherit from the `ViewGroup` class are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java android.view.ViewGroup Class'>> </div>
This is a topic tiddler for the ''webkit package''. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java android.webkit Package'>> </div>
The ''JavascriptInterface annotation'' can be used to mark a method as available to the Javascript engine when using a [[WebView|Java android.webkit.WebView Class]]. Here is an [[example of how to use this|$:/Example - Android App Dev - Using the JavascriptInterface Annotation]]. See also: * [[Android documentation on the JavascriptInterface annotation|https://developer.android.com/reference/android/webkit/JavascriptInterface]]
The ''WebSettings class'' can be used to manage settings for a [[WebView object|Java android.webkit.WebView Class]]. A `WebSettings` object can be retrieved by using the `webView.getSettings()` method which returns a `WebSettings` object that is tied to the lifecycle of the WebView. Some notable properties and methods of a `WebSettings` object are below: * `setJavascriptEnabled(boolean isEnabled)` Will set JavaScript to be enabled for the associated WebView object. This is false by default. * `setAllowUniversalAccessFromFileURLs(boolean isEnabled)` * `setDomStorageEnabled(boolean isEnabled)` See also: * [[Android documentation on the WebSettings class|https://developer.android.com/reference/android/webkit/WebSettings]]
The ''WebView class'' can be used to basically have a little browser embedded in your app. it lacks all the features of an actual browser though, so Android suggests this as a last resort. To use an object of this class it seems that you need the [[INTERNET permission|Android App Dev > AndroidManifest.xml]]. There are some challenges to hybrid applications on android: * More technologies on the stack * How do you communicate in and out of the WebView? * Performance vs UX quality vs cost to dev vs cost to maintain Some benefits are below: * Performance by using native APIs for device-specific features * Better UX, portability, and maintainability Some general steps for using a WebView are below: # Create a WebView with something like `WebView browser = (WebView) findViewById(R.id.webView)` # Set your [[WebViewClient|Java android.webkit.WebViewClient Class]] to handle URLs. An important method to override is the following `shouldOverrideUrlLoading`. # Enable JavaScript with something like `WebSettings ws = webView.getSettings()` then `ws.setJavascriptEnabled(true)`. # Decide how to handle page navigation. This means determining how navigating through web pages gets added to the [[activity stack|Java android.app.Activity Class]]. Here is a [[page navigation setting example|$:/Example - Java - Android page navigation setting]] # Create a Java method annotated with `@JavascriptInterface`. This is interesting! Some notable methods and properties of an object of the `WebView` class are below: * `addJavascriptInterface(Object object, String name)` can be used to expose a Java object to JavaScript it seems, using the [[JavascriptInterface annotation|Java android.webkit.JavascriptInterface Annotation]]. So if you want to have certain Java methods available, you can create a class that contains them, instantiate it in the `addJavascriptInterface` method here, and then you can access it with the identifier. Here is an [[example of using this method|$:/Example - Android - Using the addJavascriptInterface Method]]. Also here is [[another more explained example|$:/Example - Android App Dev - Using the JavascriptInterface Annotation]]. ** `name` is the string identifier * [[loadUrl|Java android.webkit.WebView.loadUrl Method]] * [[evaluateJavascript method|Java android.webkit.WebView.evaluateJavascript Method]] * `loadData(String data, String mimetype, String encoding)` Will load an HTML string for example into the `webView`. * `getSettings()` Returns a [[WebSettings object|Java android.webkit.WebSettings Class]] that is tied to the lifecycle of this `WebView` object. * `setWebChromeClient(WebChromeClient client)` can set the chrome handler evidently? It looks like this is just done with a `new WebChromeClient()`. * `setWebViewClient(WebViewClient client)` will set the [[WebViewClient object|Java android.webkit.WebViewClient Class]] which will receive various notifications and requests. This is where you can control the webpage lifecycle methods by overriding the methods in the new WebViewClient object. See also: * [[Android documentation on the WebView class|https://developer.android.com/reference/android/webkit/WebView]]
The ''evaluateJavascript method'' is a method of any [[WebView object|Java android.webkit.WebView Class]] and can be used to evaluate some JavaScript string. The general form is below: ```java webView.evaluateJavascript(String script, ValueCallback<String> resultCallback) ``` This will evaluate a script asynchronously, so outside of the UI thread it seems. This is one way to throw variables into JavaScript from Java by just putting your strings concatenated into the JavaScript command string. Note that this needs to be ran once the page has actually loaded, otherwise the JavaScript won't be there yet. See also: * [[Android documentation on the evaluateJavascript method|https://developer.android.com/reference/android/webkit/WebView#evaluateJavascript(java.lang.String,%20android.webkit.ValueCallback%3Cjava.lang.String%3E)]]
The ''loadUrl method'' can be used on a [[WebView object|Java android.webkit.WebView Class]] and can load a URL from the given string. The format is the following: ```java public void loadUrl(String url) ``` The `url` can be a file such as `file:///android_asset/www/general-events.html` if it is a locally held html file. This file would then be located in `assets/www/general-events.html`. This can be a Javascript string as well if it is formatted with something like `javascript:myFunc()`. Running Javascript like this __DOES BLOCK__ the [[main thread|Android App Dev > The Main Application Thread]] though! So probably don't use this! Use `evaluateJavascript()` instead.
The ''WebViewClient class'' looks like it is primarily used for the [[WebView class|Java android.webkit.WebView Class]]. Some notable methods and properties of a `WebViewClient` object are below: * `onPageFinished(WebView view, String url)` is a good method to override for having some kind of JavaScript executed with the [[webView.evaluateJavascript method|Java android.webkit.WebView.evaluateJavascript Method]]. See also: * [[Android documentation on the WebViewClient class|https://developer.android.com/reference/android/webkit/WebViewClient]]
An ''AdapterView'' is a view whose children are determined by an [[adapter|Android App Dev > Adapters]]. See also: * [[Android documentation on AdapterView|https://developer.android.com/reference/android/widget/AdapterView.html]]
The ''ArrayAdapter class'' can be used to manage the choices for a [[spinner|Android App Dev > Spinners]]. One key constructor is below: * `ArrayAdapter<T>(context, resourceId, array)` ** `context` can be something like the activity in which the adapter is needed. Typically it can just be `this`. ** `resourceId` should be the ID of a view to use. This can be something built in such as `android.R.layout.simple_list_item_single_choice`. ** `array` is simply an array, or something that implements the `Java.util.List` class I think. Like [[ArrayList|Java ArrayList Class]].
The ''AutoCompleteTextView class'' is a widget and can be used to setup an editable text area that shows completion suggestions automatically while the user types. See also: * [[Android documentation on the AutoCompleteTextView class|https://developer.android.com/reference/android/widget/AutoCompleteTextView]]
The ''Button class'' can be used as a simple button for an Android UI. To set the action for a button, you can go into the XML definition and set `android:onClick="methodName"` where `methodName` can be some method defined in the [[Activity|Java android.app.Activity Class]] in which it is contained. See also: * [[Android documentation on the Button class|https://developer.android.com/reference/android/widget/Button]]
The ''EditText class'' can be used to build a field where users can enter their own input. This class extends `TextView` so it has all the same XML attributes that a `TextView` widget can have. Some additional attributes that `EditText` can have in its [[XML Layout|Android App Dev > XML Layouts]] are below: * `android:inputType` which can be many different things and determines what kind of input the app should expect from the user. Some posibble options are below: ** `textMultiLine` allows multiple lines to be written by the user ** `textImeMultiLine` allows multiple lines, but not for the user to enter a new line. * `android:hint` can be used to set a hint for the text box. See also: * [[Documentation from Android on the EditText class|https://developer.android.com/reference/android/widget/EditText?hl=en#top_of_page]]
It seems that ''GridView'' was replaced with [[RecyclerView|Java androidx.recyclerview.widget.RecyclerView Class]]. See also: * Mark L. Murphy - Busy Coder's Guide to Android Dev - Page 260 for details on GridView
The ''ListView class'' can be used to make a list view which is populated with some data. Try to use the [[RecyclerView class|Java androidx.recyclerview.widget.RecyclerView Class]] instead of this one though.
The ''Spinner class'' can be used as a component to the [[overall approach to making spinners|Android App Dev > Spinners]]. Some key methods are below: * `setOnItemSelectedListener(listener)` - Should be called when the `Spinner` object is first created, like within the [[onCreate method|Java android.app.Activity.onCreate Method]]. ** `listener` is the class that implements `AdapterView.OnItemSelectedListener` which could be the current class. So this argument could just be `this`. * `setAdapter(SpinnerAdapter adapter)` sets the [[adapter|Android App Dev > Adapters]] for the spinner. ** `adapter` should be a `SpinnerAdapter` object. This could be something like [[ArrayAdapter|Java android.widget.ArrayAdapter Class]].
The ''Toolbar class'' can be used to add a toolbar to the top of an app for an [[activity|Java android.app.Activity Class]]. There are some very good details on how to make a menu and things in the guide. When you create a menu with a resource file, in addiition to adding the toolbar in the [[onCreate method|Java android.app.Activity.onCreate Method]] you will likely need to override the `onCreateOptionsMenu(Menu menu)` method of the `Activity` class that will be using it. For example: ```java @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.menu_main, menu); Log.d(getClass().getSimpleName(), "onCreateOptionsMenu()"); return true; } ``` You can enable a back button by using the following code snippet: ```java Toolbar toolbar = (Toolbar) findViewById(R.id.my_awesome_toolbar); setSupportActionBar(toolbar); getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setDisplayShowHomeEnabled(true); ``` Then to control the back button behavior you can add the following method override to your activity class that has the toolbar: ```java @Override public boolean onSupportNavigateUp() { // Do something return true; } ``` See also: * [[Android documentation on the Toolbar Class|https://developer.android.com/reference/android/widget/Toolbar]] * [[Android training for setting up an ActionBar or Toolbar in an Android app|https://developer.android.com/training/appbar]]
The ''CardView class'' can be used to build a card view in Android development. You can add a card event listener by using `card.setOnClickListener()`. See also: * [[Android documentation on the CardView class|https://developer.android.com/reference/androidx/cardview/widget/CardView.html]]
The ''ConstraintLayout class'' can be used to create large and complex layouts with a flat view hiearchy. In order to define a view's position in a constraint layout you must define at least one horizontal and one vertical constraint. Which makes sense if you think about it. Guidelines can be added to a constraint layout view by clicking the "Guidelines" icon in the toolbar in [[Android Studio|Android Studio]]. Chains can be created between views by selecting all of the views in the chain, then right clicking on one of them and selecting "Chain". A view can be part of both a horizontal and veritcal chain, making it easy to create grid layouts. See also: * [[Android documenation on Constraint Layout and it's use in Android Studio|https://developer.android.com/training/constraint-layout/index.html]]
The ''Fragment class'' should be extended to create a [[fragment|Android App Dev > Fragments]] in an Android app. See the [[fragment tiddler|Android App Dev > Fragments]] for more details. A fragment has all the same lifecycle methods of an [[Activity object|Java android.app.Activity Class]] with the addition of the following: * `public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)` is called when it's time for the fragment to draw its user interface for the first time. To draw the UI, you must return a [[View object|Java android.view.View Class]] that is the root of the fragment's layout. Return `null` if the fragment does not provide a UI. ** `inflater` is provided by the system and can be used to inflate a layout that you have created for the fragment. Some notable methods are below: * `onCreate()` which is similar to the [[Activity.onCreate method|Java android.app.Activity.onCreate Method]], but slightly different. * `onCreateView()` * [[onPause|Java android.app.Activity Class]] * `onDetatch()` This is a good place to clear any operations in a [[background thread|Android App Dev > Background Thread]] that might be going on. * `setRetainInstance(bool val)` This makes it so the fragment will be ratained even through the parent activity being destroyed (like when the rotation is changed). This method can be called in the fragment's `onCreate()` method. ** `val` can be true or false See also: * [[Android documentation on the Fragment class|https://developer.android.com/reference/androidx/fragment/app/Fragment.html]]
The ''LifeCycleObserver interface'' can be used by another class which wishes to be a ''Life-Cycle aware component''. An example of a class like this is below: ```java public class CameraComponent implements LifecycleObserver { ... @OnLifecycleEvent(Lifecycle.Event.ON_RESUME) public void initializeCamera() { if (camera == null) { getCamera(); } } ... } ``` See also: * [[Android Activity Class|Java android.app.Activity Class]]
The ''LinearLayoutManager class'' can be used kind of like [[ListView|Java android.widget.ListView Class]], but for a [[RecyclerView|Java androidx.recyclerview.widget.RecyclerView Class]]. See also: * [[Android documentation on the LinearLayoutManager class|https://developer.android.com/reference/androidx/recyclerview/widget/LinearLayoutManager.html]]
The ''RecyclerView class'' is a more performant and modern version of the [[ListView class|Java android.widget.ListView Class]]. A `RecyclerView` object needs to have a supplemental adapter which should be a subclass of [[RecyclerView.Adapter|Java androidx.recyclerview.widget.RecyclerView.Adapter Class]]. `RecyclerView` can be used to display a list of views provided by a layout manager, which can be something like [[LinearLayoutManager|Java androidx.recyclerview.widget.LinearLayoutManager Class]] or GridLayoutManager. The views in the list are represented by view holder objects, which are instances of a class that you define by extending [[RecyclerView.ViewHolder|Java androidx.recyclerview.widget.RecyclerView.ViewHolder Class]]. The view holder objects are managed by an adapter which you create by extending [[RecyclerView.Adapter|Java androidx.recyclerview.widget.RecyclerView.Adapter Class]]. To be able to add and remove items you can use something like the [[SortedList class|Java androidx.recyclerview.widget.SortedList Class]]. See also: * [[Android documentation on RecyclerView|https://developer.android.com/reference/androidx/recyclerview/widget/RecyclerView.html]] * [[Android documentation on making a list with RecyclerView|https://developer.android.com/guide/topics/ui/layout/recyclerview]]
The ''RecyclerView.Adapter class'' can be used as a supplement to the [[RecyclerView class|Java androidx.recyclerview.widget.RecyclerView Class]]. See also: * [[Android documentation on the RecyclerView.Adapter class|https://developer.android.com/reference/androidx/recyclerview/widget/RecyclerView.Adapter.html]]
The ''RecyclerView.ViewHolder class'' is meant to be extended to create view holders for a [[RecyclerView|Java androidx.recyclerview.widget.RecyclerView Class]].
The ''SortedList class'' can be used specifically with a [[RecyclerView|Java androidx.recyclerview.widget.RecyclerView Class]] to keep track of changes. It seems that this might not be necessary though if you don't want. It isn't exactly clear yet how to use this.
An entity is ''anonymous'' if it does not have a name. This is useful if you only want to use something once. This is especially useful in the case of listener classes. An example of using an anonymous listener is in the code below. What this code means is define a class that implements `ActionListener` with a given `ActionPerformed` method, construct an object of that class and pass it to the `addActionListener` method. When a class is used this way, it is considered an expression and not actually a class declaration. Which means that it appears inside another expression or where an expression is expected (like x / 2 + 20). Syntax for an anonymous class is in the note. Because of the way anonymous classes are built, it will always be implementing an interface or extending a superclass, and use the no-arg constructor from it's superclass, which for an interface is `Object()`. <<_note """ ``` button = new JButton("Add Interest"); button.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { double interest = balance * (1 + INTEREST_RATE); account.deposit(interest); } }); // SYNTAX someObject.doSomething(new SuperClass() { // Anon class instance variables could be here @Override public void overriddenMethod() { ... } }); ``` """>>
An ''array list'' stores a sequence of values whose size can change. Array lists can grow and shrink as needed. The `ArrayList` class contains methods for common tasks such as inserting and removing elements. When deciding between an array and `ArrayList` consider the following. If the size of the collection never changes, use an array. If you collect a long sequence of primitive type values, and are concerned about efficiency, use an array. Otherwise, use an ArrayList. A list of differences is at the following link: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5dllFWjZzQ0NtS1k/view?usp=sharing You can use the same enhanced for loop as an Array for ArrayLists. A reference for the different methods are in the following link: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5TERlQVVBSHpaSE0/view?usp=sharing. ArrayLists can only be used with objects, and not primitive data types. In order to store primitive data types you need to use a wrapper class. Syntax for an Array List is in the note. ``` // To construct an array list ArrayList<VariableType> variableName = new ArrayList<VariableType>(); // This will construct an array list of size 0 // The add method appends an element to the array list, increasing it's size. // The index follows normal indexing rules so it must be >= 0 and < arrayList.size() friends.add("Cindy"); String name = friends.get(i); friends.set(i, "Harry"); ``` The set method of ArrayList overwrites existing values. The add method can be used in different ways. If you use friends.add("Corey"); Then it will extend the length of the ArrayList by one and add Corey to that last index location. But if you use friends.add(2, "Corey") then it will add a new element with "Corey" to position 2 and move all other index positions 2 or more by one position. The remove method removes and element at a given position and all elements after that position are moved down one position. To copy an `ArrayList` you can construct the copy and pass the original list into the constructor like so: `ArrayList<String> newNames = new ArrayList<String>(names);` Assuming names is already a variable pointing to an array list of strings. ArrayLists can only be used with [[objects|Object (Computer Science)]], and not [[primitive data types|Primitive Data Types]]. In order to store primitive data types you need to use a [[wrapper class|Wrapper Class]]. See also: * [[Link to the Java 8 documentation on ArrayList|https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html]]
An ''array'' collects a sequence of values of the same type. To create an array that can hold ten values of type double, the the following: `new double[10]` the number of elements (10) is called the length of the array. Both `float[] prices;` and `float prices[];` work syntactically, but the first is preferred. The new operator constructs the array. You will want to store the array in a variable for use later. Syntax is in the note. It is a good idea to use a named constant to determine the length of the array if you are going to initialize it in the first way of the example. To use the arrays class you need to import it with import java.util.Arrays;. If you create an array variable and don't put an array in it, it will point to null. ``` elementType[] arrayName = new elementType[lengthAsInteger]; or elementType[] arrayName ={ value1, value2 }; // example double[] moreValues = new double[10]; // Creates an array with 10 values starting at index 0 and ending at index 9 ``` The type of an array variable corresponds to the data you want to store in it. To declare an array with a type use double[] values; for example. That makes a new array of type double named values. To initialize the variable, use double[] values = new double[10]; If you specify it in this way, by default each of the 10 values will be 0. Default for boolean is false. To specify what values are there, you can use the example in the note which is called an initializer list. When using this technique of creating a new array, you don't need the new keyword and you don't need the size to be specified, but it can only be used in the same statement as the declaration. ``` double[] moreValues = { 32, 54, 67.5, 29, 35, 80, 115, 44.5, 100, 65 }; ``` Individual elements in an array are accessed by an integer using the notation array[i]. They are counted the same way characters are counted, starting with the first element at location 0. An array element can be used just like any other variable of the type that the array holds. When finding the length of the array, use values.length. Note that this is different than string.length() because the length term in strings references a method, where as the length term in arrays is referring to a public constant set for each array object. Make sure to stay within the range of the array. Trying to access an element outside of the range is called a bounds error. The compiler does not catch this type of error. A good way to avoid this error is in the note `if (0 <= i && i < values.length) { values[i] = value; }` Arrays are a fixed length. If you start out with an array of 10 elements, and later you want more, you need to make a new array and copy in the data. Array's use normal object referencing. That is if you copy a variable that references 1 array, and change only one of the references, the original array will reflect to both variables. Java has [[dynamic memory allocation|Dynamic Memory Allocation]], which allows arrays to be declared without their length.
Variables in [[Java|Java]] hold a specific ''type''. The 8 fundamental data types are * byte, * short, * int, * long, * float, * double, * char, and * Boolean.
The main ''buffered streams'' of Java are `BufferedOutputStream` and `BufferedInputStream`. The ''BufferedOutputStream'' class stores written data in a buffer until the buffer is full or the stream is flushed. Both of the classes have similar constructors: ```java public BufferedInputStream(InputStream in) public BufferedInputStream(InputStream in, int bufferSize) public BufferedOutputStream(OutputStream out) public BufferedOutputStream(OutputStream out, int bufferSize) ``` * The first argument for both constructors is the underlying stream from which unbuffered data will be read or to which buffered data will be written. The second argument, if present, specifies the number of bytes in the buffer. Otherwise, the buffer size is set to 2,048 bytes for an input stream and 512 bytes for an output stream.
It seems that ''Java callbacks'' can be implemented by passing the object which is calling a method into the argument of the method. For example: ``` someMethod() { ... // do something callbackFunction(this) } otherFunctionInClass() { // Do something when the callback function is triggered. } ``` The `callbackFunction` in this example would need to know the name of `otherFunctionInClass()` in order to use it. This could be implemented with an interface if needed.
The Java compiler translates your source code into ''class files''. A class contains one or more methods. A class file contains instructions for the Java virtual machine. After the compiler has translated your program into virtual machine instructions the virtual machine executes them. Link to flow chart of source code to running a program - https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5SE5FbVBFZ0MzcDg/view?usp=sharing - The compiler and virtual machine are essentially invisible to the programmer. They are automatically executed whenever you ask to run a Java program. In other environments, you need to launch the compiler and virtual machine explicitly.
The ''Class.forName method'' can be used to retrieve a class from a resource. For example it could be used with a URL string, like a [[JDBC URL string|JDBC URLs]] like `Class.forName("org.postgresql.driver")`.
''Java collections'' are discretely defined as an [[interface|Java Interfaces]], and are based on the [[general idea of a collection|Collection]]. The collection defines the specific ways the elements of the collection can be accessed or managed, which fits perfectly with the idea of an interface in Java. The overall hierarchy from a book is here: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5THFMWkFmYXBKOWc/view?usp=sharing. Here is [[documentation on the Collection interface|https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java Collection Interface'>> </div>
The ''parallelStream method'' of the [[Collection interface|Java Collection Interface]] can be used to create a parallel stream ([[multi-threaded|Java Threads]]) which can be used to complete a series of operations of a collection where the iteration does not need to happen in any order, and can happen all at the same time. For example: ```java double average = roster .parallelStream() .filter(p -> p.getGender() == Person.Sex.MALE) .mapToInt(Person::getAge) .average() .getAsDouble(); ``` See also: * [[Java Documentation on using parallelism with streams|https://docs.oracle.com/javase/tutorial/collections/streams/parallelism.html]]
The ''com.mongodb package'' is part of the [[MongoDB Java driver|MongoDB Java Driver]]. Some notable parts of the `com.mongodb` package are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java com.mongodb Package'>> </div> Here is some [[documentation for 3.6 version of the com.mongodb package|http://mongodb.github.io/mongo-java-driver/3.6/javadoc/]]. This is the version that was used in [[SER 322|SER 322]].
The ''MongoCollection class'' can be used to create and use MongoDB collections. A `MongoCollection` object can be created from a [[MongoDatabase object|Java com.mongodb.client.MongoDatabase Class]]. Some notable methods of a `MongoCollection` object are below: * `find(Bson filter)` will find all documents that match the filter. Or this could be used with parameters and it will find all documents in the collection. This method returns a `FindIterable` object.
The ''MongoDatabase class'' can be used to create an instance of a MongoDB database. A `MongoDatabase` object can be created from a [[MongoClient object|Java com.mongodb.MongoClient Class]]. Some notable methods of a `MongoDatabase` object are below: * `getCollection(String collectionName)` returns a [[MongoCollection object|Java com.mongodb.client.MongoCollection Class]]. If the collection does not exist, MongoDB will create that collection with this method.
The ''MongoClient class'' can be used to create connections to MongoDB servers. The constructor for `MongoClient` accepts a [[MongoClientURI object|Java com.mongodb.MongoClientURI Class]]. Some notable methods of a `MongoClient` object are below: * `getDatabase(String databaseName)` returns a [[MongoDatabase object|Java com.mongodb.client.MongoDatabase Class]].
The ''MongoClientURI class'' can be used to create URIs for the [[MongoClient class|Java com.mongodb.MongoClient Class]]. The constructor for `MongoClientURI` accepts a string which contains the address for the MongoDB server. The general string format where brackets indicate optional values are as follows: `mongodb://[dbuser:dbpassword@]host:port/dbname`. For example `mongodb://localhost:27017/simple` which connects to a database with no username and password.
The ''jar command'' can be used to extract a `.jar` file. It seems like it can generally be used like so: ```bash jar <operation-letter><options> <file name> ``` The `operation-letter` can be one of the following: * `c` for creating a jar file. For example `jar c[v]f jarfile inputfiles` where `v` is optional * `u` for updating a jar file * `x` for extracting a jar file. For example `jar x[v]f jarfile [inputfiles]` where `v` is optional * `t` for listing the table of contents of the jar file The `<options>` can be: * `v` Generates verbose output * `f` indicates that there will be a jarfile name it seems. See also: * [[Link to the official documentation on the jar command|https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jar.html]]
The ''java command'' will invoke the [[JVM|Java Virtual Machine]] to execute the designated [[byte code|ByteCode]]. When using the java command, if the environment variable `CLASSPATH` is [[set|Unix set Command]], it will use that automatically without it needing to be specified with `-cp`. Here is an example of a command ran in Windows that connects up a [[MySQL|MySQL]] server with a [[driver|JDBC Drivers]]. Note that this command is running [[this Java application|$:/Example - Java - JDBC Example Class 2]]. ``` java -cp lib\mysql-connector-java-5.1.45-bin.jar;classes edu.asupoly.ser322.jdbcex.DeptQuery "jdbc:mysql://localhost/company?autoReconnect=true&useSSL=false" root root com.mysql.jdbc.Driver ``` Note that it seems that the classpath needs to be set with `-cp` even for the normal classes in the program. So this could be set to `.\bin` for example for anything in eclipse typically. If a class is not loading, the `-Xdiag` option can be put after `java` to help diagnose what the issue is. Here is [[further documentation on the java command|https://docs.oracle.com/javase/7/docs/technotes/tools/windows/java.html]].
The ''jdb command'' can be used to control program execution from a terminal. The general structure is below: ``` jdb <options> <.java-file-name> ``` * `<options>` can be `-classpath` followed by the class path such as `/classes` or `.`. * `<.java-file-name>` can be something like `Fraction`. It doesn't need the `.java` extension. After starting `jdb`, different commands can be ran: * `stop in <java-file-name>.<function-name>` can be used to set a breakpoint at that particular function * `stop at <lineNumber>` will stop at that line number * `clear in` or `clear at` will remove a breakpoint * `run` can be used to run the program * `cont` can be used to continue along the code. * `print <variable-name>` can be used to print a variable in memory * `locals` will print the values of current method variables * `set <variable-name>` can be used to set a variable's value in memory
The ''rmiregistry command'' can be used to set up an [[RMI registry|Java Remote Method Invocation (RMI)]]. The general form is below: ``` rmiregistry <options> <port> ``` See also: * [[Link to Oracle documentation on rmiregistry command|https://docs.oracle.com/javase/9/tools/rmiregistry.htm#JSWOR706]]
''Daemon threads'' in [[Java|Java]] are threads which can be terminated by the [[JVM|Java Virtual Machine]] when no other "normal", or [[user threads|Operating System User Threads]] are present. Daemon threads can be created by setting a [[Thread object|Java java.lang.Thread Class]] to become them. See also: * [[Daemons|Communications System Calls > Message Passing Model]]
The ''DataInputStream'' and ''DataOutputStream'' classes provide methods for reading and writing Java's primitive data types and strings in a binary format. These are mainly used to exchange data between two different Java programs over a network. `DataOutputStream` offers the following 11 methods for writing particular Java data types: ```java public final void writeBoolean(boolean b) throws IOException public final void writeByte(int b) throws IOException public final void writeShort(int s) throws IOException public final void writeChar(int c) throws IOException public final void writeInt(int i) throws IOException public final void writeLong(long l) throws IOException public final void writeFloat(float f) throws IOException public final void writeDouble(double d) throws IOException public final void writeChars(String s) throws IOException public final void writeBytes(String s) throws IOException public final void writeUTF(String s) throws IOException ``` Page 42 has some specific details on these methods. Also documentation online should have some more details on these if needed. * `writeUTF` should really be called `writeString` evidently. See also: * [[Documentation for DataInputStream on Java 1.8|https://docs.oracle.com/javase/8/docs/api/java/io/DataInputStream.html]]
Java uses dynamic binding by default for all instance methods of a class. Method calls are always determined by the class of the actual object, not the declared class of the variable that is holding the reference to that object. This is called ''dynamic method lookup''. The order in which this happens starts with the most specific class, and works it's way up to the most general class until it finds the method it is searching for. An example of this is below: ``` // HouseCat extends Feline extends Mammal extends Animal extends Life extends Object Object o = new HouseCat(); o.findWeight(); // This will search for the method findWeight with the matching parameters starting at HouseCat and working it's way up each super class until Object. ```
You can use the ''enhanced for Loop'' to visit all elements in an array, but not modify them. Syntax is in the note. Notice that this just sets each element in the array to the variable, but you can not change each element of the array with that variable, only access it. So to change each element in an array, use the normal for loop notation. ``` for (typeName variableName : array) { statements } ```
''Enumeration types'' if you only want to allow certain values in a variable. This is actually a sort of "custom" variable with only the values you designate. The enum variable is declared as follows: public enum FilingStatus { SINGLE, MARRIED, MARRIED_FILING_SEPARATELY } and used as follows to initialize it as an assigned variable FilingStatus status = FilingStatus.SINGLE; If you try to assign a value that isn't declared in the enum declaration then the compiler reports an error. Use the == operator to compare enumeration types. Such as if (status == FilingStatus.Single) Place the enum declaration inside the class that implements your program. An example of a proper declaration is in the note. The class for enumeration is `java.util.Enumeration`. ```java public class TaxReturn { public enum FilingStatus { SINGLE, MARRIED, MARRIED_FILING_SEPARATELY } public static void main(String[] args) { . . . } } ```
''Filter readers and writers'' do largely the same thing as [[filter streams|Java Filter Streams]]. Some examples of these types of classes are below: * `BufferedReader` * `BufferedWriter` * `LineNumberReader` * `PushbackReader` * `PrintWriter`
Many types of data could use some standardization vs just reading and writing bytes with the [[input streams|Java Input Streams]] and [[output streams|Java Output Streams]]. Java provides a number of different ''filter classes'' you can use to translate raw bytes to and from these data types. These are normally chained. An example of how this looks is below: [img width=700 [https://i.imgur.com/rOPyVGz.png]] Filters connect to their streams by their constructors. For example: ```java FileInputStream fin = new FileInputStream("data.txt"); BufferedInputStream bin = new BufferedInputStream(fin); ``` From this point on, it's possible to use the `read()` methods of both `fin` and `bin` to read data from the file. But this will cause bugs, so a lot of times it is good to overwrite the original variable with the last stream in the chain: ```java InputStream in = new FileInputStream("data.txt"); in = new BufferedInputStream(in); ``` Filters cannot be disconnected from a stream.
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java From Command Line'>> </div>
A generic class is one that can store items of any class when you declare it. An example is `JList`. You have to specify a type parameter which specifies the class of each list item. For example `JList<E> list = new JList<>(list_of_items_of_class_E);` where E is the class. A real example of creation, and use is in the note. You cannot instantiate a generic class with identifying a class to use, so if you were to make an array of objects that is chosen by some generic type, you can first instantiate an array of objects, and then cast it to the generic type. An example is in the note. At compile time, java actually makes a copy of the class using generic types, with each type the class is actually used with. In java, a generic class wildcard allows you to respect the fact that a class is parameterizable, but still allow any object to be contained with it. For example: `boolean containsAll(Collection<?> c)` does this because the `?` is a wildcard. ` JList<String> stringList = new JList<>(stringArray); ` For an arbitrary class of T, we want a Box class that stores that type, or any sub-classes of it. T is the common convention for this. ` class Box<T> { // declarations and code that manage objects of type T } ` Then to use that class ` Box<Widget> box1 = new Box<Widget>(); ` To cast an instantiated array to a generic type: This will create a compile time warning, but that can be circumvented with the `@suppressWarnings` marking. ` public class ArrayStack<T> implements StackADT<T> { private T[] stack; public ArrayStack(int initialCapacity) { top = 0; ~@SuppressWarnings("unchecked") stack = (T[]) (new Object[initialCapacity]); } } `
An ''event'' can be defined as a type of signal to the program that something has happened. Because the user is in control with a graphical user interface, we need to know how to handle user-interface events. These are key presses, mouse moves, button clicks, menu-selections etc. anywhere inside the program. For example when the mouse moves over a tiny interval over a window a "mouse move" event is generated. A map of different event classes are below: [img width=700 [https://i.imgur.com/BBZZ2Pi.png]] An `EventObject` contains properties pertinent to the event. You can use the `getSource()` method to get the source object of the event. This also includes information such as modifier keys pressed when the event was triggered. Event sources report on events. When an event occurs, the event source notifies all event listeners. The event source is the user-interface component such as a button, that generates a particular event. You add event listener objects to the event source. Event listener objects have methods that describe the actions to be taken when an event occurs. Clicking a button or selecting a menu item generates an `ActionEvent`. The corresponding listener class is `ActionListener` which has one method `void actionPerformed(ActionEvent event);`. Once you have your listener class you can attach it to a button class for example in the note. Once this class is attached to the button, every time the button is clicked the Java event handling library calls the following method: `listener.actionPerformed(event);` An example of a button listener class that prints "I was clicked." is in the note. ```java import java.awt.event.ActionEvent; import java.awt.event.ActionListener; ActionListener listener = new ClickListener(); button.addActionListener(listener); /** An action listener that prints a message */ public class ClickListener implements ActionListener { public void actionPerformed(ActionEvent event) { System.out.println("I was clicked."); } } ``` An `ItemEvent` is generated when an item state changes. It's associated listener is `ItemListener`. A `WindowEvent` is generated when a window closes, opens, activates, etc. It's associated listener is `WindowListener`. A `ContainerEvent` is generated when a component is added or removed. It's associated listener is `ContainerListener`. A `MouseEvent` is generated when the mouse is pressed, released, clicked, exited or entered (exited and entered are not very clear, may want to look at documentation). It's associated listener is `MouseListener`. A `KeyEvent` is generated when a key is pressed, released and typed. It's associated listener is `KeyListener`. `javax.swing.JButton` is the class you use to create buttons. Use `setPreferredSize()` to set the preferred size with a dimension object for each button. A mnemonic key is the alt key + the mnemonic key to activate a particular event from elsewhere in the program. Mnemonic means a series of letters or symbols to aid in memory, this applies because it underlines that letter in the name of the button to remind the user what can be pressed as a shortcut to activate that button. ```java button1 = new JButton(); // Set the buttons preferred size to 100 by 100 pixels. button1.setPreferredSize(new Dimension(100, 100)); ``` The flow of events in Java can be modeled fairly accurately by the picture below: [img width=700 [https://i.imgur.com/WlgnKra.png]]
The ''HashMap class'' has two parameters in the constructor that affect the performance of the hash function, initial capacity and load factor. The initial capacity determines the size of the hash table. The load factor determines how full the table is allowed to be before it's size is increased. Default is 16 and 0.75 respectively so the size will be doubled once 12 elements have been added. When an element is added to a `HashMap`, it's [[hashCode method|Java java.lang.Object.hashCode Method]] is called to produce an integer hash code for the object.
The ''Java HashSet class'' implements the [[Set interface|Java Set Interface]] using a [[hash table|Hashing]]. It uses the [[chaining method for hashing collisions|Hashing Collision Chaining Method]].
The ''Hashtable class'' is the oldest implementation of [[hashing|Hashing]] in the Java API. Predating [[collections|Java Collection Interface]]. `Hashtable` is [[synchronized|Synchronous]] so it's not very useful unless connecting to legacy code. It is preferable to use the [[HashMap class|Java HashMap Class]]. Here is some [[documentation on Hashtable|https://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html]].
The ''IdentityHashMap class'' implements the [[Map interface|Java Map Interface]] using a [[hash table|Hashing]]. The difference between [[HashMap|Java HashMap Class]] and `IdentityHashMap` is that identity uses reference equality and `HashMap` uses object equality. So it's the difference between using `key==key2` and `key.equals(key2)`.
It is common to implement listener classes as ''inner classes''. Declaring an inner class is particularly useful for event listeners because it cleans up your code, but also provides the advantage that inner classes can access instance variables and methods of the surrounding class if both the inner class and variables are not static. Make inner classes private because they do not need to be accessed outside of the class. If you do make them public, the outside class object has to be created before you can access the inner class. (if your making an inner class they should be basically single use). You can make an inner class static though, which would allow access to static variables in the outer class, and allow anyone to access the inner class using the outer class name. For example: `class ClickListener implements ActionListener`. You can also declare inner classes completely within a method. But the variables that the class can see have to be declared as final. This is okay for objects, but not for primitive data types. See also: * [[Example - Extending JFrame in Java|$:/Example - Extending JFrame in Java]]
Java's basic ''input stream'' class is [[java.io.InputStream|Java java.io.InputStream Class]]. Some other low-level input streams are: * `ByteArrayInputStream` Reads bytes of data from an in-memory array * `PipedInputStream` Reads bytes of data from a thread pipe * `StringBufferInputStream` Reads bytes of data from a string * `SequenceInputStream` Reads bytes of data from two or more low-level streams, switching from one stream to the next when the end of the stream is reached. * `System.in` Reads bytes of data from the user console. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java Input Streams'>> </div>
A ''Java interface'' contains the return types, names and parameter variables of a set of methods. It describes a consistent behavior of unrelated classes. If you find yourself duplicating the same method on different classes, its good to make an interface for that method. You declare an interface type like a class with the keyword `interface`. This is shown in the note. None of the methods in an interface have implementation. They are public abstract by default, but you can make them public static as well. Then in other classes, you can implement the interface type with the keyword `implements`. Also shown in the note. ``` public interface Measurable { double getMeasure(); } public class BankAccount implements Measurable { ... public double getMeasure() { return balance; } } ``` Some different interfaces are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java Interfaces'>> </div>
A ''jar file'' stands for "Java ARchive".
The ''AWT'' or ''Abstract Window Toolkit package'' is designed to create a platform-independent GUI programming package. [[Swing|Java javax.swing Package]] is meant to look the same on any platform. Swing has superseded AWT, but Swing does use a few packages from AWT. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java java.awt Package'>> </div>
See also: * [[Link to the Java 11 documentation on the Container class|https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Container.html]]
See [[Java Anonymous Entities]]
''java.awt.GridLayout'' creates a layout where you can specify the number of rows and columns in the layout. Do this by using panel.setLayout(new GridLayout(numRows, numCols));. When you add components with this layout, it is done in row major order. That is it will fill the first row completely, then the second, then the third, etc. Each component will be expanded to fill the entire region in a grid layout. To get around this each component must have it's own panel. You can create a grid-bag layout as well but the book says it is complex and not handled in this text.
The ''java.beans package'' provides facilities for managing [[JavaBeans|JavaBeans]]. Some of the important facilities are below: * `XMLEncoder` turns a JavaBean into a text-based XML [[stream|Java java.io.ObjectOutputStream Class]]. * `XMLDecoder` reads back in a text-based XML stream.
This is a topic tiddler for the ''java.io package''. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java java.io Package'>> </div>
The ''FileInputStream class'' can be used to bring in files in a Java program. See also: * [[Link to Java 8 documentation on FileInputStream|https://docs.oracle.com/javase/8/docs/api/java/io/FileInputStream.html]]
The ''java.io.InputStream class'' represents a [[Java input stream|Java Input Streams]]. The class is declared as such: ```java public abstract class InputStream ``` and has the following methods: * `public abstract int read() throws IOException` reads a single byte of data from the input stream's source. End of stream is signified by a `-1`. Input and output can be slow, so try to put I/O in it's own thread. * `public int read(byte[] input) throws IOException` attempts to fill a specified array with data. It returns the number of bytes actually read into the array. -1 will be returned at the end of the array, but will never be read into the array. * `public int read(byte[] input, int offset, int length) throws IOException` * `public long skip(long n) throws IOException` * `public int available() throws IOException` returns the minimum number of bytes that can be read without blocking. On the end of stream, available returns 0. * `public void close() throws IOException` Concrete subclasses of `InputStream` use these methods to read data from particular media. `InputStream` also has 3 less commonly used methods which are used to backup and re-read data it has already read: ``` public void mark(int readAheadLimit) public void reset() throws IOException public boolean markSupported() ```
The ''ObjectInputStream class'' is used to read a serialized object from a [[byte stream|Java Input Streams]] to allow an object to be reconstituted back to its original form. The main constructor for the class is below: `ObjectInputStream(InputStream input)` where `input` is an [[InputStream|Java java.io.InputStream Class]] object. The most important method seems to be: * `public final Object readObject()` which reads a serialized object from the stream and reconstructs it to its original state. See also: * [[Documentation on ObjectInputStream for Java 1.8|https://docs.oracle.com/javase/8/docs/api/java/io/ObjectInputStream.html]]
The ''ObjectOutputStream class'' can write an object to a [[byte stream|Java Output Streams]]. Objects written in this way keep all their member variables and objects it references. So an entire object graph will be written if needed. The main constructor is: `ObjectOutputStream(OutputStream output)` where `output` is an [[OutputStream|Java java.io.ObjectOutputStream Class]]. The primary method of `ObjectOutputStream` is `public void writeobject(Object object)`. When an object is written to an ObjectOutputStream, an extra member variable is written which is the ''stream unique identifier'' (''SUID''). An example of one is below: ```java static final long serialVersionUID = 1184731035348490134L; ``` This number makes sure that a compatible class definition is found during deserialization that matches that of a serialized object. Because this can become an issue for developers that just want to update the code of the class here and there, it is important for a developer to make this value on their own. One way to generate a `SerialVersionUID` is to use the [[serialver tool|Java serialver Tool]] that ships with the JDK.
The ''java.io.OutputStream class'' represents a [[Java output stream|Java Output Streams]]. The class is declared as such: ```java public abstract class OutputStream ``` and has the following methods: ```java public abstract void write(int b) throws IOException public void write(byte[] data) throws IOException public void write(byte[] data, int offset, int length) throws IOException public void flush() throws IOException public void close() throws IOException ``` where * `write(int b)` takes an `int` as an argument, but actually writes an unsigned byte. So if the integer is over 255, it will cast it to a `byte`. * `write(byte[] data)` is normally much faster so that data can be sent in bulk. If this is being sent over a network, this is far better than sending a full packet with only 1 byte in it at a time. * `flush()` is important to use when the data is done being sent. This is because a deadlock could be reached if the server code is waiting to send data until a buffer is full, and also waiting for a response from the client. The client is then waiting for data to send a response. `flush()` forces data to be sent even if a buffer is not full. Flush all streams immediately before you close them. Subclasses of `OutputStream` use these methods to write data of all kinds. Here is an [[example of working with an output stream|Example - Working with a Java Output Stream]].
''java.io.OutputStreamWriter'' is probably the most important concrete subclass of [[Writer|Java java.io.Writer Class]]. It has two primary methods it seems: ```java public OutputStreamWriter(OutputStream out, String encoding) throws UnsupportedEncodingException public String getEncoding() ```
The ''PipedInputStream class'' can be used to connect to a [[PipedOutputStream|Java java.io.PipedOutputStream Class]] to create a communications link. Typically this is used in sending data between [[Java threads|Java Threads]].
The ''PipedOutputStream class'' can be used to connect to a [[PipedInputStream|Java java.io.PipedInputStream Class]] to create a communications link. Typically this is used in sending data between [[Java threads|Java Threads]].
The ''java.io.Reader class'' specifies the API for reading characters.
If a class implements the ''java.io.Serializable interface'', it means that its objects can be converted to a serialized representation into a file for example, holding all of it's data intact. Then it can be loaded back into the software later. [[ArrayList|Java ArrayList Class]] and `LinkedList` implement this class. Any class can implement `Serializable` simply by using the [[implements|Java Interfaces]] statement and having a no-argument constructor. Declaring this just means that the programmer endorses serialization on the object. There are two optional methods that can be implemented when a class implements `Serializable`. To have complete control over serialization, implement the `java.io.Externalizable` interface. * `writeObject(ObjectOutputStream s) throws IOException` will be called during serialization * `readObject(ObjectInputStream s) throws IOException` will be called during deserialization There might be some good reasons not to support it though. For example if an object contains very sensitive information that should not be saved to disk. The `transient` keyword before a data type in Java indicates that that particular variable should not be serialized. For reading and writing objects, the following two classes are used: * [[java.io.ObjectOutputStream|Java java.io.ObjectOutputStream Class]] * [[java.io.ObjectInputStream|Java java.io.ObjectInputStream Class]] See also: * [[Example - Using Classes that implement Serializable|$:/Example - Using Classes that implement Serializable]]
The ''java.io.Writer class'' mirrors [[java.io.OutputStream|Java java.io.OutputStream Class]]. It is never used directly, rather it is used polymorphically through one of it's subclasses. Some of its subclasses are: * [[Java java.io.OutputStreamWriter Class]]
The ''Class class'' provides a runtime representation of all loaded Java classes. Things like inheritance structure, interfaces implemented, and supported methods can be revealed witht the `Class` class.
The ''hashCode method'' of the java.lang.Object class creates a hash code for the object. The `hashCode` method has a contract with the object that overrides it: whenever it is invoked on the same object more than once during the execution of a java application, it must consistently return the same value unless the [[equals method|Java .equals Method]] is modified for the object. This integer doesn't need to be consistent between different launches of the java application. In other words, if two objects are equal according to `equals(Object)` then calling `hashCode` must result in the same integer. The original `hashCode` method just uses the memory location, so it's useful to have each class make it's own better hashes with this. Whenever implementing [[equals|Java .equals Method]] its good to implement `hashCode` and make them basically based on the same thing.
The ''Runnable interface'' can be implemented to create a multi-threaded class. This is often useful vs extending the [[Thread class|Java java.lang.Thread Class]] because it doesn't take up your only slot for inheritance. The interface declares the single method below: * `public void run()` A class that implements `Runnable` can be passed as an argument to a new [[Thread object|Java java.lang.Thread Class]]. See also: * [[Java Threads]]
The ''Thread class'' can be extended to create a multi-threaded class in Java. This is another way to create threads besides using [[Runnable|Java java.lang.Runnable Interface]]. Some noteable constructors are below: * `public Thread(Runnable runnableObject)` takes an object that implements `Runnable` and creates a `Thread` object from it. Some notable methods of a `Thread` object are below: * `start()` this tells the operating system to create an [[actual thread|Operating System Multi-threading]] and runs the `run()` method of the `Thread` object within that thread. * `join()` when called will wait for the thread that it is called on to complete before continuing instruction. * `setDaemon(boolean boolVal)` This will set the thread to a [[daemon thread|Java Daemon Threads]] if set to `true`. This must be done before the thread is started. * `public final void setPriority(int newPriority)` will set the priority for the thread. It can be set to a number from 1 to 10. The default priority is 5. * `void sleep(int numSeconds)` will cause the thread to sleep for the specified number of seconds. This isn't really a [[blocking|Communications System Calls > Message Passing Model > Blocking]] operation because other threads, even lower priority ones are allowed to run when a thread is sleeping. It does keep any [[locks|Operating System Mutex Locks]] that the thread holds though, so keep that in mind so a thread doens't starve other threads by hording resources while sleeping. A thread can be awoken via `interrupt()`. * `void interrupt()` will wake a sleeping thread. Some static methods are below as well: * `yield()` This can be used like `Thread.yield()` and only affects the thread that is running when the command is executed. This will yield the time of the thread to another running process until it gets time agian. This can be handy in some situations.
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java java.net Package'>> </div>
The ''java.net.DatagramPacket class'' represents a [[data packet|Network Packets]] for transmission using [[UDP|User Datagram Protocol (UDP)]]. An example of what this looks like is below: [img width=350 [https://i.imgur.com/Yey8A67.png]] The meaning of a `DatagramPacket` object is based on context. When a `DatagramPacket` has been read from a UDP socket, th eIP address of the packet represents the address of the sender. However, when it is used to send a UDP packet, the IP address in `DatagramPacket` represents the address of the recipient. The following constructors can be used for `DatagramPacket`: * `DatagramPacket(byte[] buffer, int length)` can be used for receiving incoming UDP packets. * `DatagramPacket(byte[] buffer, int length, InetAddress dest_addr, int dest_port)` can be used to send datagram packets. The following notable methods can be used with `DatagramPacket`: * `InetAddress getAddress()` returns the IP address from which DatagramPacket was sent or if the packet is going to be sent, it returns the destination address. * `byte[] getData()` returns the contents of the `DatagramPacket` represented as an array of bytes. * `int getLength()` returns the length of the data stored in a `DatagramPacket`. This can be less than the actual size of the data buffer. * `void setAddress(InetAddress addr)` assigns a new destination address to a `DatagramPacket` using the provided [[InetAddress object|Java java.net.InetAddress Class]]. A `DatagramPacket` can be tied into a [[ByteArrayInputStream|Java Input Streams]] which can be tied into an [[InputStream|Java java.io.InputStream Class]] or `InputStreamReader`. Here is an [[example of creating a ByteArrayInputStream from a DatagramPacket|$:/Example - Creating a ByteArrayInputStream from a DatagramPacket]].
The ''java.net.DatagramSocket class'' provides access to a [[UDP socket|Datagram Sockets]]. This allows [[UDP packets|User Datagram Protocol (UDP)]] (which are represented by [[DatagramPacket objects|Java java.net.DatagramPacket Class]]) to be sent and received. A `DatagramSocket` can be used to both send and receive packets. Each `DatagramSocket` binds to a port on the local machine. There are a couple constructors that can be used: * `DatagramSocket()` can be used for a client and assigns the `DatagramSocket` object to some available port because it doesn't really matter which one it is. * `DatagramSocket(in port)` can be used to setup a server with the specified `port`. Some useful methods are below: * `void close()` closes a socket, and unbinds it from the local port. * `void connect(InetAddress remote_addr, int remote_port)` This restricts access to the specified remote address and port. This makes it so exceptions are thrown if an attempt is made to send packets to, or read packets from, any other host or port than what is specified. * `void disconnect()` Disconnects the `DatagramSocket` and removes any restrictions imposed by `connect()`. * `int getPort()` * `InetAddress getInetAddress()` returns the remote address as an [[InetAddress object|Java java.net.InetAddress Class]] if one is assigned as a connection. * `InetAddress getLocalAddress()` returns the local address to which the socket is bound. * `void receive(DatagramPacket packet)` reads a UDP packet and stores the contents in the specified packet. The address and port fields of the packet will be overwritten with the sender address and port fields. The length field of the packet will contain the length of the original packet. By default this is a [[blocking|Communications System Calls > Message Passing Model > Blocking]] operation. * `void send(DatagramPacket packet)` sends a UDP packet, represented by `packet`. * `void setSoTimeout(int duration)` sets the value of the timeout socket option. This value is the number of milliseconds a read operation will block before throwing a `java.io.InterruptedIOException`. * `void setSendBufferSize(int length)` sets the maximum buffer size used for incoming UDP packets. Whether the specified length with be adhered to is dependent on the operating system.
The ''HttpURLConnection class'' is an abstract class which extends `URLConnection`. See also: * [[Android documentation on the HttpURLConnection class|https://developer.android.com/reference/java/net/HttpURLConnection.html]]
The ''java.net.InetAddress class'' is used to represent [[IP addresses|Internet Protocol (IP)]] within a Java program that utilizes networking. There are no public constructors for `InetAddress`. Instead there are two static methods that return an instance of them. Some notable methods are below: * `boolean equals(Object obj)` compares two IP addresses to see if they are the same. This does not test if they are the same computer, but rather if the IP addresses are the same. * `byte[] getAddress()` returns the IP address in `byte[]` form. This returns the address with the highest-value byte at `byteArray[0]`. * `static InetAddress getByAddress(byte[] addr)` Returns an `InetAddress` object given the raw IP address. Because each section of an [[IPv4 address|IPv4]] is a byte. Here is an [[example implementation of this method|$:/Example - Implementation of InetAddress getByAddress]]. * `String getHostAddress()` returns the hostname of the `InetAddress`. * `static InetAddress getByName(String hostname)` will return the IP address of the given host name. * `static InetAddress[] getAllByName(String hostname)` returns all of the IP addresses of a particular [[host|Networks (Computer Science)]] name. * `static InetAddress getLocalHost()` * `boolean isMulticastAddress()` returns true if the `InetAddress` is a multicast address. See also: * [[Java 8 Documentation on InetAddress|https://docs.oracle.com/javase/8/docs/api/java/net/InetAddress.html]]
The ''java.net.ServerSocket class'' can be used as a factory to provide connections to [[Socket|Java java.net.Socket Class]] objects. These are generally [[TCP sockets|Stream Sockets]]. Some of the constructors are below: * `ServerSocket(int port)` binds the server socket to the specified port number, so that clients may locate the TCP service. By default, the client queue size is 50. * `ServerSocket(int port, int numberOfClients)` this manually specifies the client queue size to whatever is designated. Some notable methods are below: * `Socket accept()` waits for a client to request a connection to the server socket, and accepts it. This is a [[blocking|Communications System Calls > Message Passing Model > Blocking]] operation. This then returns a `Socket` object that represents the client. * `void close()` closes the server socket which unbinds the TCP port and allows other services to use it.
The ''java.net.Socket class'' can be used to create a [[TCP socket|Stream Sockets]]. There are quite a few different constructors. Some of which are outlined below: * `Socket(InetAddress address, int port)` creates a socket connected to the specified [[InetAddress object|Java java.net.InetAddress Class]] and [[port|Networks > Ports]]. If a connection cannot be established, or if connecting to that host violates a security restriction then an exception is thrown. * `Socket(String hostName, int port)` This allows a simple string for the host name to be identified and skip the step of creating an `InetAddress` object. * `Socket(InetAddress address, int port, InetAddress localAddress, int localPort)` creates as socket connected to the specified address and port and is bound to the specified local address and port. If the port is defined as `0` then it will pick a random availble port between 1024 and 65535. * `Socket(String host, int port, InetAddress interface, int localPort)` * `public Socket()` will create a new and blank socket that can be configured * `public Socket(Proxy proxy)` will accept a Proxy object to route traffic through. Some useful methods are below: * `void close()` Make sure to flush any output streams before closing * `void shutdownInput()` Closes just the input stream. This doesn't completely shut down the stream, it just starts returning `-1` whenever input is requested. The socket still needs to be closed completely when finished. * `void shutdownOutput()` Closes just the output stream. Further writes to the output stream throw an `IOException`. The socket still needs to be closed completely when finished. * `boolean isInputShutdown()` * `boolean isOutputShutdown()` * `InetAddress getInetAddress()` returns the address of the remote machine that is connected to the socket * `public void connect(SocketAddress endpoint, int timeout)` can be used to connect a specified `SocketAddress` object after a `Socket` object has been created without an address already specified. * `boolean isConnected()` is a little misleading. It tells you whether or not a socket has ever been connected to the remote host. Even if that connection is now closed. This refers to the remote end of the socket. * `boolean isbound()` returns if a socket successfully bound to the outgoing port on the local system. This is kind of the compliment of `isConnected()`. * `toString()` can be used 😄 Some socket option methods are below: * `public void setTcpNoDelay(boolean on)` can be used to set `TCP_NODELAY`. Setting this to true means that packets are sent as quickly as possible regardless of their size. This can be useful if the application requires a steady stream of small bits of information. For example real-time games or stock tickers. * `public boolean getTcpNoDelay()` * `public void setSoLinger(boolean on, int seconds)` This option sets what to do with datagrams that have not yet been sent when a socket is closed. By default, the `close()` method returns immediately but the system still tries to send any remaining data. If `SO_LINGER` is turned on and set to a positive value then the `close()` method blocks while waiting the specified number of seconds for the data to be sent and the acknowledgements of being received are sent back to the local machine. ** The maximum linger time is 66,535 seconds. That is 18 hours though and normally the platform default is plenty of time. * `public int getSoLinger()` * `public void setSoTimeout(int milliseconds)` Normally the `read()` call blocks as long as necessary to get enough bytes. By setting `SO_TIMEOUT` you ensure that the call will not block for more than a fixed number of milliseconds. If the time expires then a `InterrruptedIOException` is thrown, so you need to be prepared to catch it. ** `milliseconds` can be set to 0 which means infinite. That is the default value. Send and receive buffer sizes can be set with the below methods. Keep in mind that the lower of the two will actually be used for both. Java will report that the higher one is what you set it to, but the underlying TCP protocol will actually be using the lower number for both.See also [[network bandwidth|Network Bandwidth]] for how large a buffer should be. The underlying operating system may ignore or adjust the set buffer size. Unix and Linux systems often specify a maximum buffer size which is typically 64KB or 256KB. The rule of thumb is not to adjust unless you have experienced an issue. * `public int setReceiveBufferSize(int size)` will set the send buffer size in kilobytes. * `public int getReceiveBufferSize()` * `public int setSendBufferSize(int size)` * `public int getSendBufferSize()` There are other configuration options for `OOBINLINE` and `SO_KEEPALIVE` which didn't seem important at the time to take notes on. Using a try-with-resources block to create a socket is a handy way to keep code clean. See also: * [[Link to the Java 8 documentation on the Socket class|https://docs.oracle.com/javase/8/docs/api/java/net/Socket.html]]
The ''java.rmi package'' provides tools to perform [[remote method invocation|Java Remote Method Invocation (RMI)]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java java.rmi Package'>> </div> See also: * [[Link to Java 8 documentation on the java.rmi package|https://docs.oracle.com/javase/8/docs/api/java/rmi/package-summary.html]]
This class is a bit confusing so far. Not sure if it is needed.
The ''java.rmi.Naming class'' can be used for its static methods to retrieve object references in an object registry. Each method takes a URL representing a registry entry. The format is below: ``` rmi://registry_hostname:registry_port/servicename ``` Some notable methods are below: * `static void bind(String url, Remote obj)` which takes a url string as shown above, and a [[Remote|Java java.rmi.Remote Interface]] object to bind to. This adds that entry to the registry. * `static String[] list(String url)` returns a list of services available from the specified rmiregistry. * `static Remote lookup(String url)` returns a reference for the remote object represented by the specified registry entry. * `static void rebind(String url, Remote obj)` modifies an existing registry entry, or creates a registry entry if one does not exist for the specified remote object.
The ''java.rmi.registry package'' provides a class and two interfaces for an [[RMI registry|Java Remote Method Invocation (RMI)]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java java.rmi.registry Package'>> </div>
The ''Registry interface'' seems like it is only used as a placeholder for other things. It doesn't seem like it should actually be implemented for any reason. See also: * [[Link to Java 8 documentation on Registry|https://docs.oracle.com/javase/8/docs/api/java/rmi/registry/Registry.html]]
The ''java.rmi.Remote interface'' is used as a way to identify remote services for [[RMI|Java Remote Method Invocation (RMI)]]. When a class extends the `Remote` interface, know that its methods must declare that they throw `java.rmi.RemoteException`.
The ''java.rmi.server package'' provides classes and interfaces for supporting the server side of RMI. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java java.rmi.server Package'>> </div>
The ''java.rmi.server.UnicastRemoteObject class'' can be used to export a remote object for [[RMI|Java Remote Method Invocation (RMI)]]. Generally the easiest way to develop a remote service is to extend the `UnicastRemoteObject` class and to implement the interface associated with the remote service. Some notable constructors are below: * `protected UnicastRemoteObject()` creates and exports a remote object, using any available server port. If the object could not be exported, a `RemoteException` will be thrown. * `protected UnicastRemoteObject(int port)` creates and exports a remote object using the specified server port. See also: * [[Link to Java 8 Documentation on UnicastRemoteObject|https://docs.oracle.com/javase/8/docs/api/java/rmi/server/UnicastRemoteObject.html]]
The ''java.sql package'' has classes that help with making connections and manipulating a database. This is normally used in conjunction with [[JDBC|JDBC]]. This is normally just imported as a whole. For example: `import java.sql.*`. Table of contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java java.sql Package' sort[title]>> </div>
The ''CallableStatement class'' allows a [[stored procedure|SQL Stored Procedures]] to be used. For example: ``` CallableStatement myCall = myConn.prepareCall("{call some_stored_proc(?, ?)}"); ``` where the `?` are the parameters that can be passed to `some_stored_procedure`. A stored procedure can return a result set. To execute a callable statement, the `execute()` method can be used. An INOUT Parameter can be specified as well, where a particular variable may be also returning a value as well as inputting one. To do this, specify the OUT parameter first for example: ``` myStmt.registerOutParameter(1, Types.VARCHAR); myStmt.setString(1, "Engineering"); // Setting input myStmt.execute(); // Calling the statement String theResult = myStmt.getString(1); // Getting the result ```
The ''Connection class'' provides an object to house a connection a [[JDBC|JDBC]] database. A connection object can be created using the [[DriverManager class|Java java.sql.DriverManager Class]]. Some methods that can be used on a `Connection` object are below: * `commit()` will commit changes to the server. * `rollback()` this is good to do in the finally block of a method that will be using a non auto-committing connection. That way if there were any unfinished changes, that failed for some reason, they can be rolled back. * `createStatement()` which returns a [[Statement object|Java java.sql.Statement Class]]. * `setAutoCommit(boolean b)` where `b` can be true or false of course. If this is set to true, then it will commit after each statement is executed. This might be nice, although if a large table is being created, it may be nice to turn this off so that everything can be done at one time. * `getMetaData()` will return a [[DatabaseMetaData object|Java java.sql.DatabaseMetaData Class]] with information from the connection. * `close()` this is very important to do at the end of a method that uses a connection.
The ''java.sql.DatabaseMetaData class'' can be used to hold [[database|Database]] information from a [[Connection object|Java java.sql.Connection Class]]. Some methods that can be used on a `DatabaseMetaData` object are below: * `getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types)` will return the tables with the specified requirements as a [[ResultSet object|Java java.sql.ResultSet Class]]. If all of the parameters are set to null it will return all tables.
The ''java.sql.DriverManager class'' is a [[JDBC driver manager|JDBC Driver Managers]] and the class has the following methods: * `getDriver` * `registerDriver` * `deregisterDriver` * `getConnection(string dbURL, string userName, string pwd)` which returns a [[Connection object|Java java.sql.Connection Class]].
The ''PreparedStatement class'' is a pre-compiled SQL statement, and a child of the [[Statement class|Java java.sql.Statement Class]]. Using prepared statements may improve application performance, prevent against SQL dependency injection attacks, and make it easier to set SQL parameter values. Here is an example of making a prepared statement where `myConn` is a [[connection object|Java java.sql.Connection Class]]: ```java PreparedStatement myStmt = myConn.prepareStatement("select * from employees where salary > ? and department = ?"); ``` The `?` in a sql string passed to the PreparedStatement class will be replaced with further calls to `setValueType(oneBasedParamNumber, value)`. Here are some of the methods that a `PreparedStatement` object can perform: * Methods of the [[Statement class|Java java.sql.Statement Class]]. * `executeQuery()` this will execute the query held in the PreparedStatement object and return a [[ResultSet object|Java java.sql.ResultSet Class]]. * `clearParameters()` according to [[this book|Book - Fundamentals of Database Systems 7th Ed]], it says that clearing parameters is good to do before setting them. * `setValueType(oneBasedIndex, value)` which will set the value of the corresponding `oneBasedIndex`.
The ''ResultSet class'' can be used to read data from a [[JDBC data connection|Java java.sql.Connection Class]]. It is based on the idea of an [[embedded SQL cursor|Embedded SQL Cursor]]. A new ResultSet starts just before the first row. So `next()` needs to be called on it to get the first row values. A ResultSet gets data in batches determined by the ''fetch size''. This could be 100 rows at a time for example. An object of `ResultSet` has the following method headers worth note: * `getValueType(String columnName)` where `ValueType` can be swapped out with String, int, etc. This gets the currently processed row of data's value in the indicated column by the `columnName` string. * `getValueType(int columnIndex)` which is one based. * `getObject()` can be used with either of the two parameters prior to this bullet and returns a basic object. This is useful if the type of the value is not known ahead of time. That way it can be coerced into a string. * `next()` which returns the next row of the ResultSet. This function returns `NULL` if no more rows are present. * `first()` will set the ResultSet to the first row * `previous()` * `absolute(int rowIndex)` will move the result set to the `rowIndex` position. This may or may not be 0 based. * `getMetaData()` will return a [[ResultSetMetaData object|Java java.sql.ResultSetMetaData Class]]. * `close()` closes the ResultSet. This is very important to do when done.
The ''java.sql.ResultSetMetaData class'' can be used to get different [[meta-data|Metadata]] out of a [[ResultSet|Java java.sql.ResultSet Class]]. Some of the different methods an object of the class can have are below: * `getColumnCount()` will return the number of columns of the ResultSet. * `getColumnLabel(int i)` will return the column label of the column at position `i` where `i` is 1 based.
The ''Statement class'' can be used to execute one SQL statement and return the results it produces. Creating a statement object can be done by using a [[Connection object|Java java.sql.Connection Class]]. The different method headers of note for a `Statement` object are below: * `executeQuery(String sqlString)` this executes the sql command on the database and returns a [[ResultSet object|Java java.sql.ResultSet Class]]. * `executeUpdate(String sqlString)` which has various parameters, although the primary one is a sql string. This statement can be an `INSERT`, `UPDATE`, or `DELETE` operation. This method will return the number of rows affected. Children of the Statement class: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java java.sql.Statement Class'>> </div>
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java java.util Package'>> </div>
The ''java.util.Arrays class'' can be used to manipulate [[arrays|Java Arrays]]. It can sort and search. Some important static methods that can be called on the class are below: * `asList(<arguments>)` returns a fixed-size [[List|Java ArrayList Class]] object and accepts a variable number of arguments. The arguments can be the members of that array.
A class that implements the ''Callable interface'' can be used to feed a class that implements the [[ExecutorService interface|Java java.util.concurrent.ExecutorService Interface]]. The `Callable` interface defines a single `call()` method that generically returns any type. For example the header of a class that implements `Callable` might look like: ```java class FindMaxTask implements Callable<Integer> ``` See also: * [[Link to the Java 8 documentation on the Callable interface|https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Callable.html]]
A class that implements the ''ExecutorService interface'' can create threads as needed. You submit [[Callable|Java java.util.concurrent.Callable Interface]] jobs, and for each one you get back a Future. It seems that this interface can be used generally as well without needing to actually implement it. This is because certain methods in the `Executors` class provide `ExecutorService` objects. Checkout [[this example of doing that|$:/Example - Java - Using Futures and ExecutorService]]. See also: * [[Link to the Java 8 documentation on the ExecutorService interface|https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html]]
`java.util.stack` is derived from `Vector` so it provides inappropriate operations for a stack. It's also based on Arrays and not linked lists. This class is based strongly on the idea of a [[stack|Stack]].
The ''SAXParserFactory class'' can be used to create a [[SAX|Simple API for XML (SAX)]] parser factory in [[Java|Java]]. Some notable methods of the `SAXParserFactory` class are below: * `newInstance()` returns a new `SAXParserFactory` object. Some important methods of a `SAXParserFactory` object are below: * `newSAXParser()` returns a new [[SAXParser object|Java javax.xml.parsers.SAXParser Class]].
This is a topic tiddler for the ''javax package''. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java javax Package'>> </div>
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java javax.net Package'>> </div>
The ''HttpsURLConnection class'' extends the [[HttpURLConnection class|Java java.net.HttpURLConnection Class]] with support for HTTPS specific features. Here is an example of [[using the HttpsURLConnection class in a method to retrieve data|$:/Example - Java - using the HttpsURLConnection class in a method to retrieve data]]. See also: * [[Android documentation on the HttpsURLConnection class|https://developer.android.com/reference/javax/net/ssl/HttpsURLConnection.html]]
The ''javax.swing package'' is pretty huge. Some of the packages and classes under it that have notes are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java javax.swing Package'>> </div> Some other notable packages or classes that probably should get notes are below: * `JTree` * `JEditorPane` * `JScrollPane` * `JOptionPane`
A ''TableModelListener interface'' can be attached to a [[TableModel|Java javax.swing.table.TableModel Interface]] with the `addTableModelListener` method. This interface can be used to make changes to the table model when certain things happen. Or to change things like the row height / column width dynamically. See also: * [[Java 11 TableModelListener interface documentation|https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/event/TableModelListener.html]]
The ''JFrame class'' is part of the [[javax.swing package|Java javax.swing Package]] and can be extended to create a UI in Java. A graphical application shows information inside a javax.swing.Jframe. A window with a title bar. To show a frame, construct a `JFrame` object, set it's size, and make it visible. If you omit the title, the title bar is left blank. If you omit the default close operation, the program will keep running even if the program is closed. If you omit the size, it will be 0 by 0 pixels. Use __setLookAndFeelDecorated(); __to false to have the native look and feel of the operating system. ```java import javax.swing.JFrame; /** This program displays an empty frame. */ public class EmptyFrameViewer { public static void main(String[] args) { JFrame frame = new JFrame(); final int FRAME_WIDTH = 300; final int FRAME_HEIGHT = 400; frame.setSize(FRAME_WIDTH, FRAME_HEIGHT); frame.setTitle("An empty frame"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setVisible(true); } } ``` Use Inheritance to customize and organize frames. To do this design a subclass of JFrame with components as your instance variables, which you initialize in the constructor. This is also a good place to set the frame size. An example is in the note. Keep in mind a main method is still needed separate from this class, but for the sake of simplicity it is inside of the class. ```java public class FilledFrame extends JFrame { // Use instance variables for components private JButton button; private JLabel label; private static final int FRAME_WIDTH = 300; private static final int FRAME_HEIGHT = 100; public FilledFrame() { // Now we can use a helper method createComponents(); // It is a good idea to set the size in the frame constructor setSize(FRAME_WIDTH, FRAME_HEIGHT); } private void createComponents() { button = new JButton("Click me!"); label = new JLabel("Hello, World!"); JPanel panel = new JPanel(); panel.add(button); panel.add(label); add(panel); } public static void main(String[] args) { JFrame frame = new FilledFrame(); frame.setTitle("A frame with two components"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setVisible(true); } } ``` See also: * [[Java Inner Classes]] * [[Example - Extending JFrame in Java|$:/Example - Extending JFrame in Java]] * [[Java GUI Programming|Java GUI Programming]] * [[Link to the Java 8 documentation on JFrame|https://docs.oracle.com/javase/8/docs/api/javax/swing/JFrame.html]]
Call the static input and output method **showInputDialog** of the __JOptionPane __class to give you a dialog box for input to supply a string with a value or output to notify the user of something. This method does return a string and often you need a number. Use **showMessageDialog** to output a dialog box. Examples are in the note. The return values for JOptionPane are number left to right starting with 0. So if they respond with "Yes" then the return value would be 0. String input = JOptionPane.showInputDialog("Enter price:"); double price = Double.parseDouble(input); JOptionPane.showMessageDialog(null, "Price: " + price); JOptionPane.YES_NO_OPTION JOptionPane.YES_NO_CANCEL_OPTION JOptionPane.OK_CANCEL_OPTION int choice = JOptionPane.showConfirmDialog(frame, msg, "Confirm", JOptionPane.YES_NO_OPTION);
See also: * [[Java 11 documentation on the JPanel class|https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JPanel.html]]
The ''JScrollPane class'' can be used to create a scrollable view area in a Java application. Some notable methods are below: * `getViewport()` will return a JViewport and is required to be used to add things to the scroll pane. See also: * [[Java 11 documentation on the JScrollPane class|https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JScrollPane.html]]
The ''JTable class'' can be used to present a table in Java. Some notable methods of an object of the `JTable` class are below: * `setModel(TableModel dataModel)` will set the [[TableModel|Java javax.swing.table.TableModel Interface]] for this `JTable`. This is needed for defining the rows, columns, and some behavior for the table. This can also be used to determine automatic row height / column width changes. See the [[addTableModelListnener method|Java javax.swing.table.TableModel Interface]]. * `setDefaultRenderer(Class<?> columnClass, TableCellRenderer renderer)` sets the default [[TableCellRenderer|Java javax.swing.table.TableCellRenderer Interface]] for the provided `columnClass`. The `columnClass` is retrieved from this `JTable` within the TableModel object that is specified under the [[getColumnClass method|Java javax.swing.table.TableModel Interface]]. * `Component prepareRenderer(TableCellRenderer renderer, int row, int column)` will prepare (not sure what "prepare entails in this context") the provided TableCellRenderer by querying the data model for the value and selection state of the cell at the provided `row` and `column`. ** This seems to just give the back the component that the TableCellRenderer generates. This can be used to possibly get the components properties like height and width. ** This seems like it could be useful in situations where you want to query the table for a cells content (if it is rendered content) and do some kind of operation on the data, like changing cell size. To build a JTable that has different components inside of it, such as [[JPanels|Java javax.swing.JPanel Class]], see [[this guide|https://www.pekalicious.com/blog/custom-jpanel-cell-with-jbuttons-in-jtable]]. See also: * [[Java 11 documentation on the JTable class|https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JTable.html]]
Use a **JTextArea** object to show multiple lines of text. You can specify the number of rows and columns with the constructor __new JTextArea(ROWS, COLUMNS); __. Use the __setText __method to set the text of a text field or area. The __append __method adds text the end of a text area. Use the newline character to separate lines. If you want to use the JTextArea for display purposes only, use __textArea.setEditable(false);__
Use a **javax.swing.JTextField** for reading a single line of input. Place a JLabel next to it for a description, and a button for submission and processing of the text. Using the __getText__ method of the __JTextField__** **class you can get a string of text corresponding to what was written. The constructor for JTextField starts with the number of columns, or a string for initial text to be displayed. Or both can be used like __JTextField(String, int)__ . You can also use a listener and receive the string with a text field which is shown in the note. You can use the getSource method to access methods of the text field from within the listener as well. ```java // Adding an ActionListener to a JTextField private class TextFieldListener implements ActionListener { ~@Override public void actionPerformed(ActionEvent pEvent) { System.out.println(pEvent); } } // Getting the text from the text field private class TextFieldListener implements ActionListener { ~@Override public void actionPerformed(ActionEvent pEvent) { System.out.println(**pEvent.getActionCommand()**); } } // Using getSource() to change the text after entering private class TextFieldListener implements ActionListener { ~@Override public void actionPerformed(ActionEvent pEvent) { <b>JTextField tf = (JTextField)pEvent.getSource(); tf.setText("**********");</b> } } ```
The ''AbstractTableModel class'' implements the [[TableModel interface|Java javax.swing.table.TableModel Interface]] and can be extended to build your own `TableModel` for a [[JTable|Java javax.swing.JTable Class]]. See also: * [[Java 11 documentation on the AbstractTableModel class|https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/table/AbstractTableModel.html]]
The ''TableCellRenderer interface'' can be used to render the cells for a [[TableModel|Java javax.swing.table.TableModel Interface]]? See also: * [[Java 11 documentation on the TableCellRenderer interface|https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/table/TableCellRenderer.html]]
The ''TableModel'' interface can be used to define a data model for a [[JTable|Java javax.swing.JTable Class]]. Normally a class extends [[AbstractTableModel|Java javax.swing.table.AbstractTableModel Class]] in order to implement this interface. Some notable methods are below: * `getColumnClass(int columnIndex)` should return the most specific superclass for all the cell values in the specified column. * `addTableModelListener(TableModelListener listener)` adds a [[TableModelListener|Java javax.swing.event.TableModelListener Interface]] to this `TableModel`. This can be used for updates to the data in the `TableModel` and for row height / column width changes. See also: * [[Java 11 documentation on the TableModel interface|https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/table/TableModel.html]]
The ''javax.xml package'' contains other packages that are helpful for [[XML|Extensible Markup Language (XML)]] manipulation. Some of the important packages are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java javax.xml Package'>> </div>
The ''javax.xml.parsers package'' contains parsers that can be used in [[Java|Java]] for [[XML parsing|XML Parsing]]. Some of the important classes included are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java javax.xml.parsers Package'>> </div>
The ''DocumentBuilder class'' can be used to build a [[DOM|Document Object Model]] representation of an [[XML document|XML Documents]]. A `DocumentBuilder` object can be created from a [[DocumentBuilderFactory object|Java javax.xml.parsers.DocumentBuilderFactory Class]]. Some of the notable methods of a `DocumentBuilder` object are below: * `parse(InputSource source)` this will actually parse the XML document. * `getDocumentElement()` will return the first element in the document, or the root element if it is [[well formed|XML Well Formed Documents]]. This will be returned as an Element object. * `newDocument()` returns a new Document object.
The ''DocumentBuilderFactory class'' can be used to create a [[DOM|Document Object Model]] builder. This is a method of [[XML parsing|XML Parsing]]. Some of the notable methods of the `DocumentBuilderFactory` class are below: * `newInstance()` this will return a new `DocumentBuilderFactory` object. Some of the notable methods of a `DocumentBuilderFactory` object are below: * `setIgnoringElementContentWhitespace(boolean b)` This will set it so that whitespace within [[elements|XML Elements]] are ignored. * `setNamespaceAware(boolean awareness)` this will make it so the parsers produced by this factory will support [[XML namespaces|XML Namespaces]]. * `newDocumentBuilder()` will return a [[DocumentBuilder object|Java javax.xml.parsers.DocumentBuilder Class]] which acts as the XML parser.
The ''SAXParser class'' can be used to create a [[SAX|Simple API for XML (SAX)]] parser in [[Java|Java]]. A SAXParser object can be created from a [[SAXParserFactory object|Java java.xml.parsers.SAXParserFactory Class]]. Some of the notable methods of a `SAXParser` object are below: * `getXMLReader()` returns a new [[XMLReader object|Java org.xml.sax.XMLReader Class]].
The ''javax.xml.transform package'' holds classes and other packages that are helpful for converting content either to, or from [[XML|Extensible Markup Language (XML)]]. Some of the notable classes and packages are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java javax.xml.transform Package'>> </div>
The ''StreamSource class'' can be used to house an [[XML|Extensible Markup Language (XML)]] stream source it seems. The constructor for the `StreamSource` class has the following variations: * `new StreamSource(String url)` this will return a new `StreamSource` object with the given `url`.
The ''Transformer class'' can be used to transform an [[XML|Extensible Markup Language (XML)]] source object to a result. A `Transformer` object can be created with a [[TransformerFactory object|Java javax.xml.transform.TransformerFactory Class]]. Some notable methods of a `Transformer` object are below: * `transform(StreamSource streamSource, StreamResult streamResult)` this will take a [[StreamSource object|Java javax.xml.transform.stream.StreamSource Class]] and transform it to a StreamResult object.
The ''TransformerFactory class'' can be used to create a factory for [[Transformer objects|Java javax.xml.transform.Transformer Class]]. Some of the notable methods of the TransformerFactory class are below: * `newInstance()` returns a TransformerFactory object. Some of the notable methods of a TransformerFactory object are below: * `newTransfomer(StreamSource streamSource)` takes a StreamSource object and returns a new [[Transformer object|Java javax.xml.transform.Transformer Class]].
''JFreeChart'' is a package for Java that is free and contains some source for building charts in Java.
A tutorial for this topic is [[here from the Java site|https://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html]].
The `LinkedHashSet` and `LinkedHashMap` class both extend their Hash counterparts [[HashSet|Java HashSet Class]] and [[HashMap|Java HashMap Class]]. They simply solve the issue of iterator order by maintaining a [[doubly linked list|Doubly-linked List]] running through entries to maintain order of the elements.
A ''local class'' is a class that is declared within a block or compound statement. They could be in a method, if statement, etc. The variables that the class can see have to be declared as final. It cannot see local variables of the method that comprises it for example.
The ''Java Map interface'' provides the operations for a [[map|Map (Computer Science)]]. `put` is used to add to the map with the key and it's corresponding value as parameters. An element is retrieved using the `get` operation which accepts a key value. The operations are listed here: https://docs.oracle.com/javase/8/docs/api/java/util/Map.html. The map interface has two generic type parameters, one for the key and one for the values. Java provides two implementations for the `Map` interface: * [[TreeMap|Java TreeMap Class]] * [[HashMap|Java HashMap Class]]
An image of the different methods available are below: [img width=700 [https://lh3.googleusercontent.com/BCuERikACyA_L_bXJyGzLUtaRz33sXrgZtswEFUgPRYHNF7LFswxoTFLkOyMT2J86kQl5KnYfdH5esA=w2560-h1232-rw]]
When declaring a method you provide a name for the method, a variable for each argument, and a type for the result. The variables for each argument are called the parameter variables . An example is in the note. A ''header'' is like the following beginning statement of a method: `public static double cubeVolume(double sideLength)`. Remember to include the public interface of the method just above the header. This is considered part of the method header. It is not shown in the note in this example. Next you would specify the body of the method. If you calculate the volume like double volume = sideLength * sideLength * sideLength; then to return the value you can use return volume;. Final syntax for a static method is in the note. The order of methods is not important. <<_note """ ``` public static returnType methodName(parameterType parameterName, . . . ) { method body } The cubeVolume method uses a given side length to compute the volume of a cube Pick a name (cubeVolume) Declare a variable for each arguement (double sideLength) Specify the type of the return value (double) Add the public static modifiers. Public will be discussed in chapter 8, for now simply add it to your methods. We already know that static deals with primitive data types (like double) and an instance method deals with objects. Then form the following line: public static double cubeVolume(double sideLength) // This line is called the header of the method. public static double cubeVolume(double sideLength) { double volume = sideLength * sideLength * sideLength; return volume; } ``` """>>
''Java monitors'' are used exactly like [[operating system monitors|Operating System Processes > Monitors]]. Typically a [[synchronized|Java Synchronized Blocks]] method creates the conditions of a monitor.
The ''NetworkInterface class'' can be used to represent a local IP address. Some notable methods are below: * `public static getByName(String name)` returns a `NetworkInterface` object representing the networking interface with the specified `name`. If there is no interface with that name it returns `null`. The format of the name is platform dependent. For example on Unix, Ethernet interfaces have names like `eth0`, and `eth1`. * `public static getByInetAddress(InetAddress address)` accepts an [[InetAddress object|Java java.net.InetAddress Class]] and returns a `NetworkInterface` object for that `InetAddress`. * `public static Enumeration getNetworkInterfaces()` returns an [[Enumeration object|Java Enumeration Types]] listing all the network interfaces on the local host. This will list out things like all the local ethernet cards and adapters. * `public Enumeration getInetAddresses()` This returns an enumeration of the different IP addresses that a `NetworkInterface` object is bound to. This doesn't happen very often nowa days, but can still occur. * `public String getName()` * `public String getDisplayName()` This is supposed to return a more friendly name for the interface, but most of the time just returns the same thing as `getName()`. See also: * [[Link to the Java 8 NetworkInterface class documentation|https://docs.oracle.com/javase/8/docs/api/java/net/NetworkInterface.html]]
The ''oracle.getConnection method'' has the following header: ```java public static DefaultContext getConnection(String url, String user, String password, Boolean autoCommit) throws SQLExepction ``` * `autoCommit` means that after each command it will be sent to the database if this is set to `true`.
The ''org.bson package'' seems to be paired with the [[MongoDB|MongoDB]] Java driver. Some significant classes that are part of the `org.bson` package are below: * [[Document|Java org.bson.Document Class]]
The ''Document class'' can be used to create MongoDB documents. Note that this information is for version 3.6 of the MongoDB Java driver. This seems like a general interface for [[JSON|JavaScript Object Notation (JSON)]] in [[Java|Java]]. The constructor for `Document` accepts a key value pair. For example: ```java Document exampleDocument = new Document("decade", "1970s"); ``` This key value pair, can also include another `Document` object as the second part of the pair. Some notable methods of a `Document` object are below: * `append(String key, Object value)` which will take the key value pair and add it to the root level key value pairs. * `toJson(JsonWriterSettings writerSettings)` this will return a formatted string according to the provided [[JsonWriterSettings object|Java org.bson.json.JsonWriterSettings Class]].
A ''JsonWriterSettings'' object can be created from a [[JsonWriterSettings.Builder object|Java org.bson.json.JsonWriterSettings.Builder Class]]. Some notable methods of the `JsonWriterSettings` class are below: * `builder()` will return a [[JsonWriterSettings.Builder object|Java org.bson.json.JsonWriterSettings.Builder Class]].
The ''JsonWriterSettings.Builder class'' can be used to create JsonWriterSettings objects. A `JsonWriterSettings.Builder` object can be created from the [[JsonWriterSettings class|Java org.bson.json.JsonWriterSettings Class]]. Some notable methods of a `JsonWriterSettings.Builder` object are below: * `indent(boolean indent)` will return a `JsonWriterSettings.Builder` object with the set indentation. Default is false. * `build()` returns a [[JsonWriterSettings object|Java org.bson.json.JsonWriterSettings Class]].
The ''org.w3c.dom package'' provides the interfaces for interacting with a [[DOM|Document Object Model]] kind of API through [[Java|Java]]. Some of the classes in the org.w3c.dom package are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java org.w3c.dom Package'>> </div>
The ''Document class'' can be used to represent a document in a [[DOM|Document Object Model]]. A new `Document` object can be created from a [[DocumentBuilder object|Java javax.xml.parsers.DocumentBuilder Class]]. Some notable methods of a `Document` object are below: * `createElement(String tagName)` which returns a new [[Element object|Java org.w3c.dom.Element Class]] with the specified `tagName`.
The ''Element class'' can be used to work with individual elements in the Java [[DOM|Document Object Model]] representation. An `Element` object can be created from a [[Document object|Java org.w3c.dom.Document Class]]. Some notable methods of an `Element` object are below: *
The ''XMLReader class'' can be used to parse through an [[XML document|XML Documents]] with [[SAX|Simple API for XML (SAX)]]. An `XMLReader` object can be created with a [[SAXParser object|Java javax.xml.parsers.SAXParser Class]]. Some of the notable methods of an `XMLReader` object are below: * `setContentHandler()`
Java's basic ''output stream'' class is [[java.io.OutputStream|Java java.io.OutputStream Class]]. Some other ones are: * `ByteArrayOutputStream` Writes bytes of data to an array of bytes * `FileOutputStream` Writes bytes of data to a local file * `PipedOutputStream` Writes bytes of data to a communications pipe, which will be connected to a [[java.io.PipedInputStream|Java Input Streams]]. * `StringBufferOutputStream` Writes bytes to a string buffer (a substitute data structure for the fixed-length string) * `System.err` Writes bytes of data to the error stream of the user console, also known as standard error. In addition, this stream is cast to a [[PrintStream|Java PrintStream Class]]. * `System.out` Writes bytes of data to the user console, also known as standard output. In addition, this stream is cast to a `PrintStream`. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java Output Streams'>> </div>
A subclass inherits all public methods from the superclass. You declare any methods that are new to the subclass, and change the implementation of inherited methods if the inherited behavior is not appropriate. When you supply a new implementation for an inherited method, you ''override'' the method. To override a method, simply use the same method name, and formal parameters.
This is a topic tiddler for various top level ''Java packages''. Java packages should be named in all lowercase, even if they have multiple words. So for example something like `Wheres That Foam Roller` as a package name would become `wheresthatfoamroller`. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java Packages'>> </div>
''Java Persistence Architecture'' or ''JPA'' providers abstract away the complexity of dealing with the [[relational data model|Relational Data Model]] when your using objects. If you are using a JPA provider, then your code is considered JPA compliant it sounds like. Hibernate is a popular JPA provider.
The ''PrintStream class'' is a very common stream to use, because `System.out` is a PrintStream. `PrintStream` can be chained, and has the following two constructors: ```java public PrintStream(OutputStream out) public PrintStream(OutputStream out, boolean autoFlush) ``` * `boolean autoFlush` will make it so the stream will be flushed every time a byte array or linefeed is written or a `println()` is invoked. `PrintStream` also has 9 overloaded `print()` methods and 10 overloaded `println()` methods for each of the different data types. PrintStream should be avoided completely for network communication because line endings will be different depending on the platform. Also PrintStream eats all exceptions. Notice the usual `throws` clause is not included in the constructors.
''Protected'' is another modifier next to Public and Private. This means that you can set a variable in a superclass, designate it as protected, and both the current class and it's subclasses can access that instance variable. This has some downsides though. Because anyone can write a subclass unless your class is final, that means anyone can corrupt the variables the same as public variables if you designate them as protected. It also makes it very difficult to change those variables because someone might be using them in a subclass. A better way might be to make the accessor method protected if you want all subclasses to be able to access that variable.
''Java Readers and Writers'' are built to mirror their [[stream|Java Streams (Input/Output)]] counterparts. Where the root streams are meant to transfer bytes, readers and writers are meant to transfer characters. The encoding can vary, but the output will remain the same when using readers and writers. <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java Readers and Writers'>> </div>
''Remote method invocation'' or ''RMI'' seems to be developed by [[Oracle|Oracle Corporation]]/[[Java|Java]] and allows one JVM to communicate with another JVM and have it execute an object method. In this method of application synchronization, objects are in the same [[logical address space|Logical Memory Addresses]]. This is similar to [[RPC|Remote Procedure Calls (RPCs)]] with the difference that RMI only support Java and RPC supports any language. Typically RMI is divided into two categories: clients and servers. A server provides an RMI service, and a client invokes object methods of this service. An RMI server needs to register with a ''registry'' or ''name server''. Multiple RMI servers can register with a single registry. In order to create an RMI service interface it must extend [[java.rmi.Remote|Java java.rmi.Remote Interface]]. The client can request a particular service name using a [[URL|Uniform Resource Identifier (URI)]] of the form: ``` rmi://hostname:port/servicename ``` Once the object reference is received by the client, then the client can use the object as if it were local. This is through the clever use of something called a ''stub'' and a ''skeleton''. The stub acts as a ''proxy object'' which conveys requests to the remote RMI server. An image of how this might look is below: [img width=600 [https://i.imgur.com/GhiM4LX.png]] Valid RMI parameter and return types are: * Any Java object that implements [[Serializable|Java java.io.Serializable Interface]] * Primitive types * Remote Java objects Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java Remote Method Invocation (RMI)'>> </div>
The ''SecurityManager class'' can be used to implement a security policy in Java. See also: * [[Link to the Java 8 documentation on SecurityManager|https://docs.oracle.com/javase/8/docs/api/java/lang/SecurityManager.html]]
the ''serialver tool'' ships with the JDK and can be used by typing the command `serialver -show` into a command line prompt. This is used for object serialization in Java. Most relevant is probably the [[ObjectOutputStream class|Java java.io.ObjectOutputStream Class]]. This tool will take a class and display the value of its `serialVersionUID` field. This field can be copy and pasted into a class so that it will have the same serial version ID as updated versions of the class in the future.
''Java servlets'' are a server-side component which respond to requests. They typically reside within a server, they receive information through parameters or a stream/reader, and they return [[MIME-typed|HTTP Header MIME Types]] results through a stream/writer. This could work with something like [[Java Spring|Java Spring]]. A framework like TomCat might be in charge of decided what servlet would be responsible for a particular request. Servlets run inside of a container where the container is multi-threaded and processes requests [[concurrently|Concurrency]]. This makes sense because multiple distinct requests don't need to communicate with each other. Servlets are therefore [[singletons|Singleton Design Pattern]] and must be thread-safe. One application might have many servlets. For example there might be two different web app "contexts" which use multiple servlets inside one container. Some pros of servlets are: * Has been shown to be secure and scale for heavy computational apps * Lots of trained folks with lots of tools and lots of frameworks * Significant install base Some cons: * Operations staff always has a hard time supporting it * Code can be quite verbose, bloated, and boring * Does not easily play will with client-side focus
The ''Java Set interface'' defines the operations for a set collection. Those operations are shown here: https://docs.oracle.com/javase/8/docs/api/java/util/Set.html. Java provides two implementations for the `Set` interface: * `TreeSet` which extends the [[TreeMap class|Java TreeMap Class]]. * [[HashSet|Java HashSet Class]]
A ''static variable'' belongs to the class, and not any object of the class. For example if you want a unique ID number for a bank account constructor in a bank account class. Each object has the variables balance and accountNumber but lastAssignedNumber is stored outside of any of the objects. Static variables should be declared private, but static constants can be either private or public. For example public static final double OVERDRAFT_FEE = 29.95; could be declared, then someone could refer to that variable with BankAccount.OVERDRAFT_FEE. ``` public class BankAccount { private double balance; private int accountNumber; private static int lastAssignedNumber = 1000; public BankAccount() { lastAssignedNumber++; accountNumber = lastAssignedNumber; } . . . } ```
''Input and Output'' in [[Java|Java]] is different than most other programming languages in that it is based on ''streams''. Input streams read data, output streams write data. All input streams use the same basic methods to read data and all output streams use the same basic methods to write data. Think of streams like a pipe to transfer your data through. Streams are [[synchronous|Synchronous]]. So when a program (thread) asks a stream to read or write a piece of data, it waits for the data to be read or written before it does anything else. Java also offers [[nonblocking|Communications System Calls > Message Passing Model > Nonblocking]] I/O using channels and buffers. This is a bit more complicated but worth it on high-throughput applications. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java Streams (Input/Output)'>> </div>
''Synchronized blocks'' can be used to tell Java that a series of commands should be executed together. For example the System.out resource will be interrupted by any piece of code that needs to use it, even if another piece of code was using at that time. So: ```java synchronized (System.out) { System.out.print("This"); System.out.print(" Will"); System.out.println(" happen in a row"); } ``` The ''synchronized keyword'' can be used to indicate that a particular piece of code should only be ran in sequence, never in parallel. This will even work across different classes and objects as long as the keyword is used for the same object. This does not restrict other classes and objects from using the shared resource if `synchronized` is not used though. The synchronized keyword can also be used for methods. This isn't always suggested though because in some VMs this exacts a heavy performance penalty. When synchronized methods are created, only one synchronized method can run at a time per instance. This doesn't affect all instances of the class at once. For example: ```java public synchronized void writeEntry(String message) { out.write(message + "\r\n"); } ```
''Java threads'' are an implementation of [[multi-threading|Operating System Multi-threading]] in [[Java|Java]]. Because global variables aren't really allowed in Java, a class needs to be created that holds the "global" variables for the threads. Another way to transfer data between threads is to use [[PipedOutputStream|Java java.io.PipedOutputStream Class]] and [[PipedInputStream|Java java.io.PipedInputStream Class]]. To create a class that can be threaded, all it needs to do is implement [[Runnable|Java java.lang.Runnable Interface]]. Once this is done, a new [[Thread object|Java java.lang.Thread Class]] can be created, and the thread can be started. Here is an [[example of doing this in Java|$:/Image - Example of using threads in Java]]. The easiest way to make classes and methods thread safe is to make their variables immutable. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Java Threads'>> </div>
The ''Java TreeMap class'' is based on the idea of [[tree maps in computer science|Tree Maps (Computer Science)]]. Here is [[documentation for the TreeMap class|https://docs.oracle.com/javase/8/docs/api/java/util/TreeMap.html]].
The same Java program will run without change on Windows, UNIX, Linux, or Mac because it does not translate java programs directly into CPU instructions, Instead compiled Java programs contain instructions for the Java virtual machine which is a program that simulates a real CPU. Java is considered to be architecture-neutral. An image is below of how the JVM generally fits into the big picture [img width=600 [https://i.imgur.com/GhRpATa.png]] The JVM includes many things. But among those are the following: * Byte-code Verifier - This makes sure that the [[bytecode|ByteCode]] is in a valid format. * Class Loader - Determines how and when to load class files * Security Manager - Monitors certain operations based on existing constraints for accessing resources (files, ports, system).
A java.lang.ArrayStoreException will be thrown if for example you assign an array of a superclass type, a new array of one of the sub-classes. Then subsequently assign an element of the array a new subclass unrelated to the first, but still under the original superclass. It will throw this error at run-time and not compile time. So it's good to be careful with polymorphism in these cases.
A ''JavaBean'' is a standard for Java classes. It means the following: * That all properties are private * All properties use getters and setters * A public no-argument constructor is available * and that it implements [[Serializable|Java java.io.Serializable Interface]]. JavaBeans were originally defined to create reusable GUI components. The package [[java.beans|Java java.beans Package]] provides facilities for managing JavaBeans.
The ''javac'' command takes as input Java source files and produces as output [[byte-code|ByteCode]] in [[class files|Java Class Files]]. Its general structure is below: ```bash javac <options> <.java files> ``` * `<options>` can be a combination of the following: ** `-d <class file output directory>` * `<class file output directory>` can be something like `.` meaning the current directory. This is for the output of the `.class` files. * `<class files>` can be the full class file name such as `MyClass.java` See also: * [[Link to the Java 8 documentation for javac|https://docs.oracle.com/javase/8/docs/technotes/tools/windows/javac.html]]
The Java language provides a standard layout for descriptions of classes, constructors, fields, interfaces, and methods, called the ''javadoc'' convention, as shown in the note. The first line of the comment describes the purpose of the item. JavaDoc comments are written in HTML which means tags like `<p>` can be used to indicate a paragraph break. Other html specific actions are in the note. JavaDoc tags or block tags are represented by an `@` sign that define the type of information that follows it. `@param` tag describes a parameter variable and the `@return` tag describes the return value. The first `@` will indicate the end of the description, unless it is used with brackets such as `{@link OtherClass}`Some common tags with their uses are in the note. You don't need to include the return variable name after `@return` like you do with `@param`. Guidelines for writing JavaDocs are in the note. <<_note """ JavaDoc Quick Example: ``` public class MyClass { /** Field Description of myIntField */ public int myIntField; /** Computes the volume of a cube. @param sideLength the side length of the cube @return the volume */ public static double cubeVolume(double sideLength) { double volume = sideLength * sideLength * sideLength; return volume; } } ``` __JavaDoc General Guidelines:__ * Ideally the JavaDoc comments, and declarations are written first, then things are filled in as needed. This makes it easier to design the code to spec. * The goal of the JavaDoc comments is that a designer or programmer can rewrite the code to spec from the comments. * The first sentence should be a concise description of the field, class, or method. * Use "this" vs "the" when referring to an object of the class. * If referring to a specific method, use the parameters such as `add(int, Object)`. If all instances of that method name are being referenced, leave out the parenthesis all together such as `add`. * The specification for the program/class/API is entirely contained in the comments, and where it cannot be because it is too large, it is linked to from the comments. * Tutorials, examples, definitions of terms, and conceptual overviews can be linked to in comments, but preferably not stated in comments. API assertions should be in comments. * Code bugs can be included either as separate documentation linked by the comment, or as a custom tag such as `@bug`. * All objects are assumed to be "thread safe". This means that it is permissible for multiple threads to access them concurrently. This is sometimes a lofty goal. __JavaDoc Specific Construct Guidelines:__ * Method descriptions begin with a verb. * Class descriptions can omit the subject and just state the object. For example "A button label" which is good vs "This field is a button label". * Labels can be like the following example: ``` /** * The {@link String} instance representing something. */ ``` * Constructors can be pretty simple. Nothing really special besides starting with a verb like a method. __JavaDoc HTML Specific Uses:__ * `<p>` can be used to indicate a paragraph break * `<code> ... </code>` can be used to indicate Java keywords, package names, method names, class names, field names, or code examples. * `{@Link}` can be used but sparingly. Only if you decide that a user might actually want to click that link because they call so much attention to themselves. If a link is used, only use it for the first mention of the link. __JavaDoc Tags In Standardized Order:__ # `@author [author name]` # `@version [version]` # `@param [argument name] [argument description]` Ideally the first noun in the description is the data type. So "the character to be tested". Do not add periods to the end of the phrases unless a sentence will follow. Leave the phrase un-capitalized. # `@return [description of return]` Include this will all methods that have a return value even if it is entirely redundant with the description. Include the return type and permissible range of values. The description should be un-capitalized and end without a period unless there is another sentence after it. # `@exception [exception thrown] [exception description]` # `@throws [exception thrown] [exception description]` This is the same as `@exception` __Sources:__ * http://www.oracle.com/technetwork/articles/java/index-137868.html """>>
''Custom JavaDoc tags'' can be used. A good reference for finding future notes[[ is here|https://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/doclet/overview.html#customtags]].
The JavaDoc Utitlity formats documentation comments into a neat set of documents you can view in a web browser. Just like https://docs.oracle.com/javase/8/docs/api/. Many IDEs can do this for you, but you can also invoke the javadoc utility from a shell window by issuing the command Javadoc MyClass.java. There are more options in the note. Another example command could be `Javadoc A.java B.java c:\OtherWork\*.java` <<_note """ JavaDoc Options: These may or may not be current -author - generated documentation will include a author section -classpath [path] - specifies path to search for referenced .class files. -classpathlist [path];[path];...;[path] - specifies a list locations (separated by ";") to search for referenced .class files. -d [path] - specifies where generated documentation will be saved. -private - generated documentation will include private fields and methods (only public and protected ones are included by default). -sourcepath [path] - specifies path to search for .java files to generate documentation form. -sourcepathlist [path];[path];...;[path] - specifies a list locations (separated by ";") to search for .java files to generate documentation form. -version - generated documentation will include a version section """>>
''JavaScript'' is now more often called ''EcmaScript''. JavaScript was created by Brendan Ike in 10 days and was originally called Mocha when under development under Sun micro systems. The language was based on [[Scheme|Scheme Programming Language]] & Self. When it was released it was called Livescript. Later it was called JavaScript as a joke. Microsoft reverse engineered JavaScript and named it JScript for internet explorer. JavaScript is a [[weakly-typed language|Weakly Typed Programming Languages]]. <div class="tc-table-of-contents"> <<toc-selective-expandable 'JavaScript' sort[title]>> </div>
''Anonymous functions'' can be created with the following syntax: ``` const myFunc = function() { const myVar = "value"; return myVar; } ``` An easier way to do the exact same thing is using the ''arrow function'': ``` const myFunc = () => { const myVar = "value"; return myVar; } ``` when there is no function body, and only a return value, the brackets can be omitted and the return keyword. For example the following does the same as well: ``` const myFunc = () => "value"; ``` Here is another [[example of using the arrow function|Example - JavaScript - Using the arrow function 1]].
An [[array|JavaScript Arrays]] can be ''destructured'' almost in the exact same way that [[objects are destructured|JavaScript Object Destructing Assignments]] with the difference that it does it by the array count, instead of by property name. For example: ``` const [a, b,,, c] = [1, 2, 3, 4, 5, 6]; console.log(a, b, c); // 1, 2, 5 ```
The ''Array.prototype property'' represents the prototype that all [[Arrays|JavaScript Arrays]] are built off of. This means that all properties of the `Array.prototype` property are common amongst all JavaScript arrays. Some methods without tiddlers are below: * `Array.prototype.push()` which takes one or more parameters and pushes them onto the end of the array. * `Array.prototype.pop()` will pop the element off the end of an array and return it. * `Array.prototype.shift()` does the same thing as pop although with the first element in the array * `Array.prototype.unshift()` does the same thing as push although onto the beginning of the array. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'JavaScript Array.prototype Property' sort[title]>> </div>
The ''Array.prototype.filter function'' can be used on an [[array|JavaScript Arrays]] with dot notation. The function accepts a function as an argument, where the argument function has a parameter that will be each member of the array, and the return value is true or false, which determines if that particular member of the array will be included in the filtered array.
The ''Array.prototype.includes method'' can be used on an [[array|JavaScript Arrays]] with dot notation. The function accepts one value as an argument which it will test the given array to contain.
The ''indexOf method'' will return the index of the element provided as an argument. For example `fruits.indexOf('dates')`. If the element does not exist in the array, then it will return `-1`.
The ''Array.prototype.map function'' can be used with dot notation on an array and takes a function as an argument that has the following general form: ``` array.map((value, index, originalArray) => some return value) ``` where the argument of the embedded function is each member of the array, and the return value is the value that will be outputted in the resulting array. This is a [[pure function|Pure Functions (Functional Programming)]], as long as the callback function doesn't edit the `originalArray`. See also: [[JavaScript filter Function]]
The ''Array.prototype.reduce method'' is one of the more malleable methods that can be performed on arrays. The callback function used as the argument for the reduce function has 4 parameters as shown in the general format below: ``` arr.reduce((accumulator, currentValue, currentIndex, sourceArray) => result) ``` The returned value is assigned to the accumulator after each iteration through the array. At the end, the accumulator is returned.
The ''slice method'' of [[Arrays|JavaScript Arrays]] will take up to two arguments which are the starting index, and ending index of the array to slice. It will then return the values of the array as a new array from the starting index to the ending index (non-inclusive).
The ''array splice method'' starts with the index value to be chosen, and then the next parameter is how many elements you wish to delete, any other parameters after that designate what elements to replace the deleted ones with. For example if you want to delete index 2 through 5 then the command could be `array.splice(2, 4)`. `array.splice` modifies the array its being called on, and returns a new array which contains the deleted elements. This can also be used to add values at a specific index by designating the elements to be deleted to 0, then all following arguments will be elements to be added to the array. For example `array.splice(3, 0, "Trying", "this", "out")` would add the 3 strings starting at the index 3.
''Arrays'' are a type of list objects. They are defined with square brackets, the items inside an array are called elements. See the [[actual array object here|JavaScript window.Array Constructor]]. An example of an array is below: ``` [ 'Apple', 'Orange', 'Pear' ] ``` Whenever an array is edited, the keys that define the index will automatically be adjusted up or down depending on where the removal or addition occurred so it keeps contiguous numbering. Objects can be held within arrays and arrays are not specific to [[types|JavaScript Basic Data Types]]. They can have any mixture of types within them. Even functions can go inside an array, but the function will not have a name, unless it is declared outside the array. If an array is treated like an object, and a property is assigned, it will still be an array but no longer countable. The different methods that can be performed on an `array` are under the [[Array.prototype property|JavaScript Array.prototype Property]]. Normal arrays are [[mutable|Mutability]] unlike [[strings|JavaScript Strings]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'JavaScript Arrays' sort[title]>> </div>
''Assignment operators'' have different forms. The basic one `=` is pretty straightforward. `+=` adds to the existing value. `-=` subtracts from the existing value. `*=` multiplies the existing value. `/=` divides the existing value, similarly to `%=`. `**=` takes the original value and puts it to the power of the new value. For example `var num = 2; num **= 4` would provide 2 ^ 4. Everything to the right of the `=` is resolved before the value is assigned to the variable on the left.
''Async/Await'' is a way to make JavaScript a little more [[synchronous|Synchronous]]. According to SER 421, async await does NOT make the code synchronous. Generally, `await` can only be used in in a function that is preceded by `async`. Async/Await is syntactic sugar over [[promises|JavaScript Promises]]. The general structure is as follows: ``` async function <functionName> { await <Promise-returning synchronous function call> return <something> <optional catch> } ``` * `async` actually causes the function to return a [[promise|JavaScript Promises]]. The return statement almost works like `resolve` because of this. * `await` does not block the thread that it is running on, but it does block the logical sequence in which it is contained, in other words, it blocks the scope in which it is held from moving on until it gets a result. If the value is rejected, then that value is thrown so it can be caught in a catch block, see below. * `<optional catch>` can be a catch block which will be called if any of the promises in the async function throw an error. See also: * [[Example of an async function|$:/Example - JavaScript - Async/await function]] * [[JavaScript Promises|JavaScript Promises]]
The different basic ''data types'' in JavaScript are listed below: * `undefined` * `null` * [[JavaScript Boolean Values]] * [[JavaScript Strings]] * `symbol` * [[JavaScript Number Data Type]] * [[JavaScript Objects]] * [[JavaScript Template Literals]]
Almost every value in JavaScript evaluates to `true`, the only ones that don't are the ''falsy values'' which are `false`, `0`, `""`, `NaN`, `undefined`, and `null`.
A ''JavaScript callback function'' is the same idea as a [[normal callback function|Callbacks (Functional Programming)]].
The ''class keyword'' can be used to create classes in JavaScript. It can also include a `constructor` function which will be used when there is a `new` object of the class created. The constructor is just like a normal [[JavaScript constructor|JavaScript Constructors]] For example: ```javascript class Book { constructor(author) { this._author = author; } // getter get writer(){ return this._author; } // setter set writer(updatedAuthor){ this._author = updatedAuthor; } } ``` When classes are created in this way, it enforces the use of the [[new keyword|JavaScript new Keyword]]. Also, any functions that are declared within the class declaration are automatically tacked onto the [[prototype|JavaScript Prototypes]] of that object type.
''Closure'' in JavaScript means that a function always has access to the context in which it was created.
A ''collision'' is when there are two properties in a prototype chain with the same symbol.
''Comments'' can be done in JavaScript with `//` for inline comments and `/*` paired with `*/` for multi-line comments.
Another way to access a member is called ''computed member access'', which is listing the object or array symbol followed by brackets holding the key value of the requested member. Such as `array[1]` to access the second element, or `car["engine"]` to access a property named "engine". The value within the computed member access brackets are a statement of javascript. Because of this `engine` cannot by listed directly without quotes, because it would look for the variable `engine`.
The ''computed properties'' are the properties of an element that have been assigned to it through CSS files, or from the browser's defaults. They do not include the style properties of the element.
''Concatentation'' can be done by using a `+` symbol like Java. Anything combined with a string, even null, will be converted to the string.
''JavaScript conditionals'' are very similar to Java, except that braces are required. An example is in the note. ``` if ("yes" === "Yes") { console.log("This will not print."); } else if ( "yes" == "Yes") { console.log("this will print."); } else { console.log("the conditional will not quite get here.") } ```
The ''console.clear function'' will clear the console and can be written as `console.clear()`.
To log to the console, the ''console.log'' function can be used. For example `console.log(25)` will print the number 25 in the console. Multiple things can be logged on the same line by adding commas between the values. This will insert a single space between each value seperated by a comma. For example `console.log(25, true, null)` would result in `25 true null`.
The ''const keyword'' defines a constant. When creating a constant, it needs to be assigned immediately, unlike [[var|JavaScript var Keyword]] which can be assigned later. These respect the scope in which they are defined. An object, array, and function defined with const can still be modified. Assigning something with `const` means that the variable identifier cannot be changed. To actually make an object immutable, the [[freeze method|JavaScript Object.freeze Method]] can be used.
''JavaScript constructors'' are [[JavaScript functions|JavaScript Functions]] that are named starting with a capital letter by convention, so that it's possible to tell that it is in fact a constructor. The constructor should return an object with the given parameters as modifiers. Constructors are a bit like classes in java, because they define the properties, and methods of each unique object, which is turned into an instance when the [[new keyword|JavaScript new Keyword]] is used. Methods in JavaScript cannot be overloaded, so only one constructor is allowed. To simulate overloading, you can test if certain variables that could be passed to the constructor are `undefined` or not. Keep in mind that when the `new` keyword is used, it sets any reference to `this` to `{}`, meaning that within the constructor, properties can be added to the object with the [[this keyword|JavaScript this Keyword]]. An example is in below: ```javascript function Apple(x, y, color, score) { this.x = x; this.y = y; this.color = color; this.score = score; } let apple1 = new Apple(10, 20, "red", 200); ``` To use a constructor for example `Apple` use `let apple1 = new Apple();` If a constructor is called without the new keyword, it will assign the constructor values to whichever the `this` keyword represents for that function. See the [[this keyword tiddler|JavaScript this Keyword]] for more information on how that works. See also: * [[JavaScript Objects]] * [[JavaScript Private Properties]] * [[JavaScript class Keyword]]
Some different ''JavaScript control structures'' are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'JavaScript Control Structures'>> </div>
The ''delete operator'' can remove certain methods or properties. For example `delete car.make;` will remove that property.
The ''dir function'' allows any object to be printed as an object in the console. For example `dir(document.getElementById("hello"))`.
The ''document.cookie property'' holds the raw string value of the [[cookies|HTTP Cookies]] for the current interaction with the web page. This can be used with something like [[cookie-parser|NPM Packages > cookie-parser]] to help get the cookies out. If you would like to add a cookie there are a few different ways to do it. An easy way is just to set the `cookie` property to another cookie, which will actually add that cookie to the list instead of overwriting it. For example: ```javascript document.cookie = "foo=bar"; ``` To get rid of a cookie it needs to be expired, so you can use something like: ```javascript setCookie("foo", "bar", 0); ``` Where `setCookie` is a [[global function|JavaScript Global Functions]] it seems like.
The ''document.createElement method'' allows an element to be created in the HTML file from javascript. The parameter required is the type of element. For example to create a div, the following could be used: `let element = document.createElement('div');`. At this point the element has not been added to the document yet, but it is a fully featured DOM element. To insert an element into the document, the `appendChild` method can be used. For example: ```javascript document.body.appendChild( element ) ``` will put the element as the next child in the body. This can be used for any children in the document as well. The method `insertBefore` can place the element before a specified element. See also: * [[MDN Documentation on the Document.createElement method|https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement]]
The ''document.getElementById method'' can be used on any object which implements the [[Document interface|DOM Document Interface]] that specifically holds HTML. This might be a different interface, but for now it seems that the requirement is just that it holds HTML. This searches the entire document object for the item, so it's good to only do this once for each item. For example to access a paragraph with the property `id="demoParagraph"`, the following code could be written: `document.getElementById("demoParagraph")`. There is also * `getElementByTagName(name)` * `getElementByClassName(name)` For example a tag name would be like `<p>` so all paragraphs could be retrieved with `document.getElementById("p")` which will return an array containing each instance of that tag. These methods and their siblings return an element object if they are found (or an array of element objects) or they return `null` if nothing is found. See also: * [[W3Schools page on using getElementById and its related methods|https://www.w3schools.com/js/js_htmldom_document.asp]]
The ''document.querySelector method'' can be used on any object that implements the [[Document interface|DOM Document Interface]] and displays what is selected as an array of objects. To search for an id, use the # symbol. To look for a class use the `.` symbol. For example to return an array of all HTML elements that are of the class `pClass` or with the id `hello` use `document.querySelectorAll('#hello, .pClass');`. This can also be used to target any kind of identifier for an element. For example to find all paragraphs that are have have the `data-content` property and that property set to `123` use `document.querySelectorAll('p[data-content="123"]')` To target children of certain parts of the code, use the following example where there is a span that is a child of a header with the class of `pClass` that is the child of the body then also combined with the second example: `document.querySelectorAll('p[data-content="123"], body > h1.pClass > span')`. This follows the same standard [[CSS selectors|CSS Selectors]].
The ''equals operator'' can be used by writing two equals `==`. `null == null` is true, `undefined == undefined` is true, but `NaN == NaN` returns false, because it is not comparable. `null == undefined` returns true though because of type coercion. Another example is that `10 == "10"` will return true even though they are a string and integer because the integer gets turned into a string. The other comparison operator that prevents type coercion is `===` so that `null === undefined` returns false. In a similar way, the not equal operator is `!=` and does use type coercion. Then adding another equals, will not change the data type `!==`.
An ''error object'' in JavaScript is a [[fundamental object|JavaScript Objects]] and can be created with the constructor `Error("Error string")` and it does not need a `new` operator. For example in the case of [[promises|JavaScript Promises]], the following could be used: `reject(Error("Something didn't go right"))`. An error object has a couple notable properties because it doesn't seem to act like a normal object. Those properties are below: * `Error.prototype.message` contains the message for the error. * `Error.prototype.name` contains the name of the error.
The ''escape character'' in JavaScript is the backslash or `\`.
More details should be looked up about this. Some information on debugging chrome with JavaScript things is here: https://developers.google.com/web/tools/chrome-devtools/javascript/
''export default'' is a way to set a fallback [[export|JavaScript export Keyword]]. This is the preferable way to export things if a javascript file only exports one thing. `export default` cannot accept const, var, or let directly, although it can accept functions and [[classes|JavaScript class Keyword]] directly. For example: ```javascript export default function subtract(x,y) {return x - y;}; ``` Here is another example where a constant is exported. ```javascript const someVar = 3; export default someVar; ``` To import a default export, the [[import statement|JavaScript import Keyword]] can be used. See also: * [[Mozilla export default documentation|https://developer.mozilla.org/en-US/docs/web/javascript/reference/statements/export]]
To use the [[import keyword|JavaScript import Keyword]], the ''export keyword'' must have been used in the other file. The export keyword can be used in the following ways: ``` const capitalizeString = (string) => { return string.charAt(0).toUpperCase() + string.slice(1); } export { capitalizeString } //How to export functions. export const foo = "bar"; //How to export variables. ``` or things can be exported all at once with ``` const foo = "bar"; export { capitalizeString, foo } ``` See also: * [[JavaScript export default]] * [[Mozilla export statement documentation|https://developer.mozilla.org/en-US/docs/web/javascript/reference/statements/export]]
The [[fetch API|JavaScript fetch Method]] provides a ''Response interface'' that can be used with evidently many different types of responses. Typically a response object is received as the resolved portion of a fetch promise. Some notable properties and methods of a Response object are below: * `json()` returns a [[promise|JavaScript Promises]] that resolves with a JSON representation of the response body. See also: * [[MDN documentation on the fetch Response interface|https://developer.mozilla.org/en-US/docs/Web/API/Response]]
The ''fetch'' method can be called in most contexts including the [[Window object|JavaScript window Object]] and `WorkerGlobalScope` which there are yet to be any notes on. `fetch()` takes one mandatory argument which is a path or URL to the resource you want to fetch. It returns a [[promise|JavaScript Promises]] that resolves to a [[fetch response|JavaScript Fetch API Response Interface]] to that request whether it is successful or not. To pass the client's cookies along with a fetch request, you can setup the fetch method like so: ```js fetch(url, { credentials: 'include' }) ``` See also: * [[MDN documentation on the fetch API|https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API]]
A ''for loop'' is done by using the `for` keyword followed by some statements, and the braces that contain the loop contents. For example `for (let i = 0; i < n; i++) { ... }`. This is virtually exactly the same as java. To use an enhanced for loop with an array for example use the following `for (let i in classRegister) { ... }`. For loops are heavily optimized in JavaScript, so they are very good to use.
A ''for...in statement'' is the equivalent of an enhanced for loop in Java except that it uses an object instead of an array. For example an object with different users as keys could have a loop like: ``` for (let user in users) { console.log(user); }; ``` where `users` is the object.
A ''function'' or ''subroutine'' are sets of instructions. To create a function, start with the keyword `function`, then the name of the function followed by parenthesis containing parameters. Then there are braces which contain the set of instructions, which can but don't need to return something. An example of a function declaration is shown below: ``` function square(number) { return number * number; } ``` Functions can be embedded within functions. If a function does not have a return value, it returns `undefined`. Functions can be given default values for parameters by setting them in the argument list. Here is [[an example of using a default value in the arguments|Example - JavaScript - Using a default value for argument in function]]. If the argument is specified in the function call, the default value will have no effect. To put a variable number of arguments in a function, use the [[rest operator|JavaScript Rest Operator]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'JavaScript Functions' sort[title]>> </div>
The ''getComputedStyle function'' allows for the [[computed properties|JavaScript Computed Properties]] to be returned as an object. For example with an element `el`, `getComputedStyle(el);`
''Global functions'' are any function that is able to be used from the global scope in JavaScript. That means that it is any function that is directly attached to the [[window object|JavaScript window Object]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'JavaScript Global Functions' sort[title]>> </div>
An ''immediately invoked function expression'' or ''IIFE'' is one where an [[anonymous function|JavaScript Anonymous Functions]] is created with no variable, and then immediately invoked. For example: ``` (function () { console.log("Chirp, chirp!"); })(); // this is an anonymous function expression that executes right away // Outputs "Chirp, chirp!" immediately ```
The ''import keyword'' allows specific functions from a code base to be imported. The general format is below: ```javascript import { functionOrVariableName } from "file_path_goes_here"; ``` In most cases the file path requires a `./` before it, otherwise it will look in the node modules directory. If the file is in the same directory, then no prefix is needed. The `.js` extension is not needed because it seems that it is assumed. To import everything in a file use the `*` wildcard. When this is done, all functions and variables are imported into an object, so that object must be indicated. For example: ```javascript import * as object_name from blah_blah; ``` To import the [[default export|JavaScript export default]] of another file, just the desired variable name can be used. For example: ```javascript import defaultExportVariableName from "example_file_path.js"; ``` See also: * [[JavaScript export Keyword]] * [[Mozilla import statement documentation|https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import]]
An ''inferred global'' means that the JIT compiler will look for the symbol from the scope it is within, and if it doesn't find it, the next outer scope, and the next until it finds it or it hits the global scope. This means that a variable can be re-declared, or in a way, 'overridden' within a specific scope. This means that naming collisions cannot really happen. The issue with this is that if attention is not payed, the outer variable can be reset or set to a value that was not intended when names are used repeatedly. If there is no var declaration, and something such as `test = "new string"` is stated, then it will be assigned to the window object. This is called clobbering the global scope.
''Inheritance'' in JavaScript follows [[prototypical inheritance|Prototypical Inheritance]]. [[Object|JavaScript window.Object Constructor]] is a ''supertype'' of all objects in JavaScript. Anything that has `Object` as a supertype, is a ''subtype'' of `Object`. To have an object inherit the prototype of another object, the [[Object.create method|JavaScript Object.create Method]] can be used.
The ''instanceof operator'' can be used to tell if an [[object|JavaScript Objects]] was created from a particular [[constructor|JavaScript Constructors]]. For example `crow instanceof Bird;` where `Bird` is the constructor. `instanceof` will return true or false.
The ''intersection observer API'' can be used to track if something is in the viewport in a webpage. This seems to be performed in different ways for different frameworks. First you need to create an [[IntersectionObserver object|JavaScript IntersectionObserver Class]]. More details at the tiddler. Intersection is calculated by rectangles. Elements that are irregularly shaped are treated like the smallest rectangle that encloses all of the element's visible parts. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'JavaScript Intersection Observer API'>> </div> See also: * [[Article on using intersection observer in React|https://www.robinwieruch.de/react-intersection-observer-api]] * [[Mozilla documentation on the Intersection Observer API|https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API]]
See the [[intersection observer API tiddler|JavaScript Intersection Observer API]] for more details on using the ''IntersectionObserver class''. The constructor for the `IntersectionObserver` class is the following: * `IntersectionObserver(callback, options)` ** [[options argument|JavaScript IntersectionObserver Class > options Constructor Argument]] ** [[callback argument|JavaScript IntersectionObserver Class > callback Constructor Argument]]
The ''callback constructor argument'' of the [[IntersectionObserver class|JavaScript IntersectionObserver Class]] is called when the [[threshold of the options constructor argument|JavaScript IntersectionObserver Class > options Constructor Argument]] is reached. It has the following structure: ```javascript let callback = (entries, observer) => { entries.forEach(entry => { // Each entry describes an intersection change for one observed // target element: // entry.boundingClientRect // entry.intersectionRatio // entry.intersectionRect // entry.isIntersecting // entry.rootBounds // entry.target // entry.time }); } ``` * `isIntersecting` is a boolean that will tell you true if the target element has become at least as visible as the [[threshold|JavaScript IntersectionObserver Class > options Constructor Argument]] that was passed. False means that the target is no longer as visible as the given threshold. The callback is performed on the main thread, so use something called `Window.requestIdleCallback()` for anything time consuming. There isn't a note on that yet.
The ''options constructor argument'' is part of the IntersectionObserver constructor and looks like the following: ```javascript let options = { root: document.querySelector('#scrollArea'), rootMargin: '0px', threshold: 1.0 } ``` * `root` is the container of the element to be checked. If this should be the viewport, then it should be set to `null`. * `threshold` of `1.0` means that when 100% of the target is visible within the element specified by `root`, then the [[callback constructor argument|JavaScript IntersectionObserver Class > callback Constructor Argument]] is invoked. The threshold can be an array of thresholds to use the callback for, normally starting with 0 and ending with 1. Remember that these kinds of arrays can be created easily with You can tell which direction the visibility changed in by using the [[IntersectionObserverEntry in the callback function|JavaScript IntersectionObserver Class > callback Constructor Argument]].
''JSDoc'' is a documentation standard it seems for JavaScript. [[Here is a link to the website|http://usejsdoc.org/about-getting-started.html]].
A ''JavaScript Key Code'' is the code for each key. A website to find key codes quickly is here: http://keycode.info/. These can be used to identify keys across platforms.
This is a container tiddler for the different keywords of JavaScript. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'JavaScript Keywords' sort[title]>> </div>
The ''let keyword'' allows variables to be defined almost the same as the [[var keyword|JavaScript var Keyword]]. The difference lies in how multiple variable declarations are handled. If a variable was already declared previously in the same scope, declaring it again will throw an error in the console. Another feature of `let` is that when it is used in a for loop, it will be a local variable as expected.
''JavaScript libraries'' are collections of code for use in other JavaScript code. They can be very small, or incredibly large like [[React|React]]. The ones that are in these notes are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'JavaScript Libraries' sort[title]>> </div>
''Memory Hoisting'' is where the [[JIT Compiler|JIT (Just In Time) Compiler]] takes all of the symbols such as variables, functions, object names, and hoists their declaration to the top of the code. This doesn't initialize them yet though. Until the memory pointers are initialized in the actual code, they will be undefined. Within each function, the symbols within that function get hoisted to the top of the function. So functions set boundaries for this memory hoisting.
''Mixins'' are a bit like [[interfaces in Java|Java Interfaces]]. It allows other objects to use a collection of functions. For example a mixin could look like the following: ``` let flyMixin = function(obj) { obj.fly = function() { console.log("Flying, wooosh!"); } }; ``` which would then allow any object to have that method added to it.
The ''Modernizr library'' can be included in any HTML page with the following line in the [[head element|HTML Head Element]]: `<script src="modernizr.min.js"></script>`. It automatically runs and adds a global object called `Modernizr` that has boolean values for each feature if it is available or not. For example: `Modernizr.canvas` will be equal to true if it is available.
The ''new keyword'', when used on a function object, will set any reference to [[this|JavaScript this Keyword]] within the function to a new object, or simply `{}`.
The ''number data type'' can be an integer, float, or decimal. See also: * [[JavaScript window.Number Object]]
An [[object|JavaScript Objects]] in JavaScript can be destructured so that its properties are assigned to individual properties using the following syntax: ``` var voxel = {x: 3.6, y: 7.4, z: 6.54 }; const { x, y, z } = voxel; // x = 3.6, y = 7.4, z = 6.54 ``` or after the object is assigned values, the variables can have different names as well: ``` const { x : a, y : b, z : c } = voxel // a = 3.6, b = 7.4, c = 6.54 ``` See also: * [[JavaScript Array Destructing Assignments]]
When using just the braces without a name to store the object like such: `{}` this is called an ''object literal''. An example is below: ``` { make: "frideTastic", width: 2400, height: 4400, open: function() { ... } } ```
''JavaScript Object Notation'' or ''JSON'' as it's most commonly called, is a good messaging format for the web. It has kind of supplanted [[XML|Extensible Markup Language (XML)]] in that field, although it lacks typing information by default, where [[XML schema documents|XML Schema Documents]] can provide typing. JSON parsers are generally much faster than XML parsers. The different basic data types of JSON are as follows: * Decimal number, doulbe or integer * A string literal `"I am a string literal"` * A boolean value `true` or `false` * An array `[122.55, "Another string", ["A sub array", false]]` * An object: ``` { "jsonrpc": 2.0, "method": "subtract" "array": [32, true] } ``` * A null value `null` It is part of the standard spec of JSON that key names are surrounded in double quotes `"`. See also: * [[Gson|Gson]]
The ''Object.assign method'' is a great tool for copying objects. It takes a target object, and then any number of source objects, then maps the properties from the source objects to the target object. If a conflict occurs, then the target object's key-value pairs are overwritten. This method returns the resulting target object. This is a common way to copy objects, by using an empty object as the first argument. For example: ``` const newObject = Object.assign({}, obj1, obj2); ```
The ''Object.create method'' can create a new object, (just like [[new|JavaScript new Keyword]]) and accepts an argument which is the new object's [[prototype|JavaScript Prototypes]]. For example: ``` let animal = Object.create(Animal.prototype); ``` which will create a new animal object with it's own constructor. This can also be used with both prototypes to actually initiate inheritance: ``` Bird.prototype = Object.create(Animal.Prototype); ``` where `Bird` is a predefined constructor. This also means that the Bird.[[constructor property|JavaScript Object.prototype.constructor Property]] will be set to `Animal`. To fix this, it would need to be manually changed like `Bird.prototype.constructor = Bird;`. This method is very important for [[inheritance in JavaScript|JavaScript Inheritance]].
The ''Object.freeze method'' makes it so an object can no longer be added to, updated, or have properties deleted. Any attempt at changes will be rejected without an error. The method can be used as follows: `Object.freeze(obj)` when the object to be frozen is `obj`.
The ''Object keys method'' will return an array of all keys in the first level of the object. It can be written as `Object.keys(obj)` where `obj` is the object to convert.
The ''Object.prototype property'' represents the `Object` prototype which is inherited by all [[objects|JavaScript Objects]] in JavaScript. Table of contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'JavaScript Object.prototype Property' sort[title]>> </div>
The ''Object.prototype.constructor property'' will return the constructor that was used to build the object. For example if `duck` was constructed with `Bird`, then `duck.constructor` will be `Bird`. If the object has a [[prototype object|JavaScript Prototypes]] set to it without the constructor property defined, then the constructor property will return undefined. Keep in mind that the constructor property can be edited. So using the [[instanceof operator|JavaScript instanceof Operator]] is a better option for being sure.
The ''Object.prototype.hasOwnProperty method'' is a method of any [[Object|JavaScript Objects]] in JavaScript. The method takes an argument which is the property name, and returns true or false if the property an [[own property|JavaScript Own Properties]] of that object.
The statement `Object.setPrototypeOf(object, parent)` will set one object to inherit the properties of another object. An example is below: ``` function talk() { console.log(this.sound) } let animal = { talk } let cat = { sound: 'meow' } Object.setPrototypeOf(cat, animal) cat.talk(); // returns 'meow' ```
A ''JavaScript object'' can have [[properties|JavaScript Properties]] and [[functions|JavaScript Functions]]. Objects are defined with braces `{}` and end with a semicolon `;`. Functions can be defined in an object the normal way such as ``` functionName: function () {...}, ``` or simply with `functionName() {...},` Any keys in an object that are numbers will be typecast as strings. If just a key is written such as `key`, it will be converted automatically into `key : "key"`, or something equivalent. Object properties can be accessed with [[dot notation|Dot Notation]], unless there is a space in the name. If there is a space, it needs to be accessed with brackets like an array `obj["Object Property"]`. Whenever an object is created with a [[constructor|JavaScript Constructors]], it is said to be an instance of that constructor. The [[instanceof operator|JavaScript instanceof Operator]] can determine which constructor an object came from. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'JavaScript Objects' sort[title]>> </div>
The JavaScript ''operator'' precedence can be found here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence where the higher the number, the higher priority of the operator. So the highest precedence will be executed first. For mathematical statements, a cool word to help remember is BODMAS. Brackets, pOwers (which is a function call), Division and Multiplication are the same precedence, and Addition Subtraction which carry the same precedence as well. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'JavaScript Operators' sort[title]>> </div>
''Own properties'' are properties that are defined on a specific object, and not on it's [[prototype|JavaScript Prototypes]]. This means that own properties are not shared. See also: * [[JavaScript Object.prototype.hasOwnProperty Method]]
The ''parse functions'' are globally available functions that can be used anywhere. For example `var a = parseInt("007");`. Some important functions are below: * `parseInt(string, radix)` will accept the string to parse and the [[radix|Radix (Mathematics)]].
''Private properties'', or ''privileged properties'' can be created by setting the private property in the [[constructor|JavaScript Constructors]] as a local variable. For example: ``` function Bird() { let hatchedEgg = 10; // private property this.getHatchedEggCount = function() { // publicly available method that a bird object can use return hatchedEgg; }; } let ducky = new Bird(); ducky.getHatchedEggCount(); // returns 10 ```
The ''Promise constructor'' is used to write a [[promise|JavaScript Promises]]. It is generally written with the following structure: ```javascript function someFunction() { return new Promise((resolve, reject) => { if (somethingHappensSuccessfully) { resolve("Success!!"); } else { reject("Failure"); } ); } ``` A promise can also be written so that the `resolve` and `reject` parameters can have their own function. For example: ```javascript let examplePromise = new Promise(resolve => { // some callback }, reject => { // some callback }) ``` * The function or functions passed to the `Promise` constructor are called an ''executor function''. * `resolve(returnValue)` will cause the promise that the executor function is associated with to call the next [[.then method|JavaScript Promise.prototype.then Method]] in the chain and pass the `returnValue` to the first argument in that .then function. * Calling `reject(returnValue)` will cause the promise in the executor function is associated with, to call the next .then function with a rejection callback if one exists. If it cannot find one in the chain, then it will call the first .catch function it finds. * If the function is written in this way, then the `return` value doesn't do anything. The promise can be used like so: ```javascript someFunction() .then((resolvedValue) => { console.log(resolvedValue) }) ``` If your promise returns a promise itself, then you can chain the [[.then methods|JavaScript Promise.prototype.then Method]].
The ''Promise.all function'' can be used to take in an array of [[promises|JavaScript Promise Constructor]] and return a promise that resolves when all of the promises in the array resolve, or when one promise rejects. The converse of this is the [[Promise.race function|JavaScript Promise.race Function]].
The ''Promise.prototype.then method'' takes a callback function, which takes the resolve value of the promise it is being used on as an argument, and another optional callback function which takes the reject value of the promise it is being used on as an argument. These arguments are provided by the original [[executor function|JavaScript Promise Constructor]]. For example: ```javascript promise1.then((resolvedValue) => { console.log(resolvedValue); }, (rejectedValue) => { console.log(rejectedValue); }); ``` If the `.then` method does not include the `rejectedValue` callback function, and the promise it was called on did call `reject`, then the promise will continue down the call chain to the next .then method which does have a rejectedValue callback, or the next `.catch` function if it cannot find one. If `return` is used in the `resolvedValue` callback function, then it will pass that value on to the `resolvedValue` callback of the next `.then` in the chain. If you need to throw something to the next `.catch` call in the promise chain, you can use `throw` with any object you want to throw as data to that catch callback.
The ''Promise.race function'' can be used to take in an array of [[promises|JavaScript Promise Constructor]] and return a promise that resolves with the first promise that resolves in the array. Otherwise it rejects. The converse of this is the [[Promise.all function|JavaScript Promise.all Function]].
A ''promise'' represents the eventual completion or failure of an [[asynchronous|Asynchronous]] action, and its resulting value. Promises are a different way of thinking, and if they are going to be used, basically everything needs to be a promise. Separate functions cannot really be used with promises it seems. According to SER 421, promises do NOT make the code synchronous. To write a promise, you start with the [[constructor|JavaScript Promise Constructor]]. A promise is in one of 3 states at any time. fulfilled, rejected, or pending. A promise also is immutable, so once you create a new object and it completes, it cannot be used again. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'JavaScript Promises' sort[title]>> </div> See also: * [[Example of using a promise in a function simulating a database access|Example - JavaScript - Promise chaining to simulate database access]].
A ''property'' is a key value pair such as `height: 27` and is held within an [[object|JavaScript Objects]]. If an object is held within another object, it is still called a property.
''Prototypes'' are used to organize properties or functions that will be exactly the same across all instances of an object. To define a prototype, it needs to be attached to a [[constructor|JavaScript Constructors]]. For example `Apple` could be our constructor function. So to define the common methods or properties of `Apple`, `Apple.prototype = { ... }` could be used. When a method or property of any given instance of `Apple` is called, it first checks the unique instance properties of the object, then checks the prototype properties, and any subsequent prototype properties down the prototype chain. There will only ever be one of a prototype's properties in memory, which is very efficient. An example is below. ```js function Apple(color, weight) { this.color = color; this.weight = weight; } Apple.prototype = { constructor: Apple, eat : function() {return this;}, throw : function() { return "throw the apple"; } }; let apple1 = new Apple("red", 200); ``` Remember to define the [[constructor|JavaScript Object.prototype.constructor Property]] for any new prototypes. See also: * [[JavaScript Collisions]] * [[JavaScript Inheritance]]
The characters that need escaping in [[JavaScript Regex|JavaScript Regular Expressions (Regex)]] with a backslash `\` are listed below: ``` . * ? [ ^ ] $ ( ) { } = ! < > | : - ``` See also: * [[Regex Escape Characters]]
In [[JavaScript regular expressions|JavaScript Regular Expressions (Regex)]], ''flags'' can be used after a regex string, and multiple can be used. The flag goes directly after the second forward slash. For example: `/freecodecamp/i` where `i` is the flag. Some useful flags are below: * `i` indicates ignore case. * `g` will match the pattern more than once
''JavaScript regex group matching'' is almost the same as normal [[group matching|Regex Group Matching]], with the difference that a group match can be referenced by a backslash, then the number of the group match starting with 1. For example to match the first instance of a group match identically and find the first instance of the same word three times in a row, the following could be written: `/(\w+)\s\1\s\1/`.
In JavaScript, ''lookaheads'' are ways of matching a regular expression, only if some other regular expression exists in the string, while not matching the latter. For example if a string needs to have `save` in it to return `quit`, then a ''positive lookahead'' could make sure that `save` is there before `quit` is returned. This could look like `/(?=save)quit/` which in the string: `savequit` would return `quit`. If the string were `quit`, it would return the empty string. A ''negative lookahead'' can be written with `(?!save)` which would say that `save` must not be present before matching the regular expression.
The ''match method'' can extract the matches of a regex string into an array. The method can be used on a string, and a regex string can be used as the argument. For example: ``` "Hello, World!".match(/Hello/); // Returns ["Hello"] ```
The ''replace method'' can be used on a string, and will replace the regular expression found in the first argument, with the string in the second argument. For example: ``` let wrongText = "The sky is silver."; let silverRegex = /silver/; wrongText.replace(silverRegex, "blue"); // Returns "The sky is blue." ``` [[Capture groups|Regex Group Matching]] can also be used in the second string: ``` "Code Camp".replace(/(\w+)\s(\w+)/, '$2 $1'); // Returns "Camp Code" ```
When regex is assigned to a variable, for example `let myRegex = /Hello/;`, then it can be used with the ''test method'' to test a given string for that regex. It will return a boolean value of true if it matches. For example: ``` let myString = "Hello, World!"; myRegex.test(myString); // Returns true ```
In ''JavaScript regex'', [[regular expressions|Regular Expressions (Regex)]] can be written surrounded by two forward slashes. For example: `/the/`. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'JavaScript Regular Expressions (Regex)' sort[title]>> </div>
The ''remainder operator'' looks just like the [[modulus|Modulus (Computer Science)]], but behaves differently with negative numbers. The remainder operator is written as `%`.
The ''rest operator'' can be used within function parameters and is indicated by `...`. It allows any number of arguments to be put into the function call, where it is then accessible through the variable name following `...` as an array. For example: ``` function howMany(...args) { return "You have passed " + args.length + " arguments."; } ``` The rest operator only works as the last element in a list of arguments. It can also be used in [[array destructing assignments|JavaScript Array Destructing Assignments]].
The ''spread operator'' looks just like the [[rest operator|JavaScript Rest Operator]] indicated by three dots: `...` although its context is different. Spread can be used to spread out an array when only the components are expected. For example: ``` arr2 = [12, ...arr1, 'other entry', 23] ``` See also: * [[JavaScript Object Destructing Assignments]]
The ''String.prototype.split method'' can be used on any [[string|JavaScript Strings]]. It can accept as an argument a string token to be the separator, such as a space, or an empty string. Or it can accept a [[javascript regular expression|JavaScript Regular Expressions (Regex)]].
A ''string'' is a data type in JavaScript. Some of the properties for strings are below: * `length` will return the length of the string. Strings are arrays of characters so they can be treated like normal immutable [[arrays|JavaScript Arrays]]. Strings are [[immutable|Mutability]] in JavaScript so they cannot have their characters individually changed. They can be concatenated, and overwritten though.
Using the #style_css_Text_method allows the style property of an element to be edited all at once. This is much better because each time a style property is changed, the page re-renders. Meaning that if all of them are changed at once, it only has to re-render once. An example is also in the note. ``` const el = document.getElementById('hello'); el.style.background = "blue"; el.style.color = "white"; el.style.width = "200px"; // can be accomplished with: el.style.cssText = "background:blue; color:white; width:200px;" ```
The ''switch statement'' can be written in JavaScript like so: ``` switch(num) { case value1: statement1; break; case value2: statement2; break; ... case valueN; statementN; break; default: defaultStatement; break; } ``` `case` values are tested with strict equality `===`. `default` is optional.
''Template literals'' can be used in EcmaScript 6, and have quite a few features. Here is an [[example of using a template literal|Example - JavaScript - Using a template literal]]. A template literal starts with a backtick and ends with the same. Variables can be put into a template literal with `${variableName}` which can be substituted for any evaluable expression. Newlines are actually triggered by using a real character return in the template literal. Template literals are very useful for putting HTML code into javascript.
The ''conditional operator'' or ''ternary operator'' can be used as one line if-else expressions. The general format is below: ``` condition ? statement-if-true : statement-if-false; ``` An example is below: ``` function findGreater(a, b) { return a > b ? "a is greater" : "b is greater"; } ``` Ternary operators can be nested.
The ''this keyword'' changes based on context. `this` will indicate the object just prior to the member access operator `.` which called it. If there is no way for a member access chain to access that function or symbol, then it will point to the global object. The behavior of `this` can be changed based on how the function is called. For example if `myFunc.call( otherObject );` is used, then any reference to `this` within `myFunc` will refer to `otherObject`.
''Try/Catch blocks'' in JavaScript seem very traditional in their implementation. An example is below: ```javascript try { // try statements } catch (exception_variable) { // catch statement } finally { // finally_statements } ``` See also: * [[Mozilla MDN on try catch blocks|https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch]]
The ''typeof operator'' can be used to return the type of a variable or value. For example `typeof 3` will return `number`. The only types that can be returned are listed below: * number * string * symbol * object - This will be returned for any custom class as well. Arrays are also technically objects with custom [[prototypes|JavaScript Prototypes]]. * boolean * null
The ''use strict command'' is a way of telling JavaScript to throw errors in the console when a common issue comes up. This can be done by simply putting the string `"use strict";` as a line of code anywhere in the program.
The ''var keyword'' defines a variable in the local scope. For example `var variableName;`. Here is an [[example of using var in different scopes|Example - JavaScript - Using the var keyword in different scopes]]. If a variable was already declared with the same name, in the same scope, it will overwrite the previous declaration without any errors. To avoid this problem, the [[let keyword|JavaScript let Keyword]] can be used.
''Variables'' in JavaScript can be declared with the [[var keyword|JavaScript var Keyword]], and [[let keyword|JavaScript let Keyword]]. Variable names can be made up of numbers, letters, `$`, or `_`, but may not contain spaces or start with a number. When variables are first declared, they have an initial value of `undefined`. It's standard practice to write variable names in JavaScript in camelCase.
Each web page has it's own ''window object''. It contains the [[symbols table|Symbol Table (Programming Languages)]] for the entire web page. It is the highest level object. Anything declared in the global scope gets attached to the window object. Some notable properties of the window object are below: * `history` - Shows the history? * `alert`, `confirm`, `prompt` all bring up a dialog box * `print` invokes the print dialog <<list-links "[contains:property-of[JavaScript window Object]sort[title]]">> Some notable methods are below: <<list-links "[contains:method-of[JavaScript window Object]sort[title]]">> Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'JavaScript window Object'>> </div> See also: * [[JavaScript Global Functions|JavaScript Global Functions]] * [[Browser Object Model|Browser Object Model (BOM)]]
The ''window.Array constructor'' is the constructor used as the basis for all [[arrays|JavaScript Arrays]] in JavaScript. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'JavaScript window.Array Constructor' sort[title]>> </div>
The ''window.document object'' implements the [[Document interface|DOM Document Interface]], which means it has all of its methods, and is attached to the [[window object|JavaScript window Object]]. A shortcut to the document object is maintained as a global variable `document`. The `document` object represents, and contains the parsed HTML on the page. Some properties of the the `document` object are below: <<list-links "[contains:property-of[JavaScript window.document Object]sort[title]]">>
The ''window.localStorage object'' is only present if your browser supports [[HTML5 storage|HTML5 Storage]].
The ''Math object'' gives easy to access functions for basic math. Some notable ones are below: * `Math.random()` generates a random decimal number between 0 (inclusive) and 1 (exclusive). * `Math.floor()` will round down to the nearest whole number whatever value it is provided. Some good formulas are below: * For getting a random whole number between a `min` and `max` use: `Math.floor(Math.random() * (max - min + 1)) + min`
The ''window.Number object'' allows numbers to be created. It is the wrapper value for any Number in JavaScript. To convert a string into a number, the following can be used: `Number("1345.10");`
The ''window.Object constructor'' is a built-in function that can be used to create an object wrapper or call various other functions. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'JavaScript window.Object Constructor' sort[title]>> </div>
The ''window.requestAnimationFrame method'' will return some kind of scroll object. Not exactly sure what it is yet.
The ''window.sessionStorage object'' is only present if your browser supports [[HTML5 storage|HTML5 Storage]]. It is a property of the [[window object|JavaScript window Object]].
The ''setInterval method'' can be used to create an interval in a web app. The general usage is the function name, followed by a function, and an interval time in ms. For example: `setInterval(exampleFunction, 1000)`. This will set an interval for every 1000ms to activate `exampleFunction`. When `setInterval` is used, it returns an interval ID that identifies that interval. The function `clearInterval` accepts an interval ID and clears that interval on the page.
A ''XMLHttpRequest object'' can be used to request some kind of data from an [[API|Application Programming Interface (API)]]. The XMLHttpRequest constructor is a property of the [[window object|JavaScript window Object]], so it is available globally. For example to create a new object of this type the following can be used: ```javascript let req = new XMLHttpRequest(); ``` The different notable methods and properties are below: * `req.onreadystatechange` is a property which can be set to a callback function which will be called once the state of the request changes. This callback function accepts one argument which is the request object. I imagine the updated one. Here is an [[example of posting data|$:/Example - AJAX - XMLHttpRequest Posting Data]]. * `req.open("GET", location, true)` accepts three arguments, the first is a string which is `GET` or `POST` then the second is location of the data. The location could be local or a [[URL|Uniform Resource Identifier (URI)]]. The third argument is true or false, where true indicates that it will be an asynchronous request. * `req.setRequestHeader('Content-Type', 'text/plain')` must be called after the open method, and before the send method. It accepts two arguments which are the name of the header and a value to set as the body of the header. * `req.send()` accepts no arguments and sends the request. * `req.onload` is a property which can be set to a function which will be called when the data is retrieved. Here is an [[example of using that data|$:/Example - AJAX - XMLHttpRequest using data]]. * `req.readyState` is a property which indicates the state: ** `4` means the operation is complete, successfully or not. ** `3` means loading ** `2` means headers received ** `1` means opened ** `0` means unsent * `req.status` is a property which when it is equal to `200` means that it was a successful request. See [[status codes|HTTP Status Codes]]. * `req.responseText` contains the response of the request. The general flow of an XMLHttpRequest is as follows: # In the HTML, load the JavaScript of the request # In the HTML, designate some kind of control or event handler that initiates the request # In the HTML, give ids to input elements and to output placeholder region if needed. # Define an object for sending HTTP requests # Initiate request ## Get request object ## Designate an anonymous response handler function ## Initiate a GET or some other [[HTTP method|HTTP Request Methods]] request # Handle the response ## Wait for readyState of 4, and an HTTP status of 200 ## Extract return text with responseText or responseXML ## Do something with the result A good place to create an XMLHttpRequest object is in the event handler of the [[DOMContentLoaded event|DOM Window DOMContentLoaded Event]]. Some downsides to inserting straight HTML into a page from the XML response are below: * Page author has no control over the format * Cannot use the same data for different tasks * Having service-side resource generate HTML if often easier and better, but not always. (Opinion from SER 421)
''JDBC'' or ''Java Database Connection'' is a [[class library|Class Libraries]] for [[Java|Java]] that can handle [[relational database|Relational Data Model]] communication. JDBC leverages a [[driver|Device Managers and Drivers]]-architecture, and is a [[database programming API|Database Programming APIs]]. JDBC is based on [[SQL/CLI|SQL Call Level Interface (SQL/CLI)]]. The letters in order: "JDBC" on its own is an actual trademark of [[Oracle|Oracle Corporation]]. [[SER 322|SER 322]] said that you rarely code against a database using a low-level API like JDBC, although it is good to know how it works because fancy frameworks rarely work cleanly haha. The general process for interacting with a database in Java is laid out below: # Import the packages of the [[java.sql library|Java java.sql Package]] that are needed. # Load the [[JDBC driver|JDBC Drivers]] if needed. # Declare the needed variables # [[Get a connection to a database|Process - JDBC Getting a connection to a database]] # Create a [[statement object|Java java.sql.Statement Class]] # Set statement parameters # Bind statement parameters # [[Execute SQL query|Process - JDBC Executing a SQL Query]] # Process [[ResultSet|Java java.sql.ResultSet Class]] Some Pros of JDBC: * No proprietary DB code * Don't have to rely on a single vendor kinda * Easier for DB vendors because they only have to provide low-level support Some cons of JDBC: * Vendor-specific issues often arise * SQL is embedded in the source code which means an endless cycle of database schema / code maintenance * Doesn't abstract out a lot. You still need to know exactly how a database works for the most part to use it. * The code becomes very verbose. Design patterns need to be solid so that things work correctly, and even then there is a lot of code that has nothing to do with the app. See also: * [[JDBC example class 1|$:/Image - Example of making a JDBC Requeest]] * [[JDBC example class 2|$:/Example - Java - JDBC Example Class]] * [[JDBC example class 3|$:/Example - Java - JDBC Example Class 2]] Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'JDBC' sort[title]>> </div>
The ''JDBC API'' is defined in the following packages: [[java.sql|Java java.sql Package]] and `javax.sql`. Some key classes are below: * [[java.sql.DriverManager|Java java.sql.DriverManager Class]] * `java.sql.Connection` * `java.sql.Statement` * `java.sql.ResultSet` * `javax.sql.DataSource` which is used for [[connection pooling|Server Connection Pooling]].
Some ''best practices'' for [[JDBC|JDBC]] are below: * Only import the parts of [[java.sql|Java java.sql Package]] that are needed. * Put connection information in a configuration file. These could be things like username, password, URL, driver. This could also be a properties file, XML file, or something called a JNDI namespace * Use a [[connection pool|Server Connection Pooling]] * Don't string concatenate queries because it causes security risks. So if that is needed, use a [[parameterized query|Java java.sql.PreparedStatement Class]]. It seems that sometimes concatenating a query is required though because paramaterized queries always single-quote their inputs. * Handle all SQLExceptions locally. * Use the highest level [[drivers|JDBC Drivers]] * Avoid proprietary JDBC driver extensions * Close all connections in a finally block * Use [[PreparedStatements|Java java.sql.PreparedStatement Class]] for any popular queries. * Try to use [[standard SQL|Structured Query Language (SQL)]] statements instead of db-specific statements. * Try not to use SELECT * because if the database schema changes, the results will be different and possibly break code. * Get columns by name in a [[ResultSet|Java java.sql.ResultSet Class]] if possible * Try to externalize the SQL statements? How though? See also: * [[Database Application Optimizations]]
The ''JDBC Driver manager'' helps connect an application based on the database connection string. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'JDBC Driver Managers'>> </div>
A ''JDBC Driver'' actually connects to a database. It converts the JDBC calls to the actual database calls, and normally the database vendor will provide the driver. The different types of JDBC Drivers can be from type 1 and up. The higher the number the better. Here is an [[image of some different driver types and how they relate to the overall application|$:/Image - JDBC Driver Types]]. Typically tier 4 costs money, and they are the best. The driver should do some level of security for you. So it should sanitize in some way. In JDBC 4.0, the JDBC drivers in the classpath are automatically loaded. In the past this was done with `Class.forName` which is no longer needed. So for example in Eclipse this can be done by putting the driver for your database inside the base class path for the project. Then go to project properties -> Java Build Path -> Libraries tab -> then add the JAR file. To still use `Class.forName()` the name of the driver can be put as an argument of that method, and that method is available as a global variable when the [[java.sql package|Java java.sql Package]] is imported. See also: * [[JDBC Driver Managers]]
''JDBC URLs'' are strings that have the general format of ``` jdbc:<driver protocol>:<driver connection details> ``` Some examples are below: |MS SQL Server|`jdbc:odbc:DemoDSN`| |Oracle|`jdbc:oracle:thin@myserver:1521:demodb`| |MySQL|`jdbc:mysql://localhost:3306/demodb`|
A ''JIT Compiler'' takes the code and turns it into [[machine code|Machine Language]] with some improvements. When a JIT Compiler reads code, and it comes across an operator, it will actually read a function. For example `=` is considered a function. An operator is a predefined function already loaded into memory. The JIT compiler uses a strategy of compile-when-used and dynamically allocates blocks of memory for internal data structures when each method is first called. JIT compilation lies between [[compilation |Compilation]]and [[interpretation|Interpretation]].
''Joint application design (JAD)'' is a method of creating a [[user-centric design|User-Centric Design]]. It involves a cross between group meetings and prototypes. JAD sessions require a clear statement of the purpose of the session and it's goals. JAD sessions are usually run by a facilitator who keeps the participants focused.
A Josephus problem is one based upon the man Flavius Josephus, a first century historian. Legend has it that he was part of a group of 41 rebels that didn't want to be taken by the romans, so they killed themselves. To do this, they formed a circle, and they decided to kill every third person until no one was left. Flavius calculated where he needed to stand so that he would be the last person alive. This represents a class of problems where events in a list are not taken in order but, rather, are taken every ith element in a cycle until none remains.
''JSON with Padding'' or ''JSONP'' is a technique of making [[HTTP|HyperText Transfer Protocol (HTTP)]] requests where instead of making a script on the client side, the client makes an API call to the server with a function name and some parameters where a function with that name runs on the server and returns its response. This helps in stopping [[XSS attacks|Web InfoSec > Cross-Site Scripting (XSS)]].
''JSON-RPC'' or ''JSON Remote Procedure Call'' can be used to communicate between programs. It seems to follow a relatively simple send and recieve paradigm. A sent object from a client could look like the following: ```json { "jsonrpc": "2.0", "method": "subtract", "params": [42, 23], "id": 1 } ``` and a received object from the server could look like: ```json { "jsonrpc": "2.0", "result": 19, "error": null, "id": 1 } ``` * `id` should be unique per client. It doesn't need to be unique for every client in the world, just every client that will connect to that particular server receiving requests. * `result` can be `null` if there was an error * `error` can be `null` if there was a successful result. It looks like a file is needed to be generated before the passing of JSON objects can commence that designates what methods and parameters can be used. It looks like it needs to be an array of objects where each object looks like the following: ```json { "method": "methodName", "params": [param1, param2], "returns": <returnValue> } ``` See also: * [[Link to the spec on JSON-RPC|https://www.jsonrpc.org/specification]]
''JUnit'' is a testing framework for [[Java|Java]]. It was written with a "test-first" and pattern-based development process in mind which means that tests are written before the code, it allows for [[regression testing|Regression Testing]], and facilitates [[refactoring|Refactoring]]. JUnit is integrated with [[Maven|Maven]]. Standard convention for storing test classes is in `src/test/java`. Also, standard naming for test classes is to append the name of the actual class with `Test`. Then naming for methods is typically used with `should`. For example `ordersShouldBeCreated` and `menuShouldGetActive`. Using JUnit: * Add JUnit 5 to the build path * import `org.junit.jupiter.api.Test` * `import static org.junit.api.Assertions.assertEquals;` or any other insertions that are needed. It seems there are quite a few to choose from which is nice. * Then add the annotation `@Test` before any method that will be a test method. These can run without a main method and the results show up in a separate JUnit window :). Here is an [[example of using a JUnit test|$:/Example - Java - Using a JUnit test]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'JUnit'>> </div> See also: * [[Main JUnit site|https://junit.org/junit5/]] * [[Github repo for JUnit 5|https://github.com/junit-team/junit5]]
''JUnit 4'' differs from JUnit 5 quite a bit, so it seemed worth it to make its own tiddler. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'JUnit 4'>> </div>
Some ''JUnit annotations'' are below: * `@Test` sets up a test and optionally can contain the parameter `expected`. For example if a test is expected to throw an index out of bounds exception it could say `@Test(expected = IndexOutOfBoundsException.class) public void emptyArray() { ... }` * `@Before` can be used before a method that is used to setup any variables that are used in `@Test` methods. This is used before every test. * `@After` can be used to tear down any resources used in the `@Test` methods. It is ran after every test * `@BeforeClass` is ran once before all tests * `@AfterClass` is ran once after all tests * [[@Category|JUnit Categories]]
The ''Assert class'' can be used to enable static assert methods in your test class. Some possible methods are below: * `fail([message])` * `assertTrue([message,] boolean condition)` * `assertFalse([message,] boolean condition)` * `assertEquals(expected, actual)` - For arrays, this doesn't test the contents, rather it tests if the reference is the same. * `assertEquals(expected, actual, tolerance)` ** `tolerance` is a number of decimals which must be the same. * `assertNull(object)` * `assertSame(expected, actual)` Tests if both variables refer to the same object * assertAll
''Categories'' allow you to specify a category for particular classes.
See also: * [[Github Wiki on JUnit 4 rules|https://github.com/junit-team/junit4/wiki/Rules]]
To use [[JUnit|JUnit]] with [[Gradle|Gradle]] you can use the following in your [[build.gradle file|Gradle > build.gradle File]]: ``` apply plugin: 'java' dependencies { testImplementation 'junit:junit:4.12' } ```
''Keras'' is a [[python|Python]] [[deep learning|Deep Learning]] library. It is a high-level neural networks API, written in Python and capable of running on top of [[Tensorflow|Tensorflow]]. Keras is good for defining complex models, such as multi-output models, [[directed acyclic graphs|Directed Graphs]], or models with shared layers.
The ''Keras Sequential Model'' is a linear stack of layers.
The ''kernel'' performs basic functions such as disk file management, memory management, and processor management for task scheduling and dispatch. The kernel of an [[operating system|Operating Systems]] is not replaceable. The permission level and theoretical area in which the kernel operates is called ''kernel space''. Some of the things that the kernel handles are below: * File Management: It manages the directories and files in the secondary storage, which is typically disks. It allows users to create, remove, and change directories and access files in the directories. For example DOS is basically a file manager because the shell and other kernel managers are very simple. DOS runs one program at a time and thus memory management is simple. * Memory Management: It allocates space for each program in the main memory. The kernel may give the illusion of more memory because it swaps data (pages) back and forth between memory and secondary storage (disk). To improve memory access speed, computers also use [[cache|CPU Caches]] to buffer frequently accessed data. * Task scheduler and dispatcher: The following image shows a task as a whole and the different states it can be in. This is not a UML State chart diagram, but rather an ad-hoc state diagram. The quantum experation is not known about at this moment. [img width=700 [https://i.imgur.com/ToCCwhr.png]] The task scheduler can add new tasks to the queue and remove them from the queue. The dispatcher controls the allocation of time slices to the tasks in the task table, which are the tasks in the ready state. The other state transitions can be controlled in the task programs.
''λ-calculus'' or ''Lambda Calculus'' is a formal mathematical system. Lambda-calculus is analogous to Turing machines. <div class="tc-table-of-contents"> <<toc-selective-expandable 'Lambda Calculus' sort[title]>> </div>
The ''ɑ-reduction'' rule states that for a λ-expression with a parameter x, we can substitute y for parameter x and all the occurrences of x in its scope. This allows the variables in a complex expression to be changed as needed to make it easier to read.
The ''β-reduction'' rule says that a parameter `x` in `λx(E1) E2` can be substituted for `E2` at all instances of `x`. For example `λx(+ x (- 1 3)) 7` would be interchangeable with `(+ 7 (- 1 3))`.
The ''η-reduction'' rule simply states that if there is not an `x` within the scope of a parameter `λx` then the x and parameter can be removed. For example `λx1(* 7 3)` is the same as `(* 7 3)`. [[β-reduction|Lambda Calculus Beta Reduction]] implies the η-reduction rule.
There are only 3 lexical units in lambda calculus: `λ`, `(`, and `)`. then there are an infinite number of variables. A ''λ-expression'' can be described in BNF notation with: [img width=700 [https://i.imgur.com/BOlsNUn.png]] where `constant` is a value of any type. For example an expression such as `x+y` is considered a λ-expression. The `λ<variable><λ-expression>` is considered a [[λ-procedure|Lambda Calculus Procedures]].
A ''λ-procedure'' is a [[λ-expression|Lambda Calculus Expressions]] of the form `λ<variable><λ-expression>`. The variable prefixed by the λ is the parameter of the procedure and the λ-expression is considered the body of the procedure. The scope of the parameter is the body of the λ-procedure. If a variable `x` is in a λ-expression, and within the scope of the parameter `λx`, then it is ''bound''. An occurrence of a variable outside the scope of a parameter is considered ''free''.
The process of evaluating a [[λ-expression|Lambda Calculus Expressions]] is a ''reduction''. There are three different kinds of reduction: * [[ɑ-reduction|Lambda Calculus Alpha Reduction]] * [[β-reduction|Lambda Calculus Beta Reduction]] * [[η-reduction|Lambda Calculus Eta Reduction]] The reduction rules form the semantics of the lambda calculus.
A ''latch'' or ''flip-flop'' is a circuit that has two stable states and can be used to store information. A latch is edge triggered as well.
''LaTeX'' is a language for specifying text and symbols, normally for scientific use. To put normal text within math mode, `\textrm{text to be normal}` can be used.
When using the ''law of simplification'' you can take either turn and reuse it later on in the argument if needed. This can come in handy when you need back a term for solving a [[resolution|Resolution (Logic)]] argument.
A ''layered system'', ''wedding cake architecture'', or ''n-tier architecture'' is a system organized hierarchically. This is just like a technology stack. It's goal is to define clear responsibilities between layers. The layer above depends only on the layer below. Things to avoid are bi-directional package dependencies, lower layers depending on upper layers, and skipping layers. Some advantages are that it is simple, and common, that it partitions complexity, and that it isolates changes to specific layers. Not all systems are easily structured in layers though.
A ''layered operating system architecture'' is one that each layer may only call functions defined by lower layers. A layered operating system is one way to approach a modularized operating system. Here is a [[generalized image of a layered operating system design|$:/Image - Layered operating system design]]. The bottom layer is the hardware, and the highest layer is the user interface. A layer contains data structures and a set of routines that can be invoked by higher-level layers. Each layer can invoke operations on the layers below it. This makes it easier to debug because for any given layer, it is only concerned with itself, and the layers below it. This also makes it difficult to plan out, because each layer must be carefully chosen as it will have no access to higher layers. As time goes on, it seems that layered systems are focusing on reducing the number of layers. Here is an [[example of a layered operating system|$:/Image - Operating system and computer system layers]] design. Some pros of this design type are: * Easier to maintain * Very secure Some cons are: * Speed isn't great * Performance for calls up and down multiple layers
There are multiple ''layers of a network''. In theory each layer should only talk to the one immediately above and below it. There are different models of the layers of a network as well depending on the network in question. The [[OSI model|Open Systems Interconnection Model]] is also an example of network layers, but a bit overkill for most programming applications. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Layers of a Network'>> </div>
''Lazy evaluation'' tries to start from outermost operations first. At the same level, operations are performed from left to right sequentially. If there is a function with parameters, it will evaluate a parameter only if its value is needed. Most [[imperative languages|Procedural Programming]] including [[C|C Programming Language]], [[C++|C++ Programming Language]], and [[Java|Java]], use lazy evaluation.
A less important theorem that is helpful in the [[proof|Mathematics > Proofs]] of other results is called a ''lemma''. Complicated proofs are usually easier to understand when they are proved with a series of lemmas, where each lemma is proved individually.
The ''length dependent hashing function'' uses the key and the length of the key in some way.
''Level-order tree traversal'' is done by visiting all of the nodes at each level, one level at a time starting with the root from left to right. An example of an iterator for this in pseudocode is in the note. ``` Example Pseudo-code of Iterator for Level Order Traversal: Create a queue called nodes Create an unordered list called results Enqueue the root onto the nodes queue While the nodes queue is not empty { Dequeue the first element from the queue If that element is not null Add that element to the rear of the results list Enqueue the children of the element on the nodes queue Else Add null on the result list } Return an iterator for the result list ```
A ''level-sensitive D latch'' or ''transparent D Latch'' or ''gated D latch'' is shown below: [img width=250 [https://lh4.googleusercontent.com/yCazTzN12biY8F0WeiKgrL4be7_zSPNQgazm3urY3ER7ItXvJlFhi6Ki7EY9KLeiUWnX4qQT0vdiO3Q=w1918-h1888]]
''Lexical Structure'' defines the vocabulary of a language, or the definition of "words". It is the first part of the [[programming language structural layers|Programming Language Structural Layers]]. The lexical structures of all programming languages are similar and normally include a set number of [[lexical units|Lexical Units]] which are basically the words of the language. An engine that processes lexical structure is typically called a ''Lexer''. Keep in mind that un-matched double quotes `""` are lexical errors because it is an error in creating a string literal, which is considered creating a "word". Languages can typically use [[regular expressions|Regular Expressions (Regex)]] to define lexical structures. A slightly confusing example process for analyzing lexical rules is below: [img width=600 [https://i.imgur.com/JCS02iW.jpg]] See also: * [[Example - Java - Incorrect Lexical Syntax]]
''Lexical Units'' are considered the building blocks of programming languages and are part of the [[lexical structure|Lexical Structure]] of a language. The following units are common to all programming languages: * Identifiers: These are names that that can be chosen by the programmer. They represent objects like variables, labels, procedures, and functions. Most languages require that an identifier start with an alphabetical letter and can optionally be followed by letters, digits, and some special characters. * Keywords: Names reserved for the language to form the [[syntactic structure|Syntactic Structure]]. * Operators: These are symbols meant to represent the operations of the language. All general-purpose languages should provide certain minimum operators such as mathematical operators, relational operators like <, <=, ==, >, >= and logic operators such as AND, OR, NOT, etc. * Separators: These are symbols meant to separate lexical or syntactic units such as a space, comma, colon, semicolon, and parenthesis. * [[Literals|Literals (Programming Languages)]] * Comments: These are any explanatory text embedded in the program. Comments start with a specific keyword or separator such as `//` for Java. Comments are ignored by the compiler.
Lightness is the amount of white in a color. 0% is black while 100% is white. 50% is the normal color.
A ''linear collection'' is organized in a straight line.
A ''linear data structure'' is one that only gets traversed in one or two directions. It is not branched.
''Linear regression'' is where a scatter plot is line up with some linear function. So $$y=mx+b$$. This is also sometimes written as $$\hat{y} = \beta_1x + \beta_0$$ $$R^2$$ is the measure of how good the model fits the data. It is normally a value between 0 and 1, and indicates a percentage of "goodness". So 0.9 - 1 is good. 0.05 - 0 is bad. ''Residuals'' the error. A residual represented by $$e$$ can be calculated for each set of x and y values and becomes $$ e_i = y_i - \hat{y} $$ The sum of residuals squared, or $$SS_E$$ is the sum of all residuals. The total sum of squares or $$SS_T$$ is the sum of the difference of the actual y value minus the average y value squared. So $$ SS_E = \sum_{i=1}^{n}e_i^2 $$$$ SS_T = \sum_{i=1}^{n}(y_i-\overline{y})^2 $$ These things together create the $$R^2$$ value so $$ R^2 = 1 - \frac{SS_E}{SS_T} $$
Linear Search (Sequential Search) This searches through each element in an array for a match. A linear search locates values in O(n) steps. On average it is actually n/2 steps but with big oh notation that doesn't matter. ``` public static int linearSearch(int[] values, int searchedValue) { int pos = 0; boolean found = false; while (pos < values.length && !found) { if (values[pos] == searchedValue) { found = true; } else { pos++; } } return pos; } ```
A ''linked list'' is a [[data structure|Data Structures]] used for collecting a sequence of objects that allows efficient addition and removal of elements in the middle of the sequence. These are linear data structures that consist of nodes that store data. With an array, if you would like to put an element in the middle of the array, all elements after need to be shifted. The same goes for removing an element in the middle of the array. Linked lists avoid this by using a sequence of nodes that store references to neighboring nodes in the sequence. This way if you add or remove one, only the neighboring nodes need to be updated. This is good, but it makes it so element access can be slow. Random access in a linked list is not efficient (Random Access Memory is an example of random access). This can not be performed on link lists, because each element must be visited in sequential order. Use a linked list if you more often need to add and remove elements, but do not need to randomly access them often. For example a frequently printed list. Adding an element to a linked list, adds it to the end of the list by default. Removing an element removes the last element that was returned by the last call to the next OR the previous method. Be careful when calling this. It can only be called once after calling next or previous and you cannot call it immediately after a call to add. If you call the method improperly, it throws an IllegalStateException.
''Linked List Time Complexity'': The `getNodeAt` method would be O(n). So a Linked list is good if your going to be linearly circumventing the structure most often, and not randomly.
A linked structure is one that uses object reference variables to create links between objects.
A ''linker'' combines [[machine code|Machine Language]] that was [[compiled|Compilation]] separately into one machine code program before being loaded into the execution environment.
''Linux'' is a family of operating systems which are [[Unix|Unix]]-like. It is typically open source. Linux is actually called ''GNU/Linux'' after the [[GNU operating system|GNU Operating System]] it is based on. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Linux'>> </div>
The ''chmod command'' can be used to change permissions for a particular file. Some notable flags are below that can be used after the `chmod` symbol: * `+x <filename>` will make the file executable.
See below for some Linux commands: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Linux Commands'>> </div> See also: * [[Unix Commands]]
The ''dmesg command'' can read information from the ''kernel log buffer''. The kernel log buffer can be written to by a module with the printk function. The flag `-c` can be used to read then clear the kernel log buffer. This needs to be done as root, so `sudo` needs to be used. `-C` can be used to just clear it out. By default the first column that is output when `dmesg` is run, is a timestamp in seconds since the kernel booted. The option `-T` can be used to show real times. See also: * [[Process - Writing a Linux Kernel Module]]
The ''Linux file system'' is hierarchical. It is built starting with root or `/`. One of the folders in root is `home`. This is the home folder for everyone's home folder on the system. So under home there might be a folder `aneuhold` which could by my home folder. One of the other folders in root is `usr`. This always has `bin`, `lib`, `share`, and `include` in it. The `include` folder contains [[C or C++ header files|C/C++ Header Files]]. The `bin` folder contains the actual executables. An ''absolute path name'' is something that starts with a `/`. For example `/home/aneuhold/SER321/Examples`. Keep in mind that a shortcut like `~` is still considered part of an absoulute path because it is a short way of indicating the root down to the current user's home directory. For example `~/Examples/Assign3/something.java` Is an absolute path. A ''relative path name'' is one that is relative to the one that the [[interpreter|Interpretation]] is currently in. That interpreter could be the [[bash|Bash]] terminal. These paths start without a `/`. For example `src/java/server/MyServer.java` Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Linux File System'>> </div> See also: * [[HTML File Paths]] * [[ext file system|Extended File System (ext)]] * [[Simple guide to the linux file system|http://www.tldp.org/LDP/intro-linux/html/sect_03_01.html]]
''MAC times'' stands for ''modification, access, and change times''. Some details on how they are determined are below: * Modification time or `mtime` is the last time the file's data blocks were changed * Access time or `atime` is the last time the file's [[data blocks|Magnetic Disk Logical Blocks]] were accessed * Change time or `ctime` is the last time the file's [[inode|ext File System inodes]] was changed, with exception of the MAC times themselves stored in the inode. On [[Windows|Microsoft Windows]], this is actually creation time. The Linux [[touch command|Linux touch Command]] can change mtime and atime. See also: * [[Sleuthkit mactime Command|Sleuth Kit > mactime Command]] * [[Windows MACE times|Windows File Systems > MACE Times]]
The ''insmod command'' can be used to load a kernel module. It has the following structure: ``` sudo insmod <modulePath> <optionalParamters> ``` * `<modulePath>` is the location of a `.ko` file which can be created with the [[make command|Linux make Command]]. For example `./simple.ko`. * There aren't any notes yet for the `<optionalParameters>`. See also: * [[Process - Writing a Linux Kernel Module]]
Documentation on the ''Linux kernel'' can be found at [[this site|https://www.kernel.org/]]. Go to "Browse" and it can be surfed. It seems that the uesful source code is normally in `root/include/linux`. Here is a [[link to all the different kernels|https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/refs/tags]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Linux Kernel'>> </div>
The ''ls command'' can be used to show a listing of files. When `-l` is used as an argument, the access control list is shown first. Some details on what that means are below: * `d` means directory * `rwx` means readable writable, and executable. The first three are for the owner, the second three are for someone from the group, the third one is for everyone in the world / computer.
The ''lsmod command'' will list all currently loaded modules in the Linux [[kernel|Kernel (Operating Systems)]].
The ''make command'' can be used to automate the build process of a file or set of files, based on a [[Makefile|Linux Makefile]]. The general structure of the command is below: ``` make <options> <optional targets> ``` * `<options>` can be ** `-C <dir>` which will change to the directory `<dir>` before executing the make command. `make` looks in the current directory for a file called `Makefile` or `makefile` with no extension for its build instructions. `make` uses the timestamp on a file to check if the file has been modified and whether it has to be recompiled or not.
A ''Makefile'' can be used in combination with the [[make command|Linux make Command]] to automate a build process. It should be named `Makefile` with no extension in the directory that contains the files to be compiled. A makefile consists of rules in the following form: ``` target : dependencies system command(s) ``` * Indents have to be tab characters. * `target` can be the name of a file generated by a program such as an executable or object `.o` files, or they can be an action to carry out such as `clean`. * `dependencies` are files that are used as an input to create the target. If it is an action, it typically doesn't have any dependencies. ** The dependencies say that the `target` must be rebuilt whenever any of the dependency files are changed. ** Dependency files are delimited by spaces ** Essentially the `dependencies` line is a trigger for when to conduct the `system command(s)` * `system command(s)` or "recipes" are an action that the [[make command|Linux make Command]] carries out. ** For standard compilations, the command line can be omitted. `make` will use a default build rule for the source file based on its file extension. `.c` for C files, `.f` for Fortran files, and so on. The default build rule for C files looks like `$(CC) $(CFLAGS) -c source-file.c` Traditionally makefile variables are in all capital letters. The variables are simply strings, so they match one string, to another string. To refer to a variable, put a dollar sign, then the variable name in curly brackets or parenthesis. The most important variable names are: * `CC` The name of the C compiler. This defaults to `cc` or [[gcc|gcc (GNU C Compiler)]] in most versions of make. * `CFLAGS` A list of options to pass on to the C compiler for all of your source files. ** `-g` builds debugging versions ** `-ggdb` fine tunes debugging for the [[gdb|gdb (GNU Debugger)]] Comments in a makefile are done with `#`. This incantation says that the object files have the same name as the .c files, but with .o: ``` OBJS = $(SRCS:.c=.o) ``` Here is a generic makefile: ``` # the compiler: gcc for C program, define as g++ for C++ CC = gcc # compiler flags: # -g adds debugging information to the executable file # -Wall turns on most, but not all, compiler warnings CFLAGS = -g -Wall # the build target executable: TARGET = NeuholdBoxBlur all: $(TARGET) $(TARGET): $(TARGET).c $(CC) $(CFLAGS) -o $(TARGET) $(TARGET).c clean: $(RM) $(TARGET) ``` See also: * [[Example - Makefile]] * [[Example - Makefile 2]]
''LiME'' or the ''Linux Memory Extractor'' is a project that is used to pull volatile memory from Android or a Linux machine. It inserts a module into the [[kernel|Linux Kernel]] and uses that to dump the memory. Keep in mind that this WILL be modifying the data on the target system, which is not okay for some [[forensic analysis|Digital Forensics Procedure]]. To run this tool on linux you can do the following: # Download the zip file from the [[repo|https://github.com/504ensicsLabs/LiME]] and get it onto the system somehow # Extract, and run the [[makefile|Linux Makefile]] within the `/src` folder. # There should be a `.ko`, or a kernel object file created. Use this file by running something like the following using [[insmod|Linux insmod Command]]: `sudo insmod lime-4.9.0-27-generic.ko "path=${HOME}/Downloads/mem_dump.bin format=padded"`. # Remove the kernel module by running [[lsmod|Linux lsmod Command]] with grep like `lsmod | grep lime`. This will show you which module to remove. Then use `sudo rmmod lime` or whatever the name of the module was. See also: * [[Github project page for LiME with a good guide on how to use it|https://github.com/504ensicsLabs/LiME]]
The ''mount command'' can be used to mount a file system. `unmount` will detach that file system again. The different forms of mount are below: ``` mount [-fnrsvw] [-t fstype] [-o options] device dir mount [-l|-h|-V] mount -a [-fFnrsvw] [-t fstype] [-O optlist] mount [-fnrsvw] [-o options] device|dir ``` * `options` can be one or a combination of the following: ** `ro` means read only ** `loop` seems like it will loop the file system so if you loop over it returns to the beginning? Still not understanding that one. To list mounted devices, Linux suggests to use `findmnt`. See also: * [[Linux mount manpage, maybe current|http://man7.org/linux/man-pages/man8/mount.8.html]]
The ''nmap command'' seems to be a command that can be used for network scanning. It has the general form of: ``` nmap <options> <ip-addresses> ``` Where `<ip-addresses>` can be something like `192.168.0.1/24` Some notable options for the command are below: * `-Pn` treat all hosts as online * `-PS<port-num>`
The ''rmmod command'' can be used to unload a Linux kernel module. It has the following structure: ``` sudo rmmod moduleName ``` Where `moduleName` does not have an extension.
The ''scp command'' can be used to transfer files through SSH from one machine to another. The general structure is below: ``` scp <source> <destination> ``` For example, while logged into the origin machine: ``` scp /path/to/file username@machineB:/path/to/destination ```
The ''screen command'' can be used to have multiple sessions of the shell running in one visible shell. Some basic commands are below: * `screen -S <screen_name>` will create a new screen session and name it the `<screen_name>`. You can terminate a screen by simply using `exit` inside of it.
Threads in Linux can be created with [[pthreads|POSIX Pthreads Library]], or with ''clone''. This is just like fork, with the difference being that resources are shared when clone is used. Both fork and clone use the [[task_struct|C linux/sched.h Library]].
The ''touch command'' can change a file's timestamps, or [[MAC times|Linux File System > MAC Times]] with the exception of the change time. See also: * [[touch command man page|http://man7.org/linux/man-pages/man1/touch.1.html]]
The ''and function'' can be written as `(and (predicate-1) ... (predicate-n))`
The ''apply function'' is a less powerful version of [[eval|Lisp eval Function]]. Apply takes the name of a function, and a list of its arguments. For example `(apply '+ '(2 2))` would return 4.
The ''aref function'' allows access to an [[array|Lisp Arrays]], or [[string|Lisp string Data Type]] element. It has the general form of `(aref array index-dim-1 ... index-dim-n)` where the index values are the index of the particular dimension. For example a 2 dimensional array can have it's 2nd row and 4th col by using `(aref example-array 1 3)`.
A table of the ''lisp arithmetic functions'' are below: [img width=700 [https://i.imgur.com/3ekvYW3.png]]
Lisp can create ''arrays'' with the [[make-array function|Lisp make-array Function]]. To access elements of an array, the [[aref function|Lisp aref Function]] can be used.
An ''atom'', is every [[expression|Expression (Computer Science)]], that is not a [[list|Lisp Lists]]: * [[Lisp symbol Data Type]] * [[Lisp number Data Type]] * [[Lisp character Data Type]] * [[Lisp string Data Type]] * [[Lisp Boolean Values]]
In lisp, the ''boolean values'' are represented by `t` for true and [[nil|Lisp nil Value]] for false. Every other value besides `nil` will evaluate to true.
Lisp uses ''canonical indent formatting'' which follows these rules: * Put a single space between each item in a list * Do not put a space between opening parenthesis and the first item in a list, and do not put a space between the closing parenthesis and the last item in a list * Do not put parentheses by themselves on a line like in C++/Java It seems that lispworks personal edition does the proper indenting for connonical style on it's own. It seems difficult to tell what the rhyme and reason is to the form at the moment besides the basic rules outlined.
`car` or `first` returns the first element of a [[list|Lisp Lists]]. Using car on an element will throw an error. `car` is a fundamental list operation. Here is an [[example of using the car and cdr function|Example - Lisp - Using car and cdr functions]].
`cdr` or `rest` returns everything except the first element of a [[list|Lisp Lists]], as a list. If only one element is returned from the rest of a list, it will still be in a list format, such as `(element_symbol)`. Here is an [[example of using the car and cdr function|Example - Lisp - Using car and cdr functions]]. If there is just one element in a list that is used with `first`, it will return `nil`.
The data values of the ''character type'' are the set of ASCII characters. Characters are written starting with `#\`. For example: `#\5` for 5, `#\A` for capital A, and `#\space` for the space character. Some important characters are below: ``` #\\ ; The character '\' #\tab #\newline #\space #\backspace #\escape ``` Below is an incomplete list of operations for the character data type in Scheme: [img width=700 [https://i.imgur.com/Ge8q1RJ.png]]
In lisp, there are three types of ''comments'': * Inline comments can be written starting with a semi-colon: `;` and end with a return. * Multi-line comments are not used often because they are hard to find in code, although they are done with `#|` then closed with `|#`. These are mainly used to temporarily eliminate chunks of code. * Many lisp structures have built in documentation comments. Take a look at [[defun|Lisp defun Macro]] for an example. These can be revealed with the [[documentation function|Lisp documentation Function]] and [[describe function|Lisp describe Function]]. Piling up semicolons is common to make comments more visible. A good rule of thumb for semi-colons is: * Use one semicolon for inline code * Use two semicolons to comment the head of a function * Use three semicolons to comment the head of a file or other big region
The ''compile function'' will compile a function symbol passed to it. For example `(compile 'function-id)` where the `function-id` must be [[quoted|Lisp Quotes]].
''Complex numbers'' can be written starting with `#C` then in parenthesis, the real, then the imaginary part of the number. For example: ``` #C(3.2 2) ; the complex number 3.2 + 2i ```
The ''cond function'' is a flexible conditional statement with the following general form: ``` (cond ((test-expr-1) expr-1 ... expr-j) ... ((test-expr-n) expr-1 ... expr-k) ) ``` `cond` combines the features of if-then-else and the switch statement. `cond` is evaluated in the following steps: # Evaluate each `test-expr` in turn # When the first non-nil `test-expr` is found, the corresponding expression sequence is evaluated # The value of `cond` is the value of the last `expr` evaluated # If none of the `test-expr` is non-nil, then the value of the entire `cond` is `nil`. Using `t` as the last test expression in a cond statement is a way to add an "else" to the end.
The ''cons function'' constructs a new [[list|Lisp Lists]], with the first paremeter being the first element of the new list, even if it is itself a list, then followed by the second parameter which should be a list. Generally it follows the form `(cons element list)`. If `element` is a list, then it is encased as an element in the new list. For example: ``` (cons '(A B C) '(D E F)) ; results in ((A B C) D E F) ``` Internally, cons takes the fact that a list is a linked binary tree, and assigns the left part of a tree node to the element, and the right side of the tree node to the list. So if the right side is not a list, it forms a [[pair|Scheme pair Data Type]]. See also: * [[Example - Lisp - Internal representation of a list]]
A ''cons-cell'' is an individual node of the [[internal representation of a list in lisp|Lisp Internal Representation of Lists]]. They are the individual parts of this [[example of the internal representation of a list|Example - Lisp - Internal representation of a list]]. Cons-cells are allocated in two ways: # Explicit application of [[cons|Lisp cons Function]] # The appearance of a [[literal list value|Lisp Quotes]] anywhere in a program. All list access functions pass-by-address and do not create new cons applications. The difference between non-destructive and [[destructive functions|Lisp Destructive List Operations]], is that non-destructive will never change the pointer inside a cons-cell.
The ''defconstant function'' defines a constant before it is used by [[setf|Lisp setf Macro]] or something similar. The general structure is ``` (defconstant var-symbol initial-value optional-documentation-string) ``` See also: * [[Lisp defparameter Function]]
The ''defparameter function'' defines a variable before it is used by [[setf|Lisp setf Macro]] or something similar. The general structure is ``` (defparameter var-symbol initial-value optional-documentation-string) ``` See also: * [[Lisp defconstant Function]]
''Keyword parameters'' can be used in a function declaration, at the end of the parameters list, and acts kind of like a longer set of [[optional parameters|Lisp defun Optional Parameters]]. Optional parameters and keyword parameters should not be mixed because it gets confusing. A keyword parameter can be created by using the term `&key` followed by the name. An example is shown below: ``` (defun function-id (param-1 ... param-n &key keyword-param-1 ... keywork-param-n) expr-1 ... expr-k ) ``` The value defaults to `nil` if the keyword parameter is not used in the function call. The default value can be changed just like the optional parameter with `(param-name default-value)`. To pass a keyword parameter in a function call, for example a keyword parameter called `foo`, the function call needs a colon followed by the name, then whitespace and the desired value. So `:foo nil`. The keyword parameters can be used in any order, although they must be at the end of the normal parameters. Here is a [[full example of using keyword parameters for a function definition|Example - Lisp - Using keyword parameters in a function definition]].
The ''defun macro'' can be used to define a [[function|Lisp Functions]]. The function returns the value of the last expression, while the defun macro returns the name of `function-id`. The general format of the defun macro is: ``` (defun "optional documentation string" function-id (param-1 ... param-n) expr-1 ... expr-k ) ``` Here is an [[example of a basic function declaration|Example - Lisp - Basic Function Definition]]. If the parameters list is empty `()`, then the function has no parameters. Also the documentation string can be used to write about the function. This can be accessed with the [[documentation function|Lisp documentation Function]]. Because type declarations are not enforced in lisp, any parameter types must be implied, for example if it must be addable, then that is on the user to make sure of that, and any errors will be caught at run-time. See also: * [[Lisp defun Optional Parameters]] * [[Lisp defun Keyword Parameters]]
An ''optional parameter'' can be defined with the [[defun macro|Lisp defun Macro]] as shown below: ``` (defun function-id (param-1 ... param-n &optional optional-param) expr-1 ... expr-k ) ``` where `&optional optional-param` is optional to include, and any function defined with `defun` may only have one optional parameter. If the optional parameter is not provided when calling the function, then `optional-param` becomes `nil`. The default return value for an optional parameter can be modified from nil to something else by changing `optional-param` to the list `(optional-param-name default-value)`. See also: * [[Lisp defun Keyword Parameters]]
The ''describe function'' will give a lot of information about the corresponding function passed to it. For example `(describe 'estimate-pi)`. See also: * [[Lisp documentation Function]]
''Destructive list operations'' provide direct pointer-access to the [[lists|Lisp Lists]] in lisp. So essentially, destructive list functions use [[call-by-address parameter passing|Call-by-Address Parameter Passing]]. Below are some destructive operations: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Lisp Destructive List Operations' sort[title]>> </div>
The ''do function'' is a lot like a for loop. The general format is: ``` (do ((var-1 val-1 rep-1) ... (var-n val-n rep-n)) exit-clause expr-1 ... expr-n ) ``` At the beginning of `do`, each `var` is assigned to its corresponding `val`. The `rep` is what `var` will be assigned to after a loop completes. The example below shows how this works. ``` (do ((i 0 (+ i 1))) ((< i 10)) (print i) ) ``` Following the variable initialization, the exit clause is evaluated. If `exit-clause` is `nil`, then `do` will exit immediately. Otherwise each `expr` is evaluated.
The ''documentation function'' will take any documentation comments of a function and return them. This is typically returned as a [[string|Lisp string Data Type]]. The function name must be passed as a symbol, then the type of information is put as a symbol. For example `(documentation 'estimate-pi 'function)` will return the documentation string for the function. A more verbose method of returning information is the [[describe function|Lisp describe Function]].
The ''dolist function'' is an iterator that starts with the symbol `dolist` then has a 3 element list, followed by expressions. The general format is shown below: ``` (dolist (var-name list-to-iterate-over optional-return-val) expr-1 ... expr-n ) ``` The `var-name` variable will be replaced with each element of `list-to-iterate-over`. If the `optional-return-val` is left out, it will return `nil`. See also: * [[Lisp dotimes Macro]]
The ''dotimes macro'' is a way to create loops in lisp. The general format of the macro is the function name, followed by a list, then followed by a number of expressions. The list consists of 3 values, a variable for holding the count, the high value when the loop should stop, and an optional return value for the entire function. If the return value is left out, `dotimes` will return `nil`. ``` (dotimes (var high-val optional-return-val) expr-1 ... expr-n ) ``` The `var` will count up starting from 0, until `high-val` - 1. So if `high-val` is 4, `var` will loop until it is 3.
The following lists a few of the ''equality functions'' of lisp: * `=` Numeric equality * `string=` string equality * `equal` general expression equality (deep equality), which means two objects are equal if if they have the same structure * `eq` Same-object equality (shallow equality), which means two objects are eq if they are bound to the same object
''Errors'' in lisp stop the program execution. For example `(/ 1 0)` will stop the program and so will calling a function without a definition.
The ''eval function'' can evaluate a given [[list|Lisp Lists]] as a program starting with a function id. It has the general form of `(eval list)`. For example `(eval '(+ 2 2))` would result in 4. The eval function provides a way to turn data into a program. A less powerful version of eval, is [[apply.|Lisp apply Function]]
There are three contexts in which lisp performs ''evaluation'': * The top level [[read-eval-print|Lisp read-eval-print Loop]] loop, which is the "command line" of sorts in a lisp interpreter * When a [[function is called|Lisp Functions]] * An explicit call to the [[eval function|Lisp eval Function]].
A ''free variable'' in lisp is one that is used in a function, but not declared. This would imply that the variable must be declared at some point before the function is called, if not, then an "unbound variable" error occurs. An example of a free variable is `z` below: ``` (defun f (x y) (+ x y z)) ```
The general format of a ''lisp function'' call is `(function-name arg1 ... argn)`. The function name is also called the ''function id'', which is a [[symbol|Lisp symbol Data Type]], while the rest are parameters. As a rule, every function must evaluate each argument exactly one time each. If they break this rule, then they are [[lisp macros|Lisp Macros]]. Functions can be chained, if the function allows it, and they can have optional parameters at the end. For example `(+ 2 4 7 3 5)` is valid and will add all of those numbers. Functions that return [[t or nil|Lisp Boolean Values]] are called [[predicates|Lisp Predicates]]. The following process is followed to evaluate a function call: # The function id is checked to see if it is bound to a function value # Each of the arguments are evaluated # The value of each argument is bound to the corresponding formal function parameter using [[call-by-value|Call-by-Value Parameter Passing]]. # The body of the function is evaluated, and the resulting value is returned. See also: * [[Lisp Free Variables]]
The ''help function'' will provide help with any kind of [[symbol|Lisp symbol Data Type]] which includes functions and variables. For example `(help symbol)`
The ''if special form'' in lisp starts with a [[predicate|Lisp Predicates]], then if that predicate is true, it will return the following [[list|Lisp Lists]] or [[atom|Lisp Atoms]], and if it is false, it will return the last list or atom. If the last list is left out, then it will return `nil` if the predicate is false. The general form is shown below: ``` (if (predicate) (list-true) (list-false)) ``` To extend the number of operations that can happen in an if special form, the [[progn special form|Lisp progn Special Form]] can be used. See also: * [[Example - Lisp - Using progn with an if special form]]
Input: * [[Lisp read Function]] Output: * [[Lisp print Function]] * `(display 3)`, `(write 3)`, and `(print 3)` will all print values to the console. None of these create a newline. These only print to the screen and do not return a value. * `(newline)` can be used to print a newline. See also: * [[Example - Scheme - Input and Output Example]] * [[Lisp open Function]]
The internal representation of lists within Lisp is a linked binary tree. Here is an [[example of what a list looks like internally in lisp|Example - Lisp - Internal representation of a list]]. It is standard that the right most pointer leads to `nil`. The binary unit that is each cell in the tree structure is called a [[cons-cell|Lisp cons-cells]].
''Lisp's interpreter'' is based on the same idea as a [[basic interpreter|Interpretation]]. When the lisp interpreter is instructed to do something, like print for example, it will print the result once because it is part of the instruction, then the interpreter will print it again, to tell us what happened. This acts as feedback of what the result was of the final list operation.
The ''let special form'' assigns a variable locally. A block can be created starting with `let`, then a list of each variable assignment, then each expression following the local declaration is evaluated. The general form is: ``` (let ( (variable-name-1 (atom-or-list-1)) ... (variable-name-n (atom-or-list-n))) (expr-1) ... (expr-n) ) ``` Each of `atom-or-list` is evaluated and assigned to the corresponding `variable-name` in parallel, not left-to-right which means that previously declared names in the same let block cannot be used. To force sequential binding, so that previously written variables can be used, let can have an asterisk added to the end `let*` which means "declare these variables sequentially". If the value of the variable is left out, then the variable will be assigned `nil`. Here is an [[example of using nested let special forms with the same variable name|Example - Lisp - Using nested let special forms with the same variable name]]. If a global variable set with [[setf|Lisp setf Macro]] is already assigned, then the let function will take precedence. Any modifications to the variable that has the same name as the global, will not impact the global, until the end of the let block is reached.
The ''list function'' will return a list with the values following `list`. For example `(list v1 v2 ... vn)`. Here is further [[documentation on list|https://docs.racket-lang.org/reference/pairs.html#%28def._%28%28quote._~23~25kernel%29._list%29%29]].
A ''lisp list'' is an [[expression|Expression (Computer Science)]] comprised of zero or more [[atoms|Lisp Atoms]], or lists, enclosed in parenthesis. The following are valid lists: ``` () (a b c) (a (b 10) (c (20 30)) "x") (+ 2 2) ``` There are three fundamental list operations from which all others can be derived: * [[car or first|Lisp car Function]] * [[cdr or rest|Lisp cdr Function]] * [[cons|Lisp cons Function]] The following fundamental relationships exist between these three operations: `(car (cons X Y)) = X`, and `(cdr (cons X Y)) = Y`. Many high level operations can be based on these simple operations. Some examples are below: * [[Example - Lisp - Tail Recursion or Iteration with a List]] * The form cXr can be used as shorthand for combinations of `cdr` and `car`. The X can be replaced by either 2, 3, or 4 a's and/or d's. For example `(cadr L)` is shorthand for `(car (cdr L))` which returns the list without the first element. * [[Example - Lisp - Arrays with a List]] * [[Example - Lisp - n-ary Tree Structures with lists]] Below is a table that lists some useful built-in list operations: [img width=700 [https://i.imgur.com/nw8kNYi.png]] See also: * [[Lisp Internal Representation of Lists]] * [[Lisp Quotes]]
The ''load function'' can be used to load a lisp file into the interpreter. For example at the lisp environment, a file called `avg.l` could by loading by typing `(load "avg.l")`, which it will then treat as if it was all typed into the interpreter. They [[keyword parameter|Lisp defun Keyword Parameters]] `:print` can be used to print out return values from the loaded file. Pass in a value of `t` to do this.
A ''macro'' or ''special form'' works like a [[function|Lisp Functions]], but breaks the function rule of evaluating each argument exactly once. Macros are typically used for control structures such as [[if|Lisp if Function]], and [[progn|Lisp progn Function]].
The ''make-array function'' follows the general form of `(make-array length)` which returns a fixed-length array, with each element initialized to `nil`. A one dimensional array created using `make-array` is called a ''simple vector''. A simple-vector can also be created by typing `#(a b c)` which is the array containing 3 elements, a, b, and c. A multi-dimensional array can be created using a quoted list of lengths of the dimensions. For example a 3 x 4 array could be created using `make-array '(3 4)`. The simple-vector way to do this is by using `#nA` followed by the array where `n` is the dimension of the array. For example a 2 dimensional array can be declared like `#2A((1 2 3)(4 5 6))` The initial value of the elements can be specified with the [[keyword parameter|Lisp defun Keyword Parameters]], `:initial-element`. A variable length array can be created using the keyword parameters `:adjustable` and `:fill-pointer`. Then once an array is created this way, the [[vector-push-extend|Lisp vector-push-extend Function]], and [[vector-pop|Lisp vector-pop Function]] functions can be used. See also: * [[Lisp Arrays]]
The ''nconc function'' has the general structure of `(nconc list-1 ... list-n)` and [[destructively|Lisp Destructive List Operations]] replaces the last [[cons-cell|Lisp Lists]] pointer of each given list, to the list that follows it in `nconc`. `nconc` is a destructive version of [[append|Lisp Lists]].
`nil` represents both false in [[boolean values of lisp|Lisp Boolean Values]], and the empty list.
The ''not function'' can be written as `(not (predicate))`.
The ''number data type'' accepts all of these numbers: $$2, -5, 1.03, 2/5, 2.5e^{-3}$$. This is because numbers are represented internally as a list, meaning there is theoretically no limit to the size of a number. Some important examples of valid numbers in lisp are below: ``` -3 2.43 123921754-921759021743192731297512752174308926350827635 ; Lisp allows very large integers 2/3 ; the fraction 2/3, not divide 2 by 3 -3.2e25 ; the number -3.2 x 10^25 ``` When working with numbers, lisp will try to keep the most general type. Some examples are below: ``` (+ 27/32 32/57) ; outputs 2563/1824 (* 2.342 3.2e4) ; outputs 74944.0 (/ 3 5) ; outputs 3/5 (/ 3.0 5) ; outputs 0.6 this is where lisp is forced to produce a floating point ``` Here is an [[incomplete list of operations for the number data type|Image - Scheme number Data Type incomplete list of operations]]. There is also the following functions, and some with just more detail: * `(1+ num)` adds 1 to num. * `(sqrt -1.0)` will return `#C(0 1.0)` which is a complex number. See also: * [[Lisp Complex Numbers]]
The ''open function'' returns a ''stream'' which can be used in other functions in lisp. The function has the following structure: `(open filename)` where `filename` is a string.
''Predicates'' are [[functions|Lisp Functions]] that return [[t or nil|Lisp Boolean Values]]. Traditionally predicates in lisp end with the letter p. Some examples are below: * `(= val val)` will compare two values. This is essentially equivalent to `==` in Java. * `(< val1 val2)` means is val1 < val2. See also: * [[Lisp Type Predicates]]
The ''print function'' has the following structure `(print expr stream)` where [[stream|Lisp open Function]] is optional, and will print to stdout if left out. `print` will print the value of `expr`.
The ''progn special form'' can be used to make blocks of code in lisp, and is similar in how it declares values to the [[let function|Lisp let Special Form]]. The block of code will be executed one after the other. The general format of progn is: ``` (progn ((var-1 val-1) ... (var-n val-n)) expr-1 ... expr-k ) ``` The first argument, the list of declared variables, could be an empty list. The default return value of `progn` is `nil`. To return something, a special function: `(return expr)` can be used within `progn`. `return` terminates `prog` when it is interpreted, and returns the corresponding `expr`. There is another special function within `prog`, which is `go`. go will take the code to a certain section of the prog function. The best example would be the [[print-eval loop for lisp|Lisp read-eval-print Loop]]. Here is an [[example of using progn with an if special form|Example - Lisp - Using progn with an if special form]].
''LISP'' is considered the first and most important [[functional programming|Functional Programming]] language. It does not have data types. It is based on [[Lambda Calculus|Lambda Calculus]] and originally intended for [[artificial Intelligence|Artificial Intelligence]]. Lisp is short for LISt Processing because everything is a list, including the programs. Everything, including the lists, is an [[expression|Expression (Computer Science)]] as well. Lisp is a [[weakly typed language|Weakly Typed Programming Languages]] and uses [[prefix notation|Prefix Notation]]. Lisp also uses an [[interpreter|Lisp Interpreter]], and has automatic [[memory management|Memory Management (Programming Languages)]]. Lisp uses [[eager evaluation|Eager Evaluation (Programming Languages)]]. Some similarities between C/C++, Java, and Lisp are: * Overall program structure and scoping rules * Function invocation and conditional control constructs * An underlying similarity between Lisp lists and C/C++ and Java built-in data structures. Table of contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Lisp Programming Language' sort[title]>> </div>
The single ''quote'' `'` in lisp indicates the beginning of a [[list|Lisp Lists]], and lisp will not try to match a function to the first element. This can be swapped out with the `quote` function. For example both of the following lines are equal ``` (f '(g 10)) (f (quote (g 10))) ``` When a list is created this way, elements are grouped. For example `'(what is (going on) here)` has 4 elements. The 3rd element is a list with two elements. Even if a list has one element such as `'(3)` it is still a list.
The ''read function'' has the following structure: `(read stream)` where [[stream|Lisp open Function]] is optional and if left out, will default to stdin, which is keyboard input.
The following is //the// read-eval-print loop that goes into use in a [[lisp interpreter|Lisp Interpreter]]: ``` (defun read-eval-print-loop () (prog () loop (print ">") (print (eval (read))) (terpri) (go loop) ) ) ```
The ''rplaca function'' is a [[destructive list operation|Lisp Destructive List Operations]] with the general structure: `(rplaca cons-cell expr)` where `cons-cell` is the idea of [[how a list is represented in lisp|Lisp Lists]]. `rplaca` replaces the [[car|Lisp car Function]] of `cons-cell` with `expr` and returns the result. `(rplacd cons-cell expr)` replaces the [[cdr|Lisp cdr Function]] of `cons-cell` with `expr` and returns the result.
[[Lists|Lisp Lists]] and [[strings|Lisp string Data Type]] are considered ''sequences''. These sequences can be used in functions that accept sequences such as `reverse` and `subseq`.
The ''setf macro'' allows variables to be assigned in lisp. The variable is set to a [[list|Lisp Lists]] or [[atom|Lisp Atoms]] and generally follows this format: `(setf variable-name (atom-or-list))`. `setf` can be used on the same variable name again to redefine what the variable is equal to, or can be used on an [[array|Lisp Arrays]] to redefine specific elements using [[aref|Lisp aref Function]] for example. `setf` is considered a destructive list operator because it overwrites whatever it is assigning. Here is an [[example of destructive assignment to a list with the setf macro|Example - Lisp - Destructive assignment to a list with the setf macro]]. Non-destructive assignment can be accomplished with the [[setq function|Lisp setq Function]]. Use [[defconstant|Lisp defconstant Function]] for constants and [[defparameter|Lisp defparameter Function]] for variables before using setf to assign documentation and an initial value. See also: * [[Lisp let Special Form]]
The ''setq function'' can be used to assign variables and generally follows this structure: `(setq symbol list-or-atom)`. `setq` is different than [[setf|Lisp setf Macro]] in that it only accepts a [[symbol|Lisp symbol Data Type]] as its first argument.
A ''string'' is a sequence of characters in a pair of double quotes. The string "1234" has a length of 4, although they are still counted from 0 like normal. The double quote, and backslash can be escaped with the backslash like normal. For example `"He said \"No Way!\" then left \\ some other text."`. Same with An incomplete table of operations for the string data type is below: [img width=700 [https://i.imgur.com/8dFmnZx.png]] There is also the following functions from Lisp: * `(string-upcase "String")` - Takes all the characters and makes them uppercase. * `(reverse "String")` - Will reverse the characters * `(length "String")` - Returns the length
A ''symbol'' is a series of characters other than whitespace, parenthesis `()`, pound `#`, quote `'`, double-quote `"`, period `.`, or back quote. A space marks the end of a symbol. It is common to have `-` and `*` in a symbol. Symbols are not operators, they are only [[functions|Lisp Functions]] or variables. The value of a symbol's variable has nothing to do with the function or [[macro|Lisp Macros]] associated with the symbol. This means that there can be variables called `print` and `if`. [[Literal|Literals (Programming Languages)]] values of number, Boolean, character, and string cannot be symbols. The quote prefixed to them will be ignored. For example `(+ '2 4)` is the same as `(+ 2 4)`. Symbols are case-insensitive, so `A` is the same as `a`. Good style in lisp is to always use lower-case letters to help distinguish between system generated content, and code. Some good rules are: * Only use hyphens, not underscores * Denote global variables and constants by wrapping them in *asterisk*, and defining them first with [[defparameter|Lisp defparameter Function]] for variables, and [[defconstant|Lisp defconstant Function]] for constants, before using [[setf|Lisp setf Macro]]. * Variable names should be nouns, and function names should be verbs * Although variables can be names the same as functions, its good to not do that An incomplete list of operations for symbols from [[scheme|Scheme Programming Language]] is below: [img width=700 [https://i.imgur.com/EyCxZs0.png]]
The ''terpri function'' is basically a newline function. It has the following structure: `(terpri stream)` where [[stream|Lisp open Function]] is optional, and if left out, will print to stdout.
There are no type declarations in lisp, although there are types of values. The following table lists the different type predicates in lisp: [img width=700 [https://i.imgur.com/dfMqxoJ.png]]
The ''vector-pop function'' will pop an element off the end of a [[variable length array|Lisp make-array Function]] with the following structure: `(vector-pop array-name)`.
The ''vector-push-extend function'' allows a [[variable length array|Lisp make-array Function]] to have new things added to the end. It has the general structure of `(vector-push-extend element-to-add array-name)`.
A list collection (interface type) remembers the order of it's elements. The `arrayList` class implements the list interface. There are 3 types of list collections. An ordered list, unordered list, and index list. The differences between most list types stem from how elements are added.
You can use a ''list iterator'' to access elements in a [[linked list|Linked List]]. To understand an iterator better, think of each element in a linked list being a series of letters. The iterator is like the blinking cursor in between them. The Java API how two primary [[interfaces|Java Interfaces]] for iterators: `Iterator` which is used to define an object that can be used as an iterator, and `Iterable`, which is used to define a collection from which an iterator can be retrieved. A list iterator initially points to before the first element. You can move the iterator position with the next method `iterator.next();`. The iterator will throw a NoSuchElementException if you are past the end of the list, so its good to try `iterator.hasNext()` first. The next method returns the element that the iterator is passing. You can traverse all elements in a linked list of strings with the loop in the note. Using the enhanced for loop means you don't have to worry about the iterator. Behind the scenes the for loop uses an iterator to visit all list elements. So implementing an iterator for a list means you can write smaller code when using it. Typically iterators are implemented as an inner class so that it can access the same variables, and declared as private. Methods are in the note. Extra considerations in the note. ``` while (iterator.hasNext()) { String name = iterator.next(); Do something with name; } // OR if you want an enhanced for loop for (String name : employeeNames) { Do something with name; } ``` Iterator Methods: * `boolean hasNext()` * `E next()` * `void remove()` This is optional, but if it's implemented it means you don't need to search the list again to remove an element once you have found it, you can just delete it right there. Order of traversal: Keep in mind that an iterator could traverse different collections in different ways, based on the underlying data structure it's used with. Its helpful to pay close attention to API documentation. Concurrent Modification Also keep in mind that while an iterator is used, there are two references to the same objects in the collection. So while using the iterator only make changes with the iterator, and don't change the underlying structure until it is removed. Most iterators provided by Java are designed to fail-fast which means they throw a `ConcurrentModificationException` if the collection is modified while an iterator is active. This can be tracked with an integer like `modCount` in the iterator class and iterable class that keep track of how many modifications have been performed.
A ''literal'' is an [[atomic formula|Atomic Formula / Atom]] or it's negation. A ''positive literal'' is just an atom (atomic formula). A ''negative literal'' is the negation of its atom.
''Literals'' are values that can be assigned to variables of different types. For example: integer-type literals are integer numbers, character-type literals are any character from the character set of the language, and string-type literals are any string of characters.
''Live algorithms'' are algorithms which can't be measured by how long they take to execute, because they never finish. Live algorithms are meant to run indefinitely. An example of live-algorithms are [[CPU scheduling algorithms|CPU Scheduling Algorithms]]. Live algorithms go hand in hand with something called a ''greedy algorithm''. Greedy algorithms take a little bit of information up front, and use that to make a decision, even if they have more information available. An idea of a heuristic is typically built in for this reason to find the optimal solution to the problem. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Live Algorithms'>> </div>
''Loadable kernel modules'' can be used to add functionality to a [[kernel|Kernel (Operating Systems)]] that supports them. See also: * [[Process - Writing a Linux Kernel Module]]
A variable that is defined within a method is called a local variable
A ''local version control system'' is a [[VCS|Version Control System]] where there is simply versioning of one file or multiple files in a local project.
A ''logic circuit'' or ''logic gate'' receives input signals and produces output signals. An example of a proposition based inverter, or gate, and AND gate as well as an example of combining them, is here: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5d2pCLVhWd2pwamM/view?usp=sharing. An example of a NOT gate, OR gate, and AND gate with associated truth table and transistor circuit design is here: https://drive.google.com/file/d/0B5Qq4fe-ZajTOXZGYkZwZy1Qems/view?usp=sharing. Rules for drawing logic gates are in the note. Logic gate drawing rules: - Logic gates inputs and outputs do not have labels at the gate itself. The labels must be separate. - Arrows are not needed to indicate direction when drawing circuits, generally go from left to right. - A single wire can be branched, but two wires cannot be merged. This is because if they had different values, the output would be undetermined. Simplifications: - You can put labels before inputs and if the labels are the same it is assumed that they came from the same input, that way you can reduce the number of lines crossing each other. - An inversion bubble can be used just before another gate to indicate a NOT gate. This is shown here: https://drive.google.com/file/d/0B5Qq4fe-ZajTM3FfUjRGbFRkRkk/view?usp=sharing
Designing combinational circuits is called ''logic level design''.
''Logic Programming'' or ''declarative programming'' expresses computation in terms of [[logic predicates|Predicate]], or basically sets of facts about objects like "James is a male". A logic program is a set of rules about objects, facts about objects, and questions about the relations between objects. It focuses on what is needed instead of how to implement it. The program relies on the environment to find solutions that meet requirements. The execution process is to compare a question to each fact and rule in the given fact and rulebase. If the question finds a match, it returns `yes`. If not then a `no` is received. Logic programs can be thought of as program = facts + rules. One of the features of logic programming languages is getting rid of programming altogether. [[Prolog|Prolog Programming Language]] is the only significant logic programming language. [[ALF|ALF Programming Language]] is another one and Gödel is a strongly typed logic programming language.
A ''Logical argument'' in propositional logic is a sequence of [[propositions|Proposition]]. All but the final proposition in the argument are called ''premises''. and the final proposition is called the ''conclusion''. An argument is ''valid'' if the truth of all it's premises implies that the conclusion is true.
''Logical memory addresses'' or ''virtual addresses'' are computed by the [[CPU|Central Processing Unit (CPU)]], and the [[memory management unit|Operating System Memory Management Unit (MMU)]] maps it to the [[physical address|Physical Memory Addresses]]. The ''base register'' (or ''relocation register'') and ''limit register'' are two registers which hold the starting smallest legal physical memory address and the size of the range respectively for each process. These can only be set in kernel mode, and thus can only be set by the operating system. This allows the operating system to change the values of the registers but prevents user programs from changing the registers contents. The sum of the addresses that a process is allocated is the ''logical address space''. See also: * [[Operating System Memory Allocation]]
The precedence for ''logical operators'' are: # (Quantifiers) $$\forall \exists$$ # (NOT) $$\neg$$ # (AND) $$\land$$ # (OR) $$\lor$$ #(IMPLIES) $$\to$$ # (IFF) $$\leftrightarrow$$
The part of a logical expression to which a quantifier is applied is called the ''Logical scope'' of the quantifier. In the statement $$\exists x(P(x) \land Q(x)) \land \forall x R(x)$$ the scope of $$\exists x$$ is the expression $$P(x) \land Q(x)$$ because it is only applied to that part of the statement and not the rest.
A wire is represented by a line A splitter combine's multiple wires into a bus, or divides a bus into multiple wires. A pin is either output or input in logisim. A GPIO or general input-output pin is a pin that can be configured to be either an input or output pin through software. A connection is indicated by a larger dot at the intersection of multiple wires. If that is not there, it is not connected. A register in logisim behaves like a D flip-flop, but has an input D that is a bus. So it can have multiple data inputs. The en pin, is an enable pin. The 0 at the bottom is a clear.
A ''long'' holds 64 bits (8 bytes)
''Low level programming languages'' consist of [[machine language|Machine Language]] and [[assembly language|Assembly Language]].
''Mac OSX'' is an operating system from Apple. It is based on [[Unix|Unix]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Mac OSX'>> </div>
A ''component package'' contains payload to be installed by the OS X installer. A component package can be built using the [[pkgbuild command|Mac OSX pkgbuild Command]]. Component packages have the extension `.pkg`. A component package can be installed on its own. A component package is typically incorporated into a product archive with the `productbuild` command. There aren't any notes on that at the moment.
The ''pkgbuild command'' can be used to create new installer [[component packages|Mac OSX Component Packages]] from on-disk files. The general structure of the `pkgbuild` command is as follows: ``` pkgbuild [options] --root <root-path> --identifier <identifier> [--component-plist <plist-path>] [--scripts <scripts-path>] [--install-location <install-path>] ``` * It seems that the `<root-path>` is normally pointing to a directory created by [[xcodebuild|Mac OSX xcodebuild Command]]. * `<identifier>` can be something like `us.or.k12.canby.ProjectName`. It is used for seeing if something is a new version or not. It is also required it seems. * `<scripts-path>` can be the path to a file that holds the different shell scripts for the component package. Each of the scripts should not have an extension though. If one of the scripts is named `preinstall` and/or `postinstall` those will be the top level scripts for the package. These two scripts do not need to be defined in the `--component-plist`. * `<install-path>` can be something simple like `/tmp` which will put the files in a folder called `/tmp`.
The ''xcodebuild command'' can be installed after XCode is installed on the Mac. Run the command `sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer` in the terminal to install it, then `xcodebuild` can be run.
In ''Machine language'' or ''machine code'' a program is a series of zeros and ones, or [[bytes|Byte]] stored in memory. Each type of CPU has its own specific machine language.
''Machine learning'' started out just as symbol manipulation like [[LISP|Lisp Programming Language]] and [[Prolog|Prolog Programming Language]]. It then moved on to [[statistical machine learning|Statistical Machine Learning]]. The ultimate goal is to get to [[Causal Machine Learning|Causal Machine Learning]].
''Macros'' can be defined in different ways for different languages. In scheme, a macro is added by adding a keyword `macro` in the head of a procedure definition. In C/C++ a macro is defined by a [[directive|C/C++ Directives]]. Macros are more efficient than procedure calls because the body part of the macro is copied into the statement where the macro is called. This produces longer machine code, but shorter execution time. If a procedure call is used instead of a macro, then the control flow needs to use the processor, registers need to change, etc. Using a procedure call instead of a macro/inlining is called ''outlining''. Macros very simply substitute the macro body for the macro name, for this reason it is good to be careful when using them to make sure the right code is put in. Macros do not evaluate, they simply copy and paste. A macro may cause a ''side-effect'' which is the unwanted or unexpected modification of a state. Different compilers (like using GNU GCC vs [[Visual Studio|Microsoft Visual Studio]]) will treat macros differently. There could be completely different results so its good to look into the details of how each handles macros before using them. See also: * [[C/C++ Inlining]]
''Bad blocks'' are blocks that have errors and should not be used for the rest of the life of the disk. One way to deal with this is the controller replaces each bad sector logically with a spare sector. This is called ''sector sparing'' or ''forwarding''. Then whenever the OS requests that block it will be forwarded to the spare block. Keep in mind this can really throw off [[disk algorithms|Operating System Disk Scheduling Algorithms]]! Another way to deal with this is ''sector slipping''. This is where a bad sector might be sector 17, and the next available spare sector is sector 207, then every sector between 17 and 207 are moved down one, so the spare sector is then right next to the bad sector.
Modern magnetic disk drives are addressed as large on-dimensional arrays of ''logical blocks'', where a logical block is the smallest unit of transfer. Typically logical blocks are 512 bytes. Sector 0 is the first sector of the first track on the outermost cylinder. The mapping proceeds through the rest of the sectors in that track, then to the rest of the tracks in that cylinder, then to the rest of the cylinders going from out to in. There are two types of reading on a magnetic disk, ''constant linear velocity'' or ''CLV'' which makes it so the density of bits per track is uniform. This means that the disk must speed up as the head gets toward the outer tracks. Another type is ''constant angular velocity'' or ''CAV'' which makes the disk speed constant but reduces the the density of bits towards the outer tracks.
''Magnetic disks'' provide the bulk of secondary storage for modern computer systems. Each disk has a ''platter'' which has a flat circular shape and ranges in diameter from 1.8 to 3.5 inches. The two surfaces of the platter are covered with a magnetic material. A read-write head "flies" above each surface of every platter. The heads are attached to a ''disk arm'' that moves all the heads as a unit. The surface of a platter is logically divided into circular ''tracks'', which are subdivided into ''sectors''. The set of tracks that are at one arm position makes up a ''cylinder''. Here is an [[image of how all this looks|$:/Image - Magnetic Disk Anatomy]]. When the disk is in use, a drive motor spins it at a high speed. Most drives spin in terms of RPM and common drive speeds are 5,400, 7,200, 10,000, and 15,000. Because the disk head flies on an extremely thin cushion of air measured in microns, there is danger that the head will make contact with the disk surface. Although the disk platters are coated with a thin protective layer, the head will sometimes damage the magnetic surface, which is called a ''head crash''. A head crash can normally not be repaired, and the entire disk must be replaced. The ''seek time'' is the time for the disk arm to move the heads to the cylinder containing the desired sector. The ''rotational latency'' is the additional time for the disk to rotate the desired sector to the disk head. The ''disk bandwidth'' is the total number of bytes transferred, divided by the total time between the first request for service and the completion of the last transfer. See also: * [[Magnetic Disk Logical Blocks]]
''Magnetic relays'' utilized a system where a control voltage was sent to move a switch closed with an electromagnetic force, then when the voltage was taken away, it was moved open again possibly by a spring. These were fairly slow though because they relied on moving parts still.
''Magnetic tape drives'' are kind of slow, like 1000 times slower than a [[magnetic disk|Magnetic Disks (HDDs)]]. Once they move to the correct location though, they can write data comparably to a magnetic disk. Typically tape capacities can exceed several terabytes, and are used for long term infrequently used information.
`[]` means optional `<>` means to replace with the indicated parameter there. __Normal Tiddlers:__ * Titles ** For anything with an ideological basis, use the simplest title that makes sense which starts with the largest category and reduces down to the topic. For example: `Relational Algebra Assignment Operation`. ** For something that actually //requires// a concrete platform for the idea to be relevant, use arrows to indicate that. For example in a situation where something is an NPM package, but has a very common name or term, such as `express`, then the title can be started with `NPM Packages > express >` then the actual topic within that domain. Keep these down to a minimum because renaming can be very problematic, although in cases like this if something needs to be renamed, then the actual underlying structure probably changed in real life, so it would make sense to go over the notes again. * Content ** Make the tiddlers concise with the goal of keeping information on the topic in one location. Every tiddler ideally should be able to stand on it's own as a unit of information. How a topic tiddler would run with this is probably up for debate. ** Table of contents seem to feel better at the bottom of a tiddler. ** No use of translcusion because it makes things repetitive. * Use the "Incomplete" snippet at the top of the text of a tiddler to indicate that it needs more time. Also tag that tiddler with [[$:/incomplete]] __Example Tiddlers:__ Title: `$:/Example [- <languageName>]- Title` __Source Tiddlers:__ Title: `$:/<sourceType> - Title[ - <chapterOrSection>]` __Process Tiddlers:__ Title: `Process - Title` __Image Tiddlers:__ Title: `$:/Image - Title` ! Searching If something should be specifically searchable. Such as a base term like ''programming'' that is used a lot, then put the term as an alias under double quotes. For terms that have spaces, include underscores. This way you can simulate exact term searching.
hide
A ''map'' manages associations between key and value objects. Every key in the map has an associated value, and each key must be unique. The map stores the keys, values, and the associations between them. Multiple keys can point to the same object. Keys and values can be any object.
''Markdown'' is a quick and easy way of formatting documents on the web. Here is a [[github cheatsheet for the different things that it can do|https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet]].
''Master Boot Record'' or ''MBR'' can support up to 4 primary partitions and is always 512 bytes total. It is capable of identifying if a partition is "active" in bit 7 of each partition block it sounds like. The MBR executable code starts at offset `0x0000` ([[hexadecimal|Hexadecimal]]), and is a total of 446 bytes. The MBR messages start at `0x008B`. * The disk signature is a unique number and identifies the disk to the operating system. This is at `0x01B8`. * The partition table starts at `0x01BE`, which is also where the first partition starts. * `0x01CE` second partition * `0x01DE` third partition * `0x01EE` fourth partition
<div class="tc-table-of-contents"> <<toc-selective-expandable 'MAT 243 - Discrete Math Structures'>> </div>
<div class="tc-table-of-contents"> <<toc-selective-expandable 'MAT 243 - Week 6'>> </div>
This is a topic tiddler for the field of ''Mathematics''. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Mathematics' sort[title]>> </div>
The ''Cartesian Product'' of sets A and B, denoted by $$A \times B$$ is the set of all [[ordered pairs|Ordered n-tuple]] between their elements. This means all elements in B paired with the first element in A, then all elements in B paired with the second element in A, etc. Thus, it also means that $$A \times B$$ and $$B \times A$$ are not equal, unless $$A = B$$. This also means that $$A \times B = \{ (a, b) | a \in A \land b \in B\}$$ This is true for any number of sets and their Cartesian products as well, where each ordered n-tuple is the number n of sets being multiplied together. The notation $$A^3$$ means the Cartesian product of the set A with itself 2 other times, so $$A \times A \times A$$. The cardinality of a Cartesian product is $$|A \times B| = |A| \cdot |B|$$. If you have a situation where $$(A \times B) \times C$$ then the ordered n-tuples would look like $$((1, 2), 4)$$
Let $$R$$ be a [[relation|Mathematics > Relation]] from set $$A$$ to set $$B$$ and $$S$$ a relation from $$B$$ to set $$C$$. The ''composite'' of $$R$$ and $$S$$ is the relation consisting of ordered pairs $$(a,c)$$ where $$a\in A, c\in C$$ and for which there exists an element $$b \in B$$ such that $$(a,b) \in R$$ and $$(b,c) \in S$$ which is denoted by $$S \circ R$$. For example if you have an element $$(2,3) \in R$$ and $$(3,1) \in S$$ then $$(2,1) \in S \circ R$$.
A theorem is true with a ''proof''. A proof is a valid argument that establishes the truth of a theorem. The statements used in a proof can include ''axioms'' (or ''postulates''), the premises of the theorem, if any, and theorems previously proven to be true. An axiom is an elementary mathematical truth that cannot be justified by the consequences of even more basic laws. In this book they assume the axioms for real numbers, and axioms for geometry found in appendix 1. Proofs typically end with a restatement of the original hypothesis. Some different types of proofs that don't have their own tiddler are below: * ''For All Proofs'' When you have a for all type proof, you can assume the first part of the proposition by saying "Suppose x is an arbitrary number" to start off a [[direct proof|Direct Proofs]]. * ''For all, there exists'' questions. These can be proven by first assuming the conclusion in scratch work, solving for the variable you can pick (the "there exists" variable) and saying that. Be careful to not assume anything you cannot assume when writing the actual proof though. You can use terms like "define" or "pick" to choose an equation within the bounds of the original proof, then lead off of that equation with things like "Then k is also an integer, and n+k =1 " if you were asked to prove that originally. Basically, you are pulling an equation out of a hat to prove that the proposition is true, the audience doesn't care how you got it, just that it exists. * ''Proof by induction'' means to prove the base case of a proposition, then the base case + 1, which implies each case + 1 after that is true as well by induction. This is normally done with natural numbers, where the base case is the first natural number (1 in most cases). An example of a proof is below: <<< Proposition: The product of any two odd numbers is odd. Suppose n and k are both arbitrary odd integers. By definition of an odd number, for some integer m and l, n = 2m + 1 and k = 2l + 1. So, nm = (2m + 1)(2l + 1) = 4ml + 2m + 2l + 1 = 2(2ml + m + l) + 1. This satisfies the form of an odd integer which is two times some integer plus one. Therefore, the product of any two odd numbers is odd. <<< Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Mathematics > Proofs'>> </div>
A [[subset|Subset (Mathematics)]] of a [[Cartesian Product|Mathematics > Cartesian Product]] is called a ''relation''.
The ''MD5 hashing algorithm'' is a 128 bit [[hashing algorithm|Hashing Functions]]. This algorithm CAN cause a [[hashing collision|Hashing Collisions]] in some cases, but it is faster than something like [[SHA|SHA Hashing Algorithm]]. Things that change the hash are as follows: * Changing the file's content Things that don't change the hash are as follows: * The file name or location * The file permissions
This is an assignment checking software.
A ''mechanical fault'' is where some outside force has caused the incorrect part of the program. A cartoon example is here: https://drive.google.com/file/d/1KP0ynJMc-Oti2095qICEDDZ2o51O5vSe/view?usp=sharing. These are very difficult to find normally because most issues are caused by implementation issues. A real world example would be the operation temperature of a system is outside of the equipment specification.
The ''mediator design pattern'' is a [[behavioral design pattern|Behavioral Design Patterns]] and is used to reduce coupling between classes that communicate with each other. Instead of classes communicating directly, requiring knowledge of their implementation, they communicate through a mediator. This is useful for an application that may have many classes that talk to each other. This is because each class need only know how to communicate with it's mediator. An image is below of generally how this design pattern looks: [img width=500 [http://www.blackwasp.co.uk/images/Mediator.png]] See also: * [[Gang of four page on the mediator design pattern|http://www.blackwasp.co.uk/Mediator.aspx]]
A ''memory cell'' is some part of a circuit that stores a bit. The most basic type of memory storage is feedback which is simply feeding a circuit back into itself.
A ''memory leak table'' can be used to keep track of memory leaks in a program. Here is an [[example of doing this for C|Example - C++ - Memory Leak Table]].
''Memory management'' is managed by the programming language environment and divided into two areas: The [[program runtime stack|Program Runtime Stack]], and the [[heap|Heap Memory (Programming Languages)]]. See also: * [[C/C++ Memory Management]]
''Memory mapped input/output'' means that every I/O device has a unique memory address. This allows a CPU to interact with devices the same way it does with RAM, like with the standard [[system memory model|System Memory Model (Embedded Systems)]]. An example of a memory mapped input/output model is below: [img width=700 [https://i.imgur.com/RO6wXuq.png]] The arrows pointing to the right of the memory bus give the first address that is mapped to that device.
The merge sort algorithm sorts an array by cutting the array in half until each sublist has one element, and then merging the sorted halves. The class `MergeSorter` is in the note with an example main method at the bottom. The merge sort algorithm is an O(n log(n)) algorithm. MergeSorter Class: ` public class MergeSorter { public static void sort(int[] a) { if (a.length <= 1) { return; } int[] first = new int[a.length / 2]; int[] second = new int[a.length - first.length]; // Copy the first half of a into first, the second half into second for {int i = 0; i < first.length; i++) { first[i] = a[i]; } for (int i = 0; i < second.length; i++) { second[i] = a[first.length + i]; } sort(first); sort(second); merge(first, second, a); } private static void merge(int[] first, int[] second, int[] a) { int iFirst = 0; // Next element to consider in the first array int iSecond = 0; // Next element to consider in the second array int j = 0; // Next open position in a // As long as neither iFirst nor iSecond past the end, move // the smaller element into a while (iFirst < first.length && iSecond < second.length) { if (first[iFirst] < second[iSecond]) { a[j] = first[iFirst]; iFirst++; } else { a[j] = second[iSecond]; iSecond++; } j++; } // Note that only one of the two loops below copies entries // after the previous code while (iFirst < first.length) { a[j] = first[iFirst]; iFirst++; j++; } while (iSecond < second.length) { a[j] = second[iSecond]; iSecond++; j++; } } } // New main method class import java.util.Arrays; public class MergeSortDemo { public static void main(String[] args) { // This function creates an array of 20 integers between 0 and 99 int[] a = ArrayUtil.randomIntArray(20, 100); System.out.println(Arrays.toString(a)); MergeSorter.sort(a); System.out.println(Arrays.toString(a)); } } `
A Mersenne prime is a prime of the form $$2^P - 1$$ where $$P$$ is a prime as well. The largest primes to have been found are of this type, because there is a vastly easier test than trial division to see if they are in fact primes. This is the Lucas-Lehmer test. Supercomputers normally perform this test to show their worth with known large primes. For example $$2^{74,207,281} - 1$$ is a number with almost 13 million decimal digits and is in fact prime.
''Metadata'' seems to carry a lot of different meanings, although as it corresponds to a [[database|Database]], it is the information stored in a [[database definition|DBMS Catalog]]. In other words, it is the actual information about what each [[data record|Database Data Records]] should contain. Databases that do not require meta-data are [[NoSQL database|NoSQL Databases]]s.
''Meteor'' seems like it is a full stack JavaScript framework.
A ''method'' is a function of a [[class|Class (Computer Science)]].
''Method 635'' is a written form of brainstorming often referred to as brain-writing. Ideas are written down on paper, and other members of the group take the initial ideas and expand upon them. The process asks 6 people to write down 3 solution ideas in 5 minutes. The solution ideas are handed to the participants neighbor, who then either further develops the original three solution ideas or provides three new ones. The handing over of the potential solutions to the next person continues until everyone has a chance to see the original three solutions and contribute to the document. Reasons for it's usefulness, and steps are in the note. Example steps for this process are here: https://drive.google.com/open?id=1nYAAO9JJNhtQQtPvfSml6pOiA2Vmt3ZM. <<_note """ Why use Method 635? - Idea generating, 108 ideas in less than an hour - Network building process - Improving team communication - Getting to know each other's competencies. Method 635 Steps: - Get 6 participants from different fields of knowledge - Get prepared forms -- An example form is here: https://drive.google.com/file/d/1zPnmS9Wlth3efjZL16Atrctw4aMXCzKS/view?usp=sharing - A room without any disturbances - Have roughly 30-40 minutes with further time for discussion """>>
A ''Microkernal'' is a type of architectural pattern that is common for product based applications. It consists of two types of architecture components, a core system and plug-in modules. Application logic is divided between independent plug-in modules and the basic core system.
The goal for a ''microkernel operating system architecture'' is to remove all non-essential components from the [[kernel|Kernel (Operating Systems)]] and implement them as system and user-level programs. There is little consensus on which services should stay in the kernel, although typically it minimally manages processes, memory, and communication. Here is an [[image of the general structure of a microkernel|$:/Image - Microkernel example]]. The main function of the microkernel is to provided communication between the client program and the various services that are also running in user space. The client program and service never interact directly. Microkernel's seem to be the best operating system architecture because they are easier to debug, fast, and robust according to [[SER334|SER 334]]. Some pros of this design type are: * Much smaller amount of code to maintain * Quick * Easier to port between one system and another because of the small amount of kernel code. * More security and reliability since most services are running as user processes rather than kernel processes. * If a service fails, the rest of the operating system remains untouched. Some cons are: * The amount of time it takes to plan out the system. The time to design the microkernel itself may be pretty small. * Performance can suffer because of the increased system call overhead between the kernel and all other services.
A ''microprocessor'' is a programmable processor which is designed to be general and carry out any computation. These execute user-specified sequences of instructions known as a program or software. For example an 8 pin microprocessor could be used (the 9th pins are power and ground) to carry out a light and motion sensor lamp action and connected like so: [img width=300 [https://i.imgur.com/OEoJbYG.png]] Then code can be used like C to program it. Pretty much all [[CPUs|Central Processing Unit (CPU)]] are microprocessors.
This is a supah large company!
''Visual Studio'' performs compilation in a two-step process. It first turns the high-level language into an ''intermediate language'' or ''IL'' or ''intermediate code''. IL is similar in appearance to assembly language. Programs in Microsoft IL are managed and executed by the ''common language runtime (CLR)''. Like Java, the purpose of the IL is to make the CLR independent of the high-level programming languages. [[Bytecode|ByteCode]] is an example of an IL. CLR has a richer type system than the [[JVM|Java Virtual Machine]], this allows it to support many different programming languages. Before the IL program can run, it needs to be translated into machine code, which is done by a [[JIT compiler|JIT (Just In Time) Compiler]]. Some advantages of IL are a single compiler for all machines, and a small interpreter that fits in a web browser. An image of the process from compiler to IL to JIT is below: [img width=700 [https://i.imgur.com/b1JZcPf.png]]
This needed a tiddler... Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Microsoft Windows'>> </div>
The ''mid-square hashing function'' multiplies the key by itself, then the [[extraction function|Extraction Hashing Function]] is used to extract the desired number of key digits.
The ''Middlesex Canal'' is a 27 mile canal that was built from 1793-1802. It took 9 years to build, and was only moderately successful. It did not return a profit to investors. [img width=700 [https://i.imgur.com/Ndo5zkt.jpg]]
''Middlewares'' are software packages that are installed onto a general [[operating system|Operating Systems]] to map to more specific purposes. For example an embedded system could be implemented by installing middleware to access the various sensors and actuators of that system. See also: * [[Express middleware|NPM Packages > express > Middleware Functions]]
The ''MIPS Architecture'' is commonly used for embedded applications. Broadcom uses these kinds of processors. MIPS is part of the [[RISC Architecture|Reduced Instruction Set Computer (RISC) Architecture]].
''Miranda'' is a pure [[functional programming language|Functional Programming]] developed by David Turner at the University of Kent in 1985-1986. Miranda achieves [[referential transparency|Referential Transparency]] by forbidding modification to global variables.
''MIT edX'' is a learning platform. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'MIT edX'>> </div>
''ML'' stands for ''Meta Language'' and it is based on [[Lambda Calculus|Lambda Calculus]]. It is a type of [[functional programming language|Functional Programming]]. ML is different than [[Lisp|Lisp Programming Language]] in that it is strongly typed, while Lisp does not require variables to be declared.
''mLab'' is a database-as-a-service company that is owned by [[MongoDB, Inc.|MongoDB, Inc.]]. It seems that they have a free 0.5GB option that can be used. Once this server is set up, an admin needs to be created. This can be done by going to the Users tab and clicking on add a user. Make sure "read-only" isn't checked and set an arbitrary username and password. Once the user is created, the URI at the top of the DB page can be used all bundled up with the username and password for a one stop URI to access the database and make changes!
''Model checking'' is a way of building software with [[formal specifications|Formal Specifications]]. A process flow for this is below: {{$:/Image - Model Checking Process Flow}} The models used by model-checking systems are extended [[finite-state models|Finite State Machine (FSM)]] of the software. When a system is described in the model checker, all of the possible paths are explored. This can clearly be very computationally expensive though, so large systems may be impractical. But that is how it goes with formal specification anyway.
''Model Driven Architecture (MDA)'' or ''Model driven development'' is a [[software process|Software Development Processes]] that makes the models the entry to the project and has models become the deliverables of the project. Transformations of the models are shown as an example here: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5LUN2bXVqbVJNcDA/view?usp=sharing. The different model types are in the note. <<_note """ __Computation Independent Model (CIM):__ These are sometimes called domain models and model the important abstractions used in the system. These are models such as a security CIM that helps provide a security abstraction, or a patient record CIM that focuses on abstractions like patents, consultations, etc. __Platform Independent Model (PIM):__ These model the operation of the system without reference to implementation. This is usually the UML models that show system structure and how it responds to internal and external events. __Platform specific models (PSM):__ These are transformations of the platform independent models with a separate PSM for each platform. There can be layers of PSM as well, where the first-level layer could be middle-ware specific and database independent. Then when a database has been chosen, a database specific PSM can be created. """>>
''Model View Presenter'' or ''MVP'' is an [[architectural pattern|Architectural Patterns (Software Engineering)]] that is very similar to [[MVC|Model-View-Controller (MVC) Architectural Pattern]]. It seems that the primary differences between MVP and MVC are below: * MVP - The presenter and view are normally one to one. * MVC - The controller can decide which view to display. This also opens up the possibility for the [[front controller pattern|Front Controller Architectural Pattern]]. See also: * [[Wikipedia page on MVP|https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93presenter]] * [[Site explaining the differences between MVC and MVP|https://www.infragistics.com/community/blogs/b/todd_snyder/posts/mvc-or-mvp-pattern-whats-the-difference]]
The ''model-view-controller architectural pattern'' is an [[architectural pattern|Architectural Patterns (Software Engineering)]] that is primarily used in [[GUIs|Graphical User Interfaces (GUI)]]. It separates three different aspects of the GUI: * Model: This is the data. This is generally constructed first. ** The model has two jobs. It must both store a state, and manage subscribers. Anything which can change must have a list of listeners which it contacts whenever the value changes. The property listeners allow us to have multiple views on the same data. ** A good way to test if the model is sufficiently separated is to see if you can write a different GUI for the same model. For example instead of just writing a web front-end for it, also write a command line front-end for it. * View: This is the visual representation. This is generally the second thing built ** Strictly speaking, a view cannot be "edited" and is read only. The controller should handle any edits that occur to the data. * Controller: This is the interface between the view and the model. This is kind of like the [[control class|UML Control Classes]] in a [[UML diagram|UML Class Diagrams]]. This is not the business logic. The business logic is in the model. This can be seen as the application logic though. The goal is to make all three components as separate as possible so changes in one will not impact the other. See also: * [[Link to the Model-view-controller WikiBooks page|https://en.wikibooks.org/wiki/Computer_Science_Design_Patterns/Model%E2%80%93view%E2%80%93controller]] * [[Link to the model-view-controller wikipedia page|https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller]]
''Model-View-ViewModel or MVVM'' is an [[architectural pattern|Architectural Patterns (Software Engineering)]] that represents a separation of the graphical user interface from the application development. It separates it into the following three parts: [img width=700 [https://upload.wikimedia.org/wikipedia/commons/8/87/MVVMPattern.png]] The viewModel handles all of the display logic, while the view is more of a presenter that could vary from client to client.
''Modular programming'' is an approach to [[procedural programming languages|Procedural Programming]] where programs are grouped into modules. A ''module'' usually consists of a specification, which is a list of functions that the module provides, and an implementation, which is the actual code that is written. In [[C|C Programming Language]], a module can be contained in a [[header file|C/C++ Header Files]]. Some benefits of modular programming are as follows: * When needing to compile, only the files that were changed need to be compiled again. Some goals for modules are below: * Keep related code together. * It isn't necessary to create a separate file for a [[struct|C/C++ Structure Types]], that can be grouped with something else. * Modules can be like 100 lines or code or so. If they get too big like 200 lines or longer, they should maybe be broken down further. See also: * [[Image - Typical modular programming C layout|$:/Image - Typical modular programming C layout]]
The ''modules operating system architecture'' is very similar to the [[microkernel operating system architecture|Microkernel Operating System Architecture]]. The plugins are modules, and the modules are dynamically loaded during start up or run-time to add functionality to the base kernel. The key difference is that modules can communicate with every other module without the kernel getting involved. This kind of implementation is common in Mac OSX, Windows, and Linux. Here is an [[example of a modules design|$:/Image - Modules architecture for operating systems]]. Pros: * Fast communication between components because the kernel does not need to be contacted first. Cons: * Unsafe because modules can contact each other directly * Takes a long time to design to make sure that plugins and modules can properly communicate with each other.
If you are interested in the remainder use the % operator called ''modulus'' (mod). When you divide, remember that the first number is the number that will have the remainder. 7 / 18 would be 0 with a remainder of 7. Integer Division and remainder table - https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5cTZTMnhHUVZQcDg/view?usp=sharing
The ''memento design pattern'' is used to capture the current state of an object and store it in such a manner that it can be restored at a later time without breaking the rules of encapsulation. This is commonly used to provide undo functionality.
''MongoDB'' is a [[NoSQL database|NoSQL Databases]] that stores data records or documents for use by an application. It uses [[JSON|JavaScript Object Notation (JSON)]] as its document storage structure. Here is an [[image of some analogies between SQL terms and MongoDB terms|$:/Image - analogies between SQL terms and MongoDB terms]]. MongoDB is document centric, and treats documents as objects. Each document is a binary JSON or BSON object. This means that you can have subdocuments, or embedded documents. Documents are organized into collections. Within a document are JSON-like properties. Also each document is assigned a [[GUID|Globally Unique Identifier (GUID)]] in the `_id` field. To kind of [[normalize|Relational Database Normalization]] MongoDB, common properties of documents are put into a subdocument or into separate documents linked by a reference. MongoDB supports atomic write operations. A lecture for [[SER 322|SER 322]] said that only one process can update one document or collection at a time. [[Mongoose|NPM Packages > mongoose]] is a good [[npm package|NPM Packages]] that can be used to interact with MongoDB. See also: * [[Mongoose npm package|NPM Packages > mongoose]] for possible notes that can be transferred over about MongoDB. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'MongoDB' sort[title]>> </div>
''Aggregation'' in [[MongoDB|MongoDB]] is a pipeline that consists of [[stages|MongoDB Aggregation Stages]]. Each stage transforms the documents as they pass through the pipeline. See also: * [[Mongoose Model.aggregate method|NPM Packages > mongoose > Model.aggregate Method]] * [[MongoDB documentation on aggregation|https://docs.mongodb.com/manual/aggregation/]]
[[Aggregation|MongoDB Aggregation]] occurs in ''stages'' where the stages are passed in as an array, for example 2 stages can be defined like so: ```js db.orders.aggregate([ { $match: { status: "A" } }, { $group: { _id: "$cust_id", total: { $sum: "$amount" } } } ]) ``` Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'MongoDB Aggregation Stages'>> </div>
''$graphLookup'' is an [[aggregation stage|MongoDB Aggregation Stages]] in [[MongoDB|MongoDB]] where a recursive search is performed on a collection. The documents provided to the graphLookup from the previous aggregation stage are what will be searched it seems like. The different key value pairs that can be used in a `$graphLookup` stage object are below: * `from` is a string representing the collection to search through. This can be something like `tasks`. Make absolutely sure the collection name is correct to save yourself hours of troubleshooting. * `connectFromField` is the field name whose value is used to recursively match against the `connectToField` of other documents in the collection. If the field is an array, each element is matched. For example, this could be an array of ObjectIDs that the document is related to. * `connectToField` is the field that the `connectFromField` will use to match while recursively searching. So if ObjectIDs are being matched then this field could be `_id`. * `startWith` is a value of a `connectFromField` to start with and is a [[MongoDB expression|MongoDB Expression]]. For example this could be the array of ObjectIDs to start with in the recursive search. Apparently it looks like this should be something like `$subtasks`. With the added `$` before the field name. * `as` is the name of the array field added to each output document which contains the documents traversed in the graph lookup. * `depthField` is an optional parameter and indicates the field in which to put the current depth of the document in the tree. This seems useful for rebuilding the tree. This outputs all of the documents in a single level array. So you need to combine the results into something useful as a tree if you want it that way it sounds like. Probably test this to see how it works. See also: * [[MongoDB documentation on $graphLookup|https://docs.mongodb.com/manual/reference/operator/aggregation/graphLookup/]]
An ''expression'' can be many different things in MongoDB it looks like. See also: * [[MongoDB Documentation on expressions|https://docs.mongodb.com/manual/meta/aggregation-quick-reference/#aggregation-expressions]]
The ''MongoDB Java driver'' contains various packages that can be used to connect and work with a MongoDB server. The different notable packages that are available are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'MongoDB Java Driver'>> </div>
''Projection'' can be used to [[project|Relational PROJECT Operation]] the results and is typically used in methods where a projection is optional or required. The general syntax is: `{field1: <value>, field2: <value> ... }` where * `<value>` can 1 or `true` to indicate that that field should be shown, or 0 or `false` otherwise. The order in which the fields are presented will not make a difference in what is displayed. The order in which the fields are entered in the document determines the order in which it is displayed. Here is more [[documentation on projection|https://docs.mongodb.com/manual/reference/method/db.collection.find/#find-projection]].
The ''MongoDB shell'' is part of the [[MongoDB|MongoDB]] installation. See the [[windows installation process|Process - Installing MongoDB on Windows]] for that. Some of the important commands available from command line or bash are below: * `mongo` opens up the MongoDB shell * `mongoimport` will take a file and import it into a database in MongoDB. For example: `mongoimport --db primer --collection main --file primer-dataset.json` From within the MongoDB shell, the following noteworthy commands can be used: * `show dbs` shows all databases * `use <db-name>` will use a particular database as the default. * `show collections` will show the collections for the current database * `db.<collection-name>.find(<optional-query>, <optional-projection>)` will find all the documents within the collection and the current database ** `<optional-query>` can be a key value pair to match. For example `{"borough" : "Brooklyn"}` would return all the documents that have a key value pair of `"borough" : "Brooklyn"`. These can also be comma delimited to indicate multiple key value pairs to match. To indicate an embedded key value pair, dot notation can be used. For example: `"address.building": "4220"`. Operators can also be used. Here is [[documentation for operators|https://docs.mongodb.com/manual/reference/operator/query/]]. ** `<optional-projection>` can be a [[MongoDB projection|MongoDB Projection]]. * `.count()` will return the number of things found. * `.pretty()` will pretty print the results For more commands and information, here is the [[documentation for db.collection|https://docs.mongodb.com/manual/reference/method/js-collection/]].
''MongoDB, Inc'' is the company that holds onto [[MongoDB|MongoDB]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'MongoDB, Inc.' sort[title]>> </div>
''Monitoring'' is delivering information about state which is used during [[debugging|Debugging]].
[[Spaghetti Programming]]
The doubling of [[IC|Integrated Circuits (ICs)]] density every 18 months is known collectively as ''Moore's Law''. Named after Gordon Moore, co founder of intel.
''Multi-function registers'' are just like registers and allow you to change their function with control inputs. They normally have operation tables that indicate what each setting does. An example of a 2 bit operation table is here: https://drive.google.com/file/d/1JotwQQUk2WFUH0uhiwGG2oSbYNKSDRDV/view?usp=sharing. For unused input make sure to have them set to something because a transistor without a signal can do unexpected things so its good to know what it will do. Unused outputs can be left as anything because they don't control anything else. For example an operation table that has one input for each operation is shown here that just uses precedence for unused input combinations: https://drive.google.com/file/d/18S6asB2HIqqWrRielCuSwm7Kf-PkxowV/view?usp=sharing. The design and block for a parallel load, shift left, and shift right multi-function register is shown here: https://drive.google.com/file/d/1K6aqZCoMgQoIvCwuNI8d-Nk3ngM3LUwV/view?usp=sharing.
Multi-ported register files consist of one write port, and two read ports. So on the same clock cycle, two registers can be read, and one can be written. This is very useful for microprocessors because typical instructions operate on two registers and store the result in a third.
Some different approaches to ''multi-processor CPU scheduling'' are below: * [[Asymmetric Multiprocessing|Operating System Processes > Asymmetric Multiprocessing (AMP)]] * [[Symmetric Multiprocessing (SMP)]]
''Multicore systems'' or ''multiprocessor systems'' have multiple cores or [[cpu chips|Central Processing Unit (CPU)]] for one system. These systems could be a part of a [[distributed computing system|Distributed Computing]].
''Multiple inheritance'' means that a class can have multiple parents. Python and C++ use multiple inheritance. Java is a single inheritance language. This is primarily a trade off between simplicity, and flexibility. Circular inheritance is not allowed in any language.
A ''multiplexer'' (mux for short) has $$M$$ data inputs and 1 output and only allows one input to pass through to the output. Multiplexers are sometimes called selectors as well for this reason. A 2x1 multiplexer has two data inputs `i1` and `i0`, one select input `s0`, and one data output `d`. An example of a multiplexer is here: https://drive.google.com/file/d/0B5Qq4fe-ZajTRGNHbE8zVzhQOVU/view?usp=sharing. The select input chooses which output is allowed through based on binary counting of the different channels. The number of select inputs needed for a $$M$$ input multiplexer is $$\log_{2}(M)$$. There are also $$N$$ bit wide $$M \times 1$$ multiplexers. This is really the same as $$N$$ separate $$M \times 1$$ multiplexers, with all those muxes sharing the same select inputs.
''Multiprogramming Operation Systems'' execute some commands in a process and then suspend that process to execute others. Processes essentially seem to have a priority so they are resumed when it is their turn. This is like having a single thread. See also: * [[Degree of multiprogramming|Operating System Process Schedulers]]
A ''mutable'' class or data type means that it's original values can be changed through the operations it provides. An ''immutable'' class or data type cannot have it's contents changed. It's a class without any mutators or shared references. This means that any class references used inside of the immutable class, have to be copied and used separately. Direct references to mutable classes could make the immutable class mutable. Immutable classes might be more secure, and changes to the values can be achieved by making a new copy of the class each time, but they generally run slower. A language that only uses immutable data is called LISP.
A ''mutation'' in functional programming is any change or alteration of things.
An ''MxN register file'' is a datapath memory component that provides access to a collection of M registers, where each register is N bits wide. Using a write data bus, write address bus, write enable, read data output bus, read address input bus, and read enable, you have a register file. An example is shown here: https://drive.google.com/file/d/1VyEggCcsAgX0LACPpF1dxRfErFI2WCXm/view?usp=sharing.
''MySQL'' is a SQL server program that is pretty easy to use. It seems that creating and hosting a MySQL server is done during the setup/installation process? More notes on this will be needed in the future. It seems that the standard port for a MySQL server is 3306. THE SERVER IS A WINDOWS SERVICE. See [[MySQL Workbench|MySQL Workbench]] for methods of manipulating a MySQL database. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'MySQL'>> </div>
''Comments'' can be made in MySQL by putting a `#` before a line to make single line comments, or to make multi-line comments, a `/*` closed by a `*/`.
It seems that identifiers can be set by simply putting their name such as `PERSON` for an example table, or they can be surrounded by back-ticks if they are a keyword, such as `LIKE`.
The ''MySQL shell'' is a command line way of accessing MySQL servers. It seems that initially when it starts up, it starts up in JS mode. For example: [img width=250 [https://i.imgur.com/tZI59nR.png]] This can be changed by using the command `\sql`. That will turn it to SQL mode.
''MySQL Workbench'' is a program for manipulating MySQL databases. New users can be created for a database, as can new tables and other database functions.
A statement of the form $$P(x_1, x_2, ... , x_n)$$ is the value of the propositional function P at the n-tuple $$(x_1, x_2, ... , x_n)$$ and P is also called an ''n-place predicate'' or an ''n-ary predicate''.
An ''N-bit arithmetic-logic unit (ALU)'' is a combinational datapath component able to perform a variety of arithmetic, and logic operations on two N-bit wide data inputs, generating an N-bit data output. This could be addition, subtraction, bitwise XOR, bitwise AND, etc. A basic example is shown here: https://drive.google.com/file/d/1S1DttlAjjKk47k5cLpFM-o30B3T-7ZHU/view?usp=sharing
an ''N-bit subtractor'' takes two N-bit data inputs A and B and outs an N-bit result S equaling A-B. The design and block form is shown here: https://drive.google.com/file/d/1vn1SWc7skR5nQ1qkLyKX3RwOBzfuxscS/view?usp=sharing. This does assume positive numbers though.
In ''name equivalence'' [[type checking|Type Checking (Programming Languages)]], two types are equivalent only if they have the same name. Ada, [[C++|C++ Programming Language]] and [[Java|Java]] are examples of languages that have name equivalence type checking policies.
A ''NAND gate'' is one that has the opposite output of an AND gate. This outputs a 0 only when all inputs are 1, and outputting 1 otherwise. This has the same effect of an AND gate followed by a NOT gate. A NAND gate is drawn like such: [img width=100 [https://i.imgur.com/2tahUjD.png]] A NAND gate is known as a universal gate because with just a NAND gate you can model any boolean function including AND, OR, XOR, NOT, etc.
$$~\mathbf{N} = \{ 0, 1, 2 , 3, ...\}~$$ The set of natural numbers. Some books or mathematicians do not use the natural number 0, but this book does. and you can indicate this by using $$~\mathbf{N}_0~$$
The ''navier-stokes equations'' describe the motion of viscous fluid substances. They result from application of [[Newton's Second Law of Motion|Newton's Second Law of Motion]] Further information is at [[this wikipedia article|https://en.wikipedia.org/wiki/Navier%E2%80%93Stokes_equations]].
''Negation or NOT'' definition: Let p be a proposition. The negations of p, denoted by $$\neg p$$, which is also denoted by $$\overline {p}$$, or $$p'$$ is the statement: "It is not the case that p." The proposition $$\neg p$$ is read "not p" The truth value of the negation of p, $$\neg p$$ is the opposite of the truth value of p. For mathematical inequalities the negation of a non-strict inequality (<) is the strict inequality (>=). Other symbols for negation are (!) as in programming, (~) the tilde, and the minus sign (-).
''neo4j'' is a [[graph database|Graph Databases]] product that allows properties on [[nodes|Graph Database Nodes]] and [[relationships|Graph Database Relationships]], and allows directional relationships. Here is an image of [[comparisons between terminology for relational databases and neo4j databaes|$:/Image - comparisons between terminology for relational databases and neo4j databaes]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'neo4j'>> </div>
''Cypher'' is a query language for [[neo4j databases|neo4j]]. An example query is `MATCH (n) RETURN (n)` this searches all nodes and returns all nodes. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'neo4j Cypher'>> </div> Here is the [[documentation for Cypher|https://neo4j.com/docs/cypher-manual/current/]].
A ''MATCH statement'' seems like it is used for all operations in Cypher. A `MATCH` statement has the following general structure: ``` MATCH (nodeVarName : optionalLabelName) <optional_where> RETURN <optional_distinct> <node_var_names> <optional_limit> ``` * `<optional_where>` can be pretty much the same as a [[where in SQL|SQL Select-From-Where Blocks]] it seems. * `<optional_distinct>` can be `DISTINCT` so that only single instances of nodes or values that would have otherwise been returned twice, are returned. * `<node_var_names>` is a comma delimited list of the `nodeVarName`s that should be returned. * `<optional_limit>` can be the keyword `LIMIT` followed by a value of how many results to return. This will search for the [[nodes|neo4j Cypher Nodes]] that match a condition following the keyword.
''Nodes'' are written in [[Cypher|neo4j Cypher]] by putting them surrounded by parenthesis. For example: `(nodeName: optionalTypeName)`. A node can have multiple labels if they are set that way. For example: ``` MATCH (p: Person) WHERE p.name='Diego del Blanco' SET p:Developer; ```
''Relationships'' can be indicated in three ways: * `(node)--(node)` which means either direction * `(node)<--(node)` * `(node)-->(node)` They can also be written out for example `[relationshipVarName : relationshipLabel]`. Then it can be specified: `(node)<-[relationship:relationshipLabel]-(node)`
When processing tables, ''nested loops'' naturally occur. An outer loop iterates over all rows of the table, an inner loop deals with the columns in the current row.
''Netlify'' is a great product for pushing code from Github to a website that they host for you. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Netlify' sort[title]>> </div>
A ''Lambda function file'' is a file that will be turned into a lambda function by Netlify. Each function file should contain a property on [[exports|Node.js module.exports]] which is `exports.handler`. That property should be assigned to a function with three arguments: `event`, `context`, and `callback`. For example: ```javascript exports.handler = (event, context, callback) => { // code to run } ``` The `event` and `context` arguments are provided by Netlify when the function is ran. Here is an [[example of what the event object might look like|Example - Lambda Functions - Event object example]]. The `calback` function should be an error first callback, where the first argument is an error if there is one, and null otherwise, while the second argument will be a response object if there isn't an error. A simple example is below: ```javascript exports.handler = function(event, context, callback) { callback(null, { statusCode: 200, body: "Hello, World" }); } ``` The response object needs to have a `statusCode` key and a `body` key it seems like.
''Lambda functions'' in Netlify are a platform for serverless function calls. It seems like [[Mongoose|NPM Packages > mongoose]] code could potentially be run through lambda functions. Functions can be added by making a `functions` sub-directory somewhere in `src` directory of the project, then setting that location in the [[netlify.toml file|Netlify netlify.toml File]]. Inside the directory, there can be [[lambda function files|Netlify Lambda Function Files]]. Each file can be referenced by following the URL of the site, followed by `/.netlify/functions/function_name` Each Netlify site gets 125,000 runction requests per month and 100 hours of run time per month for free.
The ''netlify.toml file'' can specify netlify settings before being deployed, and should be placed in the root directory of the project. It has a TOML format which there aren't any notes on at the moment. The `.toml` file seems to be in a JSON-ish format, where a key is something like `[build]` followed by indented keys and values. An example `netlify.toml` file is below: ``` [build] command = "yarn build" functions = "lambda" ``` Some key information is below: * `functions` can be set to a string where the string indicates the location where the [[lambda functions|Netlify Lambda Functions]] will be built, not where the lambda function source files are. For example a new folder called `lambda` could be put in the source folder, and it will build the functions to that folder.
Because of the increasing scarcity and demand for raw IP addresses, most networks today us ''Network Address Translation'' or ''NAT''. In NAT networks most nodes only have local, non-routable addresses. This simply means that the outside IP address and the internal IP address are different. You already knew this.
''Network attached storage'' or ''NAS'' is a special purpose storage system that is accessed remotely over a data network. Clients access NAS devices via an [[RPC|Remote Procedure Calls (RPCs)]] interface such as NFS. ''iSCSI'' is the latest network-attached storage protocol. This uses an IP network protocol to carry SCSI protocol. This makes it so devices can act as if the network attached storage is [[host-attached|Host-Attached Storage]].
Maximum achievable ''network bandwidth'' equals buffer size divided by network latency. You can increase speed by decreasing latency, but there are clearly defined limits on maximum latency. The thing you can control is buffer size. Although if you increase the buffer size too high then the program may try to send and receive data faster than the network can handle, leading to congestion, dropped packets, and slower performance. So for maximum bandwidth you need to match the buffer size to the latency of the connection so it's a little less than the bandwidth of the network. The rule of thumb though is that you only adjust once you have identified a problem though! 😁
''Datagram headers'' contain the address and port to which the packet is going, the address and port from which the packet came, and a checksum to detect data corruption. It may contain other items as well.
''Datagram Payloads'' contain the data to be transmitted.
''Datagrams'' are a type of [[network packet|Network Packets]]. They contain a [[header|Network Datagram Headers]] and [[payload|Network Datagram Payloads]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Network Datagrams'>> </div>
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Network Packets'>> </div> See also: * [[User Datagram Protocol (UDP)]] * [[Java java.net.DatagramPacket Class]]
A ''network'' is a collection of computers and other devices that can send data to and receive data from one another, more or less in real time. Each machine on a network is called a ''node''. Nodes that are fully functioning computers are called ''hosts''. Every network node has a sequence of bytes that uniquely identifies it called an ''address''. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Networks (Computer Science)'>> </div> See also: * [[Source - Networking Rules of Thumb from Apple]]
A ''client/server model'' is one where (in most cases) a server will send data and a client receives it. A more reliable way of thinking about it is that a client initiates a conversation, and a server waits for clients to start conversations with it.
A ''connection'' in terms of [[networks|Networks (Computer Science)]] is a linkage via a [[socket|Sockets]] between a client and server. The connection may last for several communications in both directions. There are typically ''connection-oriented'' application protocols, and ''connectionless'' protocols. * connection-oriented means that the server and client hold onto an open connection the entire session. * connectionless means that a connection is established for every action. Some typical protocols that do this are HTTP, and RSH. A connection can also be ''stateful connection'' or ''stateless connection''. This follows in line with the normal definitions of [[stateful|Stateful (Computer Science)]] and [[stateless|Stateless (Computer Science)]].
Modern computers do many things at once, so this means they need multiple ''ports'' to handle the different kinds of traffic. Each computer with an [[IP address|Internet Protocol (IP)]] has 65,535 (16 bit integer) ports per [[transport layer protocol|TCP/IP Network Layers > Transport Layer]]. Ports between 1 and 1023 are reserved for well-known services. On [[unix systems|Unix]], only programs running as root can listen on these ports. On Windows, any program may use these ports. Some examples of services on these ports are: |''Protocol''|''Port''| |echo|7| |discard|9| |daytime|13| |FTP|21| |SSH|22| |Telnet|23| |smtp|25| |time|37| |whois|43| |finger|79| |HTTP|80| |POP3|110| |NNTP|119| |IMAP|143| |dict|2628| On Unix systems, a fairly complete listing of assigned ports is stored in the file `/etc/services`.
''Newton's second law of motion'' says that the rate of change of momentum of a body: @@font-size: 1.5em; $$\frac{dp}{dt}$$@@, is directly proportional to the force applied, and that this change in momentum, goes in the direction of the force. This results in the following equation: @@font-size: 1.1em; $$F = \frac{dp}{dt}$$@@.
''Next.js'' is a [[React|React]] framework that allows server-side rendering. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Next.js'>> </div>
The ''_document page'' can be used to configure some markup globally it seems. See also: * [[Next.js documentation on the _document page|https://nextjs.org/docs/advanced-features/custom-document]]
The ''Head component'' allows elements to be injected into the [[head element|HTML Head Element]] of your webpage. It looks like this needs to be done in the [[_document page|Next.js _document Page]] of your project. See also: * [[Next.js documentation on the Head component|https://nextjs.org/docs/api-reference/next/head]]
''CSS'' in [[Next.js|Next.js]] is normally handled with CSS-in-JS (isn't a note on that yet). To import an external stylesheet, you need to use the `_app.js` file in the pages directory. See [[here for more details on how to do that|https://nextjs.org/docs/basic-features/built-in-css-support]].
''Static files'' in Next.js can be used by creating a `/public` folder and putting your static files in there. Note that files in that folder can be referenced from `/` in your code.
''Node Package Manager'' or ''NPM'' is a very large package management platform and command line tool for [[JavaScript|JavaScript]]. To do a fresh npm project, `cd` into the desired folder and run `npm init`. The `npm root` command will indicate the local node installation directory. `npm root -g` will indicate the global installation directory. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Node Package Manager (NPM)' sort[title]>> </div>
''Node.js'' is a [[JavaScript|JavaScript]] tool that allows developers to write server-side programs in JavaScript. It uses an [[asynchronous|Asynchronous]] process model just like normal JavaScript. It also provides a straightforward path to containerization and microservices. Some history behind Node.js is that at the time it came out, people were dealing with the massive tech stacks of [[Java EE|Jakarta Enterprise Edition (EE)]] or they were running back to server side scripting like Python, Ruby on Rails, or Django. They needed something in the middle. Some pros to the asynchronous model are below: * No [[synchronized blocks|Java Synchronized Blocks]] like you needed to do with [[Java servlets|Java Servlets]] * [[Event loop|Node.js Event Loop]] is efficient * No [[context switching|Operating System Process Context Switching]] Some cons are: * Awkward coding model at first for people used to OO programming * Threads are a natural extension of [[HTTP|HyperText Transfer Protocol (HTTP)]] statelessness. [[Express|NPM Packages > express]] is a great [[module|Node.js Modules]] to use with Node.js. It isn't exactly clear yet how to update Node directly. Although, it seems that [[updating NPM|Process - NPM Update]] should update node as well. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Node.js' sort[title]>> </div> See also: * [[Even better guide on setting up TypeScript with Node.js and Express|https://developer.okta.com/blog/2018/11/15/node-express-typescript]]
The ''.env file'' is a hidden file that is used to pass environment variables to your application. The file is hidden because it does not have a name, rather it simply has the extension `.env`. The `.env` file is a good place to keep secret variables like API keys, or a database URI. It could also be a good spot for configuration options. The `.env` file is written in [[bash|Bash]]. By convention, variable names are in all uppercase and separated by underscores. For example: `VAR_NAME=testing`. See also: [[Node.js > process.env Object]]
The ''process.env object'' is a [[Node.js global variable|Node.js Global Variables]], and is used to access variables set in the [[.env file|Node.js .env File]]. A variable set in .env can be accessed in any JavaScript file in the node project by using its name. For example `process.env.VAR_NAME`. The variable stored in the variable will be passed as a string.
The ''Buffer class'' is a way for [[Node.js|Node.js]] to introduce some kind of buffer for binary streams of data. It isn't a module, rather it is a class. See also: * [[Node.js Buffer class documentation|https://nodejs.org/api/buffer.html]]
An ''error first callback'' is a standardized [[callback|JavaScript Callback Functions]] structure that is commonly used in Node.js. The first argument of the function is reserved for an error object. The second argument is reserved for successful response data. For example: ```javascript someFunctionNeedingCallback((err, data) => { if (err) { console.log(err); } else { console.log(data); } }) ``` If an error occurs, then the `err` object will be populated with data. If an error does not occur, then `err` will be null, and any successful data will be returned in `data`.
[[Node.js|Node.js]] works by processing all incoming requests on a single thread. This is called the ''event loop''. Here is an [[example event loop image|$:/Image - Node.js Event Loop]]. Any actual work of length is passed on to a [[non-blocking|Communications System Calls > Message Passing Model > Nonblocking]] worker thread. The developer is in charge of making sure the main thread does not get blocked, much like [[Android development|Android App Development]]. Keep in mind that Node.js can scale out though. It even has a built in `cluster` [[module|Node.js Modules]] that can be used to facilitate that. Below is an image of the general order of operations of the event loop: [img width=400 [https://i.imgur.com/Dbp9pPl.png]] Each phase has a FIFO queue of callbacks to execute. During each phase it will perform any operations specific to that phase, then execute callbacks in that queue until the queue has been exhausted or the maximum number of callbacks has been executed. Then the event loop will continue onto the next phase. An overview of the phases are below: * [[timers phase|Node.js Event Loop > Timers Phase]] * pending callbacks: executes I/O callbacks deferred to the next loop iteration. This executes callbacks for some system operations such as types of [[TCP|Transmission Control Protocol (TCP)]] errors. * idle, prepare: only used internally * [[poll phase|Node.js Event Loop > Poll Phase]] * [[check phase|Node.js Event Loop > Check Phase]] * close callbacks: some close callbacks such as `socket.on('close', ...)`. Also not sure what that is. See also: * [[Node.js documentation on the event loop|https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/]]
The ''check phase'' is a phase in the [[Node.js event loop|Node.js Event Loop]] that allows a person to execute callbacks immediately after the [[poll phase|Node.js Event Loop > Poll Phase]] has completed. These are typically queued with the `setImmediate()` function.
The ''poll phase'' is a phase in the [[Node.js event loop|Node.js Event Loop]] that has two main functions: # Calculate how long it should block and poll for I/O, then # Process events in the poll queue When the event loop enters the poll phase and there are no timers scheduled, one of two things will happen: * If the poll queue is not empty, the event loop will iterate through its queue of callbacks executing them [[synchronously|Synchronous]] until either the queue has been exhausted or the system-dependent hard-limit has been reached. * If the poll queue is empty, one of two more things will happen: ** If scripts have been scheduled by `setImmediate()` the event loop will end the poll phase and continue to the [[check phase|Node.js Event Loop > Check Phase]] to execute those schedule scripts. ** If scripts have not been scheduled by `setImmediate()`, the event loop will wait for callbacks to be added to the queue, then execute them immediately. Once the poll queue is empty, the event loop will check for timers whose time thresholds have been reached. If one or more timers are ready, the event loop will wrap back to the [[timers phase|Node.js Event Loop > Timers Phase]] to execute those timers' callbacks.
The ''timers phase'' is a phase in the [[Node.js event loop|Node.js Event Loop]] that executes callbacks scheduled by `setTimeout()` and `setInterval()`. A timer specifies the threshold after which a provided callback may be executed, rather than the exact time a person wants it to be executed. So, timers callbacks will run as early as they can be scheduled after the specified amount of time has passed.
The ''events module'' is a [[Node.js module|Node.js Modules]] that can be used to create new event emitters among other things. When `events` is [[required|Node.js require Module]], the associated object it creates can be used to build new `EventEmitter`s. Some notable methods of a new `EventEmitter` object are below: * `addListener(eventName, callback)` or `on(eventName, callback)` are the same function. ** `eventName` is just a string that represents the name of the event ** `callback` is a callback function that should be ran when that event occurs. * `emit(<comma-delimited-event-names>)` See also: * [[Node.js documentation on the events module|https://nodejs.org/api/events.html#events_events]]
The ''fs module'' or ''file system module'' is a [[Node.js module|Node.js Modules]] that can be used for file system manipulation and access. Once `fs` has been [[required|Node.js require Module]], the associated object has some of the following notable functions: * `read` * [[readSync|Node.js fs.readSync Method]] * [[writeSync|Node.js fs.writeSync Method]] * `open` * `close` * `closeSync(fd)` - This can be used to close a file for good after all operations are complete. It doesn't seem clear when to use this though. Maybe after every operation is done. * `write` * `createReadStream()` * `createWriteStream()` See also: * [[Node.js documentation on the file system module|https://nodejs.org/api/fs.html]]
The ''fs.openSync method'' is part of the [[fs module|Node.js fs Module]] and can be used to open files for [[synchronous|Synchronous]] use it seems. It has the following structure: ```javascript fs.openSync(path[, flags, mode]) ``` * `path` is a simple string that represents the relative path of the file to open * `flags` defaults to `r` and can be any of the [[following flags|https://nodejs.org/api/fs.html#fs_file_system_flags]]. * `mode` seems odd. Doesn't look like it needs to be messed with for now. * Returns an integer representing the file descriptor. This can be used in other Node.js fs module functions it looks like.
The ''fs.readFile method'' is part of the [[fs module|Node.js fs Module]] and can be used to read files into memory it looks like. It has the following general structure: ```javascript fs.readFile(path[, options], callback) ``` * `path` is a simple string that represents the relative path of the file to open * `options` can be a string or object. If it is a string it can be the encoding. For example `"utf8"`. * `callback` is an error first callback where the second argument is the data returned. See also: * [[Node.js fs.readFile method documentation|https://nodejs.org/api/fs.html#fs_fs_readfile_path_options_callback]] * [[Node.js fsPromises.readFile method documentation|https://nodejs.org/api/fs.html#fs_fspromises_readfile_path_options]]
The ''fs.readSync method'' is part of the [[fs module|Node.js fs Module]] and has the following structure: ```javascript fs.readSync(fd, buffer, offset, length, position) ``` * `fd` is the file to be read from and is technically an integer, but is an integer returned from [[fs.openSync|Node.js fs.openSync Method]]. * `buffer` is the buffer to start writing to. This needs to be an instance of the [[Buffer class|Node.js Buffer Class]]. * `offset` is the offset in the `buffer` to start writing at * `length` is an integer specifying the number of bytes to read * `position` is where to start reading in the file. If `position` is null, then it will read from the current file position. * Returns the number of bytes read. See also: * [[Node.js documentation on the readSync method|https://nodejs.org/api/fs.html#fs_fs_readsync_fd_buffer_offset_length_position]] * [[Example of using readSync|https://github.com/kgary/ser421public/blob/master/NodeIntro/file_read_sync.js]]
The ''fs.writeSync method'' is part of the [[fs module|Node.js fs Module]] and has the following structural options: ```javascript fs.writeSync(fd, buffer[, offset[, length[, position]]]); fs.writeSync(fd, string[, position[, encoding]]); ``` * `fd` is the file to be written to and is technically an integer, but is an integer returned from [[fs.openSync|Node.js fs.openSync Method]]. * `buffer` is the buffer to start writing to. This needs to be an instance of the [[Buffer class|Node.js Buffer Class]]. * `offset` is the offset in the `buffer` to start writing at * `length` is an integer specifying the number of bytes to write * `position` is where to start reading in the file. If `position` is null, then it will read from the current file position. * `string` is the string to write to the file * `encoding` is the encoding to use. This is `utf8` by default. * Both functions return the number of bytes written. See also: * [[Node.js documentation on the writeSync method|https://nodejs.org/api/fs.html#fs_fs_writesync_fd_buffer_offset_length_position]]
Some ''global variables'' for Node.js are below: * `__dirname` gets the absolute directory name of the current projects path. Other global variables with their own tiddler are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Node.js Global Variables' sort[title]>> </div>
The ''http module'' is a [[Node.js module|Node.js Modules]] that can be used to setup a quick [[HTTP|HyperText Transfer Protocol (HTTP)]] server. It can be required with `let http = require('http')`. Some notable methods on the returned object are below: * `createServer([options][, requestListener])` ** `requestListener` is a [[callback function|JavaScript Callback Functions]] that will be provided with two arguments which are detailed below. Also, this method is automatically added as a listener to the `request` event. *** `request` which is an object of the type [[http.IncomingMessage|Node.js http.IncomingMessage Class]] *** `response` which is an object of the type [[http.ServerResponse|Node.js http.ServerReponse Class]]. ** Returns an instance of [[http.Server|Node.js http.Server Class]] See also: * [[Node.js documentation on the HTTP module|https://nodejs.org/api/http.html]]
The ''setHeader method'' can be called on an instance of the [[ServerResponse class|Node.js http.ServerReponse Class]] and allows a [[header|HTTP Response Headers]] to be set like so: ```javascript response.setHeader('Content-Type', 'text/html'); ``` or multiple values can be set with an array like so: ```javascript response.setHeader('Set-Cookie', ['type=ninja', 'language=javascript']); ``` See also: * [[Node.js documentation on the setHeader method|https://nodejs.org/api/http.html#http_response_setheader_name_value]]
The ''http.IncomingMessage class'' is part of the [[Node.js http module|Node.js http Module]] and extends the Node.js Stream class. An object of this class is typically created internally by an HTTP server created with the [[http.createServer method|Node.js http.Server Class]]. Some notable methods and properties of an instance of the `http.IncomingMessage` class, aka the ''Node.js request object'' are below: * `method` is a string that holds the [[HTTP method|HTTP Request Methods]] that was used for the request. * `on(eventName, chunkCallback)` ** `eventName` can be a string indicating the event to listen to ** `chunkCallback` can be a callback that accepts one argument which is any data type. Typically this is called `chunk` from the documentation. * `url` is a string that contains the raw URL it seems. This can be parsed with the [[url module|Node.js url Module]]. See also: * [[Node.js documentation on the IncomingMessage class|https://nodejs.org/api/http.html#http_class_http_incomingmessage]]
The ''http.Server class'' is part of the Node.js http module and is typically returned from the [[createServer method|Node.js http Module]]. Some notable methods of an object of the class are below: * [[listen method|Node.js net.Server Class]] - This is the exact same as the net.Server.listen method which is linked here
The ''http.ServerResponse class'' is part of the [[http module|Node.js http Module]] and extends the Node.js Stream class. An object of this class is typically created internally by an HTTP server created with the `http.createServer` method. Some notable methods of an object of the `http.ServerResponse` class, aka ''Node.js response object'' are below: * `end([data[, encoding]] [, callback])` - Signals to the server that all of the response headers and body have been sent. The server should consider the message complete. This method MUST be called on each response. Here is [[Node.js documentation on this method|https://nodejs.org/api/http.html#http_response_end_data_encoding_callback]]. * [[setHeader|Node.js http Module > serverResponse.setHeader Method]] * `writeHead(statusCode)` will write the given [[status code|HTTP Status Codes]] to the header.
The ''https module'' allows the use of HTTPS in [[Node.js|Node.js]].
The `module` module is available in the global scope of node.js. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Node.js module Module' sort[title]>> </div>
''module.exports'' is a property that can be set so that when a module is [[required|Node.js require Module]], it will return whatever exports is set to. It can be assigned any value. Here is an [[example of using module.exports as a constructor definition|Example - Node.js - Using module.exports as a constructor definition]]. Properties can be set on just `exports` as well. This can be used to attach multiple functions and values to whatever is imported when `require` is used. `exports` is a special variable that is available in the global scope in Node.js so it doesn't seem that it should be written as `module.exports` unless changing that entire property.
''Modules'' in [[Node.js|Node.js]] mean a [[JavaScript|JavaScript]] file that has been imported with [[require|Node.js require Module]]. The word "module" can refer to something that can be required, or something that has been required. Node.js supports both ''Common JS modules'' and [[ES modules|ES Modules]], but it supports Common JS modules by default which is what I write in my notes here. That may be separated later on. See this [[ES modules article|https://hacks.mozilla.org/2018/03/es-modules-a-cartoon-deep-dive/]] for details on the differences. Node.js comes with a handful of built-in modules. Some of which are below: * [[Node.js http Module]] * [[Node.js events Module]] * [[Node.js fs Module]] * `Path` a module for working with directory and file paths * `Assertion Testing` a module that checks code against prescribed constraints * [[Node.js require Module]] * [[Node.js module Module]]
The ''net module'' seems to be a general module for network activity. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Node.js net Module'>> </div>
The ''listen method'' can be used on an instance of the [[net.Server class|Node.js net.Server Class]], and an instance of the [[http.Server class|Node.js http.Server Class]]. See below for it's different usages: * `listen([port[, host[, backlog]]][, callback])` for TCP servers * `listen(handle[, backlog][, callback])` * `listen(options[, callback])` * `listen(path[, backlog][, callback])` for IPC servers (not sure what IPC means in this context yet) The following variables are defined below: * `backlog` is the maximum length of the queue of pending connections. The default value of this is 511, (not 512). * `callback`. When a server starts listening, the `listening` event will be emitted. The callback here will be added as a listener to the `listening` event. See also: * [[Node.js documentation on the listen method|https://nodejs.org/api/net.html#net_server_listen]]
The ''net.Server class'' is part of the Node.js net module. See below for some notable methods of a `net.Server` object: * [[listen method|Node.js net Module > server.listen Method]]
''process'' is a Node.js global variable and has a few different sub objects that can be used on it. Those are outlined below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Node.js process Global Variable'>> </div> See also: * [[Link to full documentation from Node.js on the process object|https://nodejs.org/api/process.html]]
The ''process.nextTick function'' can be very useful in [[Node.js|Node.js]] to schedule something to run once the rest of the user's script has executed. This actually executes before any other code in the [[event loop|Node.js Event Loop]] is ran, or next steps in the event loop has run. For example if something is declared later in the code than when a function should be run, then that function can be passed in as a callback to the `process.nextTick()` function and it will run after everything is processed once through. This is also helpful to let something complete first before using it. Almost in a [[synchronous|Synchronous]] way. This makes it sound like a callback should be used instead though. __Node.js recommends__ to use [[setImmediate|Node.js setImmediate Function]] in all cases though, because it is easier to reason about. See also: * [[Node.js documentation on process.nextTick|https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#process-nexttick]]
The ''Node.js REPL'' or ''read-eval-print-loop'' or ''Node command line'' runtime can be started by just typing `node` in the command line or terminal if it is installed on the target computer.
The ''require module'' can be used to import a [[module|Node.js Modules]]. It is available in the global scope. The general syntax follows `const packageVar = require('pathOrPackageName');`. Something can be required if it is one of the following things: * A file with a [[package.json|NPM package.json File]] containing a `main` key with a JavaScript file path as a value. This means that the module is also an [[NPM package|NPM Packages]]. * A folder with an `index.js` file in it. * A JavaScript file. Here is an [[example of using require for the express package|Example - Node.js - Using require for the express package]]. When something is "required", it returns the [[module.exports|Node.js module.exports]] of that JavaScript file.
The ''setImmediate function'' can be used to execute a script once the current [[poll phase|Node.js Event Loop > Poll Phase]] completes. `setImmidate()` has the benefit over setTimeout in that it will always be executed before any timers if scheduled within an I/O cycle. That means the event loop must have some kind of data to process.
The ''url module'' is a [[Node.js module|Node.js Modules]] that can be used to easily parse a [[URL|Uniform Resource Identifier (URI)]] that comes in. Once this module is required with `const url = require('url');` the returned object can have the following notable methods used on it: * `parse(requestUrl, something, something)` which returns a url object of some kind. See also: * [[Node.js documentation on the URL module|https://nodejs.org/api/url.html]]
Non-linear collections are where the elements are organized in anything other than a straight line, like a hierarchy or network. They may not have any organization at all.
''Non-uniform memory access'' or ''NUMA'' is where a CPU has faster access to some parts of memory than others. An example image is below: [img width=500 [https://i.imgur.com/wDIoyb2.png]] This could be present in a system with multiple boards and CPUs combined (like a super computer or combined server system of some kind), where the memory on the same board of the CPU will be faster than the memory that it wants to access elsewhere.
A ''NOR gate'' is the opposite of an OR gate, outputting a 0 if at least one input is 1 and outputting 1 if all inputs are 0. This has the same effect of an OR gate followed by a NOT gate. It is drawn like such: https://drive.google.com/file/d/0B5Qq4fe-ZajTVUpsUmI3UFdIQTg/view?usp=sharing. A NOR gate is known as a universal gate as well as a NAND gate.
''NoSQL databases'' stands for "Not only SQL" or sometimes mentioned just as adamantly even by instructors at [[ASU|Arizona State University]] is No SQL as in they do not use SQL. These kinds of databases are in use at large companies like Google, Amazon, and Yahoo. NOSQL databases do not use [[metadata|Metadata]], rather they use [[self-describing data|Self-Describing Data]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NoSQL Databases'>> </div>
A ''NOT gate'' or an ''inverter'' has an input x and an output F. F should always be the opposite of x. You can build the gate using one nMOS and one pMOS transistor in a pattern shown here: https://drive.google.com/file/d/0B5Qq4fe-ZajTWS1iaWxwcnJlVUk/view?usp=sharing. An example of the logic gate design is here: https://drive.google.com/file/d/0B5Qq4fe-ZajTYlgwbWZoTUZrUTQ/view?usp=sharing When x is 0V, then the pMOS transistor conducts, making F become 1V. When x is 1V the nMOS transistor will conduct but the pMOS will not, so no voltage is passed to F. Combining CMOS transistors in this way makes sure the current never flows from power source to ground in theory so it saves a lot in energy consumption, which is why CMOS circuits are so popular today. This seems to be done by generally enclosing the output between transistors. The AND and OR gates follow similar structures.
<<_note """ Text goes here! :) """>>
The [[npm scoped org|NPM Scoped Packages]], `@material-ui` represents the different packages associated with that title. ''Material-UI'' is used for [[React|React]] and gives a lot of different [[components|React Components]] and methodologies to use the google material theme. [[Here is a link to their main website|https://material-ui.com/]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Orgs > Material-UI' sort[title]>> </div>
''Component attributes'' seem to have some consistencies. Some that seem to be able to be used on most components are below: * `color` can be set to quite a few different things. ** `primary` ** `secondary` ** `inherit`
The ''AppBar component'' seems to be a container for a [[ToolBar|NPM Orgs > Material-UI > Components > ToolBar]]. Set `position = "relative"` in a style of some kind to allow content to go past the app bar.
The ''Button component'' accepts a few attributes which are outlined below: * `variant` ** `contained` * [[color|NPM Orgs > Material-UI > Component Attributes]] An [[example use of the Button component is here|Example - React - Using a material icon in react with material ui]].
The ''IconButton component'' seems to take all the normal [[material component attributes|NPM Orgs > Material-UI > Component Attributes]] and all the attributes of an [[html anchor element|HTML Anchor Element]]. An `IconButton` should contain a [[SvgIcon component|NPM Orgs > Material-UI > Components > SvgIcon]] or a [[normal icon component|NPM Packages > @material-ui/icons]]. See normal icon components for details on changing the size of an IconButton. For example: ``` import { DeleteIcon } from '@material-ui/icons'; // ... <IconButton> <DeleteIcon /> </IconButton> // ... ```
The ''List component'' is an overall component that can store different types of reactive lists.
The ''SvgIcon component'' accepts an [[SVG path element|SVG path Element]] as a child and renders a clickable icon with that svg as its image. `SvgIcon` accepts the [[normal Material-UI component attributes|NPM Orgs > Material-UI > Component Attributes]], and `viewBox`. For example: ``` <SvgIcon viewBox="0 0 24 24"> <Path d="M 1 1 L 10 10 L 20 20 z" /> </SvgIcon> ```
The ''ToolBar component'' seems to be contained normally by an [[AppBar|NPM Orgs > Material-UI > Components > AppBar]].
The ''Typography component'' allows some text to be written in a standardized format it seems. Some different [[props|React props]] that typography can have are below: * `align` which can have things like `center` and `left`. * `noWrap` which doesn't need a value and tells it not to wrap the text.
The ''withStyles'' function can be used to apply styles to a component before exporting it. This can be done by importing from `@material-ui/core/styles`. The function requires a function to be passed to it, seemingly because they use typescript with their library. The `styles` object that is created for the component, can have it's classes applied by using the className attribute. For example: ``` <ListItem className={props.classes.exampleClass}> <span>Example</span> </ListItem> ``` Here is a [[link to documentation on withStyles|https://material-ui.com/guides/typescript/#usage-of-withstyles]]. Here is an [[example of using the withStyles function|Example - React - Material-UI using the withStyles function]].
When starting a new project, npm generates a ''package.json file'' which lists the dependencies for your project. The `package.json` file is considered the center of an npm project. Think of it like the [[head element|HTML Head Element]] of a npm project. Some specific fields in the `package.json` are listed below: * `"name"` is a required field and names the project * [[NPM package.json version Field]] * `"author"` can be a string or an object. * `"description"` should be a string that has a short description of the project. If a package is being created for npm, then the description will be the short part that sells the package to the potential user. If it is being used for a project, then it is a good description of what it is for. * `"keywords"` should be an array of strings, each containing a separate keyword that could match up to the project. * `"license"` should have a string of an applicable license. [[Choosealicense|https://choosealicense.com/]] is a good source for picking one. It seems like `"MIT"` is a good one to go with. License information is not required though and in most countries copyright law gives you ownership by default. This could end up backfiring though so it could be good to just throw an MIT one on there every time. * `"dependencies"` should be an object containing key value pairs where each key is a package name, and each value is the version number.
The ''version field'' or `"version"` is a required field and contains a string that indicates the version number. NPM packages use [[semantic versioning|Semantic Versioning]]. Some key characters can be used before version numbers to allow certain things. Some important ones are listed below: * `~` before a version number allows patch updates. * `^` before a version number allows minor updates. * `*` to allow all updates, no number is needed in this case
NPM saves packages in a folder called `node_modules`. These packages can be installed in two ways: # Globally, in a root modules folder # Locally within the local `node_modules` folder for that project. Packages: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages' sort[title]>> </div>
The ''@material-ui/icons package'' is part of the [[@material-ui org|NPM Orgs > Material-UI]] and provides all of the google material icons. After importing this package, and icon can be used from it like a [[component in react|React Components]]. Here is an [[example of using a material icon in react|Example - React - Using a material icon in react with material ui]]. An icon component can take the following attributes: * `fontSize` ** `small` ** `medium` which is the default ** `large`
The ''bcrypt'' package provides a way to use [[bcrypt hashes|BCrypt Hashes]]. This is good to do asynchronously because it is a computationally intensive task. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages > bcrypt' sort[title]>> </div>
The ''bcrypt.compare method'' will take a [[bcrypt hash|BCrypt Hashes]] which could have been created with [[bcrypt.hash|NPM Packages > bcrypt > bcrypt.hash Method]], and tries to compare it with a given plain text password. The method takes the following general format: ``` bcrypt.compare(myPlaintextPassword, hash, (err, res) => { /*res == true or false*/ }); ```
The ''bcrypt.compareSync method'' will take a [[bcrypt hash|BCrypt Hashes]] which could have been created with [[bcrypt.hashSync|NPM Packages > bcrypt > bcrypt.hashSync Method]], and tries to compare it with a given plain text password synchronously. It returns true if the password matches the hash. The method takes the following general format: ``` bcrypt.compareSync(myPlaintextPassword, hash); ```
The ''bcrypt.hash method'' will hash a password asynchronously and has the general form of: ```javascript bcrypt.hash(myPlaintextPassword, saltRounds, (err, hash) => { /*Store hash in your db*/ }); ``` Where the arguments are the following: * `myPlaintextPassword` is the plain text password * `saltRounds` is the [[bcrypt hash cost|BCrypt Hashes]] * The last argument is a normal [[error first callback|Node.js Error First Callbacks]]. To decipher the hash use the [[bcrypt.compare method|NPM Packages > bcrypt > bcrypt.compare Method]].
The ''bcrypt.hashSync method'' can be used to hash a password synchronously. For example: `bcrypt.hashSync(MyPlaintextPassword, saltRounds)`. Where the arguments are the following: * `myPlaintextPassword` is the plain text password * `saltRounds` is the [[bcrypt hash cost|BCrypt Hashes]] Keep in mind this could cause a lot of lag if there are a lot of salt rounds, like 13 or more probably. To decrypt the hash / test it against the password, use the [[bcrypt.compareSync method|NPM Packages > bcrypt > bcrypt.compareSync Method]]. This can be used to hash a password before it is stored in a database for example.
''body-parser'' is an NPM package, and an [[express middleware function|NPM Packages > express > Middleware Functions]] for parsing [[request|NPM Packages > express > Request Object]] bodies. Some uses of the `bodyParser` object that results from using `require('body-parser')` are below: * `bodyParser.urlencoded()` seems to take one argument which is an object and returns a middleware function. The only argument so far seems to be `{extended: false}` which will turn off extended mode. It sounds like extended mode should be avoided because using straight JSON is better somehow? Setting the result of this middleware with [[app.use|NPM Packages > express > app.use Method]] will make it so any [[POST request|HTTP Request Methods > POST]] will be available in [[req.body|NPM Packages > express > Request Object > req.body Property]]. Here is an [[example of what a typically body will look like|Example - Node.js HTTP - Typical POST body when using body-parser]]. Here is a [[link to further documentation on body-parser|https://github.com/expressjs/body-parser]].
''Chai'' is a testing framework for JavaScript that seems pretty cool. It seems like most of Chai's basic tests are something like `assert.isNull()` or `assert.property()`. Here is a [[link to their webpage|https://www.chaijs.com/]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages > chai' sort[title]>> </div>
The ''chai http plugin'' includes operations for testing http apps and external services. To install the http plugin use `npm install chai-http`. Then it can be [[required|Node.js require Module]] at the top of a js document and set with [[chai|NPM Packages > chai]] using the following: ```js const chai = require('chai'); const chaiHttp = require('chai-http'); chai.use(chaiHttp); ``` Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages > chai-http'>> </div> See also: * [[Chai HTTP Plugin page|https://www.chaijs.com/plugins/chai-http/]] * [[Github page on chai-http|https://github.com/chaijs/chai-http]]
The ''chai.request'' method can be used after the [[chai http plugin|NPM Packages > chai-http]] has been set. It accepts an [[app object|NPM Packages > express > app Object]] and will open the server to listen for the duration of the request.
''cookie-parser'' is an NPM package that can be used as an [[express middleware|NPM Packages > express > Middleware Functions]]. It provides a way to handle [[cookies|HTTP Cookies]] in [[express|NPM Packages > express]]. If you are using [[express-session|NPM Packages > express-session]], cookie-parser is not needed and should not be used. Cookies will be parsed just like this package does.
''dotenv'' is an npm package that allows a local `.env` file to be loaded and used for something like [[Node.js|Node.js]]. Once it is installed, the following can be pasted at the top of the server.js file or whatever file is running node code: `require('dotenv').load();` If using `dotenv` make sure to set up some error handling in case the .env file is not present so that it reminds you to make one.
''express'' is a good [[module|Node.js Modules]] to use with [[Node.js|Node.js]]. `express` runs between the server created by Node.js and the front-end pages of a web application. Express also handles an application's routing of pages. There are alternatives to Express, although express is a good option to start with. To start with express, its function can be called and set to a variable. This variable will hold an [[express app object|NPM Packages > express > app Object]]. Here is an [[example of that being done|Example - Node.js - Using require for the express package]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages > express' sort[title]>> </div> See also: * [[Express official documentation 4.x|https://expressjs.com/en/4x/api.html]] * [[Great guide to setting up a bare-bones express server|https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/skeleton_website]] * [[Even better guide on setting up TypeScript with Node.js and Express|https://developer.okta.com/blog/2018/11/15/node-express-typescript]]
The ''express app object'' is created after calling the express function. For example `const app = express();` where express is required at the beginning of the document. See [[this example|Example - Node.js - Using require for the express package]] for how to do that. The app object implements the methods of a [[Node.js EventEmitter|Node.js events Module]]. Some methods that can be used on the `app` object are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages > express > app Object' sort[title]>> </div> See also: * [[Express documentation on the app object|https://expressjs.com/en/4x/api.html#app]]
The ''app.engine method'' can be used to set what [[templating engine|Template Engines]] should be [[rendering|NPM Packages > express > Route Handler Function > res.render Method]] a view. It looks like this is done by default for engines that are set with [[app.set|NPM Packages > express > app.set Method]] and if they have a built-in `__express` property on their required object. For example, pug has `require('pug').__express` so when it is set, it actually doesn't need the engine set as well. See also: * [[Express documentation on the app.engine method|https://expressjs.com/en/4x/api.html#app.engine]]
The ''app.listen method'' can be used to tell a [[Node.js|Node.js]] server to listen on a given port. It takes one argument which is the port number, and after this method is run, it puts the server in a running state. This method is normally run at the end of a document, just before `module.exports` See also: * [[Express 4.x documentation on app.listen|https://expressjs.com/en/api.html#app.listen]]
The ''app.locals property'' is an object that contains local variables within the application. This can be used for [[templating engines|Template Engines]]. For example: ```javascript app.locals.title = 'My app'; ```
The ''app.set method'' can be used to assign a setting `name` to a `value`. This can store any value, although there are special names that can be set, which are listed in the [[app settings table|https://expressjs.com/en/api.html#app.settings.table]]. One of the settings is `view engine`, which can be set to something like [[pug|NPM Packages > pug]]. A setting can be retrieved by using `app.get('nameOfSetting')`.
The ''app.use method'' can be used to mount a [[middleware function|NPM Packages > express > Middleware Functions]]. The first argument is optional, and indicates the path. If the path argument is omitted then the middleware will be executed for all requests. The second argument is the middleware function. For example: `app.use(path, middlewareFunction)`. See also: * [[Example - Node.js Express - Using app.use to mount middleware]]
The ''express.static function'' is a [[middleware|NPM Packages > express > Middleware Functions]] that can be used to serve static assets that are needed by an application. This can be done with `express.static(path)` where `path` is the absolute path of the folder containing the assets. See also: * [[Example - Node.js Express - Using app.use to mount middleware]]
''Middleware functions'' are functions that intercept [[route|NPM Packages > express > Routes]] handlers, adding some kind of information. Middleware functions take up to 4 arguments: * An optional error object * [[Request object|NPM Packages > express > Request Object]] * [[Response object|NPM Packages > express > Route Handler Function > Response Object]] * Next function. This function normally has side effects on the app, and usually adds some information to the request or response objects. Here is an example of a middleware function: ```javascript function(err, req, res, next) { console.log("I'm a middleware..."); next(); } ``` To mount a middleware function, use the [[app.use method|NPM Packages > express > app.use Method]]. The midldeware will be triggered in the order they are set with the app.use method in the JavaScript where the first middleware function called is the one built into the routing function. Here is a [[middleware call example image|$:/Image - Express middleware call order]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages > express > Middleware Functions' sort[title]>> </div> See also: * [[Express documentation on middleware|http://expressjs.com/en/guide/using-middleware.html]]
''Query parameters'' are a string delimited by a `?` at the end of a URL and includes field value couples such as `field=value` which are delimited by `&`. Express parses the query string and populates the object [[req.query|NPM Packages > express > Request Object > req.query Property]]. For example: ``` route_path: '/library' actual_request_URL: '/library?userId=546&bookId=6754' req.query: {userId: '546', bookId: '6754'} ``` Some characters cannot be in URLs, so they have to be encoded in a different format before they are sent and decoded after they are received. This can be handled by an API from JavaScript. It doesn't seem that there are any notes on that as of yet. See also: * [[NPM Packages > express > Route Parameters]]
The ''request object'' in [[express|NPM Packages > express]] is used in several places. It has consistent properties and methods and is built on top of the [[Node.js request object|Node.js http.IncomingMessage Class]] meaning it has all of those methods and properties as well. Some of those are laid out below: * All the properties and methods of the [[Node.js request object|Node.js http.IncomingMessage Class]] * `req.path` is a property and will return the path that was used to make the request. * `req.ip` is a property and will return the ip address that sourced the request. * [[req.params|NPM Packages > express > Request Object > req.params Property]] * [[req.query|NPM Packages > express > Request Object > req.query Property]] * [[req.body|NPM Packages > express > Request Object > req.body Property]] * `req.headers` is a property that contains an object which contains info on all the [[headers|HTTP Request Headers]] on the request. * [[req.session|NPM Packages > express-session > req.session Property]] if you are using [[express-session|NPM Packages > express-session]] Some of the places that the request object is used are listed below: * [[Express routes|NPM Packages > express > Routes]] * [[Express middleware functions|NPM Packages > express > Middleware Functions]] See also: * [[Express documentation on the request object|https://expressjs.com/en/4x/api.html#req]]
The ''req.body property'' can only be used after a [[middleware|NPM Packages > express > Middleware Functions]] is set that can parse [[POST requests|HTTP Request Methods > POST]]. This is typically done with [[body-parser|NPM Packages > body-parser]]. See also: * [[Example - Node.js HTTP - Typical POST body when using body-parser]]
`req.params` is a property that holds a JSON object holding each one of the request's [[route parameters|NPM Packages > express > Route Parameters]] if there are any. See also: * [[Example - Node.js Express - Using the req.params property and route parameters]]
The ''req.query property'' holds an object that contains the field value couples of a [[query parameter|NPM Packages > express > Query Parameters]].
The ''res.render method'' can be used to render a file when the view engine is set with [[app.set|NPM Packages > express > app.set Method]]. The general structure is as follows: `res.render(pathString, optionalVariableObject)`. * The `pathString` is the path to the [[template file|Template Engines]]. Note that it looks like the path is relative to the root directory of the site, then `/views` which is a folder that node.js uses maybe. * `optionalVariableObject` is an object with the different variables that could be in use in the template file. [[Here is an example of doing that|Example - Express - Using res.render with variables]].
The ''response object'' for a handler function has the following notable methods: * All the properties and methods of the [[Node.js response object|Node.js http.ServerReponse Class]] * `res.type(mimeType)` * `res.status(statusCode)` will set the [[HTTP status code|HTTP Status Codes]]. Default is `200` without using this method. * `res.sendFile(path)` this can be used inside of a `app.get('/', ...)` [[route|NPM Packages > express > Routes]] and it will instruct the browser how to send the file you want to send according to its type. Then it will read and send the file. The `path` argument needs an absolute file path, so the [[global variable|Node.js Global Variables]] `__dirname` can be used to help find that. Here is an [[example of using that|Example - Node.js Express - Serving an html file]]. * `res.send(arg)` will send an argument which could be a string, object or something else. * `res.json(jsonObj)` This method returns the json object that is specified in the argument. Here is an [[example of using this method|$:/Example - Node.js Express - Serving a JSON object, or a very basic API]]. * `res.redirect(url)` This method allows the response to redirect the [[request object|NPM Packages > express > Request Object]] to a different URL using the same request type it seems. * [[res.render|NPM Packages > express > Route Handler Function > res.render Method]]
''Route parameters'' are named segments of a URL. For example if a [[route|NPM Packages > express > Routes]] was setup with a path of `/search/:searchTerm` then when a user types in the url `websitename.com/search/exampleTerm` then the value for `searchTerm` would be `exampleTerm`. These values can be accessed by using the [[req.params property|NPM Packages > express > Request Object > req.params Property]]. See also: * [[Example - Node.js Express - Using the req.params property and route parameters]] * [[NPM Packages > express > Query Parameters]]
''Express routes'' take the form of `app.methodName(path, middleware, handler)` where * `methodName` is an [[http request method|HTTP Request Methods]] name such as `get` in lowercase. This can also be other things like `all` which means for all types of request at the specified `path`. * `path` is the URL that the user would be typing in as a string, which can even be a [[regular expression|JavaScript Regular Expressions (Regex)]]. This can also include [[route parameters|NPM Packages > express > Route Parameters]]. * `middleware` is an optional [[middleware function|NPM Packages > express > Middleware Functions]] * `handler` is a function that is called when the route is matched. A ''handler function'' takes the form of `function(req, res) { ... }`. * `req` is a [[request object|NPM Packages > express > Request Object]] * `res` is the [[response object|NPM Packages > express > Route Handler Function > Response Object]] ``` function(req, res) { res.send('Response String'); } ``` Routes can also be chained. This allows for multiple handlers to be defined on the same route. The syntax for this is a bit different. For example: ``` app.route(path) .get(handler) .post(handler) ``` See also: * [[Example - Node.js Express - Serving a string with app.get]] * [[Example - Node.js Express - Chaining middleware with a route]]
''express-generator'' is an [[NPM package|NPM Packages]] which can be used to quickly setup a basic [[express|NPM Packages > express]] node application. See also: * [[Express generator basic usage website|https://expressjs.com/en/starter/generator.html]]
''Express Session'' is a session manager for [[Express|NPM Packages > express]] which allows creation of a session [[middleware|NPM Packages > express > Middleware Functions]]. Under the hood, this uses [[cookies|HTTP Cookies]] to create a session for the client. This is an easy way to set session specific information in the [[routing|NPM Packages > express > Routes]] logic. If this package is used, [[cookie-parser|NPM Packages > cookie-parser]] is not needed and can actually cause issues. Cookies are parsed just like cookie-parser when using express-session. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages > express-session' sort[title]>> </div> See also: * [[Github site for express-session|https://github.com/expressjs/session]]
After the [[express-session constructor|NPM Packages > express-session > session Constructor]] is [[used|NPM Packages > express > app.use Method]] then a ''session property'' can be accessed on all [[express request objects|NPM Packages > express > Request Object]] as `req.session` where data can be stored for that session. Some special properties on the `req.session` property are below: * `id` cannot be changed and is an alias of `req.sessionID`. * `cookie` which is the directly accessible cookie it seems like of the session. This normally holds the session ID I think. But this makes it so you can modify `maxAge` or something it looks like. See also: * [[Github documentation from express-session about the session property|https://github.com/expressjs/session#reqsession]]
The ''session constructor'' can be used after [[requiring|Node.js require Module]] `express-session` and assigning `session` to a constant. It accepts an object as an argument which contains the different session settings. For example: ``` app.use(session({ secret: 'keyboard cat', resave: false, saveUnitialized: true, cookie: {} })) ``` * `secret` is required and seems to be a random series of characters and numbers which can be set in the [[.env file|Node.js .env File]] or it can just be specified in the string. I have yet to experiment and see if this needs to be randomized. * `resave` defaults to true at the moment but may change in the future so it is good to specify it. It determines if the session should be saved back to the session store even if the session was never modified during the request. A good way to determine if you need this is if you use the express-session `touch` method, which I don't have any notes on yet. * `saveUnitialized` determines if a new session should be created for unauthenticated users I guess? Probably leave this as true for now. After this is used, you can use the [[session property|NPM Packages > express-session > req.session Property]].
''helmet'' or ''HelmetJS'' is an [[npm package|NPM Packages]] and [[express middleware|NPM Packages > express > Middleware Functions]] that has various features to help secure web pages that use [[express|NPM Packages > express]]. To use the suggested package for helmet, it can be required then assigned with the [[app.use method|NPM Packages > express > app.use Method]]. For example: ```javascript const helmet = require('helmet'); app.use(helmet()); ``` Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages > helmet' sort[title]>> </div> See also: * [[Link to the main helmetJS page|https://helmetjs.github.io/]]
The ''helmet.frameguard method'' can help prevent a malicious attacker from using [[clickjacking|Web InfoSec > Clickjacking]] on a site. The method returns a middleware function, and accepts one argument which is an object with a `action` key. The different options are below: * `action` key in an object ** `deny` ** `sameorigin` ** `allow-from` For example: ``` app.use(helmet.frameguard({action: 'deny'})); ```
The ''helmet.hidePoweredBy Method'' can be used on `helmet` after it has been [[required|Node.js require Module]]. `helmet.hidePoweredBy()` returns a [[middleware function|NPM Packages > express > Middleware Functions]] and accepts one optional argument which is an object. The object needs to have a key of `setTo` set to whatever the `poweredby` should be. For example: ```javascript app.use(helmet.hidePoweredBy({setTo: "PHP 4.2.0"})) ``` In a web page, express attaches `poweredby: express` to each request in some way. Hackers can see this and take advantage of express vulnerabilities. By using the `hidePoweredBy()` function with no arguments it will hide this information.
The ''helmet.xssFilter method'' is a way of trying to stop [[cross-site scripting attacks|Web InfoSec > Cross-Site Scripting (XSS)]]. The method returns a middleware function and takes no arguments.
''mocha'' is an [[NPM package|NPM Packages]] and a testing framework for JavaScript that is meant for [[Node.js|Node.js]]. A basic usage of mocha once it is installed and required, is to use a `describe()` function to start a suite of tests. For example: ```javascript describe('Array', function() { describe('#indexOf()', function() { it('should return -1 when the value is not present', function() { assert.equal([1,2,3].indexOf(4), -1); }); }); }); ``` Where back in the terminal, the following will print out: ``` $ ./node_modules/mocha/bin/mocha Array #indexOf() ✓ should return -1 when the value is not present 1 passing (9ms) ``` Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages > mocha'>> </div> See also: * [[NPM Packages > chai]] * [[Mocha "getting started" page|https://mochajs.org/#getting-started]]
The ''before function'' can be used anywhere within a file that is setup for testing with [[mocha|NPM Packages > mocha]] it seems. This can be used to make sure a database connection has occurred before tests are ran. For example: ```js /** * Waits for the server to be started before running tests. */ before(done => { app.on('started', () => { done(); }); }); ``` Note that inside of the `before` function, any calls to `describe` or `it` will not run. To setup synchronous testing you can require entire test files in a row. For example: ```js describe('Globals tests', () => { require('./globalsTest1'); require('./globalsTest2'); }); ``` Then any variables that need to be set can be put as static variables in some kind of `globals` js file which exports a class with those variables as static members. 😁🎉 See the [[globals js example file|$:/Example - JavaScript - Global Variables file]].
''mongodb'' is an [[NPM Package|NPM Packages]] that can be used as a driver for [[MongoDB|MongoDB]] in [[Node.js|Node.js]] . Here is a [[link to the documentation for the driver|http://mongodb.github.io/node-mongodb-native/3.1/api/]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages > mongodb' sort[title]>> </div>
A ''collection object'' can be returned from the `collection` method of a [[mongodb db object|NPM Packages > mongodb > db Object]]. It has many possible methods, and it seems that they line up pretty well with normal mongodb functions. Some notable methods are below: * `findOne(query, options, callback)` ** `query` can be a [[Nodejs MongoDB query object|NPM Packages > mongodb > Query Objects]]. ** `options` is an optional [[options object|NPM Packages > mongodb > Options Objects]]. ** `callback` is an error first callback where the result is the first document found that matches the query. * `find(query, options)` this creates a cursor for a query that can be used to iterate over the results ** `query` can be a [[Nodejs MongoDB query object|NPM Packages > mongodb > Query Objects]]. ** returns a [[cursor object|NPM Packages > mongodb > cursor Object]] * [[findOneAndUpdate|NPM Packages > mongodb > collection.findOneAndUpdate Method]] See also: * [[Collection object documentation|http://mongodb.github.io/node-mongodb-native/3.1/api/Collection.html]]
The ''findOneAndUpdate method'' can be used to do as it says. lol the structure is as follows: ``` findOneAndUpdate(filter, update, options, callback) ``` * `update` is a [[mongodb update object|NPM Packages > mongodb > Update Objects]]
A ''cursor object'' can be returned from a few different methods in MongoDB. It can be used to iterate through a collection of items. See also: * [[Node.js MongoDB driver documentation for cursor|http://mongodb.github.io/node-mongodb-native/3.1/api/Cursor.html]]
The ''db Object'' is returned from a successful callback supplied to the [[mongodb.MongoClient constructor|NPM Packages > mongodb > mongodb.MongoClient Constructor]]. It has the following notable methods: * `collection(name, options, callback)` - If the application does not use strict mode, then you can use it with just the name. For example `const collection = db.collection('mycollection');` ** `name` is a string that should contain the name of the desired collection to retrieve. ** `options` is an optional options object ** `callback` is an [[error first callback|Node.js Error First Callbacks]] where the successful response is the [[collection object|NPM Packages > mongodb > collection Object]]. See also: * [[MongoDB documentation for version 3.5 db Object Documentation|https://mongodb.github.io/node-mongodb-native/3.5/api/Db.html]]
The ''mongodb.MongoClient constructor'' can be used to create a new client side connection to a MongoDB and has the following general structure: ```javascript const mongoClient = new mongodb.MongoClient(url, options, callback); ``` * `url` which is a path to the url as a string * `options` which is an optional options object. More details at [[the documentation here|http://mongodb.github.io/node-mongodb-native/3.1/api/MongoClient.html]]. * `callback` which is an optional [[standard node.js error first callback|Node.js Error First Callbacks]] where the successful result is the connected [[database object|NPM Packages > mongodb > db Object]]. This can also be used by requiring the `mongodb` package, then directly pulling the `MongoClient` constructor off first. This separates the logic a bit. For example: ```javascript const mongo = require('mongodb').MongoClient; // ... Some setup code or anything mongo.connect(url, options, callback); ```
The ''mongodb.ObjectID constructor'' can be used to create a new object ID. It doesn't seem clear at the moment how that is useful.
An ''options object'' can be used in quite a few different methods for the [[NodeJS MongoDB driver|NPM Packages > mongodb]]. Some examples of what can be used are below: * `sort` - This should probably be used as a standalone method after the [[cursor|NPM Packages > mongodb > cursor Object]] is returned evidently.
A ''query object'' can be written for the NPM MongoDB driver like so: ```javascript let query = { address: "Park Lane 38" }; ``` See also: * [[MongoDB documentation on query documents|https://docs.mongodb.com/manual/tutorial/query-documents/]]
''Update objects'' are used in different operations such as [[findOneAndUpdate|NPM Packages > mongodb > collection.findOneAndUpdate Method]]. An example is below with a few options: ```javascript let plainUpdateObject = { title: "New title", author: "New author" } ``` The previous snippet will completely override the document so only the given fields are present with their new values. To be more specific, see below: ```javascript let specificUpdateObject = { $set: { title: "New title" }, $push: { authors: "Tony Neuhold" } } ``` * `$set` allows just specific portions of the document to be set * `$push` allows a new value to be added to an existing array See also: * [[MongoDB documentation on the different update modifiers|https://docs.mongodb.com/manual/reference/operator/update/]]
''mongoose'' is an [[NPM package|NPM Packages]] for [[Node.js|Node.js]] that allows objects to be written for [[MongoDB|MongoDB]] as they would be in [[JavaScript|JavaScript]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages > mongoose' sort[title]>> </div> See also: * [[Mongoose main API documentation|https://mongoosejs.com/docs/api/mongoose.html#]]
The ''document.save method'' accepts none, or one argument which is a standard [[node.js error first callback|Node.js Error First Callbacks]].
A ''document'' is an instance of a [[model|NPM Packages > mongoose > Models]] A document contains the properties simply through dot notation of the model's [[schema|NPM Packages > mongoose > Schemas]]. For example if a `Person` model has a schema that includes `age: Number`. Then the age could be accessed from a document called `joe` with `joe.age`. The value can also be edited this way. After a value is edited directly for a document, the document.save function needs to be used to reflect that change in the database. A document can be edited without needing to use the save function by using a `.update` function. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages > mongoose > Documents' sort[title]>> </div>
The ''Model.aggregate method'' can be used to create a MongoDB aggregation on a [[mongoose model|NPM Packages > mongoose > Models]]. See also: * [[Mongoose documentation on aggregate method|https://mongoosejs.com/docs/api/aggregate.html]]
The ''Model.find function'' can be used to find a particular document that pertains to the `Model`, and returns a [[query object|NPM Packages > mongoose > Queries]]. The different arguments are below: * `condition` which is optional and a [[selector object|NPM Packages > mongoose > Selector Objects]]. If this is not included, then it will return every document from the model. * `projection` which is optional and determines the fields to return. This can be a string or an object. * `options` which is optional and an object. This can include things like `{limit: 5}` to limit it to 5 documents. * `callback` which is a standard [[error first node.js callback|Node.js Error First Callbacks]], where the data is the result of the find operation.
The ''Model.insertMany method'' can be used on a constructed [[model|NPM Packages > mongoose > Models]] to create multiple [[documents|NPM Packages > mongoose > Documents]] at one time and saves them all into the database. The different arguments are below: * The first argument is an array of objects representing each document to create * The second argument is a [[Node.js error first callback function|Node.js Error First Callbacks]] with just the error portion. For example: ``` Person.create([{name: "Jeff"}, {name: "Chris"}], (err) => { if (err) { console.log(err); } }) ```
A ''model'' is a constructor compiled from [[schema|NPM Packages > mongoose > Schemas]] definitions. An instance of a model is called a [[document|NPM Packages > mongoose > Documents]]. Models are responsible for creating and reading documents from the underlying Mongo database. To create a model, use the `mongoose.model()` constructor which accepts two arguments, a string representing the name of the model, and a schema. For example `const Person = mongoose.model('Person', personSchema)`. //Notice that// creating a model doesn't need the `new` operator. Once a model is created, it can be used as a constructor. For example `const newDocument = new Person({name: "Guy Brohanson"})`. Where `newDocument` becomes a document object. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages > mongoose > Models' sort[title]>> </div>
The ''mongoose.connect method'' accepts one argument, and that is the URI of the mongo database as a string. See [[mLab|mLab]] to get one of these for free! It also accepts a second optional argument which is a callback function that accepts one argument which is the error. The URI should probably be held as a variable in the [[.env file|Node.js .env File]].
''Queries'' can be built by using things like model.find, and shouldn't be built directly. Queries can have `.then` chained after them so they can be treated like a [[promise|JavaScript Promises]].
The different ''schema types'' are below: * `String` * `Number` * `Date` * `Buffer`, not sure what this is * `Boolean` * `Mixed`, not sure what this is * `ObjectId`, not sure what this is * `Array` * `Decimal128`, not sure what this is * `Map`, not sure how this would be used A schema type can have additional options as well some of those are listed below. * `required` can be set to true or false to require the field * `default` can be set to a value so that a default value can be used if one is not set. An example of using an additional option is below: ```javascript const schema = new mongoose.Schema({ name: { type: String, required: true } }) ``` An array of values can be set by wrapping it in an array. For example: `arrayValues: [String]` which would mean an array of Strings. Here is a [[link to documentation on schema types|https://mongoosejs.com/docs/schematypes.html]] for further notes.
A ''schema'' maps to a MongoDB collection. Schemas are the building block for [[Models|NPM Packages > mongoose > Models]]. They can be nested to create complex models too. A schema can be created by using the `mongoose.Schema()` constructor which accepts an object which will be the schema. An example is below: ```javascript const blogSchema = new mongoose.Schema({ title: String, author: String, body: String, comments: [{ body: String, date: Date }], date: { type: Date, default: Date.now }, hidden: Boolean, meta: { votes: Number, favs: Number } }); ``` For all the schema types see [[Schema Types|NPM Packages > mongoose > Schema Types]].
''Selector objects'' can be used in methods like [[Model.find|NPM Packages > mongoose > Model.find Method]] and specify what search criteria need to be fulfilled for a MongoDB search. A simple example is `{name: "John"}` where it will find all of the documents with the `name` key associated with a value of `"John"`. Selector objects can also have special values in them to help with searching. Some of those are listed below with an example following it: * `$gte` is greater than or equal to. For example `$gte: 1979` * `$lte` is less than or equal to. ``` { year: { $gte: 1980, $lte: 1989 } } ```
''morgan'' is an [[NPM package|NPM Packages]] that allows logging with [[Node.js|Node.js]]. To use the package you can import it at the top of the file, then use it in the [[app object|NPM Packages > express > app Object]] of the [[express|NPM Packages > express]] server. For example: ```js import logger from 'morgan'; app.use(logger('dev')); ``` The object returned from importing or requiring morgan has the following notable methods: * `logger(format: string, options?: logger.Options | undefined)` ** `format` seems like it can be `dev` or something else, those are specified in the NPM page. ** `options` is optional. To disable logging during testing you can do something like the following: ```js /** * Sets up logging for the application. If the environment variable `NODE_ENV` * is set to `test` then logging is disabled. */ function setupLogger(): void { if (process.env.NODE_ENV !== 'test') { app.use(logger('dev')); } } setupLogger(); ``` See also: * [[NPM page for morgan|https://www.npmjs.com/package/morgan]]
''multer'' is an [[NPM package|NPM Packages]] that is also a [[node.js middleware|NPM Packages > express > Middleware Functions]] for handling `multipart/form-data` in a [[POST request|HTTP Request Methods > POST]]. Multer adds a `body` object and a `file`, or `files` object to the [[request object|NPM Packages > express > Request Object]]. An example of an [[html form|HTML form Element]] that could use multer is below, where the `enctype` part is needed: ```xml <form action="/profile" method="post" enctype="multipart/form-data"> <input type="file" name="avatar" /> </form> ``` Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages > multer' sort[title]>> </div>
The ''multer constructor'' can be used right after requiring it at the top of the JavaScript file with `const multer = require('multer')`. After that is done, then the multer constructor can be used to create an [[upload object|NPM Packages > multer > upload Object]], and takes an options object as an argument. For example: ``` const upload = multer({dest: "/uploads"}) ``` Some notable keys that can be included in the options object are below: * `dest` or `storage` ** `dest` will be the destination file path. ** `storage` can be a couple different options. To store the file in memory, the value of `multer.memoryStorage` can be used. [[Here is more documentation on the multer constructor|https://www.npmjs.com/package/multer#multeropts]].
An ''upload object'' can be created from the [[multer constructor|NPM Packages > multer > multer Constructor]] and can be used to return a [[middleware function|NPM Packages > express > Middleware Functions]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages > multer > upload Object' sort[title]>> </div>
The ''upload.single method'' returns a middleware that accepts a single file. The method accepts one argument which is `fieldname` which should be the same as the `name` of the [[input element|HTML Form input Element]] which will be receiving the file. The single file will be held in `req.file`. For example, using this might look like: ```javascript app.post('/profile', upload.single('avatar'), function (req, res, next) { // req.file is the `avatar` file // req.body will hold the text fields, if there were any }) ```
The ''netlify-lambda npm package'' can be used to locally test [[lambda functions|Netlify Lambda Functions]] for [[Netlify|Netlify]]. It can be installed globally with `npm install -g netlify-lambda`, although that seems to be discouraged by Netlify, there aren't any notes on how to execute local NPM commands yet. To test lambda functions locally, a [[netlify.toml|Netlify netlify.toml File]] file needs to be setup with `functions` set. Use `netlify-lambda serve <functions_src_directory_path>` from within the project root directory. For example `netlify-lambda serve src/lambda`. This will serve the functions at `localhost:9000/function-name`.
''nodemon'' can be used to hot reload a node server whenever there are changes to a particular file. After installing globally it can be used with `nodemon fileName.js` in the directory of the file. Using nodemon seems to be a replacement for `npm start`.
''passport'' is an [[npm package|NPM Packages]] that is used for authentication in [[Node.js|Node.js]]. It is the most common tool used for this process because it is light-weight, and extremely flexible. Once passport is [[required|Node.js require Module]], it can be set to be used with [[app.use|NPM Packages > express > app.use Method]]. Both `passport.initialize()` and `passport.session()` should be used it seems. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages > passport' sort[title]>> </div>
The ''passport.authenticate method'' takes one argument which is a string indicating the [[strategy|NPM Packages > passport > Strategies]] to use. It doesn't seem clear at this moment how the string should be determined. The method returns a [[middleware function|NPM Packages > express > Middleware Functions]], that can be placed as the second argument of an [[express route|NPM Packages > express > Routes]] that maybe handles a post request for a login page for example. `passport.authenticate` can also take an optional second argument which is an options object. The different known options and an example are below: * `failureRedirect` can have a value of a string indicating the path to redirect to. * `successRedirect` can have a value of a string indicating the path to redirect to. If this is set, it seems that a successful authentication will no longer continue on to the rest of the express route. ```javascript passport.authenticate('local', {failureRedirect: '/'}); ``` If the authentication was successful, then user object will be stored in the [[request object|NPM Packages > express > Request Object]] as `req.user`. This can be passed on to another URL such as `/profile` with [[res.redirect|NPM Packages > express > Route Handler Function > Response Object]].
The ''passport.serializeUser method'' will serialize a user object it seems. An example of using it is below: ``` passport.serializeUser((user, done) => { done(null, user._id); }) ```
The ''passport.use method'' can be used to assign a [[strategy|NPM Packages > passport > Strategies]] to passport, and accepts one argument, which is a strategy object. Once this is done, [[passport.authenticate|NPM Packages > passport > passport.authenticate Method]] can be used.
The ''req.logout method'' can be used after a user has [[authenticated|NPM Packages > passport > passport.authenticate Method]] with [[passport|NPM Packages > passport]]. It is used on the [[request object|NPM Packages > express > Request Object]], and can be used to simply log out the user! For example: ``` app.route('/logout') .get((req, res) => { req.logout(); res.redirect('/'); }); ```
A ''strategy'' is a way of authenticating a user. Strategies can authenticate users locally, or from a variety of providers such as Google, Github, Facebook, etc. Each strategy needs to be set up in it's own way, which is normally detailed in the strategy's readme.md section on github. See below for the different strategies that notes have been taken on: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages > passport > Strategies' sort[title]>> </div> Strategies with OAuth require at least a Client ID and Client Secret which are specific to your app. They can be obtained from the website that will be authenticated with, and are not to be shared. They should be put in a [[.env file|Node.js .env File]]. A callback URL will need to be specified on the site where the Client ID and secret is being retrieved from. This could be like `siteURL/auth/github/callback`. Once setup, a strategy can be assigned with [[passport.use|NPM Packages > passport > passport.use Method]]. Once a strategy is assigned, it can be turned into a [[middleware|NPM Packages > express > Middleware Functions]] with [[passport.authenticate|NPM Packages > passport > passport.authenticate Method]]. See also: * [[Documentation on the different strategies available|http://www.passportjs.org/packages/]]
''passport-local'' is an NPM package that can be used to create a local [[strategy|NPM Packages > passport > Strategies]] for [[passport|NPM Packages > passport]], using a username and password. Requiring `passport-local` returns a [[LocalStrategy constructor|NPM Packages > passport-local > LocalStrategy Constructor]]. For example: ```javascript const LocalStrategy = require('passport-local'); ```
The ''LocalStrategy constructor'' can be used to create a new local [[strategy|NPM Packages > passport > Strategies]] and requires a callback function with 3 arguments, username, password, and done which is a function. For example: ```javascript const localStrat = new LocalStrategy((username, password, done) => { db.collection('users').findOne({ username: username }, function (err, user) { console.log('User '+ username +' attempted to log in.'); if (err) { return done(err); } if (!user) { return done(null, false); } if (password !== user.password) { return done(null, false); } return done(null, user); }); }) ``` The `localStrat` object can be given as an argument to [[passport.use|NPM Packages > passport > passport.use Method]] to assign it as the strategy for passport.
''pug'' is a [[template engine|Template Engines]] for [[Node.js|Node.js]]. To use pug, [[Express|NPM Packages > express]] needs to be told to use it. This can be done by using [[app.set|NPM Packages > express > app.set Method]] to use it as the `view engine` and by using app.engine to set it as well. See below for the two commands: ```javascript const pug = require('pug'); app.set('view engine', 'pug'); app.engine('pug', pug.__express); // This isn't actually needed, it is done automatically. See app.engine tiddler for details. ``` Pug was previously known as ''Jade''. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages > pug' sort[title]>> </div> See also: * [[Pug cheatsheet|https://devhints.io/pug]]
''Conditionals'' in [[pug|NPM Packages > pug]] can typically be written like so: ``` if <some javascript condition> p This will display if true else if <some other javascript condition> p This will display if the else if is true else p This will display as a catch-all ``` See also: * [[Pug short documentation on conditionals|https://pugjs.org/language/conditionals.html]]
''CSS'' classes can be added to a [[pug tag|NPM Packages > pug > HTML Tags]] by putting a dot, then the classname. These can be stacked. IDs can be added as well by adding chaining a `#` after the tag. For example a tag with a class of `center` and an ID of `welcome` would look like: ``` h2.center#welcome Welcome! ```
''HTML Attributes'' can be written in pug by indicating their element, following by parenthesis and a series of attributes. For example: ``` input(type='text' name='q' autofocus) ``` Here are some examples: * [[Example of making a single element with an attribute|Example - PugJS - Making a single element with an attribute]] * [[Example of making an element with multiple attributes|Example - PugJS - Making an element with multiple attributes]]
''HTML Tags'' can be written in PugJS by writing the name of the element. Indented tags can be written to represent nesting. For example: ``` ul li Item A li Item B li Item C ``` will turn into ```xml <ul> <li>Item A</li> <li>Item B</li> <li>Item C</li> </ul> ``` Pug knows when elements are self closing too.
''Variables'' in Pug can be referenced in a template file by using the syntax `#{variable_name}` inline with any other text or element. Another way to write variables is by using the html tag immediately followed by an equal sign, a space, then the variable name which will set the text of that tag to the variable. For example: ``` p= variable_name ```
''Template inheritance'' can be used in Pug by using the ''block'' and ''extends'' keywords. It looks like for blocks you generally need to declare it in a parent file and then define it in the child file. See also: * [[Pug documentation on template inheritance|https://pugjs.org/language/inheritance.html]]
The ''react-intersection observer'' [[NPM package|NPM Packages]] is a [[React|React]] implementation of the [[intersection observer API|JavaScript Intersection Observer API]]. See also: * [[react-intersection-observer NPM page|https://www.npmjs.com/package/react-intersection-observer#render-props]]
''rimraf'' is an [[NPM package|NPM Packages]] that allows `rm -rf` capabilities in [[Node.js|Node.js]]. * [[NPM page for rimraf|https://www.npmjs.com/package/rimraf]]
''sharp'' is an [[NPM package|NPM Packages]] that can be used to resize images. See also: * [[NPM page for sharp|https://www.npmjs.com/package/sharp]]
''socket.io'' is an NPM package for connections it seems. A ''socket.io socket'' is an individual client that has connected. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages > socket.io'>> </div>
An ''io object'' can be created from requiring the `socket.io` package. It also requires a function call where `http` is provided. For example: ``` const io = require('socket.io')(http); ``` Some notable methods of the `io` object are below: * `on(connectionName, callback)` ** `connectionName` seems to need to be `'connection'` at the moment ** `callback` is a function that accepts a socket variable and can do some actions when the connection happens. * `emit(eventName, variable)` sends an event's name and data to all connected sockets. ** `eventName` is a string indicating what occured ** `variable` is the data that should be emitted.
''zombie'' is a testing framework and headless browser that can test webpages like a normal user would. Zombie normally requires the [[mocha testing framework|NPM Packages > mocha]]. To start, zombie can be required, and a new instance of a browser can be created: ```javascript const Browser = require('zombie'); const browser = new Browser(); ``` Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Packages > zombie' sort[title]>> </div>
The ''browser.visit method'' can be used to visit a particular page. It seems to take one argument which is a string of the URL to be visited, and if it is being run locally on the website that it is hosting, that URL can be relative. For example: ``` browser.visit('/signup'); ``` `browser.visit()` is synchronous so it needs to be used with a promise or callback.
After the browser object has [[visited a page|NPM Packages > zombie > broswer.visit Method]] it can use the ''browser.fill method'' which takes two arguments, the first of which is the value of the [[name attribute|HTML Form input Element]] of a [[form input element|HTML Form input Element]], and the second is the value to fill it with. For example: ``` browser.fill('surname', 'Polo') ``` The browser.fill method can be chained.
The ''prop-types package'' is an [[NPM|Node Package Manager (NPM)]] package that allows [[prop types|React propTypes]] for react. This is because prop types were deprecated in React. More information on that there.
''Scoped packages'' are packages that are normally a part of an organization. They start with `@orgname` and normally help with grouping related packages. For example a package name could be `@orgname/packagename`. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'NPM Scoped Packages' sort[title]>> </div>
''NTFS'' is a [[Windows file system|Windows File Systems]] that uses a journaling system to record file changes. Some different versions of NTFS are below: * NTFS4 * NTFS5 The size of NTFS [[clusters|Operating System Disk Formatting]] ranges from 512 bytes to 64KB. Also, NTFS uses 64 bits for addressing clusters, therefore it can support up to $$2^{64}$$ clusters. Character strings are represented in 16-bit [[unicode|Unicode]]. The structure of NTFS is generally the following: # NTFS Volume Boot Sector - Begins in the first sector of the partition and can use up to 16 sectors. This contains the information of volume label and size, as well as the location of key metadata files. It also contains the program code to load the OS if needed. # ''Master file table'' or ''MFT'' - This has a record for every file and directory on the volume including an entry for itself. - The file name for the MFT starts with a `$`. Some different information that is stored in each record is below: ## $File record head (first 42 bytes) - This stores the MFT number, sequence number, link count, file type, size, etc. It seems like permissions are stored somewhere in here as well. ## `$STANDARD_INFORMATION` Such as the [[MAC time|Linux File System > MAC Times]], file characteristics such as hidden, system, etc. ## `$FILENAME` Which is up to 255 characters ## `$DATA` or associated cluster addresses. The first 11 files in the MFT are as follows: # `$MFT` # `$MFTMIRR` # `$LOGFILE` # `$VOLUME` # `$ATTRDEF` # `$BITMAP` - Keeps track of cluster usage. Uses one bit to record the status of each cluster on the volume. If a cluster is used, the bit is changed to a 1, if not, it is a 0. # `$BOOT` # `$BADCLUS` # `$SECURE` # `$UPCASE` # `$EXTEND` If a file's metadata information is more than one cluster in size, then it will store two or more MFT records to hold the metadata information. Each directory stores index entries for each file in the folder under the metadata `$INDEX_ROOT`. When creating a new file, MFT overwrites deleted entries before creating a new one. When a file is deleted, the most difficult data to get back is the parent folder of the file.
''Obfuscation'' is used to try and prevent [[reverse engineering|Reverse Software Engineering]]. Checkout the source of [[google.com|https://www.google.com/]] to see an example of this haha.
''Objects'' or ''complex variables'' are strings, scanners, System.in, System.out, etc. All objects belong to a class. Normally you have to use the new keyword each time you create an object, but String is an exception. System.out is an object of the PrintStream class for example. Objects hold the address of where it is stored, unlike primitive data types where the value is stored and not the address to something somewhere else. Once you create an object, you can use all the methods of that class for that object. If you do something like str1.length() you are invoking the method length().
''Object code'' is a sequence of statements or instructions in a [[low-level computer language|Low-Level Programming Languages]] or an intermediate language such as register transfer language. When a program is ran, the operating system or virtual machine will read the object code which will tell it about the static and global variables that should be allocated, and then load the object code into memory. The [[symbol table|Symbol Table (Programming Languages)]] is part of the object code.
It is difficult to understand and update a program that consists of a large collection of methods. To overcome this problem, computer scientists invented ''object-oriented programming (OOP)''. A programming style in which tasks are solved by collaborating objects. Each object has it's own set of data (state), together with a set of methods (behavior) that act upon the data. In a way this means that you think of the data before the actions, data being the objects. This is contrary to how [[imperative languages|Procedural Programming]] work where the action (function) is thought of before the data. When you develop an object-oriented program, you create your own objects that describe what is important in your application. For example in a student database, you might work with `Student` and `Course` objects. OOP benefits from [[inheritance|Inheritance]], class hierarchy, and [[polymorphism|Polymorphism]]. Object oriented programming can be thought of as program = objects + messages. OOP introduced public, private, and protected scopes as well. Typical languages and history are in the note. <<_note """ Typical OOP languages are Smalltalk, [[C++|C++ Programming Language]], [[Java|Java]], and [[C#|C# Programming Language]]. OOP concepts were first introduced and implemented in the Simula language. One of the successors of simula was [[smalltalk|Smalltalk Programming Language]]. """>>
An ''object reference'' specifies the memory location of an object, not the object itself.
See also: * [[Database Persistent Storage]]
Some different ''object-relational database systems'' are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Object-Relational Database System'>> </div>
''Object relational mapping'' is the process of converting a [[object-oriented|Object Oriented Programming (OOP)]] data model to a [[relational data model|Relational Data Model]]. One solution is to use the [[Java Persistence Architecture|Java Persistence Architecture (JPA)]]. See also: * [[SQL Wrapping]]
''Objective-C'' is a programming language based on [[C|C Programming Language]].
The ''observer design pattern'' or ''observable design pattern'' is used to allow an object to publish changes to it's state while other objects subscribe to be immediately notified of any changes. This is typically used when multiple displays of state are needed. An example of how this design pattern looks in practice is below: [img width=500 [https://i.imgur.com/JDNQsmZ.png]] A [[UML|Unified Modeling Language (UML)]] model of this design pattern is also below: [img width=400 [http://www.blackwasp.co.uk/images/Observer.png]] Here is an [[image of how this might look in code|$:/Image - Observer Design Pattern in Code]]. Java implements two types of Observer mechanisms: * [[Listeners|Java java.awt.event.ActionListener Interface]] - These are lightweight * Observable / Observer See also: * [[Gang of Four site on the observer pattern|http://www.blackwasp.co.uk/Observer.aspx]]
Things that are ''obvious'' in [[informal proofs|Informal Proofs]] are the laws of arithmetic for real numbers like addition subtraction, etc, the order of numbers such as 2 comes after 1, the properties of integers, the sign properties of real numbers such as negative and positive numbers, and college algebra rules such as balancing an equation, and multiplying over both sides of an equation.
''Ohm's Law'' is $$I = V/ R$$ where $$I$$ is the [[current|Current (Electrical)]], $$V$$ is the [[voltage|Voltage]], and $$R$$ is the [[resistance|Electrical Resistance]]. Power is $$P = I / V$$.
''Online analytical processing'' or ''OLAP'' means something probably.
This is a type of source. <div class="tc-table-of-contents"> <<toc-selective-expandable 'Online Courses'>> </div>
The ''OSI Model'' is a general model that generalizes the connections of a computer system without regard to its underlying internal structure or technology. An image from Wikipedia is below: [img width=1000 [https://i.imgur.com/RUGvcCh.png]] See also: * [[OSI Model Wikipedia page|https://en.wikipedia.org/wiki/OSI_model]]
''OpenAPI'' is a standard API documentation format that can be used with something like Swagger to automatically generate a front-end to your API in a beautiful way 😁. See also: * [[OpenAPI documentation|https://swagger.io/specification/]]
''OpenMP'' is a set of compiler directives and an API for programs written in C, C++, and FORTRAN. It provides parallel programming support. The programmer provides "hints" that something may be parallelizable. In C, this means adding [[directives|C/C++ Directives]]. Some things to think about when trying to indicate something as parallelizable are below: * Does the result of the operation depend on a summation of the same operation from before? If it does, it is probably not parallelizable. * If each iteration of the operation can be independent, it is probably parallelizable. To use OpenMP, certain directives need to be used. Those are outlined below. * `#pragma omp` - This forms the basis of all OpenMP directives it seems * `#pragma omp parallel` - Spawns a set of threads based on available processors. It executes each thread simultaneously. As each thread exits the [[parallel region|OpenMP Parallel Regions]], it is terminated. * `#pragma omp parallel for` - Can be used just before a for loop, and tells the library to create a thread for each loop it seems. Or if it can. It will try to make this efficient. * [[OpenMP parallel sections Directive]] * `#pragma omp critical` - Indicates the following section is a [[critical section|Operating System Process Synchronization Critical Sections]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'OpenMP'>> </div>
OpenMP defines ''parallel regions'' as blocks of code that may run in parallel.
The ''parallel sections directive'' can be used to indicate some set of sections that are independent and may be run in parallel. An example of doing this is below: ``` #pragma omp parallel sections { #pragma omp section { func1(); func2(); } #pragma omp section { func3(); } #pragma omp section { func4(); func5(); } } ``` What this does is it gives each section one thread. This is kind of a brute force way of specifying what should be a thread.
''Opentext'' is a company that makes digital forensics tools. They used to be called ''Guidance Software''. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Guidance Software'>> </div>
An ''operand'' is the value that is being manipulated by an operator such as `+`. So the operands of `2+3` are `2` and `3`.
Some different ''operating system architectures'' are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Operating System Architectures'>> </div>
''Asynchronous threading'' is based on the [[normal asynchronous definition|Asynchronous]] and means that when the parent creates a child thread, the parent resumes its execution, so that the parent and child execute [[concurrently|Concurrency]]. See also: * [[Operating System Synchronous Threading]]
For a computer to start running, it must have an initial program to run. This is sometimes called the ''bootstrap program''. It initializes all aspects of the system from CPU registers to device controllers and the contents of main memory, then starts the operating system. For most computers, the bootstrap is stored in [[ROM|Read Only Memory (ROM)]]. ROM needs no initialization and is at a fixed location on the disk. Most systems store a tiny bootstrap loader program in the boot ROM whose only job is to bring in a full bootstrap program from disk. The full bootstrap program is in the ''boot blocks'' at a fixed location on disk. A disk that has a boot partition is called a ''boot disk'' or ''system disk''.
''Deadlock'' is when two processes $$P1$$ and $$P2$$ are holding a resource, be it a [[mutex lock|Operating System Mutex Locks]] or a [[semaphore|Semaphore (Computer Science)]]. P1 then requests the resource that P2 is holding to continue, and P2 requests the resource P1 is holding to continue. This results in the deadlock. This might happen pretty often with [[threads|Operating System Multi-threading]]. A deadlock can also occur if quite a few processes execute at once, and each needs a certain amount of resources from the CPU, or RAM that in total, are more than the system has available. This is a practical example of the [[dining philosophers problem|The Dining Philosophers Problem]]. A deadlock can occur if the following four conditions hold in a system: # Mutual exclusion: At least one resource must be held in a nonsharable mode. # Hold and wait: A process must be holding at least one resource and waiting to acquire additional resources that are currently being held by other processes # No preemption: Resources cannot be preempted. # Circular wait: A set of waiting processes $$P_1, P_2, ..., P_n$$ must exist such that $$P_1$$ is waiting for a resource held by $$P_2$$, $$P_2$$ is waiting for a resource held by $$P_n$$, and $$P_n$$ is waiting for a resource held by $$P_1$$. This condition implies the hold and wait condition. Deadlocks can be described by a [[system resource-allocation graph|System Resource-Allocation Graphs]]. Deadlocks can be handled in a few ways by the operating system: * [[Deadlock Prevention|Operating System Deadlock Prevention]] * [[Deadlock Avoidance|Operating System Deadlock Avoidance]] * [[Deadlock Detection|Operating System Deadlock Detection]]
''Deadlock avoidance'' is based on the idea that each process tell the operating system what resources it might request and in what order. Some different ways of doing this are below: * ''Safe state'': A state is safe if the system can allocate resources to each process up to it's maximum in some order and still avoid a deadlock. Not all unsafe states are deadlocked states, but a safe state cannot result in a deadlocked state. This way if the system will enter an unsafe state by allocating a resource, it can wait until allocating that resource will result in a safe state. * ''Resource-allocation graph algorithm'': This sets up an internal tracking of a [[system resource-allocation graph|System Resource-Allocation Graphs]]. Claim edges are created for each process where a claim edge is pointing to a possible resource that the process could try to request at some point. When a process wants to request a resource, the newly converted request edge must not result in a cycle. * [[Bankers Algorithm|Operating System Deadlock Avoidance > Banker's Algorithm]]
''Banker's algorithm'': This is a variation of the resource allocation graph algorithm, and is called banker's algorithm because it can be used in banks to ensure that the bank will never reach a state where each of its client's requests cannot be satisfied. This system must ensure that when a process requests a resource, the system must determine if the allocation of these resources will result in a safe state. The following data structures need to be held where $$n$$ is the number of processes in the system and $$m$$ is the number of resource types: * Available: A vector of length m which indicates the number of available resources of each type. * Max: An n x m matrix defining the maximum demand of each process. * Allocation: An n x m matrix defining the number of resources of each type currently allocated to each process. * Need: An n x m matrix defining the remaining resource need of each process. For a given cell, Need = Max - Allocation. An algorithm called the ''safety algorithm'' can be created now which determines if the system is in a safe state or not. The ''resource-request algorithm'' determines if a request can be safely granted.
If a system does not employ [[deadlock prevention|Operating System Deadlock Prevention]] or [[deadlock avoidance|Operating System Deadlock Avoidance]], then a deadlock situation may occur. The system could then provide ''deadlock detection'' to detect if a deadlock has occurred and preferably an algorithm to recover from that deadlock. A few different ways to do this are below: * Single instance of each resource type: This takes a variation of the [[resource allocation graph|System Resource-Allocation Graphs]] and removes the resource nodes, while just creating edges between the processes waiting on other processes. This is called a ''wait-for graph''. If the wait-for graph contains a cycle, a deadlock exists. * Several instances of a resource type: This uses a variation of the data structures held in the [[banker's algorithm|Operating System Deadlock Avoidance > Banker's Algorithm]]. It uses the safety algorithm to test if there is a deadlock. To recover from a deadlock a couple tactics can be used: * Process termination ** Abort all deadlocked processes: This can be very costly if the processes have been running for a long time and depend on previously calculated values to continue. ** Abort one process at a time until the deadlock cycle is eliminated: This has considerable overhead because the deadlock-detection algorithm must be invoked after each process is aborted. * Resource Preemption: In this situation some resources from processes are given to other processes until the deadlock cycle is broken. Some different situations come up with this: ** Selecting a victim: Which process should be taken from? ** Rollback: The process that has it's resources taken away needs to be rolled back to some safe state and restarted. ** [[Starvation|Operating System Process Starvation]]
In ''deadlock prevention'' one of the [[four conditions|Operating System Deadlock]] for a deadlock is prevented from occurring. * Hold and wait: One way to do this is to require each process to request and be allocated all its resources before it begins execution. Another way is to make it so a process can only request resources when it has none. These both have some issues, because utilization may be low for the process, although it would be required to hold onto it for the entire length of the process. This would also allow [[starvation|Operating System Process Starvation]] to occur. * No preemption: One way to do this is to make so when a process requests a resource that is being held by another, it releases all of its current resources, and adds those resources to the list that it is waiting on. The opposite way of doing this is to take any resource that a process is requesting, from the process that is currently using it. * Circular wait: One way to do this is to create a total ordering for all instances of resources. That way each resource instance has a unique ID. Then if a process needs a resource, it must request them in order. So if it needs a printer which is assigned to 3, and a tape drive assigned to 11, then it needs to request the printer first, then the tape drive. It is then up to the application programmers to follow the ordering.
When a process is loaded, ''demand paging'' can be used in how the pages that the process needs are accessed. So instead of loading in every page that the process needs, it loads in each one as needed. This is basically "lazy [[swapping|Operating System Swapping]]" and is called a ''lazy pager''. An ''eager pager'' is the normal way of using paging, where the entire process is loaded in at once. If a page is in physical memory, it is called ''memory resident''. A valid-invalid bit added onto the page table can indicate if the page is in memory or not. When the page is not in memory it triggers a [[page fault|Operating System Page Faults]], and the page needs to be retrieved from secondary storage somewhere. It is not possible for a virtual memory system to be without page faults, because loading anything into memory for the first time will be the consecutive triggering of page faults for each access. If a system always requires that a page is requested before it is moved to main memory, it is called ''pure demand paging''.
Before a disk can store data, it must be divided into sectors that the disk controller can read and write. This is called ''low-level formatting'' or ''physical formatting''. This fills the disk with a special data structure for each sector. The data structure normally consists of a header, a data area which is typically 512 bytes, and a trailer. The header and trailer contain information used by the disk controller such as a sector number and an ''error correcting code'' (''ECC''). When the controller writes a sector of data int he data area, the ECC is updated with a value calculated from all the bytes in the data area. When the sector is read, the ECC is recalculated and compared with the stored value. ''Disk partitions'' are grouped sets of cylinders. The operating system can treat each partition as though it were a separate disk. This is the first step when an operating system does low-level formatting of a disk. Then it does the ''logical formatting'' or the creation of the file system. To increase efficiency, most file systems group blocks together into larger chunks frequently called ''clusters''. Disk I/O is done via blocks, but file system I/O is done via clusters, effectively assuring that I/O has more sequential access and fewer random-access characteristics. Some operating systems allow special programs the ability to use a disk partition as a large sequential array of logical blocks, without any file-system data structures. This array is sometimes called the ''raw disk'' and I/O to it is called ''raw I/O''.
Some different aspects of ''disk management'' are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Operating System Disk Management'>> </div>
''Disk scheduling'' requests can be made from a process when it needs I/O to or from a disk. It will initiate a system call to the operating system consisting of the following information: * Whether the operating is input or output * What the disk address for the transfer is * What the memory address for the transfer is * What the number of sectors to be transferred is When a request is made and there aren't any in the queue, it can be serviced immediately. Otherwise it goes into a queue, and when one finishes, the operating system needs to choose which one to service next. This is where [[disk-scheduling algorithms|Operating System Disk Scheduling Algorithms]] come in.
Some different ''disk scheduling algorithms'' are below: * FCFS Scheduling: This is intrinsically fair, but if the block requests are all over the disk, it will be very inefficient for the arm to be moving all over the place. This is the algorithm that is pretty much always used with SSDs, because the other ones don't matter for SSDs. * Shortest Seek Time First (SSTF) Algorithm: This algorithm selects the request with the least seek time from the current head position. SSTF chooses the pending request closest to the current head position. This is like the [[SJF algorithm|CPU Scheduling Algorithms > Shortest Job First (SJF)]], and by extension, may cause [[starvation|Operating System Process Starvation]], but with reading or writing a sector. The starvation scenario becomes increasingly likely as the request queue grows longer. * SCAN Algorithm or Elevator Algorithm: The disk arm starts at one end of the disk, and services requests going in one direction, until it reaches the other end, and turns around. So it goes back and forth. One issue with this is when it reaches the end, it will turn around, and there won't really be any requests where it just was, although there will be a lot of requests at the other end. This is why C-SCAN was made. * C-SCAN Scheduling: This is a variant of SCAN to provide a more uniform wait time, and it moves the head from one end to the other, then resets by moving all the way back to the beginning and moving from one end to the other again. * LOOK Scheduling: Variants of SCAN and C-SCAN that only go to the furthest request in one direction and turn around. These are LOOK, and C-LOOK.
''Dynamic loading'' is where a routine is not loaded until it is called. All routines are kept on disk in a relocatable load format. The main program is loaded into memory when it is started, then when it needs to call another routine, the calling routine checks to see if it is loaded, and if it is not, it loads it into memory, then passes control to the loaded routine. See also: * [[Logical Memory Addresses]]
''Executables'' are a program sitting on disk passively. A program becomes a [[process|Operating System Processes]] when an executable is loaded into memory. The format of an executable follows an [[application binary interface|Application Binary Interfaces (ABI)]].
''Global page replacement'' is where a process is allowed to take a [[frame|Operating System Paging]] from the set of all frames. This means the process can take a frame currently allocated to another process. This can causes situations where a program will take 0.5 seconds to execute a process, then on the very next execution, it could take 10.5 because of external circumstances. This also means that programs can not control their own page-fault rate. If global page replacement is not allowed, then it makes it so less used pages cannot be taken back by more frequently used programs. Global page replacement is more commonly used because it results in a larger throughput for operating systems. Also it is more popular because most of the time an operating system will have one user, so that one user cares about the application in front of them, meaning it will not make much of a difference if a background application starts getting slower. See also: * [[Local Page Replacement|Operating System Local Page Replacement]]
''Implicit threading'' is an attempt to simplify threading by putting the task on compilers and run-time libraries. This is because figuring out threading in an application is incredibly difficult, as outlined in the [[multi-threading tiddler|Operating System Multi-threading]]. Ideally, the compiler would do some kind of data flow analysis, and figure out what can be an independent thread and do it for us. This is an extremely hard problem and is actively researched! This is kind of easy for [[functional languages|Functional Programming]] though, because they don't have state. Hi [[JavaScript|JavaScript]]! Some different methods of implicit threading are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Operating System Implicit Threading'>> </div>
The ''init process'' is normally the first [[process|Operating System Processes]] to run on an [[operating system|Operating Systems]]. Therefore it is given the [[pid|Operating System Process pid]] of 1.
''Kernel threads'' are supported and managed directly by the [[operating system|Operating Systems]]. They can use any of the system's resources and operate in [[kernel space|Kernel (Operating Systems)]].
''Local page replacement'' requires that each process take a frame from only its own set of allocated frames. See also: * [[Global Page Replacement|Operating System Global Page Replacement]]
The ''many-to-many multi-threading model'' multiplexes multiple user threads to a smaller or equal number of kernel threads. The number of kernel threads may be specific to a particular application, or a particular machine. This model suffers from neither of the shortcomings of the one-to-one or many-to-one models, and developers can create as many threads as necessary. Here is an [[image of how this model might look|$:/Image - Many-to-many multi-threading model]].
The ''many-to-one multi-threading model'' maps multiple [[user threads|Operating System User Threads]] to a single [[kernel thread|Operating System Kernel Threads]]. This makes it so only one of the user threads can access the kernel thread at a time, which also means that multiple threads are unable to run in [[multicore systems|Multicore Systems]]. Very few systems continue to use this model. Here is an [[image of how this model might look|$:/Image - Many-to-one multi-threading model]].
''Memory allocation'' is done in various ways in an [[operating system|Operating Systems]]. To be clear, what is being discussed here is RAM, not secondary storage. This could also be called ''operating system memory management''. * Contiguous memory: This is just using memory the same as it is mapped in [[physical memory|Physical Memory Addresses]]. * Multiple-partition method: One way is to divide memory into several fixed-sized ''partitions'', where each partition may contain exactly one process. When a partition is free, one is selected from the input queue, and is loaded into the free partition. * Variable-partition method: The operating system keeps a table indicating which parts of memory are available and which are occupied. Then each available section is called a ''hole''. Some strategies for finding a good hole to fill: ** First fit: Allocate the first hole that is big enough. This is generally faster than the others. ** Best fit: Allocate the smallest hole that is big enough. In this case the entire list must be searched. ** Worst fit: Allocate the largest hole. This is useful to produce the largest left over hole. Both best fit and worst fit suffer from [[external fragmentation|Operating System Memory Allocation > External Fragmentation]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Operating System Memory Allocation'>> </div>
''External fragmentation'' exists when there is enough total memory to satisfy a request but the available spaces are not contiguous. Some statistical analysis has been done, and for every $$N$$ allocated blocks, $$0.5 N$$ will be lost to fragmentation. That is a third of memory! This is known as the "50 percent rule". One solution to external fragmentation is to assign memory in blocks. Even though a block may be more than the memory needed for an application. The amount of memory left over internally for a block is called ''internal fragmentation''. One other solution to external fragmentation is ''compaction'', where all memory used is smashed together. This is not always possible though. Another solution to external fragmentation is to permit the [[logical address space|Logical Memory Addresses]] to be non-contiguous. Two techniques can be used for this: [[paging|Operating System Paging]], and [[segmentation|Operating System Segmentation]].
The ''memory management unit'' or ''MMU'' maps [[virtual addresses|Logical Memory Addresses]] to [[physical addresses|Physical Memory Addresses]].
A ''thread'' is part of a [[process|Operating System Processes]], and contains its own [[registers|Register]], [[stack|Program Runtime Stack]], thread ID, program counter, and register set. Multiple threads can be present in a ''multi-threaded process'', where each shares the process's [[text storage|Operating System Processes]], [[data storage|Operating System Process Data Storage]], and other operating system resources such as files and signals. Multi-threading takes advantage of [[multicore systems|Multicore Systems]]. The speedup for a multi-threaded process will always be dependent on the percentage of the process that is serial, or cannot be done [[in parallel|Parallelism]]. Some advantages of multi-threading are below: * Responsiveness * Resource sharing - Processes need to share data through [[communication system calls|Communications System Calls]]. Threads share the memory and resources of the process in which they belong, so it allows much more efficient usage of space. * Economy - It is much more efficient to create a thread than it is a process. * Scalability - Single threaded processes can only run on one processor core. Multi-threaded ones can run on multiple. Some challenges for programming multi-thread applications are below: * Identifying tasks - Finding areas that can be divided into separate, concurrent tasks. * Balance - While finding tasks, programmers must ensure that the tasks perform equal work of equal value. Otherwise it may not be worth the cost to run the task on another thread. * Data splitting - The data accessed and manipulated by the tasks must be divided to run on separate cores * Data dependency - When one task depends on the data of another, the programmer must ensure the system is synchronized. * Testing and debugging - When a program is running in parallel, many different execution paths are possible. The idea for programming, is to design for [[concurrency|Concurrency]], and let the hardware do what it can. Threads get mapped to ''light weight processes'' or ''LWPs'' in Linux. See also: * [[Image of a multi-threading process|$:/Image - Example of a multi threading process]] * [[Image of a multi-threaded server architecture|$:/Image - Multi-threaded server architecture]] * [[Parallelism|Parallelism]] Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Operating System Multi-threading'>> </div>
Some different types of multi-threading models are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Operating System Multi-threading Models'>> </div>
A ''race condition'' in multi-threading is when two or more threads can access shared data and try to change it at the same time.
''Mutex locks'' are ''mutually exclusive locks''. A mutex lock generally has two functions: * `acquire(lock)` * `release(lock)` The rule for a mutex lock is that only one process or thread should be allowed to have that. It would be useful, and more effiicient than sitting on a while loop, to send a [[signal|Operating System Signals]] to all threads that may want the lock once the lock is released.
The ''one-to-one multi-threading model'' maps each [[user thread|Operating System User Threads]] to a [[kernel thread|Operating System Kernel Threads]]. The only drawback to this model is that creating a user thread requires creating a corresponding kernel thread, which can impact performance of a system. [[Linux|Linux]], and Windows use this model. Here is an [[image of how this model might look|$:/Image - One-to-one multi-threading model]].
''Operation management'' activities are kind of things that the user doesn't see. This is contrary to [[operating system services|Operating System Services]] which the user does typically see. An example of a few of these are below: * Resource allocation (Exclusive vs. non-exclusive). This is where the operating system decides what resources are allocated between multiple programs that are open at once. ** Exclusive resources are where there are a limited amount of something, such as CPUs. A single CPU core can only run one thing at a time. It can switch to different tasks, but two cannot be running at the same time. ** Non-exclusive resources are something like a mic. Two different things can be listening to the mic at the same time. * Accounting - This is where multiple users accessing the system need to be handled. The system needs to keep track of who is logged in, how much disk space they are using, how much CPU they are using, etc. If accounting isn't setup correctly then if you are using a super computer, anyone can request all the resources. It is good if certain people have more permissions than others, such as researchers and students. * Protection and security - Making sure the system is only being used by those it is supposed to be used by. Also making sure that programs are doing what they are supposed to, and not formatting the hard drive or something else strange like that.
''Page faults'' are triggered when a [[page table|Operating System Page Tables]] is accessed and the page is not in memory. This means it needs to be retrieved from secondary storage, and loaded into main memory. Page faults happen pretty often with [[demand paging|Operating System Demand Paging]]. When a page is loaded into main memory, and there isn't any free place to put it, [[page replacement|Operating System Page Faults Page Replacement]] occurs. Here is an [[image of the general flow of page faults|$:/Image - Flow of page faults]]. When page faults occur, the system has to be careful of restarting a process after loading the right page into memory. This is because certain machine language instructions can happen two times which could cause [[side effects|Macro]].
''Page replacement'' occurs when a [[page fault|Operating System Page Faults]] occurs and there isn't any place to put the incoming page from secondary storage. So a "victim" page needs to be chosen. First the victim is swapped out to the secondary storage. Then the [[page table|Operating System Page Tables]] is changed so that the page is no longer valid. Then the swap for the desired page is brought in, and the page table is updated for the new page. Here is an [[image of this process|$:/Image - Page fault page replacement]]. A lot of times the page table will have a ''modified bit'' this is useful for when a page has been swapped out because then the page doesn't need to be written to secondary storage again. Or something along those lines. It wasn't quite clear what it was for. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Operating System Page Faults Page Replacement'>> </div>
''Page tables'' contain the base address of each [[page|Operating System Paging]] in [[physical memory|Physical Memory Addresses]]. For example a 4 bit address could be `0011`. Where this indicates the first page (zeroth page), and an offset of 3. The operating system maintains a copy of the page table for each process, just as it maintains a copy of the instruction counter and register contents. A potential issue with direct paging may result in a page table that is too large to store locally or too large to cache properly. Some solutions to this are below: * ''Hierarchical Paging'': Page the page table! This could also be called a ''forward mapped page table''. Here is an [[example of how this might look|$:/Image - Hierarchical Page table]]. For example, a 32 bit address could be split up into a 12 bit address for the first page table, and a 10 bit address for the second page table. This seems like the [[hashing collision chaining method|Hashing Collision Chaining Method]]. * ''Hashed page tables'': This just uses a [[hash table|Hashing]] out right, so it uses a [[hashing function|Hashing Functions]]. * ''Inverted page tables'': A normal page table needs to map all possible pages into the table in order to function. An inverted page table maps just the pages that are being used, by using an array, where the index of the array location, multiplied by the frame size is the physical address location. Here is an [[image of how inverted page tables work|$:/Image - Inverted page tables example]]. This assumes that physical memory is being used contiguously for the frames, this can be okay because the goal is to maximize the usage of memory. See also: * [[Page table with hardware|$:/Image - Paging hardware example]] * [[Page table with memory mapping|$:/Image - memory mapping pages]]
The basic method for implementing ''paging'' is to break [[physical memory|Physical Memory Addresses]] into fixed sized blocks called ''frames'', and breaking [[logical memory|Logical Memory Addresses]] into blocks of the same size called ''pages'', they are both mapped 1 to 1. Because frames and pages are all the same size, [[external fragmentation|Operating System Memory Allocation > External Fragmentation]] is virtually eliminated. When a process is to be executed, its pages are loaded into any available memory frames from their source. Every address generated by the CPU is divided into two parts: a ''page number'' (p), and a ''page offset'' (d). Here is an [[example of how that might look with the hardware|$:/Image - Paging hardware example]]. The page number is used as an index into a [[page table|Operating System Page Tables]]. Here is an [[example of how the memory mapping might look|$:/Image - memory mapping pages]]. The page size is defined by the hardware, and is a power of 2 varying between 512 bytes to 1GB per page. In general, modern operating systems use 4KB for page size. The ''frame table'' has one entry for each physical page frame indicating if it is free or allocated, and if it is allocated, to which page of which process or processes. Paging increases the [[context-switch|Operating System Process Context Switching]] time. See also: * [[Paging Hardware Support|Operating System Paging Hardware Support]] * [[Paging Protection|Operating System Paging Protection]] * [[Shared Pages|Operating System Paging > Shared Pages]]
In a situation where multiple instances of the same program are open, ''shared pages'' can be used where the code is the same among those instances. Here is an [[example of how this might look|$:/Image - Shared pages]]. This requires that the shared pages are not edited.
''Paging hardware support'' is where the hardware helps support paging. * One approach is to have a set of registers which each store a physical address for a page used by the current process. This is prohibitively expensive to do in terms of register usage, but it very fast of course. * Another way to do this is to store the page table in memory, this is called a ''Page-Table Base Register'' or ''PTBR''. This is kind of slow. * Another way implemented by most modern operating systems is to use a ''Translation Look-aside Buffer'' or ''TLB'' with ''associate memory'' which is essentially a constant time [[hash table|Hashing]]. In associative memory keys are paired with values.
Let `mem_access` be the time to access something in main memory and `page_fault_time` be the total time to detect a [[page fault|Operating System Page Faults]], make space for it in memory, and move it to memory. Given that a page may fault or not, ''Effective Access Time'' or ''EAT'' can be computed which is (1 - p)mem_access + p * page_fault_time. Where p is the probability that the page will fault from 0 to 1.
Some ways to implement ''paging protection'' are below: * Within the [[TLB|Transition Look-aside Buffer (TLB)]], a second value can be put alongside the [[ASIDs|Transition Look-aside Buffer (TLB)]] which represent the IO permissions that a process has on that page. * Another thing that could be added is a valid-invalid bit for each page entry. This prevents an application from accessing a page that is not assigned to it.
''Priority inversion'' is where a low priority [[process|Operating System Processes]] P1 has some resource and doesn't get much CPU time because it is a low priority. Then a much higher priority process P2 comes along, and needs the same resource, but it has to wait until the low priority process completes. One solution is in this case the priority of P1 should be changed to also be a high priority until it finishes and releases the resource. This is ''priority inheritance'' where if a resource is needed by a high priority process, then other users of that resource should inherit the high priority.
When an interrupt occurs, the system saves the current ''context'' of the [[process|Operating System Processes]] running on the CPU to the process's [[PCB|Operating System Process Control Blocks]]. The context includes the value of the CPU registers, the process state, and memory management information. Switching the CPU to another process requires doing a state save of the current process, and state restore of the other process, which is called a ''context switch''. This is pure overhead time because no useful work is being done. A typical speed is less than 10 microseconds.
''Process control blocks'' (''PCB'') or ''task control blocks'' contain information on a particular [[process|Operating System Processes]] in an [[operating system|Operating Systems]]. The different kinds of information that a block contains are below: * [[Process state|Operating System Processes]] * [[Process ID|Operating System Process pid]] * Program counter * CPU [[registers|Register]] * CPU scheduling information - Process priority, pointers to scheduling queues. * Memory management information such as a list of open files, memory limits, paging locations. This is all determined by the operating system. This allows the operating system to check if any other PCB is using a file before it can be written to by another process. * Accounting information - The amount of CPU and real time used, time limits, account numbers, process numbers * I/O Status information * On a system that supports threads, the PCB has thread information as well. Here is an [[image of how a CPU may swap out PCBs to be processed|$:/Image - CPU PCB swapping]]. Process control blocks take up quite a bit of space, so normally these are implemented where process control blocks are allocated, and kept in a pool of those structs. Then when one is not needed, it is emptied out and put back in the pool, when one is needed, it is filled with the right data and used.
A [[process's|Operating System Processes]] ''data storage'' stores information on constants, or static variables. So this is the static component of the [[program run-time stack|Program Runtime Stack]]. This data can be combined globally with other processes in the operating system because they will all store different constants and static variables, as long as they are identified by the process which needs them. See also: * [[Image of data storage in perspective to an entire process's storage|$:/Image - How a process looks in memory]]
''Dispatch latency'' is the amount of time required for the scheduling dispatcher to stop one process and start another. The best way to keep dispatch latency low is [[preemptive kernels|Operating System Process Synchronization Critical Sections]]. Here is an [[example of dispatch latency|$:/Image - Dispatch Latency]].
''Event latency'' is the amount of time that elapses from when an event occurs to when it is serviced. Here is an [[example of event latency|$:/Image - Event latency]].
''Interrupt latency'' is the period of time from the arrival of an interrupt at the CPU to the start of the routine that services the interrupt. One important factor for interrupt latency is how long interrupts may be disabled while kernel data structures are being updated. [[Real-time systems|Hard Real-Time Processing Systems]] require that this amount of time is very, very short. Here is an [[example of interrupt latency|$:/Image - Interrupt latency]].
''Load balancing'' attempts to keep workloads evenly distributed across all processors in an [[SMP|Symmetric Multiprocessing (SMP)]] system that has each processor with its own ready queue. It is only applicable when each processor has it's own ready queue, because if all processor's had a unified queue, then when a processor became idle, it would just grab the next task off the common queue. In most operating systems, it is more common that each processor has its own ready queue. There are two general approaches to load balancing: * Push migration: A specific task periodically checks the load on each processor and if it finds an imbalance, evenly distributes by pushing processes from an overloaded processor to a less-busy one. * Pull migration: An idle processor pulls a waiting task from a busy processor. Push and pull doesn't need to be mutually exclusive, and most systems use both. Load balancing often counteracts the benefits of [[processor affinity|Operating System Process Processor Affinity]], interestingly enough.
''Locks'' are a way to limit access to a resource. One method of setting up a lock, is to use a `test_and_set` function. The requirement for this though is that the function is run as a [[non-preemptive kernel|Operating System Process Synchronization Critical Sections]] process. Another method is to use a `compare_and_swap` function which is similar to the `test_and_set` function but swaps a given value with another given value. So it tests to make sure that the value is the first given value, before swapping the second value. The function returns a boolean. See also: * [[Mutex Locks|Operating System Mutex Locks]]
The ''pid'' or ''process id'' of a process is unique for each process in a currently running operating system. Typically the `pid` is an integer, and is contained in the process's [[PCB|Operating System Process Control Blocks]]. Typically the process with `pid` of 1, is the [[init process|Operating System init Process]].
''Processor affinity'' is where a process will stay on the same processor or core it started on until it is finished. That is, the process has an affinity for the processor on which it is currently running. This is done because in order to move a process to a different core, it needs to invalidate the cache of the core it is moving from, and repopulate the cache of the core it is moving to. How cache invalidation and population works isn't exactly clear yet. When an operating system has a policy of keeping a process running on the same core it started on, but it is not guaranteed to do so, it is called a ''soft affinity''. Some system support a ''hard affinity'' which means it will definitely stay on the core in which it started. Typically affinities come into play and are helpful in situations such as systems with [[non-uniform memory access|Non-Uniform Memory Access (NUMA)]].
A ''process scheduler'' moves [[processes|Operating System Processes]] between different [[scheduling queues|Operating System Scheduling Queues]]. Some different types of process schedulers are below: * ''Long-term scheduler'' or ''job scheduler'' will select processes from disk storage and load them into memory for execution. The long term scheduler runs relatively slowly, and runs once every couple minutes or so. ** The long term scheduler controls the ''degree of multiprogramming'' which is the number of processes in memory. If the degree of multiprogramming is stable, then that means that the average rate of process creation is equal to the average departure rate of processes. ** It is important for the long term scheduler to choose a good mix of [[I/O bound processes|Operating System Processes]] and [[CPU bound processes|Operating System Processes]]. ** On some systems, the long-term scheduler is absent or minimal. For example on Unix, and Microsoft Windows. ** Long term schedulers are typically implemented on servers * Sometimes a ''medium-term scheduler'' is advantageous, which can reduce the degree of multiprogramming and therefore the contention on the CPU or I/O operations. This is called [[swapping|Operating System Swapping]]. * [[Short-term Scheduler|Operating System Short-term Scheduler]] Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Operating System Process Schedulers'>> </div> See also: * [[Thread Scheduling|Operating System Thread Scheduling]]
''Starvation'' is when a process is stuck and cannot get CPU or I/O time. It can be where a process gets stuck on a [[semaphore|Semaphore (Computer Science)]] and cannot proceed.
''Process synchronization'' is where the concurrent operation on the same data between processes is looked at and plans are put into place so that those operations do not conflict with each other. An example of how two operations could conflict with each other is the [[producer consumer problem|Producer-Consumer Problem]]. There are different mechanisms in the [[Linux kernel|Linux Kernel]] for providing low-level synchronization. Some of those are atomic integer operations with `arch/*/atomic.h`, spinlocks (which aren't great because they are busy waiting), and mutex support with `kernel/locking/mutex.c` Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Operating System Process Synchronization'>> </div>
A ''critical section'' is a segment of code in a process where the process is changing some common variables, updated a table, writing a file, etc. Anything that multiple processes might be accessing. An objective of process synchronization is that no two processes are executing in the critical section at the same time for a particular resource. An image of this is below: [img width=400 [https://i.imgur.com/fwFABom.png]] The entry section is where the code makes a request to enter the critical section. The exit section is the section following the critical section. To solve the critical section problem, the solution must have the following requirements: * Mutual exclusion: If a process is executing its critical section, then no other processes can be executing their critical section * Progress: If no process is executing their critical section, and some processes wish to enter their critical section, only those that are in their entry section may participate in deciding which process will enter the critical section. In other words, if no other processes are in their critical section, and one is ready to enter, then it will enter. * Bounded waiting: This one seems like it wouldn't really come up if the code was written correctly.... There exists a bound or limit to the number of times that other processes are allowed to enter their critical sections after a process has made a request to enter its critical section. Two general approaches are used to handle critical sections in operating systems: * ''Preemptive Kernels'' - Allows context switching for kernel processes. * ''Non-preemptive Kernels'' - This is where no [[context switching|Operating System Process Context Switching]] is allowed for a kernel process. One solution to the critical section problem is [[Peterson's Solution|Operating System Process Synchronization Critical Sections > Peterson's Solution]]
''Peterson's solution'' is a solution to the critical section problem under the assumption that the `turn = j` statement is atomic in assembly. In other words, the load/stores are atomic. It can be shown below for two processes: [img width=400 [https://i.imgur.com/0p7eCFP.png]] Where each process shares two common data items: ``` int turn; boolean flag[2] ``` The `flag[i]` indicates that process $$i$$ wants to enter its critical section. `turn` indicates which process is allowed to enter its critical section. `j` is the other process' index in this example. It seems that `j` could be substituted for simply another other process' value. So maybe it could be incremented in the `turn = j` statement. This would make the statement non-atomic though... So this solution is only good for two processes?
In general, it can be said that a program's execution is a ''process'' or in the past when operating systems first started, they were called ''jobs''. In [[Linux|Linux]], processes are called ''tasks''. Processes encapsulate a program's state such as data, program code, current instruction, resource allocation, etc. Processes have attributes, such as owner, priority, etc. Each process in an operating system is represented by a [[process control block|Operating System Process Control Blocks]]. A process is essentially an instance of an [[executable|Operating System Executables]]. Processes are handled by [[process control system calls|Process Control System Calls]]. Processes need storage for different kinds of data which are listed below. Here is an [[image of how a process generally looks in memory|$:/Image - How a process looks in memory]]. * The [[run-time stack|Program Runtime Stack]] can't be stored gloabally because each process has a different execution stack that it needs to keep track of. * The [[heap|Heap Memory (Programming Languages)]] can be combined globally because programs will add and remove data specifically as needed. In theory, programs will not access pointers that they do not own, so this is fine to allow all programs to use the heap at the same time. * [[Data storage|Operating System Process Data Storage]] * Text is the program code. This can't really be combined globally in the operating system among all processes because each process needs to know where it is currently in the program code. Here is an [[image of generally the different states that a process can have|$:/Image - Different process states]]. Different operating systems will have more or less states than this image. There are generally two overall states for a process, [[CPU bursts|Operating System Processes CPU Bursts]] and [[I/O bursts|Operating System Processes I/O Bursts]]. There are two types of processes in perspective of communication as well: * ''Independent processes'', which do not share data * ''Cooperative processes'', which do share data. This is useful for information sharing, computation speedup, and modularity. Together this makes cooperative processes convenient. Processes can communicate with [[communication system calls|Communications System Calls]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Operating System Processes'>> </div>
''Asymmetric Multiprocessing'' makes it so all scheduling decisions, I/O processing, and other system activities are handled by a single processor which is the master server. The other processors only execute user code.
A ''monitor'' is a class where calls to the functions are mutually exclusive between [[threads|Operating System Multi-threading]] or [[processes|Operating System Processes]], so only one thread or process can run a function in the monitor at one time. The monitor could be implemented using a [[mutex lock|Operating System Mutex Locks]] or [[semaphores|Semaphore (Computer Science)]] depending on the need. A monitor is useful because it encapsulates the logic of making sure that a single function executes independently, making it so a mistake in programming doesn't occur when other programmers need to use the logic. The semaphores or mutex locks are contained within the monitor. Below is an example of a monitor in no particular language, although it is kind of like Java: ``` class DiningPhilosophers { enum { THINKING, HUNGRY, EATING } state[5]; cond_t self[5]; void pickup(int i) { state[i] = HUNGRY; test(i) } } // NOT DONE ``` See also: * [[Java Monitors]]
''CPU bursts'' are where the [[process|Operating System Processes]] just wants to sit on the CPU and do its calculations. This corresponds to a ''CPU bound process'', which means it will spend most of its time doing calculations.
''I/O bursts'' are where it just kind of waits for the I/O to resolve. This corresponds to an ''I/O bound process'', which means it will spend most of its time doing I/O operations.
''Queueing diagrams'' are used to show how resources and queues interact in an operating system. Rectangles indicate queues, and ovals indicate resources. Here are some examples of queuing diagrams: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Operating System Queueing Diagrams'>> </div>
Some different ''scheduling queues'' are below: * ''Job Queue'' - When a process enters the system, it is put into a job queue. * ''Ready Queue'' - The processes that are residing in main memory and are ready and waiting to execute are kept on a list called the ready queue. Whenever a process from the ready queue is given CPU time, it is said that the process is ''dispatched''. * ''Device Queue'' - The list of processes waiting for a particular device. Each device has it's own device queue. Here is an [[image of how a few different scheduling queues work|$:/Image - Interaction between different scheduling queues]]. See also: * [[Operating System Queueing Diagrams]] * [[Operating System Process Schedulers]]
''Segmentation'' is a [[memory management|Operating System Memory Allocation]] scheme. A [[logical address|Logical Memory Addresses]] in this scheme is identified by a two tuple, that contains the segment number and the offset. A ''segment table'' maps logical addresses to their [[physical addresses|Physical Memory Addresses]]. Each entry in the segment table has a segment base and a segment limit. The segment base contains the starting physical address, and the segment limit contains the offset. Here is an [[example of how this mapping might look|$:/Image - Segment table mapping]]. [[External fragmentation|Operating System Memory Allocation > External Fragmentation]] still exists with segmentation because the segments can be any size.
An ''operating system service'' is some feature that requires a lot of low level management, which an operating system typically provides. Some generalized operating system services which are basically required for an [[operating system|Operating Systems]] to be useful are: * User Interface or [[Shells|Shell (Computing)]] * Program execution - If you click on a file, it loads into memory, the CPU needs to be used to run it, what the current line is, etc. It needs to allow switching between these programs as well. * I/O operations - Reading from the mouse, reading from the keyboard, writing to a printer, SD Card, flash drive, etc. I/O is a very general idea, it means everything connected to the system. * File-system manipulation - The file system needs to be able to be manipulated. * Communications, local or networked * Error detection - Such as the blue screen of death™. Here is an [[image of how these services play into the grand scheme of things|$:/Image - Operating system services]].
The ''short-term scheduler'' or ''CPU scheduler'' will select among the [[processes|Operating System Processes]] in memory to be allocated to the CPU. The short term scheduler must be fast, and normally runs at least once every 100ms. Typically processes run in cycles of a [[CPU burst|Operating System Processes CPU Bursts]] followed by an [[I/O burst|Operating System Processes I/O Bursts]]. The job of the short term scheduler is to make these lapses in time useful by swapping out processes. This is sometimes called the ''interval scheduler problem''. The CPU scheduler makes a decision under the following circumstances: # When a process switches from a running state to a waiting state, for example when it uses `wait()`. # When a process switches from the running state to the ready state, like when an interrupt occurs # When a process switches from the waiting state to the ready state, like at completion of I/O # When a process terminates. When scheduling occurs based on just 1, and 4, the scheduling scheme is called ''nonpreemptive'', or ''cooperative''. Otherwise it is ''preemptive''. Newer versions of windows use preemptive scheduling, and so does Mac OSX. Preemptive schedulers can cause issues when data is being edited concurrently. These issues are covered in [[process synchronization|Operating System Process Synchronization]]. One component of a CPU scheduler is the ''dispatcher''. The dispatcher handles [[switching context|Operating System Process Context Switching]], switching to user mode, and jumping to the proper location in the user program to restart that program. The time it takes for the dispatcher to stop one process and start another running is known as the ''dispatch latency''. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Operating System Short-term Scheduler'>> </div>
A ''signal'' is a message that can be broadcast from one [[process|Operating System Processes]] or [[thread|Operating System Multi-threading]] to another. All signals follow the same pattern: # A signal is generated by the occurrence of a particular event # The signal is delivered to a process # Once delivered the signal must be handled Signals can by [[synchronous|Synchronous]] or [[asynchronous|Asynchronous]]. * Synchronous signals: An example of a synchronous signal is illegal memory access or division by 0. If a running program does either of these things, a signal is generated. Synchronous signals are delivered to the same process that originated the signal, which is why they are called synchronous. * Asynchronous signals: When a signal is generated by an external event to the running process, it is received asynchronously. Examples of this are pressing `ctrl+C` to cancel a process, or having a timer expire. A signal may be handled by a default signal handler, or a user-defined signal handler. Some functions for signals are below: * `kill(pid, signal)` - This is the standard UNIX function for delivering a signal ** Returns an int, it isn't clear yet what it will be ** `pid` should be a [[pid_t|C pid_t Data Type]] data type. ** `signal` should be an int data type and indicates the signal to send. * `pthread_kill(tid, signal)` allows a thread to be sent a signal ** Returns an int, it isn't clear yet what it will be ** `tid` should be a `pthread_t` data type ** `signal` should be an int data type * `signal(signal, handler)` Sets up a thread or process to accept a particular signal, and do something when it comes in ** Returns a `sighandler` data type. What is a sighandler data type? ** `signal` should be an int type and indicate the signal ** `handler` should be the name of a function that returns `void` and accepts an integer type, which would be the `signal`. * `raise(signal)` will send a signal to the current process or thread ** Returns an int of some kind? ** `signal` should be an int data type and indicate the signal
''Static linking'' is where libraries for a program need to be loaded into memory (or the functions used) when the program is started up. This is contrary to how [[dynamic linking|Dynamically Linked Libraries (DLLs)]] works.
''Swapping'' is typically done by a [[medium-term scheduler|Operating System Process Schedulers]], and swaps [[processes|Operating System Processes]] temporarily out of memory to a ''backing store''. Swapping makes it possible for the total physical address space of all processes to exceed the real physical memory of the system, thus increasing the [[degree of multiprogramming|Operating System Process Schedulers]] in a system. One useful feature of swapping is that if a process is swapped into the backing store, and it is closed in main memory, then it is needed again later on, just the changes can be swapped back in, greatly lowering the amount of data needing to be changed. Mobile operating systems typically avoid swapping because of the high storage overhead. Although mobile operating systems do support paging. See also: * [[Example queueing diagram of how swapping might work on an operating system|$:/Image - Example of swapping on an OS]] * [[Example of swapping to a backing store|$:/Image - Swapping to a backing store]]
''Synchronous threading'' is based on the [[normal synchronous definition|Synchronous]] and means that a parent thread will create one or more children, and then must wait for all of its children to terminate before it resumes. This is also called the ''fork-join strategy''. See also: * [[Operating System Asynchronous Threading]]
''Thread libraries'' provide programmers an [[API|Application Programming Interface (API)]] for creating and managing threads. Three main thread libraries exist today: * [[Pthreads|POSIX Pthreads Library]] * [[Windows|Windows Threads]] - Kernel level library * [[Java|Java Threads]] - This thread library is usually implemented with the underlying operating systems thread library. So Pthreads on Linux, and the Windows API on Windows. Pthreads and the Windows API allows any data declared globally to be shared among all threads belonging to the same process.
''Thread pools'' are a method of [[implicit threading|Operating System Implicit Threading]] and involve setting aside a certain number of threads when a process starts, and have them sit and wait for work. Once a thread completes its work, it returns to the pool. This makes it so resources don't get completely used up by unbridled thread creation. If no thread is available, the process waits until one becomes free. The number of threads to set aside can be done heuristically or based on factors such as the number of CPUs in the system. Some thread pool architectures can dynamically adjust the number of threads in the pool. This provides benefits such as having less memory usage when the process load is low. The [[factory design pattern|Factory Method Design Pattern]] may be a good design pattern for a thread pooling class. The java.util.concurrent package is a thread-pool utility.
''Thread scheduling'' involves mapping from [[user-level threads|Operating System User Threads]], to the [[kernel-level threads|Operating System Kernel Threads]]. If there is a [[many to one threading model|Operating System Many-to-One Multi-threading Model]], or a [[many to many threading model|Operating System Many-to-Many Multi-threading Model]], then the threads must be mapped (scheduled) within a process. This is called a ''Process-Contention Scope'' or ''PCS''. If there is a [[one to one threading model|Operating System One-to-One Multi-threading Model]], then nothing needs to be mapped because each user thread already has a kernel thread and can be scheduled on the CPU. This is called a ''System-Contention Scope'' or ''SCS''. When using [[pthreads|POSIX Pthreads Library]], SCS or PCS can be easily chosen when setting up the thread attributes. Here is an [[example of doing this|$:/Image - Setting up SCS or PCS with pthreads]].
''User threads'' are supported above the [[kernel|Kernel (Operating Systems)]] and managed without kernel support.
''Virtual memory'' represents a complete detachment from physical memory requirements. Memory is unlimited and starts at 0. Virtual memory depends on the idea of [[paging|Operating System Paging]] with some small differences. Multiple pages can map to the same physical address. Because of this, there is not guarantee of any page being in actual physical memory at any time. Some benefits of virtual memory are: * No limit to the memory size * It completely decouples logical memory from a specific physical device. Instead of a [[page table|Operating System Page Tables]], virtual memory uses a ''memory map''. The memory map says if the particular page is in [[physical memory|Physical Memory Addresses]], and where it is if so, or it says where it is in the [[backing store|Operating System Swapping]]. Here is an [[example of how virtual memory works with paging, the memory map, and the backing store.|$:/Image - Virtual Memory example 1]]. Virtual memory also uses some special paging features like [[shared pages|Operating System Paging > Shared Pages]].
''Zombie processes'' are [[processes|Operating System Processes]] that are infinitely waiting. This could occur if a parent process calls [[wait|C wait Function]] on a child process that has already terminated.
The ''operating system'' was initially considered a ''monolithic resource manager'' where it acted as a [[multiplexer|Multiplexers]] between all the different resources it connected to such as processors, memory, devices, and files that were used by software. This got very very complicated as time went on, until a new paradigm needed to be established. Newer operating systems are considered virtual machines. The entire operating system can be seen as a virtual machine managing a bunch of virtual resources which represent real resources. So this makes the operating system a software extension to the computer hardware that makes the hardware more amenable to user programming. Here is an [[example of the computer system as a whole, and the operating system more specifically|$:/Image - Operating system and computer system layers]]. The layers of the operating system are elaborated below: * [[Kernel|Kernel (Operating Systems)]] * [[Device Managers and Drivers|Device Managers and Drivers]] * [[Middlewares|Middlewares (Operating Systems)]] * Applications: A special purpose operating system will have pre-installed applications to fulfill their objective. A general purpose operating system allows users to develop and to install applications. * [[Shell|Shell (Computing)]] Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Operating Systems'>> </div>
An ''operation pattern'' specifies a single system operation @b:142 consisting of many different parts of models. Those parts are listed in the note. Operation patterns use sequence diagrams @b:109 to determine some of this information required. Basically an operation pattern reveals what is actually happening when a system operation occurs and when the system events @b:143 are output. Basic steps to create an operation pattern are in the note. <<_note """ Eight parts of an operation pattern: - Operation: Name of the operation from the sequence diagram @b:109 - Description: Informal description from the requirements @b:144 - Input: Input parameters from sequence diagram and system class model @b:97. - Reads: Only read sets of links and objects from system class model - Changes: Sets of objects and/or links that may be changed from system class model - Sends: Generated system events from sequence diagram - Pre: Assumptions about system pre-condition from requirements - Post: Post-conditions as changes to the objects from system class model and sequence diagram Steps to develop an operation pattern: - Operation has a name and gets an informal description -- Name is taken from the sequence diagram -- Verbal description of the pre-condition and the effects -- An example is here: https://drive.google.com/open?id=1A6djFBCPtwwV9onAomsyGffE5Fx7TCsd - Specify the input and sends parts -- The input parameters from the sequence diagram are used as the input part of the operation pattern -- Types are taken from the system class diagram, while double checking them. -- The system events @b:143 and target actors are taken from the sequence diagram and noted in the Sends part. -- An example of building the input and sends is here: https://drive.google.com/open?id=1uzxFCgBC6VEJjPcTSQKy6gHQ2lctZj07 - Specify the Reads and Changes parts -- Identify appropriate control-class, no boundary classes should be involved. -- All relevant classes and associations have to be identified using the system class model. This could end up being a summary of the classes relevant for the system operation. An example is here: https://drive.google.com/open?id=1quTTRFF-OzqAtw2MqGwJZwiXZIletU40 -- Decide on what is changed. This could be a change in an attribute, or the number of objects/ object associations themselves. Keep in mind secondary effects of object association changes, there might be a lot. An example of a changes section is here: https://drive.google.com/open?id=1YzBsAUGSipT_hd0b8HijKPd7YSCSYMdM. More details are needed on the syntax. "type", and "with" are keywords. -- Decide on what is read. An example read operation pattern is here: https://drive.google.com/open?id=1Sy9vfBLNbwfBqSO09I79GiwuW6lcrHeQ. As shown in the example, just one "s: ShopManagement" object is stated while the "CustomerMangement" object is shown as a tuple. This is because the whole operation should be happening through one controller, and that shop management controller needs to communicate with a connected customer management object. Each set of links or relations needs to be stated if it is read separately. This is shown by the repeated use of "Informs" and "Knows" for example. "Sells" is in the read section because it is used in the changed section, but it is not changed, rather just read. - Specify pre-conditions -- Possibly use implicit keyword and that might be it - Specify post-conditions -- Post conditions can be developed using the associated sequence diagram. Conditional parts of the sequence diagram will be the primary parts of the post condition after the dot. An example of a beginning post condition is shown here: https://drive.google.com/open?id=17laxtKo3KpR9rZ9uS-GKpm-skFGMf3q5. Build the initial post conditions -- Next try to fill in the post conditions with pseudo instructions. An example of this is here: https://drive.google.com/open?id=1w6vLQxSh_jLJSYzT7Ajnb8Y2jnj8mXHa -- Next try to describe the basic conditions with logical syntax. Use the previously defined variables in the reads and changes blocks, then the let block to define new ones. -- Keep in mind that the whole Post part is one single predicate which means that the whole logical description of the post conditions is chained together. An example of this concept is shown here: https://drive.google.com/open?id=1M4zFw0IYlWMQOLlbJbV3GMzxDN4dbMC6. Notice how optional conditions are chained together with logical ands. This is because the implies @b:147 logical operator is used for each one of the conditions. -- Some examples of higher level things are here: https://drive.google.com/open?id=1SQqKylY7aZzHMQJs13wXQQTCtolczle1. - Final result example is here: https://drive.google.com/open?id=1yeKhwuWHa_xyQM_keQ7Oug8AwvZI2xvf and here: https://drive.google.com/open?id=1kZoNMaxN3ik8-5gKY-6i0QziE-uemVik Operation Pattern Syntax Keywords - Notation for operational patterns are summarized here: https://drive.google.com/open?id=1LKiAN9f4gkCNs7VuO5utGXgVh0Qbqpz5 - "with" means basically a dot meaning fulfills in Z-notation @b:146. With is identifying an actual object, and can only be used in the reads or changes sections if at most one object is to be changed or read. In other words the object is uniquely determined. With implies a pre-condition that the object it is specified on, does in-fact reside in the system. - "type" means that a new object is being created and is housed in the changes section. This will normally proceed some kind of identification like "p_order_new : PurchaseOrder type". This says that a new object called p_order_new is being created of type "PurchaseOrder". - "implicit" is used in the pre-conditions section and means that the objects that have been specified using "with" in the reads and changes section are expected to exist. An example of everything that an implicit statement can represent is shown here: https://drive.google.com/open?id=107ZNDoE_JvjsHkFeNl3Wq8GwKqlbrAm3 - "True" can be used in the pre-condition to indicate there are no pre-conditions. - "no_effect" means nothing else and is usually put in post conditions to indicate the end of a condition. - "is_sent[]{}" is a way to send a message from an operation pattern. Inside the curly brackets a message can be denoted. Optionally normal brackets can be used before the curly brackets to create an area to put an alternate location or actor to send the message to. - "new" is used in the post conditions block and indicates a specific action with objects. First the object name is stated such as p_order_new then the keyword "new" which means p_order_new' = PurchaseOrder U p_order_new where the U is a union cup symbol, and PurchaseOrder is the set of all purchase orders. Sources - #Source:Video - Video on operational patterns for post conditions https://www.youtube.com/watch?v=RNABDx1bDyo&index=9&list=PL9T7Xn6u5-ch5fCf2Kp5_qhtwzs0jWjeT """>>
An ''OR gate'' has two inputs x and y and an output F. F should be 1 only if at least one of x or y is 1. So you can build an OR gate using two pMOS transistors and two nMOS transistors as shown here: https://drive.google.com/file/d/0B5Qq4fe-ZajTOFBLMklFaVd5Z0k/view?usp=sharing. Larger OR gates are also possible by adding another pMOS on top and another nMOS on bottom. So for 3 inputs, there will be 3 nMOS and 3 pMOS transistors with the same design.
''Oracle'' is the owner of [[JDBC|JDBC]] and [[Java|Java]].
The order of an algorithm provides an upper bound to the algorithm's growth function. So it says that eventually one function with a superior order will eventually take less operations than one with an inferior order. Functions of equivalent order are considered of equivalent efficiency. The count of operations is for each actual operation such as 1 addition, 1 division, etc. So this means that if $\lim_{x \to \infty} \frac{|f(x)|}{|g(x)|}$ is more than zero and reaches some constant then $f(x)$ is of order $g(x)$ where $g(x)$ is normally the highest order polynomial in $f(x)$. $$(logx)^n \textrm{ is } O(x) \textrm{ for any positive n}$$ t(n) = 17 O(1) Constant t(n) = 3 log n O(log(n)) Logarithmic t(n) = 20n - 4 O(n) Linear t(n) = 12n log n + 100n O(n log(n)) Linearithmic (Linear + Logarithmic) t(n) = 3n^2 + 5n - 2 O(n^2) Quadratic t(n) = 8n^3 O(n^3) Cubic t(n) = 2^n 18n^2 + 3n O(2^n) Exponential
An ordered list has elements ordered by some inherent characteristic of the elements. This could be like alphabetical ordering of people's names. Every element has a proper location in the list, given it's key value. The Java API does not provide a class that implements an ordered list. An ordered list is sorted so that the front contains the lowest value normally.
An ''ordered n-tuple'' $$(a_1, a_2, ..., a_n)$$ is an ordered list of n objects that has $$a_1$$ as it's first element, then the next, and next, and so on until the $$a_n$$ as it's nth element. Two ordered n-tuples are only equal if each element is equal and in the same order. Ordered 2-tuples are called ''ordered pairs''.
An ''organic operating system architecture'' or ''simple operating system architecture'' is one that is kind of just put together to make it work. MS-DOS was a system built like this, where the goal was just to make it as small as possible because of limitations on disk space at the time, with the most functionality. This means that it was not carefully divided into modules like the [[modules architecture|Modules Operating System Architecture]]. In this structure, most of the time if a program failed, the entire system failed. In Unix' approach to the simple operating system architecture, theirs was almost [[layered|Layered Operating System Architecture]], although it had a very large, monolithic single kernel layer that handled everything like the file system, CPU scheduling, memory management, and operating system functions through system calls. This monolithic structure was very difficult to implement and maintain, although it did have a performance advantage because the system call interface and communication in the kernel was very fast. Here is an [[example of MS-DOS and UNIX architectures which are considered organic architectures|$:/Image - MS-DOS and UNIX architectures]].
In programming languages ''orthogonality'' refers to the ability to combine language features systematically. There are three kinds of orthogonality: # [[Compositional|Compositional Orthogonality]] # [[Sort |Sort Orthogonality]] # [[Number|Number Orthogonality]]
Normally in HTML, when the elements are positioned to overlap, the element that comes later in the code will cover the other. The `z-index` property makes it so that can be adjusted. `z-index` accepts an integer and higher values indicate being higher on the stack.
This is a container tiddler for [[NPM packages|NPM Packages]] that support react in different ways. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Packages for React' sort[title]>> </div>
''Padding'' is generally the buffer of room between the outside of a container and the element that fills that container.
A reference string is used to judge ''page replacement algorithms''. The reference string would be a series of page accesses performed by an actual program. The reference string can be simplified down to just the page number, and drop consecutive page numbers which are the same because only the page accesses matter. For example a simplified reference string could look like 1, 4, 1, 6, 1, 6, 1, 6, 1, 6, 1. Some different algorithms are below: * FIFO Page replacement: If a new page needs to be added to memory, cycle out the least recently added one. The worst possible memory access is cyclic, the best is in order. This process seems a tad bit confusing. ** It would seem that increasing the queue size would kind of solve this problem of having pages constantly cycled in and out then back in. Although ''Belady's anomoly'' shows that this isn't the case. For some algorithms when the number of allowed pages increases the number of page faults increases. * Optimal Page Replacement (OPR): This algorithm says that when a new page needs to be added to memory, cycle out the one that won't be used for the longest time. This algorithm is basically impossible to implement though, because there is no way to know the future, unless you do with a batch system possibly. * Least Recently Used (LRU) Page Replacement: Replace the page that is least recently used. ** Two ways to implement this: counters, or a stack. Although the overhead is kind of high for these two methods. ** Another way to implement is to use a "additional reference bits algorithm" which assigns some more bits to all the entries in the page table. The left most bit indicates the most recent time interval, the right most bit indicates the least recent. Shift bits to the right one position at the end of each time interval. ** One other way to implement is to to check if the reference bit is set, so then the first page not most recently used will be replaced. Another way to do this is to loop over the list and if the bit is 0, replace it, otherwise, set it to 1. ** Another thing to consider is just throwing out anything with a [[modified bit|Operating System Page Faults Page Replacement]], because it is already stored in the hard drive. ** LRU does not suffer from Belady's anomoly. This is because as one more page is added, the previous 3 will always be safe. * Least Frequently Used (LFU) - Throw out the page with the fewest number of accesses. This is not optimal. * Most Frequently Used (MFU) - Throw out the page with the highest number of accesses. This is not optimal.
A ''paradigm'' is a set of basic principles, concepts and methods for how a computation or algorithm is expressed.
A ''paradigm'' is a set of basic assumptions, ways of thinking, and methodology that are commonly accepted by members of a group or community.
A register with a load line that controls whether the register is loaded or not (mux is built in), and with those inputs loaded in parallel is called a ''parallel-load register''. The design and block symbol is shown here: https://drive.google.com/file/d/1fyXqgZmqgfxvCN4p9bxpbvksfR2eEsgZ/view?usp=sharing. This is useful for controlling when a register is loaded if you don't want it to happen on every clock cycle.
''Parallelism'' is where a system can perform more than one task simultaneously. So it is [[asynchronous|Asynchronous]]. See also: * [[Concurrency|Concurrency]] Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Parallelism'>> </div>
When a method or function is called, variables are created for receiving the method's arguments. These variables are called ''parameter variables'' or ''formal parameters''. These are the same parameters that you declare when you create the method. The values that are supplied to the method when it is called are the arguments of the call or sometimes called the ''actual parameters''. Each parameter variable is initialized with the corresponding argument. After completing the method and returning a value, all of the variables used in the parameter passing are removed. Passing values into a function is called ''in-passing'' and there are two ways to do that: global variables, and parameter passing. To pass values out of a function, ''out-passing'', there are global variables, parameter passing, and return values. In [[object oriented languages|Object Oriented Programming (OOP)]], all combinations are used. In [[functional programming languages|Functional Programming]], parameter passing is the only in-passing method and return values are the only out-passing method. In [[logic programming languages|Logic Programming]], parameter passing is the only in-passing and out-passing method. If the formal parameters are modified in the function, it might have an impact on the actual parameters depending on how the language does parameter passing. The three ways of handling parameter passing are [[call-by-value|Call-by-Value Parameter Passing]], [[call-by-alias|Call-by-Alias Parameter Passing]], and [[call-by-address|Call-by-Address Parameter Passing]].
Two integers have the same ''parity'' when both are even or both are odd. They have opposite parity when one is even and the other is odd. This is also a common way to detect errors in bits. If you add an extra bit (called a ''parity bit'') and expect a certain parity of 1's in each transmission, the transmitter can set the parity bit so that the original bit's 1's will add up to an even number. Then the receiver checks this number and if it is odd, it requests a new transmission. Although this doesn't catch all errors because if there are two errors, it will still be even, and the error will slip through. There are more robust error checking techniques, but at the cost of more bits.
A ''partition'' of a [[set|Set (Mathematics)]] $$S$$ is a collection of [[disjoint|Intersection (Mathematics)]] nonempty subsets of $$S$$ that have $$S$$ as their [[union|Union (Mathematics)]]. (So it is the collection of all disjoint pieces of $$S$$).
Based on Algol, ''Pascal'' was developed by Niklaus Wirth between 1968 and 1970. Modula was built as it's successor in 1977.
''Peer reviews'' should be made full use of if available. They are generally any review that isn't done on your own. While [[personal reviews|PSP Personal Review]] can find up to 80% of defects with [[PSP|Personal Software Process (PSP)]], peer reviews in combination can remove up to 90% of defects before the first test which is awesome. Peer reviews take different forms which are listed below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Peer Reviews'>> </div>
''Performance testing'' is testing a component according to it's compliance with performance requirements. For example a cash register system might need to have a price lookup complete in less than 1 second even while [[stress testing|Stress Testing]] is happening. Types of performance testing are below: * [[Stress testing|Stress Testing]] * ''Volume testing'': Testing to see what happens if large amounts of data are handled * ''Configuration testing'': Testing the various software and hardware configurations * ''Compatibility testing'': Testing backward compatibility with existing systems. This is similar to [[regression testing|Regression Testing]], but with other systems instead of the same system. * ''Timing testing'': Evaluating response times and time to perform a function. * Security testing: Try to violate security requirements * Environmental testing: Test tolerances for heat, humidity, and motion * ''Quality testing'' - Test reliability, maintainability, and availability. This could be things like seeing if updates can be sent in, or things can be "hot-fixed". * ''Recovery testing'': Test the system's response to presence of errors or loss of data * ''Human factors testing'': Test with the end users.
''Personal Software Process'' or ''PSP'': Using a PSP is useful especially in teams where others are using the same ideas and principles. A stable, and matured PSP allows you to estimate and plan your work, meet your commitments, and resist unrealistic commitment pressures as well as understand your current performance, plus be better equipped to improve your capability. PSP Process flow diagram: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5R1dERXBmRnM0ZTQ/view?usp=sharing. You cannot improve a process before it is under control, so the first tasks are to try and streamline your estimations and actual results. PSP Principles and and sources are in the note. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Personal Software Process (PSP)'>> </div> <<_note """ PSP Principles: - You should measure, track and analyze your work - Learn from performance variations - Incorporate lessons learned into your personal practices - The quality of a system is determined by the quality of it's worst components (This doesn't seem entirely true because some components have a higher priority than others depending on the needs of the customer) - The quality of a software component is governed by the individual who developed it - The key to quality is the individual developer's skill, commitment, and personal process discipline Sources: - SER 215 PowerPoint """>>
''Personal Software Process 0 (PSP0)'' is for baseline data collection in the [[personal software process|Personal Software Process (PSP)]]. PSP0.1 introduces a coding standard, size measurement for modules, and a process improvement plan. During PSP0 you record time in each phase, and defects as they are found and fixed. In later phases of the PSP more steps are introduced and some are taken away. Example PSP0 process script: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5MnV4czhkcXNoVVk/view?usp=sharingPSP0. Process flow, and sources in the note. PSP0 Process: Use a process script as a guide for the entire process. A few various size example cycles explain this process very well here: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5WGJrVGFJNW8tVFk/view?usp=sharing here: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5b2lrT2RIMUs1Mms/view?usp=sharing and here: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5dzdFRW5ia1lmNHM/view?usp=sharing # Plan - When planning, deciding on module size of the flow is useful to get a right balance. For example when you separate your development into modules, one method may be too small, but a whole program is too large. One or more classes, a few methods, or a few functions is probably a good size. # Design # Code # Compile (Or personal review before doing compiling or testing) # Test # [[Personal Review|PSP Personal Review]] Sources: * SER 215 PowerPoint * https://en.wikipedia.org/wiki/Personal_software_process * Methods and Tools Summer 2007 pg 46-60 https://goo.gl/Vjt9o4
Personal Software Process 1 (PSP1) is where you make size, resource and schedule plans. You begin to plan and manage work setting the stage for personal quality management. Use your own prior data to make increasingly more accurate estimates for each programming assignment.
Personal Software Process 2 (PSP2) is where you practice defect and yield management.
A ''persona'' is a model of a user that focuses on the individual's goals. The model of a user should have a bit of personality. It is a life-like character driven by personal motives. This model came about after the idea of something being "user-friendly" causing bad usability issues in the same product it was used for. This was deemed a phenomena known as the elastic-user. Sources in the note. Further description of a user is in the note as well. Using multiple personas is normally done with 3-12 unique personas. Not each of which is actually used for designing, but possibly the opposite. Sometimes they are given different statuses such as primary, secondary, supplemental, served, and negative. Each set of multiple personas needs 1 primary persona, which is the individual who is the main focus of the design. To be a primary persona, the person must be satisfied with the design, but not satisfied with the user interface designed for any other persona. If two primaries are identified, then two different user interfaces should be designed. Persona goals fall into 4 categories. Personal, corporate, practical, and false goals. An example personal goal is to avoid feeling stupid when using the financial system. A corporate goal is to increase the profit by using the financial system. If goals have a conflict, usually personal takes precedence. Tips for the different goals are in the note. <<_note """ What is a persona? - A persona is a fictional detailed user model that represents archetypal users. - A persona is not a description of a real user or an average user. It is also not a job description or role such as actors in use cases. - A persona is focused on the user's goals, and what their purpose is for using the software. There is a distinction between goals and tasks, where a goal is an end condition, while a task is an intermediate process. - A persona is unique to the domain so it cannot be used for different projects. Sources: #Source:Article Personas article: https://drive.google.com/file/d/11Fz4NfGNKOg34LFtQ8QF18YdFyb2qGFU/view?usp=sharing Personal Goals: - These are mostly simple such as don't make mistakes, get an adequate amount of work done, and have fun / don't get too bored. These are so common they are sometimes ignored paradoxically. Corporate Goals: - These could be like increase market share, or offer more products and services. - Personal goals come first Practical Goals: - These bridge the corporate goals and personal goals. Such as handling clients effectively bridges increasing profit, and the personal goal of being productive. False Goals: - These aren't actual goals of the persona, but rather the programmer. Such as saving memory, keystrokes, running in a browser, safeguarding data integrity, etc. """>>
''Peterborough'' in New Hapshire was incorporated in the year 1760. At that time about 280 men, women and children lived in the township.
''PHP'' is a [[server side scripting|Web Dev Concepts > Server Side Scripting]] language typically used for [[web development|Web Development]].
''Physical memory addresses'' are the actual memory addresses of the main memory in a system. The set of all physical addresses is the ''physical address space''. See also: * [[Logical Memory Addresses]]
''Pipe and filter'' is based on the idea that the filter transforms data. A visual example is here: https://drive.google.com/open?id=1nV1iRHFFB94jcKmlyUN3SjNriHPEWqbX. Each component has inputs and outputs, and the components are not aware of each other's existence. This idea can be extended to the idea of things being composable.
''Comments'' in PLP can be written with `#`. PLP only supports inline comments.
''RAM'' in [[PLP|Progressive Learning Platform (PLP)]] occupies the address range of `0x10000000` to `0x10FFFFFC`. This means that the first 4 bits of every RAM address are the same which is `0b0001`. PLP memory is [[byte addressable|Byte Addressable Memory]], and memory addresses are word aligned, where a word contains 32 bits or 4 bytes. So each address is a multiple of 4. This means that the 2 least significant bits of any address are always 0. The [[jump instruction|Assembly jump Instruction]] takes advantage of this. The first memory address actually used will be the first address in the memory range, or what was specified by the [[org directive|Assembly .org Assembler Directive]].
The different ''register'' conventions are [[at this website link|http://progressive-learning-platform.github.io/instructions.html#registers-names-and-conventions]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'PLP Registers' sort[title]>> </div>
''PLP Tool'' is a tool that uses the [[PLP architecture|Progressive Learning Platform (PLP)]]. Each document starts with `.org 0x10000000` which is an [[org directive|Assembly .org Assembler Directive]]. The memory value for the LEDs in PLP tool is `0xf0200000`. The memory value for the switches is `0xf0100000`. Each bit of the value of the switch indicates each switch if it is on or off, where switch 0 is the 0th position, switch 1 is the 1st position, up to switch 7. For example if switches 0, 2, and 5 are on, then the binary value would be `00010101` or 37 in decimal. There is a tool called the CPU memory visualization tool, that is good for keeping track of [[Arrays|Assembly Arrays]]. It is only available in simulation mode, and is under simulation -> tools -> CPU memory visualization. Here is [[a good website for more information and documentation about PLP tool|http://progressive-learning-platform.github.io/home.html]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'PLP Tool' sort[title]>> </div>
''Break points'' can be created in PLP tool by clicking just to the right of a line number. These can only be created in simulation mode.
To get to ''CPU Disassembly'' you can go into simulation mode -> CPU View -> Disassembly tab.
The ''interrupt controller registers'' in [[PLP tool|PLP Tool]] are the following: * Mask at `0xf0700000` which is used to allow specific devices to trigger interrupts. This is done by writing a 1 to the bit position that allows the corresponding device to trigger interrupts. The different bits are below: ** Bit 31-4 are reserved ** Bit 3 is the button interrupt ** Bit 2 is the UART interrupt ** Bit 1 is the Timer interrupt ** Bit 0 is the global interrupt enable bit. This enables interrupts in general. * Status at `0xf0700004` which indicates which devices triggered an interrupt. This is similar to the [[UART status register|PLP Tool UART]], with the difference that the interrupt status register can be written to. The same bits used for the Mask, are used to indicate which device caused the interrupt by putting a 1 in the place of which device caused it. The bit at bit 0, is always 1. If all 0's (or a 1, because the first bit position is always 1) are written to the status register, it will clear it. If it is not cleared when the [[ISR|Interrupt Service Routine (ISR)]] is exited, then it will go right back into the ISR, thinking that the interrupt was not cleared.
The ''timer'' is located at address `0xf0600000`, and the value inside of it increases by 1 with each cpu cycle. The value can be both written to and read from. The timer generates an interrupt every time an overflow of its value occurs. An overflow occurs in the timer when the value exceeds the largest 32 bit number, which is `0xffffffff`.
The first memory value for the ''PLP Tool UART'' is `0xf0000000`. Here is [[more information on UARTs in general|Universal Asynchronous Receiver/Transmitter (UART)]]. The first memory value is the command register. When values are written to the command register, it determines what the UART does. It is a write only register. Some important instructions for the command register are below: * A bit value of $$2^1$$ indicates a clear status bit, and indicates to the UART that the program has read the current byte held in the receive buffer. The status register is at `0xf0000004`. The status register is read only, and when a bit value of $$2^1$$ is set to it, it is called a ready bit. This indicates that there is a new byte or character that has been received by the UART. The receive buffer is at `0xf0000008` and whenever a character is received, it places it here. This is a read only register. It will contain the most recent byte received by the UART. The send buffer is where the PLP processor would put a character that the UART should send to the receive buffer and it starts at `0xf000000c`
''PMD'' is a static analysis tool. Here is an [[example of PMD output|$:/Image - Example of PMD output]]. See also: * [[Main website for PMD|https://pmd.github.io/]]
A ''point transformation'' is the action of taking points and moving them to a different position through some kind of equation. For example a function like $$f(x,y) = (x+2, y)$$ would be a point transformation.
''Polling'' or ''Busy Waiting'' is a loop waiting for an I/O device status to change to a specific condition, once that condition is met, it exits. Some advantages of polling is that it is simple to implement, and easy to debug. A downside is that when it is polling, it cannot do anything else. A way to free up the CPU, is by using an [[interrupt|Assembly Interrupts]].
''Polymorphism'' allows you to treat objects of different classes in a uniform way based on their common parent or base classes. We ask multiple objects to carry out a task and each does so in it's own way. Polymorphism is a required aspect of any [[object oriented programming language|Object Oriented Programming (OOP)]].
''Portable Operating System Interface'' or ''POSIX'' is a family of standards for maintaining compatibility between [[operating systems|Operating Systems]]. POSIX defines quite a few things it seems, including a standard [[C library|C/C++ Libraries]], [[process creation and control|Operating System Process Creation]], and [[operating system scheduling|Operating System Process Schedulers]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Portable Operating System Interface (POSIX)'>> </div>
[[Processes|Operating System Processes]] can create other processes, which is typically done with a [[system call|Process Control System Calls]] named ''fork''. When `fork()` is ran in code, it creates another identical process. This process will have a copy of the code from the parent process, and will run from that point on. This means that the code needs to be written such that it will work in both the parent and the child process. `fork()` provides a return value in the parent process that indicates the pid of the child that was created, or it returns `0` if it is the child process. Another possible return value is something less than 0, which indicates an error occurred in the created process. `fork()` will not actually create a full copy of the code, until a write is made to the code / data structures within it. This allows a new child to be created to execute some small portion of code without the overhead of copying all code from the parent process. This method of execution is called ''copy-on-write''. Here is an [[image of how this works with paging|$:/Image - Example of copy on write with paging]]. `getpid()` can be used to get the actual pid of a child process. The function returns the process ID of the calling process. See also: * [[C wait Function]] * [[Wikipedia page for fork|https://en.wikipedia.org/wiki/Fork_(system_call)]]
''POSIX inter-process communication'' is one implementation of [[inter-process communication|Communications System Calls]] in [[POSIX|Portable Operating System Interface (POSIX)]]. It functions via a [[memory-mapped|Memory Mapped Input/Output]] file that one [[process|Operating System Processes]] creates and the other accesses. Some key functions are below: * [[shm_open|POSIX shm_open Function]] * `ftruncate(linkInt, size)` says to look at a file and set it to a certain size. ** `linkInt` is the integer returned by `shm_open` ** `size` is the size of the memory mapped file. If it sees that the file is smaller than the size, it will make the file bigger, and pad it all with 0s. * [[mmap|POSIX mmap Function]] * `shm_unlink(name)` where `name` should be the string name of the file See also: * [[A video walking through the implementation from ASU|https://youtu.be/_9xoxwieXoo]]
The ''mmap function'' maps a file to main memory. It has the following structure: ``` mmap(initialLocation, size, flag1, flag2, linkInt, someNumber) ``` * returns a [[void* pointer|C Generic Type]] into the shared memory at the location of `initialLocation`. * `initialLocation` is the position to start the shared memory file * `size` is how much memory to share, and is typically the size of the file * `flag1` can be a flag indicated permissions for the file ** `PROT_WRITE` will allow the current user to edit it ** `PROT_READ` will allow the current user to only read it * `flag2` can be something like `MAP_SHARED` which will map it to shared memory * `linkInt` should be the integer returned from [[shm_open|POSIX shm_open Function]] * `someNumber` should be `0`. The instructor forgot what it was for 😜.
''Pthreads'' is an [[operating system thread library|Operating System Thread Libraries]] provided by [[POSIX|Portable Operating System Interface (POSIX)]]. It is defined in IEEE 1003.1c. It is a specification for thread behavior, not an implementation. So it may be implemented as a kernel-level library, or a user-level library. Linux, Mac OSX, and Solaris support Pthreads. Windows does not, but some third party implementations are available. __Assuming it can only be used in C:__ This library can be included with `#include <pthread.h>`. Some notable functions of `pthread.h` are below: * `pthread_attr_init(&attr)` ** `attr` should be a `pthread_attr_t` data type. To set the threads to the default values, the variable that is passed here only needs to be declared. If it isn't initialized with anything, it will just use the default values. * `pthread_create(&tid, &attr, runner, thread_argument)` ** `tid` should be a declared `pthread_t` variable. It doesn't need to be assigned a value. Using the `pthread_create` function will assign `tid` to the created threads thread ID. ** `attr` should be the initialized `attr` after using `pthread_attr_init`. ** `runner` can be a function that returns `void *` and accepts as an argument `void *`. This function will be provided the `thread_argument`. ** `thread_argument` is the argument that is provided to the `runner` function. * `pthread_exit(return_val)` can be used within a `runner` function. ** `return_val` can be 0 if successful or some other number if not like a normal exit value. * `pthread_join(tid, NULL)` can be used to wait for a thread to exit before resuming. Multiple threads can be joined by using a for loop running on an array of tids. ** `tid` should be the thread ID assigned by `pthread_create`. * `pthread_mutex_init(mutex, attr)` ** Returns an integer ** `mutex` should be a `pthread_mutex_t*` data type which is declared previously, and will be used as the new [[mutex lock|Operating System Mutex Locks]] ** `attr` should be a `const pthread_mutexattr_t*` data type. Maybe this can just be declared and left at that? * `pthread_mutex_lock(mutex)` will try to lock the given mutex lock. If it is already locked, the calling thread [[blocks|Communications System Calls > Message Passing Model > Blocking]] until the mutex becomes available. * `pthread_mutex_unlock(mutex)` ** `mutex` should be a `pthread_mutex_t*` data type * `pthread_mutex_destroy(mutex)` ** `mutex` should be a `pthread_mutex_t*` data type See also: * [[Example of using Pthread in C|$:/Example - C - Using Pthread 1]]
The ''shm_open function'' stands for "shared memory open" and opens a file for memory mapping. It has the following structure: ``` shm_open(name, flags, access_code) ``` * returns an integer which acts as a link to that file * `name` is the name of the file, which can be a string (char array) * `flags` can be something like `O_CREAT | O_RDRW` which makes it seem like flags are `|` separated. ** `O_CREAT` means to create it if it doesn't exist, and `O_RDRW` means allow it to be read writable. ** `O_RDRW` means the file will be read and writable ** `O_RDONLY` means the file will be read only * `access_code` can be `0666` which means any user can access and use this file
''Postfix notation'' is where the operator comes after its two operands. For example 6 9 - is equivalent to 6 - 9 in [[infix notation|Infix Notation]]. The benefit of postfix is that order of operations and precedence do not need to be taken into account to evaluate the expression. The order is sufficient. To do these calculations, follow this rule: Scanning from left to right, apply each operation to the two operands immediately preceding it, and replace the operator with the result, then repeat until finished. A stack is a good data structure to evaluate these types of operations. See also: * [[Prefix Notation]]
''Postorder tree traversal'' is done by visiting the children from left to right and then the node starting with the root.
Given a set $$S$$, the ''power set'' of $$S$$ is the set of all possible [[subsets|Subset (Mathematics)]] of the set $$S$$. This is denoted by $$\mathcal{P} (S)$$. Just use `\mathcal{P}` for the special P. Note that $$\mathcal{P}(\emptyset) = \{ \emptyset \}$$ and $$\mathcal{P}(\{ \emptyset \}) = \{ \emptyset, \{ \emptyset \} \}$$. If $$|S| = n$$ then $$|\mathcal{P} (S)| = 2^n$$. A further example of this is $$\mathcal{P}(\mathcal{P}(\{1\})) = \mathcal{P}(\emptyset, \{ 1\}) = \{ \emptyset, \{ \emptyset \}, \{1 \}, \{\emptyset, \{ 1 \}\}\}$$. Pay close attention to sets within sets with power sets.
The statement "x is greater than 3" has two parts. In the first part, the variable x is the subject of the statement. The second part "is greater than 3" is the ''predicate''. This refers to a property that the subject of the statement can have. This can be modeled like P(x) where x is the value and P is "is greater than 3". P(x) is also called the ''propositional function'' P at x. Once a variable is assigned to x, then P(x) becomes a proposition and has a truth value. You can also have more than one variable. For example if "x = y + 3" then Q(x, y) would have a truth value when x and y have variables assigned to them and Q is the predicate. This is called a binary predicate. In general a statement involving n variables x1, x2, x3 ... xn can be denoted by P(x1, x2, ....., xn).
The area of logic that deals with predicates and quantifiers is called predicate calculus.
''Prefix Notation'' is where the operator comes before its two operands such as `- 6 9` means `6 - 9` in [[infix notation|Infix Notation]]. See also: * [[Postfix Notation]]
''Preorder tree traversal'' is where the node in question is visited, then the left child, then the right child, and any subsequent right children.
The ''Presentation Model'' is an [[architectural pattern|Architectural Patterns (Software Engineering)]] that extends the [[MVC pattern|Model-View-Controller (MVC) Architectural Pattern]]. It is like a combination of the MVC pattern and the [[MVVM pattern|Model-View-ViewModel (MVVM) Architectural Pattern]]. The presentation model is known to [[smalltalk|Smalltalk Programming Language]] developers as the ''Application Model''. The presentation model adds a presentation model to the MVC paradigm so it has the following different structural pieces: * Model * Presentation Model (View Model) - Holds state of the view. A view simply projects the presentation model out to the user. * View * Controller The only difference from MVC is that it has the presentation model, so see that tiddler for details on the other pieces. This model seems to fit particularly well with [[React|React]]. See also: * [[Site from the original author of the presentation model|https://martinfowler.com/eaaDev/PresentationModel.html]]
''Prime factorization'' is the method of attempting to divide your target integer $$n$$ by successive primes starting with the smallest and leading to the largest still less than $$\sqrt{n}$$. Once one is found, you start with that same prime and try to divide going up in integers until you find one that does, and repeat the process until done.
The ''prime number theorem'' states that the ratio of the number of primes not exceeding $$x$$ can be approximated by $$\frac{x}{lnx}$$.
A ''prime'' is an integer greater than 1 that is only divisible by 1 and itself. An integer greater than 1 and is not prime is called ''composite''. For proofs: The integer $$n$$ is composite if and only if there exists an integer $$a$$ such that $$a \mid n$$ and $$1 < a < n$$. Also if $$n$$ is composite, then $$n$$ has a prime divisor less than or equal to $$\sqrt{n}$$ Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Prime Numbers (Mathematics)'>> </div>
''Primitive data types'' are the 8 types such as int, double, char, etc. Static methods can deal with strings though. The term "static" in static methods is a holdover from previous generations and has nothing to do with the actual term. Static methods and instance methods are declared in the class that contains them.
A ''priority queue'' is a queue with the added rules that items with higher priority go first, and items with the same priority are ordered in accordance with first in first out principles. To create this, a minheap can be used where higher priority items go first. A new node class can be made such as `PrioritizedObject` to handle the element and order in which they were placed into the queue. Then priority could accomplished by implementing the `Comparable` class that compares the priority first, then the order in which they came into the queue.
The ''probability density function'' or ''PDF'' represents the probabilities of a [[continuous random variable|Statistical Continuous Random Variable]] and can be written as follows $$ f(x) = \frac{dF(X)}{dx} $$ Where $$F(X)$$ is the [[cumulative distribution function|Cumulative Distribution Function (CDF)]]. This means that at any point along the curve that this function creates, the value represents the probability that $$X$$ will be $$x$$. This creates a standard ''bell curve''. The probability density function is sometimes called the ''probability distribution''. Adjusting the [[variance|Standard Deviation]] of a PDF adjusts the height and spread of the curve. A smaller variance makes a taller curve with a tighter spread. A higher variance makes a shorter curve with a larger spread. Adjusting the mean moves the peak. The peak will always be at the mean for a [[normal random variable|Statistical Normal Random Variable]]. See also: * [[Wikipedia page on probability density function|https://en.wikipedia.org/wiki/Probability_density_function]]
The ''probability mass function'' can be represented by $$p(x) = P(X = x)$$ which means that the probability mass function represents the probability of a [[discrete random variable|Statistical Discrete Random Variable]] at some constant value $$x$$. The sum of all values of a probability mass function is always equal to 1, which is fairly obvious if you think about it. The probability mass function is sometimes called the ''probability distribution''. An image is below of a probability mass function: [img width=500 [https://i.imgur.com/judFnqf.png]]
For problem solving, creativity and intelligence are needed. So is creative thinking, abstract thinking, logical thinking, and analyzing skills. Decision making is required, so its needed to be able to see dependencies, realize what is important and what is not, flexibility, and handling of failure.
The ''imperative paradigm'' or ''procedural programming'' expresses computation by fully specified and fully controlled manipulation of named data in a step-wise or procedural fashion. Imperative programming focuses on how to do the job instead of what needs to be done. Data is initially stored in variables, taken out of those variables or memory locations, manipulated by the [[ALU|N-bit Arithmetic Logic Unit (ALU)]], and then stored back in the same or different variables. Typical languages are in the note. Procedural programs can be thought of as program = algorithms + data. The imperative paradigm is considered the most popular of all the different programming languages according to [[this book|Book - Introduction to Programming Languages]]. __Typical Imperative Languages:__ Typical imperative programming languages include all [[assembly languages|Assembly Language]], and earlier high-level languages like Fortran, Algol, Ada, [[Pascal|Pascal Programming Language]], and [[C|C Programming Language]]. __Features of Procedural programs:__ * Divide the program into reasonable sized pieces named functions, procedures, [[modules|Modular Programming]], or subroutines. * Local and global variables * Data structures * Conditional and loop statements __Table of Contents:__ <div class="tc-table-of-contents"> <<toc-selective-expandable 'Procedural Programming'>> </div>
''Procedural programming coupling'' is a sub-section of [[coupling|Coupling (Software Engineering)]] which applies to [[procedural programming|Procedural Programming]]. Some types of this coupling are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Procedural Programming Coupling'>> </div>
''Array implementation of tree or heap'' could be done with the computational strategy by placing the left child of an element n at position $2 * n + 1$ and the right child at $2 * (n + 1)$. Note this doesn't use the first index. The parent of a node can be found for node n by looking at the node in position $(n-1) /2 $This leaves large overhead sometimes though if the tree is not complete. The simulated link strategy is to store a node in each index location that has information on where each of it's children are in the array so that the array can be filled contiguously. The also requires that if elements are deleted, a free list is maintained to keep track of which locations are free.
# Edit the `.bash_profile` file in the home directory of the profile to be changed. This can normally be accessed with `cd ~` # Add the shortcut command as an alias at the bottom of the `.bash_profile` with `alias cddev="cd ~/Google\ Drive\ File\ Stream/My\ Drive/Home\ Things"` # Restart bash by closing out, or running the command `bash`
To setup a basic web page, use the following starting code in HTML: ```xml <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link rel="stylesheet" type="text/css" href="styles.css"> <title>Title of Web Page</title> </head> ``` For nice roboto fonts, use [[this example|$:/Example - HTML/CSS - Nice Roboto Font for Web Pages]].
The `_CRT_SECURE_NO_DEPRECATE` issue can come up when a function is going to be deprecated. This can be disabled in visual studio in project properties, under pre-processor settings. Add another line that is `_CRT_SECURE_NO_DEPRECATE`.
To compile a program in C using [[Visual Studio|Microsoft Visual Studio]], set the project to not use pre-compiled headers. This avoids PCH errors that come up. __Compiling on command line__ * Use `gcc <.c-file-filepaths> -o <single-outputfilename>` * Then to run it use `./<outputfilename>` The different <.c-file-filepaths> are space separated.
To ''contribute to open source'' on github for example, see the [[link here for starter tips on how to go about that|https://github.com/freeCodeCamp/how-to-contribute-to-open-source]].
[[Graphs|Graph (Data Structures)]] can be converted to [[Trees|Tree Data Structure]] by breaking their structure down. In one way, a node that has a relationship with multiple other nodes can be broken down so that each node has a relationship with just two nodes. Each node instance can simply be numbered. An example of that is below: [img width=700 [https://i.imgur.com/wkjG7G2.png]]
To create a custom git template you can do the following: # Create a template file in your root directory (or wherever really) with the name `~/.gitmessage` and put what you want as your template in there. # Assign the template with Git with the following command: `git config --global commit.template ~/.gitmessage` To turn off the template you can use the following: `git config --unset --global commit.template`
Here is an [[article that talks about how the line wrap works and how to do colors|https://askubuntu.com/questions/24358/how-do-i-get-long-command-lines-to-wrap-to-the-next-line]]. Here is a [[link to the different bash colors|https://misc.flogisoft.com/bash/tip_colors_and_formatting]].
Making a ''tree ADT'' consists of laying out operations that are common to the collection. No method of adding or removing elements is listed though because every tree will be different in how many branches or children for example it needs. Basic methods are in the note. A good use of a binary tree is an expression tree, where each leaf is an operand, and the root as well as each internal node are operators. A picture of one is here: https://drive.google.com/file/d/1U6_EaBgOKCfWtdWCAnGu2NuOYOd8SKWR/view?usp=sharing. The Java API does not include an implementation of a tree collection. Instead it uses trees to implement sets and maps. ``` Basic Methods for a Tree ADT: - getRoot - isEmpty - size - contains - find - toString - iteratorInOrder - iteratorPreOrder - iteratorPostOrder - iteratorLevelOrder ```
To start out: ``` struct stack { int size; struct Node head; // something else } ``` All functions will have a `stack_` to indicate that they are part of the stack ADT. ``` // Acts as a constructor struct stack* stack_create(); // Acts as a destructor void stack_destroy(stack* s) /** * e acts as the element that will be pushed onto the stack. **/ void stack_push(stack* s, int e); int stack_pop(stack* s); ``` The final outcome ended up being the following: __main.c__ ``` #include <stdio.h> #include <stdlib.h> #include "Stack.h" int main(int argc, char** argv) { stack* sid; sid = stack_create(); // kind of like using "new" //stack ops: push, pop, display, etc. stack_push(sid, (void*)10); stack_push(sid, (void*)14); stack_push(sid, (void*)20); stack_display(sid); int x = (int) stack_pop(sid); stack_display(sid); printf("The popped value is %d\n", x); stack_pop(sid); stack_pop(sid); stack_pop(sid); if (stack_is_empty(sid)) { printf("The stack is empty!\n"); } else { printf("The stack is not empty!\n"); } stack_destroy(&sid); return (EXIT_SUCCESS); } ``` __Stack.h__ ``` #ifndef STACK_H #define STACK_H //////////////////////////////////////////////////////////////////////////////// // Include Files #include <stdio.h> #include <stdlib.h> //////////////////////////////////////////////////////////////////////////////// // Type Definitions typedef struct stack stack; //////////////////////////////////////////////////////////////////////////////// // Function Declarations //purpose: creates a new stack and returns it //returns: a pointer to a new stack stack* stack_create(); // can fail due to memory //takes in a double pointer so that the pointer to the stack can be destroyed // as well? void stack_destroy(stack** s); void stack_push(stack* s, void* element); void* stack_pop(stack* s); //can fail if empty stack //return value: 0 or 1 corresponding to true or false int stack_is_empty(stack* s); //return value: number of elements in the stack int stack_size(stack* s); //purpose: displays the contents of the stack as integers starting at the top void stack_display(stack* s); #endif /* STACK_H */ ``` __Stack.c__ ``` //////////////////////////////////////////////////////////////////////////////// // Include Files #include "Stack.h" //////////////////////////////////////////////////////////////////////////////// // Type Definitions typedef struct node node; struct node { void* element; node* next; }; struct stack { int size; node* head; }; //////////////////////////////////////////////////////////////////////////////// // Function Declarations //purpose: creates a new stack and returns it //returns: a pointer to a new stack stack* stack_create() { stack* new_stack = (stack*) malloc(sizeof(stack)); //memory allocation failed if (new_stack == NULL) { // There was an issue allocating the memory printf("Failed to create stack.\n"); exit(1); // This means exit with 1 which means error of some kind } //memory allocation succeeded new_stack->head = NULL; new_stack->size = 0; return new_stack; } //takes in a double pointer so that the pointer to the stack can be destroyed // as well. So a normal stack pointer can be passed in with the 'address-of' // operator. For example: stack_destroy(&integerStack) void stack_destroy(stack** s) { node* iter = (*s)->head; //frees the internal list while (iter != NULL) { node* n = iter->next; free(iter); iter = n; } //free stack free(*s); //clean up, so there is no dangling pointer *s = NULL; } void stack_push(stack* s, void* element) { node* new_node = (node*) malloc(sizeof(node)); //set up node new_node->element = element; new_node->next = s->head; //attach node s->head = new_node; s->size++; } void* stack_pop(stack* s) { if (s->size == 0) { // There was an issue allocating the memory printf("Tried to pop from empty stack.\n"); exit(1); // This means exit with 1 which means error of some kind } node* active_node = s->head; void* data = active_node->element; //update stack s->head = s->head->next; s->size--; return data; }//can fail if empty stack //return value: 0 or 1 corresponding to true or false int stack_is_empty(stack* s) { if (s->size == 0) { return 1; } else { return 0; } } //return value: number of elements in the stack int stack_size(stack* s) { return s->size; } //purpose: displays the contents of the stack as integers starting at the top void stack_display(stack* s) { printf("(top):\n"); node* iter = s->head; while (iter != NULL) { printf("%d\n", (int) iter->element); iter = iter->next; } } ```
A good process for conducting a [[hypothesis test|Statistical Hypothesis Tests]] where the variance is unknown is as follows: # Define $$H_0$$ and $$H_1$$ # Compute $$\overline{X}$$ and $$S$$ -> Needs notes # Compute $$t_0$$ which is defined as $$ t_0 = \frac{\overline{X} - \mu_0}{s/\sqrt{n}} $$ where $$n$$ in this case is the number of values in the sample and $$s$$ is the [[standard deviation|Standard Deviation]] which can be calculated in excel with `=STDEV.S(<sample values>)` # Compute P or Find $$t_{\alpha/2,n-1}$$. Alpha or $$\alpha$$ in this case is the minimum value for $$P$$ for which $$H_0$$ will not be thrown out. $$n$$ in this case are the degrees of freedom, which can be calculated by taking the number of values - 1.
This process describes translating an [[entity relationship diagram|ER Diagrams]] to a [[relational database schema|Relational Database Schema]]. For [[EER diagrams|EER Diagrams]], all the normal steps occur along with the steps from 8 onward. This procedure has been implemented in many commercial tools. Some of the goals of mapping are to preserve all information, maintain the constraints to the extent possible, and minimize null values. The relational model cannot preserve certain constraints such as max cardinalty ratios such as 1:10. # For each [[regular entity type|ER Models > Entity Types]] $$E$$, in the ER schema, create a [[relation|Relational Data Model > Relations]] $$R$$ that includes all the [[simple attributes|ER Models > Single-Valued Attributes]] of $$E$$. Include only the simple component attributes of a [[composite attribute|ER Models > Composite Attributes]], in other words, spread them out. Use the primary key like normal. Foreign keys, multi-valued attributes, and relationship attributes should be left out for this step. Derived attributes are ignored because they can be queried. # Mapping of weak entity types. Map out the weak entity types just like the regular ones, with the exception that the owner entity type key should be mapped as a foreign key. # Mapping of binary 1:1 relationship types. There are 3 ways to do this ## Foreign key approach, where a foreign key is used on each relation for the other relation in the relationship. ## Merged relation approach, where the relations are just merged into one if it makes sense ## Relationship-relation approach where a relationship table is setup to map the two relations. # Mapping binary 1:N relationship types. This can be done with the foreign key or relationship relation approach. The foreign key approach should be used when there is a total participation constraint present. The relationship relation approach should be used when there are only partial participation constraints to reduce NULLs. # Mapping M:N relationship types. This can only be done with the relationship relation approach. # Multi-valued attributes. For each multi-valued attribute $$A$$, a new relation $$R$$ should be created. $$R$$ should have a foreign attribute for $$A$$ and another attribute for its data. # Mapping of [[N-ary relationship types|ER Models > Higher Degree Relationship Types]]. This is done by making a relationship table wiht one column per participating entity, along with any extra columns for relationship-specific data. When querying these relationship, N joins will need to occur. # Mapping of specialization or generalization. This can be done in a few different ways. ## A multi-relation method is to make one relation for the superclass and multiple relations for the subclasses where the primary key of the superclass is the primary key of each subclass where the additional attributes are held. This is good for both disjoint and overlap, as well as total and partial. ## Another multi-relation method is to have just the subclass relations, so that the superclass attributes are repeated in each subclass. This can only hold for a specialization where disjoint and total constraints should hold. ## One way is to have every attribute from both the superclass and subclasses in one relation where a `type` is specified as well. This is good for small disjoint subclasses. ## Another way is to have multiple `type` attributes where each is a boolean indicated that it is part of that particular specialization. This is useful for [[overlapping specializations|EER Model Specializations]]. This is good for overlapping or disjoint small subclasses. # Mapping of multiple-inheritance. Here is an [[image of mapping multiple-inheritance|$:/Image - Mapping multiple-inheritance in an EER Diagram]]. # Mapping of Union types or [[categories|EER Models > Unions]]. Here is an [[image of mapping categories|$:/Image - Mapping categories or union types in an EER diagram]]. The category type gets it's own relation, as well as the relationship between the category type and the other type in this example. The category type gets its own [[surrogate key|Database Uniqueness Constraint]].
# Install Mono from the website # Add the commands for Mono to the [[PATH|Unix PATH]] with `export PATH=$PATH:/Library/Frameworks/Mono.framework/Versions/Current/bin/ ` # Install any extra Mono packages that are needed
Creating and publishing a [[Google Drive|Google Drive]] app requires the following steps: * Complete the [[G Suite Marketplace SDK|G Suite Marketplace SDK]] configuration panel * Create a [[Chrome Web Store|Chrome Web Store]] listing in the Chrome Web Store dashboard.
To publish an app to the [[Chrome Web Store|Chrome Web Store]], the following steps need to be taken: # Make a Chrome Web Store listing with an uploaded manifest file. More notes are needed on this.
To publish an app in the [[G Suite Marketplace|G Suite Marketplace]], the following steps must be taken: # Enable and configure the [[G Suite Marketplace SDK|G Suite Marketplace SDK]]
External JavaScript can be used in HTML. For example you can make a `exampleScript.js` file. Then to import it through html you can use `<script src="exampleScript.js"></script>` if it's in the same folder as the HTML page. This is practical when using the same javascript for many pages and to take advantage of caching speed increases. Any number of JavaScript files can be added to an HTML file, each with it's own tag. You can also use the full URL. For example: `<script src="https://www.w3schools.com/js/myScript1.js"></script>`. Or if you would like to use a specified folder on the current website where the HTML page is located: `<script src="myScript1.js"></script>`. The reason it's good to separate the java script and html separate is because the application logic is better understood away from the actual display. If you do decide to put JavaScript inline, with something like: ```html <script type="text/javascript">JavaScript code here</script> ``` Then it will not be cached. This is only really useful when you are outputting HTML content built by the JavaScript in this way. __Race Conditions__ When a JavaScript file is imported, it could have DOM manipulation as a side effect. If this does occur, then there will be a race condition between the [[rendering engine|Web Browser Rendering Engines]] and the JavaScript engine. Normally the best practice for this is to put your JavaScript files at the end of the document, but even then, events won't be handled until it loads. __See also__ * [[HTML script Element]] * [[DOM Window DOMContentLoaded Event]]
There are three ways to insert a stylesheet in [[HTML]]. * [[An inline style|CSS Inline Styles]] * [[External stylesheet|External Stylesheet]] * [[Internal stylesheet|Internal Stylesheet]]
# First find the version of linux, so if this is a raspberry pi, then that would be the ARM version. That can be done with `uname -m` # [[Go to the downloads page here.|https://nodejs.org/en/download/]] # Download the correct version by using `wget LINK-URL`. # Extract the file with `tar zf filepath` or maybe a different option than `zf` depending on the type of tar ball. # cd into the extracted file. Double check that the file contains things like `lib` and stuff :P # Run `sudo cp -R * /usr/local/` # Check that it is installed correctly with `node -v` and `npm -v`.
Change directory to the package in question, then run `sudo apt install ./nameOfPackage.deb`.
Run `tar -zxvf file.tar.gz`
# Run the following command: `npm i eslint eslint-config-airbnb eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react -g` # Add an eslint file in your home development directory. ESLint will look up through directories until it finds an `.eslintrc` file. This can be done with the following command after switching to the desired directory: `nano .eslintrc.json`, or the following could just be written from any directory: `nano ~/.eslintrc.json` # Paste [[this basic config|Example - ESLint - Basic Config]] in.
For installing guest additions with debian, the following instructions seem to work: Install Guest Additions. To better integrate the guest Debian system with your host operating system, install VB Guest Additions. Add guest additions by loading the Guest Addtions CD and following directions found at: https://www.virtualbox.org/manual/ch04.html. First you will need to add additional sofware to your Debian installation. Before doing so, update the system with: sudo apt-get update sudo apt-get upgrade On my installs, I had to also install the following packages before Guest Additions: sudo apt-get install dkms build-essential linux-headers-$(uname -r) Get VB to insert and mount the Guest Additions CD. Devices-->Insert-Guest-Add... After the CD is mounted an icon appears on the desktop. (To remove a mounted CD, click the CD icon at the bottom of VBox window.) Now open up a terminal and change to the Guest Addtions CD with: cd /media/cdrom0 ls -l sudo sh ./VBoxLinuxAdditions.run You will need to wait for the installation to complete.
# Download the mongo compass installer. This thing seems pretty nice! Then spin up some server on localhost. # Add the the bin of the installation directory to the windows PATH. This seems to typically be in `C:\Program Files\MongoDB\Server\4.0\bin` # Now `mongo` can be used in cmd prompt
Make sure that ONLY 64 bit Java is installed on the system. Otherwise it will silently fail 5 ever!
To remove a child [[view controller|iOS App Development > View Controller]] you can do the following: # Call the child's `willMoveToParentViewController` method with the value `nil` # Remove any constraints that you configured with the child's root view. # Remove the child's root view from your container's view hierarchy # Call the child's `removeFromParentViewController` method to finalize the end of the parent-child relationship.
A query can be executed by passing the query to the statement object. For example: ``` ResultSet myRs = myStmt.executeQuery("select * from employees"); ```
First you need a connection string in the form of a [[JDBC URL|JDBC URLs]]. An example of making a connection is below: ``` import java.sql.*; String dbUrl = "jdbc:mysql://localhost:3306/demo"; String user = "student"; String pass = "password" Connection myConn = DriverManager.getConnection(dbUrl, user, pass); ``` Some errors that can be thrown are * `java.sql.SQLException` for bad url or credentials * `java.lang.ClassNotFoundException` for the JDBC driver not being in the classpath. An error message could come up when making the connection that says "WARN: Establishing SSL connection without server's identitiy.....". This can be stopped by putting `?useSSL=false` at the end of the database connection string.
Once in the right directory with the terminal, use the command `wine setup.exe` to use the installer of the chosen program. To run that program go to `~/.wine/drive_c/Program\ Files/` then go to the directory of the program and find the executable. Then you can run `wine program.exe` to run it. Here is [[a website that details how to install wine|https://www.davidbaumgold.com/tutorials/wine-mac/]].
[[This page|https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/]] has information how to install MongoDB on ubuntu. It seems that it has some special requirements and isn't a straightforward installation. @@color:red; It seems that MongoDB is currently unsupported for windows subsystem for linux. @@ 2019-02-18-09:47
To ''update Node.js'' you can run `nvm install node --resintall-packages-from=node`.
To install the latest npm use `nvm install-latest-npm` in bash. It seems that another way to update is to use `npm update -g npm@latest` It seems that there could be two NPM installations. One at `/usr/local/bin/npm` and `/usr/bin/npm`. Maybe delete the first one? Use `hash -r` to clear the bash history so it can search for the npm version correctly. After that run `npm -v`.
To prune local branches in a git repo, you can do the following: # Delete any local branches that don't exist on the remote repo or just delete the ones you don't want. They can be added back later from the remote repo. Use `git branch -d <branch-name>`. # Prune the local repo with `git remote prune origin`
Use the CSS/SASS code below for projects that need it. __Centered vertically and horizontally__ ```css .container { height: 98vh; display: grid; } .centeredElement { margin: auto; } ``` __Current top variable picks for colors__ ```css $dark-green: hsl(140, 100%, 30%); $light-green: hsl(140, 100%, 50%); ``` __Breathing color mixin__ ```css @mixin breathing-background-color($hue, $saturation) animation-name: breathing animation-duration: 8s animation-iteration-count: infinite @keyframes breathing 0% background-color: hsl($hue, $saturation, 15%) 50% background-color: hsl($hue, $saturation, 50%) 100% background-color: hsl($hue, $saturation, 15%) ```
First run the following command in a bash terminal: `ssh-keygen`. This will generate an SSH key. If one has been generated before, and it asks to overwrite, say no. It will ask for a file location so just use the default. If it asks for a passphrase maybe don't put one in for now until there is more information on that. Copy the ssh key to the clipboard with `pbcopy < ~/.ssh/id_rsa.pub`. Then go to [[this link on github|https://github.com/settings/ssh/new]] to create a new SSH key entry, and paste the SSH key to the field for it and save it. At this point, make sure to always use SSH links when setting up repos. Not the HTTPS ones. To change one that is already HTTPS, follow [[this guide|https://help.github.com/en/articles/changing-a-remotes-url]].
# Include the library of functions, `#include sqlcli.h` # Declare all [[handle variables|SQL/CLI in C Handles]]. # Create the environment record. # Create the connection record and connect to the database. # Create the statement records # [[Prepare SQL statements and statement parameters|SQL/CLI in C SQLPrepare Function]] # [[Bind the statement parameters|SQL/CLI in C SQLBindParameter Function]]. # Executing the statement. This can be done with `SQLExecute()`. # Binding columns. # Retrieving column values with `SQLFetch()`. This is similar to [[FETCH|Embedded SQL FETCH Command]]. These steps can be seen in [[this example of using SQL/CLI in C|$:/Image - Using SQL/CLI in C]].
Initial setup for an existing project that will be changed: # Make sure that git is installed on the system by typing in `git` to a terminal or command prompt # Fork the repository on Github if it is from there. # Navigate to the folder where it should be located with `cd` # Use `git clone <repo_address>` # Create a new branch if needed with `git checkout -b <new_branch_name>` Initial setup when creating a new project: # Make sure that git is installed on the system by typing in `git` to a terminal or command prompt # Navigate to the folder where it should be installed with `cd` or make one with `mkdir "Folder Name"` # Use `git init` to initialize the git location # Add the git repository location with `git remote add origin <repo_address>` # Then pull all of the files from the repo if needed with `git pull origin master` Pushing changes: # Add all the changed files to the [[staging area|Git Staging Area]] with `git add .` # Commit the changes and add a message with `git commit`, then enter a username and password if needed # Push the changes with `git push origin master` Pulling changes: # Add the git repository location if needed with `git remote add origin <repo_address>` # Then pull all of the files from the repo with `git pull origin master` See also: * [[Process - Bash - Creating shortcut commands in .bash_profile]]
* If it keeps crashing on startup: Apparently running virtualbox by clicking it as a start menu tile makes it crash. It does work if you search it in the start menu though. * Issue with mouse no longer working, but keyboard is working. - Still investigating ** https://forums.virtualbox.org/viewtopic.php?f=6&t=87150. [[Link to another thread that seems to more specifically cover the issue|https://forums.virtualbox.org/viewtopic.php?f=3&t=90267&start=105]] ** It seems that mouse movement is recorded, but mouse clicks do not register ** Attempting to change the video driver from VBoxVGA (where this was occurring) to VBoxSVGA did not help. Still occurred.
# Reset the router with the reset button # Set the static IP address of the computer that will be configuring it to something like `192.168.1.168` because the router will be on `192.168.1.1`. # Once it is done starting up, hook the computer up to `eth0` and try to connect. It should allow it. # Use username `ubnt` and password `ubnt`. Make sure that the system config `system offload hwnat enable` is set so that the router will put out the full speed it is capable of. Originally the [[solution was found at this link|https://community.ubnt.com/t5/EdgeRouter/Edgerouter-X-Fios-Gigabit-Won-t-go-over-500-Mbps/td-p/1910761]].
To update the staging area so it stops showing innacurate things to be committed, or actually removes files, the following commands can be run from the root git folder: # Run `git rm -r --cached .` # `git add .`
To initialize a project after vue-cli is installed, use `vue init <template-name> <project-name>` within the project directory in bash. The template name can be `webpack-simple` for example and the project name can be `vue-playlist` or whatever is preferred. Press enter for the default options, and right now maybe don't use SASS. It will list some instructions for installing npm packages and create what is needed. Then after `npm run dev` is entered, it will open up a hot-reloading page for development. When it initially runs, the HTML will say the javascript is running from a `/dist/build.js` file. The `dist` folder will not show up, because it is built when the site is compiled. The `src` folder is where everything is at.
To stage Vue.js, one of the header scripts below can be put in the header of an HTML file: ``` <!-- development version, includes helpful console warnings --> <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> <!-- production version, optimized for size and speed --> <script src="https://cdn.jsdelivr.net/npm/vue"></script> ``` Then the `vue.js` javascript file can be inserted near the end of the footer. It seems that this allows things to be bound correctly in HTML while the Vue.js framework is there, then when your vue.js code comes in, it can use all those previously bound items.
This kernel module will be written in C. It seems like it needs to be written in C. Also an IDE cannot be used to write kernel modules according to the book and [[SER334|SER 334]]. To compile a module, the [[make command|Linux make Command]] needs to be used with an accompanying [[Makefile|Linux Makefile]] in the same directory as the module `c` file. Here is an [[example Makefile that was provided by the book for this|Example - Makefile]]. __Loading and Removing Kernel Modules__ A kernel module can be loaded using the [[insmod command|Linux insmod Command]]. A kernel module can be unloaded using the [[rmmod command|Linux rmmod Command]]. Currently loaded modules can be found using the [[lsmod command|Linux lsmod Command]]. The [[dmesg command|Linux dmesg Command]] can be used to view the output of a module.
''Process control system calls'' handle [[processes|Operating System Processes]] for the [[operating system|Operating Systems]]. These system calls hand out memory, or CPU time depending on their needs. In the past, systems like MS-DOS would only run a single task at a time, so process control wasn't really that much of a concern. When a process wanted to do something else to complete it's task, it would put it onto a stack, much like programming languages do. Now, operating systems support multi-tasking. BSD is an example of an OS that does this. (There should be a note on BSD).
''Process Standards'' are like dynamic standards. They are standards that encompass good development practice. These may include definitions of specification, design, and validation processes. These could also pinpoint certain tools to use, and a description of the documents that should be written during the processes. See also: * [[Product Standards]]
A [[controller|Controller]] connected to a [[datapath|Datapath]] as a [[high-level state machine|High Level State Machine (HLSM)]] is called a ''processor''.
A ''memory stall'' is where the [[processor|Central Processing Unit (CPU)]] is idle, and waiting for memory outside of the [[cache|CPU Caches]]. One way of addressing this issue is using multiple threads per core, so that the CPU bursts are interleaved and complimentary. An example of how this looks is below: [img width=600 [https://i.imgur.com/6xD6cZ4.png]]
The ''producer consumer problem'' is where a producer will be creating something in a shared memory space of some kind, and the producer will be consuming it. Both of the different [[processes|Operating System Processes]] will be checking some of the same variables, and if one changes it, while the other is reading it, there may be errors. An example is below of how this might look: [img width=500 [https://i.imgur.com/ubkC9LO.png]] The [[bounded buffer problem|Bounded Buffer Problem]] is a variation of the producer consumer problem.
''Product Standards'' are like static standards. They are requirements for the structure of documents, documentation standards, and coding standards. When selecting these standards, include software engineers in the selection of them. This is because if developers understand why the standards exist, they are much more likely to adopt them. The document should also include the explanation of why the standards are there, and how it will improve the product. If a tool is available to follow standards, use it. Less friction is better always. If the developer needs to think less about rules and more about code it's better for everyone. Some good goals to help establish product standards are maintainability, reliability, and portability. See also: * [[Process Standards]]
The purpose of ''program preprocessing'' is to allow for [[macros|Macro]] and inline procedures. Preprocessing is done before the code is turned into [[assembly|Assembly Language]], which is then turned into [[machine code|Machine Language]]. Preprocessing is an operation that is part of the [[compiler|Compiler]] and the unit that does it may be called the ''preprocessor''. In C, the preprocessor is given instructions through [[directives|C/C++ Directives]].
''Program Processing'' or ''Software Processing'' is the act of changing a program from source code, all the way to execution. One way this can happen is by [[compilation|Compilation]], then execution of [[assembly language|Assembly Language]] or [[machine code|Machine Language]]. Another way is [[interpretation|Interpretation]]. Some ways are outlined in the picture in the note. <<_note """ [img[https://i.imgur.com/XRlXt9b.png]] """>>
The ''program runtime stack'' or ''activation stack'' is part of [[memory management in programming languages|Memory Management (Programming Languages)]] and is sometimes referred to as ''static memory''. This is because static variables are read when the program is launched from the [[symbol table|Symbol Table (Programming Languages)]], which is considered static in that it is created at compile time. Although, the symbols are loaded onto the program runtime stack when the program starts. When control enters a function, a block of memory called a ''stack frame'' is created on the program runtime stack. All non-static variables obtain memory from the stack frame. When control leaves the function, all these local variables are freed. A helpful illustration is shown in the [[C/C++ runtime stack example|Example - C/C++ - Runtime stack]]. The same stack that handles the local variables handles the recursive functions too. See also: * [[Assembly Stack Register]] * [[JavaScript Event Stack]] * [[Heap Memory (Programming Languages)]]
''Programming'' is the act of designing and implementing computer programs. Some concepts and ideas directly related to the act of programming are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Programming'>> </div>
Colors can be in HEX, [[HSL|HSL Colors]], RGB, simple names, RSL, RGBA, and RSLA. A list of color names supported by all browsers is [[here|https://www.w3schools.com/colors/colors_names.asp]]. RGBA and RSLA allow transparencies to be set for the color as well. For example this `rgba(255, 99, 71, 0.5)` is the same as the color `Tomato` but with 50% transparency as seen by the last argument. The background-color, border-color, and text-color are a few examples of things that can be set with colors.
Some control symbols are `\n` for newline, `\t` for tab. <div class="tc-table-of-contents"> <<toc-selective-expandable 'Programming in C/C++' sort[title]>> </div>
The four ''structural layers'' of programming languages are in order of specificity from most specific to least: # [[Lexical Structure]] # [[Syntactic Structure]] # [[Contextual Structure]] # [[Semantic Structure|Semantics]] The structures are laid out like generally like shown below where contextual fits between syntactic and semantic: [img width=600 [https://i.imgur.com/c3udKCw.png]]
A ''Programming language'' is essentially a set of symbols structured by a set of rules. Reasons for why programming languages are more similar than spoken languages, and a chart of programming language features compared to performance is in the note. The features of a programming language include * Orthogonality * [[Control Structures|Control Structures]] * [[Data Structures|Data Structures]] * [[Syntax Design|Syntactic Structure]] * Support for Abstraction * Expressiveness * [[Type Equivalence|Type Checking (Programming Languages)]] * [[Strong |Strongly Typed Programming Languages]] vs [[Weak|Weakly Typed Programming Languages]] type checking * [[Exception Handling|Exception Handling]] * Restricted Aliasing See also: * [[Programming Language Structural Layers]] <<_note """ Programming languages are far more similar to each other than spoken languages because * They have the same mathematical foundation * Similar functionality * Based on the same kind of hardware and instruction sets * Common design goals, which is to make languages simple and efficient for humans to use * Designers share their experience and knowledge A chart is shown below that shows which features affect what kinds of performance in some way. This could be positive or negative. [img[https://i.imgur.com/Edn81Ld.png]] """>>
There are four major ''programming paradigms''. in chronological order they are: # [[imperative|Procedural Programming]], # [[object-oriented|Object Oriented Programming (OOP)]] # [[functional|Functional Programming]] # [[logic|Logic Programming]] There are more, but those are the four main ones. Most languages do not just exemplify one type of paradigm though. For example [[C++|C++ Programming Language]] is an object oriented language, and also includes almost every feature of [[C|C Programming Language]], therefore it is an imperative programming language as well. [[Java|Java]] is another example because it is primarily object oriented, but also caries it's [[primitive data types|Primitive Data Types]] which do not obtain memory from the language heap like other objects. There is an image of how the various languages line up in the note, as well as an image of the abstraction levels. The different programming paradigms do not just include [[high-level programming languages|High-Level Programming Languages]]. They also include [[low-level|Low-Level Programming Languages]] ones. <<_note """ [img width=600 [https://i.imgur.com/WAshjOZ.jpg]] [img width=600 [https://i.imgur.com/V3vMA9m.jpg]] """>>
The ''progressive learning platform'' is a subset of the [[MIPS Architecture|MIPS Architecture]] and instruction set, and is pared down to make it specifically for education. PLP is part of the [[RISC Architecture|Reduced Instruction Set Computer (RISC) Architecture]]. PLP 5.2 only has 27 native instructions. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Progressive Learning Platform (PLP)' sort[title]>> </div>
The ''and operator'' in prolog is indicated with a comma, `,`.
The ''append rule'' can be defined as: ``` append([], X, X). % stopping condition append([X | Y], Z, [X | W]) :- append(Y, Z, W). ``` This seems kind of confusing at the moment.
Below is a list of prolog operators and expressions for arithmetic: [img width=700 [https://i.imgur.com/sT4R6pd.png]]
''Clauses'' are in [[prefix notation|Prefix Notation]], and can be defined in [[BNF notation|Backus-Naur Form (BNF)]] as follows: ``` <clause> ::= <control> | <assignment> | <predicate> (<objects>) <clauses> ::= <clause> | <clause>, <clause> | <clause>; <clause> ``` where `;` is the or operator and `,` is the and operator. The objects following the [[predicate|Prolog Predicates]], are called the arguments of the clause. The set of [[rules|Prolog Rules]] or [[facts|Prolog Facts]] with the same predicate and the same [[arity|Arity (Computer Science)]], can be represented in a notation of `predicate/arity`. For example `man/1`, `woman/1`, `mother_of/2`, etc. See also: * [[Image - Prolog BNF Notation for the facts and rules]]
''Comments'' in Prolog can be created with a percent sign: `%`.
A ''prolog database'' consists of a list of statements, where each statement is a [[fact|Prolog Facts]] or [[rule|Prolog Rules]] which consist of [[clauses|Prolog Clauses]]. Here is an [[example of a more complex database|Example - Prolog - Database]].
''Prolog facts'' or ''axioms'' define the known relationships among objects. The collection of all the facts is called the factbase. A fact can be something like `fast(car).` which means "a car is fast". It could also mean something like "David is the father of Jesse" which would look like `father_of(david, jesse).`. Facts can also include [[and|Prolog and Operator]], and [[or|Prolog or Operator]] operators such as `likes(bill, car), likes(bill, bike).`. If a simple statement such as `arizona_hot.` is entered as a fact, then a simple query such as `arizona_hot.` will return true. See also: * [[Example - Prolog - Facts and Rules]] * [[Prolog Predicate Logic Syntax]]
[[Prolog clauses|Prolog Clauses]] that perform arithmetic operations are often called ''prolog functions''. A prolog function cannot have a return value besides true/false so an argument must be used for passing the return value to the outside of the function. See also: * [[Prolog Recursive Functions]]
''Goals'' or ''queries'' are the questions that are asked of prolog during interpretation. A query can include a [[variable|Prolog Variables]] such as `X` that will query the database for any matching values. For example if there is a rule such as `eats(fred, oranges).`, a query such as `eats(fred, X).` will return `X = oranges`. If two variables are used in a statement, such as `authorship(Who, What).` then each individual pair of truth will be presented. To stop searching matches, the return key can be pressed, to output the next match, the semi-colon `;` can be entered. When a goal succeeds, it means there are facts that ''unify'' the goal. If no facts unify the goal, the search checks the rules. A goal unifies a rule if it unifies all the conditions of the rule. A goal matches a fact or clause if their predicates are the same, their numbers of arguments are the same, and their corresponding arguments unify. Two arguments unify if they are identical literals, if one of them is a variable, or if both of them are variables. Here is an [[image where the prolog execution model is summed up in c code|Image - Prolog Execution Model]].
A ''list'' can be defined recursively in BNF notation as such: ``` <list> ::= [] (empty list) <list> ::= [<H> | <list>] ``` where `H` is a variable, value or an item of any type. A list is very similar to a [[cons-cell in lisp|Lisp cons-cells]]. ''Empty lists'' are very useful for stopping conditions of recursive functions. Here is an [[example of reversing a list recursively|Example - Prolog - Reversing a list with empty lists recursively]].
The ''member rule'' is a built in predicate of prolog, and tests if the first argument is in a list or not. This will test pairs or lists, and any embedded pairs/lists, although it will not take into account the secondary value of a pair. The member rule is defined below: ``` member(X, [X | _ ]). member(X, [ _ | T ]) :- member(X, T). ``` Here is an [[example of using the member rule with pairs|Example - Prolog - Using the member rule with pairs]].
''Operators'' in prolog are pretty well summed up in [[prolog arithmetic|Prolog Arithmetic]]. The precedence of operators, does play an important part in how things are evaluated though. If an operator is ran in its prefix notation such as `+(+(2,3), 4).` then the value on the right has to have a lower precedence than the value on the left. So if for example `N = +(4, +(2,3)).` was written, it return `N = 4+(2+3)` instead of `N = 9`.
The ''or operator'' in prolog is indicated with a semi-colon: `;`.
The following are the ''pair simplification rules'': * A vertical bar and the left bracket to the right of a bar can be replaced by a comma if the item to the right of the bar is a pair. After the left bracket is removed, the corresponding right bracket must be removed. * If a vertical bar is followed by an empty list, the bar and the empty list can be removed. Here are some [[examples of using the pair simplification rule|Example - Prolog - Using the pair simplification rule]].
A ''pair'' can be written as two items in a pair of brackets where the two items are separated by a vertical bar. In BNF notation it looks like so: ``` <pair> ::= [<A>|<B>] ``` where both `A` and `B` can be a variable, value, or an item of any data type. See also: * [[Prolog Lists]]
''Predicate logic syntax'' is similar to natural language, although it strips all unnecessary words from sentences and transforms the sentence by placing the relationship (predicate) first and groups the objects or arguments after the relationship. For example: `predicate (object, object, object ...)` Some [[examples of predicate logic syntax are here|Example - Prolog - Predicate Logic Syntax examples]]. "if" is represented by `:-` in prolog
A ''predicate'' or ''relationship'' in prolog is the name preceeding a set of objects or literals that form a relationship such as `likes(bill, cars)`. In that case the predicate is `likes`. Predicates are always lowercase.
''Prolog'' programs include a set of declarations consisting of two types of statements, [[Prolog facts|Prolog Facts]] and [[Prolog rules|Prolog Rules]]. Prolog stands for "PROgramming LOGic" Here is the [[BNF notation for the facts and rules of prolog|Image - Prolog BNF Notation for the facts and rules]]. Prolog is a [[horn logic|Horn Logic]]-based language, and also a [[logic language|Logic Programming]]. Prolog uses an [[interpreter|Interpretation]]. Prolog was invented by Alain Colmerauer and Philippe Roussel at the University of Aix-Marseille in 1971. It was originally designed for natural-language processing, but has since become one of the most widely used languages for [[artificial intelligence|Artificial Intelligence]]. Table of contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Prolog Programming Language' sort[title]>> </div>
A ''recursive prolog function'' can be written when a [[rule|Prolog Rules]] has a clause in the condition part that has the same predicate and arity as the conclusion. For example, below is the recursive definition of factorial: ``` factorial(N, F) :- N>0, N1 is N-1, factorial(N1, F1), F is N* F1. ``` Where `N` is the factorial to get and `F` is the result. Here is an [[example of making a recursive Fibonacci function|Example - Prolog - Fibonacci Function]].
''Prolog rules'' are used to define new predicates using those already defined [[prolog facts|Prolog Facts]]. The collection of all the rules is called the rulebase. A rule starts with the conclusion, follwed by the if operator `:-`, then the conditions. A rule states "if the conditions are true, the conclusion is true". For example "bill likes the car if the car is fast" would look like `likes(bill, car) :- fast(car).`. Another example is "humidity is high if it rains" which would look like `high(humidity) :- rains().` See also: [[Example - Prolog - Facts and Rules]]
A ''statement'' is a [[fact|Prolog Facts]] or [[rule|Prolog Rules]] and ends with a period `.`.
The ''trace goal'' will trace how each unification occurs. It can be started by typing `trace.` and stopped by typing `notrace.`.
''Variables'' in prolog are written in uppercase, and can start with an underscore `_`. Names and constants are written in lowercase. A variable that starts with an underscore is an ''anonymous variable'' or ''unnamed variable''. An anonymous variable can be used in a [[rule|Prolog Rules]] or [[goal|Prolog Goals]] when we do not need or care about the value of the variable.
Suppose you want to prove that a singular statement p is true. Suppose also that you can find a contradiction q such that $$\neg p \to q$$ is true. Because q is false, but the statement $$\neg p \to q$$ is true, we can conclude that $$\neg p$$ is false, which means that p is true. This can be done by using the statement $$r \land \neg r$$ which is a contradiction. We can prove that p is true if we can show that $$\neg p \to (r \land \neg r)$$ is true for some proposition r. This is called a ''proof by contradiction''. To start a proof of this type, you assume the negation of the original statement. Another way to start a proof by contradiction is with the type $$p \to q$$ which is logically equivalent to $$(p \land \neg q) \to F$$.
A ''proper subset'' is for example A as a subset of B, but where $A \ne B$. This is denoted by $A \subset B$ and it must be the case that $\forall x (x \in A \to x \in B) \land \exists x(x \in B \land x \notin A)$. A venn diagram would show atleast one point outside of the inner circle indicated by A to show that it is a proper subset.
The rules of logic give precise meaning to mathematical statements. A ''proposition'' is a declarative sentence that is either true or false. Examples of this are below. An opinion is not a proposition, because it has no true or false value. Statements with variables are not propositions, because their truth values are dependent on outside factors. __Examples of propositions:__ * Washington D.C. is the capital of the United States of America; true * 1 + 1 = 2; true * 2 + 2 = 3; false __Examples that are not propositions:__ Bullets 3 and 4 are not propositions because they are neither true or false. * What time is it? * Read this carefully. * x + 1 = 2 * x + y = z
//Other names:// Statement Variables Letters are used to denote ''propositional variables or statement variables''. In other words, letters represent propositions the same way that letters are used to denote numerical variables. Typically these are p, q, r, s. When assigning a propositional variable to an equation, make sure to use parenthesis. For example p = ( 1 + 2 = 3 ) is the statement "p is not equal to 3" in this case.
A ''prototype'' is a model of some kind that represents a physical version of the design idea.
The ''Prototype design pattern'' is a type of [[creational design pattern|Creational Design Pattern]] and is used to instantiate a new object by copying all of the properties of an existing object. This is particularly useful when the construction of a new object is inefficient.
''Prototypical inheritance'' is [[OOP|Object Oriented Programming (OOP)]] without classes. [[Javascript|JavaScript]] uses this, and more research into what it means could be helpful.
The ''proxy design pattern'' is a type of [[structural design pattern|Structural Design Patterns]] that is used to provide a surrogate or placeholder object which references an underlying object. The proxy provides the same public interface as the underlying subject class, adding a level of indirection by accepting requests from a client object and passing these to the real subject object as necessary. This could be used as a cache proxy which improves performance by caching results of repeated calculations such as a prime number generator. So that if the result is stored, it can immediately be sent back to the client. There are quite a few different kinds of proxy design patterns shown here: http://www.blackwasp.co.uk/Proxy.aspx.
''Proxy servers'' can be used to make a centralized endpoint to access the internet through. An example of how this looks with the [[IP/TCP layers|TCP/IP Network Layers]] is below: [img width=800 [https://i.imgur.com/rEiPgic.png]]
Pseudo Elements are elements in HTML that are not directly stated in the HTML code. For example, [[before and after pseudo elements|CSS :before and :after]].
''PSP Defect logging'' can be done for each defect that escapes the phase in which it was injected. Early defect removal is making changes to your review process so that you can detect specific defect types better and defect prevention is changing your design or coding process to eliminate certain defect types. This could be done with a google sheet and a link saved to a personalized PSP bullet. Suggested information for each defect is in the note. <<_note """ Defect logging info: - Type: Keep categories so that each has a nominal amount of defects in it, so that a lot don't have very many, and so that a few don't have most of them. - Phases injected and removed - Fix Time: Number of minutes required to remove the defect including research debugging, reworking the design, reworking code. This helps you understand the magnitude of each defect. - Fix defect: If the defect was fixed by fixing another defect, record a reference to the other defect so you can understand the types of validation that defect fixes require. - Description: A concise description of the cause that will allow you to recognize similar defects in the future. #Sources: - Methods and Tools Summer 2007 pg 46-60 https://goo.gl/Vjt9o4 """>>
Personal Process Improvement Plan (PIP): is where the engineer records ideas for improving their own process. Validation can be done for any activity, so it's good to make sure you achieved the desired goals at each step by asking questions like "Did you build all the parts intended?", "Is the product the size you expected it to be?", and "Do you need to take any corrective action?". Record information in a searchable way about each of your projects because it will be a gold mine for you in the future for things like defending your plans to employers (like how long it will take you to do something), setting quality goals, planning your next project, identifying candidate processes for improvement and evaluating the effectiveness of process changes you have made.
The ''personal review'' or sometimes called ''post-mortem'' involves reviewing your code in multiple passes while focusing on one type of defect each time, prioritizing defects your personal data shows that you inject more often. This is part of [[PSP0|Personal Software Process 0 (PSP0)]]. Maintaining a [[review checklist|PSP Review Checklists]] helps immensely with finding issues consistently and reliably. Avoid rushing when doing the reviews, PSP suggest to review code no faster than 200 LOC per hour. The goal is to find every defect before the first compile or test.
''Process Measurement'' is part of the PSP process. Individual measurements should be gathered for a specific purpose, explicitly defined, properly managed, and properly used. Measurements should be used to make process changes to achieve lasting improvement. For different types of work, use different measures and standards for your measures. Informal size measurement can be based on line counts. Count every statement including things like closing brackets and headers, but skip empty lines, comments, and automatically generated code. Count added and modified code too. Size counting can be done manually for small projects but for larger projects it requires an accounting system of some kind. Process measurement types are in the note. <<_note """ Process Measurement Types: - Program size: The size measure must correlate with the development time. If it does not, then it won't be very useful. Make sure the size measure is precisely defined, and automatically countable. - Time spent by phase: - Defects found and injected by phase: """>>
''PSP Process Scripts'' are guidance on how to use a process. They generally describe the purpose, entry criteria (consisting of problem description, time and defect logs, PSP0 Project Plan Summary form, etc), General guidelines, Steps (such as Planning, Development, Review), and exit criteria (for example: Thoroughly tested program, Completed project plan summary, completed time and defect recording logs).
''Personal Quality Management:'' Software that contains one or more defects is "defective". So one of the highest priorities of a software engineer is striving towards defect-free software. Defect removal costs escalate with each passing phase. Where it might cost 1 dollar in requirements, it may cost 10 dollars in design, 100 dollars during coding, 1000 dollars in test and 10,000 dollars in the field. Regardless of actual numbers, the effect is self evident. Using personal quality management allows you to gain control over defects, understand them, find them, remove them earlier and even avoid them altogether. Examples and sources in note. Defects are not important to users as long as they do not affect operations, cause inconvenience, cost time or money, or cause loss of confidence in the program's results. <<_note """ Examples: Boeing reporting very striking results while using PQM and PSP. They got a 94% reduction in test time probably due to the 75% reduction in number in defects from the same group of engineers for a project twice as large. #Sources: - Methods and Tools Summer 2007 pg 46-60 https://goo.gl/Vjt9o4 """>>
''PSP Review check lists'': Each [[personal review|PSP Personal Review]] might need a different checklist. For example high-level design, detailed design, code, and different languages. This means that your designs need to be reviewable, and that you have a criteria for design completeness. It's good to limit the checklist to one page and only do checks for that specific review. It might be nicer to physically print the list as well. If you consistently miss checks from previous reviews, then the checklist for those reviews might need to be changed. Checking an item off the list is like a personal certification that the defect type is absent from the work product.
A ''pure function'' is one without any [[side effects|Macro]].
''Python'' is a [[high-level|High-Level Programming Languages]], [[object-oriented|Object Oriented Programming (OOP)]] programming language and is used in part by Dropbox, Youtube, Yahoo, and BitTorrent. Python has [[multiple-inheritance|Multiple Inheritance]]. Created by Guido van Rossum with Google between 2005 to 2012. It was named after the Monty Python movie. [[Here is a link to documentation for Python|file:///Library/Frameworks/Python.framework/Versions/3.6/Resources/English.lproj/Documentation/index.html]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Python' sort[title]>> </div>
This is a tiddler to cover the different ''built-in'' functions and variables in Python. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Python > Built-ins' sort[title]>> </div>
To cast in python you can use the functions below: ```python int(value) str(value) float(value) ```
A ''class'' can be declared with `class ExampleClass:`. A better example is in the note. Most of the statements in the class will be functions. But there are other uses as well. Any variables declared in the class and not in a function are shared between each class. To instantiate a class the class can be treated like a parameterless function. For example `x = ExampleClass()` would create a new instance of the `ExampleClass` and bind it to `x` in the local namespace. To define an instantiator function or constructor @Python for a class, inside the class, the function `def __init__(self):` can be written to override the normal initiator function. This way instance variables can be set for the objects created from the class. Parameters can be added to this as well and passed besides the self parameter. An example is in the note. <<_note """ ``` class ExampleClass: #This is an example class i = 12345 def ``` ``` class ExampleClass: name = "Example Class" # Class level variable shared between all instances def __init__(self, x, y): self.x = x # Created as an instance variable self.y = y # Created as an instance variable ``` then `x = ExampleClass(3.0, 5.6)` can be used. """>>
For a ''comment'' in python you can use a # symbol. To comment multiple lines in IDLE you can use ALT + 3 to comment while highlighting the desired lines and ALT + 4 to un-comment those lines.
A ''comparison'' can be done in python with `==` and an identity or memory location can be tested for primitive data types and objects with `is` or `is not`.
To write a ''conditional'' (if, else. else if) in python type `:`. Indentation is key for this to work because there are no brackets. Else if is written by typing `elif`. Parenthesis can be used to separate multiple conditionals. Python follows normal order of operations. An example is below: ```python if J > 25: print('J is more than 25') elif J == 25: print('J is equal to 25') else: print('J is not the winner.') ```
''Data attributes'', like instance variables @b:77 store data like a normal class. Although in python this data does not need to be declared first to use it. For example after a class has been instantiated and assigned to a variable, new data can be stored onto it. An example is in the note. The counter variable was not previously declared in the class. ``` x.counter = 1 while x.counter < 10: x.counter = x.counter * 2 print(x.counter) del x.counter ```
To delete values while in python you can use `del` followed by variable or object you want deleted. It's doesn't seem exactly clear how this is helpful, or if this is required. Maybe this is good for garbage collection.
''Dictionaries'' are a type of specialized [[list|Python > Lists]] in python, and they are basically a [[hash table|Hashing]]. They organize key value pairs, by indicating the first item as the key, and the second as the value. This is like an array without index values, but instead the keys are the index values. So if you have a birthday dictionary, there isn't a specific ordering, just the keys associated with the the values, so it automatically has it's own way to sort and search these values built in to python which is useful for quick lists of data that you want to organize and don't mind letting python figure out ordering and searching algorithms for you. To add or set values in dictionaries you can use `Birthday_Dictionary['Kelly'] = "07/17/1993"`. If the key wasn't there, it will add it with the corresponding value, if it was, it will edit the corresponding value. Dictionaries can have another list as a value for a key, in order to access this, you can simply use another bracket to contain the index value. For example: `Birthday_Dictionary['Kelly'].[0]` if Kelly had two birthdays for some reason. An example of defining a dictionary is below: ```python electricMiningDrill = { "Mining Power": 3, "Crafting Time": 1 } ``` To see if a key exists in a dictionary, use `in`. For example: ```python if "model" in thisdict: print("Yes, 'model' is one of the keys in the thisdict dictionary") ```
Using a ''for loop'' in python is done for example by: `for i in rang(1,11)` which would loop from i = 1 to i = 11. This is much like an enhanced for loop in java.
A ''function'' is a block of organized, reusable code that is used to perform a single, related action in python. The syntax for defining a function is in the note. It will guess what your parameters should be by your statements in the function. ```python def subtraction(A, B): return = A - B ```
''Indentation'' in python is enforced. So each block needs to have the same indentation, which is normally just good coding practice anyway.
To receive user entered ''input'' you can use `input("Some string to prompt the user")`. For example `inputData = input('Please enter input: ')`. This will always come in as a string, so casting will be necessary to convert to different data types.
A ''List'' (much like an arrayList in Java) can be created by typing `Animals = ['Dog', 'Cat', 'Mouse', 'Emu']`. This can contain other lists, and objects.
''Modules'' are similar to [[classes in python|Python > Classes]]. To import modules you can use `[import math]` or to import a specific function, you can use `[from random import randint]`.
The ''print function'' is a [[built in function|Python > Built-ins]] and accepts one argument which is a string or object to print to the console.
To end a python script programmatically you can use `quit()`.
The ''range class'' creates a range of numbers starting with the included value and ending with the excluded value incremented by the step indicated by `range([start,] stop[, step])`. The only required parameter is stop. A range instance can be converted into a [[List|Python > Lists]] with [[casting|Python > Casting]]. [[Here is a link to documentation on range|https://docs.python.org/3/library/stdtypes.html?highlight=range#range]].
''Sets'' are like [[tuples|Python > Tuples]] but can only have unique values in them. So if the same value is recorded twice, it will only stay in the set once. These are also useful to get unique values out of Tuples or [[Lists|Python > Lists]]. Sets can enclose an array which is shown below. Sets are immutable in that they can't be changed once made. ```python myList = [1,2,3,3,3,3,3,3,4,4,4,4,5,5,5,5] set(myList) # will return a list with [1,2,3,4,5] ```
Python doesn't care if you use single quotes or double quotes when defining ''strings''. This also means that you need to use an escape when using the same type in a string. For example if you are using double quotes `"John said \"hello\" to me."` or if using single quotes `'John\'s car is red'` But not if they are different. This is very similar to [[how JavaScript acts with strings|JavaScript Strings]].
You can use ''try and except'' to do error-checking or exception handling in python. An example is in the note. ```python try: Persons_Date = people_dictionary[Name] print(Persons_Data) except: print('That name was not found in the dictionary') ```
''Tuples'' are immutable arrays in a way it seems. It would be good to look up details on this.
To use a ''while loop'' in python use `while` then a conditional. For example `while counter < 11:`
''Quality'' is meeting the user's needs, not wants. True functional needs are often unknowable though. A useful hierarchy of needs is doing the required tasks, then meeting performance requirements, being usable and convenient, being economical and timely, being dependable and reliable.
''Quality assurance'' or ''quality assertions'' consist of [[processes|Software Development Processes]] and [[standards|Process Standards]] that should lead to high-quality products and processes. See also: * [[Quality Control]]
''Quality Control'' is the application of quality processes to remove unsatisfactory products. See also: * [[Quality Assurance]]
A ''query tree'' is a [[tree data structure|Tree Data Structure]] that corresponds to a [[relational algebra expression|Relational Algebra]]. It represents the input [[relations|Relational Data Model > Relations]] of the query as leaf nodes, and the algebra expressions as internal nodes. The execution terminates when the root node is executed and produces the result relation for the query. Here is an [[example of a query tree|Image - Query tree example]].
A queue is a collection of elements with first in, first out removal and addition (FIFO). A print queue is a good example of this. A queue has the method add or enqueue that adds an element to the tail of the queue, remove or dequeue which removes an element from the head of the queue, and peek while returns the head element of the queue without removing it. The `LinkedList` class implements the `Queue` interface. So whenever you need a queue, simply initialize a `Queue` variable with a `LinkedList` object. An example is in the note. The `Queue` interface provides two options for exceptional cases of adding elements to, and removing from a queue. Those special cases are in the note. If making your own queue interface, if you have a doubley linked list, then it doesn't matter if you enqueue at the head or the tail, but if you have a singley linked list, its more efficient to enqueue at the tail and dequeue at the head. Queue<String> q = new LinkedList<String>(); q.add("A)"; q.add("B"); q.add("C"); while (q.size() > 0) { System.out.print(q.remove() + " "); // Prints A B C } Queue methods: ` enqueue or add, insert, offer dequeue or remove, poll, serve first or front, peek isEmpty size toString ` Queue interface options: - `Queue` defines an `element` method that retrieves the element at the head of the queue but does not remove it. Similar to `peek`. - To add an element to the queue, there is `add` and `offer`. If the element cannot be added, then if you use 'add' it will throw an exception, if you use 'offer' it will simply return a 'false' boolean value, and a 'true' if it was successfully added. - To remove an element there is `poll` and `remove`. The exceptional case is when an element is trying to be removed from an empty queue. `poll` will return `null` if it is empty, while `remove` will throw an exception.
Quick Sort - This works by partitioning the list and recursively sorting the two partitions. To make a partition an arbitrary partition element is chosen which could be the middle of the list, then the list is split so that all elements less than the partition element are to the left of that element, and all elements greater than that element are to the right. An example of the algorithm is here: https://drive.google.com/file/d/1FxZnhnTCUEIByfavGVexT7eqKAAjUHhs/view?usp=sharing. And the supporting method partition is here: https://drive.google.com/file/d/1lDmBvdvJM3WIINHmqUVmvLxmRDEjfz4f/view?usp=sharing.
An ''RFID tag'' or ''Radio Frequency Identification Tag'' is a chip that automatically responds to a radio signal by sending back a signal containing a unique identification number.
A ''radix'' or ''base'' is the base numbering of a numeral system. For example the radix of the decimal system is 10. A ''radix point'' is simply a "decimal point" in any given radix numbering system. The notation of a radix point can change between locales such as EU and US. Normal numbers are assumed to be in base 10, so a base 8 number could be shown as $$(1007)_8$$. Subtopics of Radix are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Radix (Mathematics)' sort[title]>> </div>
To convert between hexa, octal, or binary you can use the following table and simply translate because they are all multiples of two. https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5QmNvWnRIbDY0a00/view?usp=sharing This is ''block conversion''. So for example if you have something in binary, and want it in hexadecimal, then you take each chunk of 4 binary and turn it into 1 hexadecimal with padded zeros if necessary.
@@color:red; Incomplete: Needs more formatting work @@ To convert from base 10 to any another base you can use the ''subtraction method'' or the ''divide-by-n method''. Divide the number you want to convert by the base you wish to have, the remainder is the first number in the new value, divide again by the base where the next remainder is the next number in the new value, etc until your divisions reach zero with a remainder. Then to continue with decimals, multiply the decimal value by the base, and put the whole whole value into the first decimal place, then take the remainder and continue for each decimal place there after. A different method that is easier for counting by hand is called the ''addition method'' and consists of choosing a smaller number the furthest to the left and adding up as you go left to right. For decimal numbers you need to know the negative powers of each base. Some common base 2 powers in base 10 are listed below: Base 2 Powers in Base 10: * 2^2 = 4 * 2^1 = 2 * 2^0 = 1 * 2^-1 = 0.5 * 2^-2 = 0.25 2^-3 0.125 2^-4 0.0625 2^-5 0.03125 Some fractions require an infinite number of bits though such as $$(0.1)_{10}$$ in binary goes on forever.
The ''radix transformation hashing function'' is where the key is transformed into a different numeric base, then the [[division function|Division Hashing Function]] is used to divide the converted key by the table size.
The real number r is ''rational'' if there exists integers p and q with $q \ne 0$ such that r = p/q and that p and q have no common factors. This is one step above integers. A real number that is not rational is called irrational. Irrational numbers would include numbers like pi, or $\sqrt{2}$ etc. Irrational also means that you will never see the same decimal numbers repeating in any loop as you follow a number further.
Normal process models evaluate the process with 1 view, the ''RUP'' or ''Rational Unified Process'' recognizes 3. This was developed by Rational which is a sub-division of IBM. That is a dynamic perspective @b:79 which shows the model over time, a static perspective @b:80, that shows process activities that are enacted, and a practice perspective @b:81 which suggest good practices during the process. This is not a process for all types of development though such as embedded software development. different phases of RUP is in the note. <<_note """ __Phases of RUP:__ - Inception - Elaboration - Construction - Transition """>>
''Raw sockets'' can be used to interface with low level protocols such as the [[host-to-network layer|TCP/IP Network Layers > Host-to-Network Layer]]. No peer-to-peer services here.
''React'' is an open source view library created and maintained by Facebook. It is a tool used to render the user interface of web applications. React uses a syntax extension of JavaScript called [[JSX|React JSX]]. One of the overarching principles of React is that stateful data flows downwards from a single, or just a few stateful components down to their children through props. This separates UI from logic. This can also be handled by combining [[redux|Redux]] with react. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'React' sort[title]>> </div>
''Methods'' in a class component can be written anywhere within the class. Each method should have `this` bound to the component so that it can be used for things like state. This should be done in the constructor it seems. For example: ``` class MyComponent extends React.Component { constructor(props) { super(props); this.state = { itemCount: 0 }; this.addItem = this.addItem.bind(this); } addItem() { this.setState({ itemCount: this.state.itemCount + 1 }); } render() { return ( <div> <button onClick={this.addItem}>Click Me</button> <h1>Current Item Count: {this.state.itemCount}</h1> </div> ); } }; ```
A ''class component'' is a fully fledged component type in React, vs the [[stateless functional component type|React Stateless Functional Components]]. Here is an [[example of making a basic class component|Example - React - Making a basic react component]]. The class component starts with the class declaration such as `class Kitten extends React.Component { ... }` then has a [[constructor function|React Component Constructors]] and a [[render function|React Component render Function]]. It has all the hallmarks of a normal [[JavaScript class|JavaScript class Keyword]]. !!TypeScript When using [[TypeScript|TypeScript]] and [[props|React props]], it will probably throw some errors about using props with destructuring. To use props you can do something like the following within the class, which you can do the same thing in the render method: ```ts handleSave(): void { const { setOpen } = this.props; setOpen(false); // Save their settings } ``` This seems like extra code, but it can actually act as a bit of a declaration of which props you are using in the method. To make a class component with empty props, but has state in TypeScript you can do something like the following: ```ts type AppState = { snackBarOpen: boolean; }; type AppProps = unknown; class App extends React.Component<AppProps, AppState> { constructor(props: AppProps) { super(props); this.state = { snackBarOpen: false, }; } ... } ```
It's standard practice for a ''constructor'' in a react component to have the following code: ``` constructor(props) { super(props); } ``` [[State|React State]] is declared in the constructor.
The ''render function'' takes no arguments and works with the [[ReactDOM|React ReactDOM]]. It should return a [[JSX|React JSX]] statement and is normally enclosed in parenthesis. Other React components can be included by name inside of the JSX statements by using their name as a tag. For example: ```javascript render() { return ( <App> <Navbar /> <Dashboard /> <Footer /> </App> ) } ``` Embedding components within one another is called ''composing'' or ''nesting'' in React. Before the return statement, JavaScript can be written. This means that functions can be declared there, or access data from [[state|React State]] and [[props|React props]]. This also means that variables can be set there which can then be accessed in the JSX. See also: * [[Example - React - Using a JSX statement with multiple elements]]
The best practice for making API calls or data [[fetching|JavaScript fetch Method]] in React, is in the ''componentDidMount lifecycle hook''. This method is called after a component is mounted to the DOM. Any calls to [[setState|React setState Method]] here will trigger a re-rendering of your component. So when an API is called in this method, and the state is set with the data the API returns, it will automatically trigger an updat once the data is received. This is also the best place to attach [[event listeners|React Event Listeners]].
The ''componentDidUpdate lifecycle hook'' is called immediately after a component re-renders.
React is based on ''components''. There are two ways to create a component. One is through a JavaScript function. Creating a component this way creates a [[stateless functional component|React Stateless Functional Components]]. The other way is to create a fully fledged react component by extending `React.Component`, this could be considered a [[class component|React Class Components]]. Any type of component can be nested together. If it's a stateless component, or a class component. Good practice is to minimize statefulness and to create stateless functional components wherever possible. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'React Components' sort[title]>> </div>
The ''componentWillReceiveProps lifecycle hook'' is called whenever a component is receiving new [[props|React props]]. This method receives the new props as an argument, which is usually written as `nextProps`. This argument can be used to compare with `this.props` and perform actions before the component updates.
The ''componentWillUnmount lifecycle hook'' is useful to do any kind of clean up on components before they are destroyed. For example removing [[event listeners|React Event Listeners]].
''Default props'' can be designated by setting them to the component after it is declared with the following: ``` MyComponent.defaultProps = { location: "San Francisco"}; ```
''Dynamically rendered components'' can be created using the [[map function|JavaScript Array.prototype.map Function]], or any other structure in javascript that will allow multiple things to be iterated over. When creating multiple elements, include a unique `key` attribute for each element. This could be the index value, or something else. This is needed for React for some reason. This idea can also be extended to all components with an element, by using a `children` [[prop|React props]] containing all the elements for the component. This allows the component to have variable components that can be added or subtracted as needed. For example: ``` function FancyBorder(props) { return ( <div className={'FancyBorder FancyBorder-' + props.color}> {props.children} </div> ); } ```
''Event listeners'' in React are best placed in the [[componentDidMount lifecycle hook|React componentDidMount Lifecycle Hook]]. React provides a synthetic event system which wraps the native event system present in browsers. This means that most events that are used in React, will work regardless of the browser. For example `onClick()` is a synthetic event. Events can be added [[just like they are in JavaScript|DOM Element Event Listener]]. Event listeners should always be removed in the [[componentWillUnmount lifecycle hook|React componentWillUnmount Lifecycle Hook]].
''Events'' in React are passed automatically from any [[HTML element event|HTML DOM Events]] to the designated method. For example `onChange={this.handleChange}`. Then a parameter for the `handleChange` event can be `event`. To prevent default behavior, like that of a form submit button, the method `event.preventDefault();` must be stated somewhere in the event handler method for the component. Here is an [[example of using a form with React|Example - React - Using a form with state changes and events]].
The ''react Fragment component'' allows multiple elements to be returned in the [[render method|React Component render Function]] without creating an additional DOM element to wrap them. This can be done by using an opening and closing `React.Fragment` element. For example: ``` render() { return ( <React.Fragment> Some text. <h2>A heading</h2> </React.Fragment> ); } ``` A fragment can also be written as simply opening and closing tags, like so: ``` render() { return ( <> Some text. <h2>A Heading</h2> </> ) } ```
''Functions'' can be executed [[before the return statement in the render function|React Component render Function]], or as [[individual methods in the class component|React Class Component Methods]].
Using ''images'' in React is the same as [[using images with Webpack|Webpack Images]].
''Inline conditionals'' are ways of writing component's [[JSX|React JSX]] so that some element will only display if the conditions are met. Within JSX this can be written as: ``` {condition && <p>markup</p>} ``` where the conditions can be as many as needed. Another way to do this is with [[ternary operators|JavaScript Ternary Operator]], which can be chained.
''Inline styles'' in React cannot be done with a string. They are done with a JavaScript object. Also, in a style object the style properties must be camelCase, and not kebab style, kind of like how HTML attributes need to be the same way in React. For example, using the [[JSX|React JSX]] syntax: ``` <div style={{color: "yellow", fontSize: "16px"}}>Mellow Yellow</div> ``` Because of the way this is setup, styles can be setup as separate objects and used just like a variable. This almost adds some [[SASS|Syntactically Awesome Stylesheets (SASS)]] features. In react, styling can be modified by a [[component's state|React State]]. Because of this, it modifies the idea of styling to a more unified flow of information.
''JSX'' is a syntax extension of [[JavaScript|JavaScript]] that allows you to write HTML directly within JavaScript. Include the code you want to be treated as JavaScript by putting it between curly braces. For example `{ 'this is a JavaScript string' }`. This is also how text with special characters such as `<>` can be escaped. By returning a javascript string. Keep in mind JSX is not valid JavaScript, so it needs to be compiled which is typically done with [[Babel|Babel]]. JSX must return a single element. Here is an [[example of having multiple elements returned in a JSX statement|Example - React - Using a JSX statement with multiple elements]]. When rendering multiple elements, they can be wrapped in parenthesis optionally. Below are some differences between HTML and JSX: * One limitation to JSX is that the word `class` cannot be used for elements because it is a reserved word in JavaScript. Instead use the name `className`. * The naming convention for all HTML attributes and event references become camelCase in JSX. So `onclick` is `onClick` and `onchange` becomes `onChange`. * In JSX every element can be written with a self closing tag, and every element must be closed. This includes `<br/>`. This is useful for React components.
''Comments'' can be written in ''JSX'' with an opening tag of `{/*` and a closing tag of `*/}`.
''Lifecycle hooks'' or ''lifecycle methods'' can be used to catch [[class components|React Class Components]] at certain points in time. All lifecycle hooks can be put within a class component just like normal [[class component methods|React Class Component Methods]], although they do not need to have `this` bound to them in the constructor. They just need to have the special function signature that is saved for that particular hook. A list of the common hooks are below: * `componentWillMount()`: this method is called before the [[render function|React Component render Function]] when a component is being mounted to the DOM. * [[componentDidMount()|React componentDidMount Lifecycle Hook]]
''React Native'' is a way to program applications in [[React|React]] that end up using native libraries on [[Android|Android]] or [[iOS|iOS]]. See also: * [[Link to the main React Native website|https://facebook.github.io/react-native/]]
''Props'' can be passed to a [[component|React Components]] by making it an attribute in the components HTML notation. For example if a component is written with [[JSX|React JSX]] as: ``` <Welcome user="Gaul lol"/> ``` then the attribute is stored in a `props` object which can then be used by the component. For example: ``` const Welcome = (props) => ( <h1>Hello, {props.user}!</h1> ) ``` It is good practice to always set [[propTypes|React propTypes]] for props that you know the type of ahead of time. Methods can be passed in props as well, and just referenced from the props object like normal in the children. Here is an [[example of doing that|Example - React - Updating data through children components with the state]]. Props are a very common way [[conditionally render|React Inline Conditionals]] code. See also: * [[React Default props]]
''propTypes'' is a property that can be set on a [[React Component|React Components]] and specifies what previously set properties should be on a component. For example: ``` MyComponent.propTypes = { // For a stateless component handleClick: PropTypes.func.isRequired } // Or class ExampleComponent extends React.Component { static propTypes = { // For a class component handleClick: PropTypes.func.isRequired } } ``` tells React that a property called `handleClick` should be a function, and is required. React will throw a useful error if this property is left out. The different accepted property types are `func`, `bool`, and the other [[basic data types|JavaScript Basic Data Types]] written out. PropTypes has to be imported independently from React with the [[prop-types NPM package|NPM prop-types Package]] with the following statement: ``` import PropTypes from 'prop-types'; ```
''ReactDOM'' is the [[React|React]] rendering API that renders [[JSX|React JSX]] directly to the [[HTML DOM|HTML DOM]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'React ReactDOM' sort[title]>> </div>
The ''ReactDOM.render method'' allows you to render React elements to the DOM which looks like so: ``` ReactDOM.render(componentToRender, targetNode) ``` where `componentToRender` is the React element in [[JSX|React JSX]], and `targetNode` is the DOM Node that you want to render to.
''React Redux'' or ''react-redux'' is a package for using [[redux|Redux]] in [[react|React]]. Here is the [[repo location on github|https://github.com/reduxjs/react-redux]]. See also: * [[Example - React Redux - Full example of message storing web app and import statementss|$:/Example - React Redux - Full example of message storing web app and import statements]] Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'React Redux'>> </div>
''Presentational components'' are generally React components that aren't directly [[connected|React Redux ReactRedux.connect Method]] to Redux. This means they are just responsible for the display of the UI.
The ''Provider component'' is a wrapper component from [[React Redux|React Redux]], that wraps your React app. This then allows access to the [[Redux store|Redux store Object]], and [[dispatch functions|Redux store.dispatch Method]] throughout the component tree. `<Provider></Provider>` takes two [[props|React props]]. Those are the redux `store` and child components of your app. The child components can be passed like so: ``` const Provider = ReactRedux.Provider; <Provider store={store}> <App/> </Provider> ``` where `ReactRedux` is [[imported|JavaScript import Keyword]] from the `react-redux` package.
The ''ReactRedux.connect'' method has to be used as an [[IIFE|JavaScript Immediately Invoked Function Expression (IIFE)]] and can take two optional arguments which are a `mapStateToProps()` function and a `mapDispatchToProps()` function in that order. Then the function is immediately called with the component to connect. For example: ``` const ConnectedReactComponent = connect(mapStateToProps, mapDispatchToProps)(MyComponent) ``` If one of the arguments needs to be omitted in the connect method, it needs to be replaced with `null`. See also: * [[React Redux Presentational Components]]
''Refs'' in [[React|React]] seem to be ways to hook into elements in the page so that you can possibly use the raw DOM API or something else. They should be used very sparingly. A ref can be created by using the `React.createRef()` method. Refs can be attached to an element by specifying the `ref` property in an element. Here is an [[example of doing that|$:/Example - React - Attaching a ref to an element]]. A ref object has the following attributes: * `current` will contain a reference to the HTML element it was set on, or it will be set to the mounted instance of the [[class component|React Class Components]] it was set on. It can not be set to [[function components|React Stateless Functional Components]] because they do not have instances. See also: * [[React documentation on Refs|https://reactjs.org/docs/refs-and-the-dom.html]]
Most of react rendering is done on the client side. Although if it is all done client side, then the starting HTML of the page will be relatively empty. This makes it so web crawlers will have a hard time finding out what your page is about, and could make the initial page load sort of slow. To alleviate this, ''server rendering'' is available. The method `renderToString()` is available for this purpose. The method takes one argument which is a React component in JSX notation. For example `renderToString(<App/>)`. What can be done with this method? Or where does it go?
The ''setState method'' can be called anywhere within a [[class component|React Class Components]], as long as `this` is bound to the function it is called in, with `this.setState()` and accepts an object with one, or more key values that match ones already in the [[state|React State]]. It can also accept a [[callback function|JavaScript Callback Functions]] with the previous state as a parameter, so that the previous state can be used. Always use `setState` to modify the state if the pointer will be changing and don't do it directly. If the state value is an array, or an object, it can be modified directly. For example if there was a property in the state object that was `username` then the following could be used: ``` this.setState({ username: 'Lewis' }); ``` Keep in mind that setState is sometimes executed in batches so it is asynchronous. There is a way around this that can be done in rare cases. That information is located in the [[react documentation|https://facebook.github.io/react/docs/state-and-lifecycle.html]]. `setState` may not happen immediately. So using `state` immediately after might end up in an error. To use state right after it is changed, maybe use the [[componentDidUpdate lifecycle hook|React componentDidUpdate Lifecycle Hook]]. !!! TypeScript If using [[TypeScript|TypeScript]], you might need to change state a little bit strangely for variable state changes. For example in a class component: ```ts handleCheckboxChange(event: React.ChangeEvent<HTMLInputElement>) { this.setState(state => { return { ...state, [event.target.name]: event.target.checked, }; }); } ``` !!! Deeply Nested State If you have some deeply nested state, you can use a package like `ramda` to set and pass that state to other components. See [[this article|https://vanslaars.io/blog/setstate-lenses/]] for a guide on how to do that.
The ''shouldComponentUpdate lifecycle hook'' is useful if there is a situation where a component should not update even though its state and/or props are updated. The method is `shouldComponentUpdate()` and it takes `nextProps` and `nextState` as parameters. This method then returns a boolean value determining if it should re-render the component. This method is useful for performance optimization.
''State'' is how React manages data over time, and the `state` property must be set to a JavaScript object. For example in a [[constructor|React Component Constructors]], it could look like: ``` this.state = { // state properties } ``` State can only be created in a [[class component|React Class Components]]. But this might not be true because you can use other methods like `React.useState`. State can be used in the [[render method|React Component render Function]] with `this.state`. State is completely contained within the component that declares it, unless it is passed along with props. This means logic can be kept within one component. If you would like to edit state at the top level from a lower level component, you can pass down a method which changes the state at the top level component. State can be edited with the [[setState method|React setState Method]].
A ''stateless component'' is a [[class component|React Class Components]], but does not use internal state.
A ''stateless functional component'' is a [[component|React Components]] created from a JavaScript function that accepts [[props|React props]] and returns [[JSX|React JSX]]. It is one that can receive data and render it, but does not manage or track changes to that data. To create a component with a function, write a JavaScript function that returns JSX, or null. React requires that the function name begin with a capital letter. Here is an [[example of creating a stateless functional component|Example - React - Creating a stateless functional component]].
The ''readers-writers problem'' is a situation with processes involving [[semaphores|Semaphore (Computer Science)]]. A solution is below, although it could result in [[starvation|Operating System Process Starvation]]. [img width=700 [https://i.imgur.com/e9DS0io.png]] The reason this could result in starvation, is that the first reader on a file, is charged with the `rw_mutex` lock. If there isn't ever a point where `read_count` goes back to 0, then the writer will never be able to write to the data.
These are often used in industry to track sensors on large equipment. These databases take in and store massive amounts of information.
A [[function|Function (Mathematics)]] is called ''real-valued'' if it's codomain is $$\mathbf{R}$$ and called integer-valued if it's codomain is $$\mathbf{Z}$$. If functions $$f_1$$ and $$f_2$$ are real-valued, then $$(f_1 + f_2)(x) = f_1(x) + f_2(x)$$ and $$(f_1 f_2) (x) = f_1(x)f_2(x)$$.
A ''recurrence relation'' for the sequence $$\{a_n\}$$ is an equation that expresses $$a_n$$ in terms of one or more of the previous terms of the sequence. A sequence is called a solution, or a closed formula of a recurrence relation if it's terms satisfy the recurrence relation and only include the number of times of recurrence, or $$n$$. A recurrence relation is said to recursively define a sequence. An example is $$a_n = a_{n-1} + 3$$ so if $$a_0 = 2$$ then the sequence becomes $$\{ 2, 5, 8, 11, ...\}$$. The initial condition of a recurrence relation are the first terms required to satisfy the start of the recurrence relation.
''Recursive'' (''recursion'') methods are fairly complex. But there are a few simple rules: Every recursive call must simplify the task in some way. When you stop recursion, it is considered the base case. Each recursion follows a similar pattern as shown below: ``` P(4) = 4! = 4 * 3! = 4 * P(3) P(3) = 3! = 3 * 2! = 3 * P(2) P(2) = 2! = 2 * 1! = 2 * P(1) P(1) = 1! = 1 // Base case Therefore: P(2) = 2 * P(1) = 2 * 1 = 2 Therefore: P(3) = 3 * P(2) = 3 * 2 = 6 Therefore: P(4) = 4 * P(3) = 4 * 6 = 24 ``` All problems can be solved in an iterative manner, but some problems are far more complex, and hard to understand vs, their recursive counterpart. An image of tail and non tail recursion is in the note. See also: * [[Recursion Fantastic Four Technique]] * [[Example - Java - Recursive Method]] * [[Tail-Recursion]]
The ''fantastic four technique'' or ''fantastic four abstract approach'' is a technique of creating good recursive methods. * Formulate the size-n problem: Find your n size of the problem. For example a factorial's method header would be `int factorial (int n)`. * Find the base case and the corresponding return value of that base case: This is self explanatory it seems * Formulate the size-m problem and find m: The size-m problem is simply a smaller problem, where how much smaller m is than n is determined by how much we can reduce the problem size in one iteration. At this point do not solve the problem, just assume the call to the size-m problem will return a value and then use the value. * Construct the solution of the size-n problem form the size-m problem: This part is application specific. Basically do your best to piece it together here.
A ''recursively defined set'' is a [[set|Set (Mathematics)]] $$S$$ that is defined as follows: Recursive definitions may include an ''exclusion rule'' that says that a recursively defined set contains nothing other than the elements specified in the basis set or generated by the recursive steps. In recursively defined sets there is no natural linear order, so no first and second element. This follows from the formal definition of a set. See also: * [[Structural Induction (Proofs)]]
A ''red/black tree'' is a balanced binary search tree where a color is stored for each node, normally as a boolean with false being equivalent to red. The rules are that the root must be black, all children of a red node are black, and every path from the root to a leaf contains the same number of black nodes, where null is still considered a leaf. This is a little less strict than an AVL tree, but finding an element is still O(logn). The maximum height of a red/black tree is roughly $$2*\log n$$. The insertion process, and removal process is in the note. The color of a null element is considered black. <<_note """ ``` Insertion: - First set the new element to Red, - Re-balancing is recursive and starts with the base case (current == root) || (current.parent.color == black) - If the parentsLeftSibling.color == red then -- set the color of current's parent to black -- set the color of parentslefsibling to black -- set the color of current's grandparent to red -- set current to the the grandparent of current - else if the parentslefsibling.color == black then -- if current is the left child, then current is set equal to it's parent and then rotate current.left to the right then set current back to the child. -- set the color of current's parent to black -- set the color of parentsrightsibling to black -- set the color of current's grandparent to red -- set current to the grandparent of current - Last step is to set the color of the root to black. Removal: - Base case is (current == root) || (current.color == red) where current is the node we are currently processing. - For the following code, all right and left can be subsituted for it's opposite. So if a right rotation is made, a left rotation will be made. Also null is black - If current's sibling is red then -- set the color of the sibling to black -- Set the color of the current's parent to red -- Rotate the sibling right around current's parent. -- Set the sibling equal to the left child of current's parent - Then If both children of the sibling are black or null, then -- Set the color of the sibling to red -- Set current equal to current's parent - Else if the children of the sibling are not both black, and the left child of the sibling is black then -- set the color of the sibling's right child to black -- set the color of the sibling to red -- rotate the siblings's right child left around the sibling -- set the sibling equal to the left child of current's parent - else if both of the siblings children are not black -- set the color of the sibling to the color of current's parent -- set the color of current's parent to black -- set the color of the siblings left child to black -- rotate the sibling right around current's parent -- set current equal to the root - Then finally remove the node by setting it's parent's child reference to null ``` """>>
Some processors that use RISC are below: <<list-links "[tag[Reduced Instruction Set Computer (RISC) Architecture]sort[title]]">> See also: * [[Complex Instruction Set Computer (CISC) Architecture]]
''RAID'' can be done in a few different ways: * Mirroring: A logical disk consists of two physical disks, and every write is carried out on both disks. The result is called a ''mirrored volume''. A factor called "mean time to repair" is the time it takes on average to replace a failed disk and to restore the data on it. If the mean time to repair is 10 hours and the ''mean time to failure'' is 100,000 hours for each disk, then the ''mean time to data loss'' is $$100,000^2 / (2 * 10) = 500 * 10^6 hrs$$ or 57,000 years. 🧐 Although realistically natural disasters happen, and when both disks are the same age, the failure rate gets much higher for both at the same time. * [[Data Striping|Data Striping]] The different levels of RAID are below, and here is a [[picture that represents the different RAID types|$:/Image - The different RAID types]]: * ''RAID 0'' - Non redundant striping. Refers to disk arrays with striping but without any redundancy. * ''RAID 1'' - Mirrored disks * ''RAID 2'' - Memory-style [[ECC|Operating System Disk Formatting]] organization. Each byte in a memory system may have a [[parity bit|Parity]] associated with it. In RAID 2, the normal disks are striped, then extra parity bits for each parity disk are added to help reconstruct or tell if the data has been damaged. RAID 2 is not used in practice, because of RAID 3 * ''RAID 3'' - Bit interleaved Parity. This is just like RAID 2, but it takes into account that a disk controller can tell if a sector is bad, then just use one other disk to count as the parity disk and it will have enough information to reconstruct the bit. This is a large improvement over RAID 1 because only one disk is needed for a bunch. It does take a performance hit though because every disk needs to take part in every I/O request. Some disks help with this by offloading the calculation of the parity bit to the controller. * ''RAID 4'' - Block-interleaved parity organization. This uses block-level striping and keeps a parity block on a separate disk for corresponding blocks from N other disks. Just like RAID 3 but with blocks. * ''RAID 5'' - Block-interleaved Distributed Parity. This makes every disk participate in parity for the other disks. This makes it so one disk doesn't get over used for parity. This is one of the most common RAID arrays. * ''RAID 6'' - P + Q Redundancy scheme. This is just like RAID 5 but has extra redundant information for multiple disk failures. For example, for every 4 bits of data, 2 bits of redundant data are stored. * ''RAID 0+1'' - This is where RAID 0 provides the performance and RAID 1 provides the reliability. Here is an [[image of two setups for RAID 0 + 1|$:/Image - Two setups of RAID 0 + 1]]. A ''hot spare'' can be used as a disk that only gets used when one fails. This almost eliminates the time it takes to replace a failed disk into an array. Fun fact: "I" used to stand for "inexpensive", but now it is used for speed boosts too, so it was changed to "independent".
''Redux'' is a state management framework that can be used with a few different things, mainly [[React|React]]. When using Redux, there is a single state object that is responsible for the entire state of the application. So in react, this means that if 10 components had their own state, then the entire state of the app would be in a single object housed in the [[Redux store|Redux store Object]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Redux' sort[title]>> </div>
''Action creators'' are functions that return an [[action|Redux Actions]]. An action creator can be useful for making a function that creates the corresponding action object. For example: ```javascript const ADD_NOTE = "ADD_NOTE"; function addNoteText(note) => { return { type: ADD_NOTE, text: note } }; ``` Sometimes they are [[dispatched|Redux store.dispatch Method]] at the same time. For example: ```javascript const ADD_NOTE = "ADD_NOTE"; function addNoteText(note) => { const action = { type: ADD_NOTE, text: note }; dispatch(action); }; ``` A good way to keep this clean, as a suggestion from Redux is to name them as ''bound action creators''. For example: ```javascript const boundAddNote = text => dispatch(addNoteText(text)); ```
All state updates are triggered by dispatching ''actions''. An action is a [[JavaScript object|JavaScript Objects]] that contains information about an event that has occurred. An action just says "what happened" and not necessarily how it is stored. Actions must carry a `type` property that specifies the type of action that occurred. A simple action could be like the following: ```javascript const ACTION_NAME = { type: 'ACTION_NAME', data: 'some data' } ``` Action types are commonly set to `const` values at the beginning of the code that sets up redux. Once the app gets big enough, it could be useful to store them in their own file and import the actions needed for a particular script. For example: ```javascript import { ADD_TODO, REMOVE_TODO } from '../actionTypes' ``` You don't need to declare them this way though, actions can be simply defined when needed because they are simply objects. After declaring the action, it needs to be sent to the [[Redux store|Redux store Object]] which can be done with the [[dispatch method|Redux store.dispatch Method]]. See also: * [[Redux Action Creators]] * [[Redux basic tutorial on Actions|https://redux.js.org/basics/actions]]
The method `createStore()` can be created on the `Redux` object that is imported with JavaScript. This method takes a [[reducer function|Redux Reducer Functions]] as a required argument, and a [[middleware|Redux Thunk Middleware]] as an optional second argument.
''Reducer functions'' are responsible for the state modifications that take place in response to [[actions|Redux Actions]] being [[dispatched|Redux store.dispatch Method]] to the [[store|Redux store Object]]. A reducer function takes `state` and `action` as arguments, and always returns a new state. The reason they are called reducers, is because they should be able to be passed to the [[Array.prototype.reduce method|JavaScript Array.prototype.reduce Method]]. Redux says to keep them as pure as possible and never cause side effects, or make API calls for example. It looks like there are some other things that could contribute to its purity as well. It would be good to consider those at some point. To build a reducer, you start with creating the default state, however that needs to occur, then using [[Object.assign|JavaScript Object.assign Method]] to create a new, independent state object. Redux says it is always important to have a brand new object (probably for immutability), so make sure to use an empty object as the first argument. For example: ```javascript function todoApp(state = initialState, action) { switch (action.type) { case SET_VISIBILITY_FILTER: return Object.assign({}, state, { visibilityFilter: action.filter }) case ADD_TODO: return Object.assign({}, state, { todos: [ ...state.todos, { text: action.text, completed: false } ] }) default: return state } } ``` Here is an [[example of creating a reducer function with Redux|Example - Redux - Using a reducer function]]. Here is [[another example, using a switch statement for the reducer|Example - Redux - Using a reducer function with switch statement]]. When the single state model starts getting more complex, multiple reducers can be used. Then the reducers are [[composed|Composition (Computer Science)]] together with the [[combineReducers method|Redux Redux.combineReducer Method]] to create one root reducer. That reducer is passed to the [[createStore method|Redux createStore Method]]. See also: * [[Redux basic tutorial on reducers|https://redux.js.org/basics/reducers]]
The ''combineReducer Method'' can be called on the Redux object declared at the beginning of a JavaScript document. It takes an object as an argument with keys assigned to specific [[reducer functions|Redux Reducer Functions]]. The name given to the keys will be assigned to the name for the associated piece of state. An example of using this method is below: ``` const rootReducer = Redux.combineReducers({ auth: authenticationReducer, notes: notesReducer }); ``` In this example, the key `notes` will handle all of the state that corresponds to it. So when this is passed to the [[createStore method|Redux createStore Method]], then the store will contain two keys at the top level, `notes`, and `auth`.
The ''Redux store'' is the single source of truth for an application's state. Any time a piece of an app wants to update state, it needs to do so through the Redux store. To create a store, use the [[createStore method|Redux createStore Method]]. The different methods available on a `store` object are below: * `store.getState()` which returns the state from the store. * [[Redux store.dispatch Method]]
The ''store.dispatch method'' can be used to dispatch actions to the [[Redux store|Redux store Object]]. It accepts one argument, which is an [[action object|Redux Actions]].
The ''store.subscribe method'' can be used to subscribe "listener" functions to the store. The argument to provide is a function, which will be called each time that an [[action|Redux Actions]] is sent to the store. For example: ``` let count = 0; store.subscribe(() => count++); // Will increment count each time that an action is sent to store. ```
''Thunk middleware'' can be provided as a second argument to the [[createStore method|Redux createStore Method]] and provides a way to create asynchronous requests. Thunk middleware can be created by using `Redux.applyMiddleware()` which takes an argument, the only one that has been seen so far is `ReduxThunk.default`, and returns a thunk middleware object. Here is an [[example of creating a store with thunk middleware|Example - Redux - Creating a store with thunk middleware]]. A full example of using the middleware seems a little complicated at the moment. Here is [[a full example|$:/Example - Redux - Using redux thunk middleware]].
''Refactoring'' is the act of changing a piece of code without changing it's functionality. This could be something as simple as re-naming a method, or splitting a larger method into multiple smaller methods. It makes it easier to maintain, read, debug, and change. According to the book on refactoring, it is good to refactor first and ignore performance implications. Then after refactoring, it is much easier to do performance tuning. Some good principles are below: * The code is the documentation. Comments should be minimized, they often lie. Normally if you need a comment to explain some section of code, that comment can be turned into a function name. * Refactoring actions should preserve the program semantics. In other words, it does not alter what the program does, just the way it does it. Some different techniques for refactoring are below: * Split Phase * Extract function: Is what is sounds like. * Preserve object: This is a way of refactoring a method with a lot of parameters. If some of those parameters are parts of a higher level object, then just the object itself could be passed in. * Parameter object: If there are truly supposed to be a lot of parameters for a method, it might be worth storing all of those parameters in its own object. This also allows you to create functionality for those parameters at the same time. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Refactoring'>> </div>
A ''referential integrity constraint'' is a [[schema-based constraint|Database Schema-based Constraints]] that is specified between two [[relations|Relational Data Model > Relations]]. It says that a tuple in one relation that refers to another relation must refer to an existing tuple in that relation. See [[foreign key|Foreign Key]] for the exact details.
''Referential Transparency'' means that a variable in a function can be substituted for it's corresponding value with no side-effects. A wikipedia article about it [[is here|https://en.wikipedia.org/wiki/Referential_transparency]]. For example in an imperative program, f(x) + f(x) may or may not be equal to 2*f(x) depending if the function changes x, or a global variable. A language with referential transparency guarantees that f(x) + f(x) is always equal to 2*f(x). See also: * [[Functional Programming]]
To indicate ''OR'' or the ''alternation operator'', the following can be used: `|` so to match dog or cat or fish, you could write `dog|cat|fish`.
To match specific characters only once ''character classes'' or ''character sets'' can be used. For example `[abc]` will only match the first occurring a, b, or c, but not all of them. To exclude specific characters the hat can be placed as the first character in the brackets which is called a ''negated character set''. For example `[^abc]` will match any single character except a, b, or c. A range of characters can be specified within a character class by using a hyphen: `-`. * For example to match any single number from 1-6, `[1-6]` can be used. The opposite can be done with the hat for example to match any single character not in the range of n-p, `[^n-p]` can be used. Multiple character ranges can be used too such as `[A-Za-z0-9_]` which will match any single character in those ranges. See also: * [[Regex Shorthand Character Classes]]
The characters that need escaping with a backslash `\` are listed below: ``` . \ + * ? [ ^ ] $ ( ) { } = ! < > | : - ``` See also: * [[JavaScript Regex Escape Characters]]
''Greedy matching'' means that it will find the longest possible part of a string that fits the regex pattern and return it as a match. By default regular expressions are greedy. The opposition is ''Lazy Matching'' which returns the smallest part of a string that matches the regex pattern. This can be triggered by using a `?` after an expression in which it will be affected. For example `<.*?>` will return the smallest instance of an HTML tag, which could be something like `<p>`
''Group matching'' or ''capture groups'' can be created with parenthesis. This is very useful for post processing. So it could be used to match every single image in a file with `^(IMG\d+\.png)$`. Or just the part before the period can be captured using `^(IMG\d+)\.png$`. Groups can be nested as well which allows multiple capture groups to be definined. For example if every picture number was needed as well as the file name then the following example could be used: `^(IMG(\d+))\.png$`. See also: * [[JavaScript Regex Group Matching]]
The ''asterisk'' or ''kleene star'' in Regex `*` can match characters that occur zero or more times. For example `go*` if used on the phrase `gut feeling` would return `g` even though there is no `o` involved.
''Quantity Specifiers'' are specifiers that determine the quantity of a matched set of characters. The different kinds are below: * [[Regex Kleene Star]] * `+` or Regex kleene plus can match any character one or more times * To choose multiple characters the character can simply be repeated, or curly braces can be used. For example using `a{3}` would choose the letter a exactly 3 times. This is the same as writing `aaa`. Some regex languages will allow you to specify a range as well such as `a{1,3}` which will match a at least once, but no more than 3 times. This can be used with any metacharacter or special characters such as `[\w]{3}` which will match any alphanumeric character exactly 3 times. To specify no upper limit, use the specifier `a{3,}` which means 3 or more.
A ''shorthand character class'' or ''meta character'' is a [[character class|Regex Character Classes]] bundled up into a quick shortcut. Normally they are indicated with a lowercase letter, and if they are uppercase, it typically means the opposite of the lowercase option. Some good ones are below: * `\w` is the same as `[A-Za-z0-9_]` * `\W` is the same as `[^A-Za-z0-9_]` * `\d` to match any digit from 0 to 9 * `\D` any non-numeric character * `\s` matches any kind of whitespace, and is the same as `[_\r\t\f\n\v]`
A ''wildcard'' can be used to match any one character. It can be written as `.`. To use a normal period the backslash can be used to escape it. For example: `\.`.
A ''register'' is a [[sequential|Sequential Circuit]] component that can store multiple bits, and a storage location in [[assembly language|Assembly Language]] with a pre-defined name. CPUs have a finite set of registers. [[PLP|Progressive Learning Platform (PLP)]], has a total of 32 registers. A register can be built simply using multiple [[D flip flops|Edge-Triggered D Flip-Flop]] with a clock that stores the loaded inputs every rise of the clock. An example of a 4 bit register with associated block symbol is shown below: [img width=600 [https://i.imgur.com/v11apPk.png]] Some companies refer to this as a ''4-bit D flip flop'' because it is so common. An ''N-Bit Register'' has a width of N. Normal register widths are 8,16, and 32 bits but they can be 1 or as big as you want. The name for storing data into a register is loading or writing or storing. Reading consists of just looking at the register's contents and is not synchronized with the clock.
The register design process can be used to create your own multi-function register. The steps are in the note. <<_note """ Steps: - Determine mux size. Remember to add in the "maintain present value" operation. - Create the mux operation table - Connect mux inputs. So actually perform the operations. - Map control lines. Create a truth table that maps the input control lines to the internal mux select lines with appropriate priorities. - An example is on page 180 of the digital design book if you would like to know how to do this. """>>
If a calculated number tries to be saved in too small of a register, it overflows. Instead the result is truncated, yielding a useless value. Many general purpose processors report overflow with a status register.
Designing processors where the building blocks are [[registers|Register]] and datapath components is called ''register transfer level design'' or ''RTL Design''. The first step is to capture the behavior, and in the second you convert it to a circuit. The standard processor architecture is very similar to the standard controller architecture. You need a controller connected with a datapath as shown here: https://drive.google.com/file/d/1p0tDluzv45BwHOon-0WiwwjTByzWpamZ/view?usp=sharing. You have data inputs flowing through the data path to the external data outputs. The datapath is controlled by the controller inputs and outputs, and the controller is in turn controlled by external control inputs and has it's own outputs. The steps are in the note. <<_note """ Steps: - 1: Describe the system's behavior in an HLSM. - 2a: Create a datapath to carry out the data operations. An example data path is shown here for a soda machine: https://drive.google.com/file/d/1LUj8Jv8iAnNRTzksdoMTYGduZwex52Hm/view?usp=sharing. More basic data paths are shown here: https://drive.google.com/file/d/1sb3P2mc_tfsLV9wQd8Ms5NRlrv_42Cdj/view?usp=sharing. The goal of creating a datapath is to reduce the HLSM to an FSM that just controls the datapath. To start you can make all data inputs and outputs indicated by the HLSM which is the clr and ld inputs for each register for example, then make a register component for every declared local storage item. Then examine each transition condition and computation to translate that into datapath components. - 2b: Connect the datapath to a controller, the controller is not yet defined - 2c: Convert the HLSM to a FSM for the controller by replacing data operations with setting and reading of control signals to and from the datapath. An example FSM just using load and clr commands for the datapath is shown here: https://drive.google.com/file/d/1oegC0hjzEXUVWX6z3G7RTYR_3yrVSgCO/view?usp=sharing, then more simply by assuming 0's are assigned to unlisted outputs: https://drive.google.com/file/d/1qAAPWgOWOHEaFWTZMCX89sWrYus3yLH1/view?usp=sharing - Optional final step is choosing a clock frequency which is sometimes just the fastest possible. s """>>
A set of known components that can be instantiated in [[RTL|Register Transfer Level (RTL) Design]] design is called an ''RTL Library''.
''Regression Testing'' is done after code fixes, upgrades, or any other system maintenance to check that the new code has not affected the existing code. Regression testing could use [[unit testing|Unit Testing]] as a tool to achieve this purpose. When choosing a regression test suite, choose tests that focus on the things that have been changed, and the things that are most likely to be affected by the change. It is not necessary to run the tests over the whole codebase. A subset of regression tests can be set aside as [[smoke tests|Smoke Tests]]. See also: * [[Compatibility testing|Performance Testing]]
''Regex'' or ''Regular Expressions'' are a way to match parts of strings. * To match characters in order the letters or characters can simply be typed into the regex string. * The Boundary between a word and non-word character can be indicated by `\b`. This is mostly useful for identifying a whole word in a phrase such as `(\w+\b)` which means group any word with at least one letter in it. * Optionality can be represented with a question mark after the optional question mark or grouping. This can be escaped to represent a plain text question mark. For example `ab?c` means a, optionally b, and c. * Whitespace can be represented by using an actual space ` ` for a space, `\t` for a tab, `\n` for a newline character, `\r` for a carriage return in windows environments. * To match specific words in a whole line the ''hat'' can be used but without the brackets. For example `^success` will match the success word only once and only if it is at the start of a line. Using the cash symbol or ''anchor character'' will match the characters only if it is correct from the beginning of the line and to the end of the line for example: `^success$`. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Regular Expressions (Regex)' sort[title]>> </div>
Some guidelines for ''relation schema design'' are below: * Make sure that the semantics of the attributes are clear in the [[schema|Relational Database Schema]]. Make sure that entities are separate. * Reduce redundant information in [[tuples|Relational n-Tuples]]. For example don't combine Dept and Employee into one relation. This can be further said to say that no [[update anomalies|Relational Update Anomalies]] should exist in the relation schema. This rule may be broken for [[views|Database Views]] for performance enhancements. * Reduce the NULL values in tuples as much as possible. * Disallow the possibility of generating [[spurious tuples|Spurious Tuples]]. This is also the [[nonadditive join property|Relational Nonadditive Join Property]].
A ''relation schema'', ''relation scheme'', or ''relation intention'' describes a [[relation|Relational Data Model > Relations]], and is made up of a relation name, $$R$$, and a list of [[attributes|Relational Data Model > Relations > Attributes]] $$A_1, A_2, ... , A_n$$. It follows the general pattern of $$R(A_1, A_2, ... , A_n)$$. An example of a relation schema is below: ``` STUDENT(Name, Ssn, Home_phone, Address, Office_phone, Age, Gpa) // or STUDENT(Name: string, Ssn: string, Home_phone: string, Address: string, Office_phone: string, Age: integer, Gpa: real) ``` The degree or arity of a relation is the number of attributes $$n$$ of its relation schema. See also: * [[Relation Schema Informal Design Guidelines]]
Each ''value'' in a tuple in a [[relational model|Relational Data Model]] is an atomic value, so it is not divisible. The notions of [[composite|ER Models > Composite Attributes]] and [[multivalued attributes|ER Models > Multivalued Attributes]] are not present in a relational model. In lieu of a composite attribute, a separate relation can be formed. `NULL` can be used where a value is not known, or does not apply. It is better to create better attributes though that can have more descriptive null values.
''Relational aggregate functions'' are those that are normally performed on the entirety of an [[attribute|Relational Data Model > Relations > Attributes]] in a relation. These could be things like AVERAGE, MAXIMUM, MINIMUM, SUM, and COUNT. The general form of an ''AGGREGATE FUNCTION operation'' is $$_{\textrm{<grouping attributes>}}\mathcal{F}_{\textrm{<function list>}}(R)$$ where the F is supposed to look like the example below: [img width=300 [https://i.imgur.com/ytzn6Il.png]] where `<function list>` is a list of `<function> <attribute>` comma delimited pairs. The resulting relation will be the `<grouping attributes>` plus one element for each function attribute in the list. Here is an [[example of a few aggregate function operations|$:/Image - Aggregate Function Operations]]. In general duplicates are not eliminated in an aggregate function operation.
The basic set of operations for the formal [[relational model|Relational Data Model]] is called ''relational algebra''. The basic operations can be used to specify retrieval requests as relational algebra expressions. The result of a retrieval query is a new [[relation|Relational Data Model > Relations]], and those results can be used in new relational algebra expressions. Operations can be divided into two groups. Those from set theory which form the [[binary relation operations|Relational Binary Operations]]. The other group consists of operations specifically for relational databases such as select, project, and join. The complete set of relational algebra operations, that can be used to derive the others are as follows: $$\{\sigma, \pi, \cup, \rho, -, \times\}$$ A quick table of links to the different operators is below: * $$\sigma$$ sigma is [[Relational SELECT Operation]] * $$\pi$$ pi is [[Relational PROJECT Operation]] * $$\rho$$ rho is [[Relational RENAME Operation]] * $$\bowtie$$ [[Relational JOIN Operation]] Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Relational Algebra' sort[title]>> </div>
The ''assignment operation'' is denoted by an arrow like $$\leftarrow$$. For example: $$\textrm{DEP5\_EMPS} \leftarrow \sigma_{\textrm{Dno=5}}(\textrm{EMPLOYEE})$$ This can also be used to rename attributes in relations by listing the new attribute names in parenthesis. For example: $$R(\textrm{First\_name, Last\_name, Salary}) \leftarrow \pi_{\textrm{Fname, Lname, Salary}}(\textrm{TEMP})$$ There is also a formal [[rename operation|Relational RENAME Operation]].
An ''in-line expression'' is something like $$\pi_{\textrm{Fname, Lname, Salary}}(\sigma_{\textrm{Dno=5}}(\textrm{EMPLOYEE}))$$. It just combines different operations together to form a single relational algebra expression.
''Selection conditions'' are used in some operations such as the [[SELECT operation|Relational SELECT Operation]]. The selection condition is a boolean expression and follows the general format of `<attribute name><comparison operator><constant value or attribute name>`. Operators that can be used are: * Normal mathematical operators such as `>=`, `=` * AND, OR, and NOT, or their logical alternatives, $$\land, \lor, \neg$$ * They can be grouped with parenthesis Strings in the selection condition need to be quoted. For example `Dname='Research'`. For example: $$\sigma_{\textrm{Salary>30000 AND Dno=4}}(\textrm{EMPLOYEE})$$.
''Relational binary operations'' work on two [[relations|Relational Data Model > Relations]] and mostly consist of the set theory operations such as [[union|Union (Mathematics)]], [[intersection|Intersection (Mathematics)]], set difference, and [[Cartesian product|Mathematics > Cartesian Product]]. The relational binary operations are outlined below: * ''UNION'' The result of the operation of $$R \cup S$$ is a relation that includes all tuples in R, S, or in both R and S. Duplicate tuples are eliminated. The two relations must be [[union compatible|Relational Union Compatibility]]. * ''INTERSECTION'' The result of this operation denoted by $$R \cap S$$ is a relation that includes all tuples that are in both R and S. The two relations must be union compatible. * ''SET DIFFERENCE'' or ''MINUS'' The result, denoted by $$R - S$$ is a relation that includes all tuples that in R but not in S. This seems like a [[complement|Complement (Boolean Algebra)]]. The two relations must be union compatible. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Relational Binary Operations' sort[title]>> </div>
A [[relation schema|Relation Schemas]] $$R$$ is in ''Boyce-Codd normal form'' or ''BCNF'' if whenever there is a [[transitive dependency|Relational Transitive Dependencies]] $$X \rightarrow A$$, then $$X$$ is a [[superkey|Database Uniqueness Constraint]] of $$R$$. This is almost like the third normal form, with the exception that prime attributes are allowed to have a transitive dependency on other prime attributes in the third normal form, whereas they are not in BCNF. To break up a relation to get it into BCNF, let $$X$$ be a subset of $$R$$, and let $$X \rightarrow A$$ be the FD that causes a violation of BCNF. Then $$R$$ may be decomposed into two relations: $$R - A$$ and $$X \cup A$$. If either relation are not in BCNF repeat the process. Here is an [[example image of Boyce-Codd normal form|$:/Image - Example of Boyce-Codd normal form]].
''Relational calculus'' provides a higher-level language for specifying relational queries. It is based on [[predicate calculus|Predicate Calculus]]. There is no order of operations to specify a result, only the information that the result should contain. [[SQL|Structured Query Language (SQL)]] has a variation of relational calculus called ''tuple relational calculus''.
The ''CARTESIAN PRODUCT'', ''CROSS PRODUCT'', ''PRODUCT'' or ''CROSS JOIN'' can be denoted by $$R(A_1, A_2, ..., A_n) \times S(B_1, B_2, ... , B_m)$$ where the resulting relation $$Q$$ will have $$n +m $$ attributes $$Q(A_1, A_2, ... , A_n, B_1, B_2, ..., B_m)$$ in that order. If two attributes have the same name, then they will be suffixed or prefixed with some identifier, like the numbers 1 and 2. Here is a [[visual example of what happens|$:/Image - Example of CROSS PRODUCT operation]]. The resulting relation has one tuple for each combination of tuples. This means that where $$n$$ is the number of tuples in a relation, there will be $$n_R * n_S$$ tuples in $$Q$$. Commonly a Cartesian product followed by a select operation is wanted, which gives the [[JOIN operation|Relational JOIN Operation]].
The ''relational data model'' represents the [[database|Database]] as a collection of [[relations|Relational Data Model > Relations]]. It is considered a [[flat data model|Relational First Normal Form]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Relational Data Model' sort[title]>> </div>
The ''closed world assumption'' says that only true facts in the [[miniworld|Domain]] are those present within the [[relation state|Relational Data Model > Relations]]. Any other combination of values makes the relation state false.
A ''data type'' for a [[domain|Relational Domain]] could be something like "an integer number between 15 and 80" or "the set of all character strings that represent valid department names". They seem to be allowed to be pretty rough.
A ''format'' for a [[domain|Relational Domain]] could be something like `(ddd)ddd-dddd` for a `Usa_phone_numbers` domain.
''Logical domain definitions'' seem to be text descriptions of a [[domain|Relational Domain]]. Here are [[some examples of logical domain definitions|$:/Example - Relational Data Model - Examples of logical domain definitions]].
A ''relation'', ''relation state'', or ''relation extension'' is an instance of a [[relation schema|Relation Schemas]]. Given the relation schema $$R(A_1, A_2, ... , A_n)$$ the relation could be denoted by $$r(R)$$. The relation is a set of [[relational n-tuples|Relational n-Tuples]], $$r=\{t_1, t_2, ... , t_m\}$$ where each n-tuple $$t$$ is an ordered list of $$n$$ values. Each column can be referred to by $$t[A_i]$$ or $$t[i]$$. Formally, a relation state can be called a subset of the [[cartesian product|Mathematics > Cartesian Product]] of the domains of it's attributes. Two interpretations of a relation schema, are as an assertion, where the tuples become facts, and as a [[predicate|Predicate]], where the values in the tuples satisfy the predicate. Because a relation is a [[set|Set (Mathematics)]] of n-tuples, it can be in any order. Therefore if one relation has tuples in a different order than another, but they are the same tuples, they are considered identical. In a formal relational model, a table is called a relation, a row is a tuple, and a column header is called an [[attribute|Relational Data Model > Relations > Attributes]]. Here is an [[example of a relation|Image - Example of a relation]]. An alternative definition of a relation has a set of attributes, so it can be in any order. Meaning on a relation schema with a different ordering of attributes, which are all the same, it is considered identical. Tuples in this kind of relation would look like `t={<name, "John">, <SSN, 123456789>}` where the names of the attributes are put before the value. This would make the tuples [[self-describing|Self-Describing Data]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Relational Data Model > Relations' sort[title]>> </div>
''Attributes'' are the column headers in a [[relation|Relational Data Model > Relations]]. Each attribute is the role name of a [[domain|Relational Domain]]. The role name can be different than the actual domain name. For example `Home_phone` could correspond to the `Local_phone_numbers` domain. The actual domain is denoted by $$dom(A_i)$$. So in the previous example, `dom(Home_phone) = Local_phone_numbers`. Attributes can be referred to by their position in the schema. This is 1 based numbering. So the 2nd attribute would be `Ssn`. Sometimes they can also be referred to with dot notation, for example `STUDENT.Name` or more generally: `R.A`. Typically when attributes are represented in a schema or some other form, [[primary key|Database Uniqueness Constraint]] attributes are underlined. If an attribute is part of some [[candidate key|Database Uniqueness Constraint]], in a relation $$R$$, then it is called a ''prime attribute'' of $$R$$. See also: * [[Relational Attribute Semantics|Relational Functional Dependencies]]
Some of the ''advantages/disadvantages'' of using a [[relational data model|Relational Data Model]] vs a [[NoSQL model|NoSQL Databases]] are below: * Mathematically grounded which is good * Strongly typed. This can be a good thing and a bad thing * Optimizing ([[denormalizing|Database Controlled Redundancy]]) the database normally implies sacrificing mathematical properties. * Mathematical properties break down for sparse data. For example lots of NULLs. Because of the [[closed world assumption|Relational Data Model > Closed World Assumption]], anything that isn't in the database is considered to be false.
The ''operations'' of the relational data model are based on basic [[database operations|Database Operations]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Relational Data Operations' sort[title]>> </div>
The ''insert operation'' requires a list of attribute values for a new tuple $$t$$ that is to be inserted into a relation $$R$$. Insert can violate any of the following constraints: * [[Domain constraints|Database Domain Constraints]] if an attribute value is given that does not match the corresponding domain * [[Key constraints|Database Uniqueness Constraint]] if a key value in the new tuple already exists * [[Entity integrity|Entity Integrity Constraint]] if any part of the primary key of the new tuple is NULL * [[Referential integrity|Referential Integrity Constraint]] if the value of any foreign key in the new tuple refers to a tuple that does not exist in the referenced relation. Here are [[some examples of insert operations|Image - Examples of insert operations]] being used on [[this example relational database state|Image - Example relational database state]].
The ''modify operation'' or ''update operation'' is used to change the values of one or more attributes in a tuple of some relation $$R$$. Here are some [[examples of update operations|Image - Examples of update operations on relational database]]. Modifying a primary key value is the same as [[deleting|Relational DELETE Operation]] a tuple and [[inserting|Relational Database Insert Operation]] another in its place, so it follows the rules of a deletion in that case. If there is an integrity violation the following options can be taken: * [[REJECT option|Relational Integrity Violation REJECT Option]]. * Perform the operation but inform the user of the violation. This isn't a very good option because the database is already in an invalid state. * Trigger additional updates so the violation is corrected which is the CASCADE option and the SET NULL option.
''Normalization'' is the process of of removing [[relational update anomalies|Relational Update Anomalies]], and minimizing [[redundancy|Database Redundancy]]. ''Normal forms'' describe the steps of normalization. Normal form also refers the normal form of a relation, which is the degree to which it has been normalized. The forms follow this order: # Unnormalized form # [[First normal form|Relational First Normal Form]] # [[Second normal form|Relational Second Normal Form]] # [[Third normal form|Relational Third Normal Form]] # [[Boyce-Codd normal form|Relational Boyce-Codd Normal Form]] # [[Fourth normal form|Relational Fourth Normal Form]] # [[Fifth normal form|Relational Fifth Normal Form]] The third normal form is about as far as industry normalizes databases because normal forms after that aren't noticed often according to [[this book|Book - Fundamentals of Database Systems 7th Ed]]. See also: * [[Denormalization|Database Controlled Redundancy]]
A ''relational database schema'' $$S$$ is a set of [[relation schemas|Relation Schemas]], $$S = \{ R_1, R_2, ... , R_m\}$$ and a set of [[integrity constraints|Database Integrity Constraints]], denoted here as $$IC$$. Here is an [[example of a relational database schema diagram|$:/Image - Relational Database schema example]], and [[here is the same one with foreign key references|$:/Image - Relational Database schema example with foreign keys]]. Some attribute names can be the same between different relations in a relational database schema. This could mean that they are the same, or they are actually different, depending on the [[DDL|Data Definition Language (DDL)]]. A ''relational database state'' is a set of [[relation states|Relational Data Model > Relations]], such that each relation state satisfies the integrity constraints in $$IC$$.
''Modification operations'' or ''update operations'' are the type of operation that change the states of relations in the relational database. They are the following: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Relational Database Update Operation Types' sort[title]>> </div> If there is an integrity violation during an update type operation, then a few actions can be taken: * [[REJECT Option|Relational Integrity Violation REJECT Option]] * Perform the operation but inform the user of the violation * [[CASCADE Option|Relational Integrity Violation CASCADE Option]] * Execute a user-specified error-correction routine.
The ''DELETE operation'' is used to delete a [[tuple|Relational n-Tuples]]. The delete operation can violate only [[referential integrity|Referential Integrity Constraint]] by deleting a tuple that is referenced by [[foreign keys|Foreign Key]] from other tuples in the database. Details of operations that are available and what they do for a DELETE operation if one causes a violation are listed below: * ''restrict'' or ''reject'' rejects the deletion * ''cascade'' will attempt to propagate the deletion by deleting tuples that reference the tuple that is being deleted. * ''set null'' or ''set default'' will modify the referencing attribute values that cause the violation. Each will be changed to either `NULL` or some default valid tuple. If the referencing value is part of the primary key, then it can not be set to NULL because it would violate [[entity integrity|Entity Integrity Constraint]].
''Deletion anomalies'' are a type of [[update anomaly|Relational Update Anomalies]], and generally relate to the fact that in a table such as EMP_DEPT, if an employee needs to be deleted, and that is the last employee in the department, then the department gets deleted as well.
The ''DIVISION operation'' is applied to two relations, $$R(Z) \div S(X)$$ where the attributes of S are a subset of the attributes of R, so $$X \subseteq Z$$. Let $$Y = Z - X$$, then the result of the DIVISION operation is a relation $$T(Y)$$. Essentially, a division takes each of the tuples on the right hand side, and tries to find a value that matches each one of those tuples on the left hand side. The division returns each value that matches every single one of the tuples on the right hand side. Here are [[two examples of division operations|Image - Examples of DIVISION operations]].
The ''domain'' is a set of atomic values, and based roughly on the [[mathematical definition of domain|Domain]]. Atomic means that each value in the domain is indivisible as far as the formal relational model is concerned. Domains are not [[attributes|Relational Data Model > Relations > Attributes]], although they define what a particular attribute value may contain. Domains are typically given a [[logical domain definition|Relational Data Model > Logical Domain Definition]] or name, [[data type|Relational Data Model > Data Type]], and [[format|Relational Data Model > Format]].
The ''fifth normal form'' says that in a [[relation schema|Relation Schemas]] $$R$$, for every [[nontrivial join dependency|Relational Join Dependency]] $$JD(R_1, R_2, ... , R_n)$$, every $$R_i$$ is a superkey of $$R$$. Because join dependencies are nearly impossible to find for a large database, a more entertaining definition from [[this book|Book - Fundamentals of Database Systems 7th Ed]] is that if a [[relation schema|Relation Schemas]] is in [[third normal form|Relational Third Normal Form]], and its keys consist of a single attribute, it is also in fifth normal form.
The [[relational data model|Relational Data Model]] is sometimes called a ''flat relational model'' because all [[values|Relation Values]] are atomic. Much of the theory behind the relational model was developed with this assumption in mind. This is called the ''first normal form assumption''. Some extensions of the relational model remove these restrictions, such as [[object-relational systems|Object-Relational Database System]].
A [[relation schema|Relation Schemas]] is in the ''fourth normal form'' when every [[nontrivial multivalued dependency|Relational Multivalued Dependencies]] $$X \twoheadrightarrow Y$$, has the condition that $$X$$ is a [[superkey|Database Uniqueness Constraint]] of the relation.
A ''full functional dependency'' means that if removal of any attribute A from X, causes the [[functional dependency|Relational Functional Dependencies]] $$X \rightarrow Y$$ to not hold anymore. ''Partial functional dependency'' means that an attribute A can be removed.
A ''functional dependency'' means that if two tuples in a [[relational database schema|Relational Database Schema]] agree on [[attribute|Relational Data Model > Relations > Attributes]] set $$X$$, then they must agree on attribute set $$Y$$. More formally, imagine that there are $$n$$ attributes in a [[database|Relational Data Model]], and all of them are combined into a [[relation schema|Relation Schemas]] $$R$$. Then that could be described by $$R = \{A_1, A_2, ... , A_n\}$$. Where there are two subsets of $$R$$, which are $$X, Y$$. A functional dependency can be denoted by $$X \rightarrow Y$$ which specifies that in the [[relation state|Relational Data Model > Relations]] $$r$$ of $$R$$ if any two tuples $$t_1, t_2$$ have $$t_1[X]=t_2[X]$$, they must also have $$t_1[Y]=t_2[Y]$$. This means that $$Y$$ is ''functionally dependent'' on $$X$$. The abbreviation for functional dependency is FD or f.d.. Functional dependencies can be considered ''relational attribute semantics''. For example the FD Ssn $$\rightarrow$$ Ename means that the value of an employee's social security number uniquely determines the employees name. In another way, this means that given a value of Ssn, we know the value of Ename. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Relational Functional Dependencies'>> </div>
Let $$F$$ be a set of [[functional dependencies|Relational Functional Dependencies]] (FD). Then its ''closure'' indicated by $$F^+$$ is the set of all FDs. The FD $$X \rightarrow X$$ is always in the closure of a set of FDs. Two sets of FDs are equivalent if their closures are equal. Even if they don't look the same at first, check out [[Armstrong's axioms|Armstrong's Axioms]] to see if they actually are.
The ''generalized PROJECT operation'' follows the same syntax as the PROJECT operation with the added capability to throw functions over attributes. This can be helpful for computed fields in a report. Here is an [[example of a generalized project operation|Image - Generalized PROJECT Operation]].
''Insertion anomalies'' are a type of [[update anomaly|Relational Update Anomalies]] and there are typically two different kinds. * One type of insertion anomaly is where a tuple is attempting to be inserted, for example into an EMP_DEPT table, and the department information has to be exactly the same as all other department information. If it is even slightly off, then it causes a new department to effectively be created. * Another type is where a new department needs to be inserted, but the primary key of the EMP_DEPT table is SSN. This means that a department cannot be inserted until there is at least one employee assigned to it.
''Relational integrity constraints'' are [[integrity constraints|Database Integrity Constraints]] that apply to the [[relational data model|Relational Data Model]]. These are outlined below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Relational Integrity Constraints' sort[title]>> </div>
The ''CASCADE option'' will trigger additional updates so that the violation is corrected.
The ''REJECT option'' or ''RESTRICT option'' will cancel an operation if there is an integrity violation.
A ''join dependency'' seems kind of hard to understand. They are normally denoted by $$JD(R_1, R_2, ... , R_n)$$ for a relation schema $$R$$ and say that every legal state $$r$$ of $$R$$ should have a [[non-additive join|Relational Nonadditive Join Property]] decomposition into the relation schemas $$R_1, R_2, ... , R_n$$. In other words it seems that this means that a join dependency exists when a relation has 3 or more relationships between its keys. So for example a relation that has 3 attributes which are also its keys and they are SupplierName, PartName, and ProjName. This relation means that a supplier supplies a part, and that part is supplied to the project. Also that supplier supplies that project. That would be a join dependency. Join dependencies can be broken down by the [[fifth normal form|Relational Fifth Normal Form]]. A ''trivial join dependency'' is where a one of the reduced relation schemas is equal to the original relation.
The ''JOIN operation'', ''inner join operation'', or ''theta join'' is a [[CARTESIAN PRODUCT operation|Relational Binary Operations]] followed by a [[SELECT operation|Relational SELECT Operation]] that works on two relations that are not [[union compatible|Relational Union Compatibility]]. It is indicated by a bowtie symbol like such: $$\bowtie$$ or sometimes a theta $$\theta$$ and sometimes an infinity symbol $$\infty$$ with a subscript. For example: $$\textrm{DEPT\_MGR} \leftarrow \textrm{DEPARTMENT} \bowtie_{\textrm{Mgr\_ssn=Ssn}} \textrm{EMPLOYEE}$$ Which finds each manager ssn and matches it with the employee ssn then combines those two tuples. A join operation where the only comparison operator used is `=` is called an ''EQUIJOIN''. Because at least two attributes in an equijoin will have the same value, another operation called [[NATURAL JOIN|Relational NATURAL JOIN Operation]] was created to remove the second, or other superfluous attributes. See also: * [[Relational OUTER JOIN Operations]]
Some ''JOIN operation search methods'' are listed below. These can be useful as an [[internal sorting algorithm|External Sorting Algorithms]] for the [[query optimizer|DBMS Query Optimizer]]. [[JOIN operation|Relational JOIN Operation]] algorithms are one of the most time consuming in [[query processing|DBMS SQL Query Processing]]. Methods for implementing joins: * J1: Nested-loop join (nested-block join). This is essentially the brute force method where every row of the first table is compared with every row of the second table. * J2: [[Index|DBMS Indexes]]-based nested-loop join * J3: Sort-merge join. This pulls in both relations, sorts them on the desired matching attributes, then merges them with a join. Here is an [[image of this process|$:/Image - Pseudocode for sort-merge join operation algorithm]]. * J4: [[Partition-hash join|Relational JOIN Operation Algorithms > Partition-hash Join]] * Hybrid hash-join: This is a variation of the partition-hash join where the joining phase for one of the partitions is included in the partition. The [[buffer space|DBMS Buffer Space]] has an important effect on some of the JOIN algorithms. See also: * [[DBMS Query Processing Join Selection Factor]]
The ''partition-hash join'' or ''hash-join'' takes the records of files $$R$$ and $$S$$ then partitions them into smaller files using a [[hashing function|Hashing]] $$h$$.
A functional dependency (FD) set indicated by $$F$$ is considered ''minimal'' or a ''minimal cover'' if # Every FD in $$F$$ is of the form $$X \rightarrow A$$ where $$A$$ is a single attribute. # For no $$X \rightarrow A$$ in $$F$$ is $$F - \{ X \rightarrow A \}$$ equivalent to $$F$$. # For no $$X \rightarrow A$$ in $$F$$ and $$Z \subset X$$ is $$F - \{ X \rightarrow A \} \cup \{ Z \rightarrow A \}$$ The last two rules basically say that each FD is essential to the cover.
''Modification anomalies'' are a type of [[update anomaly|Relational Update Anomalies]] and occur when the value of one attribute in an EMP_DEPT table for example is table, then every other attribute that references that same thing needs to be changed as well. For example if the department name is changed, then every employee with the same department needs to be changed as well.
A ''multivalued dependency'' or ''MVD'' is a [[functional dependency|Relational Functional Dependencies]] $$X \rightarrow Y$$ on a [[relation schema|Relation Schemas]] $$R$$ where $$X$$ and $$Y$$ are subsets of $$R$$, and where the following statement holds in a relation state $$r$$ of $$R$$: If two tuples $$t_1$$ and $$t_2$$ exist in $$r$$ such that $$t_1[X]=t_2[X]$$, then two tuples $$t_3$$ and $$t_4$$ should also exist with the following properties: * $$t_3[X] = t_4[X] = t_1[X]=t_2[X]$$ * $$t_3[Y] = t_1[Y]$$ and $$t_4[Y]=t_2[Y]$$ * $$t_3[Z] = t_2[Z]$$ and $$t_4[Z]=t_1[Z]$$ where $$Z=(R - (X \cup Y))$$ A multivalued dependency can be denoted by $$X \twoheadrightarrow Y$$. This means that $$X$$ multidetermines $$Y$$. Because of the symmetry, whenever $$X \twoheadrightarrow Y$$ so does $$X \twoheadrightarrow Z$$. A ''trivial MVD'' occurs if either of the two conditions hold: * $$Y$$ is a subset of $$X$$ * $$X \cup Y = R$$ A trivial MVD does not set any new constraints on a relation, and can apply to any relation state $$r \in R$$. Any non-trivial MVD means that values will have to be repeated redundantly. Trivial MVDs tend to be all-key relations.
''Relational n-tuples'' are based exactly on normal [[n-tuples in set theory|Ordered n-tuple]] with some formal notational differences. They are enclosed in angled brackets `<...>`, and each value is derived from its associated [[domain|Relational Domain]]. An example of a 4-tuple is `<62784, "John Smith", "101 Main St. Atlanta, GA", true>`. A ''subtuple'' can refer to a situation where multiple values in a tuple are being referred to by their attributes names. For example: `t[Au, Av, ... , Aw]`.
''NATURAL JOIN'' is indicated by an `*` and performs an [[EQUIJOIN operation|Relational JOIN Operation]] then removes the duplicate attributes. The symbol is sometimes an infinity symbol it seems $$\infty$$ with no subscript. This requires that the two join attributes have the same name, so might need to be preceded by a [[RENAME operation|Relational RENAME Operation]]. For example: $$\textrm{PROJ\_DEPT} \leftarrow \textrm{PROJECT} * \textrm{DEPT}$$ The duplicate attribute is called the ''join attribute'' for the natural join operation, and each one that is a duplicate must be equal for it to be returned.
The ''nonadditive join property'' or ''lossless join property'' is where [[spurious tuples|Spurious Tuples]] are avoided. To test if a given decomposition of a relation has this property, then given the two decompsed relations, $$R_1, R_2$$, one of the following should hold $$R_1 \cap R_2 \rightarrow R_1 - R_2$$ or $$R_1 \cap R_2 \rightarrow R_2 - R_1$$ where the arrows indicate [[functional dependencies|Relational Functional Dependencies]]. The set of relations that do satisfy this property are considered "good" choices for relations.
''OUTER JOIN Operations'' are used to merge two [[union compatible|Relational Union Compatibility]] relations. They follow generally the same rules as a [[JOIN Operation|Relational JOIN Operation]], with the difference that the values that don't match, are still included, with their associated values kept, but set to NULL. A ''LEFT OUTER JOIN operation'' will take the relation on the left side of the operation and keep all of it's tuples, but if a tuple doesn't match the relation on the right, it will fill the associated values with a NULL. The opposite of this is a ''RIGHT OUTER JOIN operation''. The symbols for both are a bowtie with little pegs on the left or right side. It didn't seem like there was a symbol for this in latex. Here is an [[example of a left outer join|Example - Relational Algebra - Left outer join]]. A ''FULL OUTER JOIN operation'' keeps the values on both sides of the operation and has a bowtie with pegs on both sides. More information on this is on page 296, or section 8.4.5 in the [[book|Book - Fundamentals of Database Systems 7th Ed]].
The ''PROJECT operation'' selects certain columns and discards the others. A PROJECT operation follows this general format: $$\pi_{\textrm{<attribute list>}}(R)$$ where $$R$$ is the [[relation|Relational Data Model > Relations]] to project from. The order of the attributes does not matter in this operation. Here is an example of a project operation: $$\pi_{\textrm{Lname, Fname, Salary}}(\textrm{EMPLOYEE})$$. The PROJECT operation returns a [[set|Set (Mathematics)]] of tuples, meaning it removes any duplicate tuples. So if only non-key attributes are projected, then some might be removed from the resulting relation. If duplicates were not deleted then it would result in a multiset or bag of tuples rather than a set. The degree of a project operation is the number of returned attributes, so the same thing as degree in a relation schema. See also: * [[Relational Generalized PROJECT Operation]]
A ''PROJECT operation algorithm'' is shown at [[this image|$:/Image - PROJECT operation algorithm]].
Maybe the lecture has more details on how this works. The book seemed slightly confusing.
The ''RENAME operation'' can be used to rename a relation, or the attributes in a relation. It follows this general format: $$\rho_{S(B1, B2, ... , Bn)}(R)$$ or $$\rho_S(R)$$ or $$\rho_{(B1, B2, ... , Bn)}(R)$$ where $$S$$ is the new relation name, and $$B_1, B_2, ... , B_n$$ are the new attribute names.
The ''second normal form'' says that the [[first normal form|Relational First Normal Form]] must hold, and every [[non-prime attribute|Relational Data Model > Relations > Attributes]] $$A$$ in a relation $$R$$ is [[fully functionally dependent|Relational Full Functional Dependencies]] on every [[key|Database Uniqueness Constraint]] of R. See also: * [[Image of second normal form normalization|$:/Image - Example of second normal form and third normal form normalizations]]
The ''SELECT operation'' is a [[unary operation|Relational Unary Operations]] and is used to choose a subset of tuples which satisfy a [[selection condition|Relational Algebra Selection Conditions]], or series of comma delimited selection conditions from a [[relation|Relational Data Model > Relations]]. This is different than a SQL SELECT clause. The SELECT operation will take one pass through each row and will test the selection condition on each one. The general format of a select operation is as follows: $$\sigma_{\textrm{<selection condition>}}(R)$$ where $$R$$ is the relation to compare against, and can be another [[relational algebra expression|Relational Algebra]], because those return relations as well. The resulting relation has the same attributes as $$R$$. For example: $$\sigma_{\textrm{Salary>30000 AND Dno=4}}(\textrm{EMPLOYEE})$$.
Some ''set operation algorithms'' are listed below. These can be useful as an [[internal sorting algorithm|External Sorting Algorithms]] for the [[query optimizer|DBMS Query Optimizer]]. * Here is an [[image of the different set operation algorithms including minus, union, and intersection|$:/Image - Set operation algorithms]].
The ''third normal form'' says that a relation must pass the [[second normal form|Relational Second Normal Form]] and that no [[non-prime attribute|Relational Data Model > Relations > Attributes]] of $$R$$ is [[transitively dependent|Relational Transitive Dependencies]] on a [[key|Database Uniqueness Constraint]]. Another way to think of this is if a non-prime attribute determines another non prime attribute then it violates the third normal form. See also: * [[Image of third normal form normalization|$:/Image - Example of second normal form and third normal form normalizations]]
A ''transitive dependency'' is a [[functional dependency|Relational Functional Dependencies]] $$X \rightarrow Y$$ of the relation $$R$$ where there exists a set of attributes $$Z \in R$$ such that $$X \rightarrow Z \rightarrow Y$$, where $$Z$$ is not a subset of any [[candidate key|Database Uniqueness Constraint]] in $$R$$.
''Unary operations'' operate on single [[relations|Relational Data Model > Relations]]. Some relational unary operations are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Relational Unary Operations' sort[title]>> </div> See also: * [[Relational Binary Operations]]
''Union compatibility'' or ''type compatibility'' is where two [[relation's|Relational Data Model > Relations]] have the same structure, or data type. To be union compatible, two relations $$R_1(A_1, A_2, ... , A_n)$$ and $$R_2(B_1, B_2, ... B_n)$$ must have the same number of attributes, and the domains corresponding to the attributes must be compatible, i.e. $$dom(A_i) = dom(B_i)$$ for $$i = 1, 2, ..., n$$. If the attribute names are not the same, they will be overridden by the first attribute name listed.
''Update anomalies'' typically occur when the [[natural join|Relational NATURAL JOIN Operation]] of two different [[entities|ER Models > Entity Types]] are stored as a [[relation|Relational Data Model > Relations]]. This is an example of less-than-perfect [[relation schema design|Relation Schema Informal Design Guidelines]]. The different kinds of update anomalies are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Relational Update Anomalies'>> </div> [[Database normalization|Relational Database Normalization]] is the process of removing these anomalies.
A ''relation on a set'' $$A$$ is a [[relation|Mathematics > Relation]] from $$A$$ to $$A$$. There are $$2^{n^2}$$ relations on any [[set|Set (Mathematics)]] $$S$$ with $$n$$ elements.
Here is the [[intro webpage for this calculator|https://dbis-uibk.github.io/relax/index.htm]]. Also here is the [[actual calculator page|https://dbis-uibk.github.io/relax/calc.htm]]. Once there, an example dataset can be used, or one can be pasted in using the "Group Editor" button at the top right. Here is an [[example dataset to paste in|Example - Example dataset for relational database]]. In order to compare a date, a cast has to be done with the date as a string. For example: `Datetime<date('2018-12-23')`
''Remote procedure calls'' or ''RPCs'' send a well-structured [[packet|Network Packets]] which contains a procedure identifier and input to another system. This is a higher level mechanism for endpoint communication between systems than [[sockets|Sockets]]. RPCs allow clients to act as if they are simply calling a function. Typically there is a library provided to clients that contain API stubs. These stubs exist to marshal parameters into an RPC format, and send them over the line to the target device. Once the packet reaches the device, a ''matchmaker'' will find the correct port for the stub, and send the port back to the client. The [[kernel|Kernel (Operating Systems)]] on the client will place the port into the RPC packet, and send the RPC back to the right device with the correct port. A [[daemon|Communications System Calls > Message Passing Model]] accepts the request, processes it, and sends the output back to the client where the user receives it. Because calls may have an impact on the target system, it needs to be made sure that it only runs once. This can be done in multiple ways that isn't covered in this course. See also: * [[Image of the general process flow of RPCs|$:/Image - General flow of RPCs]]
`repeating-linear-gradient()` is very similar to [[linear-gradient|CSS linear-gradient Function]] which is shown below: {{CSS Linear-Gradient || Transclusion Template}} The difference is that repeating-linear-gradient repeats the specified gradient pattern, and will display a certain color blend every so many pixels. For example: ``` <style> div{ border-radius: 20px; width: 70%; height: 400px; margin: 50 auto; background: repeating-linear-gradient( 90deg, yellow 0px, blue 40px, green 40px, red 80px ); } </style> <div></div> ``` This can be used to make solid color stripes as well which seems cool.
A ''representation'' names a pair between a character sequence for example and a media type. The character sequence is the raw form of the data before it translates into some media type such as an image, video, or web-page. For an image the representation could be between a JPG and an image of an apple.
''REST'' or ''Representational State Transfer'' is a [[resource|Resource (Computer Science)]] based [[API|Application Programming Interface (API)]]. These resources are identified by [[URIs|Uniform Resource Identifier (URI)]]. Multiple URIs can link to the same resource. REST is noun based and not verb based in this way. REST primarily uses HTTP verbs such as the ones in [[HTTP request methods|HTTP Request Methods]]. REST is [[stateless|Stateless (Computer Science)]], which means that the server contains no client state. This also means that each request contains enough context for the server to process the message, and that all states are held on the client, or receiving side. More simply, the clients do not need to know any detail about the server, besides the URI and the action it wants to perform on it. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Representational State Transfer (REST)' sort[title]>> </div>
''Resolution'' is one of the [[rules of inference|Rules of Inference]]. The final [[disjunction|Disjunction (OR)]] in the rule $$q \lor r$$ is called the ''resolvent''. To use resolution as the only rule of inference, the hypotheses and the conclusion must be expressed as clauses which are a disjunction of variables that are negated or not. So $$(p \land q) \lor r$$ becomes two clauses $$p \lor r$$ and $$q \lor r$$ via the distributive law.
A ''resource'' is a role in a story. It is not a distinguishable set of things. Something can become a resource because someone created a [[URI|Uniform Resource Identifier (URI)]] to identify them.
''Representations'' are how [[resources|Resource (Computer Science)]] get manipulated in [[REST|Representational State Transfer (REST)]]. Typically the representations are held in a [[JSON|JavaScript Object Notation (JSON)]] or [[XML|Extensible Markup Language (XML)]] format.
''Return Oriented Programming Attacks'' or ''ROP Attacks'' combine code sequences in library functions to create malicious functions by changing the return address of function calls.
''Reverse Software Engineering'' is dedicated to the task of understanding legacy code without having sufficient documentation. Analysis tools exist but they only provide some of the perspective that is needed to design and upgrade the software, or fully understand it. Reverse engineering depends on looking at low-level code or implementation and recognizing patterns of high level designs. This requires that many or all general high-level designs have been experienced though. Even then, there are many realizations to these high level designs. There are a couple ways to make this easier. One is to allow the plan-recognizer to add additional plans that fit in well with what the original was thought to be. Reverse engineering needs the same knowledge and infrastructure as forward engineering. The goal of reverse engineering is obtaining an ''abstract system representation''. Once this is found, you can normally try to rebuild the software from there. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Reverse Software Engineering'>> </div>
''Risk'' will be defined personally in two ways: There is bad risk, and good risk. So if you focus on an objective, each risk may have a good and bad side which you can find possible accommodations for and rank when analyzing them. See also: * [[Risk (Security)]]
''Risk'' is the likelihood that a [[threat agent|Threat Agent]] will exploit a [[vulnerability|Vulnerability]]. Realistically, risk cannot ever be entirely eliminated. There is a simple equation that is sometimes used for risk which is Risk = the probability of a breach * the cost of the loss. See also: * [[Risk (Business)]]
The set of ''rooted trees'' is described recursively here: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5V0xOaGlHb01RWWs/view?usp=sharing
A ''rotate register'' is similar to the [[shift register|Shift Register]] but takes the right most bit and moves it to the left most place. An example is here: https://drive.google.com/file/d/1clHEGxmV86QSl5XIkUS0s7vgdWgzLe9-/view?usp=sharing. This can also be used for [[serial communication|Serial Communication]].
Having too many wires in a small area is called ''routing congestion''. ''Fanout'' is when you branch a wire, and can only be done so many times before the current becomes so small that the transistors don't work properly or they go incredibly slow.
You can use a [[truth table|Truth Table]] to validate an argument form by showing that whenever the premises are true, the conclusion is true. But this would take for an argument with 10 propositions $$2^{10}$$ rows. So instead we can establish the validity of simpler argument forms, these are called ''rules of inference''. The most common rules are in this table here: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5emNKNG95SFN2Tjg/view?usp=sharing A link to the rules of inference for quantified statements is here: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5QWxXT1Bja3Y1bVE/view?usp=sharing
An important subclass of Exception is ''Runtime Exception'': `RuntimeException`. Descendants of `RuntimeException` such as `IllegalArguementException` are caused by errors in the code such as bad casting, or accessing an out-of-bounds array.
''RUP Dynamic perspective'': Shown with this image: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5SVBtQ3RGREVnTFU/view?usp=sharing. The iteration can be done with each phase or over the whole path. <<_note """ The inception phase establishes a business case for the system, identifying all external entities (people and systems) that will interact with the system, then define these interactions. This information is used to assess the contribution the system makes to the business. If the contribution is significant enough, then it could be time to continue on with the system. The elaboration phase develops an understanding of the architectural framework for the system, develops an architectural framework, project plan, and identifies risks. The construction phase involves system design, programming, and testing. On completion the system should be ready for delivery to users with associated documentation. The transition phase is where you move the system from the development community to the user community, successfully getting it to work in a real environment. This is sometimes costly, but on completion of this phase you have a documented system working correctly in it's operational environment. """>>
__RUP Practice perspective__ * Develop software iteratively * Manage requirements * Use component-based architectures * Visually model software * Verify software quality * Control changes to software
''RUP Static perspective'': these include workflows that can be used at any phase of the process. They are technical processes that can be used like tools at each phase.
The ''Safari browser'' is a [[web browser|Web Browsers]] made by [[Apple|Apple]]. The browser's [[rendering engine|Web Browser Rendering Engines]] is Webkit.
''Sandwich integration testing'' combines [[top-down testing|Top-Down Integration Testing]] with [[bottom-up testing|Bottom-Up Integration Testing]]. The system is seen as having three layers, the target layer in the middle, the layer above the target, and the layer below the target. An example strategy is here: https://drive.google.com/open?id=1axTqWQYOgGb2b4EhNRYmQ6jnS_lN01j3. ''Modified sandwich integration testing'' is where the middle layer is tested with drivers and stubs, the top layer is tested with stubs, and the bottom layer is tested with drivers. Then the top layer can be tested with the middle layer, and the bottom layer can be tested with the middle layer.
The ''SANS Institute'' stands for ''SysAdmin, Audit, Network, and Security''. It is a security institute. See also: * [[SANS main website|https://www.sans.org/]]
The ''each directive'' allows a loop to pass over each item in a list or map. It starts with the `@each` followed by the variable name that will be assigned each value from the current list or map. A list would look like the following: ``` @each $color in blue, red, green { .#{$color}-text {color: $color;} } ``` while a map looks like so: ``` $colors: (color1: blue, color2: red, color3: green); @each $key, $color in $colors { .#{$color}-text {color: $color;} } ``` The `$key` variable is for each key value in the map. A map is kind of like an object in JavaScript. Both of the above examples result in the following CSS: ``` .blue-text { color: blue; } .red-text { color: red; } .green-text { color: green; } ```
The ''extend directive'' can essentially be used to inherit the properties of another selector. For example if there is a panel class specified like so: ``` .panel { background-color: red; height: 70px; border: 2px solid green; } ``` then the following "child" specifier could be created from it: ``` .big-panel { @extend .panel; width: 150px; font-size: 2em; } ```
The ''for directive'' allows the creation of a for loop in SASS. A for loop starts with `@for` and can be created in two ways: one is using "start to end" which does not include the last value and the other is using "start through end" which includes the last value. For example: ``` @for $i from 1 through 12 { .col-#{$i} { width: 100%/12 * $i; } } ``` which results in the following code when compiled to CSS: ``` .col-1 { width: 8.33333%; } .col-2 { width: 16.66667%; } ... .col-12 { width: 100%; } ``` Notice that in order to turn a number into a String, the `#{}` notation needs to be used.
The ''if directive'' is how to create if conditions in SASS. The if condition starts with `@if` then a condition with no parenthesis, then the brackets for what to execute. For example: ``` @mixin text-effect($val) { @if $val == danger { color: red; } @else if $val == alert { color: yellow; } @else if $val == success { color: green; } @else { color: black; } } ```
''Mixins'' are like ''functions'' for SASS. A definition starts with `@mixin` followed by the name, and optionally parameters. For example: ``` @mixin box-shadow($x, $y, $blur, $c){ -webkit-box-shadow: $x, $y, $blur, $c; -moz-box-shadow: $x, $y, $blur, $c; -ms-box-shadow: $x, $y, $blur, $c; box-shadow: $x, $y, $blur, $c; } ``` A mixin is called with the `@include` directive. For example: ``` div { @include box-shadow(0px, 0px, 4px, #fff); } ```
''Nesting'' can be done in SASS with css rules. So instead of using: ``` nav { background-color: red; } nav ul { list-style: none; } nav ul li { display: inline-block; } ``` the following can be used: ``` nav { background-color: red; ul { list-style: none; li { display: inline-block; } } } ```
''Partials'' are separate files that hold chunks of CSS code in SASS. Names for partials start with `_` which tells SASS that it is a small segment of CSS and not to turn it into a CSS file. To bring code in a partial, into another .scss file, use the `@import` directive. For example if a bunch of [[mixins|SASS Mixins]] are in another file named `_mixins.scss` then they could be imported for use with `@import 'mixins'`. Note that the underscore is not needed.
''Variables'' in [[SASS|Syntactically Awesome Stylesheets (SASS)]] start with a `$` followed by the variable name. For example: ``` $main-fonts: Arial, sans-serif; $headings-color: green; //To use variables: h1 { font-family: $main-fonts; color: $headings-color; } ```
The ''while directive'' is very similar to the JavaScript while loop. For example: ``` $x: 1; @while $x < 13 { .col-#{$x} { width: 100%/12 * $x;} $x: $x + 1; } ```
Saturation is the amount of gray in a color. A fully saturated color has no gray in it, and a minimally saturated color is almost completely gray.
The [[SAX|Simple API for XML (SAX)]] ''ContentHandler interface'' processes document data that the parser encounters during parsing. `ContentHandler` has the following events/methods: * `startDocument` * `startElement` which includes everything within the starting tag of an [[element|XML Elements]] * `processingInstruction` * `characters` * `ignorableWhitespace` * `endElement` * `endElement` * `endDocument`
The [[SAX|Simple API for XML (SAX)]] ''ErrorHandler interface'' processes errors that the parser encounters. `ErrorHandler` has the following events/methods: * `warning` * `error` * `fatalError`
''Scaffolding code'' is code or data files that support software development and testing but is not intended to be included in the final product. This code could simulate the functions of components that don't exist yet and allow the program to execute. Normally it involves making stubs and [[test drivers|Driver (Software Testing)]].
''Scalable vector graphics'' will be the same image regardless of the display size, and are described with code. They were invented by the world wide web consortium, or w3. Here is a [[link to the documentation on SVG as a whole|https://www.w3.org/TR/SVG/Overview.html]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Scalable Vector Graphics (SVG)' sort[title]>> </div>
An ''application'' is a nested evaluation, or complex operation. For example: ``` (+ (+ 2 3) 1) ; This is an application because of the nested operations. ```
''Basic scheme data types'' are: * [[Lisp number Data Type]] * [[Scheme Boolean Data Type]] * [[Lisp character Data Type]] * [[Lisp string Data Type]] * [[Lisp symbol Data Type]] * [[Scheme pair Data Type]] * [[Scheme list Data Type]]
The ''begin operation'' will run a sequence of forms in sequential order. This is an [[imperative|Procedural Programming]] feature included in scheme. For example: ``` (begin form1 ... formn ) ```
''Boolean'' is a simple type with two possible values, `#t` or `#f`. Here is an incomplete list of operations for the boolean type: [img width=700 [https://i.imgur.com/q7xaS8a.png]]
The ''cond statement'' is generally written as: ``` (cond (c1 e1) (c2 e2) ... (cn en) (else ex)) ``` where `ci` is the condition and `ei` is the expression to be evaluated if the condition is true. If all are false, then the else expression is evaluated.
The ''define keyword'' can be used to create a named [[form|Scheme Form]], named constant, or a named [[procedure|Scheme Procedures]]. It is generally used in the following order: 1) The keyword `define` 2) the name to be defined 3) any form that gives a value. Here are some [[examples of using the define keyword|Example - Scheme - Using the define keyword]]. Any names defined by `define` are global. Anything used in this way cannot be changed once it is defined. See also: * [[Lisp defun Macro]]
The ''define-macro keyword'' is used in the same way as the [[define keyword|Scheme define Keyword]], except that it introduces a [[macro|Macro]], instead of a [[procedure|Scheme Procedures]]. For example: ``` (define-macro (add1 x) (+ x 1)) ; where x is the parameter ```
The ''export form'' provides a way to make names defined in a [[module|Scheme Modules]], available as a globally available name. Here is a [[general definition of using export with a module|Example - Scheme - General definition of export using a module]].
Anything that is asked of Scheme, is a ''form''. The answer to a form, or return value is the value of the form. See [[this example|Example - Scheme - Using the define keyword]] for a better idea of what a form is.
''Higher order procedures'' are [[procedures|Scheme Procedures]] that can take the operation of another procedure as its parameter. These are the same as [[higher order functions|Higher Order Functions (Functional Programming)]].
The ''if form'' can be written with values that are of [[boolean types|Scheme Boolean Data Type]] then two other forms of some kind. For example `if(a b c)` means if `a` is true, then `b` will be returned, otherwise `c` will be returned.
The ''lambda keyword'' is used to create an un-named [[procedure|Scheme Procedures]]. In other words, a [[λ-expression|Lambda Calculus Expressions]]. The lambda keyword can be followed by a normal procedure notation, then the entire lambda form can be followed by a value to feed into the un-named procedure. For example `((lambda (x) (+ x 1)) 7)` which results in `7 + 1`. A lambda can be put following a procedure definition and become the procedure as well, which seems to kind of defeat the point. For example: ``` (define add1(lambda (x) (+ x 1))) ``` See also: * [[Example - Scheme - Mechanical translation of let form into unnamed procedure]]
The ''let operation'' or ''let form'' assigns a name to a value, then executes the body part of the code which is the scope of the variables defined. This is like creating local variables. For example ``` (let ((name1 form1) (name2 form2)) body ) ``` The syntax graph for a let form is shown below: [img width=500 [https://i.imgur.com/SKEkzdo.png]] See also: * [[Example - Scheme - Mechanical translation of let form into unnamed procedure]]
Using [[BNF Notation|Backus-Naur Form (BNF)]], a ''list'' in scheme can be defined as: ``` <list> ::= null | `() <list> ::= (cons x <list>) ``` where `x` can be any [[form|Scheme Form]]. The first part is the definition of an empty list, which can be null or the `'()` identifier. Then a list can be built on another with the [[cons operator|Scheme pair Data Type]]. All lists, except the empty list, are pairs because of this. To simplify a deeply nested list, a ''list simplification rule'' can be applied, on top of the pair simplification rule, to help deal with empty lists. If to the right of a dot is an empty list, then the dot and pair of parenthesis representing the empty list can be omitted. For example `'(9 . (7 4 . ()))` by the pair simplification rule becomes `'(9 7 4 . ())` then by the list simplification rule becomes `'(9 7 4)` Some operations defined for a list are below: [img width=700 [https://i.imgur.com/kZVUHX6.png]] Specific procedures: * [[Scheme member Operation]] * [[Scheme Quotes]]
The ''member operation'' can be done on a list and is generally `(member x <list>)` where `x` is any form. If `x` does not exist anywhere in the list, then it will return `#f`, otherwise it will return the sub-list from the first `x` found in the list. To return true or false only, the following operation could be defined: ``` (define (member? element lst) (cond ((null? lst) #f) ((equal? element (car lst)) #t) (else (member? element (cdr lst))) ) ) ```
''Modules'' can be defined to limit the global scope of a scheme program. Modules are generally defined as: ``` (module module-name ... ) ``` Names can be made visible outside a module with the [[export form|Scheme export Form]]. See also: * [[Example - Scheme - General definition of export using a module]]
A ''pair'' is a structured data type in scheme and can be denoted by `'(x . y)` where `x` and `y` can be any literal values of any data type. Pairs can be nested as well such as `'(1 . (4 . 8))` To simplify very long and complex nested pairs, a pair simplification rule can be applied, which states that a dot and the left parenthesis to the right of a dot can be omitted if the item to the right of the dot is a pair such as `. (`. The right parenthesis paired with the left must be removed as well. For example `'((2 . (8 . 7)) . (4 . 8))` can be simplified to `'((2 8 . 7) 4 . 8)`. An incomplete set of operations for the pair type is below: [img width=700 [https://i.imgur.com/yjj5kKm.png]] See also: * [[Scheme Quotes]]
A ''primitive'' is a predefined operation in Scheme. These operations cannot or do not need to be defined in terms of anything simpler. Primitives are used to build [[applications|Scheme Applications]]. Here are some [[examples of primitives in scheme|Example - Scheme - Some primitives]].
A ''procedure'', or ''procedure type'' is a new user-defined [[primitive|Scheme Primitives]]. The [[define keyword|Scheme define Keyword]] can be used to create a procedure. The two syntax graphs for defining a procedure are below: [img width=700 [https://i.imgur.com/RubMy6M.png]] [img width=700 [https://i.imgur.com/8qbZt1O.png]] See also: * [[Scheme Higher-Order Procedures]]
''Scheme'' is a dialect of [[lisp|Lisp Programming Language]]. See also: * [[History of Scheme and Lisp]]
The single ''quote'' `'` indicates the beginning of a [[pair|Scheme pair Data Type]], or [[list|Scheme list Data Type]] and scheme will use the following left parenthesis and the corresponding right parenthesis to contain that pair. This means that only one quote is needed to indicate any number of nested pairs. The following rules define how quotes can be used in scheme: * A quote can be used to name a [[symbol|Lisp symbol Data Type]]. * A quote must be used for pairs and lists at the outermost level to differentiate them from [[forms|Scheme Form]]. * No quotes can be used within pairs or lists * No numbers, strings, and booleans can be quoted, they will just be ignored.
A ''baseline'' in context of [[SCM|Software Configuration Management (SCM)]] is a collection of components and versions which make up a system. It is a named configuration. It identifies the libraries used, configuration files needed, and component versions included. It seems that baselines are used as a concept for actual customer releases maybe. See also: * [[Image detailing difference between baseline, codeline, and mainline|$:/Image - Image detailing difference between baseline, codeline, and mainline]]
''Branching'' in context of [[SCM|Software Configuration Management (SCM)]] the creation of a new [[codeline|SCM > Codeline]] from a version in an existing codeline. The new codeline and the existing codeline may develop independently.
A ''codeline'' in context of [[SCM|Software Configuration Management (SCM)]] is the set of versions and configuration items on which a particular software component depends. It is a sequence of versions of source code where later versions depend on earlier versions. See also: * [[Image detailing difference between baseline, codeline, and mainline|$:/Image - Image detailing difference between baseline, codeline, and mainline]]
A ''configuration item'' in context of [[SCM|Software Configuration Management (SCM)]] is anything associated with a software project that has been placed under configuration management.
A ''mainline'' in context of [[SCM|Software Configuration Management (SCM)]] is a sequence of [[baselines|SCM > Baseline]] representing different versions of a system. See also: * [[Image detailing difference between baseline, codeline, and mainline|$:/Image - Image detailing difference between baseline, codeline, and mainline]]
''Merging'' in context of [[SCM|Software Configuration Management (SCM)]] is the creation of a new version of a software component by merging separate versions in different [[codelines|SCM > Codeline]]. These codelines may have been created by a previous [[branch|SCM > Branching]] of one of the codelines involved.
A ''repository'' in context of [[SCM|Software Configuration Management (SCM)]] is a shared database of versions of software components and meta-information about changes to these components.
''System building'' as it pertains to [[SCM|Software Configuration Management (SCM)]] involves creating a complete, executable system by compiling and linking system components, external libraries, configuration files and other needed info. This seems very similar to [[continuous integration|Continuous Integration]]. Tools for system building include some or all of the below features: * Build script generation * [[VCS|Version Control System]] integration * Minimal compilation * Executable system creation * Test automation * Reporting * Documentation generation
''Scopes'' in Python can be manipulated by editing the appropriate namespace. Because all variables are stored in their respective namespace, or scope, the can be manipulated by using keywords or functions that identify that scope. For example the keyword `nonlocal` before a variable name, will indicate that any variable usage in that scope, should be rebound to the enclosing scope. The keyword `global` before a variable name will rebind the variable used in that scope to the outermost scope.
''Scrum'' is an [[agile software process|Agile Software Processes]] that is focused on delivering the highest business value in the shortest time. Here is an [[image of an example flow of Scrum|$:/Image - Example of Scrum Agile process]]. Here is [[another image of an example flow of Scrum|$:/Image - Example of Scrum Agile process 2]]. And [[here is another good overview of Scrum|$:/Image - Overview of Scrum]]. There are 3 legs to Scrum: * Transparency * Inspection * Adaptation Scrum was first mentioned by Hirotoka Takeuchi in 1986. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Scrum'>> </div> See also: * [[Official Online Scrum Guide|https://www.scrumguides.org/scrum-guide.html]]
It seems that ''Scrum Artifacts'' follow the normal definition of [[software artifacts|Software Artifact]]. Some specifics ones to Scrum are below. <div class="tc-table-of-contents"> <<toc-selective-expandable 'Scrum Artifacts'>> </div>
''Done'' should be specifically defined by the [[Scrum Team|Scrum Teams]]. It may modify over time but the [[Product Owner|Scrum Teams > Product Owner]] should know exactly what the definition of Done is to evaluate if the [[Sprint|Scrum Sprint]] has resulted in completed work. This may include testing, documentation, and the finished code.
The ''Product Backlog'' is a prioritized list of everything that might be needed in the product. The [[Product Owner|Scrum Teams > Product Owner]] is responsible for its availability, contents, and it's prioritization. The backlog constantly changes to identify what the product needs to be appropriate, competitive, and useful. It represents everything necessary to develop and launch a successful product. So it is a list of all features, functions, technologies, enhancements, and bug fixes that constitute the changes that will be made to the product for future releases. Priority is driven by risk, value, and necessity. Ideally, each item on the product backlog should fit within the length of one [[Sprint|Scrum Sprint]]. Product Backlog items are usually stated as [[user stories|User Stories]]. [[Use cases|UML Use Case]] are appropriate as well, but better for life or mission-critical software. Here is an [[example of a product backlog|$:/Image - Example of a Product Backlog]]. Multiple Scrum Teams can work on a Product Backlog. When this is the case, some type of grouping attribute can be employed for items on the Product Backlog to help with assigning to teams. For example by feature set, technology, or architecture. Sometimes [[acceptance tests|Acceptance Testing]] are used as well as an attribute.
A ''release burndown'' measures remaining [[Product Backlog|Scrum Product Backlog]] across the time of a release plan. That is, the sum of remaining Product Backlog estimated effort across time. The units of time are usually [[Sprints|Scrum Sprint]]. The Team is responsible for all estimates. The [[Product Owner|Scrum Teams > Product Owner]] may contribute to the Team's decision, but the Team has the final say. The Product Owner keeps an updated Release Burndown posted. See also: * [[Example of a release burndown chart|$:/Image - Release Burndown Chart Example]]
The ''release planning meeting'' is meant to establish a plan and goals that the [[Scrum Teams|Scrum Teams]] and the rest of the organizations can understand and communicate. Some questions that should be answered are: * How can we turn the vision into a winning product in the best possible way? * How can we meet or exceed the desired customer satisfaction and RoI? The meeting also establishes: * The goal of the release * The highest priority [[Product Backlog|Scrum Product Backlog]] * The major risks * The overall features and functionality that the release will contain * Probable delivery date
The ''Sprint'' is evidently the heart of [[Scrum|Scrum]]. It is an iteration of one month or less that is of consistent length throughout a development effort. All Sprints use the same Scrum framework, and all Sprints deliver an increment of the final product that is potentially releasable. Sprints involve doing Requirements, Design, Coding and Testing. One Sprint starts immediately after the other. (How do you maintain a constant sprint? This sounds like a business person's wet dream...). Each Sprint contains the following: * [[Spring Planning Meeting|Scrum Sprint Planning Meeting]] * Development work * [[Sprint Review|Scrum Sprint Review]] * [[Sprint Retrospective|Scrum Sprint Retrospective]] Sprints can be cancelled only by the [[Product Owner|Scrum Teams > Product Owner]]. This may occur if for example the goal becomes obsolete. This should rarely be the case though because of the short nature of sprints. Sprint terminations tend to be traumatic to the team so they should be avoided.
The ''Sprint backlog'' is a list of tasks that accomplish things on the [[Product Backlog|Scrum Product Backlog]] to be used in a [[Sprint|Scrum Sprint]] to create an increment of potentially shippable product. The Sprint Backlog focuses around the [[Sprint Goal|Scrum Sprint Planning Meeting]]. Here is an [[example of what a Sprint Backlog might look like|$:/Image - Example of a Sprint Backlog]]. [[Taiga|Taiga]] is an example of software that can be used to build a Sprint Backlog. Here is an [[image of how Taiga looks when building your Sprint Backlog|$:/Image - Taiga Sprint Backlog example]]. The Sprint Backlog is normally created during the [[Sprint Planning Meeting|Scrum Sprint Planning Meeting]] and is a subset of the Product Backlog. The Sprint Backlog is valid for the length of one Sprint. The Team modifies the Sprint Backlog throughout the Sprint and remaining hours for tasks are updated. Tasks are: * Things that need to be done to finish a user story. They are a todo-list to finish the user story * Each user story in the Sprint Backlog should have 1+ tasks * Some believe that each developer should work on 1 task at a time. In SER 316 we will work on 1-2 at a time. * Tasks should be small enough to finish them in one working session. So for a full time worker that would be 8 hours. For a class, maybe plan them to be 2-4 hours. * Try to keep them as independent as possible. * In one of four states: ** New (Not assigned) ** In progress (Currently being worked on by a team member) ** Ready for Test (Currently being tested) ** Done (Developed and thoroughly tested)
A ''Sprint burndown'' measures remaining [[Sprint Backlog|Scrum Sprint Backlog]] items across the time of a [[Sprint|Scrum Sprint]]. This is a graph of the amount of Sprint Backlog work remaining in a Sprint across the time of the Sprint. Duration is not considered in the graph, only the number of items and days left in the Sprint.
A ''Sprint Planning Meeting'' is when the [[Sprint|Scrum Sprint]] is planned. The meeting is time-boxed to 8 hours for a one month Sprint. For shorter Sprints, approximate 5% of the total Sprint length this meeting. The Sprint planning meeting consists of two parts: * Part 1 for half the time: The What: What will be done is decided upon. The [[Product Owner|Scrum Teams > Product Owner]] presents the top priority [[Product Backlog|Scrum Product Backlog]] to the Team. The amount of backlog to select is up to the Team entirely. Only the Team can assess how much they can complete. The ''Sprint Goal'' is crafted here. This is a statement which provides guidance to the Team on why they are building the increment. The Sprint Goal is a subset of the release goal. The team may achieve the Sprint Goal without completed all of the [[Sprint Backlog|Scrum Sprint Backlog]]. * Part 2 which takes the other half of the time: The How: The team decides how it will build this functionality into a product increment during the Sprint. The Team usually starts by designing the work. During the design, the Team decides on what tasks should be assigned. Tasks should be able to be completed in less than one day. The task list is called the Sprint Backlog. Usually only 60-70% of the Sprint Backlog is completed during the meeting, while the rest is hashed out during the Sprint. The Product Owner can be present during this meeting to negotiate either more or less work if needed. Other people can be brought in for domain advice or technical advice.
After the [[Sprint Review|Scrum Sprint Review]], and prior to the next [[Sprint Planning Meeting|Scrum Sprint Planning Meeting]], the ''Sprint Retrospective'' occurs. This is normally a 3 hour meeting where the [[ScrumMaster|Scrum Teams > ScrumMaster]] encourages the Scrum Team to revise, within the Scrum process framework, their development process to make it more effective and enjoyable for the next [[Sprint|Scrum Sprint]]. Some things to discuss are: * What to start doing * What to stop doing * What to continue doing
The ''Sprint Review'' is a generally four hour meeting for one month [[Sprints|Scrum Sprint]]. The meeting must not consume more than 5% of the total Sprint. During the Sprint Review, the [[Scrum Team|Scrum Teams]] and stakeholders collaborate about what was just done. Based on that, changes to the [[Product Backlog|Scrum Product Backlog]] can be thought of. This is an informal meeting centered around presentation of the functionality and deciding on what to do next. The meeting should at least include: * The [[Product Owner|Scrum Teams > Product Owner]] identifies what has been done and what hasn't been done. * The Team discusses what went well during the Sprint and what problems it ran into, and how they solved these problems. * The Team shows the work is done and answers questions * The Product Owner discusses the Product Backlog as it stands. * The entire group then collaborates about what it has seen and what this means regarding what to do next. There is an informal 2-hour prep time rule, with no slides.
''Scrum Teams'' are designed to optimize flexibility and productivity. Each Scrum Team has three roles: * [[ScrumMaster|Scrum Teams > ScrumMaster]] * [[Product Owner|Scrum Teams > Product Owner]] * Team - they do the work, lol. The team consists of developers with all the skills required to turn the Product Owner's requirements into a potentially releasable piece of the product by the end of a [[Sprint|Scrum Sprint]]. They are entirely independent and are the only ones that can decide how to turn a [[Product Backlog|Scrum Product Backlog]] into a shippable product during a Sprint. The optimal size of the team is 7, plus or minus 2.
The ''Product Owner'' is responsible for maximizing the value of work that the [[scrum team|Scrum Teams]] does. The Product Owner * Is the one and only person that is responsible for managing the [[Product Backlog|Scrum Product Backlog]]. * They are also responsible for the priority on those items according to market value. * They decide on the release date and content * Accepts or rejects work results The Product Owner should be one person and not a committee. For the Product Owner to succeed, everyone in the organization has to respect his or her decisions. The Product Owner can be a team member, but it would hinder their ability to work with stakeholders. The Product Owner should never be the [[ScrumMaster|Scrum Teams > ScrumMaster]]. According to SER 316 the Product Owner is not part of the programming team. See also: * [[ScrumMaster|Scrum Teams > ScrumMaster]]
The ''ScrumMaster'' is part of a [[Scrum Team|Scrum Teams]] and is responsible for ensuring the process is understood and followed. The ScrumMaster helps the Scrum Team understand and use self-management and cross-functionality. However, the ScrumMaster does not manage the Scrum Team, the Scrum Team is self-organizing. The ScrumMaster: * Works with the customers and management to identify and instantiate a [[Product Owner|Scrum Teams > Product Owner]]. * Removes impediments * Enables close cooperation across all roles and functions * Shields the team from external interferences. * Is not the boss of the team The ScrumMaster is sometimes a member of the Team, but this can cause issues when deciding to remove impediments, or produce value. The ScrumMaster should never be the Product Owner.
''Time-boxes'' in [[Scrum|Scrum]] create regularity. These are sometimes called ''ceremonies''. Some different things that are ''timeboxed'' are: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Scrum Time-Boxes'>> </div>
The ''Daily Scrum'' is a daily meeting where the Team meets for 15 minutes at the same time and place throughout the [[Sprints|Scrum Sprint]]. During the meeting, each Team member explains: * What he or she has accomplished since the last meeting * What he or she is going to do before the next meeting * What obstacles are in his or her way The [[ScrumMaster|Scrum Teams > ScrumMaster]] ensures that only the Team members talk and no one else. Also that people are quick with their descriptions and don't take too long.
Searching is the process of finding a designated target element within a group of items or determining that the target does not exist within the group. The group of items to be searched is sometimes called the search pool.
''Security'' is a state of freedom from a danger or risk.
A ''security audit'' can use [[reverse engineering|Reverse Software Engineering]] to check if critical components behave as specified. Basic Security Audit steps: # Reverse engineer the program # Compare observed behavior with specifications # Find mismatches between observed behavior and specifications
''Selection Sort'' first find the smallest value in the list, then switch it with the value in the first position, then find the next smallest value in the list, and switch it with the next position, until the end. Selection Sort has a time complexity of O(n^2). This is good for small lists, but not good for larger arrays. See also: * [[Example - Java - Selection Sort]] * [[Example - C/C++ - Recursive Selection Sort]]
''Self-describing data'' is data that includes data item names or formats and data values together. For example JSON could be considered self-describing data, as could [[XML|Extensible Markup Language (XML)]]. Self-describing data is contrary to something like [[metadata|Metadata]].
''Semantic versioning'' or ''SemVer'' is an industry standard for version numbering. Semantic versioning is typically used with projects that have public APIs, so if a project does not have that, then it might be good to use something else. A version number of some software should have the following format: ``` MAJOR.MINOR.PATCH ``` Where the major number is incremented when there are incompatible API changes, the minor version is incremented when there is added functionality that is backwards-compatible, and the patch version is incremented when there are backwards-compatible bug fixes.
The ''semantics'' or ''semantic structure'' of a program statement define what that statement means or its purpose. This could be the actual objective of a statement such as "add 7 to the variable stored in `x`". Often the semantics of a language is very complex. Each language may have semantics that are in line with how they were originally designed. For example the meanings of Prolog clauses are the same as the meanings of the clauses in Horn Logic on which prolog is based. Some examples of semantic rules are in the note. Generally symantics comes down to if something will throw an error, or cause a fault in the program, although it still follows syntax rules. Below are some semantic rules: * Declaration and Unicity: Review that a variable has only been declared once. and that the variable has been declared before use. * Types: Review that the types of variables match the values assigned to them such * Arrays Indexes: Review that the indexes are always integers or macros * Conditions: Review that all expressions on the conditions return a boolean value * Return type: Review that the value returned by a method match the type of the method * Parameters: Review that the parameters in a method match in type and number with the declaration of the method See also: * [[Example - C/C++ - Semantic Errors]]
A ''semaphore'' is a variable or [[abstract data type|Class (Computer Science)]] used to control access to either 1 or multiple common resources by multiple processes in a [[concurrent|Concurrency]] system. A semaphore is a generalization over a [[mutex lock|Operating System Mutex Locks]] to support more than one resource. While mutex's are about excluding secondary actions, semaphores are about acquiring some unique resource from a set. Normally semaphores have two main atomic operations: * `wait()` which blocks until the semaphore is positive * `signal()` which increases the semaphore by 1, so it says that the resource is no longer being used. Typically a semaphore is an integer, and the highest number it is capable of, is the number of resources available. For example if there are 3 printers, a semaphore of 3 would mean all of them are available. 0 would mean none are, and -5 would mean 5 people are waiting for a printer. A couple different things that can be done with semaphores, are solving the [[critical section problem|Operating System Process Synchronization Critical Sections]] by using a semaphore with a starting value of 1, and enforcing execution order, by starting with a semaphore of 0, then use `signal()` when the first one is done, and the second waiting one should start. One way to avoid busy waiting with something using semaphores, the semaphore can store the [[processes|Operating System Processes]] that are waiting on its resources. Semaphores can be implemented with the [[semaphore.h library|C semaphore.h Library]] in C. See also: * [[Reader-Writers Problem]] * [[Bounded Buffer Problem]]
A ''sensor'' measures analog physical phenomena and converts the measured value to an analog electrical signal.
''Separation of concerns'' or ''SoC'' is an [[architectural style|Architectural Styles (Software Engineering)]] and has 3 primary "concerns" that it is referencing: * Data access * Business logic - Independent of specific apps * Presentation or rendering
A ''sequence'' is a function from a subset of $$\mathbf{Z}$$ (usually {0,1,2,3,...} or {1,2,3,...}) to a set S. $$a_n$$ denotes the image of the integer n, which is also called a **term** of the sequence. The notation $$\{a_n\}$$ describes the sequence and does conflict with the set notation. It's good to always clearly explain context when describing sets and sequences this way.
A ''sequential circuit'' uses new and old values to determine a value for the output of a circuit. It is dependent on the circuit's present inputs but also the circuit's state which is all the bits currently stored in the circuit. This means that the circuit's state depends on it's past sequence of input values, hence the name. An example of a sequential circuit is a toggle switch for a lamp. You press a button, the light turns on and stays on. You press it again, and it turns off and stays off.
<<list-links "[tag[SER 216]sort[title]]">>
<<list-links "[tag[SER 216 - Week 1]sort[title]]">>
<<list-links "[tag[SER 216 - Week 2]sort[title]]">>
<<list-links "[tag[SER 216 - Week 3]sort[title]]">>
<<list-links "[tag[SER 216 - Week 4]sort[title]]">>
<<list-links "[tag[SER 216 - Week 5]sort[title]]">>
<<list-links "[tag[SER 216 - Week 6]sort[title]]">>
This is a class at ASU. Data structures and algorithms. <<list-links "[tag[SER 222]sort[title]]">>
<<list-links "[tag[SER 222 - Week 1]sort[title]]">>
<<list-links "[tag[SER 222 - Week 7]sort[title]]">>
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'SER 232 - Systems Fundamentals'>> </div>
<div class="tc-table-of-contents"> <<toc-selective-expandable 'SER 315'>> </div>
<<tabs "[tag[SER 315 - Week 1]]">>
<div class="tc-table-of-contents"> <<toc-selective-expandable 'SER 315 - Week 2' sort[title]>> </div>
<<list-links "[tag[SER 316]sort[title]]">>
<<list-links "[tag[SER 316 - Module 1]sort[title]]">>
<<list-links "[tag[SER 316 - Module 2]sort[title]]">>
<<list-links "[tag[SER 316 - Module 3]sort[title]]">>
<<list-links "[tag[SER 316 - Module 4]sort[title]]">>
<<list-links "[tag[SER 316 - Module 5]sort[title]]">>
<<list-links "[tag[SER 316 - Module 6]sort[title]]">>
''SER 321'' was "Principles of Distributed Software Systems". <<list-links "[tag[SER 321]sort[title]]">>
<<list-links "[tag[SER 321 - Week 1]sort[title]]">>
<<list-links "[tag[SER 321 - Week 2]sort[title]]">>
<<list-links "[tag[SER 321 - Week 3]sort[title]]">>
<<list-links "[tag[SER 321 - Week 4]sort[title]]">>
<<list-links "[tag[SER 321 - Week 5]sort[title]]">>
<<list-links "[tag[SER 321 - Week 6]sort[title]]">>
SER 322 uses the book [[Fundamentals of Database Systems|Book - Fundamentals of Database Systems 7th Ed]]. <<list-links "[tag[SER 322]sort[title]]">>
This week went over chapters 1, 3, and 4 in [[this book|Book - Fundamentals of Database Systems 7th Ed]]. <<list-links "[tag[SER 322 - Week 1]sort[title]]">>
This week went over chapters 5, and 8 part 1-5 in [[this book|Book - Fundamentals of Database Systems 7th Ed]]. <<list-links "[tag[SER 322 - Week 2]sort[title]]">>
This week went over chapters 6 and 7 in [[this book|Book - Fundamentals of Database Systems 7th Ed]]. <<list-links "[tag[SER 322 - Week 3]sort[title]]">>
This week went over chapter 9 in [[this book|Book - Fundamentals of Database Systems 7th Ed]]. <<list-links "[tag[SER 322 - Week 4]sort[title]]">>
This week went over chapter 10 and 13 in [[this book|Book - Fundamentals of Database Systems 7th Ed]]. <<list-links "[tag[SER 322 - Week 5]sort[title]]">>
This week went over chapter 14, 18, and 20 in [[this book|Book - Fundamentals of Database Systems 7th Ed]]. <<list-links "[tag[SER 322 - Week 6]sort[title]]">>
<<list-links "[tag[SER 322 - Week 7]sort[title]]">>
<<list-links "[tag[SER 334]sort[title]]">>
<<list-links "[tag[SER 334 - Week 1]sort[title]]">>
<<list-links "[tag[SER 334 - Week 2]sort[title]]">>
<<list-links "[tag[SER 334 - Week 3]sort[title]]">>
<<list-links "[tag[SER 334 - Week 4]sort[title]]">>
<<list-links "[tag[SER 334 - Week 6]sort[title]]">>
<<list-links "[tag[SER 334 - Week 7]sort[title]]">>
<<list-links "[tag[SER 421]sort[title]]">>
<<list-links "[tag[SER 421 - Module 1]sort[title]]">>
<<list-links "[tag[SER 421 - Module 2]sort[title]]">>
<<list-links "[tag[SER 421 - Module 3]sort[title]]">>
<<list-links "[tag[SER 421 - Module 4]sort[title]]">>
<<list-links "[tag[SER 421 - Module 5]sort[title]]">>
<<list-links "[tag[SER 421 - Module 6]sort[title]]">>
<<list-links "[tag[SER 423 - Mobile Systems]sort[title]]">>
<<list-links "[tag[SER 423 - Week 1]sort[title]]">>
<<list-links "[tag[SER 423 - Week 2]sort[title]]">>
<<list-links "[tag[SER 423 - Week 3]sort[title]]">>
<<list-links "[tag[SER 423 - Week 4]sort[title]]">>
<<list-links "[tag[SER 423 - Week 5]sort[title]]">>
<<list-links "[tag[SER 423 - Week 6]sort[title]]">>
<<list-links "[tag[SER 423 - Week 7]sort[title]]">>
Using a [[shift register|Shift Register]] you can rotate values through one wire to send 8 bits of data one bit at a time. This is called ''serial communication''. Some common serial interfaces are: * USB * [[UART|Universal Asynchronous Receiver/Transmitter (UART)]] * SATA * RS-232 * SPI * I^2C
''Connection pooling'' is where a server allocates a set amount of sockets for an application as soon as it requests it's first connection. This way when the application needs another one, it can grab one from the pool, instead of having to go through the request process again for each new one.
''SOA'' has emerged as a newer [[programming paradigm|Programming Paradigms]]. IBM, Google, and Microsoft are all using this as time goes on for software and even hardware.
''Service Oriented Computing (SOC)'' is a [[distributed computing paradigm|Distributed Computing]]. It emphasizes distributed services, possibly with service data, rather than objects as it is with OO distributed computing. SOC separates development duties and software into service provision, service brokerage, and application building through service consumption. SOC supports reusable services in repositories for matching, discovery and remote or local access. In SOC, services communicate through open standards and protocols that are platform independent and vendor independent. This means anyone can use them.
A ''set'' is an unordered collection of objects, which are called elements or members of the set. A set is said to contain it's elements. We write $$~a \in A~$$ to denote that a is an element of the set A. The notation $$~a \notin A~$$ denotes that a is not an element of the set A. It is common to denote sets with uppercase letters. Focus should be put on the fact that sets are unordered. So there is no first and no last member of the set. Sets can also have other sets as members. For example $$~\{ \mathbf{N}, \mathbf{Z}, \mathbf{Q}\}~$$. Sets can contain anything inside them, not just numbers, or other sets, but images for example. There are no exact duplicates in a set. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Set (Mathematics)'>> </div>
The ''SHA hashing algorithm'' is a federally standard [[hashing algorithm|Hashing Functions]]. It has a few different options: * 160-bit * 256-bit * 1600-bit
The human user interface responsible for communicating with users is a ''shell''. There are text based shells which are called [[command line interfaces|Command Line Interface (CLI)]], then there are [[GUI|Graphical User Interfaces (GUI)]] based shells such as Windows, iOS, and Android. A single [[operating system|Operating Systems]] may have multiple shells, and a shell is an example of an [[operating system service|Operating System Services]]. Windows command prompt is an example a command line interface, that is one type of shell on Windows. The other might be powershell. A linux example shell is [[bash|Bash]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Shell (Computing)'>> </div>
A ''shift register'' shifts bits to the right when the control bit is 1, and lets them pass when the control bit is 0. An example is here: https://drive.google.com/file/d/1iO7YbPAi9d--m9fTJ4NXTp2JWIOoosm7/view?usp=sharing. This is the same as a normal shifter but just stores the result. This is useful for multiplying or dividing values by by multiples of 2 before storing in a register.
A ''short'' holds 16 bits (2 bytes)
''Short Code'' was the first [[high-level programming language|High-Level Programming Languages]] developed that was actually used in electronic devices. Programs written in the language had to be hand-compiled into [[machine code|Machine Language]].
A shorthand property is one that specifies many of the propertie's values in a series of values after the indicated property. This can be used in [[CSS|CSS]] to specify multiple parameters at once in one line.
The ''sieve of Eratosthenes'' is the process in which you find all primes not exceeding a specified positive integer. So for all primes not exceeding 100, you begin with the list of numbers from 1 to 100, then remove all integers divisible by 2, but not 2. Then remove all integers divisible by 3 but not 3, etc until 7, because only the numbers below the square root of your chosen positive integer will be divisible primes. The numbers that are left, are primes. An example is in this snippet: [img width=700 [https://i.imgur.com/lST4Rkb.jpg]]
The ''SIFT Workstation'' is a pre-made virtual machine that has some standard forensics tools already installed on it. Password is `forensics`. Some programs you might want to install on the workstation are as follows: * `screen` See also: * [[Link to SANS workstation download and info page|https://digital-forensics.sans.org/community/downloads]]
A ''signal'' is just some physical phenomenon that has a unique value at every instant of time.
An n-bit binary number representing only positive numbers is called an ''unsigned number'' and can represent numbers from $$0 \to 2^{N} - 1$$. An N-bit binary number that can represent positive and negative numbers is called a ''signed number'' which is actually a [[two's complement number|Complements (Computer Science)]] and it can represent numbers from $$-2^{N-1} \to +2^{N-1} -1$$.
The ''simple API for XML'' or ''SAX'' implements an event / callback mechanism where the XML is parsed, and when it finds something interesting, such as the beginning of an element, it will trigger an event which could trigger a callback function that you provide to it. SAX is [[stateless|Stateless (Computer Science)]]. All SAX interfaces are [[synchronous|Synchronous]]. This is represented in the fact that parser methods wait for the event-handler callback to return before reporting the next event. When an interface with SAX is implemented, only the interfaces and events/methods that are wanted can be overridden. So that way you can ignore events/methods that aren't needed for a particular application. There are four primary interfaces for SAX. Those are outlined below: * [[ContentHandler|SAX ContentHandler Interface]] * [[ErrorHandler|SAX ErrorHandler Interface]] * `DTDHandler` which processes [[DTD|XML Document Type Definition (DTD) Syntax]] information after the start of the document and before the start of the first element. * `EntityResolver` which enables customized handling for external entities.
Picking a selection out of a completely randomly mixed pool is ''simple random sampling''. This is like a lottery.
The ''Singleton design pattern'' is a type of [[creational design pattern|Creational Design Pattern]] that ensures only one object of a particular class is ever created. All further references to objects of the singleton class refer to the same underlying instance. This could be useful for a legacy system where only one data connection is allowed at a time. One way to perform this kind of pattern is to make all constructors to the class private, and provide a static method that returns a reference to the instance. Static vs Singleton: * A static class can only have static methods * Singleton is a real object and can be inherited * Static is bound at compile time thus has better performance * If maintaining a state then Singleton is usually better.
The ''Sleuth Kit'' or ''TSK'' is a collection of command line tools and a C library that allows you to analyze disk images and recover files in almost any OS it seems. A front-end to Sleuth Kit is [[Autopsy|Autopsy (Digital Forensics Tool)]]. Sleuth Kit views the file system in 5 layers, and has tools for each layer besides the physical layer. Those layers are below: * Physical layer * Data layer - Commands start with `blk` * Metadata layer - Commands start with `i` * File system layer - Commands start with `fs` * File name layer - Commands start with `f` Some options for commands are below: * `-f <fs-type>` tells the command what the file system being used is. Some commands are below: * `blkstat -f ext2 myImage.img 300` will tell you if `300` is a [[block|Magnetic Disk Logical Blocks]] address number. If it isn't allocated, then that means that block has been deleted. * `blkls -f ext2 myImage.img > myUnallocated` will list out all unallocated blocks. This might be useful to extract for deleted file recovery. * `blkcat` will display the content of one block. Data that is larger than the single block will not be displayed. * `isstat` will display statistics for a given [[inode|ext File System inodes]] number. * `ifind` maps from a block number to an inode number * [[ils command|Sleuth Kit > ils Command]] * [[fls command|Sleuth Kit > fls Command]] * [[mmls command|Sleuth Kit > mmls Command]] See also: * [[Sleuth Kit wiki main page|http://wiki.sleuthkit.org/index.php?title=The_Sleuth_Kit]]
The ''fls command'' is a [[Sleuth Kit|Sleuth Kit]] tool that will list the files and directory names ina file system. It will can process the contents of a given directory and can display information on deleted files. See also: * [[Sleuth kit fls wiki page|http://wiki.sleuthkit.org/index.php?title=Fls]]
The ''fsstat command'' is a [[Sleuth Kit|Sleuth Kit]] tool that will display details about the file system. It seems pretty general. See also: * [[Sleuth kit fsstat man page|http://www.sleuthkit.org/sleuthkit/man/fsstat.html]]
The ''ils command'' will list all [[inodes|ext File System inodes]] along with information stored in the inodes. This is often used to collect inodes for deleted files. The output is not very user friendly, so it is commonly used with the mactime `-m` optional. For example: ``` ils -rf ext2 -m /dev_hda1.img ``` Haven't actually tried the above command yet. See also: * [[Sleuth kit ils man page|http://www.sleuthkit.org/sleuthkit/man/ils.html]]
The ''mactime command'' in Sleuth Kit can create an ASCII timeline of file activity based on the output of the [[fls tool|Sleuth Kit > fls Command]]. To use `mactime` you first need to create a data file from [[fls|Sleuth Kit > fls Command]] or [[ils|Sleuth Kit > ils Command]]. This can be done by using the `-m` option to indicate the data should be output in a mactime format. For example: ```bash fls -f ext3 -m "/" -r images/root.dd > data/body ils -f openbsd -m images/root.dd > data/body ``` Then you can use mactime to sort the data and create a timeline. The general structure is below: ```bash mactime [-b body ] [-g group file ] [-p password file ] [-i (day|hour) index file ] [-dhmVy] [-z TIME_ZONE ] [DATE_RANGE] ``` * `-b body` specifies the location of the body, which is the output of `fls` or `ils`. The main difference is that `ils` does not contain file name information. * `-d` can be used to display timeline and index files in a comma delimited format. This means it can be output directly into a `.csv` file with an [[arrow operator|Bash Commands and Features]]. See also: * [[Great description of how the output is formatted from mactime|http://wiki.sleuthkit.org/index.php?title=Mactime_output]] * [[Sleuth Kit wiki page for mactime|http://wiki.sleuthkit.org/index.php?title=Mactime]] * [[mactime man page|http://www.sleuthkit.org/sleuthkit/man/mactime.html]]
The ''mmls command'' is a [[Sleuth Kit|Sleuth Kit]] tool that will display the contents of a volume system. This is useful to view the partition table contents. The general format of the command is below: ``` mmls [-t mmtype ] [-o offset ] [ -i imgtype ] [-b dev_sector_size] [-BrvV] [-aAmM] image [images] ``` * `-t mmtype` can specify the media management type, such as [[GPT|GUID Partition Table (GPT)]]. Use `-t list` to list out the possible types. See also: * [[mmls man page|http://www.sleuthkit.org/sleuthkit/man/mmls.html]] * [[Sleuth kit mmls wiki page|http://wiki.sleuthkit.org/index.php?title=Mmls]]
''Smalltalk'' was invented by Xerox PARC and led by Alan Kay. Smalltalk inherited [[functional programming|Functional Programming]] features from [[Lisp|Lisp Programming Language]].
''Smoke tests'' are tests that cover all major functionality of the system under "normal" conditions. The purpose of a smoke test is to determine stability, not to find bugs with the system. So a failed smoke test, might indicate that some restructuring needs to happen, or more code needs to be written.
''Smokeview'' is a visualization program that is used to display the output of [[Fire Dynamics Simulator|Fire Dynamics Simulator (FDS)]], and [[Consolidation Model of Fire and Smoke Transport|CFAST Software]] simulations.
A ''socket'' is one concept for the endpoint of a communication channel between systems. A socket is composed of a system's id (such as an [[IP address|Internet Protocol (IP)]]) and a [[port|Networks > Ports]] number. `98.175.148.150:80`. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Sockets'>> </div>
''Soft real-time processing systems'' are those that provide no guarantee as to when a critical [[process|Operating System Processes]] will be scheduled. Normal [[operating systems|Operating Systems]] are soft real-time systems. See also: * [[Hard Real-Time Processing Systems]]
<<< "''Software Architecture'' is the fundamental organization of a system embodied in it's components, their relationships to each other, and to the environment, and the principles guiding it's design and evolution." <<< - ANSI/IEEE Std 1471-2000. Software architecture seems to be a subset of [[software design|Software Design]]. According to the text, software architecture is comprised of three things: Components, connectors, and constraints. Here is [[a rough graph explaining the difference between architecture and other types of design|$:/Image - Rough graph of some different architecture types]]. [[DSSA|Domain Specific Software Architecture (DSSA)]], [[Architectural patterns|Architectural Patterns (Software Engineering)]], and [[architectural styles|Architectural Styles (Software Engineering)]] are mentioned. This is not necessarily how you perceive these topics. A good book to go over software architecture ideas is called "Software Architecture: Perspectives on an emerging discipline" from Mary Shaw and David Garlan. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Software Architecture'>> </div>
A ''software artifact'' is a tangible by-product of software development, such as [[use cases|UML Use Case]], [[class diagrams|UML Class Diagrams]], or [[UML models|Unified Modeling Language (UML)]]. It could also be project plans, risk assessments, [[peer review|Peer Reviews]] documentation, or proofs. Essentially, an artifact is anything besides the final product, sometimes even the source code itself as it provides documentation for the final product. Some things that have been tagged as a software artifact are below, but not everything has been tagged that is one: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Software Artifact'>> </div>
''Software configuration management'', ''SCM'' or just ''configuration management'' is concerned with the policies, processes and tools for managing changing software systems and their [[artifacts|Software Artifact]]. Sometimes configuration management is considered part of the [[software quality management|Software Quality Management]] efforts. Configuration management involves 4 primary activities: * [[Version control|Version Control]] * [[System Building|SCM > System Building]] * [[Change management|Change Management]] * Release management - Involves preparing software for external release and keeping track of the system versions that have been released for customer use. Apparently SCM standards may be based on IEEE 828-2012. [[Agile methods|Agile Software Processes]] barely ever use these standards because of the documentation overhead. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Software Configuration Management (SCM)'>> </div> See also: * [[Image of a system being worked on with multiple versions and releases|$:/Image - Configuration management system with multiple versions]]
''Control metrics'' are a type of [[software metric|Software Metric]] and support process management. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Software Control Metrics'>> </div>
''Software design'' consists of both low-level software components and higher-level [[software architecture|Software Architecture]]. Software design entirely encompasses the process of creating a ''software solution''. Large projects need good design. The CHAOS reports from Standish group indicate this. Those are interesting metrics. Design is important because it helps people understand what a system does and how it works. Software design difficulties: * The product is intangible * The product is uniquely flexible. Easy to change, easy to break. * Almost all costs are development costs. Many software projects are one-off projects * The technology changes very quickly. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Software Design'>> </div> See also: * [[Wikipedia page on Software Design|https://en.wikipedia.org/wiki/Software_design]]
''Design Review Strategies'': # Review against the [[requirements|Software Specification]] to ensure that each required function is addressed by the design. # Verify the overall program structure and flow. # Check the logical constructs for correctness. # Check for robustness, safety, and security if possible # Check function calls for proper use. # Check special variables, parameters, types, and files for proper use. ''Reviewable Designs'' have a defined context, precise representation, as well as consistent and clear structure. It's helpful to explicitly state the design's purpose and function and have the design structured in logical elements.
A systematic approach that is used in [[software engineering|Software Engineering]] is sometimes called a ''software process'' or ''software development process''. Different kinds of systems need different kinds of development processes. A ''software process model'' is a simplified representation of a software process. Four fundamental activities are common to all software processes: * [[specification|Software Specification]], * development, * [[validation|Software Validation and Verification]], and * evolution. Software processes are different in almost all cases and usually use some, or all advantages of each given situation. Software process descriptions may include the activities that you carry out to create the software. But may also include the products of the process, the roles of people in the process, pre + post conditions which are statements that must be true before and/or after the process has been started/completed. Some different and large generalizations of software processes are below: * There are Plan Driven Processes where everything is planned in advance * [[Agile Processes|Agile Software Processes]] where planning is incremental and it is easier to change the process to reflect changing customer requirements. * There are linear and iterative processes, where phases are executed in order or repeated regularly. * There are monolithic and incremental processes where one single system is delivered or server versions are delivered with increasing functionality. * There are also document based and code based processes where most deliverables are text (besides the software itself) or almost all deliverables are code such as prototypes and test cases. The different software processes that there are notes on are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Software Development Processes'>> </div>
<<< ''Software engineering'' is the application of a systematic, disciplined, quantifiable approach to the development, operation, and maintenance of software; that is, the application of engineering to software. <<< - IEEE defintion. It is a discipline that is concerned with all aspects of software production, including technical activities and others such as software project management and the development of tools, methods and theories as well. Software engineering is a collection of techniques, methodologies and tools that help with the production of a high quality software system, with a given budget, before a given deadline, while change occurs. [[Computer science|Computer Science]] is focused on theory, while software engineering is focused on practicality and delivering useful software. Systems engineering is focused on the entire system and architecture, while software engineering is more specific to the system components. ''Engineering discipline'' means applying theories, methods and tools where appropriate and finding solutions when no theories or tools seem to present themselves, within organizational and financial constraints. Software engineering is important because society needs to be able to produce reliable and trustworthy systems economically and quickly. Also, it is usually cheaper in the long run to use software engineering methods and techniques for software systems rather than just write the programs as if it was a personal programming project. Its also important because software increasingly helps people live, meaning that failures can lead to death in safety critical applications. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Software Engineering'>> </div>
The ''Software Engineering Design Process'' is the engineer's method of executing [[software design|Software Design]]. This is where you convert the system specification into an executable specification. (These terms haven't been defined in notes yet). Here is an [[image of an abstract model of the software design process|https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5cGVlNGhKaE85MFk/view?usp=sharing]].
''Software failure'' is any deviation of the observed behavior from the specified behavior. See also: * [[Debugging]]
''Software full reviews'' which is sometimes called ''passaround'' are a type of [[peer review|Peer Reviews]] and involve peers examining the work product independently and the quality of the review is often dependent upon the amount of stress in the organization.
This is a topic tiddler for ''software inspection or review types''. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Software Inspection or Review Types'>> </div>
''Software inspections'' or ''program inspections'' are a type of [[peer review|Peer Reviews]]. These are the most formal of review types (sometimes called ''Fagan Inspections''). In this type of inspection, participants receive training, are assigned formal roles and are required to fully participate in the process. Inspections are typically checklist based and the formal meeting is not held unless all participants have completed their examination. A checklist of possible errors or issues particular to a problem domain, or language can be used. These are very helpful in finding common issues. The checklists should be regularly updated. Here is an [[example of this kind of checklist|$:/Image - Program Inspection Checklist Example]]. These checklists can double as a good [[PSP checklist|PSP Review Checklists]] source. The inspection meeting includes a reader (not the author) walking the reviewers through the work product, with the reviewers commenting or questioning on each part. Questions not quickly resolved are assigned to individuals for resolution, and all identified defects are entered into a defect tracking system to assure they are corrected.
''Software evolution'' or ''Software maintenance'': Hardly any software is actually new today, so it is better to think of software development and maintenance as a continuum, rather than separate projects. The software is actually a constant cycle during its lifetime, which ends with the ending of support. The flexibility of software systems is why large systems are relying less on hardware and more on the software side. Categories of evolution are in the note. Roughly 75% of the software lifecycle is spent in maintenance/evolution. <<_note """ Categories of software evolution in order of more urgency to less urgency: - Corrective: fixing bugs in the field - Adaptive: responding to changes in the environement - Perfective: Responding to changes in user requirements - Preventative: Improving or refactoring the system to prevent future issues. """>>
''Software measurement'' is deriving a numeric value or profile for some software, or component of software to indicate it's quality. This is different than [[software metrics|Software Metric]] in that it focuses on quality and not data. The goal of software measurement is to use measurement in place of [[reviews|Software Inspection or Review Types]] to make judgments about software quality. A relation between different measurements and external quality attributes is here: https://drive.google.com/file/d/1cyIXu0H2albRxTpMT331fyitfjsSvFtl/view?usp=sharing. Some types of software measurement are below: * Size: This is generally shown by lines of code or LOC. But, even LOC has widely different ways to measure it. * Complexity <<list-links "[tag[Software Measurement]sort[title]]">> See also: * [[Product metrics|Software Product Metrics]]
A ''function point'' is a software measurement that defines the amount of business functionality that some [[software requirement|Software Specification]] provides to a user. This seems very similar to [[agile story points|Agile Story Points]]. This measure is evidently highly contested because it ends up just reducing down to a "lines of code" count. See also: * [[Wikipedia page on function points|https://en.wikipedia.org/wiki/Function_point]]
A ''software metric'' is a characteristic of a software system, development process, or system documentation that can be objectively measured. These measurements help with management decisions on the path of the software, vs [[software measurement|Software Measurement]] that focuses on the overall quality of the software. Software metrics can be either control metrics or predictor metrics. <div class="tc-table-of-contents"> <<toc-selective-expandable 'Software Metric'>> </div> A good flow chart for describing how the software metrics interact is here: https://drive.google.com/file/d/1-bZAWo9xtBZqhIlMTKdI2STvmLKT6nge/view?usp=sharing. See also: * [[Youtube video from Dr. Gary talking about software metrics|https://www.youtube.com/watch?v=p-cfhopQk8A&feature=emb_logo]]
''Software Optimizations'' are needed to achieve highly efficient code which may be required to satisfy memory or reaction time constraints. An example of some optimizations are in the note. These optimizations can make it incredibly difficult to read code though. <<_note """ * The folding and unfolding (inlining) program code. * Use of algebraic properties of functions * Merging of computations by composing or combining functions * Partial evaluation * Finite differencing #Needs_Info * Result accumulation #Needs_Info * [[Recursion|Recursion]] simplification and elimination * Loop fusion #Needs_Info * Domain specific optimizations like minimizing a finite state machine recognizing a certain language. """>>
The ''software platform'' is the environment and other software that the software will interface with such as the operating system, database, and middleware.
''Predictor metrics'' are a type of [[software metric|Software Metric]] and help predict characteristics of the software. A predictor metric could be the average length of identifiers in a program, or the number of attributes and operations associated with classes in a design. Some types of predictor metrics are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Software Predictor Metrics'>> </div>
''Software product metrics'' are a type of [[predictor metric|Software Predictor Metrics]] used to measure internal attributes of a software system in terms of quality. They are used for [[software measurement|Software Measurement]]. There are two types of product metrics. * ''Dynamic metrics'' are collected during run-time, so they might be the number of bug reports from users, or time taken to complete a computation. Dynamic metrics normally correspond well to the overall software quality. * ''Static metrics'' are things like code size and the length of identifiers used and usually correspond well to readability, reliability, and maintainability. Some metrics are below: * ''Fan-in/Fan-Out'': Fan-in is a measure of the number of functions that call some function X. Fan-out is the number of functions that are called by function X. High fan-in then means that X is tightly coupled to the program's structure and changes to it will have large effects. High fan-out suggests that the complexity of X may be high. * ''Fog index'': Fog index is a measure of the average length of words and sentences in documents. The higher the value, the more difficult the document is to understand.
A ''software prototype'', a subset of a prototype @b:117, is used to develop functionality based on vague requirements. The robustness of the prototype need only be sufficient to facilitate effective user feedback. The downside is that the prototype is throw-away code. It's important the prototype is thrown away, because design decisions were made either incredibly quickly, or not at all. Another downside might be that a customer could pigeon-hole the company or yourself into early design or requirements commitments because they fall in love with the prototype.
''Software quality management'' consists of many different types of practices and ideas. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Software Quality Management'>> </div>
''Quality reviews'' are based on the [[artifacts|Software Artifact]] produced during the [[software development process|Software Development Processes]]. The quality review should check the consistency and completeness of documents. The results of the review should be recorded and passed to the author of the software or whoever is responsible for correcting errors or omissions. The purpose of the review is to improve software quality and not to comment on the individuals performance. The manager should provide a system in which when issues arise, blame is not given, but everyone grows as a result instead. The process for a quality review is in the note. This seems better than metric based quality assertions @b:29 because it gets the members of the team more familiar with the code, and produces more accurate results. <<_note """ Pre-review Activities: - Setting up a review team - Arranging a time and place for the review - The team looks over the standards to make sure everything looks alright The review meeting: - An author of the document or program being reviewed should give a 'walk-through' of the document. - The review itself should be relatively short, like two hours or less. - One reviewer should chair the meeting, and one should record all written comments. The review chair should sign a record of comments and actions agreed during the review. Post-review activities: - After a review meeting the problems and comments should be addressed. - Sometimes the issues that are raised may require a management review to see if more resources are needed. """>>
''Software Specification'' (or ''Requirements Engineering'', or ''Requirements Specification'') is the process of understanding and defining what services are required from the system and identifying the constraints on the system's operation and development. Generally this can be thought of as a mapping between the possible inputs to the program and the corresponding expected outputs. There are two levels of detail, end-users and customers need a high-level statement of requirements whereas system developers need a more detailed system specification. A general overview of this process is here: https://drive.google.com/file/d/0B5Qq4fe-ZajTRXFZVlNHUVN6RW8/view?usp=sharing. The description for that process is in the note. Another good overview is here: https://drive.google.com/file/d/1oS4eDYoZKAxrt_oNLF-wY7hr3j3Gbq1T/view?usp=sharing (Source 1). This one is called a ''v-process model''. <<_note """ Feasibility study: It is determined if the user needs may be satisfied by current software and hardware technologies, then the study considers if the software will be cost-effective from a business-perspective. This should be relatively cheap and quick. Requirements elicitation and analysis: This is the process of deriving the system requirements through observation of existing systems, discussions with potential users and procurers, task analysis, and so on. This may involve development of a system model or prototypes to help you understand the system to be specified. Requirements Specification: Translating the information gathered into a document that defines the requirements into two types, user requirements which are high level requirements, and system requirements which include a more detailed description of the functionality to be provided. Requirements validation: Checks the requirements for realism, consistency, and completeness. Sources: #Source:Article 10 page article on reviews and efficient meetings https://drive.google.com/file/d/17Q7AB1M4ZPcnOlgi7Y1LzFIFP3GntRvo/view?usp=sharing """>>
The Ariane 501 rocket exploded, because of a software design error. The idea was that if something breaks down, it is caused by a random hardware failure. The offending component would be shut off. This leads to no changes in software, which lead to clunky implementation and a failed rocket launch. SABRE (American Airlines Reservation System) was a large success. It has been evolving since 1960, and there are multiple variants for other airlines. Excel - Widely used. not that great lol. But considered very successful. Morris Internet Worm was successful
''Software testing'' is a process used to identify the correctness, completeness and quality of developed computer software. This includes a set of activities conducted with the intent of finding [[errors|Bug (Computer Science)]] to be corrected based on the [[requirements|Software Specification]]. The goal to strive towards is software that is defect-free. This can include all [[types of testing|Types of Testing]]. Complete testing of any non-trivial system is prohibitive in time and cost, in other words, testing is not free. A common term is that testing shows the presence of defects, not the absence of defects, which means that although some errors are found, they cannot all be found unless the software is written as a [[proof|Mathematics > Proofs]]. Testing should start as early as possible in the [[software development life cycle|Software Development Processes]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Software Testing'>> </div>
Some different types of ''code coverage'' are below: * ''Statement coverage'' or ''node coverage'' is the coverage of a test over statements in the code. * ''Branch coverage'' or ''edge coverage'' is where every conditional is evaluated as both true and false during testing. ** ''Loop coverage'' is where every loop must be executed 0, 1, and n times. ** ''Condition coverage'' is where all components of a compound conditional are covered * ''Path coverage'' is where all permutations of paths through the program are taken. This is the most thorough but is likely not feasible or possible. It sounds like in industry, 60% of edge coverage is considered good.
A ''control flow graph'' shows each statement in some code as a node. Then arrows are drawn for the different paths that the code can take.
''Software validation'' is the activity of checking for deviations between the observed behavior of a system and it's specification. It is asking the question: Are we building the right product?
''Software validation and verification'' or ''V&V'' is a continuous process where the goal is to consistently [[validate|Software Validation]] and [[verify|Software Verification]] that the software system in question conforms to it's [[specification|Software Specification]] and meets expectations of the customer. Software V&V is part of any [[software development process|Software Development Processes]] in some way or another. This is different than [[testing|Software Testing]] in that not only the code is paid attention to. The system and idea of the system is tested. The testing process is over viewed here: https://drive.google.com/open?id=0B5Qq4fe-ZajTUzc2OUVzaG5TYWM. Some V&V practices are: * [[Software testing|Software Testing]] * [[Inspections and reviews|Software Inspection or Review Types]] ''Static validation and verification'' consists of software inspections, and static analysis of source code. ''Dynamic validation and verification'' consists of defect testing, and load testing. Sources: * [[Testing Overview and Black-Box Testing Techniques pdf|https://drive.google.com/open?id=1C7HIo43cMXMEl8GHS3NhO4dA8XZ2R-2_]]
''Software verification'' asks the question: Are we building the product right? The process of evaluating a system or component to determine whether the products of a given development phase satisfy the starting conditions of that phase. Verification activities include [[testing|Software Testing]] and [[reviews|Software Inspection or Review Types]]. An example of this is making sure that two players cannot own the same house in a monopoly software game.
''Software Walk-throughs'' are a type of [[peer review|Peer Reviews]]. This is where the author walks through the work product, while explaining what was done and why before a group of peers. It doesn't do very well to help find defects, but it does require the least amount of time between the peer-reviews
The ''ZFS file system'' takes an innovative approach to solving the issues of [[RAID|Redundant Arrays of Independent Disks (RAID)]] inflexibility. It uses ''checksums'' to verify integrity of data. It also uses data structures called [[inodes|inode (Data Structures)]], and a way to store data in ''storage pools''. An image below shows a high-level difference: [img width=300 [https://i.imgur.com/D2BaMgH.png]]
''SSDs'' provide uniform memory access, so every piece of data stored on the drive can be accessed equally fast. See [[this website article|http://kcall.co.uk/ssd/index.html]] as an amazing guide to how reads, writes, structure, and file recovery works on an SSD.
Here is a [[link to the site|https://developer.apple.com/library/archive/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/Introduction/Introduction.html]]. These seem really great actually. This was mentioned as a good source in [[SER 321|SER 321]].
High level programming languages and the code written with them is considered ''source code''.
<div class="tc-table-of-contents"> <<toc-selective-expandable "Sources">> </div>
''Space Complexity'' measures the memory usage of an algorithm.
[[Spaghetti Programming]]
Programs that were written in programming languages before the emergence of[[ structured programming|Structured Programming]] concepts are considered ''spaghetti programming''. In more modern times, bad code is sometimes called ''spaghetti code''.
System specifications should be ''consistent''. In that they should not contain conflicting requirements that could be used to derive a contradiction. When specifications are not consistent, there would be no way to develop a system that satisfies all specifications. That is, not all of the requirements can be true no matter what proposition truth value combination you use. This can be done by setting up a truth table for the different propositions and testing to see if there is a path for all of the conditions to be true.
''Specification faults'' are a type of [[fault|Bug (Computer Science)]] where there is a mismatch between what the client needs and what the server offers. They could also be a mismatch between requirements and implementation.
This scheme starts with choosing a base color on the [[color wheel|Color Wheel]]. Then take the two colors adjacent to it's compliment. The three colors provide strong visual contrast in design but are more subtle than complimentary colors.
''SpotBugs'' which used to be called ''FindBugs'' is a static analysis tool for [[Java|Java]]. See also: * [[Main page for SpotBugs|https://spotbugs.github.io/]]
''SpotBugs for Gradle'' is a [[Gradle plugin|Gradle Plugins]] implementation of [[SpotBugs|SpotBugs (Static Java Analysis Tool)]]. Here is [[documentation on creating a filter file|http://findbugs.sourceforge.net/manual/filter.html#d0e2318]]. See also: * [[SpotBugs Gradle plugin documentation|https://spotbugs.readthedocs.io/en/latest/gradle.html]]
After a split of a single [[relation|Relational Data Model > Relations]] into two different relations to help save on space, and hopefully make better information separation, it should be expected that the same information can be generated after a natural join of the two tables. ''Spurious tuples'' are extra tuples that are generated after that natural join that weren't in the original table.
''SQL aggregate functions'' are based heavily on [[relational aggregate functions|Relational AGGREGATE FUNCTION Operation]]. Each aggregate function can be used followed by parenthesis containing the attribute name to perform the function on. The different aggregate functions in SQL are below: * `SUM(<attribute name>)` * `MAX(<attribute name>)` * `MIN(<attribute name>)` * `AVG(<attribute name>)` * `COUNT(<attribute name>)` using `COUNT(*)` will return the number of tuples in a table. Aggregate functions can be used on non-numeric domains if they have [[total ordering|SQL Total Ordering]] among each other.
The ''ALTER keyword'' can be used to alter a [[schema element|SQL Schema Elements]]. It follows this general structure: ``` ALTER <element type> <element name> <further alter commands> ``` * `<element type>` can be the following: ** `TABLE` ** `COLUMN` * `<further alter commands>` can be ** A further nested ALTER block ** A [[DROP command|SQL DROP Keyword]] ** `ADD <some element>`
''Anti-join operations'' are used for un-nesting [[NOT EXISTS|SQL EXISTS Keyword]], NOT IN, and [[ALL|SQL SELECT Keyword]] subqueries. Typically anti-join is used for [[query processing|DBMS SQL Query Processing]]. For two tables T1 and T2 along with their respective attributes to compare X, and Y, an anti-join is where a row of T1 is rejected as soon as X for that row is found to match some value of Y. A row of T1 is accepted as soon as a value of X is not found to match any value of Y. Notation for anti-join can be $$\overline{\ltimes}$$. Another notation is T1.x A= T2.y where `A=` is the notation for anti-join. See also: * [[SQL Nested Queries]] * [[SQL Semi-Join Operations]]
The ''AS keyword'' can be used to create an ''alias'', or ''tuple variable''. For example `FROM EMPLOYEE AS E, EMPLOYEE AS S`. These aliases can be used seemingly anywhere in a [[select-from-where block|SQL Select-From-Where Blocks]], and the scope seems to be local to the block. After AS is used for a table, the attribute names can be renamed as well. For example: `EMPLOYEE AS E(Fn, Mi, Ln, Ssn, Bd, Addr, Sex, Sal, Sssn, Dno)`. The scope of a nested alias is the most local block. So if there are two that have the same name, then the more local alias will take precedence.
''Attribute constraints'' are based on their associated [[database integrity constraints|Database Integrity Constraints]]. The [[CREATE TABLE command|SQL CREATE TABLE Command]] allows specification of attribute constraints. Multiple attribute constraints can be used by simply separating them by spaces. The attribute constraints that have notes are listed below: * `NOT NULL` so a value cannot be NULL. This is always implicitly specified for attributes that are part of the [[primary key|Database Uniqueness Constraint]] of each table. * `DEFAULT <some_value>` can be used to specify a default value for an attribute. This will be included in any new tuple if an explicit value is not provided. The default `DEFAULT` value is NULL for those attributes that do not have the `NOT NULL` constraint. * [[CHECK|SQL CHECK Constraint]]
The basic ''SQL attribute data types'' are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'SQL Attribute Data Types' sort[title]>> </div>
''Base tables'' are tables that are created and stored as a file by the [[DBMS|Database Management System (DBMS)]]. These can be created with the [[CREATE TABLE command|SQL CREATE TABLE Command]]. The attributes in base tables are considered to be ordered in the sequence they are specified by the CREATE TABLE command. Rows are not considered to be ordered within a table. See also: * [[SQL Virtual Tables]]
The ''bit-string data types'' are listed below: * Fixed length: `BIT(n)` where n is the length * Varying length: `BIT VARYING(n)` where n is the maximum length. * For a variable length bit-string, `BINARY LARGE OBJECT` or `BLOB` can be used. This is similar to [[CLOB|SQL Character-String Data Types]] in how the size is specified. For example `BLOB(1G)` for a 1 gigabyte size. BLOB can be used for things like images. The default value for n is 1. Literal bit-strings are indicated by single quotes, preceded by a `B`. For example: `B'101001'`.
The ''boolean data type'' can hold `TRUE`, `FALSE`, or `UNKNOWN`. A boolean can become unknown when something in the comparison is NULL. This implies that it could be true or false. The different logical connectives are laid out below: [img width=700 [https://i.imgur.com/n262tBc.png]]
''SQL/CLI'' was developed as a standardization of a popular library of functions called ''ODBC'' (''Open Database Connectivity''). This is a call level interface, not to be confused with [[command line interface|Command Line Interface (CLI)]]. When using SQL/CLI, the SQL statements are created dynamically and passed as string parameters in function calls. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'SQL Call Level Interface (SQL/CLI)'>> </div>
The ''CALL statement'' can be used to call a [[stored procedure|SQL Stored Procedures]] and follows this general format: ``` CALL <procedure or function name>(<argument list>); ```
The ''CASE construct'' is like a normal case statement in a programming language and can be used anywhere that a value is expected. For example: [img width=400 [https://i.imgur.com/b2YVa6S.png]] This seems to be getting a little too close to application level logic though and seems to start diverging from what SQL is used for.
A ''SQL catalog'' is a named collection of [[schemas|SQL Schemas]]. Every catalog contains a special schema which is the [[INFORMATION_SCHEMA|SQL INFORMATION_SCHEMA]]. [[Referential integrity constraints|Referential Integrity Constraint]] can only exist between schemas in the same catalog. The concept of a cluster of catalogs also exists in SQL.
The ''character-string data types'' are listed below: * Fixed length are `CHAR(n)`, `CHARACTER(n)` where `n` is the number of characters. When a fixed length attribute is provided a string that is shorter than its specified length, then the rest of the string is padded with blank characters. Its not clear yet what a blank character actually is. * Varying length are `VARCHAR(n)` or `CHAR VARYING(n)` or `CHARACTER VARYING(n)` where n is the maximum number of characters. * `CHARACTER LARGE OBJECT` or `CLOB` can be used for large text values such as documents. The maximum length can be specified in kilobytes `K`, megabytes `M`, or gigabytes `G`. For example `CLOB(20M)` will set the maximum length to 20 megabytes. When specifying a literal character-string in SQL, it needs to be put between single quotes.
''CHECK'' allows for conditional constraints to be specified for an [[attribute|SQL Attribute Data Types]], [[domain|SQL CREATE DOMAIN Command]], or [[table|SQL Tables]]. For example an attribute declaration might look like `Dnumber INT NOT NULL CHECK (Dnumber > 0 AND Dnumber < 21);`. This allows more specificity for the domain of an attribute. CHECK can also be used on a domain. For example: ```sql CREATE DOMAIN D_NUM AS INTEGER CHECK (D_NUM > 0 AND D_NUM < 21); ``` CHECK can be used on a table as a clause. When a check condition is applied this way, it is considered a [[row-based constraint|SQL Row-Based Constraints]]. For example: ``` CHECK (Dept_create_date <= Mgr_start_date); ```
''Clauses'' can be used in the [[CREATE TABLE command|SQL CREATE TABLE Command]] and in the [[select-from-where blocks|SQL Select-From-Where Blocks]]. <div class="tc-table-of-contents"> <<toc-selective-expandable 'SQL Clauses' sort[title]>> </div>
The different ''comparison operators'' in SQL are =, <, <=, >, >=, and <> for not equals. BETWEEN is another operator which can be used as follows: ``` (Salary BETWEEN 30000 AND 40000) ``` To test if something is null, the `IS` operator can be used. To test if something is not null, then the `IS NOT` operator can be used. Another way to compare each value in a table for a condition, is to use the `ANY` or `SOME` operator which mean the same thing, or the `ALL` operator. For example: ``` <attribute> > ALL <table> ``` Where the table can be the result of a [[select-from-where block|SQL Select-From-Where Blocks]].
The ''concatenation operator'' in SQL is indicated by double vertical lines: `||`. For example `'abc' || 'XYZ'` would result in `abcXYZ`.
''Condition statements'' are statements that return a boolean value once they are evaluated. This is just like relational algebra [[selection conditions|Relational Algebra Selection Conditions]]. When a condition uses values from two different tables, for example `Dnumber = Dno`, it is called a ''join condition''. If an attribute has the same name in two or more tables, then it can be referenced by using dot notation, just like [[relational attributes|Relational Data Model > Relations > Attributes]]. [[Pattern matching|SQL Pattern Matching]] can also be used in conditions.
The ''CONSTRAINT keyword'' can be used to specify the name of a of a [[constraint|SQL Attribute Constraints]] in a [[table|SQL Tables]]. For example: ``` CREATE TABLE DEPARTMENT ( ... CONSTRAINT DEPTPK PRIMARY KEY(Dnumber) ); ``` This can be useful when [[dropping|SQL DROP Keyword]] certain constraints at a later time, or changing them. Each constraint name must be unique in a particular [[schema|SQL Schemas]].
The ''CREATE ASSERTION command'' can be used to create an assertion that will be checked upon each update to the database. The [[DBMS|Database Management System (DBMS)]] is responsible for what happens when the assertion fails. The general format of `CREATE ASSERTION` is below: ``` CREATE ASSERTION <assertion name> CHECK <condition> ``` * [[SQL CHECK Constraint]] * `<condition>` is a [[condition statement|SQL Condition Statements]]. Here is an [[example of using a CREATE ASSERTION statement|$:/Image - CREATE ASSERTION example]]. CREATE ASSERTION should only be used when there is no other way to apply constraints on individual domains. That is for performance.
The ''CREATE DOMAIN command'' can be used to create a [[domain|Relational Domain]]. Once the domain is specified, it can be used like a [[data type|SQL Attribute Data Types]]. For example: ```sql CREATE DOMAIN SSN_TYPE AS CHAR(9); ``` Some implementations of SQL do not have domains, this includes [[MySQL|MySQL]]. See also: * [[SQL CREATE TYPE Command]]
The ''CREATE FUNCTION command'' can be used to create a [[stored procedure|Database Stored Procedures]] and has the following general format: ``` CREATE FUNCTION <function name> (<optional parameters>) RETURNS <return type> <optional local declarations> <function body>; ``` See also: * [[SQL CREATE PROCEDURE Command]]
The ''CREATE keyword'' can be used to create elements in SQL. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'SQL CREATE Keyword' sort[title]>> </div>
The ''CREATE PROCEDURE command'' can be used to create a [[stored procedure|Database Stored Procedures]] and has the following general format: ``` CREATE PROCEDURE <procedure name> (<optional parameters>) <optional local declarations> <procedure body>; ``` Another format can be used for specifying a file and language to be used: ``` CREATE PROCEDURE <procedure name>(<optional parameters>) LANGUAGE <programming language name> EXTERNAL NAME <file path>; ``` See also: * [[SQL CREATE FUNCTION Command]]
The ''CREATE SCHEMA command'' has the following general structure: ``` CREATE SCHEMA <schema name> AUTHORIZATION <authorization identifier>; ``` * `<authorization identifier>` can be a string such as `'Jsmith'` which will be the owner of the schema.
The ''CREATE TABLE command'' can be used to create a new [[base table|SQL Base Tables]]. First the attributes should be specified. For each attribute, a name is given, then the datatype, then optionally the [[attribute constraints|SQL Attribute Constraints]]. After the attributes, the [[clauses|SQL Clauses]] can be specified. CREATE TABLE seems to follow this general format: ``` CREATE TABLE <new_table_name> ( Attribute_name_1 <datatype> <optional_constraint>, Attribute_name_2 <datatype> <optional_constraint>, ... Attribute_name_n <datatype> <optional_constraint>, PRIMARY KEY (<attribute_name>), // Optional UNIQUE (<attribute_name>), // Optional ); ``` * `<new_table_name>` can be the name of the new table that is going to be created. The table will be attached to the schema that is currently being executed in (not sure how that works yet), or it can be specified explicitly with `<schema_name>.<new_table_name>`. * `<datatype>` is the [[attribute data type|SQL Attribute Data Types]]. Here is an [[example of making a few different CREATE TABLE commands|$:/Image - Using the CREATE TABLE command]]. `CREATE TABLE` can also be used with the [[LIKE operator|SQL LIKE Operator]] to create a table like another. For example `CREATE TABLE D5EMPS LIKE EMPLOYEE`. This can be followed with a [[select-from-where block|SQL Select-From-Where Blocks]], then `WITH DATA` to specify what should be added. Here is an [[example of that|$:/Image - Creating a table with LIKE and WITH DATA]].
Here is an [[example of using the CREATE TRIGGER command|$:/Image - Using CREATE TRIGGER]]. There is more information on this on page 258 of the book.
It seems that this will be gone over in chapter 12 of the book.
The ''CREATE VIEW command'' can be used to create a [[view|SQL Virtual Tables]] in SQL. It starts with the view name, an optional list of attribute names which will replace the attribute names in order of the resulting query and the query. The general structure is: ``` CREATE VIEW <view name>(<optional attribute names>) AS <select-from-where block> ``` * [[SQL Select-From-Where Blocks]] Queries can be executed on a view just like a normal table.
The ''DATE data type'' allows 10 characters in the format of `YYYY-MM-DD`. Operators can be used with dates. An earlier date is considered less than a later date. Literal DATEs can be specified with the [[standard format|SQL Standard Literal Data Type Format]]. See also: * [[SQL TIME Data Type]]
The ''DELETE command'' can be used to delete tuples from a table. It has the same `WHERE` clause as the [[select-from-where block|SQL Select-From-Where Blocks]] and uses the following structure: ``` DELETE FROM <table name> WHERE <conditions>; ``` If `WHERE` is left out, then it deletes all tuples in the table. The table will stay in the database though unless the [[DROP|SQL DROP Keyword]] TABLE command is used.
The ''DISTINCT keyword'' can be used to indicate that duplicates should be eliminated in the following set of comma-delimited attributes. DISTINCT can be used with the following SQL commands: * [[SQL SELECT Keyword]] * [[COUNT|SQL Aggregate Functions]]
The ''DROP keyword'' can be used to drop named [[schema elements|SQL Schema Elements]]. This can be done by specifying what kind of thing is going to be dropped. The general structure is as follows: ``` DROP <element type> <element name> <option> ``` * `<element type>` can be any of the following: ** `SCHEMA` ** `TABLE` ** `VIEW` ** `COLUMN` ** `CONSTRAINT` * `<option>` can be ** `CASCADE` which will remove the element along with all of it's associated elements. For example if a schema was deleted in this way, it would remove all of its associated domains, tables, and views. ** `RESTRICT` will only delete the element if there are no elements within it. If the table is referenced in any other element then it will not be dropped either.
The ''EXISTS keyword'' can be used in the WHERE part of a [[select-from-where block|SQL Select-From-Where Blocks]] and returns a boolean value if the following table is empty. If it is not empty it will return true.
The ''FOREIGN KEY clause'' can be used to specify a [[foreign key|Foreign Key]], and has the general structure outlined below: ``` FOREIGN KEY (<attribute_name>) REFERENCES <other_table_name>(<other_table_attribute_name>) <additional options> ``` Additional options can be added onto the end of a FOREIGN KEY clause to determine what will happen to the foreign key if the tuple + attribute it references gets deleted, or updated. They start with either `ON DELETE` or `ON UPDATE`, both can be used one after the other, and they can have the different options below: * `SET NULL` once an event occurs, this will set the foreign key in the table to NULL. * `CASCADE` once an event occurs, this will set the value of the foreign key to the referenced key if there was an update, or it will delete it if there was a deletion. * `SET DEFAULT` once an event occurs, this will set the foreign key to its own default value, not the one of the referenced key.
The ''GROUP BY clause'' can specify groups to apply [[aggregate functions|SQL Aggregate Functions]]. For example: ``` SELECT Dno, COUNT(*), AVG(Salary) FROM EMPLOYEE GROUP BY Dno; ``` Which says "for each department, retrieve the department number, number of employees, and their average salary". If NULLs exist in the grouping attribute, then they will be put in a separate group. When `GROUP BY` is used, then the ''HAVING clause'' can also be used. Which sets a restriction on the group that is specified. Here is an [[example of using the HAVING clause|Image - Using the HAVING clause in SQL]]. The HAVING clause is applied after the WHERE clause of course.
''Communication variables'' are used to communicate errors and exception conditions. They can be declared in a [[declare section|SQL in C Declare Sections]], and could look like the following: ``` int SQLCODE; char SQLSTATE [6]; ``` See also: * [[Embedded SQL SQLCODE and SQLSTATE]]
The ''CONNECT TO command'' can be used to connect to a database within an embedded SQL statement. Only one connection can be active at any time, although they can be switched. To establish a connection, the following form can be used: ``` EXEC SQL CONNECT TO <server name> AS <connection name> AUTHORIZATION <user account name and password>; ``` To switch connections: ``` EXEC SQL SET CONNECTION <connection name>; ``` To disconnect: ``` EXEC SQL DISCONNECT <connection name>; ```
The ''SQL in C data bindings'' are [[data bindings|Database Application Data Bindings]] for the implementation to the C programming language. They are listed below in the form of SQL -> C: * [[INTEGER|SQL Numeric Data Types]] -> [[long int|C/C++ Basic Data Types]] * [[SMALLINT|SQL Numeric Data Types]] -> [[short int|C/C++ Basic Data Types]] * [[REAL|SQL Numeric Data Types]] -> [[float|C/C++ Basic Data Types]] * [[DOUBLE|SQL Numeric Data Types]] -> [[double|C/C++ Basic Data Types]] * [[CHAR[i]|SQL Character-String Data Types]] -> char [i + 1] * [[VARCHAR[i]|SQL Character-String Data Types]] -> varchar [i+1] The character types are one character longer because in C each string is terminated with the [[null character|C/C++ Array based Strings]].
''Declare sections'' can be used to create [[shared variables|SQL in C Shared Variables]]. They have the following structure: ``` EXEC SQL BEGIN DECLARE SECTION; // variable declarations EXEC SQL END DECLARE SECTION; ``` Variable declarations done in this way have some syntactical differences, where they combine some of the features of C and some of the features of SQL. Some examples of variable declarations are below: ``` varchar dname [16], fname [16], lname [16], address [31]; char ssn [10], bdate [11]; int dno, dnumber; float salary, raise; ``` See also: * [[SQL in C Data Bindings]]
The ''PREPARE and EXECUTE commands'' can be used for [[dynamic SQL|Dynamic SQL]] implementations in C. `PREPARE` has the following structure: ``` EXEC SQL PREPARE <sql variable name> FROM <shared variable name>; ``` * [[Shared variables|SQL in C Shared Variables]] Then to execute it, the `sql variable name` is used. The structure is as follows: ``` EXEC SQL EXECUTE <sql variable name>; ``` Another way to do this is to do both at the same time: ``` EXEC SQL EXECUTE IMMEDIATE <shared variable name>; ```
Within an embedded SQL statement, C program variables that were declared in a [[declare section|SQL in C Declare Sections]] can be directly referred to, and are considered ''shared variables''. Shared variables start with a colon `:` when they appear in a SQL statement.
The ''IN operator'' can be used to specify an attribute, or set of attributes, within some table that can be used to match something. This is useful in a select-from-where block. For example: ``` WHERE (Pno, Hours) IN ( SELECT Pno, Hours FROM WORKS_ON WHERE Essn = '123456789' ); ``` IN can also be used to specify a set of values to match against. For example: ``` WHERE Pno IN (1, 3, 4, 5); ```
The ''INFORMATION_SCHEMA'' is a default schema in every [[catalog|SQL Catalogs]]. It contains information on all the schemas in the catalog and all the element descriptors of those schemas.
''SQL injection'' is a roughly easy [[vulnerability|Vulnerability]] to manipulate where you try to use a [[SQL statement|SQL Statements]] in some kind of input to see if the input is sanitized or not. If it isn't, boom, you have access to their database.
The ''INSERT command'' can be used to insert tuples into a table. Values should be listed in the same order in which they are specified in the table. The general structure is as follows: ``` INSERT INTO <table name> VALUES (<comma delimited values>); ``` If there are a lot of attributes in a table, and the values to be entered only cover a few, then the `INSERT INTO <table name>(<comma delimited attribute list>)` can be used. Attributes not specified are set to NULL or their default value. Multiple tuples can be inserted at once, by adding in more tuples surrounded by parenthesis and delimited by commas. The result of a [[select-from-where block|SQL Select-From-Where Blocks]] can also be put into a table by using the following structure: ``` INSERT INTO <table name> <select-from-where block>; ``` Keep in mind that when tuples are inserted like this, they can become out of date. [[SQL Views|SQL CREATE VIEW Command]] can be created to overcome this.
The ''INTERVAL data type'' can be used for relative values which can be used to increment or decrement an absolute value of a [[DATE|SQL DATE Data Type]], [[TIME|SQL TIME Data Type]], or [[TIMESTAMP|SQL TIMESTAMP Data Type]]. In the book it says that intervals are qualified to be either YEAR/MONTH or DAY/TIME. It doesn't seem clear quite yet what that means.
The ''JOIN keyword'' can be used to [[join|Relational JOIN Operation]] two tables. The `ON` keyword can be used with it to specify what attributes to join them with. For example: ``` EMPLOYEE JOIN DEPARTMENT ON Dno = Dnumber ``` `NATURAL` can precede any JOIN operation which is just like the [[relational natural join|Relational NATURAL JOIN Operation]]. Attributes can be renamed with the [[AS keyword|SQL AS Keyword]] before being joined so that they have the same name if wanted. ''OUTER JOIN'' can also be used preceded by a specifier such as `LEFT`, `RIGHT`, `FULL`. This matches the behavior of a [[relational outer join|Relational OUTER JOIN Operations]]. Here is an [[example of an outer join in SQL|$:/Image - OUTER JOIN with SQL]]. `CROSS JOIN` can be used to get the [[Cartesian product|Relational CARTESIAN PRODUCT Operation]].
The ''LIKE operator'' can be used to try and match something with pattern matching, or it can be used to emulate another element. For example: ``` WHERE Address LIKE '%Houston,TX%' // or CREATE TABLE NEW_TABLE_NAME LIKE EMPLOYEE ``` See also: * [[Image - Creating a table with LIKE and WITH DATA|$:/Image - Creating a table with LIKE and WITH DATA]]
Here is an [[example of a nested query|$:/Image - Nested Query]]. As little nesting as possible is preferred for SQL to promote performance and efficiency.
The ''numeric data types'' are listed below: * `INTEGER`, `INT`, `SMALLINT` Are for integer numbers * `FLOAT`, `REAL`, `DOUBLE PRECISION` are for floating-point numbers * Formatted numbers can also be declared by using `DECIMAL(i, j)`, `DEC(i, j)`, or `NUMERIC(i, j)` where i is the ''precision'', which is the total number of digits before the decimal point, and j is the ''scale'' which is the number of digits after the decimal point. The default scale is 0, and the default precision depends on the DBMS.
The ''ORDER BY command'' can be used in a [[select-from-where block|SQL Select-From-Where Blocks]], and allows the order of attributes to be specified. By default, a particular attribute is ordered by descending, that can be changed by proceeding it with ASC. To explicitly specify descending, DESC can be used. For example: ```sql ORDER BY D.Dname DESC, E.Lname ASC, E.Fname ASC ```
Strings can have ''pattern matching'' in SQL by using reserved characters. The `%` will be replaced by an arbitrary number of zero or more characters, and an underscore `_` replaces a single character. To escape characters, an escape character must be chosen for the string. Any character that isn't present in the string can be used. For example if the excape character of backslash is wanted then: ``` 'AB\_CD\%EF' ESCAPE '\' ``` To escape an apostrophe, two can be used: `''` See also: * [[SQL LIKE Operator]]
''SQL/PSM'' is the part of the [[SQL|Structured Query Language (SQL)]] standard that specifies how to write [[persistent stored modules|Database Stored Procedures]] in SQL. There are some standard looping conditions that can be done. There is more information on this on page 368 of [[this book|Book - Fundamentals of Database Systems 7th Ed]].
The ''PRIMARY KEY clause'' allows one or more attributes to be specified as the primary key of a table. It can be specified as either a clause, or if there is only one attribute for the primary key, it can be specified as a [[constraint|SQL Attribute Constraints]]. For example: ``` PRIMARY KEY (Ssn, Birthdate) // or Ssn INT PRIMARY KEY ```
''Queries'' in SQL are generally formed from [[select-from-where blocks|SQL Select-From-Where Blocks]].
''SQL query blocks'' are sections of [[SQL|Structured Query Language (SQL)]], although not necessarily statements that are ended by a semi-colon `;`. Query blocks are typically [[select-from-where blocks|SQL Select-From-Where Blocks]]. [[Nested queries|SQL Nested Queries]] are considered separate query blocks.
''Row-based constraints'' are those that apply to a row in a table and are checked whenever the row is inserted or modified. The [[CHECK constraint|SQL CHECK Constraint]] can be a row-based constraint.
''SQL schema elements'' include tables, types, constraints, views, domains and other constructs. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'SQL Schema Elements' sort[title]>> </div>
A ''SQL Schema'' is identified by a ''schema name'' and includes an authorization identifier to indicate the user or account who owns the schema, as well as descriptors for each [[schema element|SQL Schema Elements]] that it contains. A schema can be created via the [[CREATE SCHEMA command|SQL CREATE SCHEMA Command]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'SQL Schemas' sort[title]>> </div>
The ''SELECT keyword'' does not mean the same thing as the [[relational SELECT operation|Relational SELECT Operation]]. It is more like the [[PROJECT operation|Relational PROJECT Operation]]. [[DISTINCT|SQL DISTINCT Keyword]] can be added after the SELECT keyword to indicate that duplicates should be eliminated. `ALL` can also be added after `SELECT` to indicate that duplicates will not be deleted, although that is the default behavior of SELECT. The SELECT keyword can be used with arithmetic for attributes that have a numeric domain. For example `SELECT E.Fname, E.Lname, 1.1 * E.Salary AS Increased_sal`. See also: * [[SQL Select-From-Where Blocks]]
Some ''SELECT operation search methods'' are listed below. These can be useful as an [[internal sorting algorithm|External Sorting Algorithms]] for the [[query optimizer|DBMS Query Optimizer]]. For simple [[SELECT queries|SQL Select-From-Where Blocks]] with one matching condition: * S1: Linear search. This is brute force and just looks at each and every row in order. * S2: [[Binary search|Binary Search]] * S3a: Using a primary index. Not exactly sure what this means. * S3b: Using a [[hash key|Hashing]]. * S4: Using a primary key index to retrieve multiple records. Not sure what this means. * S5: Using a clustering index to retrieve multiple records. Not sure what this means * S6: Using a secondary (B+ -tree) index on an equality comparison. Not sure what this means either. * S7a: Using a bitmap index. Not sure what this means. * S7b: Using a functional index. Definitely don't know what this means. For SELECT queries with AND involved. In other words, [[conjunctive|Conjunction (AND)]] selection: * Using an individual index * Using a composite index * Intersection of record pointers For SELECT queries with OR, or [[disjunctive|Disjunction (OR)]] selection involved, the lectures in [[SER 322|SER 322]] says they are harder to process and optimize.
''Select-from-where blocks'' or ''mappings'' are generally formed as follows: ``` SELECT <attribute list> FROM <table list> WHERE <condition> // optional GROUP BY <grouping attributes> // optional HAVING <group condition> // optional ORDER BY <attribute list>; // optional ``` * `<attribute list>` is a list of attribute names whose values are to be retrieved by the query. An asterisk can be used to indicate all attributes in the table, or an asterisk can be prefixed by the table name to indicate all attributes in that table. See [[SELECT keyword|SQL SELECT Keyword]] and [[ORDER BY command|SQL ORDER BY Command]]. * `<table list>` is a list of the table names required to process the query. Table names can be made shorter by using the [[AS keyword|SQL AS Keyword]]. * `<condition>` is a [[condition statement|SQL Condition Statements]] that is tested on each tuple to determine which will be returned. A select-from-where block can be combined with set operations in SQL. Those include ''UNION'', ''EXCEPT'' or ''MINUS'', and ''INTERSECT'' where the two tables involved still need to be [[union compatible|Relational Union Compatibility]]. Here is an [[example of doing that|$:/Image - Using set operations in SQL]]. These will result in a set of tuples, so duplicates will be deleted. The keyword `ALL` can be added after any of the set operations to include duplicates such as `UNION ALL`. In a select-from-where block, the first thing that is done is the list of tables is retrieved. Then the tuples that fail the qualification are discarded, then the attributes are projected. At this point, if [[DISTINCT|SQL DISTINCT Keyword]] is set, then the duplicates are eliminated.
''Semi-join operations'' are generally used for un-[[nesting|SQL Nested Queries]] [[EXISTS|SQL EXISTS Keyword]], [[IN|SQL IN Operator]], and ANY subqueries. Typically semi-join is used for [[query processing|DBMS SQL Query Processing]]. In the example of a table T1, and a table T2, a semi-join is where a [[join operation|SQL JOIN Keyword]] occurs on some join condition, and when the first instance of a match occurs, that tuple is returned, and the tables are not processed further. The notation for semi-join is $$\ltimes$$. Some other syntax is T1.X S= T2.Y where `S=` is the semi-join operator, and X, and Y are the two attributes being compared between the tables.
It seems that there is a ''standard literal data type format'' which is the data type preceding a single quoted string with the value. For example `TIMESTAMP ‘2014-09-27 09:12:47.648302’`.
Each ''statement'' in SQL should end with a semicolon `;`.
''SQL stored procedures'' are based on the idea of [[database stored procedures|Database Stored Procedures]].
''Tables'' in SQL are based very heavily on [[relations|Relational Data Model > Relations]], with an important distinction that they are not [[sets|Set (Mathematics)]]. So two or more tuples can have the same values in SQL. SQL tables are considered a multi-set or bag of tuples. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'SQL Tables' sort[title]>> </div>
The ''TIME data type'' allows 8 characters in the format of `HH:MM:SS`. Optionally `TIME(i)` can be used where `i`, the time-fractional precision can be specified which specifies i + 1 additional positions for TIME, where the 1 is the additional `.`. A `TIME WITH TIME ZONE` option also exists which includes an additional six characters for specifying the displacement from the general military time zone. This should be in the range of `+13:00` to `-12:59` in units of hours then minutes of course. If `WITH TIME ZONE` is not used, it defaults to the local time zone of the SQL session. Operators can be used with times. An earlier time is considered less than a later time. Literal DATEs can be specified with the [[standard format|SQL Standard Literal Data Type Format]]. See also: [[SQL DATE Data Type]]
The ''TIMESTAMP'' data type includes [[DATE|SQL DATE Data Type]] and [[TIME|SQL TIME Data Type]] fields plus a minimum of 6 time-fractional precision. It also has an optional WITH TIME ZONE qualifier, as shown in the TIME tiddler. Literal TIMESTAMP values can be specified with the [[standard literal data type format|SQL Standard Literal Data Type Format]].
''Total ordering'' means that for any two values in a domain, one can be represented as before another in a defined order.
The ''UNIQUE clause'' can be used to specify [[candidate keys|Database Uniqueness Constraint]]. This can be used like a [[normal clause|SQL Clauses]] with `UNIQUE (Key1, Key2)` or as a constraint like so: ``` Dname VARCHAR(15) UNIQUE ```
The ''UNIQUE keyword'' can be used to determine if a table has no duplicates. It returns a boolean value and has the general structure of `UNIQUE (<table>)`.
The ''UPDATE command'' can be used to update tuples in a table. The WHERE clause is the same as in the [[select-from-where block|SQL Select-From-Where Blocks]]. The general structure is as follows: ``` UPDATE <table name> SET <attributes to set> WHERE <conditions>; ``` For example: ``` UPDATE EMPLOYEE SET Salary = Salary * 1.1, Pnumber = 10 WHERE Dno = 5; ``` The UPDATE command refers to a single table only. Multiple UPDATE commands are needed to update different tables.
''Virtual tables'' are ''views'' that are created with the [[CREATE VIEW command|SQL CREATE VIEW Command]]. Views seem based on [[database views|Database Views]]. Virtual tables may or may not correspond to an actual physical file. A view can be considered a set of the database that needs to be viewed frequently. The tables that compose the view are called the ''defining tables''. Views can be used as an authorization mechanism in that a view can be setup as a subsection of a table so a particular person can just see that subset and not the entire thing. This also makes it so the view can be restricted and not allow updates or inserts so the users that can see the view cannot do those things either. See also: * [[SQL Base Tables]]
The ''WITH clause'' can be used to specify a temporary table for a [[select-from-where block|SQL Select-From-Where Blocks]]. For example: [img width=400 [https://i.imgur.com/wmG4MME.png]] Once the query is executed, the table is discarded. `WITH RECURSIVE` can also be used. Information on that is on page 254 of the book.
''SQL Wrapping'' or ''SQL Mapping'' is a method of abstracting away the complexity of dealing with database connections, although allowing the use of [[SQL|Structured Query Language (SQL)]]. A popular provider of this is something called myBatis.
''SQL/CLI in C'' is a version of [[SQL/CLI|SQL Call Level Interface (SQL/CLI)]] that can be used with the [[C library|C/C++ Libraries]] `sqlcli.h`. Here is an [[example of using SQL/CLI in C.|$:/Image - Using SQL/CLI in C]] Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'SQL/CLI in C'>> </div>
''Handles'' are a [[pointer|C/C++ Pointers]] to a [[record|SQL/CLI in C]]. Handles are returned when a record is first created. Creating a handle follows this general format: ``` SQLAllocHandle(<record type>, <handle container>, <new handle name>) ``` * `<record type>` see [[records|SQL/CLI in C Records]] for the different types. * `<handle container>` is the handle in which the new handle is being created. For example, a connection record would be created within an environment record. This is `SQL_NULL_HANDLE` for [[environment records|SQL/CLI in C Records]].
''Records'' are instances of [[structs|C/C++ Structure Types]] that the sqlcli.h library uses to keep track of the information needed to run SQL commands. The different structs are listed below: * `SQLHENV` ''Environment record'' is used as a container to keep information on database connections. * `SQLHDBC` ''Connection records'' keep track of information needed to connect to a particular database. * `SQLHSTMT` ''Statement records'' keep track of information for one SQL statement. * `SQLHDESC` ''Description records'' keep track of information about tuples or parameters. * `SQLRETURN` can be used for return codes. A return code of 0 means a successful execution occurred. See also: * [[SQL/CLI in C Handles]]
The ''SQLBindParamter function'' has the following general structure: ``` SQLBindParamater(<statement handle name>, <parameter index>, <binding variable address>, <binding variable length>, <fetch length?>) ``` * `<statement handle name>` [[handles|SQL/CLI in C Handles]] * `<parameter index>` this is a 1-based value indicating the sequential position of the [[statement parameter|SQL/CLI in C Statement Strings]]. * `<binding variable address>` this is the address of the variable that holds the value that should replace the statement parameter. For example if the variable is `ssn`, then this parameter could hold `&ssn`. * `<binding variable length>` is the length of the variable? For example ssn would be `9`. * `<fetch length?>` its not clear what this is for. It seems to be an address of something.
The ''SQLPrepare function'' assigns a SQL [[statement string|SQL/CLI in C Statement Strings]] to a [[handle|SQL/CLI in C Handles]]. It follows this general format: ``` SQLPrepare(<statement handle name>, <statement string>, <statement length>) ``` * [[statement string|SQL/CLI in C Statement Strings]] * `<statement length>` should be the statement length in bytes, although if `SQL_NTS` is indicated which means null-terminated string, then it will automatically calculate the length.
''Statement strings'' can include `?` wherever a ''statement parameter'' should go. They are numbered from the first to the last in the series and bound by using the [[SQLBindParmater function|SQL/CLI in C SQLBindParameter Function]]. Here is an [[example of using statement parameters|$:/Image - Using SQL/CLI in C]].
''SQLite'' is a type of open-source database. It is [[relational|Relational Data Model]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'SQLite'>> </div>
''SQLJ Iterators'' are the same as [[cursors|Embedded SQL Cursor]], with a couple differences. There are two kinds of SQLJ iterators: * ''Named iterators'' are associated with a query result and are the normal kind of cursor. * ''Positional iterators'' iterate over only the attribute types that appear in a query result. The combination of these two types of iterators allows specific access to each variable. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'SQLJ Iterators'>> </div>
''Named iterator declaration'' follows this general format: ``` #sql iterator <iterator name>(<data type 1> <attribute name 1>, <data type 2> <attribute name 2>, ... , <data type n> <attribute name n>); ``` The `next` method of a named iterator object returns `NULL` when there are no more rows to read. Here is an [[example of using a named iterator|$:/Image - Example of using a SQLJ named iterator]].
''Positional iterator declaration'' follows this general format: ``` #sql iterator <iterator name>(<data type 1>, <data type 2>, ... , <data type n>); ``` The `endFetch` method of a positional iterator object is initially set to false when the object is created, it becomes true after each successful [[FETCH call|Embedded SQL FETCH Command]]. Here is an [[example of using a positional iterator|$:/Image - Example of using a positional iterator SQLJ]].
To ''setup SQLJ'', the following classes need to be imported first: ```java import java.sql.*; import java.io.*; import sqlj.runtime.*; import sqlj.runtime.ref.*; import oracle.slj.runtime.*; ``` Then the database needs to be connected to using the [[oracle.getConnection|Java oracle.getConnection Method]] method. For example: ```java DefaultContext cntxt = oracle.getConnection("<url name>", "<user name>", "<password>", true); DefaultContext.setDefaultContext(cntxt); ```
A ''stack'' is a collection of elements. They are [[linear data structures|Linear Data Structures]]. The primary operations are to push items onto a stack, and pop items away from the stack. This is considered a LIFO (last in, first out) structure. So the most recently placed item on the stack, will be removed first. A stack is used with the undo feature on a computer for example, the back feature in chrome, or when parameter variables are stored for nested methods. Stacks have three primary ways of getting and removing data, push, pop, and peek. The latter returns the top element of the stack without removing it. An example of creating and using a stack is in the note. The different operations are: * push - Adds an element to the top of the stack * pop - Removes an element from the top of the stack * peek * isEmpty * size See Also: * [[Example - Java Using a Stack]] * [[Example - C/C++ - Using a stack]]
A ''frame register'' or ''frame pointer'' keeps track of the bottom of the current [[stack frame|Program Runtime Stack]]. Here is an [[image of how the frame pointer would be represented|$:/Image - Frame Pointer example]]. Here is another [[example of how a frame pointer is saved|$:/Image - Frame pointer example 2]]. A frame pointer makes it easy to unroll a function by setting the [[stack register|Assembly Stack Register]] to the frame register. See also: * [[Assembly Stack Register]]
Infinite recursion happens when a method calls itself over and over again with no end. This will keep taking more and more memory until it runs out, and causes a ''stack overflow''. A stack overflow is when a program attempts to push a value onto an [[assembly stack|Assembly Stack Register]] that is already full. A stack overflow is relative though. It means that the stack will grow up until the point where it starts overwriting the program.
''Stamp coupling'' is a type of [[procedural programming coupling|Procedural Programming Coupling]]. Stamp coupling is where modules are passed the same data structure but only use part of it.
The ''standard deviation'' is a quantity that measures the degree of spread in a [[sample|Statistical Sample]]. To calculate the standard deviation the difference between the mean and each sample value is calculated. They are squared so that negative numbers are positive. It is customary to denote ''sample variance'' by $$s^2$$. The following is the calculation for standard deviation: $$ s^2 = \frac{\sum{(X_i - \overline{X})^2}}{n - 1} = \frac{\sum{X_i^2 - n\overline{X^2}}}{n - 1} $$ Where $$\overline{X}$$ is the mean, and $$n$$ is the number of values. The ''sample standard deviation'' is the square root of the sample variance.
This is a standard that has been learned over time and through different classes for software projects that requires a fully featured testing strategy. The flow can be changed as more is learned. The flow goes as follows: # [[Development Testing|Unit Testing]] # [[Integration Testing|Integration Testing]] # [[System Testing|System Testing]] # [[Acceptance Testing (Alpha Testing)|Acceptance Testing]] # [[Beta Testing|Beta Testing]] # [[Regression Testing|Regression Testing]] In [[agile processes|Agile Software Processes]], a more lean way of testing is needed. That can be the following: * Start with [[black box testing|Black Box Testing]] * Measure [[code coverage|Software Testing > Code Coverage]] * Use [[white box testing|White Box Testing]] to increase coverage.
show
hide
The ''state design pattern'' is used to alter the behavior of an object as it's internal state changes. This pattern allows for an object to change at run-time without changing the interface used to interact with it. This is normally done with wrapper objects, and the change is hidden to the outside world. This could be useful to change functionality without numerous if or switch statements. See below for an example UML diagram of how this might look: [img width=500 [https://i.imgur.com/zOducl1.png]] This seemingly just creates a [[state machine|Finite State Machine (FSM)]].
''Stateful'' means that the computer program keeps track of the state of interaction, so that might mean that the data in question is kept loaded into memory for future interactions. See also: [[Stateless (Computer Science)]]
''Stateless'' means that the data in consideration is not held in memory. So there is no history of previous interactions, and each interaction is based entirely on the information that comes with it. See also: * [[Stateful (Computer Science)]]
[[Propositional Variables]]
Sometimes a class defines methods that are not invoked with an object. Such a method is called a ''static method'' or a ''class method''. An example of this is the sqrt method in the Math class. Because primitive data types aren't objects, you can't invoke methods on them. So if x is a number, then the call x.sqrt() is not legal in Java. Therefore the Math class provides a static method that is invoked as Math.sqrt(x). No object of the math class is constructed. The Math qualifier simply tells the compiler where to find the sqrt method. An example of a static method is in the note. To call this method, supply the name of the class containing it: double tax = Financial.percentOf(taxRate, total); In object oriented programming, static methods are not very common. ``` public class Financial { /** Computes a percentage of an amount. ~@param percentage the percentage to apply ~@param amount the amount to which the percentage is applied ~@return the requested percentage of the amount */ public static double percentOf(double percentage, double amount) { return (percentage / 100) * amount; } } ```
A ''static nested class'' is a class that is declared within another, and doesn't interact with the outer class in any way. This is useful for name-hiding, or if you don't want to make another class file for that class.
''Static testing'' or ''static analysis'' is done at compile time. This includes static analysis of the code, [[reviews and inspections|Software Inspection or Review Types]], and automated tools that check for syntax and semantic errors as well as checks for departures from coding standards. Some different types of static testing are below: * Symbolic execution * Program proving * Anomaly analysis Some different forms of static analysis according to [[SER 316|SER 316]] are below as well, not sure how a "form" differs from a "type" though: * [[Formal verification|Formal Specifications]] * [[Model checking|Model Checking (Formally Defined Software)]] * Automated program analysis Static analysis software typically has three different levels of checking that are implemented: * Characteristic error checking: This is where the static analyzer can check for patterns in the code that are characteristic errors made by programmers using that particular language. * User defined error checking: The users of the static analyzer define error patterns to be detected. * Assertion checking: It sounds like this is where the static analyzer is set up to check for certain situations in the code that should hold true. But this sounds like [[unit testing|Unit Testing]] a bit. Here is a [[chart of the different things that static analysis can check for|$:/Image - Static Analysis Check Chart]]. Some tools for static analysis are below: * [[PMD|PMD (Static Analysis Tool)]] * [[ESLint|ESLint]] * Pylint * [[Checkstyle|Eclipse IDE Static Testing]] * [[SpotBugs|SpotBugs (Static Java Analysis Tool)]] Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Static Testing'>> </div> See also: * [[Dynamic Testing]]
Assume there are a series of $$n$$ [[Bernouli trials|Bernouli Trial]], each with the same success probability $$p$$. Assume further that the trials are independent of each other, so that the success of one does not influence the other. Then let the [[discrete random variable|Statistical Discrete Random Variable]] $$X$$ indicate the number of successes in these trials. Then $$X$$ is said to have a ''binomial distribution'' with parameters $$n$$ and $$p$$. The notation for this is $$X \sim \textrm{Bin}(n,p)$$. The [[probability mass function|Probability Mass Function]] of a binomial distribution can be calculated in a fairly straightforward way. The book seems to show this pretty well using the example of a biased coin where the probability of heads is $$0.6$$: [img width=400 [https://i.imgur.com/gEEXc4U.png]] then [img width=500 [https://i.imgur.com/eGWmvde.png]] which results in the following definition: [img width=500 [https://i.imgur.com/Z0gjpW7.png]]
''Conceptual populations'' are things like sets of measurements. They might be values obtained from a process under identical experimental conditions.
A ''continuous random variable'' is a [[random variable|Statistical Random Variable]] that represents some contiguous set of real numbers that don't need to be positive. A continuous random variable can also be defined as a random variable whose probabilities are represented by areas under a curve. That curve is called the [[probability density function|Probability Density Function (PDF)]]. Let $$a$$ and $$b$$ be any two numbers with $$a < b$$ then $$ P(a \leq X \leq b) = P(a \leq X \lt b) = P(a \lt X \leq b) = P(a \lt X \lt b) = \int^{b}_{a}f(x)dx $$ also $$ P(X \leq b) = P(X < b) = \int^{b}_{-\infty}f(x)dx $$$$ P(X \geq b) = P(X > b) = \int^{\infty}_{a}f(x)dx $$
A ''discrete random variable'' is a [[random variable|Statistical Random Variable]] that represents a contiguous set of integers up to the maximum value that the random variable can be. This can be all positive integers or all integers for example. It just means an ordered set of possible values where there are gaps between them.
''Factorial designs'' take into account multiple "factors" as well as the actual associated value. For example if durability of paint on a car is being measured, then additional factors are taken into account each time like if it is sunny, if rock salt is present, if it is wet/dry, and if it is cold/hot. It sounds like Minitab is the best program to use when doing these. It makes it much easier. This can be done with Stat -> Factorial -> Analyze Factorial Design. Then select the -1 and +1 values by adding them into the box. Choose the high/low values by clicking the button. Then click okay. Then choose 2 terms. Then go to graphs and select the normal graph. Then select okay, and okay.
There are two instances where error can occur in an [[statistical hypothesis test|Statistical Hypothesis Tests]]. * Type 1: That is where the null hypothesis is true, and we decide that it is not true. * Type 2: The opposite, is where the alternate hypothesis is true but we reject the alternate hypothesis.
The [[hypothesis test|Statistical Hypothesis Tests]] involves measuring the strength of the disagreement between $$H_0$$ and $$H_1$$ to produce a number between 0 and 1, which is called the ''P-value''. The smaller the P-value, the stronger the evidence is against $$H_0$$ and in support of $$H_1$$. The P-value can be calculated as follows for the different kinds of tests where $$Z_0$$ is defined in the [[statistical hypothesis test tiddler|Statistical Hypothesis Tests]]: * [[Two-sided hypothesis test|Statistical Hypothesis Tests > Two-Sided Test]]: $$ P = 2(1 - \textrm{Prob}(Z_0 \leq |Z_0|)) $$ In Excel this is `= 2 * (1 - NORMSDIST(ABS(Z0)))` * [[Lower one-sided hypothesis test|Statistical Hypothesis Tests > Lower One-Sided Test]]: `=NORMSDIST(Z0)` * [[Upper one-sided hypothesis test|Statistical Hypothesis Tests > Upper One-Sided Test]]: `=NORMSDIST(1 - Z0)` The P-value is a probability, but it is not the probability that $$H_0$$ is true. It can only point to the idea that by being under some specified value, it is more likely that $$H_0$$ is not true. Because of the [[central limit theorem|Central Limit Theorem]], if the sample size is greater than 30, then it can be assumed normal. Which means that the probability of the result can be computed for $$H_0$$. If this number is very small, then that would point to the idea that $$H_0$$ is incorrect. Some people use the "5% rule" so if the P-value is $$\leq 0.05$$ then $$H_0$$ is rejected. Keep in mind this has no scientific basis though. Note that by using the central limit theorem, the [[z-score|Statistical Normal Random Variable]] is used. So in this case, the z-score is called the ''test statistic''.
A ''hypothesis test'' starts with a [[population|Statistical Population]]. Then a [[sample|Statistical Sample]] is collected, preferably greater than 30 values due to the [[central limit theorem|Central Limit Theorem]], so that the values can be considered a [[normal random variable|Statistical Normal Random Variable]]. Then the average or $$\mu$$ of the sample can be taken. At that point, the hypothesis test determines if the average of the sample is a good reflection of the population's average, or just due to random variation. A hypothesis test takes into account two explanations: * [[Null hypothesis|Statistical Hypothesis Tests > Null Hypothesis]] * [[Alternate hypothesis|Statistical Hypothesis Tests > Alternate Hypothesis]] The null hypothesis and alternate hypothesis need to be chosen wisely to do a good test. For example if steel needs to have a breaking strength above a certain force such as 345 MPa, then the null hypothesis could then be that the steel being tested has $$\mu \leq 345$$. Then conversely, the alternate hypothesis would become $$\mu \gt 345$$. A good process for conducting a hypothesis test where the variance is known is as follows: # Define $$H_0$$ and $$H_1$$ # Compute $$\overline{X}$$ or the average of the sample # Compute $$Z_0$$ which is based on the [[z-score|Statistical Normal Random Variable]] and comes out to be $$ Z_0 = \frac{\overline{X} - \mu_0}{\sigma \sqrt{n}} $$ where $$n$$ is the number of values in the sample, $$\mu_0$$ is the average for $$H_0$$, and $$\sigma$$ is the [[standard deviation|Standard Deviation]]. # Compute the [[P-Value|Statistical Hypothesis Test P-Value]] or Find $$Z_{\alpha/2}$$. Alpha or $$\alpha$$ in this case is the minimum value for $$P$$ for which $$H_0$$ will not be thrown out. If $$Z_0 < Z_\alpha$$ then the null hypothesis cannot be rejected. A great representation of how these different values play a part is shown below: [img width=500 [https://i.imgur.com/w0UyqDn.png]] Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Statistical Hypothesis Tests'>> </div> See also: * [[Process - Doing a Hypothesis Test on the Mean with Variance Unknown]]
The ''alternate hypothesis'' says that the result indicated is real and an accurate representation of the whole population. This is denoted by $$H_1$$. This normally represents the desired result or the result that is being tested for. The should always be either $$\lt$$ which is a [[lower one-sided test|Statistical Hypothesis Tests > Lower One-Sided Test]], $$\gt$$ which is a [[greater one-sided test|Statistical Hypothesis Tests > Upper One-Sided Test]] or $$\neq$$ which is a [[two-sided test|Statistical Hypothesis Tests > Two-Sided Test]].
A ''lower one-sided test'' is where the [[null hypothesis|Statistical Hypothesis Tests > Null Hypothesis]] or $$H_0$$ says that the [[sample|Statistical Sample]] mean is equal to the basis mean or $$\mu_0$$ of the population, and the [[alternate hypothesis|Statistical Hypothesis Tests > Alternate Hypothesis]] is where the sample mean is less than the basis mean of the population. In math this is: $$ H_0: \mu = \mu_0 $$$$ H_1 : \mu < \mu_0 $$
The ''null hypothesis'' says that the result is only due to random variation. This is denoted by $$H_0$$. The null hypothesis cannot be changed by repeating the experiment. It represents a basis and is normally the negative of what the desired, or purpose of the hypothesis test result is. $$H_0$$ should always be compared with one of $$\leq, \geq, =$$
A ''two-sided test'' is where the [[null hypothesis|Statistical Hypothesis Tests > Null Hypothesis]] or $$H_0$$ says that the [[sample|Statistical Sample]] mean is equal to the basis mean or $$\mu_0$$ of the population, and the [[alternate hypothesis|Statistical Hypothesis Tests > Alternate Hypothesis]] is where the sample mean is not equal to the basis mean of the population. In math this is: $$ H_0: \mu = \mu_0 $$$$ H_1 : \mu \neq \mu_0 $$
A ''upper one-sided test'' is where the [[null hypothesis|Statistical Hypothesis Tests > Null Hypothesis]] or $$H_0$$ says that the [[sample|Statistical Sample]] mean is equal to the basis mean or $$\mu_0$$ of the population, and the [[alternate hypothesis|Statistical Hypothesis Tests > Alternate Hypothesis]] is where the sample mean is greater than the basis mean of the population. In math this is: $$ H_0: \mu = \mu_0 $$$$ H_1 : \mu > \mu_0 $$
The items in a [[sample|Statistical Sample]] are said to be ''independent'' if knowing the values of some of them does not help to predict the values of others.
''Statistical inference'' is the process of reasoning from data to a whole [[population|Statistical Population]]. This could use different visual tools such as a histogram, scatter plot, or box plot to help make decisions from data.
''Statistical Machine Learning'' uses large amounts of data to make a decision. Bayesian Inference or Bayesian Decision Theory p(smells like pumpkin | PSL) .8 <-- These are called Likelyhoods p(smells like pumpkin | PC) .5 <-- These are called Likelyhoods PSL is pumpkin spice late, PC is pumpkin Chai MLE is maximum likelyhood estimation. Which means picking the one with the highest likelyhood. These are called prior information and could correspond to how many the store has been selling P(PSL) = .2 P(PC) = .8 The end goal is as follows: P(PSL|Pumpkin) // The probability, that something is pumpkin spice, given it smells like pumpkin P(PC|Pumpkin) So we can get (a proof for this does exist) and this is called bayes rules P(PSL|pumpkin) = (P(pumpkin | PSL) * P(PSL)) / P(Pumpkin) posterior = (likelyhood * prior) / marginalized likelyhood P(c|x) = (p(x | c)*p(c))/P(x) P(Pumpkin) is the marginalized likelihood, and indicates how often something smells like pumpkin The final answers are the following and the results are called as a collection the MAP. Maximum A Posteriori P(PSL|Pumpkin) = .4 // The posterior for it to be a pumpkin spice is .4 P(PC|Pumpkin) = .6 Where they have to sum to 1. It smelling like pumpkin could be called a feature The training data could be where a whole bunch of lattes are smelled to see if they smell like pumpkin or not, and use that information to find a distribution from the mean, and standard deviation.
The ''median'' is the measure of center or the middle number. If the number of values is odd, the sample median is in the center. If the number of values is even, the sample median is the average of the two numbers in the center.
A ''normal random variable'' can be calculated by taking an item from a [[sample|Statistical Sample]], in this case $$x$$, subtracting the mean and dividing by the [[standard deviation|Standard Deviation]]. So: $$ z = \frac{x - \mu}{\sigma} $$ where $$z$$ is the standard unit equivalent of $$x$$ or in other words, a value of a ''standard normal random variable''. This is also sometimes called the ''z-score'' of x. That is, an item sampled from a normal population with mean 0 and standard deviation 1. The mean and variance of any standard normal random variable is 0 and 1 respectively. If a normal random variable is multiplied by a nonzero constant or has a constant added to it, the resulting random variable is also normal, which a resulting mean and constant determined by the original. Where $$N$$ is the [[normal distribution|Gaussian Distribution]], the equation is: $$ aX + b \sim N(a\mu + b, a^2\sigma^2) $$ If a random sample from any population is $$X_1, X_2, ... , X_n$$ with mean $$\mu$$ and variance $$\sigma^2$$ then the sample mean $$\overline{X}$$ is $$ \overline{X} \sim N(\mu, \frac{\sigma^2}{n}) $$ Let $$X$$ and $$Y$$ be two independent normal random variables, with $$X \sim N(\mu_X, \sigma^2_X)$$ and $$Y \sim N(\mu_Y, \sigma^2_Y)$$ then $$ X + Y \sim N(\mu_X + \mu_Y, \sigma^2_X + \sigma^2_Y) $$$$ X - Y \sim N(\mu_X - \mu_Y, \sigma^2_X + \sigma^2_Y) $$ <<_reveal "Examples" """ For example, to compute the equivalent of $$P(X \leq 5)$$ of a normal random variable $$X$$ where the mean $$\mu = 2$$ and variance $$\sigma^2 = 9$$ it would be $$ P(X \leq 5) = P(Z \leq \frac{5 - 2}{\sqrt{9}}) = P(Z \leq 1) $$ """>>
A ''population'' is the entire collection of objects or outcomes about which information is sought. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Statistical Population'>> </div>
''Quartiles'' are the numbers at the 3 different quarter way points in a sample. One way to get the quartile is to take the number of values $$n$$, and multiply it by 0.25. If that is an integer, then that is the first quartile. Otherwise it is the average between the two values on either side of that number.
A ''random variable'' assigns a numerical value to each outcome in a sample space. By convention random variables are shown by a capital letter such as X. The outcome is the value that an experiment takes. For example if there are 10 hard drives, and at any given moment some random number of them could be broken, then there is a random variable X indicting the number of bad hard drives. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Statistical Random Variable'>> </div> See also: * [[Probability Mass Function|Probability Mass Function]]
A ''sample'' is a subset of a [[population|Statistical Population]] containing the objects or outcomes that are actually observed.
A ''sample of convenience'' is a sample that is not drawn by a well-defined random method.
''Tangible populations'' are always finite, and are things like customers, concrete blocks, bolts in a shipment, etc.
''Statistical thinking'' is the ability to make decisions in the face of [[variability|Statistical Variability]].
''Variability'' is the tendency for a measurement to be variable between some closed set of values.
''Steganography'' is the practice of concealing a file, message, image, or video within another file, message, image, or video. This can be used to encrypt a payload before hiding it. It can also be used with digital watermarks to protect copyrights of digital content. The most popular type of carriers are digital audio and video files. A tool called S-Tool can hide payloads in `.wav` files. Another tool called MP3Stego and MP4Stego can hide files in those types. JPEG files are typically used with steganography with the JP Hide and Seek tool. The size of the covert message is usually smaller. The header information is also usually stripped. Another tool is GIF-It-Up. The downside of this is the low There are four methods from which notes are taken on here: * Injection - An easy way to do this is to use a program called camouflage. This is easy to be detected though. * Substitution - Replaces existing data with hidden content. Could degrade original file quality. This usually replaces "insignificant" data in the carrier. LSB encoding or Least significant bits encoding is a way to do substitution. * Generation of completely new files - Creates spam like messages that contain the hidden data. www.spammimic.com. * Covert channels - Uses TCP packets as carrier files. Covert-TCP (freeware). A quick overview of the different tools is below: * S-tools: gif, bmp, and wav * Gif-it-up: gif * JPHS: jpg * Camouflage: any carrier Steganalysis * Visual analysis * Statistical analysis - Detects changes in pixels or amplitudes or frequency. Some tools for detecting are: * Hash analysis (Just looking to see if the hashes are different between two identical files) * OutGuess * StegoSuite * StegoHunter - To detect known stego tools * StegoWatch - To detect suspicious files * StegoAnalyst - To examine suspicious files * StegoBreak - To try to break the password Scytale was used by ancient Greeks as a first way of steganography. See also: * [[Steganography wikipedia page|https://en.wikipedia.org/wiki/Steganography]]
Development of software by ''step-wise refinement design'' allows for documentation whenever large design changes are made. This issue with step-wise refinement is it is very hand-wavy, and when to write more documentation is very vague. Too big of steps, and the documentation will hide a lot of design decisions, too little, and there will be far too much documentation, wasting a lot of time and making the program even more unruly.
''Storage area networks'' or ''SANs'' are expected to use [[fibre channel|Fibre Channel (FC)]] going forward according to class. A SAN uses storage protocols instead of network protocols to communicate over a private network. Here is an [[example image of a SAN network|$:/Image - Example of a SAN network]]. Fibre channel is the most common interconnect in a SAN, although [[iSCSI|Network Attached Storage (NAS)]] is increasing in use. Another interconnect is InfiniBand.
The ''stored program concept'' or the ''von Neumann machine ''suggests that instructions and data are stored in computer memory as bits and it is the programmer's responsibility to interpret the meanings of the bits.
A ''storyboard'' consists of annotated sketches for each step in an action sequence.
The ''strategy design pattern'' is a type of [[behavioral pattern|Behavioral Design Patterns]] which is meant to define a family of algorithms, encapsulate each one, and make them interchangeable. This could be an employee pay type that is either hourly or salaried. Those two options would be held in a strategy class for those types. This is a good way to create re-usable code. Benefits: * Allows new algorithms to be easily added * Allows context to change strategy dynamically Here is a [[good UML overview of how the strategy design pattern looks|$:/Image - Strategy Design Pattern]]. An example is shown here: https://drive.google.com/open?id=1FCSbumI6410RexpZ-CwRCX_5SwnjFQSF. This is a little more confusing pattern and may need more notes.
''Stream sockets'' or ''TCP sockets'' are [[sockets|Sockets]] that seem to be specifically for [[TCP|Transmission Control Protocol (TCP)]]. Some aspects are below: * It is a session or [[connection|Networks > Connections]] based service * Guarantees that packets are sent without errors. Sent and received in sequence without duplication. * Unlimited data size in packets
''Stress Testing'' is testing conducted on a software system or component at or beyond the limits of it's specification.
[[Sequences|Sequence (Mathematics)]] of the form $$a_1 a_2 a_3 ... a_n$$ are called ''strings''. The length of a string is the number of terms in this string. The ''empty string'' is denoted by $$\lambda$$ and has length zero. The set $$\Sigma^*$$ of strings over the alphabet $$\Sigma$$ is defined recursively by: * Basis Step: $$\lambda \in \Sigma^*$$ where $$\lambda$$ is the empty string containing no symbols * Recursive step: If $$w \in \Sigma^*$$ and $$x \in \Sigma$$, then $$wx \in \Sigma^*$$
In a ''strongly typed programming language'': * Every name in a program must be associated with a single type that is known at compilation time * [[Name equivalence|Name Equivalence (Type Checking)]] is used * Every type inconsistency must be reported.
''Structural design patterns'' provide a manner to define relationships between classes or objects. Some different types are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Structural Design Patterns'>> </div>
The [[type checking|Type Checking (Programming Languages)]] policy of ''structural equivalence'' means that two types are equivalent if they have the same set of values and the same operations. This means that a variable could be created in C for example `typedef integer salary;` and then that salary variable can be combined or used with any other integer value. So all values that are inherently the same, but possibly masked as a different one, can be used together under structural equivalence. Algol 68, [[Pascal|Pascal Programming Language]], and [[C|C Programming Language]] are languages that use structural equivalence type checking.
''Structural induction'' is a way of [[proving|Mathematics > Proofs]] that all elements of a [[recursively defined set|Recursively Defined Set (Mathematics)]] have a certain property. Suppose the [[set|Set (Mathematics)]] $$S$$ is defined recursively as in the bullet about recursively defined sets. Suppose $$P(x)$$ is a statement for all $$x \in S$$. This can be thought of as proving that an entire population has a trait. * Basis Step: Show that $$P(x)$$ is true for all $$x \in G$$. In other words, show that the result holds for all elements that were defined in the basis step of the recursive definition. This checks that the initial population had the trait. * Recursive Step: Show that $$P(x) \to P(f_k(x))$$ is true for all $$x \in S$$ and all $$f_k$$. So assume some arbitrary $$x \in S$$ satisfies $$P(x)$$, then prove that $$P(f_k(x))$$. This checks that the trait is always transmitted to all direct descendants.
The information stored in [[relational databases|Relational Data Model]] is known as ''structured data'' because it has a strict format. See also: * [[Self-Describing Data]]
''Structured Evolutionary Prototyping Model'' is where a version of the system or part of it is developed quickly to show the customer before committing to changing design decisions. This supports change avoidance. A flow for prototyping is here: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5VzVYcnEwVGRPT1k/view?usp=sharing. Prototypes can be useful for the requirements engineering process for elicitation and validation of system requirements. Its also useful to explore software solutions and to support user interface design. But mangers may be tempted to deliver prototypes when delays occur in the final version of the software, so its good to advise them against this because of security, quality standards, lack of documentation, and possibly no plan for long-term maintenance. You can also make something called the "Wizard of Oz" prototype where you only make the user interface then users can interact with it, but another person physically sends the appropriate output back to the user.
''Structured programming'' is an old technique for organizing programs into modules where each module has a single entry and exit point. Control was passed downward through the structure without unconditional branches such as `GOTO` statements. Only three types of [[control structures|Control Structures]] were used: sequential, conditional branch, and iteration. Algol 60 was the first block-structured language released in 1960. Edsger Dijkstra is credited with the design of the first Algol 60 [[compiler|Compiler]] and abolishing the `GOTO` statement from programming.
''Structured Query Language'' or ''SQL'' is a [[DDL|Data Definition Language (DDL)]] based on [[relational calculus|Relational Calculus]]. SQL provides a higher level declarative language to interact with data, whereas relational calculus is more low-level. Originally SQL was SEQUEL which stood for structured English query language and was designed at IBM. SQL is divided into a core implementation and extensions. The core must be implemented by all [[DBMSs|Database Management System (DBMS)]] that are considered "SQL-compliant". Keywords in SQL are case-insensitive which is interesting. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Structured Query Language (SQL)' sort[title]>> </div>
''Stubs'' are modules that simulate components that aren't written yet. These could be just the method signature with a hard coded, but valid value to be returned. Stubs can be used to build out the real functions if it makes sense to do so.
The set A is a ''subset'', or subset equal of B if and only if every element of A is also an element of B. This is indicated by $$A \subseteq B$$. In other words $$\forall x (x \in A \to x \in B)$$. To show that $$A \nsubseteq B$$ then find a single $$x \in A$$ such that $$x \notin B$$. Every non-empty set S has at least two subsets: $$\emptyset \subseteq S$$ and $$S \subseteq S$$. The first subset equality is done by vacuous proof.
Type T1 is considered a ''subtype'' of type T2 if the set of data of T1 is a subset of data of T2, and the set of operations of T1 is a subset of operations of T2. An example of this is that the integer type can be considered a subtype of the floating-point type.
The ''sum of products form'' means that all variables are listed as some kind of product added to each other such as $$ab + cd' + xy'z$$ and not $$(x+y)a' + b'z$$
A ''superset'' is the opposite of a [[subset|Subset (Mathematics)]] and has the same logic. So $$B \supset A$$ or for superset equal $$B \supseteq A$$
The ''path element'' can be thought of as a continuous stroke. Such as putting a pen on paper and moving it with one fluid motion until it is finished. Paths can contain sub-paths, so they can have multiple continuous strokes. An example of a path element is below: ```xml <path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" /> ``` Which builds the github logo. [[Section 9.3.1 here|https://www.w3.org/TR/SVG/paths.html#PathDataGeneralInformation]] has a really good example on how a path can be built, and how it works. Here is the [[SVG documentation on Paths|https://www.w3.org/TR/SVG/paths.html#PathElement]].
''Swift'' is a [[programming language|Programming Languages]] developed by [[Apple|Apple]]. It seems that it is potentially based on [[Objective-C|Objective-C (Programming Language)]] and [[JavaScript|JavaScript]]. Code written in the global scope is used as the entry point for the program. So you don't need a `main()` function. This language also doesn't require semicolons at the end of each statement. Swift just has a [[compiler|Compiler]], so code written in Swift just needs to be compiled, then ran on the machine that it was compiled for. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Swift (Programming Language)'>> </div>
''Arrays'' in Swift can be written with brackets and act a lot like [[JSON|JavaScript Object Notation (JSON)]] arrays. To initialize an array you can write the array type in brackets followed by opening and closing parenthesis. For example: ``` let emptyArray = [String]() // or if you want to have the array infer the type let otherEmptyArray = [] ``` Some notable methods of arrays are below: * `append(<some variable>)` See also: * [[Dictionaries|Swift Dictionaries]]
''Attributes'' in Swift start with a `@` and can do some things! Lol. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Swift Attributes'>> </div>
The ''AVFoundation framework'' is a framework that allows working with audiovisual assets, control device cameras, process audio, and configure system audio interactions. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Swift AVFoundation Framework'>> </div>
The ''CFStreamCreatePairWithSocketToHost function'' can be used to create a connection to a socket on a host device. The declaration is below: ```swift func CFStreamCreatePairWithPeerSocketSignature(_ alloc: CFAllocator!, _ signature: UnsafePointer<CFSocketSignature>!, _ readStream: UnsafeMutablePointer<Unmanaged<CFReadStream>?>!, _ writeStream: UnsafeMutablePointer<Unmanaged<CFWriteStream>?>!) ``` * `readStream` is an [[Unmanaged object|Swift Standard Library > Unmanaged Generic Structure]]
''CFStreams'' seems to be the basis of a lot of different streams in Swift. It isn't necessarily a class, but rather a prefix to a bunch of functions and objects. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Swift CFStreams'>> </div>
It is suggested to use [[structures|Swift Structures]] by default in Swift. Use ''Swift classes'' when you need Objective-C interoperability, or when you need to control the identity of the data your modeling. Classes in Swift come with a built-in notion of identity because they're reference types. So classes are useful in situations like file handles, network connections, and shared hardware intermediaries like `CBCentralManager`. To write a class, use the `class` keyword before the class name. To create an instance of the class use parenthesis after the class name, for example `var shape = Shape()`. Use dot notation to access the properties and methods of a class instance. To inherit from another class you can use a colon after the class name then the name of the superclass. Note that [[multiple-inheritance|Multiple Inheritance]] is not possible in Swift. For example: ``` class Square: NamedShape { // Some implementation } ``` You can also use `super.init()` to use the superclasses constructor. Getters and setters can be made fairly easily in classes as well. When using `set` the unknown variable is implicitly the new value. This can be explicitly set by using a parenthesis after the `set` keyword. For example: ``` class EquilateralTriangle: NamedShape { // some code var perimeter: Double { get { return 3.0 * sideLength } set { sideLength = newValue / 3.0 } } // some code } ``` Classes are always passed by reference in Swift. While structures are copied. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Swift Classes'>> </div>
''Closure expressions'' are a type of [[closure|Swift Closures]] that are unnamed, written in a shorter syntax, and can capture values from their surrounding context. Closure expressions have the following general form: ``` { (<parameter1>, <parameter2>, ... , <parameterN>) -> <returnType> in <statements> } ``` * `parameter` can not have a default value. Tuples can be used as parameter types and return types. The type of both the parameters and the return value can normally be inferred because closure expressions are normally used as an argument to something else. This makes it so you can skip the parenthesis and the return arrow in that case. For example with a function that should return a boolean, and accept two strings, the following can be done: ``` {s1, s2 in return s1 > s2} ``` Single expression closures can omit the `return` keyword as well. For example: ``` {s1, s2 in s1 > s2} ``` Argument names can also be shortened by numbering them with a preceding cash sign. So the previous can be shortened further to ``` {$0 > $1} ``` Apparently you can get even shorter because of how a String defines the `>` method. That would be: ``` > ``` but that seems a little ridiculous lol.
A ''closure'' in Swift seems to be very similar to [[JavaScript anonymous functions|JavaScript Anonymous Functions]]. Closures capture values around them. This means that when they are created, they can use the values that are declared outside of their scope, no matter where they are called later on. This can be incredibly useful in the case of a UI, where the variables for UI components are declared around where a closure might be created, then it can be sent off into another thread to be called elsewhere, and still have a valid reference to the UI components. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Swift Closures'>> </div>
''Constants'' in Swift are written starting with `let`.
''Constructors'' in Swift can be written by using `init` then the function parameters. For example: ``` class NamedShape { var name: String init(name: String) { self.name = name } } ``` See also: * [[Swift Destructors]]
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Swift Core Location Framework'>> </div>
The ''defer keyword'' can be used inside a function to specify that the code inside of its block should be executed after all other code, just before the function returns. The code is executed even if there is an error. For example: ``` var fridgeIsOpen = false let fridgeContent = ["milk", "eggs", "leftovers"] func fridgeContains(_ food: String) -> Bool { frideIsOpen = true defer { fridgeIsOpen = false } let result = fridgeContent.contains(food) return result } ```
''Destructors'' or ''deinitializers'' in Swift are written to tear down an instance. The keyword `deinit` can be used before the function parameters to define that as the deinitializer. See also: * [[Swift Constructors]]
''Dictionaries'' in Swift can be written much like a [[JSON|JavaScript Object Notation (JSON)]] object. Although they can include commas at the end of the last element and they are specified with brackets. For example: ``` var occupations = [ "Malcolm": "Captain", "Kaylee": "Mechanic", ] ``` They can be accessed and edited with bracket notation as well. An empty dictionary can be intialized by using the data type of the key followed by the data type of the element within brackets, then opening and closing parenthesis. For example: ``` let emptyDictionary = [String: Float]() // or if you want the dictionary to infer types let otherEmptyDictionary = [:] ```
See also: * Page 33 of "The Swift Programming Language"
''Enumerations'' can be written in Swift with the `enum` keyword. Enumerations can have methods assigned to them as well. It seems that the type of the enum is specified after the name. This is the raw type which is accessed with `.rawValue` when using the a variable of the enum's type. Specifying the possible values of the enum is done using the `case` keyword, followed by the desired names of the enumerations. Optionally an enumeration can be assigned a value, which will be used as the starting point for further numbering. This is done with `ace` in the below example. By default, raw values start at 0 and increment by 1 each time. Raw values of an enum can be thought of as stored values, because they can change between instances of the enumeration. ``` enum Rank: int { case ace = 1 case two, three, four, five, six, seven, eight, nine, ten case jack, queen, king func simpleDescription() -> String { switch self { case .ace: return "ace" case .jack: return "jack" case .queen: return "queen" case .king: return "king" case .ace: return String(self.rawValue) } } } ``` The type is not required for an enumeration.
''Error handling'' in Swift can be done a few different ways. Use the [[Error protocol|Swift Error Protocol]] to create your own errors. Use `throw` to throw a new error. Use `throws` to designate that a function can throw an error. Use [[do-catch blocks|Swift do-catch Blocks]] to test for errors. Use `try?` to try a statement where the returned value will be the successful value or if an error is thrown, it will return `nil`.
The ''Erorr protocol'' is a [[Swift protocol|Swift Protocols]] that can be used to represent errors. For example to make a new error: ``` enum PrinterError: Error { case outOfPaper case noToner case onFire } ``` Use `throw` to throw an error and `throws` to mark a function that can throw an error.
''Escaping closures'' are [[closures|Swift Closures]] that can be used to pass as argument to another function which will be calling it sometime later after the original function returns. Because closures and [[functions|Swift Functions]] are reference types, they normally use the variables that were declared around them at compile time. Escaping closures need to use the reference `self` when referring to a variable that is in their context. For example if a function is declared within a class, it needs to use `self` to use the variables of that class instance when it is an escaping closure. The attribute `@escaping` can be used before the parameters type to indicate that a closure will be escamping.
The ''extension keyword'' can be used in Swift to add functionality to an existing type such as new methods and computed properties. You can add [[protocol|Swift Protocols]] conformance to a type that is declared elsewhere or even a type that is imported from a library. For example to extend the `Int` type: ``` extension Int: ExampleProtocol { var simpleDescription: String { return "The number \(self)" } mutating func adjust() { self += 42 } } print(7.simpleDescription) // Prints "The number 7" ```
''for in loops'' can be written in Swift much the same as other languages. A small difference is that dictionaries need to have a variable declared for the key and the value of each entry if it is a [[dictionary|Swift Dictionaries]]. For example: ``` for (kind, numbers) in interestingNumbers { // Do something } ``` * `(kind, numbers)` can be replaced with a wildcard `_` if the iteration of the loop does not matter. Otherwise if it was an array then it could be just one variable for the iterated variable.
The ''UserDefaults class'' can be used to configure and access an app's settings. See the [[app settings tiddler|iOS App Development > App Settings]] for more information in general on how this process works. `UserDefaults` is part of the [[Foundation framework|Swift Foundation Framework]]. See also: * [[Apple documentation on the UserDefaults class|https://developer.apple.com/documentation/foundation/userdefaults]]
The ''Foundation framework'' or ''Core Foundation framework'' seems to provide a lot of basic data types and other things for [[Swift|Swift (Programming Language)]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Swift Foundation Framework'>> </div>
''Functions'' in Swift have an interesting format. Use the `func` keyword to declare one and write the return type after the parameters. For example: ``` func greet(person: String, day: String) -> String { return "Hello \(person), today is \(day)." } ``` Caling functions seems to require specifying the parameter name before the argument if it was specified in the function definition. For example: ``` greet(person: "Bob", day: "Tuesday") ``` To define a function to have a custom argument label, you can specify that before the actual label or you can use `_` to specify that no label should be used. For example: ``` func greet(_ person: String, on day: String) -> String { return "Hello \(person), today is \(day)." } greet("John", on: "Wednesday") ``` Tuples can also be used as return values for functions. For example: ``` func calculateStatitstics(scores: [Int]) -> (min: Int, max: Int, sum: Int) { // Does some calculations return (min, max, sum) } let statistics = calculateStatistics(scores: [5, 3, 100, 3, 9]) print (statistics.sum) // prints "120" print(statistics.2) // Prints "120" ``` There are also [[nested functions|Swift Nested Functions]] which act a bit differently that normal functions. Functions are a first-class type. So they can be returned as a value. Functions seem to be referenced in documenation with colons and the argument names, no types. For example with a function that has two arguments `_ someValue` and `someNamedValue` it would be documented as `functionName(_:someNamedValue:)`. The parameters in [[closures|Swift Closures]] and functions are always constants. Closures and functions are reference types.
''Generics'' can be written in Swift by writing the type between two angle brackets. For example: `func makeArray<Item>` will allow the use of `Item` within the function as the type. See also: * Page 36 "The Swift Programming Language"
An ''implicitly unwrapped optional'' is an [[optional|Swift Optional Values]] that can also be used like a nonoptional value. This means that it can be assumed to always have a value after that value is initially set. These can be written by using an exclamation point following the type. For example: `var nameTextField: UIView!` How the hell is this useful or different from a variable?
In Swift you can use ''indicies range generation'' to generate a range of values. This can be done with the number followed by `..<` then the final number (non-inclusive). This is helpful for for-loops. For example: ``` var total = 0 for i in 0..<4 { total += i } print(total) // Prints "6" ``` To make a range that includes the upper value, use `...` instead of `..<`.
The ''mutating keyword'' can be used before a function in a [[struct|Swift Structures]] or [[protocol|Swift Protocols]] that will potentially mutate the members of the structure. `mutating` should be used in protocols where a mutation will occur if they are going to be implemented in a struct at any point.
''Nested functions'' are [[functions|Swift Functions]] that can capture outside variables that are within its context when they are created. Nested functions seem to be a type of [[closure|Swift Closures]] as well because they are normally returned from a function as the result.
The ''NotificationCenter class'' can be used as a dispatch mechanism that enables the broadcast of information to registered observers. Some key methods are below: * [[addObserver|Swift NotificationCenter.addObserver Method]] See also: * [[Apple documentation on the NotificationCenter class|https://developer.apple.com/documentation/foundation/notificationcenter]]
The ''addObserver method'' is an instance method of the [[NotificationCenter class|Swift NotificationCenter Class]]. The declaration is below: ```swift func addObserver(_ observer: Any, selector aSelector: Selector, name aName: NSNotification.Name?, object anObject: Any?) ``` * `observer` is the object registering an observer. It seems that this can be `self` most of the time. An example of using this method is below: ```swift notificationCenter.addObserver(self, selector: #selector(adjustForKeyboard), name: UIResponder.keyboardWillChangeFrameNotification, object: nil) ```
The ''NS prefix'' on some classes like [[NSArray|Swift NSArray Class]] stands for NeXTSTEP or something like that. It is a really old hark back to Apples days in the 90s.
The ''NSArray class'' can be used in instances where you want a reference to a specific array in your code. It works just like an [[array|Swift Arrays]], but it is an object. See also: * [[Apple NSArray class documentation|https://developer.apple.com/documentation/foundation/nsarray]]
The ''NSManaged attribute'', when used with an [[NSManagedObject|iOS Core Data > NSManagedObject Class]] subclass, will dynamically generate accessor methods and relationship accessor methods for properties. See [[this example|$:/Example - Swift - Creating custom properties for an NSEntityDescription class]] for how the attribute might be used.
The ''NSObject class'' is the root class of most Objective-C class hierarchies where subclasses gain the ability to behave as Objective-C objects.
''Opaque types'' in Swift can be used to return [[protocol types|Swift Protocols]] from a function. To do this, you can use the ''some keyword'' to define that some type that implements a protocol will be used as the return type. For example to return some type that uses the protocol `Shape`: ``` func makeTrapezoid() -> some Shape { // some code } ```
''Optional values'' in Swift make it so you can use a variable and if it has a value, one action can be taken, while if it doesn't, another can be taken. An optional value will evaluate to `nil` if it does not contain a value. An optional value can be declared with a question mark following the [[type|Swift Types]]. For example: ``` let nickName: String? = "someone" let fullName: String = "John Appleseed" ``` An optional value can have a default value used in case it does evaluate to `nil`. This can be done with two question marks following the use of the optional value, then the default value. For example: ``` let informalGreeting = "Hi \(nickName ?? fullName)" ``` Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Swift Optional Values'>> </div>
''Protocols'' in Swift seem like [[interfaces in Java|Java Interfaces]]. They can be written starting with the `protocol` keyword. For example: ``` protocol ExampleProtocol { var simpleDescription: String { get } mutating func adjust() } ``` See the [[mutating keyword|Swift mutating Keyword]] for details on that. Classes and structures can implement a protocol by using a colon `:` and the protocol to implement. For example: ``` class SimpleClass: ExampleProtocol { ... } // or struct SimpleStructure: ExampleProtocol { ... } ``` To return a value that is a protocol, an [[opaque type|Swift Opaque Types]] needs to be returned.
The ''Standard library'' for [[Swift|Swift (Programming Language)]] contains things like the basic data-types for the language. Some examples of these data types are below: * `struct Int` * `struct Double` * `struct Array` * `struct Dictionary` which seems to be a lot like a [[JSON|JavaScript Object Notation (JSON)]] object. Some other things in the Standard Library are as follows: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Swift Standard Library'>> </div>
An ''Unmanaged generic structure'' is a type for propagating an unmanaged object reference. This seems to primarily be used when referring to exclusive resources on the machine. For example [[sockets|Sockets]]. When you use this type, you become partially responsible for keeping the object alive. This means that it needs to stay alive in order to be released. Some notable methods of this type are below: * `func release()` Performs an unbalanced release of the object, not really sure what that means.
''Strings'' in Swift can be created in a few different ways. It mostly seems standard, but one fancy way of building a string is to add values with `\(<variableName>)`. For example: ``` let apples = 3 let appleSummary = "I have \(apples) apples." ``` You can also use 3 double quotes to make a string that takes up multiple lines. For example: ``` let quotation = """ Some multi-line block of text. """ ```
''Structures'' in [[Swift|Swift (Programming Language)]] seem a lot like [[C Structures|C/C++ Structure Types]]. It is suggested to use structures by defaut vs [[classes in Swift|Swift Classes]]. Structures in Swift can do more than other languages mostly. They can hold methods, instance variables, and other things. So it is a good default. You can use `struct` to create a structure. Note that structures are always copied, while classes are passed by reference. Writing a structure may look like the following: ``` struct Card { let myID: Int var rank: Rank var suit: Suit func simpleDescription() -> String { return "The \(rank.simpleDescription()) of \(suit.simpleDescription())" ] var reccomendedPenPalID: Int } ``` This structure can be used like so: ``` let threeOfSpades = Card(rank: .three, suit: .spades) let threeOfSpadesDescription = threeOfSpades.simpleDescription() ```
''Switch statements'' can be done in Swift mostly like other languages. The primary difference is that `break` is not needed after each case. For example: ``` let vegetable = "red pepper" switch vegetable { case "celery": print("Add some raisins and make ants on a log") case "cucumber", "watercress": print("That would make a good tea sandwich.") case let x where x.hasSuffix("pepper"): print("Is it a spicy \(x)?") default: print("Everything tastes good in soup.") } ```
''Trailing closures'' are [[closures|Swift Closures]] that are provided to a function where the functions only argument is a closure. For example a function like: ```swift func someFunction(closure: () -> String) ``` can be called by writing the function name, then just the function you want to provide. For example: ```swift someFunction() { return "This is a return value" } ``` In the previous case, the parenthesis are not actually required. You can also use argument indicators like in [[closure expressions|Swift Closure Expressions]] such as `$0`, `$1`, etc. If a function does have arguments for the closure it needs, then those are provided within the closure. For example: ```swift numbers.map { (number) -> String in return number + "3" } ```
''Types'' in Swift can be written after the [[variable|Swift Variables]] or [[constant|Swift Constants]] name if wanted. For example: ``` let explicitDouble: Double = 70 ``` Values are never implicitly converted to another type. This seems to be the nice part over JavaScript. If you need to convert a value to a different type, explicitly make an instance of the desired type. For example: ``` let label = "The width is " let width = 94 let widthLabel = label + String(width) ```
''Variables'' in Swfit are written starting with `var`.
A ''switch'' has 3 parts, the source input, output, and the control input. The source input has a higher voltage than the output, so current tries to flow from the source input through the switch to the output. The purpose of the switch is the block that flow when it is "off" and to allow it to pass when it is "on". In a light switch, the switch physically separates the source input from the output.
The ''switch statement'' is a shortcut for else if when you are testing the same value. Each case must be followed by a break; statement. An example is in the note. If you miss a break statement the execution falls through to the next statement after one statement is satisfied, executing every statement there-after regardless of whether or not it matches the case until it hits a break. Most programmers consider the switch statement to be dangerous and prefer the else if statement in Java. The digit value in the example can be either a byte, short, char, String, int, or any enumeration type, as well as the wrapper classes Byte, Short, Character, and Integer. ```java int digit = . . .; switch (digit) { case 1: digitName = "one"; break; case 2: digitName = "two"; break; case 3: digitName = "three"; break; case 4: digitName = "four"; break; case 5: digitName = "five"; break; case 6: digitName = "six"; break; case 7: digitName = "seven"; break; case 8: digitName = "eight"; break; case 9: digitName = "nine"; break; default: digitName = ""; break; } ```
A ''symbol table'' is created during the [[compilation process|Compilation]] as part of the [[object code|Object Code]]. The symbol table contains information about methods/functions, and global, and local variables. It is essentially a summary of all function's names and variables used in the program.
''Symmetric Multiprocessing'' or ''SMP'' is where each processor is self-scheduling. All processors might have a single ready queue, or each processor might have its own ready queue. The same concerns as [[process synchronization|Operating System Process Synchronization]] come into play with the first type. Virtually all modern operating systems use SMP, including [[Windows|Microsoft Windows]], [[Linux|Linux]], and [[Mac OS X|Mac OSX]]. Here is an [[example image of this kind of architecture|$:/Image - Example of symmetric multiprocessing architecture]].
''Synchronous'' means that tasks are connected or dependent on the completion of one or the other. For example, a synchronous process will wait for one task to complete before starting on another, regardless of how many threads are involved. See also: * [[Asynchronous]]
A circuit whose storage elements can only change when a clock signal is active is known as a ''synchronous circuit''. (It's implied that it is sequential, because it depends on the past actions of the circuit).
''Syntax rules'' or the ''syntactic structure'' of a language defines how we can put together the [[lexical structures|Lexical Structure]] of a language to make valid statements, or [[control structures|Control Structures]]. Syntactic structure is the 2nd part of the [[structural layers of a programming language|Programming Language Structural Layers]]. Some syntactic rules are below: * Assignments: An assignment statement assigns a [[literal |Literals (Programming Languages)]] value or an [[expression|Expression (Computer Science)]] to a variable. This does not include checking the type, which is semantic. * Conditional statements: These are like normal conditionals. Typical conditional statements are if-then, if-then-else, and [[switch|Switch Statement (Java)]]. * Loop statements: Typical loop statements are for-loop and the while-loop. * Opening and closing brackets, and parenthesis. Usually a ''parser'' handles combining tokens or lexical structures into the syntactic structures of a language. A program that is syntactically correct, is not necessarily [[semantically |Semantics]]correct. See also: * [[Example - C/C++ - Syntactic Errors]] * [[Syntax Graph]]
''Syntactically awesome stylesheets'' or ''SASS'' is different than CSS because it uses [[variables|SASS Variables]]. SASS files end with `.scss`. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Syntactically Awesome Stylesheets (SASS)' sort[title]>> </div>
A ''Syntax graph'' or as it is is more commonly known: ''Railroad tracks'' makes viewing [[BNF notation|Backus-Naur Form (BNF)]] a little easier. An example of the notation is in the note. The paths of a syntax graph can be followed to find out if a corresponding statement is valid [[syntactically|Syntactic Structure]]. The same syntax rules from BNF pertain to syntax graphs. The different shapes are below: * An oval is a [[lexical element|Lexical Units]]. * Boxes represent rules The if-else construct does not have a loop, while the switch construct does have a loop in the syntax graph of those constructs. See also: * [[Example - Syntax graph for English Language]] * [[Example - Syntax graph for different data structures]]
Lets say there is a function that is running in a program, and it makes some calls to a library. That would be a library call. If the program wants to get some functionality from the operating system, then it makes a ''system call''. Here is a [[rough image of how that looks in a diagram|$:/Image - System calls]] and an [[image of how system calls play into the grand scheme of the operating system|$:/Image - Operating system services]]. System calls are done in [[kernel space|Kernel (Operating Systems)]], and can be conducted by any program/library. This means that they require a high level of privilege and conduct a low-level subroutine so the OS alone offers the service. A good candidate for a system call is something that is dangerous, such as stopping another program, something that interacts with low-level hardware, or something that deals with files. Some examples of system calls are below: * Opening a file * Reading from the keyboard, reading from the screen Typically the OS will provide [[APIs|Application Programming Interface (API)]] for the system calls, instead of allowing them to be done directly. The fact that an API is used, allows the API to stay the same, even if the operating system gets updates / changes completely. Such as Windows 8 -> Windows 10. These APIs are called ''system call interfaces''. The system call interface allows the code for the system call to be held in kernel space, where the OS is the only entity that knows how to handle errors, or how to execute the function at all. Here is an [[example image of how run-time execution of a system call might work|$:/Image - Example of run time execution of system call]]. These make use of a run-time support library. There are several different types of system calls. A few of them are below: * [[Process control|Process Control System Calls]] * [[File management|File Management System Calls]] * [[Device management|Device Management System Calls]] * ''Information maintenance system calls'' - There aren't really any notes on this. * [[Communications|Communications System Calls]] * ''Protections system calls'' - Protection system calls consist of things like restricting rights to a file, or application.
''System forensics'' focuses primarily on [[data at rest|Data at Rest]]. It is a subset of [[digital forensics|Digital Forensics]]. System forensics covers entire systems like Linux, Windows, etc.
The ''memory model'' for some given computer system is broken down in the following image: [img width=700 [https://i.imgur.com/cJa60rT.png]] where the [[registers|Register]] are inside the [[CPU|Central Processing Unit (CPU)]], and separate from the memory. A CPU can indicate to the memory module with the registers, which memory module it wants to access. Depending on the instruction being executed by the CPU, data can flow from register to the memory, or from the memory to the register.
''System resource-allocation graphs'' are directed graphs that consists of a set of two different nodes, process and resource nodes. A directed edge from a process to a resource type instance signifies that the process has requested an instance of that resource, and is currently waiting for it. The directed edge from a process to a resource is called a ''request edge'', one from a resource to a process is called an ''assignment edge''. When a request edge can be fulfilled, it is instantaneously turned into an assignment edge, until it is no longer needed, in which case it is deleted. Each resource type is shown as a rectangle, and each process type is shown as a circle. Each instance of a resource type is shown as a dot within the rectangle. Here is an [[example of a simple resource graph|$:/Image - system resource-allocation graph]]. System resource-allocation graphs are useful for noticing [[deadlocks|Operating System Deadlock]]. If the graph contains no cycles, then no process in the system is deadlocked. If a cycle does exist, then a deadlock may exist.
''System Testing'': System components are integrated to create a complete system and errors are found from interactions between components. For large systems, this may be a multi-stage process where components are added incrementally and tested each time. System testing is similar to [[integration testing|Integration Testing]] with the exception that system testing is more overarching and counts on most system components already being individually tested together. System testing can be supported by a requirements analysis document.
@@font-size: 1.1em; <div class="tc-table-of-contents"> <<toc-selective-expandable 'TableOfContents'>> </div> @@
''Taiga'' is software that can be used to build a [[Sprint Backlog|Scrum Sprint Backlog]] in [[Scrum|Scrum]]. See also: * [[Taiga main website|https://taiga.io/]]
If a function calls itself in the last statement and only once, it is called ''tail-recursive'' or ''tail recursion''. Tail recursion is the simpler of the recursion types because it follows a single path in and a single path out like shown in the [[recursion tiddler|Recursion]]. ''Non-tail recursion'' (b) and tail recursion (c) are below: [img width=500 [https://i.imgur.com/DvM0SoD.png]]
''Task parallelism'' focuses on distributing tasks across multiple computing cores. Each [[thread|Operating System Multi-threading]] is performing a unique operation on a pool of data, so that they can simultaneously occur.
A compound proposition that is always true, no matter what the truth values of the propositional variables that occur in it, is called a ''tautology''
Here is an example of the layers of a network as it pertains to the TCP/IP Model: {{Image - TCP/IP Network Layers}} Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'TCP/IP Network Layers'>> </div>
The ''application layer'' delivers data to the user. Some of the different protocols for the application layer are below: * [[HTTP|HyperText Transfer Protocol (HTTP)]] * SMTP * POP * IMAP * FTP * FSP * TFTP * NFS * Gnutella * BitTorrent * SIP * Many, many more
The ''host-to-network layer'' aka ''link layer'', ''data link layer'', or ''network interface layer'' defines how a particular network interface such as an Ethernet card or WiFi antenna sends [[IP datagrams|Internet Protocol (IP)]] over its physical connection to the local network and the world.
The ''internet layer'' or ''network layer'' is a [[TCP/IP Network Layer|TCP/IP Network Layers]]. A network layer protocol defines how bits and bytes of data are organized into the larger groups called [[packets|Network Packets]], and the addressing scheme by which different machines find one another. The [[Internet Protocol|Internet Protocol (IP)]] is the most widely used network layer protocol in the world.
The ''transport layer'' is a [[TCP/IP network layer|TCP/IP Network Layers]]. The transport layer is responsible for ensuring packets are received in the order they were sent and that no data is lost or corrupted. If a packet is lost, the transport layer can ask the sender to re-transmit the packet. There are two primary protocols at this level: [[Transmission Control Protocol|Transmission Control Protocol (TCP)]] and [[User Datagram Protocol|User Datagram Protocol (UDP)]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'TCP/IP Network Layers > Transport Layer'>> </div>
This is a topic tiddler that covers ''tech companies and products'' where their information is substantial enough to warrant notes, and specific tiddlers on the topic.
A ''technological artifact'' is something like a bridge, building, vehicle, cell phone, computer, etc. These artifacts are designed and built by engineers, normally through the Engineering Design Process @b:78.
''Telnet'' is a protocol that is used to communicate between computers. It can be used to send messages to different ports it seems. It seems that an example of using telnet is below: ``` telnet <host-name> <optional port number> ``` So it could be something like ``` telnet time.nist.gov 13 ```
A ''template engine'' allows static files with templated code such as ```xml <p> <span>${someVariable}</span> </p> ``` To be scanned and have it's variables replaced with actual values normally supplied by a server running something like [[Node.js|Node.js]] for example. A template engine will convert the template file into a static HTML file that is sent to the client.
The ''template method design pattern'' is used to define the basic steps of an algorithm and allow the implementation of the individual steps to be changed. This is similar to the [[strategy design pattern|Strategy Design Pattern]]. The difference is the ability to vary parts of the algorithm rather than the entire algorithm. It seems that web APIs (from the server side perspective) would generally follow this kind of design pattern.
A ''tensor'' in computer science, unless it is being referred to as the [[mathematical term for tensor|Tensor (Mathematics)]], is a multi-dimensional array. See also: * [[C/C++ Multi-Dimensional Arrays]]
A ''tensor'' is an algebraic object. It seems a bit hard to describe right now, but it seems like the combination of unit vectors that describe vectors for an object. A tensor of 0th degree is a scalar. A tensor of 1st degree is a [[vector|Vector (Mathematics)]] and includes 3 [[component vectors|Vector (Mathematics)]]. A tensor of 2nd degree is a collection of 9 component vectors, each with 2 unit vectors. The first sub vector is the face on the object with which the second sub acts on. For example:$$ \begin{bmatrix} V_{xx} & V_{xy} & V_{xz} \\ V_{yx} & V_{yy} & V_{yz} \\ V_{zx} & V_{zy} & V_{zz} \end{bmatrix} $$
''Tensorflow'' is a language developed by [[Google|Google]] for the purpose of [[machine learning|Machine Learning]]. A good tutorial location for this language is [[here|https://www.tensorflow.org/tutorials/]].
A ''test adequacy criterion'' determines when testing can be ended. This is typically based on [[code coverage|Software Testing > Code Coverage]], but is sometimes based on mutation testing. Or maybe when the money / time runs out. lol.
A ''test case'' is similar to an [[equivalence class|Equivalence Class (Computer Science)]], with the exception that test cases can cover multiple testing points where it is useful to do so. A test case could be something like checking the response of the program after entering a valid agent name and password. <<< A test case consists of a set of test inputs, execution conditions, and expected results developed for a particular objective, such as to exercise a particular program path or to verify compliance with a specific requirement. <<< - IEEE Standard Typically test cases have the following parts: * Title * Input * Condition * Execution * Expected result Some other good points of data would be the expected result, and actual results. A final column could be a Pass/Fail column. Here is an [[example of a full test case row|$:/Image - Test case steps]]. Here is an [[example of a test case template|$:/Image - Test case template]].
''Test driven development'' uses tests as the [[specification|Software Specification]], and uses tests to determine the implementation. The idea is that the test is written first before writing the code. The test will of course fail at first. Then the code is written that makes the test pass. Only just as much code as necessary is written. Then the next test code is written, which will fail, and then that code is written for. A good cycle is shown below: {{$:/Image - Test Driven Development}}
A ''test fixture'' is a fixed state of a set of objects which are used as a baseline for running tests. In other words, it is a ''test precondition''.
A ''test oracle'' is a mechanism for determining whether a test has passed or failed. They normally compare some inputs of a system under test to it's outputs. Sources: * https://en.wikipedia.org/wiki/Test_oracle
A ''test plan'' or ''test specification'' needs to include a Unit test, integration test, system test, and acceptance test. The test plan also covers the test procedures. Sections of the Test Plan: # Introduction: Includes an overview of the test plan document, which includes the test plan and procedures. ## Goals and objectives: Overall goals and objectives of the software are described ## Statement of scope: The functionality or features and behavior to be tested is described. Any functionality that will not be tested is also stated here. This could be like OSes that the software will be tested on if it is system based, then the fact that browsers will not be tested, because it is not web based could be stated here. ## Major constraints: Any business, product line, or technical constraints that will impact testing can be noted here. # Test plan: this describes the testing strategy and project management issues that are required to execute the tests. ## Software to be tested: The software systems to be tested are stated explicitly, as are exclusions. ## Testing strategy: The overall strategy or technique is described. ### Unit testing: Strategy for unit testing is described. This includes indicating which components will undergo unit tests, or the criteria of choosing those components. Test cases are not included here. ### Integration Testing: The integration strategy is specified. This includes a discussion of the order of integration by software function. ### System testing: The system testing strategy is specified. ### The validation testing strategy is specified. This section includes a discussion of the order of validation by software function. # Test Procedure: This section describes the test procedure including test tactics and test cases. ## Software to be tested: The software systems to be tested are stated explicitly, as are exclusions. ## Testing procedure: The overall procedure for testing is described. ### Unit Test Cases: The procedure for unit testing is described for each software component that will be tested. This section is repeated for all components. #### Stubs and Drivers for Component ### Integration testing: The integration testing procedure is specified. #### Testing procedure for integration #### Stubs/Drivers required #### Test cases and their purpose #### Expected results ### System Testing #### Testing procedure #### Test cases and their purpose #### Expected results ### Acceptance testing #### Testing procedure #### Test cases and their purpose #### Expected results Optional Sections: # Risk: Each risk can be put into a table, with the risk, likelihood from 1-10, impact from 1-10, and mitigation steps. ## Project Risk: This could be something like a senior team member leaving the project abruptly. ## Product Risk: This could be something like the system doesn't install in the testing environment Sources: * PowerPoint https://drive.google.com/open?id=1YNw56DndVVR0R7dl0fOBVD5zJbJFM-2r
Some different ''testing software'' are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Testing Software'>> </div>
This is a source topic tiddler that covers the various text books that might be referenced. <<list-links "[tag[Text Books]sort[title]]">>
Some great ideas for text coloring on websites is located [[at this website here|http://colorsafe.co/]]. It includes a nice intuitive interface for choosing eye pleasing colors on different backgrounds.
[img width=700 [https://i.imgur.com/J0gTRUP.jpg]]
The ''Erie Canal'' is described as the "first engineering university". It was a place where inexperienced engineers first learned about engineering. The Erie Canal was constructed from 1817-1825. They took inspiration from the European Canals such as the Bridgewater Canal in Britain, and the Canal Du Midi in France. It was built by the New York state and not the federal government. The canal was started because there needed to be a way to get through the Appalachian Mountains with goods. There is a 500 foot drop from Buffalo to Albany. The canal runs through New York. Some goals for the Erie Canal are below: * Move people and manufactured goods from east to west * Deliver farm products, mainly grain, from the west to eastern markets, particularly New York City as opposed to Philadelphia, Baltimore, or Montreal. * Lower transportation costs by 90% The Erie Canal follows the [[British Engineering philosophy|British Engineering Tradition]] more so than the [[French model|French Engineering Tradition]]. It was primarily run by men who did not have great knowledge of engineering principles and figured things out as they went along. Some of the major differences between American and British canal construction were Cost of Labor, availability of resources, and local conditions. A man named [[William Weston|William Weston]] helped with the canal. With his guidance and ten years of work, the result was "a canal that nearly always worked almost well enough". Quote from Elting Morrison. At first William Weston is asked to head the project but he didn't want to. So first New York State decided to appoint three judges and one school teacher as superintendents. The three judges were [[Benjamin Wright|1770-1842 > Benjamin Wright]], [[James Geddes|1763-1838 > James Geddes]], and [[Canvass White|1790-1834 > Canvass White]]. Many unskilled men rise up the ranks during this time. One person like this was [[John Jervis|1795 > John Jervis]] The project becomes a success in 1825 with the [[Wedding of the Waters|1825 > Wedding of the Waters]] !! Skepticism and Challenges: !! [[Dewitt Clinton|1769-1828 > Dewitt Clinton]] really liked the idea of the Erie Canal. [[Thomas Jefferson|Thomas Jefferson]] said that the Erie Canal project was "a little short of madness" due to its ambition and cost. The project was popularly named "Clinton's ditch". Some proponents pointed at the [[Middlesex Canal|Middlesex Canal]] as a reason to not build the Erie Canal. Some challenges are cutting through rock, underwater cements, leaking water, collapsing walls, bad surveys, inadequate wheelbarrows, workers accustomed to "good enough" techniques, overcoming the Niagara Escarpment.
Once you prove a mathematical statement is true, it is called a ''theorem'', sometimes called facts, or results. A collection of theorems on a topic organize what we know about that topic. To learn about a topic a person needs to actively construct mathematical arguments on this topic. Knowing the proof of a theorem, often allows you to modify it for different purposes.
''Therefore'' is represented by a $$\therefore$$ symbol.
A ''threat'' is an event or object that may defeat the [[security|Security (General)]] measures in place and result in a loss.
A ''threat agent'' is a person or thing that has the power to carry out a [[threat|Threat (Security)]].
''TiddlyWiki'' is a program that can be used as a personal Wiki. There are options to run Tiddlywiki as a Node.js service as well it seems. It seems that to run the file from the directory in which it was installed with `npm install tiddlywiki` it needs to have the `serve.sh` file loaded up with optional arguments. This can be done with ``` ./node_modules/tiddlywiki/bin/serve.sh node_modules/tiddlywiki/editions/tw5tiddlyweb [editionPath] ``` The `editionPath` is the relative path to the edition to run. Here is [[the link to the Tiddlywiki Github Repo|https://github.com/Jermolene/TiddlyWiki5]].
''Time Complexity'' (CPU Usage) can be analyzed in many ways, but it is best to analyze it in a way that does not depend on the questions in the bullets below. In general, the goal is to base the abstract view of the time complexity, on operation counts relative to the size of the input. 1) What language do we use to write the program? The time it takes to execute a program will change based on the language. For example scientific and mathematical calculations are very good with FORTRAN. Whereas BASIC is a very easy language to learn, but would be very bad for calculations. 2) Which compiler do we use to to compile the code? Not all compilers are created equal. Even compiling in the same language between two different compilers can change the execution time. 3) Who do we get to write the program? A more experienced programmer will more than likely write more efficient code. 4) What machine do we run the program on?
Time complexity of recursion can be accomplished similarly to time complexity of a loop. This includes multiplying the order of the recursion, or how many times the recursion is followed, by the order of the body of the recursive method. If the recursion operates on half as much data each time it is followed, it will get an order of O(log n). To solve the "tower of hanoi" puzzle with recursion, it actually gets a terrible O(2^n) time complexity, because for each disk, it takes 2^n -1 individual disk moves.
The title attribute of any element displays a tool tip for that element when the mouse is hovered over it.
hide
hide
hide
The ''big-bang approach'' or ''top-down integration testing'' is a method of [[integration testing|Integration Testing]] where the subsystems are testing in hierarchical order. So the highest calling system is tested, then it's subsystems, then their subsystems. An image of this process is shown here: https://drive.google.com/open?id=1Z6FyCgJmJ5sRpUm_Lny78yiUpUd-AF6q. [[Stubs|Stubs (Software Testing)]] are needed for this process. Pros: * Test cases can be defined in terms of the specification * No [[drivers|Driver (Software Testing)]] are needed Cons: * Writing stubs is difficult. Stubs must allow all possible conditions to be tested.
''Traditional database applications'' are those where most of the information stored and accessed is either textual or numeric. These contrast to things like [[NOSQL databases|NoSQL Databases]].
In ''traditional file processing'' each user defines and implements the files needed for a specific software application as part of programming the application. For example some users in the grade reporting office may have their own applications and files for processing data on students. Mean while, the accounting office also has their own programs and data for processing students.
''Transaction processing database systems'' are large [[database systems|Database Systems]] with hundreds of users executing [[transactions|Database Transactions]]. They require high availability and fast response time. An example of these systems is airline reservation, banking, credit card processing, and stock markets.
[[Sensors|Sensor]] and [[actuators|Actuator]] are known as ''transducers''.
''Transformational Design'' uses transformations and their corresponding documentation to create sustainable code. Each transformation can be made in one of three ways. Refinements: which is taking an abstract design or specification to a more concrete one, optimizations: these are maps to reduce the level of resources from some level of abstraction, and jittering transformations which eventually enable the application of refinements and optimizations. Decisions to apply a certain optimization are critical to the design information. The selection of which transformation is a creative process and is guided by the performance criteria to be achieved. Different kinds of transformations use all of the normal techniques that software engineers use for identification. Those are enumerated below: * Decomposition: Most problems can be decomposed to sub-problems * Generalization/Specialization * Choice of representation: To implement high level data types it is often needed to change its representation. An example is the representation of sets by lists. * Choice of algorithm * Interleaving: For efficiency it may be useful to implement different concepts in the same section of code or data structure. * Delocalization: Certain high-level concepts may be spread throughout the whole code introducing distracting details in other concepts. * Resource Sharing: interleaved code often allows different concepts to share some resources like control conditions, intermediate data results, functions, names, and other computational resources. * Data caching/memorization: If something is computed, and the computation is expensive, it may be useful to cache it.
A ''transistor circuit'' is drawn with a ground using 3 lines in sequentially smaller size pointing away from the circuit where the ground is typically 0V, and the power supply is typically 1V drawn as an empty triangle pointing away from the circuit. But these voltages can also be subsituted for true and false, ground and power, etc.
Connecting transistors to build gates or other components is called ''transistor level design''.
A ''Translation Look-aside Buffer'' or ''TLB'' is created with ''associative memory'' which is essentially a [[hash table|Hashing]]. A TLB is a CPU local map from a [[page number|Operating System Paging]] to a [[physical address|Physical Memory Addresses]]. The TLB is typically small, so anywhere from 32 to 1024 entries in size. When the system needs to derive a physical address from a [[logical address|Logical Memory Addresses]], a TLB lookup is performed. If it does not find the page, then a ''TLB miss'' occurs and it must be looked up from the [[page table|Operating System Page Tables]]. As TLB misses occur, the address that was looked up is stored into the TLB and replaces the ''Least Recently Used'' or ''LRU'' entry. Here is an [[example of how this process might look|$:/Image - TLB lookup process]]. The number of hits to misses in TLB looks is called the ''hit ratio''. Based on the hit ratio and the look up time, the ''expected memory-access time'' can be calculated as follows: Hit ratio * TLBaccesstime + (1 - hitrate) * mainaccesstime Some entries will be ''wired down'' which means they are not subject to LRU replacement. These could be addresses that are typically used a lot, like kernel addresses. Some TLBs include ''Address-Space Identifiers'' or ''ASIDs'' which indicate which process owns that particular page-address pair.
The ''transmission control protocol'' or ''TCP'' is part of the [[transport layer|TCP/IP Network Layers > Transport Layer]]. It is a high-overhead protocol that allows for retransmission of lost or corrupted data and delivery of bytes in the order they were sent. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Transmission Control Protocol (TCP)'>> </div>
A ''transpiler'' reads code in one language and produces the equivalent code in another. Its good to have one because most browsers currently have widespread use of old JS. So transpilers convert advanced code to older code. Babel is a transpiler for [[JavaScript|JavaScript]].
''Travis CI'' is a [[continuous integration|Continuous Integration]] tool. Travis CI can integrate with [[GitHub|GitHub]] which is pretty sweet! See also: * [[Guide for setting up Travis CI with multiple projects within the repo|https://lord.io/blog/2014/travis-multiple-subdirs/]]
A ''tree'' is a nonlinear structure in which elements are organized into a hierarchy. A tree is composed of nodes in which elements are stored. The ''root'' is the only node at the top level of the tree and is the only ancestor of all nodes in the tree. There is only one root node. The nodes at lower levels of the tree are children of nodes at the previous level. A node can only have one parent, but may have multiple children. Nodes that have the same parent are called siblings. A node that does not have any children is called a ''leaf''. An ''internal node'' is a node that is not the root and has at least one child. A node is the ''ancestor'' of another node if it is above it on the path from the root. Nodes that can be reached by a following a path from a particular node are the ''descendants'' of that node.
''Tree maps'' are a way to present hierarchal data, like a [[tree data structure|Tree Data Structure]], using nested figures, which are usually rectangles. In a rectangular tree map, each branch is given a rectangle, then sub-branches of that branch are given smaller rectangles within it to represent the branches of the tree. Here is an [[example image of a tree map|$:/Image - Example of a tree map]].
The ''order of a tree'' is the maximum number of children each node can have. A tree that has no limit to the children is called a ''general tree''. A tree that limits each node to no more than n children is called an ''n-ary tree''.
The ''path length'' is determined by counting the number of edges it takes to get from the root to the node. The root is considered level 0 when counting this way, so the first child will have a path length of one. The height of a tree is determined by the longest path from the root to a leaf starting at 1. So this tree: https://drive.google.com/file/d/1mNdX6rTz-ZJc-YhLVcIdVqMkMZk-HhZ6/view?usp=sharing has a height of 4, even though the book in this example says otherwise. This is because there needs to be a way to determine if there are no nodes in the tree.
''Right rotation'' is a method of re-balancing a [[binary search tree|Binary Search Tree]] structure if the left node of the left child of root is too long. It is conducted by making the left child element of the root the new root element, then making the former root element the right child element of the new root. Then make the right child of what was the left child of the former root, the new left child of the former root. This is shown in the following picture: https://drive.google.com/file/d/10VJ3D5ivGL90HUcB95pK-hYDaVsAmNP6/view?usp=sharing. Left rotation is done in a similar way and can be used if the right node of the right child of the root is too long. A picture is shown here: https://drive.google.com/file/d/1ScbZ5oSoounwgQdaSZoMLakbsLCIqtS3/view?usp=sharing. The following is a good video explaining tree rotations: https://www.youtube.com/watch?v=95s3ndZRGbk&t=23s A rightleft rotatation can be used if the left node of the right child of the root is too long. That is shown here: https://drive.google.com/file/d/1EJKBKX2eO1l33hg9V195nz1QGLua6-Be/view?usp=sharing. The leftright rotation is shown here and occurs when the right node of the left child is too long: https://drive.google.com/file/d/1L7WWlG4Q_GbRm-psmgvQmRyHu_sSjSVt/view?usp=sharing Keep in mind that for this rotation, if the left child's, right child has a left child which will get in the way of the left rotation, then that child will go to the original left child like shown here: https://drive.google.com/file/d/1sqJcUfwvSXUviZFhuw3xPW7BvPI5UZeW/view?usp=sharing
There are four basic methods of tree traversal: * [[Preorder Tree Traversal]] * [[Inorder Tree Traversal]] * [[Postorder Tree Traversal]] * [[Level-order Tree Traversal]]
A ''truth table'' shows a row for each possible truth value for a particular proposition. Each truth table is unique for each equation because there can only be 1, while there may be many different equations for the same function. They represent a standard representation of a function. These can get very large for a large number of inputs. Given a function with $n$ inputs, a truth table will have $2^n$ input combinations. To indicate that one part of the truth table doesn't matter, you can use a "don't care" symbol like "x" or a "-". Make sure to still indicate this at the bottom of your table though.
The ''truth value'' of a proposition is true (T) if it is a true and false (F) if it is false.
''Two-Dimensional Arrays ''are also called a ''matrix''. To declare one, you supply the number of rows, then columns. For example new int[7][3] is an array with seven rows and three columns. You store a reference to such an array with a variable of type int[][]. An example is in the note of declaring such an array with an initializer list as well. <<_note """ ``` final int ROWS = 7; final int COLS = 3; int[][] counts = new int[ROWS][COLS]; // or with the same number of rows and columns int[][] counts = { { 1, 0, 1 }, { 1, 1, 0 }, { 0, 0, 1 }, { 1, 0, 0 }, { 0, 1, 1 }, { 0, 1, 1 }, { 1, 1, 0 } }; ``` """>>
''Type checking'' is the activity of checking that the [[data type|Data Type (Programming Languages)]] of [[operands|Operand (Mathematics)]] of an operator are legal or equivalent to its legal type. A type is equivalent based on the type equivalence policy of the programming language in question. There are two different kinds of policies: [[Structural Equivalence|Structural Equivalence (Type Checking)]], and [[Name Equivalence|Name Equivalence (Type Checking)]].
''Typecasting'' is doing an explicit type conversion on an incompatible type. Most commonly this is done with a `(type)` operator put before the variable to be changed. For example Java does this with [[cast|Cast Operator (Java)]].
Some different types of databases are below: * The internet <div class="tc-table-of-contents"> <<toc-selective-expandable 'Types of Databases' sort[title]>> </div> Here is a [[website that gives the ranking of the top databases in the world|https://db-engines.com/en/ranking]].
There are two main ''types'' of [[database management systems|Database Management System (DBMS)]]. Those are: * Single-user DBMS * Multiuser DBMS
Below are some ''types of NoSQL databases'': * Key/value stores such as Redis, BigTable, Memcache[DB] * Column-ordered or columnar structures such as HBase/HDFS, Cassandra * [[Graph databases|Graph Databases]] * Document-oriented databases such as [[MongoDB|MongoDB]], CouchDB. These store entire documents.
This is a tag tiddler covering all the different types of testing in this wiki. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Types of Testing'>> </div>
Creating types in ''TypeScript'' can be done as follows: ```ts interface Person { firstName: string; lastName: string; } ``` Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'TypeScript'>> </div> See also: * [[Guide on setting up TypeScript with Node.js and Express|https://medium.com/javascript-in-plain-english/typescript-with-node-and-express-js-why-when-and-how-eb6bc73edd5d]] * [[Even better guide on setting up TypeScript with Node.js and Express|https://developer.okta.com/blog/2018/11/15/node-express-typescript]] * [[Guide on setting up TypeScript with React|https://www.sitepoint.com/react-with-typescript-best-practices/]]
The ''as operator'' can be used to evaluate a type as another type. For example `(pet as Fish).swim`.
''Classes'' can be setup in TypeScript almost like normal except that properties can be defined outside of methods. They are very similar to [[JavaScript classes|JavaScript class Keyword]]. See also: * [[TypeScript documentation on classes|https://www.typescriptlang.org/docs/handbook/classes.html]]
''Functions'' can be defined like so in TypeScript: ```ts type SettingsDialogProps = { open: boolean; setOpen: (open: boolean) => void; }; ``` To get the type of a function from within a class, you can get it from the prototype. For example: ```ts type AlertFunction = typeof App.prototype.alert; ```
''Ubuntu'' is an operating system that is a flavor of [[Linux|Linux]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Ubuntu'>> </div>
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Ubuntu Commands'>> </div>
''apt-get update'' can be used to update the listings of packages locally in Ubuntu. If an error comes up after using the command such as ``` W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E ``` Then the following command should add the proper key: `curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -` Sources: * https://github.com/yarnpkg/yarn/issues/4453
''UML Activity Diagrams'' are used to describe step-wise flow of activities and actions. They are described by using activities to describe the events that the system, or particular system partition in the case of swim-lanes, performs, and decision points that indicate some kind of path divergence between possible actions. There should normally be 1 activity diagram per use case, or 1 activity diagram per use case - actor interaction, or activity diagrams showing how use cases are related to each other. Activity diagrams can model both organizational and computational processes. An example of one is here: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5Q1k1TWRsbnNLMW8/view?usp=sharing. Here is an example of a system partitioned activity diagram is here: https://drive.google.com/open?id=1RVzli6Cz2SgJX-5zmAtNSAFiyeo9uK0q. Keep in mind that the only places that paths should split should be either a decision or a concurrent fork. Actions cannot fork or join. #UML_Activity_Diagram Actions are represented by rectangles with rounded corners and have the activity name within them. For example "Test". So they are the specific sub-processes that must be carried out. They are atomic computations in the control flow and cannot be decomposed. #UML_Activity_Diagram Transitions represent the control flow. #UML_Activity_Diagram @b:0185 Decision nodes are represented by a diamond and each escaping path has a condition surrounded by brackets. A special annotation is [else] that should take place if no other condition is satisfied. Only one arrow is allowed to enter a decision node. #UML_Activity_Diagram Objects can be indicated by a square with normal corners. Objects can have multiple arrows go into them. An example is here: https://drive.google.com/open?id=1RVzli6Cz2SgJX-5zmAtNSAFiyeo9uK0q #UML_Activity_Diagram A merge node is the same shape and style as a decision @b:0185, but with multiple input arrows and only one output arrow. #UML_Activity_Diagram Activity coordination or Concurrent Fork/Join is a solid bar indicates that all activities leading to the solid bar must be completed before continuing. When a solid bar leads to multiple activities, that means they are executed in parallel. #UML_Activity_Diagram Activity Partitions (Swim-lanes) These indicate the responsibility of some actions/activities to a single component, entity, team member, actor etc. A good example is here: https://drive.google.com/open?id=16sjc_RUhXAly-XX2BjgXG4SBFd4GnXdS #UML_Activity_Diagram The initial state is indicated by a filled circle and the final state is indicated by a filled circle within another circle. #UML_Activity_Diagram System interactions can be indicated with a UML Stereotype which is a rectangle and the first line being <<system>> or if it's not a system, something else. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'UML Activity Diagrams'>> </div>
An ''activity'' in an [[activity diagram|UML Activity Diagrams]] is represented by a large rectangle enclosing the entire activity diagram if it is the activity being shown. At the top of the rectangle, a smaller rectangle forms the title of the activity being shown. An example is here: https://drive.google.com/open?id=1ofYON7XsdrCu092qor54i3PkfDvsoXiW. An activity can also be the same shape as an action, but with an extra little icon to indicate that it has it's own activity diagram, or simply that it is a non-atomic action. An example is here: https://drive.google.com/open?id=1XhUDpvOCWOaYGSNPmpx6qhF3kTbkc5hl
An ''actor'' represents a role or a type of user of the system, but could be an external system or a physical environment like the weather. An example of an actor is a Passenger or a GPS Satellite. Actors can have an optional description. Actors are in the domain class model @b:96 and use case diagram @b:94 and are not part of the software system itself. Actors interact with the system and represent user roles. Actors do not interact with each other, because that is functionality outside the system. An actor must interact with the system directly, and if an actor does not, it is not an actor. Actors are able to only receive information from the system, and not actually send messages to the system at all.
An ''aggregation relationship'' is a type of [[association relationship|UML Association Relationship]]. A class aggregates another if it's objects contain objects of the other class. In other words, class A "has a" class B. For example a Company "has a" Department and the Company is the aggregate. If you just create or receive objects for the duration of a method, then it is not an aggregation relationship, but rather a [[dependency relationship|UML Dependency Relationship]]. The class must contain objects from another class as instance variables. A solid line with a empty diamond shape on the aggregating class end describes this relationship (The diamond would go closest to the Company in the previous example). In aggregation the parts of the whole may outlive the whole, contrary to a [[composition relationship|UML Composition Relationship]]. See below for a small example of an aggregation relationship: [img width=170 [https://i.imgur.com/ppHnChz.png]] A hierarchical aggregation relationship set is here: https://drive.google.com/open?id=1yb_TWIVQwOC94QdbuwrjM1FqJUFwzgYZ
An ''association class'' is indicated like a normal class, but with a dotted line going out perpendicular to an association relationship @b:86. An example is shown here: https://drive.google.com/open?id=1CDnddH-qE-Cq8mEMw8Ce_x1NYqc_vNfA. An association class can be used where both of the associated classes shouldn't necessarily hold a particular piece of data, so that data goes in it's own class. Every single link between two objects of the associated classes, then has it's own association class. These association classes can be turned into normal classes, just pay close attention to multiplicities. An example is here: https://drive.google.com/open?id=1y5WArrq6mk8Ms6kR8dWbHxtVaR2zXG8Y
An ''association relationship'' is indicated by solid lines with optionally one open arrow pointing to the opposite class. If there are no arrows, then it is a bi-directional relationship. Each association should have a name which is put next to a filled in arrow a little bit away from the association line, pointing in the reading direction of the relationship. When naming an association relationship, choose the most important one, avoid including multiple. The association relationship says that for example with two classes named instructor and course offering, the instructor will know the course offering, and the course offering will know the instructor. Generally associations need multiplicities. A uni-directional association relationship with one arrow means that the class on the non-pointing end knows of the class on the pointing end, but the class on the pointing end may not know about the class on the non-pointing end. Use bi-directional associations first when early in designing.
A ''behavioral model'' shows the system's dynamic behavior as it is executing and responding to stimuli. This stimuli could be events or data for example. Theses models can be one of the below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'UML Behavioral Model'>> </div>
''Boundary classes'' are the interface between the system and environment. These could be things like the presentation layer or the GUI, the interfaces to other systems, or sensors and switches to control external devices. Boundary classes are indicated with a stereotype placed above the class. As a rule, there should only be one boundary class per actor. Actors only communicate with the system via boundary classes. They should never interact with the system directly.
The first row of each box holds the class name. Use an italic name for abstract classes. The class name is the only required information for each class. ``` Account ``` The second row of each box holds the instance variables (aka data members, or attributes). First you indicate public or private, then you put the variable name, followed by a colon and then the variable type. If the variable type is an object of a class, and that class is already denoted in a relationship, then don't list it in the attributes section. ``` -name : String -id : int -balance : double ``` The third row holds all the methods for the class (aka method members, or behaviors). Indicate public or private, then the method name, then the argument types surrounded by parenthesis, followed by a colon and what type it returns. Use void if it doesn't return anything or if it is a constructor, then leave it blank after the colon. Make the whole method description italic if it is an abstract method. ``` +Account() : +deposit(double) : void +toString() : String +withdraw(double, double) : void ``` The "-" delimiter means private, the "+" delimiter means public, and the "#" means protected
''UML Class Diagrams'' consist of one or more classes, each with sections for the class name, data, and methods. These diagrams are meant to be used for any object-oriented programming language, not just one, and are used during requirements analysis to model systems, or subsystems as well as during any other planning phase where they are useful. The working order of creating class diagrams consists of going from a high level of abstraction to a detailed design. # Start with bi-directional association relationships @b:86. # If something needs to be stronger, then consider an aggregation relationship @b:87. UML Class Diagram Abstractions can be broken down into a domain class model @b:96, a system class model @b:97 and an implementation model @b:98. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'UML Class Diagrams'>> </div>
''Messages'' are built starting with a number indicating the sequence in which they happen starting with 1 and can look like such: "Nr: [Guard] returnVar := MethodName (Parameter)". The numbering is incremented by depth. For example if a class calls another class, then that is a single numbering such as "1" for step 1. If the called class, searches for some object within itself, then that would be step "1.1" and so on for further embedded objects. The Guard is a simple if-statement and is optional. No if-then-else is possible in communication diagrams. What can be done is simply making the guard statement the negation of the original statement, which is the same as "else". The return value becomes part of the "local variables" in a way so they can be used in subsequent messages.
''Communication diagrams'' illustrate the relation and communication between system objects when a system operation @b:142 or in final implementation, a function is called by an actor. The focus is on what that function, or system operation does to produce the associated sequence diagram's results. These are similar to a object sequence diagram @b:113 with the difference that they hold much more detail. These kinds of diagrams are good for something that really needs a lot of detail, or some complicated logic is needing to be worked out. A good rule of thumb is that for each scenario @b:114, a communication diagram is built. A communication diagram uses the links from the system class model @b:97 for object communication. Communication diagrams do deal with objects and not classes. Requirements for a communication diagram, and general steps for creating one are in the note. Creating an object can be done with the keyword `create`. `create` can have parameters and a return value, which will be the new object. An example is shown here: https://drive.google.com/open?id=1NYntbCIRxL59SZlaGVTUgPV6yeOUVaxk. To destroy an object the keyword `destroy` can be used without parameters. <<_note """ Requirements for a communication diagram: - The system class model @b:97 - Sequence Diagrams @b:109 - The operational pattern @b:145 General Steps for creating a Communication Diagram: - Choose responsible Actor and controller, then start with the system operation. -- The responsible actor and system operation are pretty clearly circled in this example: https://drive.google.com/open?id=1RtOUygNn1QKbLJyk3S8BolHeGu3dbISm -- Use the controller class used for the operational pattern for this scenario. -- These things can start the diagram. An example of starting the diagram is here: https://drive.google.com/open?id=1Vq-twtGm_YJ6r_NzHTT8WSE3ksFfoHij - Search or Find objects from the Reads and Changes from the operational pattern -- The controller class should already be there from the first step. -- An example of some objects for the communication diagram is here: https://drive.google.com/open?id=1Tp47A0ZPCX7jQwp1ymh1wBa4MAFFnfvE -- Objects can interact with collections by indicating the object, then putting a curly bracket and saying "coll". For example ": Employee {coll}" which means that a message is interacting with that collection. An example is shown here: https://drive.google.com/open?id=1itNuLDFi8jFsWbnzGTMzEbrSNahm8Ric. The decision to make it an array of employees vs a class could happen in the implementation this way. -- An example of a communication diagram after the reads and changes analysis is here: https://drive.google.com/open?id=14zcudCX14l75864NymxsFlDTOa0holkQ - Define the control flow -- Consider the pre-conditions then the post conditions --- Try to tackle the larger control flows first of the operational pattern. --- Keep in mind that the return values of messages become part of the "local variables" in a way so they can be used in other messages. --- Placeholders can be used for variables that determine some kind of logic in the communication diagram. An example of this is "p_available == quantity <= stock" in this example: https://drive.google.com/open?id=1vu8NMRtNNkUC7x9CFoRNpg0q2GhSJgWW -- When creating a new object, consider the parameters that will be needed for the constructor. An example of this kind of brainstorming for a purchase order is shown here: https://drive.google.com/open?id=1GFGdEe-_30KzZcnu_0kQydGog66dhUUM. An example of creating the links and the new object are here: https://drive.google.com/open?id=1Ouhu-4cwczkCAGfbehwGkNNttOs3fk-5. - Check if the diagram is consistent with the System Class Model. -- Check if all the links you used exist in the system class model. -- Check if all attributes are in the system class model """>>
A ''composition relationship'' is a stronger form of the aggregation relationship, and therefore still an association relationship @b:86. For example a Line object consists of point objects. The composite class: Line, would no longer exist without it's component class: Point. To indicate this relationship you can use the same multiplicities as an aggregation relationship and use a solid line with a filled in diamond at the composite class end.
''Context Diagrams'' explain how a system connects with other systems. It defines the boundaries of the system. This is like a very vague class diagram.
''Control classes'' bundle up application logic into a grouping. They are used for [[system class models|UML System Class Model]] and act as the interface between [[boundary classes|UML Boundary Classes]] and [[entity classes|UML Entity Classes]]. There is generally one control class per [[use case|UML Use Case]].
A dotted line with an open arrow from one class to another shows that one class uses the other (calls it's methods). The arrow points from the dependent class to the independent class. This is called a ''dependency relationship''.
A ''domain class model'' is developed during the domain analysis of the system requirements. Aspects of the domain that will not be implemented by the system are modeled too. This is also called an exploratory domain model. Domain models can be shrunk and refined into system class models @b:97. General needs for a domain class model are in the note. A domain class model should only use a limited set of notations. Those are in the note, and so are general steps to making a domain class model. <<_note """ Things inside a domain class model: - All relevant entities as classes. This could be physical objects, persons or organizations such as actors, and events, processes, and abstractions. - Relationships as associations. These could be normal relations, communications, or part/whole relations such as aggregation @b:87 and composition @b:99. Limited Notation of Domain Class Models: - Classes: Use attributes sparingly without types - Associations with multiplicities: using aggregation and composition sparingly. - Generalization @b:103 - Do not use -- Methods -- Types -- Roles Example steps to creating a domain class model: - Add classes without attributes -- Use noun phrase analysis --- Analyse textual documents describing the system and extract nouns and noun phrases. --- Eliminate Nouns that are redundant, vague or highly general, too specific or represent specific instances, or those that refer to the entire system or objects outside the application. --- Pay close attention to nouns that describe different users, or types or other actors. - Add generalizations - Add associations with multiplicites -- Start with central and most important classes -- Work outwards towards the less important classes -- Add an association if one class possesses or controls, is related to, communicates with, is a part of, or is a member of some other class in the model. -- Keep in mind multiplicities and if they are counted in a static view as a snapshot, or in a dynamic view as a history. For example if a customer can have up to 5 orders at any given time, then a static view would show a multiplicity of `0..5` while a dynamic view would show a multiplicity of `*`. So decide on a view and stick with it :). An example image is here: https://drive.google.com/open?id=1j_9WSkiHPtzYJHE-ExiFvDXSC6ibKOLe. - Add aggregations and compositions as long as they are actually necessary. - Add attributes -- Avoid repeated attributes by grouping repeated ones, into their own class with a type perhaps to distinguish them. - Stir until done (haha) """>>
''Entity classes'' are the classes that hold the data layer of the system, and are used in a [[system class model|UML System Class Model]]. The entity classes hold controls and logic that only manipulate the data, so the functionality should be limited. Most operations or business logic should be contained in the [[control classes|UML Control Classes]]. Entity classes can have get and set methods as well.
An ''implementation class model'' represents a system class model @b:97 and requires the communication diagram @b:148. The goal is to systematically or automatically create code. The implementation class model should include all class elements including names, members, methods with types and access specifiers. It should not use associations anymore. To remove associations, the associations can be added as an attribute within the class. Some steps for developing the classes in the implementation class model are in the note, also some things that an implementation model should have are also in the note. <<_note """ Developing an Implementation Class Model: - Go through the communication diagram step by step to find classes, attributes, and methods one by one. -- There could be classes that hold collections to be added as well to make things more simple a little bit. An array could just have a method in each class that holds an array to add something to that array, whereas a collection could have that addition function built in. It's a small difference. -- An example of a partial implementation class model after using just one communication diagram is here: https://drive.google.com/open?id=1zIN4htqMAWlbCgi43iUdmQvjOCRo8sF1 -- Some decisions will be made but mostly it is copying down from the communication diagram. Things an implementation class model should have: - Methods - Types - Return Types - All necessary classes - Access specifiers - Inheritance: No associations, but inheritance is allowed. """>>
A ''UML inheritance relationship'' or ''generalization and specialization relationship'' is the relationship between superclasses and subclasses. It does not have [[multiplicities|UML Multiplicities]] or a name. This is indicated by a solid line with an empty triangle (empty arrow pointer) on the superclass end. This is a "is a" relationship. A car "is a" vehicle. A subclass would be a specialization of the superclass and the superclass would be a generalization of the subclasses. These can be used in [[Use Case Diagrams|UML Use Case Diagrams]] or [[Class Diagrams|UML Class Diagrams]]. How the generalization relationship is used in use-case diagram: * An example is here: https://drive.google.com/open?id=1_BQytEatjyVs1BJTP6IP0qUb3wBcISHb * The specialized use cases describe alternative behaviors of a function.
An ''interface relationship'' or ''implements relationship'' is a dotted arrow with a triangular tip on the side of the interface.
Astah: - Astah can forward engineer @b:83 class diagrams to Java - Astah can also reverse engineer @b:85 java to class diagrams. - A good video for how to use Astah is here: https://www.youtube.com/watch?v=fRMQKIG7O50&feature=youtu.be Microsoft Visio Draw.io
''Multiplicities'' may be drawn at one or both ends of the line to denote how many objects are indicated. These are read from the object on the opposite end of the multiplicity. For example here: https://drive.google.com/open?id=1_arf-cQC7HdjZfcm2XltJT4AMvOLekO- it would be read as 1 course has unspecified students, and 1 student has 4-6 courses. Common multiplicities are below: * 0 zero * 1 one * 0..1 Zero or one * 1..* 1 or more * * Any number
''Subsets'' can be described that include both links and objects. In the following example: https://drive.google.com/open?id=1C2DmwvBtA6e83w5gR-Ihu43LRoTVL696 lecturers link to courses so the Lecturer set could form {Gary, Mehlhase, Acuna}. The Course subset could include {SER322, SER315, SER222}, and the teaches subset could be {(Gary, SER322), (Gary, SER315), (Mehlhase,SER315), (Acuna, SER222)}.
''UML Object Diagrams'' are diagrams that show a complete or partial view of an object at a specific time during program execution. Notation for objects are in the note. <<_note """ Objects: - The top box contains the name of the object followed by a colon followed by the class of that object. Instances are underlined. If it is anonymous, then you can leave out the object name and just leave the colon followed by the class name such as: pete:Point or :Point - The bottom box contains the relevant data members and their values at the given moment in time such as: mX = 10 my = 20 Links: - Lines connecting the different object instances. The links are instances of association relationships between classes. """>>
UML Packages are used to group your classes together and organize classes into subsystems.
Use cases describe interactions of actors with the software system which is called a ''scenario''. Scenarios are activated by an actor which is called a ''system operation'' and the system reacts with an observable event which is called a ''system event''. System operations and events are also indicated in sequence diagrams @b:109. Each system operation in a sequence diagram should be specified via an operation pattern @b:145.
The ''lifeline'' runs down from each lifeline box and indicates the time. Lifelines can also run horizontally to represent a new instance. The lifeline runs horizontally with an open arrow to indicate creating a new instance. An example is here: https://drive.google.com/open?id=1pdaZhvzpdFbv43Fmiqb7InWKmgIoAf2C. The system events should be dashed though in this example. A lifeline can be ended with an X. A constructor name can be used for the horizontal lifeline, or simply use `$create` which is very common.
The ''lifeline box'' indicates an actor @b:104 or the system and sits at the top left of the sequence diagram. More specifically they represent the interacting objects. The box is drawn with a black line and the item written inside is the actor or system name followed by `: Actor` or `Store : System`. There can also be anonymous objects such as `: System`. Or there can be an object without a class written just as `Store` for example. In place of a life-line box, an actor can be there.
''Object communication'' is a type of sequence diagram. It starts with a user asking something from the system, usually to a controller object. The controller then collects all the information and handles basic communication. For this level of detail, the System class model @b:97 should have already been created. An example is here: https://drive.google.com/open?id=1h0TvCGtLqiEdXKuWt7kxg7Dg9A8yJOcn without the else part filled out.
''Synchronous communication'' is indicated with boxes along the lifeline meaning that each one of the communications happen in order and the line stops if the other communications do not occur. The system operation line changes in this case to a solid black line with a solid or filled triangle on the operating end. An example is here: https://drive.google.com/open?id=1iam6fEdFAm8CAlp6mK3oYEMqaXywtpyd
A ''system event'' is indicated by a dotted black line with an open arrow pointing at the actor's lifeline form the system lifeline and indicated an event.
A ''system operation'' is indicated by a solid black line with an open arrow pointing at the system lifeline from the corresponding actor lifeline and indicates an operation or message.
''User interaction'' is a high level of abstraction for a sequence diagram. In this case the communication is between the actor and the system. The system operations represent user requests, and the system events represent system responses. This ignores all of the underlying implementation. There is a sequential ordering of operations and events. Example steps to create a user interaction sequence diagram, and things that each sequence diagram should have are in the note. An example is shown here: https://drive.google.com/open?id=1v0k5xnTurqR8-PrGuwbCe-5iFy0RvAmo. A more advanced scenario is here: https://drive.google.com/open?id=1d2p3bEdLXQmEc0LBplMrwNnTzi3Lyw7O. <<_note """ Example steps for building user interaction sequence diagram: 1. Identify scenarios by looking at use cases. A good rule of thumb is that multiple scenarios can be used for each use case. 2. For each scenario 2.1 - Identify the actors 2.2 - Name the single system operation. System operations should be independent. 2.3 - identify the parameters of the system operation 2.4 - Model the sequence of system events 2.5 - Identify adequate system events, find expressive names for the events. 2.6 - Add exceptions / error cases by using alternative @b:111 or options @b:112. Requirements for each user interaction sequence diagram: - Each scenario should be a separate sequence diagram and each sequence diagram must have exactly one system operation. - Each sequence diagram should have multiple system events, each of which should be different since they represent situations where the user will get different feedback. Each case should send an event preferably. - Each sequence diagram should belong to exactly one use case. """>>
''Sequence Diagrams'' describes the sequential behavior of a process between objects or actors @b:104 of a system along a timeline. Sequence diagrams can also become behavioral diagrams to indicate some kind of outside event or data triggering a sequence. A good example is here: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5aU8zb0kyU25vTDA/view?usp=sharing Another larger example is here: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5M3M4YU41MkViLWs/view?usp=sharing. Many things can be left out of a sequence diagram to focus on individual sequences. Data driven model concepts and sources are in the note. Sequence diagrams can focus on user interaction @b:110 and object communication @b:113. * Alternative sequences can occur. An example is here: https://drive.google.com/open?id=1RiDkV4DUxPw-dAfMR9AdqmP_tQ_TZhjm * Optional sequences can occur. An example is here: https://drive.google.com/open?id=1RiDkV4DUxPw-dAfMR9AdqmP_tQ_TZhjm * Loops can occur in sequence diagrams as well. An example is shown here: https://drive.google.com/open?id=1GyG0AmBEWPFv-r7ZQ68AlqX5EeUARvCG <<_note """ Data Driven Models: These are useful to show end to end processes in a system. It can show when data is input into the system, then all of the steps that lead to an output. Sources: Software Engineering Sommerville 9th Edition Chp. 5 """>>
''Actions'' are expressed after a forward slash proceeding a stimulus @b:0182. They can indicate some kind of value assignment, or even an action timer. Different types are in the note. <<_note """ __Action syntax:__ - `V:=expr` Sets the value of variable V to expr. - `schedule(A,n)` or `/sc!(A,n)` Action A becomes active after n time units. - `A1 ; A2` Activate action A1 and A2. - `history_clear(S)` or `/hc!(S)` Delete "history" from state S - `deep_clear(S)` or `/dc!(S)` Delete "deep history" from state S """>>
''State Chart Diagrams'' describes every possible state of a system, object, or some other focus. They are very similar to a [[finite state machine|Finite State Machine (FSM)]]. The differences between state machines and state charts are in the note. It is described with stimuli which are actions that will move the state to another state, these stimuli can be caused by internal or external events. Details on making state diagrams are in the note, as well as syntax. State chart diagrams are often used for real-time systems. <<_note """ States - States of the system can be described by a rectangle with rounded corners - The top portion indicates the state of the system - The bottom portion indicates "entry" followed by entry events, and "exit" followed by exit events separated by commas. Beginning and end: - The beginning of a state chart diagram is a filled circle. This indicates the beginning of life for the object or system. - The end of a state chart diagram is a filled circle with another circle surrounding it. This indicates the end of life for the object or system. Hierarchical states: - A superstate can be described to contain a smaller state diagram in more high-level diagrams with the same rounded corner rectangle type with the state name at the top. An example of this would be a radio with an off and on state. The on state could contain an internal state diagram describing the different functions of the radio when it is on. - Internal hierarchical states can communicate with external states. An example of this is here: https://drive.google.com/open?id=1E9PyH2kWiBTIIa0QMr7Twiqn0a0sLaHb. This diagram means that when b is pressed, it will always go back to T. This can be very useful to make state diagrams more concise. - A default state is required in every level of hierarchy. The default state looks just like a beginning state. A history connector: - A history connector Parallel composition: - Two states can be separated by a dotted line to indicate they occur at the exact same time. So any state on the left would be occurring at the same time as the state on the right. An example is shown here: https://drive.google.com/open?id=1inDCKHLan0O45fcxxMEa2H4BIfGzo_gL. This means essentially the state becomes the combination of the two states, kind of like an ordered pair. - Parallel composition is useful because in the last example, a state chart without parallel composition would look like this: https://drive.google.com/open?id=1604-0GNfhyRm_VsF58TyWTresPEF2xLB - A more complex example of parallel composition with it's associated transitions are shown here: https://drive.google.com/open?id=1Rx_IG03EeSuzgAJ1pr_VLp5TA3JUU9rg and here: https://drive.google.com/open?id=1Zg8YGy_wvbNT_V_nq3-mExFL5hMNWVwG Broadcasting - Broadcasting is done by using exit conditions in parallel components that will cause some kind of transition in the other component. An example is here: https://drive.google.com/open?id=195FicVR4bxAvqxzAWMWd9kuDf_wKOlQY Overview: - An example of a state diagram is here: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5dUJmVTF3bWdmRWs/view?usp=sharing - These can be accompanied by charts that describe each stimulus and state with a description Differences between state chart and state machines: - State charts have hierarchical states - They have parallel states - They have broadcasting Syntax: - `entered(S)` or `en(S)`: State S has been entered - `exited(S)` or `ex(S)` State S has been exited - `entry` or `ns` Current state has been entered (is in a state) - `exit` or `xs` Current state has been exited (is in a state) - `changed(V)` or `ch(V)` Variable V has been changed - `true(C)` or `tr(C)` Variable C changes from false to true - `false(C)` or `fs(C)` Variable C changes from true to false - `E1 and E2` The events E1 and E2 happen at the exact same time-step - `E1 or E2` Either E1 or E2 happen at the same time - `timeout(E, n)` or `tm(E,n)` n time unit after event E Sources: - SER 315 Videos - Harel paper: https://drive.google.com/open?id=1WNTlJm1E2kmrXpEJaayPH0Nv4bqbyZhq """>>
An event describes the action that causes the stimulus @b:0182.
A ''history connector'' can be used to indicate the last state held in that state diagram. They can be used in hierarchal states as well, and parallel states. In a parallel state, the history only pertains to that parallel state it is indicated in. This is useful if for example a radio was playing a CD last and you want the radio to remember that and resume the CD when it is turned back on. The notation is a capital H with a circle around it. An example is shown here: https://drive.google.com/open?id=181726uU4n8Ez-fAOnWBaO0xcrxtmJ6kg. The arrow from the history connector indicates the default connection if there is no history, if the starting arrow does not already do that. A history connector can indicate a choice only based on the same hierarchy, or the deepest hierarchy with an asterisk just outside the circle that contains the H. An example is shown here: https://drive.google.com/open?id=1DNUJy9faO-eOBJPARLfw1-dq420SpiWO. A history connector can be lead to by a stimulus as well to indicate that the current state is returned to if a certain event occurs.
A ''stimulus'' can be described as the combination of an arrow and an annotation above it in the state diagram. That annotation can be written in the format of `E [C] / A` where E is the event @b:0183, C is the condition, and A is the action @b:0184. Examples of these three things are E: Pressing a button on a remote, C: Battery is not empty, and A: Send a signal. The pointing end of the arrow goes to the resulting state after the event. Events can be internal or external. Conditions are basically predicates. For example `in(S)` can be used where S is a state. There cannot be two sets of brackets stating separate conditions in one stimulus. Source for conditions are in the note. <<_note """ Source: https://www.youtube.com/watch?v=8SK8NQto7Yw&feature=youtu.be """>>
A ''stereotype'' is an indicator of some kind in the UML language. It is indicted by two back arrows and two forward arrows like so: `<<Boundary>>`.
A ''structural model'' shows the system's organization in terms of it's components and their relationships. This can be static which consists of classes, or dynamic which consists of threads. Some different structural models are below: <div class="tc-table-of-contents"> <<toc-selective-expandable 'UML Structural Model'>> </div>
A ''system class model'' is a model that covers only aspects of the domain that are implemented by the model. Here is an [[image of a complete system class model|Image - Complete system class model]]. Steps to build a system class model: * Start with the domain class model and use case diagram * Identify Actors * Determine the system layers and use UML stereotypes to denote which layer a class belongs to. The general idea of system layers is shown here: https://drive.google.com/open?id=1t_Vf7IuYDYxE4C6GOrOisUlbfa3Vrxus ** Identify boundary classes @b:100 for actors ** Identify control classes @b:102 for use cases. ** Insert entity classes for actors if required. * Identify entity classes * Ensure 1:1 associations between actor/boundary and boundary/control classes * Check model for completeness. Insert new associations if necessary. The model might differ structurally from domain class model and that's okay. * Add the known attributes in all classes. Requirements for a complete system class model: * Actors only connected to boundaries * Boundaries are only connected to Actors or controls * Controls are only connected to boundaries or entities * Each association has multiplicities and a name with a reading direction except actor-boundary and boundary-control because they are always 1 to 1. * Each class has a stereotype * Classes have attributes and types of attributes * Relations between classes are still represented with associations, not as attributes in classes. * Names of classes and associations help reading and understanding the diagram Consistency with [[Domain Class Model|UML Domain Class Model]]: * Actor and entity classes can also be found in the domain class model * If classes in the domain class model had attributes, they need to be in the system class model as well. * If a class or classes from the domain model are neither entity, control, boundary, or actor they might need to be deleted from the domain class model * If a class in the domain class model is an actor, and the system also needs to store data on the actor, the class should be mirrored, so there is an actor, and also an entity. Consistency with [[Use Case Diagram|UML Use Case Diagrams]]: * Actors are the same as in the Use case diagram * Boundary for each actor * Control class for each use case. This is a rule of thumb for the beginning, and may change later on.
A ''use case'' is a generalized description of a high-level interaction between the system and one or more stakeholders or actors in order to achieve a user goal. Use cases can only be connected with each other, and only with either: * [[extends relationship|UML Use Case Extends Relationship]] * [[includes relationship|UML Use Case Includes Relationship]] * or a [[generalization/specialization relationship|UML Inheritance Relationship]].
A ''Communication relationship'' is indicated by a solid black line between an actor and a use-case. These go over system boundaries @b:105.
''Use Case Diagrams'' describe the functional behavior of a system as seen by the user(s) or actors @b:104. They should include all use-cases required to describe system behavior. If an actor is in the use case diagram, it must also be in the domain class model @b:96. Use case diagrams are the first step to describe the complete behavior of the system. An example of a use case diagram is here: https://drive.google.com/a/asu.edu/file/d/0B7RfIR6dx-I5UWhzb1RCZ3dMWEU/view?usp=sharing. Use case diagrams should include the happy case, or the case where everything goes correctly, and every associated exceptional case related to that functionality all in the same diagram. Different levels of abstraction are in the note. <<_note """ High level of abstraction: - An individual use case is a set of functions that belong together. They use similar data, and do similar things. - A use case is composed of different scenarios where each scenario is one system request. This could be things like "addCustomer", or "deleteCustomer", or "changeCustomer", etc. - Use high level use case documentation @b:108. """>>
''Use case documentation'' is associated with a use case diagram. An example of them in different levels of abstraction are in the note. <<_note """ __High level documentation:__ * List scenarios @b:114 that belong to each particular use case __Low-Level Documentation for Use Cases:__ - Short or full descriptions can be used. Those are indicated by an "s" and "f" before each bullet where each short is also included in the full description. s - Unique name: Purchase ticket s - Participating actors: Passenger f - Goals: Explain what the actor is trying to achieve f - Summary: Short informal description f - Preconditions f - Postcondtions f - Related Use cases: List generalizations, extensions, etc. s - Steps: Describe each step using a 2-column format. Focus on interaction., not computation 6. Special requirements: None Low-Level Specification for Use cases: A very highly detailed use case example is here: at minute 14:31 https://www.youtube.com/watch?v=iA_yn_9cWKQ&list=PL9T7Xn6u5-ciX_SDfTi60j7sEedQI-V40&index=3 Each use case is described in a structured natural language narrative that identifies the following: - Objective: Every use case must have a goal the primary actor is trying to achieve - Primary Actor: The one that performs the trigger event - Trigger event: an event that causes the system to respond. - Secondary actors: Participate in interactions in the use case. The interactions are often done by the system with the actors. - Business Rules / Constraints: As they apply; often promoted to the supplementary specification - Pro/Post conditions: Predicates that must exist before/after the Happy case. - One or more scenarios __Very Low-Level Specification for Use Cases:__ - This will be covered in SER 415 -- Use case <<Use case number>> : << Use case title>> -- Objective: << Enter the goal of the use case>> -- Primary Actor: << enter ID and name of actor causing the trigger event>> -- Dependencies: << Indicate the use case relationships this use case participates in with other use cases. For example specialization/generalization, extends, includes>> -- Trigger: << Mandatory usually, Action performed by the Primary Actors>> -- Secondary Actors: <<actors affected by the outcome or secondary participants which are not causing the trigger>> -- Preconditions: << Numbered list. The state of the environment required in order to activate this use case>> -- Post conditions: <<Numbered list. Enter the expected resulting state from the happy case (main success) scenario. Note that the objective is included by definition in the main success scenario. -- Main Success Scenario: <<enter a numbered list of interactions needed to achieve the objective of the use case.>> -- Variations --- Variation ID: << Enter variation ID, should be UC-ID plus a VAR-XX suffix. Idk what that means yet>> --- <<enter a numbered list of variations to the steps in the main process above. Indicate whether the variation is an addition, replacement, or removal of interactions from the main flow>> --- <<If the variation requires different preconditions or affects changes in the postconditions be sure to note the changes here. Typically neither is required for a non-failure variation, though sometimes there are additional pre-postconditions>> -- Failure Variations --- Variation ID: <<Enter variation ID, should be UC-ID plus a VAR-XX-F suffix. Don't know what this means yet either>> --- << enter a bulleted list of possible variations to the steps in the main process above>> --- << indicate the postconditions associated with this negative outcome, and whether the use case is re entrant (you can repeat subflows or main success scenario or some alternate action as recovery)>> -- Business Rules --- << Enter business Rules. Typically these start here, then if they are applied accross more than 1 use case they they are moved to the catalog area>> -- Notes: << free form text here>> """>>
An ''extends relationship'' is indicated by a solid line with a solid arrow on the side of the basic use case. The basic use case would be the "happy case" for that scenario and needs to be able to stand on it's own. This represents seldom invoked use cases or exception functions such as an error or no change in an ATM. It could be something chosen often though like "Place order" as the basic use case with "Place Rush Order" extending that. The line is denoted with `<<extends>>`. Exceptional functions can extend more than one use case, for example an `outofOrder` function would extend many use cases more than likely. It is not allowed for an actor to directly communicate with a use-case that is an extension.
An ''includes relationship'' is indicated by a solid line with a solid arrow on the side of the use case that is required to occur if that use-case occurs. It is used to represent functional behavior common to more than one use case, and required functions of a given use-case. For example "Place Order" would have an includes relationship pointing to a function that says "Validate User" because no matter what the user has to be validated if they place an order. An includes relationship is indicated by `<<include>>` over the line.
A ''Use case model'' combines a [[use case diagram|UML Use Case Diagrams]] with it's associated [[use case documentation|UML Use Case Documentation]].
A ''System boundary'' is indicated by a solid black line forming a square separating the actors from the use cases. This can be associated with a classifier at one of the corners indicated what part of the system it is designating. For example a classifier could be course or watch to indicate what is being interacted with.
An ''undirected graph'' is a [[graph|Graph (Data Structures)]] where the pairings that represent the edges are unordered. So every edge is considered to be pointing in both directions. For example listing an edge as edge(A, B) is the same as listing the edge as edge(B, A).
''Unicode'' is a type of character input that takes 16 bytes per character. There are a lot of different options. Here is a [[wikipedia guide on how to use unicode characters|https://en.wikipedia.org/wiki/Unicode_input]].
''EFI'' or ''Extensible Firmware Interface'' or ''UEFI'' or ''Unified EFI'' is specification that defines a software interface between the firmware on a system and the operating system. See also: * [[Wikipedia article on UEFI|https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface]]
''Unified Modeling Language - UML'' diagrams show relationships among classes, objects, or activities. More generally they denote graphs of nodes and edges and represent a view of a system. ''Nodes'' are entities drawn as rectangles which denote classes or instances, and ovals which denote ''functions''. Class names are not underlined, instance names are underlined. UML is used to go from the [[system specification|Software Specification]] to a design, instead of trying to jump straight into code. UML supports [[object-oriented|Object Oriented Programming (OOP)]] design, but is not fixed to any methodology. UML is unified in that each diagram gives a different view on the same system. Here is an image of the different UML Diagram types: {{$:/Image - UML Diagram Types}} Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Unified Modeling Language (UML)'>> </div>
A ''URI'' or ''Uniform Resource Identifier'' is a way of identifying some [[resource|Resource (Computer Science)]] online, or otherwise. A web address is a URI. URI can be used interchangeably with ''URL'' or ''Uniform Resource Locator''. Some people think there is a large difference, some people think there is none. The general format of a URI is below: ``` <protocol>://<optional-user>[@]<host>:<port>/path?query#fragment ``` Unsafe characters are encoded. Those characters are `;,?:@=&`, space, and tab. Space can be replaced by `+`. Encoding takes the form of a `%` followed by the 2 digit hex value of the [[ASCII|American Standard Code of Information Interchange (ASCII)]] code for that character. For example space is `%20`.
The ''union'' of sets A and B includes elements in either A, or B, or both, and is denoted by $$~A \cup B~$$. Or in other words $$~A \cup B = \{ x | x \in A \lor x \in B\}~$$. The union is the theoretical equivalent of inclusive or. The union of a collection of sets is the set of all elements that are contained in at least one of the sets. $$~A_1 \cup A_2 \cup ... \cup A_n = \bigcup\limits_{i = 1}^{n} A_i~$$
''Development Testing'' or ''Unit Testing'' checks that an individual program unit such as a sub-program, object class, package, or module behaves correctly. Unit testing is an example of [[white box testing|White Box Testing]]. A unit test is typically written using a unit testing framework such as [[JUnit|JUnit]]. Normally unit testing is done by the programmer as the component is being made which is economical, but traditionally unit testing is done after the object design is completed. Plus the programmer would be the best person to test the component because they know how it works. The goal of Unit testing is to confirm that the component or subsystem is correctly coded and carries out the intended functionality. Logical code: * An if statement * A loop * Switch case * Calculations * Any other type of decision making code Unit testing flow: # Create unit tests when object design is completed. Black box test, and white box test. # Develop test cases. Find the effective number of test cases. # Cross-check test cases to eliminate duplicates. # Describe the [[test oracle|Test Oracle]] # Execute the test cases and re-execute test whenever a change is made # Compare the results of the test with the test oracle. Automated if possible. Good unit tests are: * Automated and repeatable * Easy to implement * Once it's written it stays on for the future * Anyone can run it * It runs at the push of a button * It runs quickly Sources: * [[The art of unit testing|https://drive.google.com/open?id=1meDvF57KVvjqLZvB5LExIPb318WvaYZH]]
The ''UART'' is used for [[serial communication|Serial Communication]] with a device. This means it only has one wire per direction of data. UART sends over data in [[ASCII|American Standard Code of Information Interchange (ASCII)]]. See also: * [[PLP Tool UART]] * [[Wikipedia page on UART|https://en.wikipedia.org/wiki/Universal_asynchronous_receiver-transmitter]]
Universal instantiation and modus ponens are used so often together, the combination is sometimes called ''universal modus ponens'' and is described as follows: $$(\forall x(P(x) \to Q(x)) \land P(a)) \to Q(a)$$ , where $$a$$ is a particular element in the domain.
''Universal modus tollens'' is described as $$(\forall x (P(x) \to Q(x)) \land \neg Q(a)) \to \neg P(a)$$ Where $$a$$ is a particular element in the domain, which means you can choose it.
The ''universal quantification'' of P(x) is the statement "P(x) for all values of x in the domain". The notation $$\forall x P(x)$$ denotes the universal quantification of P(x). Here $$\forall$$ is called the universal quantifier. We read $$\forall x P(x)$$ as "for all xP(x)" or "for every xP(x)". An element for which P(x) is false is called a ''counterexample'' of $$\forall x P(x)$$. If the statement $$\forall x P(x)$$ is true then P(x) is true for every x. If it is false, then there is an x for which P(x) is false. If all elements in a domain can be listed out, such as $$(x_1, x_2, ... , x_n)$$ then it follows that $$\forall x P(x)$$ is the same as the conjunction $$P(x_1) \land P(x_2) \land ... \land P(x_n)$$ are all true. It is an implicit assumption that the domain for $$\forall xP(x)$$ will not be empty, but if it is, then $$\forall xP(x)$$ is true for any propositional function P(x) because there is no value of x that can be false.
''Unix'' is a family of multitasking, multiuser [[operating systems|Operating Systems]]. It is trademarked as UNIX. [[Linux|Linux]] is "Unix-like" because of legal reasons, although it is the most prominent example of a "real" Unix OS. [[Mac OSX|Mac OSX]] is also based on Unix. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Unix'>> </div>
`cat [options] [filenames]` reads a file or manipulates it if wanted. Simply using `cat file1` will read that file to the terminal window. It sounds like `cat` can be used to append things to the end of a text file as well.
Some ''basic unix commands'' with their descriptions are in the note. These are chosen based simply on how noteworthy they seem, and is not meant to be exhaustive. This note is meant to be a quick reference. * `PWD` Reports the full path to the current directory. * `top` - Shows the currently running processes and resource allocation * `strace` - show [[system calls|System Calls]] for invocation of program <div class="tc-table-of-contents"> <<toc-selective-expandable 'Unix Commands'>> </div>
The ''dd utility'' is built into most [[Unix|Unix]] distributions and can be used to read [[memory blocks|Magnetic Disk Logical Blocks]] from a block level device and put them into a memory buffer. It will then output from that memory buffer to a desired location. It does a full [[bitstream copy|Digital Forensics > Bitstream Copy]]. An example of the command is below: ``` dd <options> if=/some/file/path of=/some/output/path.dd ``` * `if` in this case means input file * `of` in this case means output file. By default this is stdout. This can be redirected via [[pipelines|Bash Command Piping]]. For example `dd if=/dev/fd0 | nc 192.168.1.2 2222` for using [[netcat|Unix netcat Utility]]. Some of the `<options>` are below: * `bs=n` where `n` can be the block size of n bytes. This can also be `nk` where `k` represents kilobytes. A larger block size can decrease imaging time. This can be a maximum of up to about 8k. More specific block sizes can be specified below: * `ibs=n` specifies the input block size equal to `n` * `obs=n` specifies the output block size equal to `n` * `count=s` means that it will stop after copying `s` blocks. * `skip=n` means that it will skip `n` ibs-sized blocks at the start of the input. * `seek=n` means that it will skip `n` obs-sized blocks at the start of the output file before copying. * `conv=<comma-delimited-options>` where `conv` means conversion. The different options are below: ** `noerror` means that it will continue past bad blocks and errors. ** `sync` means that it will pad areas that are errors or bad blocks with zeros. A downside to `dd` is that it will not provide feedback to the user about the progress. You do not know if DD is still running or encounters an error. If it encounters a bad sector it will just stop what it is doing unless you use an option that prevents it. Some other uses for `dd` are sterilizing media by using `if=/dev/zero` or `if=/dev/random`. If using one of those files, you should specify `count` otherwise it will fill up your whole drive with zeros. lol. Some organizations say that you need to do 3 passes of overwriting with 0s to make sure no data is left. Sometimes data can be picked up with an electron microscope otherwise. There is another tool called ''sdd'' that is dd specifically for forensic evaluations. It is also much faster than dd in some cases. Another tool is ''dcfldd'' by the department of defense. This gives a progress bar to indicate the file being copied.
It seems that the ''declare command'' can be used to create or edit environment variables without restarting the shell. For example: ```bash declare -x CLASSPATH="./classes" ```
The ''find command'' can help find files. It takes the keyword `find` then the directory to search, which can be `.` for the current directory, then some optional flags with parameters. It is broken down below: ``` find <directory> <flags> ``` * `<directory>` can be a directory such as `.` to search within * `<flags>` can be ** `-name <search-term>` followed by a search term such as `"filename"`. This search term seems to be compatible with [[RegEx|Regular Expressions (Regex)]]. ** `-print` which will print out the results
The ''grep command'' seems to search the content of all files in the current directory or sub-directories. It seems that it is normally used with a [[pipeline in Bash|Bash Commands and Features]]. For example: ```bash ls -l | grep -i lib ``` The command has the following general structure: ```bash grep <-options> <search-characters> <optional file types> ``` * `<-options>` can be a combination of the following: ** `-i` means case insensitive * `<search-characters>` means a word to search for like `contract` * `<optional file types>` can be something like `*.java` to search all java files in the current directory.
The ''ifconfig command'' can be used to find the network information on the device. When printing out the information, if `PROMISC` comes up as a mode that is enabled, that is normally an indication of a hacked machine in some way. That means that it will be picking up all information sent out by the network instead of the traffic that is meant for the machine.
The ''lsof command'' will list all open files on a [[Unix|Unix]] machine. This is helpful because almost everything is a file on Unix. The keyboard is a file, the ram is a file, drives are a file, etc. `lsof` can also be used to find "hidden files". Hidden files in this context are files that a program has used in memory and is making changes to, but has deleted the file on the secondary storage system. This way the file is now only present in memory. You can use `lsof +L1` which means "find all files with a link count of less than 1". Some notable options are below: * `-i` will show all the files opened by an internet address it seems.
The ''netcat utility'' is a command that can be used on Unix machines to redirect output of commands on the client machine to a server machine. Some steps are below: # Setup the `netcat` listener on the receiving forensic machine. For example `nc -l -p 2222 > meaningful_Name` will set up netcat on port 2222. # Send information from the client machine to the forensic machine by using a [[pipeline|Bash Command Piping]]. For example: `who | nc 192.168.0.2 2222`. Assuming the forensic machine is on 192.168.0.2. There is another tool called `cryptcat` that encrypts the data. See also: * [[SANS netcat cheatsheet|https://www.sans.org/security-resources/sec560/netcat_cheat_sheet_v1.pdf]]
The ''PATH'' environment variable is a colon delimited list of directories that the shell searches through when a command is entered. To find out what the `PATH` is on a particular machine, type in `echo $PATH`. To find the location of a command you can type `which <commandName>`. for example `which javac`. To add a directory to the PATH variable, you can run the following: ```bash export PATH=$PATH:/place/with/the/file ```
''Pipes'' in [[Unix|Unix]] are a concept for passing information between [[processes|Operating System Processes]]. It acts kind of like a magic variable where writes can happen on one end, and reads can happen on the other. There are different considerations with pipes, such as bidirectional communication, or unidirectional. Asymmetric or symmetric. Networked or local. There are two types of pipes: * ''Ordinary pipes'' are only valid in the process in which they are defined? * ''Named pipes'' are basically global variables
`ps` will give a listing of [[processes|Operating System Processes]] in the system. * The option `-el` will give all processes and detailed information
The ''set command'' seems a little mysterious. It seems to return everything that is set as an environment variable. `set` can be used with the [[pipeline bash feature|Bash Command Piping]]. See also: * [[Unix declare Command]]
Unordered lists have elements ordered only by their placement in the list. They may have an order, but that is up to the client of the list and where they are deciding to put any given element. Adding elements to an unordered list defaults to the rear of the list.
''Unstructured data'' is [[data|Data]] that doesn't have a type, or [[meta-data|Metadata]], or any kind of [[self-description|Self-Describing Data]]. It could be just a stream of bytes. An example of unstructured data is a [[BLOB|SQL Bit-String Data Types]], or [[CLOB|SQL Character-String Data Types]]. See also: * [[Structured Data]]
''Usability testing'' is testing that is meant to evaluate the extent to which a user can operate, prepare inputs for, and interpret outputs of a system or component. This is usually done by a specialist. See also: * [[ISO 9241 Usability]]
''User Datagram Protocol'' or ''UDP'' is part of the [[transport layer|TCP/IP Network Layers > Transport Layer]]. This protocol allows the receiver to detect corrupt packets but does not guarantee that packets are delivered in the correct order, or at all. UDP is often much faster than [[TCP|Transmission Control Protocol (TCP)]]. UDP is considered an unreliable protocol. [[Packets|Network Packets]] with UDP can all travel a different route based on things like network congestion, and cost of transmission. Each packet has a ''time-to-live counter'' or ''TTL counter''. When the timer expires, the packet is discarded and the recipient will not be notified. Packets that are corrupt or partially delivered are discarded. See also: * [[Java java.net.DatagramPacket Class]] * [[Java java.net.DatagramSocket Class]]
''User stories'' are similar to [[use cases|UML Use Case]] except they are less specific. User stories are short, simple descriptions of a feature told from the perspective of the person who desires the new capability, usually a user or customer of the system. They should fit on a 4x6 index card. User stories typically follow a template: ``` As a <userType>, I want <someGoal> so that <someReason>. ``` For user stories, focus on capturing a conversation. Here is an [[example of a user story with details in it|$:/Image - Example of a user story]]. Some user stories are too large to complete in one iteration for an [[agile process|Agile Software Processes]]. These user stories are called ''epics''. For example "As a user, I can backup my entire hard drive". This can be broken up in many, many different smaller user stories. To get a user story, have a conversation with the customer. Don't lead or constrain the user or point toward some solution. Let them tell the story. Some characteristics of a good user story are below: * Independent: Does not depend on other user stories * Negotiable: Business and Developer will negotiate over them * Valuable: To users, business, or developer. * Estimable: Developer can assign an idealized estimated time to it * Small: Large stories are complex and incomplete, hiding assumptions. Although a user story with just one task is considered too small. * Testable: The goal is to define acceptance tests See also: * [[Good web page on user stories|https://www.mountaingoatsoftware.com/agile/user-stories]]
''User-centric design'' is focuses on the user's perspective. ISO 9241 @b:116 uses this type of model.
You can quickly prove that a theorem of $$p \to q$$ is true by simply proving that p is false because if p is false then the statement $$p \to q$$ is always true by default. This is called a ''vacuous proof''.
In a ''vacuum tube'' an extra terminal is added near the filament (built just like a light bulb without the extra terminal), so that electrons can flow through the filament if a voltage is applied to the extra terminal, and can't if not. This was much faster than [[magnetic relays|Magnetic Relays]] because it required no moving parts.
A ''variable'' consists of the following aspects: * Value: A variable can hold a single value, or a set of them. If a value can appear only on the right hand side of a statement, which is true for most languages, then it is called an ''r-value''. * Location: A variable is associated with a memory location or a set of locations. The value of the variable is stored at that location. * Address: The address of a variable is a natural number directly associated with a memory location by the hardware. The address refers to a [[literal|Literals (Programming Languages)]] number. * Name: The name is a mnemonic symbol that provides a convenient way to access it. A name is associated with a memory location, or translated into the address of the memory location, by the compiler. Some languages only use names to access memory locations such as [[Java|Java]]. Some languages allow both names and addresses to access memory locations such as C/C++. A variable can appear on the left hand side and right hand side of a statement so it is called an ''l-value'' or ''locator value''. If a variable is referred to on the left hand side of an assignment, it refers to the memory location, if it is used on the right hand side, it refers to the value stored at that memory location.
A ''variable declaration'' in a [[high-level programming language|High-Level Programming Languages]] binds a name to a location in memory that can be easily accessed for the programmer so the programmer can access the memory location and the value stored there. A declaration stores the following types of values there: Type, Scope, qualifier (modifiability such as constant), variable initialization. Typically the [[compiler|Compiler]] allocates the memory and binds the name.
<<list-links "[tag[Various Website Sources]sort[title]]">>
A ''vector'' is a quantity that has both magnitude and direction. They are typically represented by the pairing of two points. Such as $$\overrightarrow{AB}$$. In the case where a vector is a pairing of two points, it has an x, y, and z ''vector component''. These components are where the vector would be if a line were drawn perpendicular to the components axis, to the point of the vector. See below for an example: [img width=400 [https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/1989/2017/06/13224826/vectordecomp.jpeg]] In this case the Horizontal Component is the x component, and the A vector can also represent an area as it's first value, and the second value being the magnitude. So for example this could be a plane, then a direction that the plane is expanding.
''Version control'', ''version management'', or ''source code control'' is part of [[configuration management|Software Configuration Management (SCM)]] and involves keeping track of different software system components and ensures that changes made to components by different people do not interfere with each other. The normal metadata that is associated with a change is: * Timestamp * Username * Comment Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Version Control'>> </div>
A ''version control system'' or ''VCS'' fulfills the requirements of [[version control|Version Control]]. Hallmarks of these systems are below: * Version and release identification * Change history recording * Independent development - Different developers can be working on the same component at the same time. * Storage management - The system maintains diffs of files instead of actually storing entire separate copies of versions. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Version Control System'>> </div>
The ''Vim editor'' is a [[command line|Command Line Interface (CLI)]] text editor for [[Unix systems|Unix]]. Here is a good thing to add to your `~/.vimrc` file for [[git commits|Git Commit Messages]]. ``` filetype on au FileType gitcommit set textwidth=72 au FileType gitcommit set colorcolumn+=51 ```
''VirtualBox'' is a virtual machine management program. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'VirtualBox'>> </div>
The ''Visitor design pattern'' is used to separate relatively complex structured data classes from the functionality that may be performed upon the data that they hold. The key benefit to this is the ability to add new operations easily. Further details on implementation are here: http://www.blackwasp.co.uk/Visitor.aspx
The ''Volatility Framework'' can be used to analyze memory dumps from both Windows and Unix based systems. It cannot be used to actually collect [[volatile memory|Digital Forensics > Volatile System Data]]. It looks like there are many, many plugins that can be used with it. Some notable plugins are below: * `pslist` which displays all running processes by following the EPROCESS lists. So it doesn't find hidden processes. * `psscan` scans the memory for process objects in general, so it should find hidden processes * `psxview` actually finds hidden processes specifically * `connscan` displays artifacts from previous connections. So these should be shut down connections. See the [[connscan documentation|https://github.com/volatilityfoundation/volatility/wiki/Command-Reference#connscan]]. * `hivelist` Supplies the offset of a specific hive or prints out the results from hivescan if one isn't specified * `hivescan` is a pool scanner for registry hives. See also: * [[Github site for Volatility Framework|https://github.com/volatilityfoundation/volatility]]
''Voltage'' is the difference in electric potential between two points. This is measured in volts (V). The earth or ground is 0 V. Voltage is analogous to water pressure in a pipe. It is eager to flow and possibly stopped because of a closed faucet.
Vue is a method of programming web-pages in a reactive way. It is loosely based on the [[Model-View-ViewModel (MVVM) Architectural Pattern]]. Table of contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Vue' sort[title]>> </div>
The ''bind directive'' is a way to dynamically bind a specific attribute of an element in HTML. The code can be written by putting a prefix of `v-bind:` before the attribute to bind. A short hand notation can also be used for this which is just the `:` before the attribute. This will make it so whenever that attribute is accessed, it will access where the value is in the vue instance data @b:63 first before displaying it. An example is in the note. The `{{}}` is not needed for a bind directive, because anything within the html quotes, is now javascript it seems. When the bind directive is used with classes, an object can be passed, with classes and associated boolean values indicating if they are on or off. For example `<div v-bind:class="{red: false}"></div>` will make it so the red class is not available on that div. Setting it to true will allow it. The boolean values can access vue instance data keys that are boolean. A class example is shown in the notes. <<_note """ Example 1: `HTML <div id="app-2"> <span v-bind:title="message"> Hover your mouse over me for a few seconds to see my dynamically bound title! </span> </div> ` `JavaScript var app2 = new Vue({ el: '~#app-2', data: { message: 'You loaded this page on ' + new Date().toLocaleString() } }) ` Class Example 1: `HTML <div id="vue-app"> <h1>Dynamic CSS</h1> <h2>Example 1</h2> <div v-on:click="available = !available" v-bind:class="{available: available}"> <span>Ryu</span> </div> <h2>Example 2</h2> <button v-on:click="nearby = !nearby">Toggle nearby</button> <button v-on:click="available = !available">Toggle available</button> <div v-bind:class="compClasses"> <span>Ryu</span> </div> </div> ` `JavaScript new Vue({ el: '#vue-app', data: { available: false, nearby: false }, methods: { }, computed: { compClasses: function() { return { available: this.available, nearby: this.nearby } } } }); ` """>>
The ''Vue CLI'' is a way to efficiently bundle together Javascript code with webpack and a number of other things. See also: *[[Process - Vue CLI Project Initialization]]
The ''Vue component data option'' or ''Vue component data property'' has all the same features as the [[vue data option|Vue Data Option]] with the exception that the data needs to be held within a function. This is so that each time the component is used, it's data is recreated, otherwise the data would be linked to each other instance of the component when it is used. Here is an [[example of using the data option in a vue component|Example - Vue - Using the data option in a component]]. See also: * [[Example - Vue - Example of a component 1]]
The ''Vue Component Options Object'' is a special variation of the [[Vue Options Object]] and holds all the same options with the exception of the following: * [[Vue Component template Property]] * [[Vue Component data Option]] See also: * [[Example - Vue - Example of a component 1]]
''Component registration'' can be done either globally or locally. If done globally, any other component can use it. Locally means only that component can use it. To register a component, it can be added to the `main.js` file with an import statement, and `Vue.component` statement. An example of a simple global registration is in the note where `Ninjas.vue` is the new component to be registered. Once the component is registered, it can be added like a normal component tag in HTML in the `App.vue` file, or any other .vue file using the components name. If the component should be added locally, then it can be added in the script tag of the local vue file where it is going to be used. An example of a local registration is in the note. <<_note """ Global Component registration example 1: `js import Vue from 'vue' import App from './App.vue' import Ninjas from './Ninjas.vue' Vue.component('ninjas', Ninjas) new Vue({ el: '#app', render: h => h(App) }) ` Local Component registration example 1: ` vue <template> <div> <h1>{{title}}</h1> <ninjas></ninjas> </div> </template> <script> import Ninjas from './Ninjas.vue' export default { components: { 'ninjas': Ninjas }, data () { return { title: 'Ninja app' } } } </script> <style> </style> ` """>>
The ''Vue component template property'' can have a string that holds html. For example `template: '<p>This is reusable code</p>'` is a key value pair in the object that is passed as the second parameter in the [[vue component|Vue Components]]. See also: * [[Example - Vue - Example of a component 1]]
A ''Vue Component'' is a way to reuse code in Vue. These can be made by putting `Vue.component('componentName', {})` above any [[vue instances|Vue Instances]] in the JS file. The object parameter is the [[Vue Component Options Object]] which contains the details of the component. After declaration, the `componentName` can be used in any vue controlled HTML as the element name. For example: `<componentName></componentName>`. See also: * [[Example - Vue - Example of a component 1]] Table of contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Vue Components' sort[title]>> </div>
''Vue computed option'' are an extra object on the view instance defined by `computed:` This makes it so functions can be defined, without actually needing to call them with events if their variables change. Only the functions with variables that have changed will be called. Computed properties are accessed by just stating the function name without parenthesis such as `addToA`. An example is in the note. Example Computed Properties: html: ``` <div id="vue-app"> <h1>Computed Properties</h1> <button type="button" name="button" v-on:click="a++">Add to A</button> <button type="button" name="button" v-on:click="b++">Add to B</button> <p>A - {{a}}</p> <p>B - {{b}}</p> <p>Age + A = {{ addToA }}</p> <p>Age + B = {{ addToB }}</p> </div> ``` js: ``` new Vue({ el: '#vue-app', data: { age: 20, a: 0, b: 0 }, methods: { }, computed: { addToA: function() { return this.a + this.age; }, addToB: function() { return this.b + this.age; } } }); ```
When a [[vue instance|Vue Instances]] is created, it adds all the properties found in the ''data option'' or ''data object'' to Vue's reactivity system, which means that when the values of those properties change, the view will react, updating to match the new values. Data in the data option are only reactive if they were present when the instance was created, so new options created afterwards will not be reactive. In order to get around this, an initial value can be set for a property that will needed in the future. Properties in the data option can be used in different ways, depending on the intention. Some different methods of interpolation are listed below: * [[Vue Data Option Text Interpolation]] * [[Vue v-html Directive]]
Properties in the [[data option|Vue Data Option]] can be used as ''text interpolation'' between elements in the HTML by enclosing the property name with two curly brackets `{{ propertyName }}`. For example: //HTML:// ``` <span>Message: {{ msg }}</span> ``` To make it so data properties are only used once, and not updated, the [[v-once directive|Vue v-once Directive]] can be used.
A ''directive'' is the "v" prepending a vue keyword before an attribute. For example "v-bind:title" . The vue directives are cited with #Vue_Directives.
''Dynamic components'' can be used where a component may be variable where it is placed. This can be done by putting a `<component></component>` tag in the template section of a component. Then the term `<component is="component-name"></component>` can be used, and thus, so can data binding like `v-bind:is="dataName"` making it variable. Doing this will delete any data when the component is changed though, because the component is destroyed. This can be avoided by using the `<keep-alive></keep-alive>` tag. An example is in the note. This is great for menus! Vue: ``` <template> <div> <keep-alive> <component v-bind:is="component"></component> </keep-alive> <button v-on:click="component = 'form-one'">Show form one</button> <button v-on:click="component = 'form-two'">Show form two</button> </div> </template> ```
The ''element option'' of the [[options object|Vue Options Object]] begins with `el`. It is used to specify an element in the HTML file that the [[vue instance|Vue Instances]] will then control. It seems to use [[CSS selectors|CSS Selectors]] to choose the element. An example is below: HTML: ``` <div id="vue-app"></div> ``` JavaScript: ``` let v = new Vue({ el: '#vue-app' }) ```
A ''Vue event bus'' is a [[vue component|Vue Components]] that creates a path for events to be listened to and sent between different components without using the parent of those components. An example is below: Creating the event bus: It can go in the main.js file: //JavaScript:// ``` import Vue from 'vue' import App from './App.vue' export const bus = new Vue(); new Vue({ el: '#app', render: h => h(App) }) ``` the bus is the new constant. It is exported so that it can be imported from the other components that need to use it. In the component that wants to send the event: //Vue:// ``` //code import {bus} from '../main'; //code methods: { changeTitle() { //this.emit(′changeTitle′,′VueWizards′);this.title=′VueWizards′; this.title = 'Vue Wizards'; bus.$emit('titleChanged', 'Vue Wizards'); } } //code ``` In the component that wants to receive the event: //Vue:// ``` //snippet import {bus} from '../main'; //snippet data () { return { copyright: 'Copyright 2018' } }, created() { bus.$on('titleChanged', (data) => { this.title = data; }) } //snippet ```
An @b:66 ''event directive'' is conducted by using `v-on:` before the attribute of an element. This can be used with any html events such as `v-on:click="jsFunctionOrDataMethodName"` A shorthand for `v-on:` is simply using `@` before the event attribute. An example is in the note. If a method name is used, the parenthesis do not need to be included, because Vue knows that any event is going to be calling a function. When a method is triggered from an event, the event can be passed to the method with the keyword `event`. This keyword can be used in the method parameters stated in the js as well, without actually passing it as an argument in the html. This is automatically generated when there is an event. The event properties can be checked by using `console.log(event);` in the method function. Vue events can have event modifiers @b:65 on them. <<_note """ Event Directive Example 1: `html <div id="vue-app"> <h1>Events</h1> <button type="button" name="button" v-on:click="age++">Add a Year</button> <button type="button" name="button" v-on:click="age--">Subtract a Year</button> <p>My age is {{ age }}</p> </div> ` """>>
''Event directive modifiers'' can be placed directly after the vue event directive @b:66 for example: `v-on:click.once` where the `.once` is the event directive meaning that the event will be fired only once. Other event modifiers are in the note. Modifiers can be chained together. Key modifiers are in the note too. <<_note """ Vue.js Event Modifiers: - `.prevent` will prevent the normal functionality of the element in HTML, but will still allow the event to fire. For example this could block a link from being followed. Vue.js Key Modifiers: - '.enter' will activate the event when the enter key is pressed. - '.alt' will activate only when the the alt key is held """>>
''Vue events'' from child to parent can be called by making a method or a computed property call an event in some parent component of the component that it is being used in. This can be done by making a method contain a statement that says `this.$emit('parentMethodName', <parameter>)`. An example is in the note. Much like a prop @b:75, the method call can be tracked from the parent within the component that designates that child component. For example: `<app-header v-on:parentMethodName:"someMethodToFireInParent($event)"></app-header>`. To pass events just between certain components, an event bus @b:76 can be used. Vue event full example: App.vue file `vue <template> <div> <app-header v-bind:title="title" v-on:changeTitle="updateTitle($event)"></app-header> <ninjas v-bind:ninjas="ninjas"></ninjas> <app-footer v-bind:title="title"></app-footer> </div> </template> <script> import Header from './components/Header.vue' import Footer from './components/Footer.vue' import Ninjas from './components/Ninjas.vue' export default { components: { 'app-header': Header, 'ninjas' : Ninjas, 'app-footer': Footer }, data () { return { ninjas: [ {name: 'Ryu', speciality: 'Vue Components', show: false}, {name: 'Crystal', speciality: 'HTML Wizardry', show: false}, {name: 'Hitoshi', speciality: 'Click Events', show: false}, {name: 'Tango', speciality: 'Conditionals', show: false}, {name: 'Kami', speciality: 'Webpack', show: false}, {name: 'Yoshi', speciality: 'Data Diggin', show: false} ], title: 'Vue Ninjas' } }, methods: { updateTitle(updatedTitle) { this.title = updatedTitle; } } } </script> <style> </style> ` Header.vue file `vue <template> <header> <h1 v-on:click="changeTitle">{{title}}</h1> </header> </template> <script> export default { props: { title: { type: String } }, data () { return { title: 'Vue Ninjas' } }, methods: { changeTitle() { this.$emit('changeTitle', 'Vue Wizards') } } } </script> <style scoped> header { background: lightgreen; padding: 10px; } h1 { color: #222; text-align: center; } </style> `
''Style tags'' in vue files can be scoped so that the style only applies to that specific vue component's elements. This can be done by changing the style tag in the vue file to `<style scoped></style>`. This will set a special unique attribute to each element automatically so that only those elements will be affected by the style.
The ''Vue file template'' holds the HTML for the for the component. It needs to be a `<template></template>` tag with one single enclosed element such as `<div></div>`.
A ''Vue File'' is an extension of a [[vue component|Vue Components]]. The nice part about using a file, is that the template property of the [[component options object|Vue Component Options Object]] is an element in the Vue file. This makes it so full sections of HTML can be written in the vue file under the template tag. The vue file also contains a script element which contains the javascript for that particular component, and the style element which contains the css for that particular component. A very basic vue file is shown below: Example vue file: ``` <template> <div> <h1>{{title}}</h1> <p>{{greeting()}}</p> </div> </template> <script> export default { data () { return { title: 'Your first Vue file, wooo!' } }, methods: { greeting: function() { return 'heeeey cowboy' } } } </script> <style> </style> ```
The ''for directive'' allows arrays to be looped through. For example if a list element in HTML needs to be created for each element in an array specified in data in the vue instance, then it could be referenced with `<li v-for="character in characters">{{ character }}</li>` where `characters` is the array of values. `character` can be any variable name, and it is used to reference each array item that is looped through. If the array is storing objects, their properties can be referenced like normal javascript with dot notation. The index can be referenced too by changing what is passed to v-for like so: `<li v-for="(ninja, index) in ninjas">{{ index }} {{ninja.name}} - {{ninja.age}}</li>`. The for loops can be nested as well. An example of that is in the note. <<_note """ V-for Nested Example: html: ``` <template v-for="ninja in ninjas"> <div v-for="(val, key) in ninja"> <p>{{key}} - {{val}}</p> </div> </template> ``` """>>
The ''if directive'' will show an html element if the associated boolean value is true, and will not show it if it's boolean is false. For example `<p v-if="true">This is shown</p>`.
A ''Vue instance'' is instantiated in javascript with `new Vue({})`. For example: ``` let v = new Vue({}); ``` The object passed to a new Vue instance is called the [[options object|Vue Options Object]].
The ''Vue methods option'' can be added to a [[vue options object|Vue Options Object]] by adding a `methods` key value pair where the value is of the type `{ [key: string] : Function }`. Once a method is defined, it can be called in the HTML by using `{{ functionName() }}` with the added parenthesis, because that's how functions are called. Parameters can be passed in as well, and declared in the method in javascript. Any Data @b:63 can also be accessed in the methods by using the `this` keyword which will refer to the vue instance, then the data key. For example if a name was defined in data, it could be accessed within a method by using `this.data.name;`. Vue allows for a little easier syntax though, it allows for `this.name`. Javascript: ``` new Vue({ methods: { greet: function(timeOfDay){ return 'Good ' + timeOfDay; } } }); ```
__Needs more notes or better understanding__ The ''model directive'' or ''two-way data binding'' can be used to bind a [[data option property|Vue Data Option]] directly to the value of an [[element's attribute|HTML Attributes]] without passing functions upon the activation of [[HTML events|HTML DOM Events]]. Its a way to make the code more clear and smaller, without making a bunch of extra functions to pass values. This can be done for example with //HTML:// ``` <input type="text" v-model="age"/> ``` where `age` is a data property of the vue instance. This can be changed so that it waits until the user tabs, or clicks out of the field to update the property with the extra property `v-model.lazy="age"`.
Vue can have ''nested components'' with Vue CLI. Everything is based on the root component which is the `App.vue` file. Other components under the root could be the header component, article component, and footer component.
The ''options object'' is what is passed to a new [[vue instance|Vue Instances]] and contains all of the properties of a view instance which are called options. Some of the options are listed below: <<list-links "[tag[Vue Options Object]sort[title]]">>
''Vue props'' can be used to pass data between components. They need to be received in the receiving component below the parent component that will be sending the prop with the instance data section `props: ['ninjas']`. The props property holds an array, and each name is the name of the data property to be passed. In the sending component, lets say that the child component in question is being used as a component with `<ninjas></ninjas>` for example. Then to pass the data named `ninjas` which happens to be an array of ninjas, the data can be passed with `v-bind`. So the full element in the parent component would be `<ninjas v-bind:ninjas="ninjas"></ninjas>`. Once the prop is received it can be used in the same way as any other data property.
''Vue props type checking'' can be done by making the props value of the receiving component into an object instead of an array. Then within the object, the type can be set which makes sure it is of a certain type. If it is not of that type, it will throw an error in the console of the application. An example is in the note. `required` can also be set to `true` to make sure it is there. ``` export default { props: { ninjas: { type: Array } }, data () { return { } } } </script> ```
Vue Refs can be used to link elements to a refs object. This refs object can be used to access properties of certain elements in the vue controlled element. For example to declare a ref for a certain object the following can be used: `<input type="text" ref="input"/>` then in the associated vue instance, that ref can be accessed through `this.$refs` which will return an object containing each ref name that is used in the HTML.
The ''show directive'' works very similarly to the if directive @b:67, with the difference that it will show the element if the associated boolean is true, and hide it if it is false. For example `<p v-show="true">This is shown</p>`. The difference is that the show directive doesn't take the element out of the DOM, it will just set it's css property `display` to `none`.
The ''slot tag'' can be used within a component to allow html to be put in wherever it lies, from the parent. An example is in the note. Slots can be named as well so they go in the desired location. This is also shown in the note. <<_note """ Slot tag example: Parent vue file: `vue <template> <div> <slot name="title"></slot> <h1>I am the form helper</h1> <slot name="text"></slot> </div> </template> ` Child form-helper file: `vue <template> <div> <form-helper> <h2 slot="title">I am the slot title</h2> <p slot="text">I am the paragraph text for the slot</p> </form-helper> </div> </template> ` """>>
A ''template'' can be used to make it so vue will not show the element tag that it is being used with when outputting to the browser. This is useful with for directives @b:68 because if you don't want each `div` to be shown, and just have the code, then that can be done. An example is in the note. Example 1: HTML: ``` <template v-for="(ninja, index) in ninjas"> <h3>{{index}} . {{ ninja.name }}</h3> <p>{{ ninja.age }}</p> </template> ```
The ''v-html directive'' can directly replace an entire element listed in the HTML, with whatever is put as the value of the corresponding [[vue data property|Vue Data Option]]. An example is below: //JavaScript:// ``` websiteTag: '<a href="http://google.com">Google!</a>' ``` //HTML:// ``` <p v-html="websiteTag"></p> ```
The ''v-once directive'' makes it so a property of the data object is only used once, and is not bound so it won't update with the property. For example in HTML: ``` <span v-once>This will never change: {{ msg }}</span> ```
A ''vulnerability'' is a weakness that allows a [[threat agent|Threat Agent]] to bypass [[security|Security (General)]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Vulnerability'>> </div>
These guidelines lay out how the web should be structured so that people with disabilities can still access the content built online.
The ''Waterfall Model'' (or software life cycle) takes the fundamental activities of the software process and represents them as separate phases. An image of this is here: https://drive.google.com/open?id=0B5Qq4fe-ZajTTFBEUTZVeGlOTlk. This is an example of a plan-driven process because in principle you need to plan everything out first to start it. This reflects directly on the four fundamental activities of software processes. The main downsides of this plan is the inflexibility of each phase which leads to many unsolved problems once it is delivered, and clunky work-arounds during its life-cycle. This is still used though because it is most similar to other engineering methods, and fits with a general management style. Its also good when quality is more important than cost or schedule. This is good to use when the requirements are very well known, the product definition is stable, the technology is understood, it's a new version of an existing product, or you are porting an existing product to a new platform. * Requirements analysis and definition: This is where the system's required services, constraints, and goals are established by the customer or users. This becomes the system specification. * System and software design: This involves creating the overall architecture of the software. Creating abstractions and identifying relationships are important steps here. * Implementation and unit testing: The software design is realized as a set of programs or program units. Unit testing involves verifying each meets their specification. * [[Integration testing|Integration Testing]] * Operation and maintenance: Normally the longest life-cycle phase, the system is installed and put into use. Errors are corrected over time and improvements are made as new requirements are discovered.
''Weakly typed programming languages'': * Not every name has to be associated with a single type at compile time * [[Structural equivalence|Structural Equivalence (Type Checking)]] is used * A variable of a [[subtype|Subtype (Programming Languages)]] is acceptable, and implicit type conversion, called ''coercion'' is allowed. [[Functional programming languages|Functional Programming]] are typically weakly typed because mathematical functions are not typed. Typeless languages like BCPL are considered weakly typed.
The ''rendering engine'' in a [[web browser|Web Browsers]] is responsible for displaying the requested content. For example if the content is HTML and CSS it can display that on the screen. [[Chrome|Google Chrome]] is a little odd in that it holds multiple instances of the rendering engine, one for each tab. The rendering engine starts by getting the requested document from the network layer. Usually in 8K chunks. After that the basic flow is as follows: # Parsing HTML to construct the [[HTML DOM|HTML DOM]] tree or ''content tree''. The content tree consists of just the tags or DOM nodes. This is the part where an [[HTML parsing algorithm|HTML Parsing Algorithm]] is used. # Construction of the ''render tree'' # Layout of the render tree - This is where each node gets the exact coordinates where it should appear on the screen. # Painting the render tree - The render tree is traversed and each node is painted using the [[UI backend layer|Web Browser UI Backend Layer]]. See the following examples of some different rendering engine flows: * [[Mozilla Gecko rendering engine flow|$:/Image - Gecko Rendering Engine Flow]] * [[Webkit rendering engine flow|$:/Image - Webkit Rendering Engine Flow]] Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Web Browser Rendering Engines'>> </div>
The ''UI backend layer'' for web browsers is used for drawing basic widgets like combo boxes and windows. Underneath it uses the operating system user interface methods.
A ''web browsers''' main components are below: * The user interface * The browser engine - This is the interface for querying and manipulating the rendering engine. * [[The rendering engine|Web Browser Rendering Engines]] * Networking * [[UI Backend|Web Browser UI Backend Layer]] * JavaScript interpreter - Used to parse and execute the JavaScript code. * Data Storage - The persistence layer. This could be [[cookies|HTTP Cookies]], or even a web database like [[HTML5 storage|HTML5 Storage]]. See below an image of how the components generally link up: [img width=550 [https://www.dropbox.com/s/lc25gg705572gtu/Browser%20Components.png?raw=1]] Some different types of browsers are below: * [[Chrome|Google Chrome]] Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Web Browsers'>> </div> See also: * [[Web Development|Web Development]]
''Conversational state'' is a type of [[web dev state|Web Development State]] and represents a bounded conversation or interaction between a client and server. A web app may support the creation and deletion of several conversations during a user's interaction. Your choices for storing this state is either the server or the client, or maybe both depending on how you do it. Such as tokens. Some mechanisms for managing conversational state are below: * HIdden [[form|HTML form Element]] fields - These are too easy to break and steal. * [[URL|Uniform Resource Identifier (URI)]] rewriting, so appending a state or key to the URL in a query * [[Cookies|HTTP Cookies]] - Set a cookie value for state or key - The problem is that the cookies could be turned off by the user. They could also be stolen or persisted by the client. * SSL sessions - These have a bad user experience and has computational scalability issues. * Session-oriented middleware such as [[Express|NPM Packages > express]] (This actually uses cookies, and uses URL rewriting as a backup). It is best to use something made before rather than rolling your own because it is tried and tested. Something like [[sessionStorage|HTML5 Storage]] from the browser is actually different than all this.
The ''PRG pattern'' or ''Post/Redirect/Get pattern'' is a pattern that makes a page retrieved with a [[POST request|HTTP Request Methods > POST]] bookmark-able without submitting the form data a second time. In this pattern, the POST request returns a redirect, so [[HTTP status code|HTTP Status Codes]] 303, to a [[GET request|HTTP Request Methods]] to a success page of some kind. See also: * [[Wikipedia page on the PRG pattern|https://en.wikipedia.org/wiki/Post/Redirect/Get]]
''Server side scripting'' or ''server side includes'', ''SSI'' is a way to have the server execute some code for a web-page instead of the client. Some advantages are * Server can use information in the request to take specific actions * Keeps clients thin and servers fat * Platform dependence is not an issue * End user never downloads server-side information Some disadvantages are: * Lack of server-side scripting standards * Degrades server performance * Difficult to maintain good separation of concerns. * Possible security risks if site is improperly configured. Even though the directives for the server are written in the website source code, those got taken out after a request was made to the server. [[PHP |PHP]]is a huge server side scripting language and exists in about 80% of websites today.
This normally consists of multiple different fields that all have to do with interaction and display of information over the web. <div class="tc-table-of-contents"> <<toc-selective-expandable 'Web Development' sort[title]>> </div> See also: * [[Google's opinionated site / guide on web development|https://developers.google.com/web]]
This is a topic tiddler for some current ''web development architectural patterns'', ''web development trends'', or ''web development architectural styles''. <div class="tc-table-of-contents"> <<toc-selective-expandable 'Web Development Architectural Patterns'>> </div> See also: * [[Great article from Andre Staltz on Unidirectional User Interface Architectures, and others used on the web|https://staltz.com/unidirectional-user-interface-architectures.html]] * [[Architectural Styles (Software Engineering)]] * [[Architectural Patterns (Software Engineering)]]
''Web Development Concepts'' cover things like approaches to [[web development|Web Development]], or general ideas governing design of web resources. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Web Development Concepts' sort[title]>> </div>
There are generally four different types of ''state'' in [[web development|Web Development]]. This is worth discussing because by its nature, [[HTTP|HyperText Transfer Protocol (HTTP)]] is [[stateless|Stateless (Computer Science)]]. * Application state - The lifecycle of your application process itself - This is the situation where an application might crash or maybe a new version comes out while the users are still using the old version. [[LocalStorage|JavaScript window.localStorage Object]] could be good for this. * User preferences state - Understanding who the user is, what they typically want to do and how they want to interact - This could be the view the person has of a website, such as light / dark mode or if they have visited the site before. [[Cookies|HTTP Cookies]] are usually best for this. * World state - Information independent of a specific program. For example this could be the state of a e-commerce system as it pertains to the products available from that company. This is better for a remote [[database|Database]] of some kind. * [[Conversational state|Web Dev > Conversational State]] - This is where the user might browse an e-commerce site and you need to know which shopping cart they have and what their choices are. This is good for [[SessionStorage|JavaScript window.sessionStorage Object]].
A ''processing instruction'' is the top line of a web document such as [[HTML|HTML]] or [[XML|Extensible Markup Language (XML)]]. A processing instruction starts with `<?` and ends with `?>` and it seems it should be the first line of a document transferred over the web. Here is an example of a processing instruction for xml: ```xml <?xml version="1.0" encoding="ISO-8859-1" ?> ```
The ''WHATWG'' is a community of people interested in evolving the web through standards and tests. It was founded by individuals of Apple, Mozilla Foundation, and Opera Software in 2004, then became consisted of [[Apple|Apple]], [[Google|Google]], [[Microsoft|Microsoft]], and [[Mozilla|Mozilla]]. Here is their [[standards list|https://spec.whatwg.org/]] that they cover. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Web Hypertext Application Technology Working Group (WHATWG)'>> </div>
This is a topic tiddler for ''information security on the web''. Table of contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Web InfoSec' sort[title]>> </div>
''Clickjacking'' is a method of taking advantage of a website by putting the website in an iframe on another malicious website. [[Frameguard from helmet|NPM Packages > helmet > helmet.frameguard Method]] can help circumvent this.
''Cross-site scripting'' or ''XSS'' is a frequent type of attack where a user submits malicious code into a form of some kind. All code coming in from a website should be sanitized. To prevent this kind of attack, 2 specs were created: * [[Cross-Origin Resource Sharing|Cross-Origin Resource Sharing (CORS)]] * [[JSONP (JSON with Padding)|JSON with Padding (JSONP)]] The different types of XSS attacks are: * Type 0 - [[DOM|Document Object Model]] based - Known as a "local" attack. A local attack where a remote malicious website points to a locally installed HTML page with vulnerable scripting. * Type 1 - Non-Persistent - Known as a "reflected" attack. This is considered the most common. Malicious code is submitted in a form field and executed upon display of the form action. So, sort of a local attack. * Type 2 - Persistent - Known as a "stored" attack. This is the worst one. Malicious code is submitted by a user, stored on the server, and then presented to subsequent users of the site. Another couple types that are defined which may be part of the previously stated types: * Server-side XSS - When a server generates a response based on, or including, malicious user input. Seems like Type 2. * Client-side XSS - When user-supplied malicious data includes invocation of an unsafe Javascript call, such as `eval()`. A good defense for this is to use safe Javascript packages, XSS detectors, [[CORS|Cross-Origin Resource Sharing (CORS)]], [[JSONP|JSON with Padding (JSONP)]], [[helmet|NPM Packages > helmet]], [[Typescript|TypeScript]], etc. The [[helmet xssFilter method|NPM Packages > helmet > helmet.xssFilter Method]] can help stop this kind of attack.
''Webkit'' is a [[rendering engine|Web Browser Rendering Engines]] that both [[Safari|Safari Browser]] and [[Chrome|Google Chrome]] use. See below for an image of the general flow of the Webkit rendering engine: {{$:/Image - Webkit Rendering Engine Flow}} Webkit uses a lexer called Flex, and it uses a parser called Bison. In the language it will refer to them as `Lex` and `Yacc`.
Webpack is an [[npm|Node Package Manager (NPM)]] package that bundles multiple modules into one .js file. This is rather than having the user load in multiple different .js files and just downloads one single file which reduces load time.
When using ''images'' with webpack, webpack needs to be told that the particular javascript document is going to use the image. So at the top of the JavaScript document, the [[import statement|JavaScript import Keyword]] below can be used: ``` import iconDelete from './images/outline-delete-24px.svg'; ``` then in an image element for example: ``` <img src={iconDelete} /> ``` where the bracket notation is [[JSX|React JSX]].
[[FreeCodeCamp|https://www.freecodecamp.org/]] is a website that offers free self-paced [[web development|Web Development]] lessons. <<list-links "[tag[Website - FreeCodeCamp]sort[title]]">>
<<list-links "[tag[Website - FreeCodeCamp - Advanced Node and Express]sort[title]]">>
This is a section of [[FreeCodeCamp|Website - FreeCodeCamp]]. <<list-links "[tag[Website - FreeCodeCamp - Applied Accessibility]sort[title]]">>
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Website - FreeCodeCamp - Data Visualization with D3' sort[title]>> </div>
Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Website - FreeCodeCamp - JSON APIs and AJAX' sort[title]>> </div>
[[Link to the website|https://cs.gmu.edu/~sean/lisp/LispTutorial.html]]
https://pugjs.org/api/getting-started.html <<list-links "[tag[Website - PugJS]sort[title]]">>
''West Point'' is America's first engineering school. The Army Corps of Engineers was created in 1779 by the Continental Army. In 1794 Congress assigns the Corps of Artillerists and Engineers to West Point. In 1802 the Corps of Engineers is separated from the Corps of Artillerists established at West Point. * 1817: West Point is offering four-year training including instruction by French engineers using French textbooks. This was America's only official school of engineering. By 1860 there were still only 6 or 7 other schools of engineering in America. In 1830 Only about 30% of American engineers had any higher education.
''Western Digital'' is a tech company that you did an interview with once. They gave you questions about the following: * [[Boolean Algebra|Boolean Algebra]] * HackerRank long form programming questions * [[Java Type|Java Basic Data Types]] questions
''White-Box Testing'', ''Structural Testing'', ''Clear Testing'', ''Glass Box Testing'', or ''Open Testing'' uses coverage to assess the quality of tests. This is the [[verification|Software Verification]] part of [[validation and verification|Software Validation and Verification]]. In this type of testing, the code is actually looked at, and the amount of code covered is measured to see if a particular test is good. The goal is to find issues that will affect system performance. This is typically done in early stages of testing. Eclipse has a code coverage tool built in. White box testing is generally not scalable if every type of [[code coverage|Software Testing > Code Coverage]] is taken into account. Complete white box testing is typically resource intensive so its better to leave it to mission critical or safety critical projects where the liability costs outweigh the testing costs. Things to look for in white-box testing: * Internal security holes * Broken or poorly structured paths in the coding process * The flow of specific inputs through the code and expected output * The functionality of conditional loops * Testing of each statement, object, and function on an individual basis Sources: * [[White box testing youtube video|https://www.youtube.com/watch?v=3bJcvBLJViQ]]
''William Weston'' was a man from Britain that helped build the [[Erie Canal|The Erie Canal]].
''Event files'' are files that contain data for the [[event log|Windows Event Log]]. They have the extension `.EVT`. Some important ones are below: * `Secevent.evt` - Stores security-related events, including failed login attempts and attempts to access files without proper permissions. * `Sysevent.evt` - Stores events associated with the system's functioning, including the failure of a driver or the inability of a service to start. * `Appevent.evt` - Stores events associated with applications such as databases, web servers, or user applications. The amount of detail is determined by the application developer.
The ''Windows event log'' has a few events in particular that are notable: * `2003` means a USB was connected * `2100/2102` means a USB was disconnected See also: * [[Windows Event Files]]
''Windows File Systems'' are based around their smallest unit, which is a [[cluster|Operating System Disk Formatting]]. When Windows uses clusters, the last cluster is almost never filled, this unfilled space is called ''slack space''. In Windows systems, this unused portion is not normally overwritten, while in [[Linux|Linux]], it normally is. Some different Windows file systems are below: * [[File Allocation Table (FAT)|File Allocation Table (FAT)]] * [[NTFS|NTFS]] * ReFS - A file system for Windows Server 2012
The ''MACE times'' on a [[Windows file system|Windows File Systems]] represent the following: * M - Last modification * A - Last date the file was accessed * C - Creation date * E - The last time the [[MFT|NTFS]] entry for the file was modified A Windows utility called TimeStomp can change all four timestamps. See also: * [[Linux MAC times|Linux File System > MAC Times]]
''Jumplists'' can be either automatically created, or custom. They contain the most recently accessed, or favorite items of the user.
''Link files'' contain quite a bit of info it seems like: * [[MACE times|Windows File Systems > MACE Times]] of the target file * Computer MAC address and serial number of the volume where the target was stored * Network volume shared name * Fully qualified paths of the target file
''Windows Presentation Foundation'' or ''WPF''. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Windows Presentation Foundation (WPF)'>> </div>
''Printing'' in Windows involves writing the file's contents to a spool file with extension `.SPL` and creates a separate graphics file `.EMF` for each page. This process tracks the username, filename, and data type in a shadow file `.SHD`. After the print job completes, the `.SHD` and `.SPL` files are deleted. They may still exist in the same way that any deleted file exists though, like in [[slack space|Windows File Systems]].
From Windows Vista and forward, the ''recycle bin'' is a file named `C:\$Recycle.bin`. Before then, an INFO2 file was used. Each deleted file has a pair of files in `C:\$Recycle.bin\<USER_SID>\`, see [[SID|Windows Security ID]]. * The deleted file `$R<unique_id>.<original_extension>` * The corresponding index file `$I<unique_id>.<original_extension>` - This contains the original [[MACE times|Windows File Systems > MACE Times]]. - These are always 544 bytes long. Free tools like "$I file parser" from Flasback Data will parse those files. If it is difficult to find where the file may have originally been located, it may have been contained in some system attached storage, like a flash drive or something.
The ''Windows registry'' is a central hierarchical configuration database. Some things that are contained in the registry are below: * Usernames and passwords for programs, email, and internet sites (what?) * A history of internet sites accessed (also what?) * Lists of recently accessed files * A list of programs installed on the system Some different hive files and their descriptions are below: * `HKEY_CURRENT_USER` Defines the preferences of the current user ranging from environment variables to printers, network connections, and application preferences. * `HKEY_LOCAL_MACHINE` Contains the physical state of the computer included bus type, system memory, and installed hardware and software. * `HKEY_LOCAL_MACHINE\SAM` - Contains user account information for users and groups on the system. Also contains hashed logon passwords. This information is stored in a [[SID|Windows Security ID]]. * `HKEY_LOCAL_MACHINE\SECURITY` * `HKEY_LOCAL_MACHINE\SOFTWARE` - Contains information on all programs * `HKEY_LOCAL_MACHINE\SYSTEM` - Stores the computer name, device drivers, time zone, and other information. There might be a few `ControlSet` files in there with a number after it. To find out which one is being used you can go to `Select` and find the `Current` key which points to the value being used. All information is stored in three parts, name, type, and value. Some different ways to view the registry are below: * Registry Viewer on Windows * [[FTK Imager|FTK Imager]] * [[Volatility Framework|Volatility Framework (Digital Forensics Tool)]] * Registry Recon * RegRipper
A ''Windows Security ID'' or ''SID'' is commonly used in the [[Windows registry|Windows Registry]] to identify security groups it looks like. An example of one is as follows: ``` HKU\S-1-5-21-1116317227-3122546243-4014252641-1000 ``` * `S` indicates it is a Security ID * `1` indicates the SID spec version * `5` is the identifier authority value (not sure what that means yet) * `21-1116317227-3122546243-4014252641` is the domain identifier * `1000` is the relative ID or RID. It looks like this value identifies the particular user that it applies to.
''Windows threads'' is an implementation of [[multi-threading|Operating System Multi-threading]] for Windows. To use this library in C `#include <windows.h>` must be used.
''Thumbnails'' in Windows are a hidden system file that contains a copy of each file that has a graphic representation in a particular folder. In Windows Vista and forward, the file is located in a centralized cache: `%userprofile%\AppData\Local\Microsoft\Windows\Explorer`. Here there are a number of `thumbcache_xxx.db` files. Thumbnails are useful for [[digital forensics|Digital Forensics]] because they can still exist even if the original file was deleted. This is especially useful for images.
A ''word'' is a natural unit of data used by a particular processor design. For a 32 bit system, this is 4 bytes. For a 64 bit system, this is 8 bytes. ''Word alignment'' is aligning information to these units to maximally use the space available. See also: * [[Byte Addressable Memory]] * [[PLP RAM Organization]]
The different ''wrapper classes'' are in the note. Conversion between primitive data types and the corresponding wrapper classes is automatic. This process is called auto-boxing. For example if you assign a double value to a Double variable the number is automatically "put in a box". Double wrapper = 29.95; Would work. Wrapper values can automatically be unboxed as well: double x = wrapper; Would work too. |!Primitive Type |!Wrapper Class | |byte|Byte| |boolean|Boolean| |char |Character| |double |Double| |float |Float| |int |Integer| |long |Long| |short |Short|
''XAML markup extensions'' are a way to extend the normaly functionalaity of XAML by allowing [[attributes|XML Attributes]] to have a string that contains some kind of meaning besides the string itself. Markup extensions typically start within the string with a `{` and end with a `}`. For example: ```xml <Element Value="{StaticResource SomeClass}"/> ``` See also: * [[Microsoft page on XAML markup extensions|https://docs.microsoft.com/en-us/dotnet/framework/wpf/advanced/markup-extensions-and-wpf-xaml]]
''Xcode'' is a [[IDE|Integrated Developer Environment (IDE)]] developed by Apple. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Xcode'>> </div>
In [[Xcode|Xcode]], ''Array Numbering'' is shown as `Item 0`, `Item 1`, etc when actually it just means the number if trying to use [[plutil|plutil]] to edit an array or something similar.
The ''object library'' in Xcode seems very helpful for adding view objects to an application. It can be accessed by pressing Ctrl+Shift+L. Then the components can be dragged onto the canvas.
A ''storyboard'' in [[Xcode|Xcode]] is a way to visualize [[iOS app scenes|iOS App Development > Scene]] or [[view controllers|iOS UIKit > UIViewController Class]] while developing them. The arrow coming in from the left means that the scene that is being displayed is the entry point for the application (possibly just that storyboard, need to confirm that). To transition from one storyboard to another, see [[segue|iOS App Development > Segue]]. A [[view controller|iOS App Development > View Controller]] can be added to a storyboard as kind of a first step by using the [[object library|Xcode Object Library]]. [[Outlets|iOS App Development > Outlets]] are a way to reference an object in a storyboard from a source code file. Storyboards take the following steps when loading a view: # Instantiates views using the information in your storyboard file # Connects all [[outlets|iOS App Development > Outlets]] and actions # Assigns the root view to the view controller's `view` property # Calls the view controller's `awakeFromNib` method # Calls the view controller's [[viewDidLoad method|iOS UIKit > UIViewController Class]]. [[Constraints|iOS App Development > Constraints]] are a key part of working with the Storyboard in Xcode and building interfaces. This [[Apple guide to working with constraints in the interface builder|https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/AutolayoutPG/WorkingwithConstraintsinInterfaceBuidler.html#//apple_ref/doc/uid/TP40010853-CH10-SW1]] is really helpful.
''XML attributes'' are unordered. So it doesn't matter what order they go in.
''Comments'' in XML are done starting with `<!--` and ending with `-->`
''XML declarations'' include information about the XML version and possibly the [[XML schema document|XML Schema Documents]] if needed. For example: ```xml <?xml version = “1.0” encoding="ISO-8859-1" standalone = “no”?> <!DOCTYPE Projects SYSTEM “proj.dtd”> ``` * The very top line is the [[processing instruction|Web Document Processing Instruction]]. * `standalone` can be `no` if it needs to be checked against a schema document.
''XML document type definition (DTD) files'' are used to provide structure to [[XML|Extensible Markup Language (XML)]]. DTD files are legacy now, and aren't used as commonly as [[XML Schema language|XML Schema Language]] documents. XML DTD is an extended [[Backus-Naur format|Backus-Naur Form (BNF)]] and is not XML itself. XML DTD follows a special syntax, some highlights are below: * Required single-valued non-repeating element: This is an element with no special characters after the element name and means that it must appear exactly once in the document. * Optional multivalued repeating element: A `*` following an element name means the element can be repeated zero or more times in a document. * Required multivalued repeating element: A `+` following the element name means the element can be repeated one or more times in the document. * Optional single-valued non-repeating element: A `?` following an element name means the element can be repeated zero or one time. * The type of the element is specified in parenthesis following the element. If the type of the element is another element name, then those elements are the children of that element. If the type of the element includes one of the [[DTD data types|XML DTD Data Types]] then it is a leaf node. Parenthesis can be nested arbitrarily it seems to organize things. * `!ATTLIST` can be used to indicate attributes that need special conditions it seems. * `e1 | e2` symbols mean that either e1 or e2 can appear in the document. * Elements must be listed in the exact order they will be used in their corresponding XML documents. Here is an [[example of XML DTD documents|$:/Image - Example of XML DTD documents]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'XML Document Type Definition (DTD) Syntax'>> </div>
''XML documents'' are text documents composed of [[XML|Extensible Markup Language (XML)]]. XML documents can be stored and extracted from [[databases|Database]] in several ways. A few of them are outlined below: * Using a file system or [[DBMS|Database Management System (DBMS)]] to store the documents as text * Use a DBMS to store the document contents as data elements. This might be kind of tough to do because an engine of some kind needs to be built to process the documents into data elements. * Design of a specialized system for storing native XML data. These are sometimes called ''native XML DBMSs''. * Creating or publishing customized XML documents from pre-existing relational databases? How is this a way to store or extract XML documents? Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'XML Documents'>> </div>
''XML DTD data types'' are the data types that define a [[DTD file|XML Document Type Definition (DTD) Syntax]]. Some are listed below: * `#PCDATA` means parsed character data and is roughly similar to a string. * `ID` means the unique ID of an element. * `IDREF` means a reference to the ID of another element, the attribute must have the same name as the references ID for this to work it seems.
''Elements'' in XML are marked by their starting and ending tags: `<ElementName>` and `</ElementName>`. ''Complex elements'' contain other elements. ''Simple elements'' contain data values. Element names describe the meaning of the data elements within them, and can be defined separately in a [[schema document|XML Schema Documents]].
Different ''XML languages'' have been created over time to server different purposes. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'XML Languages'>> </div>
''XML namespaces'' define the set of commands or names that can be used in an [[XML document|XML Documents]]. To define a namespace the `xmlns` attribute can be set for a particular variable equal to the address of an XML namespace. For example: `xmnls:xsd="https://www.w3.org/2009/XMLSchema/XMLSchema.xsd"` sets the namespace of the variable `xsd` equal to the document located at `https://www.w3.org/2009/XMLSchema/XMLSchema.xsd`. Then any variables used after `xsd` will refer to those in that document. For example `xsd:element`.
There are 7 types of ''XML nodes'', those are outlined below: * [[Document|XML Documents]]. This is the root element and includes the processing instruction and root element. * [[Element|XML Elements]] * [[Attribute|XML Attributes]] * [[Processing instruction|Web Document Processing Instruction]] * Text (content) * [[Namespace|XML Namespaces]] * [[Comment|XML Comments]]
''XML Parsing'' can be done in several different ways. Some of the different methods for parsing [[XML documents|XML Documents]] are below: * Reading it in as a string. This is kind of like re-inventing the wheel, although it could be stored as a [[CLOB|SQL Character-String Data Types]] in a [[relational database|Relational Data Model]]. A benefit of this is that there is no [[impedance mismatch|Database Impedance Mismatch]], and no actual parsing. Although it makes it so the XML is kind of a black hole so that it needs to be pulled out and parsed to understand anyway. * [[Simple API for XML (SAX)|Simple API for XML (SAX)]] * Streaming API for XML (StAX) * [[DOM|Document Object Model]] parsing * [[XPath|XPath]] is considered a method of parsing * 3rd Party libraries such as JDOM, dom4j. These are usually not parsers, rather they are convenience APIs. If the focus of parsing the XML is on getting it into a relational DBMS, then it can be done in a few different ways. One way is to use [[this pattern|$:/Image - Example XML pattern for conversion to RDBMS]] for turning each node into a row in a table. A downside of this is that typing information is lost. An upside is that many types of data are storable in the database. Consider the query pattern on the structure of the document. Is it normally a very deep query? Is it a flat query at a certain level of depth? Is it a top heavy query so mostly the elements near the root are needed? Or is it random? Use this determination to decide whether it is better to parse on input to the database or parse on query to the database, or maybe not parse much at all. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'XML Parsing'>> </div>
''XML schema documents'' can contain data that follows [[XML schema language|XML Schema Language]] or [[XML DTD syntax|XML Document Type Definition (DTD) Syntax]]. For an XML document to follow a schema document, it needs to be set in the [[document declaration|XML Declarations]]. Alternatively it could be written before the XML document starts. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'XML Schema Documents'>> </div>
The ''XML schema language'' is a standard for specifying the structure of XML documents where the same processor used for XML can be used for this language. Here is an [[example of an XML schema language document|$:/Example - XML - XML Schema language document example]]. Commonly the following [[namespace|XML Namespaces]] is used for an XML schema document: https://www.w3.org/2009/XMLSchema/XMLSchema.xsd. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'XML Schema Language'>> </div>
The ''minOccurs'' attribute specifies the max number of instances of the element. The default is 1. This can be set to `unbounded`. See also: * [[XML Schema Language minOccurs Attribute]]
The ''minOccurs'' attribute specifies the minimum number of instances of the element it is used on. The default is 1. See also: * [[XML Schema Language maxOccurs Attribute]]
The ''type attribute'' can be used to specify a data type in the [[XML Schema Language|XML Schema Language]]. Some of the basic data types are below: * `xsd:string` * `xsd:decimal` * `xsd:integer` * `xsd:boolean` * `xsd:date` * `xsd:time` The type attribute can also point to a [[xsd:complexType|XML Schema Language xsd:complexType Tag]] name.
The ''xsd:attribute tag'' can be used to define an [[xml attribute|XML Attributes]] for an [[xml element|XML Elements]]. This can be done by embedding the xsd:attribute tag within the xsd:element that will have the attribute. Attribute declarations must always come last in an element. So they would come after any [[xsd:sequence tag|XML Schema Language xsd:sequence Tag]], but would be within the [[xsd:complexType tag|XML Schema Language xsd:complexType Tag]]. Some of the notable attributes that an `xsd:attribute` tag can have are below: * `name` * [[type|XML Schema Language type Attribute]]
The ''xsd:complexType tag'' can be used to make a complex element by either putting a complexType tag as the first child in an [[xsd:element tag|XML Schema Language xsd:element Tag]], or by setting the [[type|XML Schema Language type Attribute]] of an `xsd:element` to the name of a `xsd:complexType` tag listed somewhere else. An xsd:complexType tag can have an [[xsd:sequence tag|XML Schema Language xsd:sequence Tag]] as a child. Here is an [[example of a complex type element|$:/Example - XML Schema Language - Complex Type Element]].
The ''xsd:element tag'' can be used to define a simple element. A simple element is one that doesn't contain any other elements or [[attributes|XML Attributes]], and can only contain text. The xsd:element tag itself can have attributes and other properties though. An `xsd:element` tag can have the following notable attributes: * [[minOccurs|XML Schema Language minOccurs Attribute]] * [[maxOccurs|XML Schema Language maxOccurs Attribute]] * `name` * [[type|XML Schema Language type Attribute]] * `nillable` can be set to `true` so that the attribute `xsi:nil="true"` can be on the element. Here are some examples: ```xml <xsd:element name="lastname" type="xs:string"/> <xsd:element name="age" type="xs:integer"/> <xsd:element name="dateborn" type="xs:date"/> ```
The ''xsd:key tag'' can be used to specify the primary key of an element.
The ''xsd:keyref tag'' can be used to specify a [[foreign key|Foreign Key]].
The ''xsd:sequence tag'' can be used within an [[xsd:complexType tag|XML Schema Language xsd:complexType Tag]] and indicates that the [[elements|XML Schema Language xsd:element Tag]] within it should be in that exact sequence. Here is an [[example of a complex type element|$:/Example - XML Schema Language - Complex Type Element]].
The ''xsd:unique tag'' can be used to specify elements that should each be unique. The `xsd:selector` element must be specified as a sub-element of the unique element to indicate what type the unique element is under the `xpath` attribute. The `xsd:field` element needs to be specified as well to indicate the name of the unique element, which can be specified as the `xpath` attribute.
The ''syntactic guidelines'' of XML generally say that there should be one root element, and every element must include a matching pair of start and end tags within the start and end tags of the parent element.
''Valid XML documents'' are those that are [[well formed|XML Well Formed Documents]], and must follow a particular [[XML schema|XML Schema Documents]]. Valid XML documents are considered [[structured data|Structured Data]].
''Well formed XML documents'' are those that start with an [[XML declaration|XML Declarations]], and follow the [[syntactic guidelines of XML|XML Syntactic Guidelines]]. See also: * [[XML Valid Documents]]
''XML/SQL'' is an extension on [[SQL|Structured Query Language (SQL)]] that provides some functions that can be used to turn a relational database into an [[XML document|XML Documents]]. Some of those functions are below: * `XMLELEMENT` creates one attribute for output * `XMLFOREST` can create multiple attributes in columns at once for output. * `XMLAGG` aggregates several elements so they can be grouped under a parent * `XMLROOT` allows multiple elements to be specified under a single root element. * `XMLATTRIBUTES` this allows the creation of XML attributes. Here are a few examples of using XML/SQL: ``` SELECT XMLELEMENT (NAME “lastname”, E.LName) FROM EMPLOYEE E WHERE E.Ssn = “123456789”; ``` ``` SELECT XMLELEMENT (NAME “employee”, XMLFOREST ( E.Lname AS “ln”, E.Fname AS “fn”, E.Salary AS “sal” ) ) FROM EMPLOYEE AS E WHERE E.Ssn = “123456789” ; ``` ``` SELECT XMLROOT ( XMLELEMENT (NAME “dept4emps”, XMLAGG ( XMLELEMENT ( NAME “emp” XMLFOREST (Lname, Fname, Salary) ORDER BY Lname ) ) ) FROM EMPLOYEE WHERE Dno = 4 ; ```
''XPath'' is an [[XML language|XML Languages]] that provides language constructs for specifying paths to certain XML nodes. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'XPath'>> </div>
A ''qualifier condition'' can be specified by putting it after the node name that is being specified, between square brackets `[]`. For example `//book[@title="artificial intelligence"]` will return all book elements with the title attribute equal to "artificial intelligence". Brackets can also be used to retrieve an indexed element. Remember it is 1 based numbering with xml. For example `//book[2]` for the second book element in the xml document. Some functions can be used in the qualifier condition as well. For example `last()` which will get the last element of that kind.
An ''XPath expression'' returns values from leaf nodes, elements, or attributes. Basic expressions include just the target node name in the expression. There are two main separators when specifying a path, the single slash `/` before a tag specifies the tag must appear as a direct child of the previous parent tag. The double slash `//` specifies the tag can appear as a descendant at any level. To refer to an attribute name, the `@` symbol can be used before the attribute name. Normally its good to include the file name in an XPath expression. This can be done by using `doc(<file path>)`. For example `doc(www.company.com/info.XML)/company` which would choose the root node `company` in that file path. A wildcard can also be used in place of an element name `*`. Here are [[some examples of XPath expressions|$:/Example - XPath - Simple XPath expressoins]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'XPath Expressions'>> </div>
''XQuery'' is an [[XML language|XML Languages]] that provides SQL constructs for XML? XQuery uses [[XPath|XPath]] as a pivotal part to define the elements to be queried. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'XQuery'>> </div>
''XQuery expressions'' or ''FLWOR expressions'' which stands for "for, let, where, order by, and return" are the expressions used in [[XQuery|XQuery]]. They follow this general structure: ``` LET <variable bindings to groups of elements> FOR <variable bindings to individual elements> WHERE <qualifier conditions> ORDER BY <ordering specifications> RETURN <query result specification> ``` * `LET` there can be zero or more LET clauses in an XQuery. * `FOR` there can be zero or more FOR clauses * `WHERE` is optional and can appear at most once * `ORDER BY` is optional and can appear at most once * `RETURN` needs to appear exactly once, which makes sense. Here is an [[example of an XQuery expression|$:/Example - XQuery expression]].
''XQuery variables'' are prefixed with a cash sign `$`.
''Xubuntu'' is an operating system that is part of the Ubuntu family.
''Z Shell'' or ''Zsh'' is a [[shell|Shell (Computing)]] that can be used a bit like a replacement for [[Bash|Bash]]. Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Z Shell'>> </div> See also: * [[Zsh main site|https://www.zsh.org/]]
''zed notation'' or ''z notation'' is based on set theory and [[predicate logic|Predicate Calculus]]. The system is described with z notation by introducing fixed [[sets|Set (Mathematics)]] and variables and specifying relationships between them using [[predicates|Predicate]]. The set of natural numbers does start with 0 in z notation. Z notation is declarative and not procedural which means that it is defined by states and restrictions, not how something should flow. Variable declarations and related predicates are encapsulated into [[schemas|Zed Notation Schema]]. Logical Calculus Concepts used in Z Notation: * Overall: ** Sets @b:129 ** Predicates @b:128 ** Special Sets @b:130. The set of natural numbers starts with 0 in Z notation ** Set Builder Notation @b:137 with the difference that the "in" is replaced by a colon, as shown in the type @b:138 bullet. ** Domain and Range @b:140 * Operators: ** union @b:131 ** intersection @b:132 ** subset @b:133 ** difference @b:134 * Other: ** [[power sets|Power Sets (Mathematics)]] ** cartesian products @b:127 ** cardinality @b:141 in Z notation, cardinality of a set can be represented by a # followed by the set Table of Contents: <div class="tc-table-of-contents"> <<toc-selective-expandable 'Zed Notation'>> </div> Sources * [[Article Z Notation Reference Manual 2nd Edition|https://drive.google.com/open?id=1DaXbGjOkw_9k4pHRB5yH0hrXh0s0Jbxs]]
Every Z specification begins with ''basic types'' sometimes called ''given sets'' that describe atomic objects. A basic type could be all integers, or $$\mathbf{Z}$$ or maybe in a filing system, a basic type could be file-names like `FNAME`.
There are three kinds of ''composite objects'' in Z, set types, Cartesian product types, and schema types.
The ''fulfills notation'' is indicated by $$\cdot$$. This can be paired with "|" in set builder @b:137 notation. The "|" means "where".
''Relations'' can be described with an arrow such as $~\rightarrow~$. For example $~attendant : Customer \rightarrow Employee~$ means that for every Customer there is an Employee. So an associated example could be $~(c_1, e_1)~$ or $~(c_2, e_1)~$. This also means that $~(c_1, e_1) \in E~$ is the same as $~c_1 \rightarrow e_1 \in E~$.
''Schema'' are unique to z notation, and indicate basically math in a box, with a name attached. Schema calculus builds large schemas from smaller ones.
''Set building'' can be done very similarly to set builder @b:137 notation with a few differences. For example $~\{ l: \textrm{Lecturers} | \exists c : \textrm{Course} | \textrm{c.title} = \textrm{SER315} \cdot (l, c) \rightarrow \textrm{teaches}\}~$ which describes "The set is composed of the element of lecturers, l where there exists some element c in the set of Course"
The ''type delimiter'' is a `:`, which can be used like $~x:T~$ which means $~x \in T~$. Types can be used in Z to help prevent errors, and help structure specifications. The value of a type is a set, called the ''carrier'' of the type. This can be used with a class, and variable to define some kind of element. For example `c : Customer` would be "for one customer c in the set of all customers". Another way to do this is to say $~\textrm{E} : \mathcal{P} (\textrm{Employee})~$ which means E is an element of the power set of the set of all Employees. (some subset of the set of all Employees). The power set can be useful when describing some object associations. Because any object associations between two classes can be described by the power set of the the Cartesian product @b:127 of those two classes.
''Styled-JSX'' is a way to write CSS in JS. It keeps everything inside of your components essentially. It looks like you can create one-off global selectors in your jsx by using something like: ```js <style jsx>{` :global(.react-select) { color: red } `} ``` See also: * [[Github page for styled-jsx|https://github.com/zeit/styled-jsx]]
''Prompt expansion'' basically means global variables it seems. Some important ones are below: * `%n` Username * `%d` means the current working directory. This can be followed by a number to determine how many components. For example `%d0` means the whole path `%d-1` means the first component. * `%c` is another directory variable? Need to figure out what this one does. * `%F` starts a color followed by a code in brackets. For example `%F{12}`. `%f` ends the color. See [[here for a list of colors|https://upload.wikimedia.org/wikipedia/commons/1/15/Xterm_256color_chart.svg]].