tiddlywiki 5.3.8 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1597) hide show
  1. package/.claude/settings.json +34 -0
  2. package/.claude/settings.local.json +21 -0
  3. package/.gitattributes +4 -0
  4. package/.github/ISSUE_TEMPLATE/bug_report.md +62 -0
  5. package/.github/ISSUE_TEMPLATE/feature_request.md +8 -2
  6. package/.github/workflows/ci.yml +8 -8
  7. package/.github/workflows/eslint.yml +40 -0
  8. package/.github/workflows/pr-check-build-size.yml +2 -2
  9. package/.github/workflows/pr-comment-build-size.yml +1 -1
  10. package/.github/workflows/pr-validation.yml +37 -0
  11. package/bin/build-site.sh +1 -24
  12. package/bin/build-tw-org.sh +1 -1
  13. package/bin/optimise-svgs.js +32 -32
  14. package/boot/boot.js +112 -96
  15. package/boot/bootprefix.js +4 -0
  16. package/community/docs/Community Cards Caveats.tid +5 -0
  17. package/community/docs/Community Cards.tid +11 -0
  18. package/community/docs/Displaying Community Cards.tid +26 -0
  19. package/community/docs/Submitting a Community Card.tid +36 -0
  20. package/community/people/Arlen22.tid +10 -0
  21. package/community/people/ChristianByron.tid +14 -0
  22. package/community/people/EricShulman.tid +29 -0
  23. package/community/people/Jermolene.tid +21 -0
  24. package/community/people/LinOnetwo.tid +19 -0
  25. package/community/people/MotovunJack.tid +11 -0
  26. package/community/people/PMario.tid +25 -0
  27. package/community/people/SaqImtiaz.tid +16 -0
  28. package/community/people/kjharcombe.tid +7 -0
  29. package/community/project/TiddlyWiki People.tid +10 -0
  30. package/community/project/TiddlyWiki Project.tid +10 -0
  31. package/community/project/Vacant Positions.tid +4 -0
  32. package/community/project/teams/Core Team.tid +8 -0
  33. package/community/project/teams/Developer Experience Team.tid +19 -0
  34. package/community/project/teams/Infrastructure Team.tid +16 -0
  35. package/community/project/teams/MultiWikiServer Team.tid +8 -0
  36. package/community/project/teams/Project Team.tid +15 -0
  37. package/community/project/teams/Quality Assurance Team.tid +11 -0
  38. package/community/project/teams/Succession Team.tid +13 -0
  39. package/community/project/teams/TiddlyWiki Newsletter Team.tid +15 -0
  40. package/community/project/teams/tagCommunityTeam.tid +5 -0
  41. package/community/readme.md +3 -0
  42. package/community/tools/cards/DefaultColourMappings.multids +15 -0
  43. package/community/tools/cards/Procedures.tid +168 -0
  44. package/community/tools/cards/Styles.tid +158 -0
  45. package/community/tools/cards/ViewTemplateBodyCascade.tid +6 -0
  46. package/community/tools/cards/ViewTemplateBodyTemplatePerson.tid +3 -0
  47. package/community/tools/cards/ViewTemplateBodyTemplateTeam.tid +3 -0
  48. package/community/tools/icons/person.tid +7 -0
  49. package/community/tools/icons/project-team.tid +7 -0
  50. package/community/tools/icons/team.tid +9 -0
  51. package/contributing.md +1 -1
  52. package/core/acknowledgements.tid +1 -0
  53. package/core/language/en-GB/ControlPanel.multids +2 -1
  54. package/core/language/en-GB/Draft.multids +4 -0
  55. package/core/language/en-GB/Import.multids +2 -0
  56. package/core/language/en-GB/Misc.multids +1 -0
  57. package/core/language/en-GB/TiddlerInfo.multids +5 -0
  58. package/core/modules/background-actions.js +116 -0
  59. package/core/modules/editor/engines/framed.js +4 -4
  60. package/core/modules/editor/engines/simple.js +2 -1
  61. package/core/modules/editor/factory.js +11 -11
  62. package/core/modules/editor/operations/text/excise.js +1 -1
  63. package/core/modules/editor/operations/text/wrap-lines.js +1 -1
  64. package/core/modules/editor/operations/text/wrap-selection.js +1 -1
  65. package/core/modules/filter-tracker.js +106 -0
  66. package/core/modules/filterrunprefixes/cascade.js +2 -2
  67. package/core/modules/filterrunprefixes/filter.js +2 -2
  68. package/core/modules/filterrunprefixes/let.js +39 -0
  69. package/core/modules/filterrunprefixes/map.js +3 -3
  70. package/core/modules/filterrunprefixes/reduce.js +2 -2
  71. package/core/modules/filterrunprefixes/sort.js +3 -3
  72. package/core/modules/filters/compare.js +1 -1
  73. package/core/modules/filters/deserialize.js +1 -1
  74. package/core/modules/filters/each.js +2 -2
  75. package/core/modules/filters/field.js +1 -1
  76. package/core/modules/filters/fields.js +1 -1
  77. package/core/modules/filters/filter.js +1 -1
  78. package/core/modules/filters/format/json.js +2 -6
  79. package/core/modules/filters/format/timestamp.js +1 -1
  80. package/core/modules/filters/function.js +2 -2
  81. package/core/modules/filters/getindex.js +1 -1
  82. package/core/modules/filters/json-ops.js +71 -21
  83. package/core/modules/filters/lookup.js +1 -1
  84. package/core/modules/filters/math.js +29 -25
  85. package/core/modules/filters/range.js +4 -4
  86. package/core/modules/filters/removesuffix.js +1 -1
  87. package/core/modules/filters/strings.js +26 -80
  88. package/core/modules/filters/suffix.js +1 -1
  89. package/core/modules/filters/title.js +3 -2
  90. package/core/modules/filters/unknown.js +2 -2
  91. package/core/modules/filters/variables.js +1 -1
  92. package/core/modules/filters/x-listops.js +168 -168
  93. package/core/modules/filters.js +92 -45
  94. package/core/modules/indexers/back-indexer.js +8 -8
  95. package/core/modules/indexers/field-indexer.js +3 -3
  96. package/core/modules/info/dimensions.js +86 -0
  97. package/core/modules/info/mediaquerytracker.js +67 -0
  98. package/core/modules/info/platform.js +0 -7
  99. package/core/modules/keyboard.js +15 -16
  100. package/core/modules/macros/csvtiddlers.js +8 -9
  101. package/core/modules/macros/displayshortcuts.js +2 -2
  102. package/core/modules/parsers/audioparser.js +18 -8
  103. package/core/modules/parsers/binaryparser.js +1 -1
  104. package/core/modules/parsers/csvparser.js +8 -4
  105. package/core/modules/parsers/imageparser.js +6 -7
  106. package/core/modules/parsers/parseutils.js +274 -57
  107. package/core/modules/parsers/pdfparser.js +4 -5
  108. package/core/modules/parsers/videoparser.js +7 -8
  109. package/core/modules/parsers/wikiparser/rules/codeblock.js +5 -5
  110. package/core/modules/parsers/wikiparser/rules/commentblock.js +12 -3
  111. package/core/modules/parsers/wikiparser/rules/commentinline.js +9 -2
  112. package/core/modules/parsers/wikiparser/rules/conditional.js +1 -1
  113. package/core/modules/parsers/wikiparser/rules/emphasis/strikethrough.js +1 -1
  114. package/core/modules/parsers/wikiparser/rules/entity.js +0 -2
  115. package/core/modules/parsers/wikiparser/rules/extlink.js +2 -2
  116. package/core/modules/parsers/wikiparser/rules/fnprocdef.js +4 -4
  117. package/core/modules/parsers/wikiparser/rules/hardlinebreaks.js +3 -1
  118. package/core/modules/parsers/wikiparser/rules/html.js +10 -10
  119. package/core/modules/parsers/wikiparser/rules/image.js +1 -1
  120. package/core/modules/parsers/wikiparser/rules/import.js +0 -1
  121. package/core/modules/parsers/wikiparser/rules/list.js +1 -0
  122. package/core/modules/parsers/wikiparser/rules/macrocallblock.js +1 -1
  123. package/core/modules/parsers/wikiparser/rules/macrocallinline.js +2 -0
  124. package/core/modules/parsers/wikiparser/rules/macrodef.js +5 -3
  125. package/core/modules/parsers/wikiparser/rules/mvvdisplayinline.js +95 -0
  126. package/core/modules/parsers/wikiparser/rules/parsermode.js +8 -2
  127. package/core/modules/parsers/wikiparser/rules/prettyextlink.js +3 -1
  128. package/core/modules/parsers/wikiparser/rules/prettylink.js +1 -1
  129. package/core/modules/parsers/wikiparser/rules/rules.js +9 -2
  130. package/core/modules/parsers/wikiparser/rules/styleblock.js +4 -1
  131. package/core/modules/parsers/wikiparser/rules/styleinline.js +1 -1
  132. package/core/modules/parsers/wikiparser/rules/table.js +2 -2
  133. package/core/modules/parsers/wikiparser/rules/transcludeblock.js +5 -5
  134. package/core/modules/parsers/wikiparser/rules/transcludeinline.js +4 -4
  135. package/core/modules/parsers/wikiparser/rules/typedblock.js +24 -11
  136. package/core/modules/parsers/wikiparser/wikiparser.js +12 -12
  137. package/core/modules/pluginswitcher.js +4 -5
  138. package/core/modules/relinkers/tiddlers.js +54 -0
  139. package/core/modules/saver-handler.js +4 -4
  140. package/core/modules/savers/andtidwiki.js +6 -6
  141. package/core/modules/savers/custom.js +1 -1
  142. package/core/modules/savers/download.js +3 -1
  143. package/core/modules/savers/gitea.js +1 -2
  144. package/core/modules/savers/github.js +1 -3
  145. package/core/modules/savers/gitlab.js +3 -5
  146. package/core/modules/savers/postmessage.js +62 -0
  147. package/core/modules/savers/put.js +1 -1
  148. package/core/modules/savers/upload.js +1 -2
  149. package/core/modules/startup/browser-messaging.js +1 -1
  150. package/core/modules/startup/eventbus.js +46 -0
  151. package/core/modules/startup/favicon.js +10 -8
  152. package/core/modules/startup/info.js +10 -4
  153. package/core/modules/startup/load-modules.js +29 -1
  154. package/core/modules/startup/plugins.js +0 -1
  155. package/core/modules/startup/render.js +8 -3
  156. package/core/modules/startup/rootwidget.js +1 -1
  157. package/core/modules/startup/startup.js +1 -16
  158. package/core/modules/startup/windows.js +6 -4
  159. package/core/modules/storyviews/classic.js +5 -8
  160. package/core/modules/storyviews/pop.js +7 -11
  161. package/core/modules/storyviews/zoomin.js +17 -11
  162. package/core/modules/syncer.js +7 -7
  163. package/core/modules/upgraders/plugins.js +1 -2
  164. package/core/modules/upgraders/system.js +1 -2
  165. package/core/modules/upgraders/themetweaks.js +1 -2
  166. package/core/modules/utils/base64.js +31 -0
  167. package/core/modules/utils/csv.js +22 -22
  168. package/core/modules/utils/deprecated.js +58 -0
  169. package/core/modules/utils/diff-match-patch/diff_match_patch.js +2 -53
  170. package/core/modules/utils/diff-match-patch/diff_match_patch_uncompressed.js +826 -1615
  171. package/core/modules/utils/dom/browser.js +36 -22
  172. package/core/modules/utils/dom/dom.js +5 -54
  173. package/core/modules/utils/dom/dragndrop.js +5 -6
  174. package/core/modules/utils/dom/http.js +8 -9
  175. package/core/modules/utils/dom/keyboard.js +1 -1
  176. package/core/modules/utils/dom/modal.js +9 -10
  177. package/core/modules/utils/dom/notifier.js +0 -2
  178. package/core/modules/utils/dom/popup.js +6 -6
  179. package/core/modules/utils/dom/scroller.js +2 -2
  180. package/core/modules/utils/errors.js +1 -0
  181. package/core/modules/utils/escapecss.js +2 -88
  182. package/core/modules/utils/fakedom.js +4 -4
  183. package/core/modules/utils/linked-list.js +1 -1
  184. package/core/modules/utils/logger.js +1 -1
  185. package/core/modules/utils/messaging.js +121 -0
  186. package/core/modules/utils/parsetree.js +16 -0
  187. package/core/modules/utils/performance.js +3 -3
  188. package/core/modules/utils/pluginmaker.js +5 -5
  189. package/core/modules/utils/transliterate.js +2 -2
  190. package/core/modules/utils/utils.js +137 -158
  191. package/core/modules/widgets/action-confirm.js +1 -1
  192. package/core/modules/widgets/action-createtiddler.js +4 -4
  193. package/core/modules/widgets/action-listops.js +2 -4
  194. package/core/modules/widgets/action-log.js +17 -9
  195. package/core/modules/widgets/audio.js +101 -0
  196. package/core/modules/widgets/browse.js +1 -1
  197. package/core/modules/widgets/button.js +23 -11
  198. package/core/modules/widgets/checkbox.js +3 -3
  199. package/core/modules/widgets/data.js +1 -1
  200. package/core/modules/widgets/diff-text.js +27 -10
  201. package/core/modules/widgets/draggable.js +3 -3
  202. package/core/modules/widgets/droppable.js +3 -4
  203. package/core/modules/widgets/dropzone.js +21 -22
  204. package/core/modules/widgets/edit-binary.js +2 -3
  205. package/core/modules/widgets/edit-bitmap.js +0 -1
  206. package/core/modules/widgets/element.js +3 -1
  207. package/core/modules/widgets/eventcatcher.js +239 -80
  208. package/core/modules/widgets/fields.js +5 -5
  209. package/core/modules/widgets/genesis.js +1 -1
  210. package/core/modules/widgets/image.js +33 -9
  211. package/core/modules/widgets/importvariables.js +4 -3
  212. package/core/modules/widgets/jsontiddler.js +0 -1
  213. package/core/modules/widgets/keyboard.js +8 -9
  214. package/core/modules/widgets/let.js +6 -5
  215. package/core/modules/widgets/link.js +27 -13
  216. package/core/modules/widgets/linkcatcher.js +3 -3
  217. package/core/modules/widgets/list.js +12 -12
  218. package/core/modules/widgets/log.js +2 -2
  219. package/core/modules/widgets/messagecatcher.js +1 -1
  220. package/core/modules/widgets/navigator.js +29 -29
  221. package/core/modules/widgets/parameters.js +5 -2
  222. package/core/modules/widgets/password.js +1 -1
  223. package/core/modules/widgets/radio.js +1 -1
  224. package/core/modules/widgets/range.js +7 -21
  225. package/core/modules/widgets/reveal.js +33 -12
  226. package/core/modules/widgets/scrollable.js +4 -5
  227. package/core/modules/widgets/select.js +19 -10
  228. package/core/modules/widgets/setmultiplevariables.js +31 -31
  229. package/core/modules/widgets/slot.js +0 -1
  230. package/core/modules/widgets/testcase.js +1 -1
  231. package/core/modules/widgets/transclude.js +64 -32
  232. package/core/modules/widgets/void.js +23 -0
  233. package/core/modules/widgets/widget.js +179 -64
  234. package/core/modules/widgets/wikify.js +5 -5
  235. package/core/modules/wiki-bulkops.js +5 -41
  236. package/core/modules/wiki.js +45 -59
  237. package/core/palettes/BrightMute.tid +11 -6
  238. package/core/stylesheets/custom-properties.tid +30 -0
  239. package/core/templates/external-js/save-all-external-js.tid +1 -1
  240. package/core/templates/external-js/save-offline-external-js.tid +1 -1
  241. package/core/templates/external-js/tiddlywiki5-external-js.html.tid +8 -6
  242. package/core/templates/save-all.tid +1 -1
  243. package/core/templates/save-empty.tid +1 -1
  244. package/core/templates/save-lazy-all.tid +1 -1
  245. package/core/templates/save-lazy-images.tid +1 -1
  246. package/core/ui/AdvancedSearch/Filter.tid +23 -17
  247. package/core/ui/AdvancedSearch/Shadows.tid +9 -3
  248. package/core/ui/AdvancedSearch/Standard.tid +13 -7
  249. package/core/ui/AdvancedSearch/System.tid +9 -3
  250. package/core/ui/AlertTemplate.tid +3 -3
  251. package/core/ui/ControlPanel/Basics.tid +1 -0
  252. package/core/ui/EditTemplate/body-editor.tid +1 -1
  253. package/core/ui/EditTemplate/body-toolbar-button.tid +4 -2
  254. package/core/ui/EditTemplate/fields.tid +163 -139
  255. package/core/ui/EditTemplate/title.tid +5 -1
  256. package/core/ui/EditTemplate/type.tid +17 -2
  257. package/core/ui/Filters/StoryList.tid +1 -1
  258. package/core/ui/ImportListing.tid +35 -15
  259. package/core/ui/LayoutSwitcher.tid +18 -19
  260. package/core/ui/PageStylesheet.tid +2 -0
  261. package/core/ui/PageTemplate/alerts.tid +2 -2
  262. package/core/ui/SideBar/Open.tid +1 -1
  263. package/core/ui/SideBarSegments/search.tid +11 -5
  264. package/core/ui/TiddlerInfo/Advanced/CascadeInfo.tid +43 -0
  265. package/core/ui/TiddlerInfo.tid +1 -1
  266. package/core/ui/ViewTemplate/title.tid +7 -3
  267. package/core/ui/WikiInformation.tid +3 -0
  268. package/core/wiki/config/MediaQueryTrackers/DarkLightPreferred.tid +5 -0
  269. package/core/wiki/config/OfficialPluginLibrary.tid +1 -1
  270. package/core/wiki/config/TiddlerInfoMode.tid +1 -1
  271. package/core/wiki/languageswitcher.tid +12 -12
  272. package/core/wiki/macros/CSS-property.tid +39 -0
  273. package/core/wiki/macros/CSS.tid +0 -50
  274. package/core/wiki/macros/deprecated.tid +43 -0
  275. package/core/wiki/macros/keyboard-driven-input.tid +16 -10
  276. package/core/wiki/macros/list.tid +58 -43
  277. package/core/wiki/macros/tabs.tid +4 -3
  278. package/core/wiki/macros/tag-picker.tid +3 -2
  279. package/core/wiki/macros/toc.tid +32 -5
  280. package/core/wiki/minifocuseditswitcher.tid +8 -0
  281. package/core/wiki/tags/TiddlerInfoAdvanced.tid +1 -1
  282. package/core/wiki/themeswitcher.tid +10 -9
  283. package/core/wiki/viewswitcher.tid +5 -4
  284. package/core-server/commander.js +176 -0
  285. package/core-server/commands/commands.js +36 -0
  286. package/core-server/commands/deletetiddlers.js +36 -0
  287. package/core-server/commands/fetch.js +170 -0
  288. package/core-server/commands/import.js +42 -0
  289. package/core-server/commands/init.js +53 -0
  290. package/core-server/commands/listen.js +42 -0
  291. package/core-server/commands/load.js +44 -0
  292. package/core-server/commands/output.js +32 -0
  293. package/core-server/commands/render.js +63 -0
  294. package/core-server/commands/rendertiddlers.js +62 -0
  295. package/core-server/commands/save.js +62 -0
  296. package/core-server/commands/savetiddlers.js +49 -0
  297. package/core-server/commands/savewikifolder.js +221 -0
  298. package/core-server/commands/server.js +49 -0
  299. package/core-server/commands/setfield.js +50 -0
  300. package/core-server/filesystem.js +541 -0
  301. package/core-server/plugin.info +11 -0
  302. package/core-server/readme.tid +7 -0
  303. package/core-server/server/authenticators/basic.js +87 -0
  304. package/core-server/server/routes/delete-tiddler.js +26 -0
  305. package/core-server/server/routes/get-favicon.js +22 -0
  306. package/core-server/server/routes/get-file.js +73 -0
  307. package/core-server/server/routes/get-index.js +25 -0
  308. package/core-server/server/routes/get-login-basic.js +34 -0
  309. package/core-server/server/routes/get-status.js +31 -0
  310. package/core-server/server/routes/get-tiddler-html.js +42 -0
  311. package/core-server/server/routes/get-tiddler.js +44 -0
  312. package/core-server/server/routes/get-tiddlers-json.js +48 -0
  313. package/core-server/server/routes/put-tiddler.js +50 -0
  314. package/core-server/server/server.js +393 -0
  315. package/core-server/utils/base64.js +30 -0
  316. package/core-server/utils/escapecss.js +95 -0
  317. package/core-server/utils/repository.js +45 -0
  318. package/editions/de-AT/tiddlers/external/tiddlywiki.files +2 -2
  319. package/editions/de-AT/tiddlers/system/$__editions_de-AT-DE_download-empty.tid +1 -1
  320. package/editions/de-AT/tiddlywiki.info +1 -2
  321. package/editions/de-DE/tiddlywiki.info +1 -2
  322. package/editions/dev/tiddlers/$__StoryList.tid +3 -0
  323. package/editions/dev/tiddlers/How to Create a Custom Cascade Entry.tid +127 -0
  324. package/editions/dev/tiddlers/build/Releasing a new version of TiddlyWiki.tid +1 -0
  325. package/editions/dev/tiddlers/from Heigele and Jurke/RootWidget and Rendering Startup.tid +5 -1
  326. package/editions/dev/tiddlers/javascript-widget-tutorial/hello-attribute-optimized.js +1 -1
  327. package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield-norefresh.js +1 -1
  328. package/editions/dev/tiddlers/javascript-widget-tutorial/tiddlerfield.js +1 -1
  329. package/editions/dev/tiddlers/new/Using TiddlyWiki as a library.tid +1 -1
  330. package/editions/empty/tiddlywiki.info +1 -2
  331. package/editions/es-ES/tiddlers/system/download-empty.tid +1 -1
  332. package/editions/es-ES/tiddlywiki.info +1 -2
  333. package/editions/fr-FR/tiddlers/$__editions_tw5.com_railroad_macro-parameter-value.tid +3 -1
  334. package/editions/fr-FR/tiddlers/Macro_Call_Syntax.tid +1 -1
  335. package/editions/fr-FR/tiddlers/Macro_Definition_Syntax.tid +1 -1
  336. package/editions/fr-FR/tiddlers/ReleaseTemplate.tid +1 -0
  337. package/editions/fr-FR/tiddlers/community/resources/_savetiddlers_ Extension for Firefox by buggyj.tid +17 -0
  338. package/editions/fr-FR/tiddlers/system/download-empty.tid +1 -1
  339. package/editions/fr-FR/tiddlywiki.info +1 -2
  340. package/editions/ja-JP/tiddlers/Concatenating a text reference to create a URL.tid +15 -0
  341. package/editions/ja-JP/tiddlers/Concatenating variables to create a URL.tid +15 -0
  342. package/editions/ja-JP/tiddlers/TiddlyWiki Docs PR Maker.tid +4 -5
  343. package/editions/ja-JP/tiddlers/Welcome.tid +10 -0
  344. package/editions/ja-JP/tiddlers/_TiddlyStudy_ by Kebi.tid +28 -0
  345. package/editions/ja-JP/tiddlers/_tw_shared/doc-utilities/wikitext-macros.tid +91 -0
  346. package/editions/ja-JP/tiddlers/about/Archive.tid +3 -3
  347. package/editions/ja-JP/tiddlers/about/Developers.tid +3 -21
  348. package/editions/ja-JP/tiddlers/about/Donations.tid +17 -0
  349. package/editions/ja-JP/tiddlers/about/Funding TiddlyWiki.tid +1 -1
  350. package/editions/ja-JP/tiddlers/about/History of TiddlyWiki.tid +7 -81
  351. package/editions/ja-JP/tiddlers/about/The Story of TiddlyWiki.tid +71 -0
  352. package/editions/ja-JP/tiddlers/about/TiddlyWiki Anniversaries.tid +33 -0
  353. package/editions/ja-JP/tiddlers/commands/BuildCommand.tid +13 -0
  354. package/editions/ja-JP/tiddlers/commands/ClearPasswordCommand.tid +6 -0
  355. package/editions/ja-JP/tiddlers/commands/Commands.tid +17 -0
  356. package/editions/ja-JP/tiddlers/commands/CommandsCommand.tid +10 -0
  357. package/editions/ja-JP/tiddlers/commands/DeleteTiddlersCommand.tid +9 -0
  358. package/editions/ja-JP/tiddlers/commands/EditionsCommand.tid +10 -0
  359. package/editions/ja-JP/tiddlers/commands/FetchCommand.tid +10 -0
  360. package/editions/ja-JP/tiddlers/commands/HelpCommand.tid +10 -0
  361. package/editions/ja-JP/tiddlers/commands/ImportCommand.tid +10 -0
  362. package/editions/ja-JP/tiddlers/commands/InitCommand.tid +14 -0
  363. package/editions/ja-JP/tiddlers/commands/ListenCommand.tid +12 -0
  364. package/editions/ja-JP/tiddlers/commands/LoadCommand.tid +10 -0
  365. package/editions/ja-JP/tiddlers/commands/MakeLibraryCommand.tid +12 -0
  366. package/editions/ja-JP/tiddlers/commands/OutputCommand.tid +10 -0
  367. package/editions/ja-JP/tiddlers/commands/PasswordCommand.tid +6 -0
  368. package/editions/ja-JP/tiddlers/commands/RenderCommand.tid +18 -0
  369. package/editions/ja-JP/tiddlers/commands/RenderTiddlerCommand.tid +9 -0
  370. package/editions/ja-JP/tiddlers/commands/RenderTiddlersCommand.tid +9 -0
  371. package/editions/ja-JP/tiddlers/commands/SaveCommand.tid +10 -0
  372. package/editions/ja-JP/tiddlers/commands/SaveTiddlerCommand.tid +10 -0
  373. package/editions/ja-JP/tiddlers/commands/SaveTiddlersCommand.tid +10 -0
  374. package/editions/ja-JP/tiddlers/commands/SaveWikiFolderCommand.tid +9 -0
  375. package/editions/ja-JP/tiddlers/commands/ServerCommand.tid +16 -0
  376. package/editions/ja-JP/tiddlers/commands/SetFieldCommand.tid +9 -0
  377. package/editions/ja-JP/tiddlers/commands/UnpackPluginCommand.tid +10 -0
  378. package/editions/ja-JP/tiddlers/commands/VerboseCommand.tid +6 -0
  379. package/editions/ja-JP/tiddlers/commands/VersionCommand.tid +6 -0
  380. package/editions/ja-JP/tiddlers/community/Articles.tid +3 -3
  381. package/editions/ja-JP/tiddlers/community/Community Editions.tid +2 -2
  382. package/editions/ja-JP/tiddlers/community/Community Links Aggregator.tid +13 -0
  383. package/editions/ja-JP/tiddlers/community/Community Palettes.tid +2 -2
  384. package/editions/ja-JP/tiddlers/community/Community Plugins.tid +2 -2
  385. package/editions/ja-JP/tiddlers/community/Community Themes.tid +2 -2
  386. package/editions/ja-JP/tiddlers/community/Community.tid +4 -6
  387. package/editions/ja-JP/tiddlers/community/Examples.tid +3 -3
  388. package/editions/ja-JP/tiddlers/community/Forums.tid +9 -18
  389. package/editions/ja-JP/tiddlers/community/Improving TiddlyWiki Documentation.tid +55 -0
  390. package/editions/ja-JP/tiddlers/community/Latest.tid +2 -2
  391. package/editions/ja-JP/tiddlers/community/Meetups.tid +2 -2
  392. package/editions/ja-JP/tiddlers/community/Other Resources.tid +2 -2
  393. package/editions/ja-JP/tiddlers/community/Resources.tid +13 -0
  394. package/editions/ja-JP/tiddlers/community/TiddlyWiki European Meetup 2016.tid +17 -0
  395. package/editions/ja-JP/tiddlers/community/TiddlyWiki European Meetup 2017.tid +13 -0
  396. package/editions/ja-JP/tiddlers/community/TiddlyWiki Hangouts.tid +1 -1
  397. package/editions/ja-JP/tiddlers/community/TiddlyWiki Newsletter.tid +12 -0
  398. package/editions/ja-JP/tiddlers/community/TiddlyWiki on the Web.tid +3 -3
  399. package/editions/ja-JP/tiddlers/community/Translate TiddlyWiki into your language.tid +18 -0
  400. package/editions/ja-JP/tiddlers/community/Tutorials.tid +2 -2
  401. package/editions/ja-JP/tiddlers/community/articles/_A free, open source wiki revisited_ by Mark Gibbs, NetworkWorld.tid +21 -0
  402. package/editions/ja-JP/tiddlers/community/articles/_Notizen mit TiddlyWiki systemubergreifend nutzen_ by Michael Sonntag.tid +19 -0
  403. package/editions/ja-JP/tiddlers/community/articles/_Setting Up a Personal TiddlyWiki Server on OS X_ by Kris Johnson.tid +24 -0
  404. package/editions/ja-JP/tiddlers/community/articles/_TiddlyWiki 5 im Betatest_ by besim.tid +17 -0
  405. package/editions/ja-JP/tiddlers/community/articles/_TiddlyWiki_ by Sander de Boer.tid +17 -0
  406. package/editions/ja-JP/tiddlers/community/docs/Community Cards Caveats.tid +7 -0
  407. package/editions/ja-JP/tiddlers/community/docs/Community Cards.tid +13 -0
  408. package/editions/ja-JP/tiddlers/community/docs/Displaying Community Cards.tid +28 -0
  409. package/editions/ja-JP/tiddlers/community/docs/Submitting a Community Card.tid +38 -0
  410. package/editions/ja-JP/tiddlers/community/editions/Drift by Tony K.tid +20 -0
  411. package/editions/ja-JP/tiddlers/community/editions/Stroll by David Gifford.tid +20 -0
  412. package/editions/ja-JP/tiddlers/community/editions/Tidme by oflg.tid +18 -0
  413. package/editions/ja-JP/tiddlers/community/editions/_Cardo-A Task and Project Management Wiki_ by David_Szego.tid +23 -0
  414. package/editions/ja-JP/tiddlers/community/examples/GitFixUm.tid +0 -1
  415. package/editions/ja-JP/tiddlers/community/examples/PETTIL.tid +1 -1
  416. package/editions/ja-JP/tiddlers/community/examples/_Lucky Sushi_ online shop by sini-Kit.tid +2 -1
  417. package/editions/ja-JP/tiddlers/community/plugins/GSD5.tid +16 -0
  418. package/editions/ja-JP/tiddlers/community/plugins/TW5-Graph by Flibbles.tid +22 -0
  419. package/editions/ja-JP/tiddlers/community/plugins/TiddlyWiki for Scholars.tid +16 -0
  420. package/editions/ja-JP/tiddlers/community/project/TiddlyWiki People.tid +13 -0
  421. package/editions/ja-JP/tiddlers/community/project/TiddlyWiki Project.tid +13 -0
  422. package/editions/ja-JP/tiddlers/community/project/Vacant Positions.tid +5 -0
  423. package/editions/ja-JP/tiddlers/community/resources/Projectify by Nicolas Petton.tid +24 -0
  424. package/editions/ja-JP/tiddlers/community/resources/TiddlyWiki Posts.tid +16 -0
  425. package/editions/ja-JP/tiddlers/community/resources/Wikilabs by PMario.tid +18 -0
  426. package/editions/ja-JP/tiddlers/community/resources/_savetiddlers_ Extension for Firefox by buggyj.tid +18 -0
  427. package/editions/ja-JP/tiddlers/community/tools/cards/Procedures.tid +168 -0
  428. package/editions/ja-JP/tiddlers/concepts/ExternalImages.tid +29 -11
  429. package/editions/ja-JP/tiddlers/concepts/Filters.tid +2 -1
  430. package/editions/ja-JP/tiddlers/concepts/TemplateTiddlers.tid +20 -0
  431. package/editions/ja-JP/tiddlers/concepts/TextReference.tid +36 -0
  432. package/editions/ja-JP/tiddlers/concepts/Transclusion.tid +31 -0
  433. package/editions/ja-JP/tiddlers/concepts/WikiText.tid +17 -0
  434. package/editions/ja-JP/tiddlers/definitions/Base64.tid +9 -0
  435. package/editions/ja-JP/tiddlers/definitions/Cascading Style Sheets.tid +9 -0
  436. package/editions/ja-JP/tiddlers/definitions/Definitions.tid +12 -0
  437. package/editions/ja-JP/tiddlers/definitions/Tiddlyhost.tid +13 -0
  438. package/editions/ja-JP/tiddlers/features/Future Proof.tid +3 -3
  439. package/editions/ja-JP/tiddlers/filters/syntax/Filter Run Prefix.tid +0 -1
  440. package/editions/ja-JP/tiddlers/filters/syntax/Filter Step.tid +5 -5
  441. package/editions/ja-JP/tiddlers/functions/Functions.tid +30 -0
  442. package/editions/ja-JP/tiddlers/gettingstarted/GettingStarted - Internet Explorer.tid +1 -1
  443. package/editions/ja-JP/tiddlers/hellothere/Find Out More.tid +2 -2
  444. package/editions/ja-JP/tiddlers/hellothere/HelloThere.tid +28 -6
  445. package/editions/ja-JP/tiddlers/hellothere/HelloThumbnail.tid +7 -0
  446. package/editions/ja-JP/tiddlers/hellothere/Testimonials and Reviews.tid +2 -2
  447. package/editions/ja-JP/tiddlers/hellothere/quickstart/Quick Start.tid +2 -2
  448. package/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - Community Survey.tid +10 -0
  449. package/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - Donations.tid +9 -0
  450. package/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - Grok TiddlyWiki.tid +0 -1
  451. package/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - Intertwingled Innovations.tid +1 -1
  452. package/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - MultiWikiServer.tid +2 -2
  453. package/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - Newsletter.tid +3 -2
  454. package/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - TW5-Graph.tid +12 -0
  455. package/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWiki Privacy.tid +2 -2
  456. package/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWikiLinks.tid +1 -1
  457. package/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - Twenty Years of TiddlyWiki.tid +0 -1
  458. package/editions/ja-JP/tiddlers/hiddensettings/Hidden Setting Default Tiddler Colour.tid +3 -3
  459. package/editions/ja-JP/tiddlers/hire-jeremy/Hire Jeremy Sidebar Segment.tid +16 -0
  460. package/editions/ja-JP/tiddlers/hire-jeremy/HireJeremy.tid +59 -0
  461. package/editions/ja-JP/tiddlers/howtos/Concatenating text and variables using macro substitution.tid +1 -1
  462. package/editions/ja-JP/tiddlers/howtos/Hard_Linebreaks_with_CSS.tid +28 -0
  463. package/editions/ja-JP/tiddlers/howtos/Hard_Linebreaks_with_CSS_-_Example.tid +16 -0
  464. package/editions/ja-JP/tiddlers/howtos/Windows HTA Hack.tid +2 -1
  465. package/editions/ja-JP/tiddlers/marketplace/TiddlyWiki Marketplace.tid +20 -0
  466. package/editions/ja-JP/tiddlers/plugins/Dynaview Plugin.tid +1 -1
  467. package/editions/ja-JP/tiddlers/plugins/Innerwiki Plugin.tid +1 -1
  468. package/editions/ja-JP/tiddlers/plugins/Share Plugin.tid +6 -4
  469. package/editions/ja-JP/tiddlers/procedures/Procedure Calls.tid +58 -0
  470. package/editions/ja-JP/tiddlers/procedures/Procedure Definitions.tid +47 -0
  471. package/editions/ja-JP/tiddlers/procedures/Procedure Parameter Handling.tid +26 -0
  472. package/editions/ja-JP/tiddlers/reference/Reference.tid +17 -0
  473. package/editions/ja-JP/tiddlers/roadmap/RoadMap.tid +9 -4
  474. package/editions/ja-JP/tiddlers/saving/Encryption.tid +3 -3
  475. package/editions/ja-JP/tiddlers/saving/Saving via WebDAV.tid +9 -1
  476. package/editions/ja-JP/tiddlers/saving/Saving with TiddlyIE.tid +2 -1
  477. package/editions/ja-JP/tiddlers/saving/Saving.tid +2 -2
  478. package/editions/ja-JP/tiddlers/system/TableOfContents.tid +1 -1
  479. package/editions/ja-JP/tiddlers/system/download-empty.tid +1 -1
  480. package/editions/ja-JP/tiddlers/variables/Behaviour of variables invoked via widget attributes.tid +13 -0
  481. package/editions/ja-JP/tiddlers/wikitext/Anchor Links using HTML.tid +202 -0
  482. package/editions/ja-JP/tiddlers/wikitext/Block Quotes in WikiText.tid +106 -0
  483. package/editions/ja-JP/tiddlers/wikitext/Code Blocks in WikiText.tid +43 -0
  484. package/editions/ja-JP/tiddlers/wikitext/Conditional Shortcut Syntax.tid +64 -0
  485. package/editions/ja-JP/tiddlers/wikitext/Dashes in WikiText.tid +14 -0
  486. package/editions/ja-JP/tiddlers/wikitext/Description Lists in WikiText.tid +16 -0
  487. package/editions/ja-JP/tiddlers/wikitext/Filtered Attribute Values.tid +18 -0
  488. package/editions/ja-JP/tiddlers/wikitext/Formatting in WikiText.tid +62 -0
  489. package/editions/ja-JP/tiddlers/wikitext/HTML Entities.tid +68 -0
  490. package/editions/ja-JP/tiddlers/wikitext/HTML in WikiText.tid +94 -0
  491. package/editions/ja-JP/tiddlers/wikitext/HTML_Links_in_WikiText.tid +19 -0
  492. package/editions/ja-JP/tiddlers/wikitext/Hard Linebreaks in WikiText.tid +24 -0
  493. package/editions/ja-JP/tiddlers/wikitext/Headings in WikiText.tid +22 -0
  494. package/editions/ja-JP/tiddlers/wikitext/Horizontal Rules in WikiText.tid +12 -0
  495. package/editions/ja-JP/tiddlers/wikitext/Linking in WikiText.tid +127 -0
  496. package/editions/ja-JP/tiddlers/wikitext/Lists in WikiText.tid +94 -0
  497. package/editions/ja-JP/tiddlers/wikitext/Literal Attribute Values.tid +32 -0
  498. package/editions/ja-JP/tiddlers/wikitext/Macro Calls.tid +60 -0
  499. package/editions/ja-JP/tiddlers/wikitext/Macro Definitions.tid +69 -0
  500. package/editions/ja-JP/tiddlers/wikitext/Macro Parameter Handling.tid +80 -0
  501. package/editions/ja-JP/tiddlers/wikitext/Paragraphs in WikiText.tid +25 -0
  502. package/editions/ja-JP/tiddlers/wikitext/Substituted Attribute Values.tid +35 -0
  503. package/editions/ja-JP/tiddlers/wikitext/Table Classes Captions Headers and Footers.tid +22 -0
  504. package/editions/ja-JP/tiddlers/wikitext/Tables in WikiText CSS Utility Classes.tid +83 -0
  505. package/editions/ja-JP/tiddlers/wikitext/Tables in WikiText.tid +74 -0
  506. package/editions/ja-JP/tiddlers/wikitext/Transcluded Attribute Values.tid +16 -0
  507. package/editions/ja-JP/tiddlers/wikitext/Transclusion Basic Usage.tid +47 -0
  508. package/editions/ja-JP/tiddlers/wikitext/Transclusion and Substitution.tid +62 -0
  509. package/editions/ja-JP/tiddlers/wikitext/Transclusion in WikiText.tid +78 -0
  510. package/editions/ja-JP/tiddlers/wikitext/Transclusion with Templates.tid +62 -0
  511. package/editions/ja-JP/tiddlers/wikitext/Typed Blocks in WikiText.tid +69 -0
  512. package/editions/ja-JP/tiddlers/wikitext/Utility Classes.tid +23 -0
  513. package/editions/ja-JP/tiddlers/wikitext/Variable Attribute Values.tid +19 -0
  514. package/editions/ja-JP/tiddlers/wikitext/Widget Attributes.tid +28 -0
  515. package/editions/ja-JP/tiddlers/wikitext/Widgets in WikiText.tid +33 -0
  516. package/editions/ja-JP/tiddlers/wikitext/parser/WikiText Parser Modes.tid +20 -0
  517. package/editions/ja-JP/tiddlers/wikitext/parser/WikiText parser mode_ transclusion examples.tid +58 -0
  518. package/editions/ja-JP/tiddlers/wikitext/parser/table-example.tid +10 -0
  519. package/editions/ja-JP/tiddlers/workingwithtw/Sharing your tiddlers with others.tid +3 -3
  520. package/editions/ja-JP/tiddlywiki.info +1 -2
  521. package/editions/ko-KR/tiddlers/system/download-empty.tid +1 -1
  522. package/editions/ko-KR/tiddlywiki.info +1 -2
  523. package/editions/prerelease/tiddlers/system/DefaultTiddlers.tid +1 -1
  524. package/editions/prerelease/tiddlers/system/PrereleaseLocalPluginLibrary.tid +1 -1
  525. package/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +1 -1
  526. package/editions/prerelease/tiddlers/system/TiddlyWiki Pre-release.tid +1 -0
  527. package/editions/prerelease/tiddlers/system/download-empty.tid +1 -1
  528. package/editions/prerelease/tiddlywiki.info +2 -1
  529. package/editions/test/playwright.spec.js +17 -17
  530. package/editions/test/tiddlers/$__StoryList.tid +2 -0
  531. package/editions/test/tiddlers/tests/data/functions/FunctionDefaultValues.tid +16 -0
  532. package/editions/test/tiddlers/tests/data/functions/FunctionSubstituteResolution.tid +38 -0
  533. package/editions/test/tiddlers/tests/data/functions/VariableLeakage.tid +15 -0
  534. package/editions/test/tiddlers/tests/data/functions/VariablesEnumeration.tid +14 -0
  535. package/editions/test/tiddlers/tests/data/genesis-widget/Block.tid +1 -1
  536. package/editions/test/tiddlers/tests/data/let-filter-prefix/ResultList.tid +12 -0
  537. package/editions/test/tiddlers/tests/data/let-filter-prefix/ResultListUnnamedVariable.tid +12 -0
  538. package/editions/test/tiddlers/tests/data/let-filter-prefix/ShortcutSyntax.tid +12 -0
  539. package/editions/test/tiddlers/tests/data/let-filter-prefix/Simple.tid +12 -0
  540. package/editions/test/tiddlers/tests/data/macros/dynamic-macros/Attribute.tid +26 -0
  541. package/editions/test/tiddlers/tests/data/macros/dynamic-macros/Standalone.tid +23 -0
  542. package/editions/test/tiddlers/tests/data/multi-valued-variables/AttributeFirstValue.tid +16 -0
  543. package/editions/test/tiddlers/tests/data/multi-valued-variables/DefaultParameterMVV.tid +19 -0
  544. package/editions/test/tiddlers/tests/data/multi-valued-variables/Function.tid +18 -0
  545. package/editions/test/tiddlers/tests/data/multi-valued-variables/InlineDisplay.tid +16 -0
  546. package/editions/test/tiddlers/tests/data/multi-valued-variables/InlineDisplaySeparator.tid +16 -0
  547. package/editions/test/tiddlers/tests/data/multi-valued-variables/InlineFilterDisplay.tid +14 -0
  548. package/editions/test/tiddlers/tests/data/multi-valued-variables/InlineFilterDisplaySeparator.tid +14 -0
  549. package/editions/test/tiddlers/tests/data/multi-valued-variables/MissingVariable.tid +12 -0
  550. package/editions/test/tiddlers/tests/data/multi-valued-variables/NegatedTitle.tid +18 -0
  551. package/editions/test/tiddlers/tests/data/multi-valued-variables/Operands.tid +18 -0
  552. package/editions/test/tiddlers/tests/data/multi-valued-variables/Parameters.tid +21 -0
  553. package/editions/test/tiddlers/tests/data/multi-valued-variables/ParametersShortcut.tid +21 -0
  554. package/editions/test/tiddlers/tests/data/multi-valued-variables/Simple.tid +17 -0
  555. package/editions/test/tiddlers/tests/data/multi-valued-variables/TranscludeParameter.tid +19 -0
  556. package/editions/test/tiddlers/tests/data/multi-valued-variables/TranscludeParameterDirectly.tid +19 -0
  557. package/editions/test/tiddlers/tests/data/multi-valued-variables/TranscludeParameterFunction.tid +17 -0
  558. package/editions/test/tiddlers/tests/data/parse-backcompat/macrocall-colon-named.tid +13 -0
  559. package/editions/test/tiddlers/tests/data/parse-backcompat/macrocall-colon-non-strict.tid +13 -0
  560. package/editions/test/tiddlers/tests/data/parse-backcompat/macrocall-equals-no-value.tid +13 -0
  561. package/editions/test/tiddlers/tests/data/parse-backcompat/macrocall-named-equals.tid +13 -0
  562. package/editions/test/tiddlers/tests/data/parse-backcompat/macrocall-named-filtered-value.tid +13 -0
  563. package/editions/test/tiddlers/tests/data/parse-backcompat/macrocall-named-indirect-value.tid +17 -0
  564. package/editions/test/tiddlers/tests/data/parse-backcompat/macrocall-named-mvv-value.tid +14 -0
  565. package/editions/test/tiddlers/tests/data/parse-backcompat/macrocall-named-nested-macro.tid +14 -0
  566. package/editions/test/tiddlers/tests/data/parse-backcompat/macrocall-named-substituted-value.tid +13 -0
  567. package/editions/test/tiddlers/tests/data/parse-backcompat/macrocall-positional-gt.tid +13 -0
  568. package/editions/test/tiddlers/tests/data/parse-backcompat/parse-backcompat-multiline.tid +17 -0
  569. package/editions/test/tiddlers/tests/data/parse-backcompat/parse-backcompat-quoted-gt.tid +14 -0
  570. package/editions/test/tiddlers/tests/data/parse-backcompat/parse-backcompat-single-line.tid +14 -0
  571. package/editions/test/tiddlers/tests/data/parse-backcompat/parse-backcompat.tid +14 -0
  572. package/editions/test/tiddlers/tests/data/parse-backcompat/widget-attr-equals-noval.tid +13 -0
  573. package/editions/test/tiddlers/tests/data/parse-backcompat/widget-attr-malformed-mvv.tid +13 -0
  574. package/editions/test/tiddlers/tests/data/parse-backcompat/widget-attr-mvv-value.tid +14 -0
  575. package/editions/test/tiddlers/tests/data/parse-backcompat/widget-attr-substituted-value.tid +13 -0
  576. package/editions/test/tiddlers/tests/data/procedures/Calls.tid +28 -0
  577. package/editions/test/tiddlers/tests/data/serialize/Attribute.tid +5 -0
  578. package/editions/test/tiddlers/tests/data/serialize/BlockRule.tid +7 -0
  579. package/editions/test/tiddlers/tests/data/serialize/BoldEmphasis.tid +5 -0
  580. package/editions/test/tiddlers/tests/data/serialize/CodeBlock.tid +17 -0
  581. package/editions/test/tiddlers/tests/data/serialize/CommentBlock.tid +11 -0
  582. package/editions/test/tiddlers/tests/data/serialize/CommentInline.tid +5 -0
  583. package/editions/test/tiddlers/tests/data/serialize/Conditional.tid +21 -0
  584. package/editions/test/tiddlers/tests/data/serialize/Dash.tid +7 -0
  585. package/editions/test/tiddlers/tests/data/serialize/DynamicMacroMixed.tid +9 -0
  586. package/editions/test/tiddlers/tests/data/serialize/DynamicMacroParams.tid +9 -0
  587. package/editions/test/tiddlers/tests/data/serialize/DynamicWidgetAttribute.tid +7 -0
  588. package/editions/test/tiddlers/tests/data/serialize/Entity.tid +5 -0
  589. package/editions/test/tiddlers/tests/data/serialize/ExtLink.tid +7 -0
  590. package/editions/test/tiddlers/tests/data/serialize/FilteredTranscludeBlock.tid +13 -0
  591. package/editions/test/tiddlers/tests/data/serialize/FilteredTranscludeInline.tid +5 -0
  592. package/editions/test/tiddlers/tests/data/serialize/FunctionDefinition.tid +15 -0
  593. package/editions/test/tiddlers/tests/data/serialize/HardLineBreaks.tid +12 -0
  594. package/editions/test/tiddlers/tests/data/serialize/Heading.tid +29 -0
  595. package/editions/test/tiddlers/tests/data/serialize/Html.tid +15 -0
  596. package/editions/test/tiddlers/tests/data/serialize/Image.tid +10 -0
  597. package/editions/test/tiddlers/tests/data/serialize/Import.tid +6 -0
  598. package/editions/test/tiddlers/tests/data/serialize/ItalicEmphasis.tid +5 -0
  599. package/editions/test/tiddlers/tests/data/serialize/List.tid +40 -0
  600. package/editions/test/tiddlers/tests/data/serialize/MacroCallBlock.tid +13 -0
  601. package/editions/test/tiddlers/tests/data/serialize/MacroCallInline.tid +7 -0
  602. package/editions/test/tiddlers/tests/data/serialize/MacroDef.tid +9 -0
  603. package/editions/test/tiddlers/tests/data/serialize/Parameters.tid +5 -0
  604. package/editions/test/tiddlers/tests/data/serialize/ParserMode.tid +9 -0
  605. package/editions/test/tiddlers/tests/data/serialize/PrettyExtLink.tid +6 -0
  606. package/editions/test/tiddlers/tests/data/serialize/PrettyLink.tid +6 -0
  607. package/editions/test/tiddlers/tests/data/serialize/QuoteBlock.tid +7 -0
  608. package/editions/test/tiddlers/tests/data/serialize/RulesPragma.tid +6 -0
  609. package/editions/test/tiddlers/tests/data/serialize/SimpleText.tid +5 -0
  610. package/editions/test/tiddlers/tests/data/serialize/SoftLineBreak.tid +6 -0
  611. package/editions/test/tiddlers/tests/data/serialize/StrikethroughEmphasis.tid +5 -0
  612. package/editions/test/tiddlers/tests/data/serialize/StyleBlock.tid +17 -0
  613. package/editions/test/tiddlers/tests/data/serialize/StyleBlock2.tid +13 -0
  614. package/editions/test/tiddlers/tests/data/serialize/StyleInline.tid +7 -0
  615. package/editions/test/tiddlers/tests/data/serialize/SubscriptEmphasis.tid +5 -0
  616. package/editions/test/tiddlers/tests/data/serialize/SuperscriptEmphasis.tid +5 -0
  617. package/editions/test/tiddlers/tests/data/serialize/SysLink.tid +6 -0
  618. package/editions/test/tiddlers/tests/data/serialize/Table.tid +11 -0
  619. package/editions/test/tiddlers/tests/data/serialize/TranscludeBlock.tid +21 -0
  620. package/editions/test/tiddlers/tests/data/serialize/TranscludeInline.tid +5 -0
  621. package/editions/test/tiddlers/tests/data/serialize/TypedBlock1.tid +15 -0
  622. package/editions/test/tiddlers/tests/data/serialize/TypedBlock2.tid +19 -0
  623. package/editions/test/tiddlers/tests/data/serialize/UnderscoreEmphasis.tid +5 -0
  624. package/editions/test/tiddlers/tests/data/serialize/VoidElements.tid +12 -0
  625. package/editions/test/tiddlers/tests/data/serialize/WikiLink.tid +7 -0
  626. package/editions/test/tiddlers/tests/data/serialize/WikiLinkPrefix.tid +5 -0
  627. package/editions/test/tiddlers/tests/data/tabs-macro/expected-test-tabs-horizontal-a.tid +1 -1
  628. package/editions/test/tiddlers/tests/data/tabs-macro/expected-test-tabs-horizontal-all.tid +1 -1
  629. package/editions/test/tiddlers/tests/data/tabs-macro/expected-test-tabs-vertical.tid +1 -1
  630. package/editions/test/tiddlers/tests/data/transclude/MissingTiddlerAttribute.tid +34 -0
  631. package/editions/test/tiddlers/tests/data/transclude/MissingTiddlerAttributeFiltered.tid +20 -0
  632. package/editions/test/tiddlers/tests/data/transclude/MissingTiddlerAttributeVariable.tid +13 -0
  633. package/editions/test/tiddlers/tests/data/transclude/Parameterised-ParseTreeNodes.tid +1 -1
  634. package/editions/test/tiddlers/tests/data/transclude/Procedures-Dollar-Param.tid +22 -0
  635. package/editions/test/tiddlers/tests/modules/utils/test-csv.js +4 -4
  636. package/editions/test/tiddlers/tests/test-action-deletefield.js +120 -120
  637. package/editions/test/tiddlers/tests/test-action-widgets.js +73 -76
  638. package/editions/test/tiddlers/tests/test-backlinks.js +53 -53
  639. package/editions/test/tiddlers/tests/test-backtranscludes.js +119 -119
  640. package/editions/test/tiddlers/tests/test-checkbox-widget.js +491 -493
  641. package/editions/test/tiddlers/tests/test-compare-filter.js +1 -4
  642. package/editions/test/tiddlers/tests/test-deserialize-operator.js +18 -21
  643. package/editions/test/tiddlers/tests/test-deserializers.js +17 -19
  644. package/editions/test/tiddlers/tests/test-filters.js +123 -123
  645. package/editions/test/tiddlers/tests/test-html-parser.js +377 -50
  646. package/editions/test/tiddlers/tests/test-json-filters.js +29 -5
  647. package/editions/test/tiddlers/tests/test-linked-list.js +4 -4
  648. package/editions/test/tiddlers/tests/test-parsetextreference.js +1 -1
  649. package/editions/test/tiddlers/tests/test-prefixes-filter.js +9 -7
  650. package/editions/test/tiddlers/tests/test-tags-operator.js +45 -45
  651. package/editions/test/tiddlers/tests/test-tags.js +155 -155
  652. package/editions/test/tiddlers/tests/test-utils.js +10 -10
  653. package/editions/test/tiddlers/tests/test-widget-event.js +9 -9
  654. package/editions/test/tiddlers/tests/test-widget-getVariableInfo.js +7 -18
  655. package/editions/test/tiddlers/tests/test-widget.js +117 -93
  656. package/editions/test/tiddlers/tests/test-wikitext-parser.js +89 -80
  657. package/editions/test/tiddlers/tests/test-wikitext-serialize.js +18 -0
  658. package/editions/test/tiddlers/tests/test-wikitext-tabs-macro.js +4 -4
  659. package/editions/test/tiddlers/tests/test-wikitext.js +1 -1
  660. package/editions/test/tiddlywiki.info +1 -0
  661. package/editions/testcommonjs/tiddlers/absolute/program.js +5 -5
  662. package/editions/testcommonjs/tiddlers/absolute/submodule/a.js +1 -1
  663. package/editions/testcommonjs/tiddlers/allTests.js +11 -11
  664. package/editions/testcommonjs/tiddlers/cyclic/a.js +2 -2
  665. package/editions/testcommonjs/tiddlers/cyclic/b.js +2 -2
  666. package/editions/testcommonjs/tiddlers/cyclic/program.js +8 -8
  667. package/editions/testcommonjs/tiddlers/determinism/program.js +3 -3
  668. package/editions/testcommonjs/tiddlers/determinism/submodule/a.js +5 -5
  669. package/editions/testcommonjs/tiddlers/exactExports/a.js +1 -1
  670. package/editions/testcommonjs/tiddlers/exactExports/program.js +4 -4
  671. package/editions/testcommonjs/tiddlers/hasOwnProperty/program.js +4 -4
  672. package/editions/testcommonjs/tiddlers/method/a.js +4 -4
  673. package/editions/testcommonjs/tiddlers/method/program.js +6 -6
  674. package/editions/testcommonjs/tiddlers/missing/program.js +5 -5
  675. package/editions/testcommonjs/tiddlers/monkeys/a.js +1 -1
  676. package/editions/testcommonjs/tiddlers/monkeys/program.js +4 -4
  677. package/editions/testcommonjs/tiddlers/nested/a/b/c/d.js +1 -1
  678. package/editions/testcommonjs/tiddlers/nested/program.js +3 -3
  679. package/editions/testcommonjs/tiddlers/relative/program.js +5 -5
  680. package/editions/testcommonjs/tiddlers/relative/submodule/a.js +1 -1
  681. package/editions/testcommonjs/tiddlers/test.js +9 -9
  682. package/editions/testcommonjs/tiddlers/transitive/a.js +1 -1
  683. package/editions/testcommonjs/tiddlers/transitive/b.js +1 -1
  684. package/editions/testcommonjs/tiddlers/transitive/c.js +1 -1
  685. package/editions/testcommonjs/tiddlers/transitive/program.js +3 -3
  686. package/editions/tiddlywiki-surveys/scripts/extract-text-tiddlers-via-console.js +4 -4
  687. package/editions/tiddlywiki-surveys/tiddlers/2025-community-survey/Community Survey 2025 Answer 00189.json +37 -0
  688. package/editions/tiddlywiki-surveys/tiddlers/2025-community-survey/Community Survey 2025 Answer 00190.tid +33 -0
  689. package/editions/tiddlywiki-surveys/tiddlers/2025-community-survey/Community Survey 2025 Answer 00191.json +37 -0
  690. package/editions/tiddlywiki-surveys/tiddlers/2025-community-survey/Community Survey 2025 Answer 00192.json +37 -0
  691. package/editions/tiddlywiki-surveys/tiddlers/2025-community-survey/Community Survey 2025 Answer 00193.json +37 -0
  692. package/editions/tiddlywiki-surveys/tiddlers/2025-community-survey/Community Survey 2025 Answer 00194.tid +33 -0
  693. package/editions/tiddlywiki-surveys/tiddlers/2025-community-survey/Community Survey 2025 Answer 00195.json +37 -0
  694. package/editions/tiddlywiki-surveys/tiddlers/2025-community-survey/Community Survey 2025 Answer 00196.json +37 -0
  695. package/editions/tiddlywiki-surveys/tiddlers/2025-community-survey/Community Survey 2025 Answer 00197.tid +33 -0
  696. package/editions/tiddlywiki-surveys/tiddlers/2025-community-survey/Community Survey 2025 Answer 00198.json +37 -0
  697. package/editions/translators/tiddlers/Instructions for Translators.tid +1 -0
  698. package/editions/translators/tiddlers/system/$__status_UserName.tid +3 -0
  699. package/editions/translators/tiddlywiki.info +1 -0
  700. package/editions/tw5.com/tiddlers/Concatenating a text reference to create a URL.tid +13 -0
  701. package/editions/tw5.com/tiddlers/Concatenating variables to create a URL.tid +13 -0
  702. package/editions/tw5.com/tiddlers/Core CSS Variables.tid +11 -0
  703. package/editions/tw5.com/tiddlers/Deprecated Core Classes.tid +13 -0
  704. package/editions/tw5.com/tiddlers/Deprecated core macros.tid +31 -0
  705. package/editions/tw5.com/tiddlers/TiddlyWiki Docs PR Maker.tid +3 -4
  706. package/editions/tw5.com/tiddlers/Writing stylesheets in vanilla CSS.tid +69 -0
  707. package/editions/tw5.com/tiddlers/_tw_shared/doc-utilities/doc-macros.tid +44 -7
  708. package/editions/tw5.com/tiddlers/_tw_shared/doc-utilities/doc-styles.tid +15 -2
  709. package/editions/tw5.com/tiddlers/about/Archive.tid +2 -2
  710. package/editions/tw5.com/tiddlers/about/Developers.tid +2 -13
  711. package/editions/tw5.com/tiddlers/about/Donations.tid +16 -0
  712. package/editions/tw5.com/tiddlers/about/Filter Syntax History.tid +15 -15
  713. package/editions/tw5.com/tiddlers/about/Funding TiddlyWiki.tid +1 -1
  714. package/editions/tw5.com/tiddlers/about/History of TiddlyWiki.tid +6 -6
  715. package/editions/tw5.com/tiddlers/commands/RenderCommand.tid +2 -1
  716. package/editions/tw5.com/tiddlers/community/Articles.tid +1 -1
  717. package/editions/tw5.com/tiddlers/community/Community Editions.tid +1 -1
  718. package/editions/tw5.com/tiddlers/community/Community Palettes.tid +1 -1
  719. package/editions/tw5.com/tiddlers/community/Community Plugins.tid +1 -1
  720. package/editions/tw5.com/tiddlers/community/Community Survey 2025.tid +6 -14
  721. package/editions/tw5.com/tiddlers/community/Community Themes.tid +1 -1
  722. package/editions/tw5.com/tiddlers/community/Community.tid +3 -5
  723. package/editions/tw5.com/tiddlers/community/Contributing.tid +2 -2
  724. package/editions/tw5.com/tiddlers/community/Examples.tid +1 -1
  725. package/editions/tw5.com/tiddlers/community/Forums.tid +9 -17
  726. package/editions/tw5.com/tiddlers/community/Improving TiddlyWiki Documentation.tid +2 -2
  727. package/editions/tw5.com/tiddlers/community/Latest.tid +1 -1
  728. package/editions/tw5.com/tiddlers/community/Meetups.tid +1 -1
  729. package/editions/tw5.com/tiddlers/community/Other Resources.tid +1 -1
  730. package/editions/tw5.com/tiddlers/community/Resources.tid +11 -0
  731. package/editions/tw5.com/tiddlers/community/Signing the Contributor License Agreement.tid +2 -2
  732. package/editions/tw5.com/tiddlers/community/TiddlyWiki Newsletter.tid +5 -5
  733. package/editions/tw5.com/tiddlers/community/Tutorials.tid +1 -1
  734. package/editions/tw5.com/tiddlers/community/articles/_A free, open source wiki revisited_ by Mark Gibbs, NetworkWorld.tid +2 -1
  735. package/editions/tw5.com/tiddlers/community/editions/_Cardo-A Task and Project Management Wiki_ by David_Szego.tid +9 -2
  736. package/editions/tw5.com/tiddlers/community/examples/PETTIL.tid +1 -1
  737. package/editions/tw5.com/tiddlers/community/examples/Reveal.js by Devin Weaver.tid +1 -1
  738. package/editions/tw5.com/tiddlers/community/examples/_Lucky Sushi_ online shop by sini-Kit.tid +2 -1
  739. package/editions/tw5.com/tiddlers/community/plugins/IndexedDB Plugin by Andreas Abeck.tid +2 -1
  740. package/editions/tw5.com/tiddlers/community/plugins/Slider by Mohammad.tid +2 -2
  741. package/editions/tw5.com/tiddlers/community/plugins/TW5-Graph by Flibbles.tid +20 -0
  742. package/editions/tw5.com/tiddlers/community/resources/_savetiddlers_ Extension for Firefox by buggyj.tid +16 -0
  743. package/editions/tw5.com/tiddlers/community/tutorials/Un wiki sur votre BiblioBox avec TiddlyWiki.tid +2 -1
  744. package/editions/tw5.com/tiddlers/communitycards/tiddlywiki.files +11 -0
  745. package/editions/tw5.com/tiddlers/concepts/CompoundTiddlers.tid +2 -2
  746. package/editions/tw5.com/tiddlers/concepts/Date Fields.tid +3 -2
  747. package/editions/tw5.com/tiddlers/concepts/DefaultTiddlers.tid +1 -1
  748. package/editions/tw5.com/tiddlers/concepts/Filters.tid +1 -1
  749. package/editions/tw5.com/tiddlers/concepts/TiddlyWiki.tid +1 -1
  750. package/editions/tw5.com/tiddlers/css-variables/--tp-animation-duration CSS Variable.tid +8 -0
  751. package/editions/tw5.com/tiddlers/css-variables/--tp-body-font-size Variable.tid +8 -0
  752. package/editions/tw5.com/tiddlers/css-variables/--tp-body-line-height Variable.tid +8 -0
  753. package/editions/tw5.com/tiddlers/css-variables/--tp-code-font-family Variable.tid +8 -0
  754. package/editions/tw5.com/tiddlers/css-variables/--tp-code-wrapping Variable.tid +8 -0
  755. package/editions/tw5.com/tiddlers/css-variables/--tp-editor-font-family Variable.tid +8 -0
  756. package/editions/tw5.com/tiddlers/css-variables/--tp-font-family Variable.tid +8 -0
  757. package/editions/tw5.com/tiddlers/css-variables/--tp-font-size Variable.tid +8 -0
  758. package/editions/tw5.com/tiddlers/css-variables/--tp-line-height Variable.tid +8 -0
  759. package/editions/tw5.com/tiddlers/css-variables/--tp-sidebar-breakpoint CSS Variable.tid +8 -0
  760. package/editions/tw5.com/tiddlers/css-variables/--tp-sidebar-width CSS Variable.tid +8 -0
  761. package/editions/tw5.com/tiddlers/css-variables/--tp-story-left CSS Variable.tid +8 -0
  762. package/editions/tw5.com/tiddlers/css-variables/--tp-story-right CSS Variable.tid +8 -0
  763. package/editions/tw5.com/tiddlers/css-variables/--tp-story-top CSS Variable.tid +8 -0
  764. package/editions/tw5.com/tiddlers/css-variables/--tp-story-width CSS Variable.tid +8 -0
  765. package/editions/tw5.com/tiddlers/css-variables/--tp-tiddler-width CSS Variable.tid +8 -0
  766. package/editions/tw5.com/tiddlers/css-variables/--tpc-_ variables.tid +16 -0
  767. package/editions/tw5.com/tiddlers/definitions/BT.tid +1 -1
  768. package/editions/tw5.com/tiddlers/definitions/ContentType.tid +9 -8
  769. package/editions/tw5.com/tiddlers/definitions/Intertwingled Innovations.tid +1 -1
  770. package/editions/tw5.com/tiddlers/definitions/JeremyRuston.tid +1 -13
  771. package/editions/tw5.com/tiddlers/definitions/Jermolene.tid +1 -1
  772. package/editions/tw5.com/tiddlers/definitions/Osmosoft.tid +1 -1
  773. package/editions/tw5.com/tiddlers/demonstrations/SampleTiddlerFirst.tid +5 -2
  774. package/editions/tw5.com/tiddlers/demonstrations/SampleTiddlerSecond.tid +4 -2
  775. package/editions/tw5.com/tiddlers/demonstrations/TableOfContentsMacro Simple Example.tid +36 -4
  776. package/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExample.tid +9 -9
  777. package/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExampleDraggable.tid +7 -3
  778. package/editions/tw5.com/tiddlers/features/DateFormat.tid +18 -17
  779. package/editions/tw5.com/tiddlers/filters/examples/days.tid +5 -7
  780. package/editions/tw5.com/tiddlers/filters/examples/jsondelete.tid +59 -0
  781. package/editions/tw5.com/tiddlers/filters/examples/substitute Operator (Examples).tid +45 -22
  782. package/editions/tw5.com/tiddlers/filters/function.tid +2 -2
  783. package/editions/tw5.com/tiddlers/filters/jsondelete.tid +54 -0
  784. package/editions/tw5.com/tiddlers/filters/range.tid +36 -22
  785. package/editions/tw5.com/tiddlers/filters/substitute Operator.tid +2 -2
  786. package/editions/tw5.com/tiddlers/filters/syntax/Filter Expression.tid +2 -0
  787. package/editions/tw5.com/tiddlers/filters/syntax/Filter Parameter.tid +11 -1
  788. package/editions/tw5.com/tiddlers/filters/syntax/Filter Step.tid +4 -4
  789. package/editions/tw5.com/tiddlers/filters/syntax/Filter Syntax.tid +1 -1
  790. package/editions/tw5.com/tiddlers/filters/syntax/Interchangeable Filter Run Prefixes.tid +3 -0
  791. package/editions/tw5.com/tiddlers/filters/syntax/Intersection Filter Run Prefix.tid +10 -1
  792. package/editions/tw5.com/tiddlers/filters/syntax/Let Filter Run Prefix (Examples).tid +13 -0
  793. package/editions/tw5.com/tiddlers/filters/syntax/Let Filter Run Prefix.tid +30 -0
  794. package/editions/tw5.com/tiddlers/filters/syntax/Named Filter Run Prefix.tid +11 -0
  795. package/editions/tw5.com/tiddlers/filters/syntax/Shortcut Filter Run Prefixes.tid +4 -3
  796. package/editions/tw5.com/tiddlers/filters/syntax/then Filter Run Prefix.tid +1 -1
  797. package/editions/tw5.com/tiddlers/filters/title.tid +2 -0
  798. package/editions/tw5.com/tiddlers/functions/Functions.tid +6 -5
  799. package/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +1 -1
  800. package/editions/tw5.com/tiddlers/hellothere/HelloThumbnail.tid +1 -1
  801. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Community Survey.tid +3 -3
  802. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Donations.tid +9 -0
  803. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Intertwingled Innovations.tid +1 -1
  804. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Latest Version.tid +1 -0
  805. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - MultiWikiServer.tid +2 -1
  806. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Newsletter.tid +3 -2
  807. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TW5-Graph.tid +11 -0
  808. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWiki Privacy.tid +2 -1
  809. package/editions/tw5.com/tiddlers/hire-jeremy/Hire Jeremy Sidebar Segment.tid +15 -0
  810. package/editions/tw5.com/tiddlers/hire-jeremy/HireJeremy.tid +56 -0
  811. package/editions/tw5.com/tiddlers/hire-jeremy/HireJeremyDefinitions.tid +24 -0
  812. package/editions/tw5.com/tiddlers/hire-jeremy/HireJeremyStyles.tid +163 -0
  813. package/editions/tw5.com/tiddlers/howtos/Concatenating text and variables using macro substitution.tid +1 -1
  814. package/editions/tw5.com/tiddlers/howtos/How to create dynamic editor toolbar buttons.tid +4 -1
  815. package/editions/tw5.com/tiddlers/howtos/How to create keyboard shortcuts.tid +49 -38
  816. package/editions/tw5.com/tiddlers/images/Blurry Lawn.jpg +0 -0
  817. package/editions/tw5.com/tiddlers/images/Community Survey 2025 Image.webp +0 -0
  818. package/editions/tw5.com/tiddlers/images/Community Survey 2025 Image.webp.meta +4 -0
  819. package/editions/tw5.com/tiddlers/images/Intertwingled Innovations Image.webp +0 -0
  820. package/editions/tw5.com/tiddlers/images/Intertwingled Innovations Image.webp.meta +3 -0
  821. package/editions/tw5.com/tiddlers/images/MWS Banner.webp +0 -0
  822. package/editions/tw5.com/tiddlers/images/MWS Banner.webp.meta +6 -0
  823. package/editions/tw5.com/tiddlers/images/Marketplace Banner.webp +0 -0
  824. package/editions/tw5.com/tiddlers/images/Marketplace Banner.webp.meta +4 -0
  825. package/editions/tw5.com/tiddlers/images/New Release Banner.webp +0 -0
  826. package/editions/tw5.com/tiddlers/images/New Release Banner.webp.meta +4 -0
  827. package/editions/tw5.com/tiddlers/images/TW5-Graph.png +0 -0
  828. package/editions/tw5.com/tiddlers/images/TW5-Graph.png.meta +4 -0
  829. package/editions/tw5.com/tiddlers/images/Tiddler Poster.webp +0 -0
  830. package/editions/tw5.com/tiddlers/images/Tiddler Poster.webp.meta +5 -0
  831. package/editions/tw5.com/tiddlers/images/TiddlyFox Apocalypse.webp +0 -0
  832. package/editions/tw5.com/tiddlers/images/TiddlyFox Apocalypse.webp.meta +4 -0
  833. package/editions/tw5.com/tiddlers/images/TiddlyWiki Classic.webp +0 -0
  834. package/editions/tw5.com/tiddlers/images/TiddlyWiki Classic.webp.meta +4 -0
  835. package/editions/tw5.com/tiddlers/images/TiddlyWiki Donation Graphic.webp +0 -0
  836. package/editions/tw5.com/tiddlers/images/TiddlyWiki Donation Graphic.webp.meta +4 -0
  837. package/editions/tw5.com/tiddlers/images/TiddlyWiki Newsletter Badge.webp +0 -0
  838. package/editions/tw5.com/tiddlers/images/TiddlyWiki Newsletter Badge.webp.meta +4 -0
  839. package/editions/tw5.com/tiddlers/images/TiddlyWiki Privacy Badge.webp +0 -0
  840. package/editions/tw5.com/tiddlers/images/TiddlyWiki Privacy Badge.webp.meta +4 -0
  841. package/editions/tw5.com/tiddlers/images/Twenty Years of TiddlyWiki.webp +0 -0
  842. package/editions/tw5.com/tiddlers/images/Twenty Years of TiddlyWiki.webp.meta +4 -0
  843. package/editions/tw5.com/tiddlers/macros/StylesheetMacros.tid +2 -17
  844. package/editions/tw5.com/tiddlers/macros/TableOfContentsMacro.tid +4 -1
  845. package/editions/tw5.com/tiddlers/macros/examples/tabs.tid +12 -0
  846. package/editions/tw5.com/tiddlers/macros/list-links-draggable Macro.tid +26 -8
  847. package/editions/tw5.com/tiddlers/macros/list-tagged-draggable Macro.tid +20 -6
  848. package/editions/tw5.com/tiddlers/macros/syntax/Call Syntax.tid +43 -0
  849. package/editions/tw5.com/tiddlers/macros/syntax/CallParameterValue.tid +13 -0
  850. package/editions/tw5.com/tiddlers/macros/syntax/Macro Call Syntax.tid +3 -27
  851. package/editions/tw5.com/tiddlers/macros/syntax/Macro Definition Syntax.tid +1 -1
  852. package/editions/tw5.com/tiddlers/macros/syntax/Procedure Call Syntax.tid +2 -29
  853. package/editions/tw5.com/tiddlers/macros/syntax/Procedure Definition Syntax.tid +2 -2
  854. package/editions/tw5.com/tiddlers/macros/syntax/Procedure Syntax.tid +1 -1
  855. package/editions/tw5.com/tiddlers/macros/tag-pill_Macro.tid +13 -8
  856. package/editions/tw5.com/tiddlers/mechanisms/Background Actions.tid +28 -0
  857. package/editions/tw5.com/tiddlers/mechanisms/InfoMechanism.tid +30 -3
  858. package/editions/tw5.com/tiddlers/mechanisms/MediaQueryTrackerMechanism.tid +13 -0
  859. package/editions/tw5.com/tiddlers/nodejs/Installing official plugins on Node.js.tid +1 -0
  860. package/editions/tw5.com/tiddlers/plugins/Plugin_Fields.tid +2 -1
  861. package/editions/tw5.com/tiddlers/pragmas/Pragma_ _function.tid +1 -1
  862. package/editions/tw5.com/tiddlers/pragmas/Pragma_ _procedure.tid +1 -1
  863. package/editions/tw5.com/tiddlers/procedures/Procedure Calls.tid +2 -51
  864. package/editions/tw5.com/tiddlers/procedures/Procedures.tid +2 -2
  865. package/editions/tw5.com/tiddlers/procedures/calls/Calls.tid +64 -0
  866. package/editions/tw5.com/tiddlers/releasenotes/5.3.8/#9133.tid +8 -0
  867. package/editions/tw5.com/tiddlers/releasenotes/5.3.8/#9166.tid +8 -0
  868. package/editions/tw5.com/tiddlers/releasenotes/5.3.8/#9175.tid +8 -0
  869. package/editions/tw5.com/tiddlers/releasenotes/5.3.8/#9184.tid +8 -0
  870. package/editions/tw5.com/tiddlers/releasenotes/5.3.8/#9185.tid +8 -0
  871. package/editions/tw5.com/tiddlers/releasenotes/5.3.8/32caeb69c3e7b75a80a84a1e14363e87175b164e.tid +10 -0
  872. package/editions/tw5.com/tiddlers/releasenotes/5.3.8/75502266176de9d4a5e1f89cd7f2e455b7a2f6da.tid +8 -0
  873. package/editions/tw5.com/tiddlers/releasenotes/5.3.8/93d30f374da4a6b2037b335f7f7d4eddce8192db.tid +8 -0
  874. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#7898.tid +11 -0
  875. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#8093.tid +10 -0
  876. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#8249-aes-256-bit.tid +25 -0
  877. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#8258.tid +14 -0
  878. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#8810.tid +12 -0
  879. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#8972.tid +16 -0
  880. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9015-muted-palette-adjustments.tid +11 -0
  881. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9024 - audio-parser-widget-intercept.tid +10 -0
  882. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9050.tid +13 -0
  883. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9055.tid +27 -0
  884. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9078.tid +16 -0
  885. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9097.tid +13 -0
  886. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9103.tid +18 -0
  887. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9107 - update-configuration-defaults.tid +11 -0
  888. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9118.tid +10 -0
  889. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9119 - sticky-flag.tid +7 -0
  890. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9119.tid +8 -0
  891. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9131 - strikethrough.tid +9 -0
  892. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9131.tid +8 -0
  893. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9135.tid +10 -0
  894. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9148.tid +10 -0
  895. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9154.tid +8 -0
  896. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9167.tid +10 -0
  897. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9177.tid +12 -0
  898. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9183 - core-server-pluginisation.tid +9 -0
  899. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9183.tid +10 -0
  900. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9203.tid +10 -0
  901. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9206.tid +17 -0
  902. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9207.tid +13 -0
  903. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9214 - configure-edit-focus.tid +13 -0
  904. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9235.tid +10 -0
  905. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9242 - deprecate-css-macros.tid +7 -0
  906. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9242.tid +10 -0
  907. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9243.tid +8 -0
  908. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9253 - textencoder.tid +8 -0
  909. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9253.tid +10 -0
  910. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9254-list-links-draggable-parameter-missing.tid +14 -0
  911. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9259.tid +13 -0
  912. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9259_impacts_deprecate-eventcatcher-attributes.tid +8 -0
  913. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9260.tid +29 -0
  914. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9275 - remove-range-widget-ie.tid +7 -0
  915. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9275.tid +8 -0
  916. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9277.tid +10 -0
  917. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9280.tid +10 -0
  918. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9281-add-th-debug-element.tid +17 -0
  919. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9287.tid +10 -0
  920. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9293-draft-moduls-not-executed.tid +19 -0
  921. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9295.tid +14 -0
  922. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9297.tid +12 -0
  923. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9305.tid +13 -0
  924. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9313.tid +10 -0
  925. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9316 - currentcolor.tid +8 -0
  926. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9316.tid +10 -0
  927. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9317-eslint-ignore-output.tid +13 -0
  928. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9328.tid +10 -0
  929. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9333.tid +49 -0
  930. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9337 - math-filters .tid +7 -0
  931. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9337.tid +18 -0
  932. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9341.tid +12 -0
  933. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9347.tid +8 -0
  934. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9348.tid +10 -0
  935. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9349 - cjk-text-spacing.tid +10 -0
  936. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9350 - deprecation.tid +8 -0
  937. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9350.tid +20 -0
  938. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9358.tid +10 -0
  939. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9368 - fix-image-paste-rename-ux.tid +10 -0
  940. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9371.tid +11 -0
  941. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9375.tid +11 -0
  942. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9401.tid +10 -0
  943. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9422.tid +10 -0
  944. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9427.tid +11 -0
  945. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9439.tid +10 -0
  946. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9445.tid +10 -0
  947. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9453 - diff-text-editcost-param.tid +10 -0
  948. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9454 - edit-text-rows-precedence.tid +10 -0
  949. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9465.tid +15 -0
  950. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9466.tid +15 -0
  951. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9489.tid +10 -0
  952. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9494.tid +10 -0
  953. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9495.tid +10 -0
  954. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9538.tid +10 -0
  955. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9548.tid +10 -0
  956. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9551.tid +15 -0
  957. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9570.tid +10 -0
  958. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9582.tid +10 -0
  959. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9585 - button-classes.tid +13 -0
  960. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9598.tid +11 -0
  961. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9600.tid +10 -0
  962. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9609.tid +24 -0
  963. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9609_impacts_event detail variables in eventcatcher.json +13 -0
  964. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9612-toc-level.tid +14 -0
  965. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9617 - select-widget-refresh-default.tid +12 -0
  966. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9621 - list-widget-macros-start-endactions.tid +16 -0
  967. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9626.tid +10 -0
  968. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9634-cascade-info-tab.tid +10 -0
  969. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9641.tid +14 -0
  970. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9655 - german-translations.tid +10 -0
  971. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9660.tid +10 -0
  972. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9676.tid +48 -0
  973. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9703.tid +13 -0
  974. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/#9782 - Greek translation.tid +13 -0
  975. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/Release 5.4.0.tid +21 -0
  976. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/add-stylesheet-wiki-info.tid +10 -0
  977. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/bump-markdown-it.tid +18 -0
  978. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/deprecate-util-func - deprecation.tid +8 -0
  979. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/deprecate-util-func.tid +10 -0
  980. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/draft-i18n.tid +15 -0
  981. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/escapecss-split.tid +10 -0
  982. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/improve-alert-a11y.tid +10 -0
  983. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/leilei332-update-eslint-config.tid +14 -0
  984. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/migrate-to-dmp-es - api.tid +11 -0
  985. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/migrate-to-dmp-es.tid +10 -0
  986. package/editions/tw5.com/tiddlers/releasenotes/5.4.0/refactor-base64-util.tid +14 -0
  987. package/editions/tw5.com/tiddlers/releasenotes/Release Notes and Changes Internals.tid +65 -0
  988. package/editions/tw5.com/tiddlers/releasenotes/Release Notes and Changes.tid +59 -0
  989. package/editions/tw5.com/tiddlers/releasenotes/ReleaseTemplate.tid +1 -0
  990. package/editions/tw5.com/tiddlers/releasenotes/ReleasesInfo.multids +67 -0
  991. package/editions/tw5.com/tiddlers/releasenotes/ReleasesProcedures.tid +397 -0
  992. package/editions/tw5.com/tiddlers/releasenotes/ReleasesStyles.tid +205 -0
  993. package/editions/tw5.com/tiddlers/releasenotes/ReleasesSummaryLists.tid +3 -0
  994. package/editions/tw5.com/tiddlers/releasenotes/ReleasesTabTemplate.tid +12 -0
  995. package/editions/tw5.com/tiddlers/releasenotes/ReleasesViewTemplateBodyChangeNote.tid +6 -0
  996. package/editions/tw5.com/tiddlers/releasenotes/ReleasesViewTemplateBodyFilters.tid +6 -0
  997. package/editions/tw5.com/tiddlers/releasenotes/ReleasesViewTemplateBodyImpactNote.tid +6 -0
  998. package/editions/tw5.com/tiddlers/releasenotes/TiddlyWiki Releases.tid +6 -4
  999. package/editions/tw5.com/tiddlers/releasenotes/pre-5.4.0/Release 5.1.23.tid +298 -0
  1000. package/editions/tw5.com/tiddlers/releasenotes/pre-5.4.0/Release 5.2.0.tid +302 -0
  1001. package/editions/tw5.com/tiddlers/releasenotes/pre-5.4.0/Release 5.2.4.tid +145 -0
  1002. package/editions/tw5.com/tiddlers/releasenotes/pre-5.4.0/Release 5.2.6.tid +149 -0
  1003. package/editions/tw5.com/tiddlers/releasenotes/pre-5.4.0/Release 5.3.2.tid +184 -0
  1004. package/editions/tw5.com/tiddlers/releasenotes/pre-5.4.0/Release 5.3.7.tid +140 -0
  1005. package/editions/tw5.com/tiddlers/releasenotes/pre-5.4.0/Release 5.3.8.tid +19 -0
  1006. package/editions/tw5.com/tiddlers/roadmap/RoadMap.tid +7 -3
  1007. package/editions/tw5.com/tiddlers/roadmap/multiwikiserver/MultiWikiServer.tid +1 -1
  1008. package/editions/tw5.com/tiddlers/saving/Encrypted Wiki Import Problems.tid +22 -0
  1009. package/editions/tw5.com/tiddlers/saving/Encryption.tid +4 -4
  1010. package/editions/tw5.com/tiddlers/saving/Saving via WebDAV.tid +8 -1
  1011. package/editions/tw5.com/tiddlers/saving/Saving with the HTML5 fallback saver.tid +1 -1
  1012. package/editions/tw5.com/tiddlers/system/ContributionBanner.tid +1 -1
  1013. package/editions/tw5.com/tiddlers/system/DefaultTiddlers.tid +1 -1
  1014. package/editions/tw5.com/tiddlers/system/Sources.tid +1 -1
  1015. package/editions/tw5.com/tiddlers/system/TableOfContents.tid +1 -1
  1016. package/editions/tw5.com/tiddlers/system/download-empty.tid +1 -1
  1017. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ClassFilters_TiddlerTemplate.tid +2 -2
  1018. package/editions/tw5.com/tiddlers/tag-pill Macro (Examples).tid +7 -1
  1019. package/editions/tw5.com/tiddlers/testcases/Calls/ProcedureDynamicAttributes.tid +40 -0
  1020. package/editions/tw5.com/tiddlers/testcases/Calls/ProcedureStaticAttributes.tid +48 -0
  1021. package/editions/tw5.com/tiddlers/testcases/RevealWidget/AccordionSlider.tid +1 -1
  1022. package/editions/tw5.com/tiddlers/testcases/RevealWidget/Popup.tid +1 -1
  1023. package/editions/tw5.com/tiddlers/testcases/RevealWidget/SimpleReveal.tid +1 -1
  1024. package/editions/tw5.com/tiddlers/testcases/RevealWidget/TextReference.tid +1 -1
  1025. package/editions/tw5.com/tiddlers/v5.4.0/Improvements to Macro Calls.tid +48 -0
  1026. package/editions/tw5.com/tiddlers/variables/Behaviour of called variables depends on how the variable was declared.tid +52 -0
  1027. package/editions/tw5.com/tiddlers/variables/Behaviour of variables invoked via filter expression function call.tid +1 -1
  1028. package/editions/tw5.com/tiddlers/variables/Behaviour of variables invoked via widget attributes.tid +3 -1
  1029. package/editions/tw5.com/tiddlers/variables/Multi-Valued Variables.tid +118 -0
  1030. package/editions/tw5.com/tiddlers/variables/Variables.tid +5 -3
  1031. package/editions/tw5.com/tiddlers/webserver/WebServer API_ Get All Tiddlers.tid +1 -1
  1032. package/editions/tw5.com/tiddlers/webserver/WebServer API_ Get File.tid +14 -3
  1033. package/editions/tw5.com/tiddlers/widgets/ActionLogWidget.tid +45 -18
  1034. package/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid +4 -1
  1035. package/editions/tw5.com/tiddlers/widgets/DiffTextWidget.tid +57 -33
  1036. package/editions/tw5.com/tiddlers/widgets/EditTextWidget.tid +12 -13
  1037. package/editions/tw5.com/tiddlers/widgets/EventCatcherWidget.tid +109 -45
  1038. package/editions/tw5.com/tiddlers/widgets/ImageWidget.tid +18 -1
  1039. package/editions/tw5.com/tiddlers/widgets/LetWidget.tid +14 -2
  1040. package/editions/tw5.com/tiddlers/widgets/LinkWidget.tid +19 -2
  1041. package/editions/tw5.com/tiddlers/widgets/LogWidget.tid +43 -17
  1042. package/editions/tw5.com/tiddlers/widgets/RevealWidget.tid +46 -29
  1043. package/editions/tw5.com/tiddlers/widgets/examples/RevealWidget (Popup Clamping Example).tid +68 -0
  1044. package/editions/tw5.com/tiddlers/wikitext/Definitions in WikiText.tid +3 -10
  1045. package/editions/tw5.com/tiddlers/wikitext/Description Lists in WikiText.tid +44 -0
  1046. package/editions/tw5.com/tiddlers/wikitext/Formatting in WikiText.tid +1 -1
  1047. package/editions/tw5.com/tiddlers/wikitext/Lists in WikiText.tid +5 -1
  1048. package/editions/tw5.com/tiddlers/wikitext/Macro Calls.tid +1 -52
  1049. package/editions/tw5.com/tiddlers/wikitext/Multi-Valued Variable Attribute Values.tid +37 -0
  1050. package/editions/tw5.com/tiddlers/wikitext/Substituted Attribute Values.tid +5 -15
  1051. package/editions/tw5.com/tiddlers/wikitext/Tables in WikiText CSS Utility Classes.tid +11 -0
  1052. package/editions/tw5.com/tiddlers/wikitext/Transclusion in WikiText.tid +22 -0
  1053. package/editions/tw5.com/tiddlers/wikitext/Typed Blocks in WikiText.tid +31 -42
  1054. package/editions/tw5.com/tiddlers/wikitext/Widget Attributes.tid +3 -1
  1055. package/editions/tw5.com/tiddlers/wikitext/Widgets in WikiText.tid +1 -1
  1056. package/editions/tw5.com/tiddlers/wikitext/parser/Block Mode WikiText.tid +2 -2
  1057. package/editions/tw5.com/tiddlers/workingwithtw/TiddlyWiki Privacy and Security.tid +2 -1
  1058. package/editions/tw5.com/tiddlywiki.info +3 -3
  1059. package/editions/zh-Hans/tiddlers/system/download-empty-zh-Hans.tid +1 -1
  1060. package/editions/zh-Hans/tiddlywiki.info +1 -2
  1061. package/editions/zh-Hant/tiddlers/system/download-empty-zh-Hant.tid +1 -1
  1062. package/editions/zh-Hant/tiddlywiki.info +1 -2
  1063. package/eslint.config.mjs +327 -0
  1064. package/languages/ca-ES/ControlPanel.multids +1 -1
  1065. package/languages/da-DK/ControlPanel.multids +1 -1
  1066. package/languages/de-DE/ControlPanel.multids +7 -3
  1067. package/languages/de-DE/Draft.multids +4 -0
  1068. package/languages/de-DE/Import.multids +3 -1
  1069. package/languages/de-DE/Misc.multids +1 -0
  1070. package/languages/de-DE/TiddlerInfo.multids +5 -0
  1071. package/languages/el-GR/ControlPanel.multids +63 -59
  1072. package/languages/el-GR/Docs/PaletteColours.multids +1 -1
  1073. package/languages/el-GR/Draft.multids +4 -0
  1074. package/languages/el-GR/EditTemplate.multids +2 -2
  1075. package/languages/el-GR/Exporters.multids +3 -3
  1076. package/languages/el-GR/Import.multids +3 -1
  1077. package/languages/el-GR/Misc.multids +9 -6
  1078. package/languages/el-GR/SideBar.multids +1 -0
  1079. package/languages/el-GR/SiteSubtitle.tid +1 -1
  1080. package/languages/el-GR/ThemeTweaks.multids +2 -2
  1081. package/languages/el-GR/TiddlerInfo.multids +5 -1
  1082. package/languages/es-ES/ControlPanel.multids +16 -10
  1083. package/languages/es-ES/Fields.multids +3 -3
  1084. package/languages/es-ES/Misc.multids +1 -1
  1085. package/languages/fr-FR/ControlPanel.multids +15 -7
  1086. package/languages/fr-FR/Misc.multids +1 -0
  1087. package/languages/it-IT/ControlPanel.multids +1 -1
  1088. package/languages/ja-JP/Buttons.multids +15 -4
  1089. package/languages/ja-JP/ControlPanel.multids +35 -7
  1090. package/languages/ja-JP/Docs/ModuleTypes.multids +10 -1
  1091. package/languages/ja-JP/Docs/PaletteColours.multids +15 -0
  1092. package/languages/ja-JP/Draft.multids +4 -0
  1093. package/languages/ja-JP/EditTemplate.multids +2 -0
  1094. package/languages/ja-JP/Exporters.multids +4 -1
  1095. package/languages/ja-JP/Fields.multids +14 -8
  1096. package/languages/ja-JP/GettingStarted.tid +7 -14
  1097. package/languages/ja-JP/Help/commands.tid +18 -0
  1098. package/languages/ja-JP/Help/deletetiddlers.tid +8 -0
  1099. package/languages/ja-JP/Help/fetch.tid +38 -0
  1100. package/languages/ja-JP/Help/import.tid +24 -0
  1101. package/languages/ja-JP/Help/listen.tid +34 -0
  1102. package/languages/ja-JP/Help/load.tid +5 -2
  1103. package/languages/ja-JP/Help/password.tid +1 -1
  1104. package/languages/ja-JP/Help/render.tid +36 -0
  1105. package/languages/ja-JP/Help/rendertiddler.tid +19 -3
  1106. package/languages/ja-JP/Help/rendertiddlers.tid +9 -3
  1107. package/languages/ja-JP/Help/save.tid +25 -0
  1108. package/languages/ja-JP/Help/savetiddler.tid +7 -1
  1109. package/languages/ja-JP/Help/savetiddlers.tid +8 -6
  1110. package/languages/ja-JP/Help/savewikifolder.tid +34 -0
  1111. package/languages/ja-JP/Help/server.tid +24 -13
  1112. package/languages/ja-JP/Import.multids +3 -1
  1113. package/languages/ja-JP/Misc.multids +36 -35
  1114. package/languages/ja-JP/NewJournal.multids +1 -1
  1115. package/languages/ja-JP/NewJournalTags.tid +3 -0
  1116. package/languages/ja-JP/Notifications.multids +2 -0
  1117. package/languages/ja-JP/Search.multids +3 -1
  1118. package/languages/ja-JP/SideBar.multids +1 -1
  1119. package/languages/ja-JP/SiteTitle.tid +1 -1
  1120. package/languages/ja-JP/Snippets/FunctionDefinition.tid +7 -0
  1121. package/languages/ja-JP/Snippets/ListByTag.tid +5 -0
  1122. package/languages/ja-JP/Snippets/MacroDefinition.tid +7 -0
  1123. package/languages/ja-JP/Snippets/ProcedureDefinition.tid +7 -0
  1124. package/languages/ja-JP/Snippets/Table4x3.tid +8 -0
  1125. package/languages/ja-JP/Snippets/TableOfContents.tid +9 -0
  1126. package/languages/ja-JP/ThemeTweaks.multids +42 -0
  1127. package/languages/ja-JP/TiddlerInfo.multids +6 -1
  1128. package/languages/ja-JP/Types/application_javascript.tid +5 -0
  1129. package/languages/ja-JP/Types/application_json.tid +5 -0
  1130. package/languages/ja-JP/Types/application_x-tiddler-dictionary.tid +5 -0
  1131. package/languages/ja-JP/Types/image_gif.tid +5 -0
  1132. package/languages/ja-JP/Types/image_jpeg.tid +5 -0
  1133. package/languages/ja-JP/Types/image_png.tid +5 -0
  1134. package/languages/ja-JP/Types/image_svg+xml.tid +5 -0
  1135. package/languages/ja-JP/Types/text_css.tid +5 -0
  1136. package/languages/ja-JP/Types/text_html.tid +5 -0
  1137. package/languages/ja-JP/Types/text_plain.tid +5 -0
  1138. package/languages/ja-JP/Types/text_vnd.tiddlywiki-multiple.tid +5 -0
  1139. package/languages/ja-JP/Types/text_vnd.tiddlywiki.tid +5 -0
  1140. package/languages/mk-MK/ControlPanel.multids +1 -1
  1141. package/languages/nl-NL/ControlPanel.multids +1 -1
  1142. package/languages/pl-PL/ControlPanel.multids +1 -1
  1143. package/languages/pt-BR/ControlPanel.multids +1 -1
  1144. package/languages/pt-PT/ControlPanel.multids +1 -1
  1145. package/languages/sl-SI/ControlPanel.multids +1 -1
  1146. package/languages/zh-Hans/ControlPanel.multids +3 -2
  1147. package/languages/zh-Hans/Draft.multids +4 -0
  1148. package/languages/zh-Hans/Import.multids +2 -0
  1149. package/languages/zh-Hans/Misc.multids +1 -0
  1150. package/languages/zh-Hans/TiddlerInfo.multids +5 -0
  1151. package/languages/zh-Hant/ControlPanel.multids +3 -2
  1152. package/languages/zh-Hant/Draft.multids +4 -0
  1153. package/languages/zh-Hant/Import.multids +2 -0
  1154. package/languages/zh-Hant/Misc.multids +1 -0
  1155. package/languages/zh-Hant/TiddlerInfo.multids +5 -0
  1156. package/licenses/cla-individual.md +22 -0
  1157. package/package.json +9 -6
  1158. package/playwright.config.js +5 -0
  1159. package/plugins/tiddlywiki/aws/modules/command.js +2 -6
  1160. package/plugins/tiddlywiki/aws/modules/init.js +1 -1
  1161. package/plugins/tiddlywiki/bibtex/deserializer.js +1 -1
  1162. package/plugins/tiddlywiki/browser-sniff/browser.js +1 -2
  1163. package/plugins/tiddlywiki/browser-storage/settings.tid +1 -1
  1164. package/plugins/tiddlywiki/browser-storage/startup.js +4 -10
  1165. package/plugins/tiddlywiki/browser-storage/util.js +72 -74
  1166. package/plugins/tiddlywiki/codemirror/engine.js +48 -46
  1167. package/plugins/tiddlywiki/confetti/confetti-widget.js +0 -2
  1168. package/plugins/tiddlywiki/dom-to-image/docs.tid +66 -0
  1169. package/plugins/tiddlywiki/dom-to-image/files/LICENSE +29 -0
  1170. package/plugins/tiddlywiki/dom-to-image/files/dom-to-image-more.min.js +3 -0
  1171. package/plugins/tiddlywiki/dom-to-image/files/tiddlywiki.files +21 -0
  1172. package/plugins/tiddlywiki/dom-to-image/plugin.info +7 -0
  1173. package/plugins/tiddlywiki/dom-to-image/readme.tid +3 -0
  1174. package/plugins/tiddlywiki/dom-to-image/startup.js +92 -0
  1175. package/plugins/tiddlywiki/dynannotate/modules/dynannotate.js +4 -12
  1176. package/plugins/tiddlywiki/dynannotate/modules/element-spotlight.js +1 -1
  1177. package/plugins/tiddlywiki/dynannotate/modules/selection-tracker.js +4 -4
  1178. package/plugins/tiddlywiki/dynannotate/modules/textmap.js +5 -5
  1179. package/plugins/tiddlywiki/dynaview/dynaview.js +1 -1
  1180. package/plugins/tiddlywiki/evernote/modules/enex-deserializer.js +5 -5
  1181. package/plugins/tiddlywiki/external-attachments/startup.js +2 -2
  1182. package/plugins/tiddlywiki/filesystem/filesystemadaptor.js +1 -3
  1183. package/plugins/tiddlywiki/filesystem/plugin.info +1 -0
  1184. package/plugins/tiddlywiki/freelinks/aho-corasick.js +190 -0
  1185. package/plugins/tiddlywiki/freelinks/config-Freelinks-WordBoundary.tid +2 -0
  1186. package/plugins/tiddlywiki/freelinks/readme.tid +26 -5
  1187. package/plugins/tiddlywiki/freelinks/settings.tid +2 -0
  1188. package/plugins/tiddlywiki/freelinks/text.js +229 -113
  1189. package/plugins/tiddlywiki/geospatial/geotools.js +2 -2
  1190. package/plugins/tiddlywiki/geospatial/operators/lookup.js +1 -1
  1191. package/plugins/tiddlywiki/geospatial/operators/olc.js +3 -4
  1192. package/plugins/tiddlywiki/geospatial/operators/transformation.js +2 -3
  1193. package/plugins/tiddlywiki/geospatial/widgets/geomap.js +9 -9
  1194. package/plugins/tiddlywiki/googleanalytics/googleanalytics.js +1 -1
  1195. package/plugins/tiddlywiki/highlight/files/highlight.min.js +1132 -1289
  1196. package/plugins/tiddlywiki/highlight/highlightblock.js +4 -4
  1197. package/plugins/tiddlywiki/highlight/readme.tid +1 -1
  1198. package/plugins/tiddlywiki/innerwiki/innerwiki.js +2 -3
  1199. package/plugins/tiddlywiki/innerwiki/screenshot.js +1 -3
  1200. package/plugins/tiddlywiki/jasmine/jasmine-plugin.js +12 -3
  1201. package/plugins/tiddlywiki/jasmine/run-wiki-based-tests.js +3 -5
  1202. package/plugins/tiddlywiki/jasmine/startup.js +1 -1
  1203. package/plugins/tiddlywiki/jszip/startup.js +3 -3
  1204. package/plugins/tiddlywiki/katex/files/contrib/mhchem.min.js +1 -1
  1205. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  1206. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  1207. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  1208. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  1209. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.woff2 +0 -0
  1210. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  1211. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.woff2 +0 -0
  1212. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.woff2 +0 -0
  1213. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  1214. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.woff2 +0 -0
  1215. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  1216. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  1217. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  1218. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.woff2 +0 -0
  1219. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  1220. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  1221. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  1222. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  1223. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  1224. package/plugins/tiddlywiki/katex/files/katex.min.css +1 -1
  1225. package/plugins/tiddlywiki/katex/files/katex.min.js +1 -1
  1226. package/plugins/tiddlywiki/katex/files/katex.without-font-face.min.css +1 -1
  1227. package/plugins/tiddlywiki/katex/files/tiddlywiki.files +2 -2
  1228. package/plugins/tiddlywiki/katex/latex-parser.js +1 -1
  1229. package/plugins/tiddlywiki/katex/readme.tid +1 -1
  1230. package/plugins/tiddlywiki/katex/styles.tid +40 -20
  1231. package/plugins/tiddlywiki/katex/wrapper.js +1 -1
  1232. package/plugins/tiddlywiki/markdown/editor-operations/make-markdown-link.js +1 -1
  1233. package/plugins/tiddlywiki/markdown/files/markdown-it-deflist.min.js +2 -7
  1234. package/plugins/tiddlywiki/markdown/files/markdown-it-footnote.min.js +2 -1
  1235. package/plugins/tiddlywiki/markdown/files/markdown-it-ins.min.js +2 -2
  1236. package/plugins/tiddlywiki/markdown/files/markdown-it-mark.min.js +2 -2
  1237. package/plugins/tiddlywiki/markdown/files/markdown-it-sub.min.js +2 -2
  1238. package/plugins/tiddlywiki/markdown/files/markdown-it-sup.min.js +2 -2
  1239. package/plugins/tiddlywiki/markdown/files/markdown-it.min.js +2 -3
  1240. package/plugins/tiddlywiki/markdown/markdown-it-katex.js +131 -131
  1241. package/plugins/tiddlywiki/markdown/markdown-it-tiddlywiki.js +102 -104
  1242. package/plugins/tiddlywiki/markdown/styles.tid +3 -0
  1243. package/plugins/tiddlywiki/markdown/wrapper.js +32 -23
  1244. package/plugins/tiddlywiki/markdown-legacy/wrapper.js +143 -144
  1245. package/plugins/tiddlywiki/qrcode/makeqr.js +1 -1
  1246. package/plugins/tiddlywiki/railroad/components.js +21 -21
  1247. package/plugins/tiddlywiki/railroad/parser.js +4 -4
  1248. package/plugins/tiddlywiki/railroad/typed-parser.js +5 -5
  1249. package/plugins/tiddlywiki/railroad/wrapper.js +1 -1
  1250. package/plugins/tiddlywiki/stacked-view/stacked.js +0 -1
  1251. package/plugins/tiddlywiki/text-slicer/modules/commands/slice.js +15 -16
  1252. package/plugins/tiddlywiki/text-slicer/modules/slicer.js +69 -70
  1253. package/plugins/tiddlywiki/text-slicer/modules/startup/slicer-startup.js +1 -1
  1254. package/plugins/tiddlywiki/tiddlyweb/config-tiddlers-filter.tid +1 -1
  1255. package/plugins/tiddlywiki/tiddlyweb/save-offline.tid +1 -1
  1256. package/plugins/tiddlywiki/tiddlyweb/tiddlywebadaptor.js +5 -7
  1257. package/plugins/tiddlywiki/translators/output-file-templates/Draft.multids.tid +3 -0
  1258. package/plugins/tiddlywiki/translators/output-file-templates/Misc.multids.tid +1 -0
  1259. package/plugins/tiddlywiki/translators/ui/group/Draft.tid +28 -0
  1260. package/plugins/tiddlywiki/translators/ui/group/Miscellaneous.tid +1 -0
  1261. package/plugins/tiddlywiki/tw2parser/classictransclude.js +3 -4
  1262. package/plugins/tiddlywiki/tw2parser/entry.js +1 -1
  1263. package/plugins/tiddlywiki/tw2parser/parameteradapter.js +6 -5
  1264. package/plugins/tiddlywiki/tw2parser/wikitextrules.js +594 -598
  1265. package/plugins/tiddlywiki/tw5.com-docs/readme.tid +1 -1
  1266. package/plugins/tiddlywiki/twitter/twitter-widget.js +3 -3
  1267. package/plugins/tiddlywiki/twitter-archivist/archivist.js +41 -10
  1268. package/plugins/tiddlywiki/twitter-archivist/loadtwitterarchive.js +5 -7
  1269. package/plugins/tiddlywiki/twitter-archivist/startup.js +4 -4
  1270. package/plugins/tiddlywiki/upgrade/save-tiddler-filter.tid +1 -1
  1271. package/plugins/tiddlywiki/wikitext-serialize/plugin.info +7 -0
  1272. package/plugins/tiddlywiki/wikitext-serialize/rules/codeblock.js +13 -0
  1273. package/plugins/tiddlywiki/wikitext-serialize/rules/codeinline.js +13 -0
  1274. package/plugins/tiddlywiki/wikitext-serialize/rules/commentblock.js +13 -0
  1275. package/plugins/tiddlywiki/wikitext-serialize/rules/commentinline.js +13 -0
  1276. package/plugins/tiddlywiki/wikitext-serialize/rules/conditional.js +42 -0
  1277. package/plugins/tiddlywiki/wikitext-serialize/rules/dash.js +13 -0
  1278. package/plugins/tiddlywiki/wikitext-serialize/rules/emphasis/bold.js +13 -0
  1279. package/plugins/tiddlywiki/wikitext-serialize/rules/emphasis/italic.js +13 -0
  1280. package/plugins/tiddlywiki/wikitext-serialize/rules/emphasis/strikethrough.js +13 -0
  1281. package/plugins/tiddlywiki/wikitext-serialize/rules/emphasis/subscript.js +13 -0
  1282. package/plugins/tiddlywiki/wikitext-serialize/rules/emphasis/superscript.js +13 -0
  1283. package/plugins/tiddlywiki/wikitext-serialize/rules/emphasis/underscore.js +13 -0
  1284. package/plugins/tiddlywiki/wikitext-serialize/rules/entity.js +13 -0
  1285. package/plugins/tiddlywiki/wikitext-serialize/rules/extlink.js +17 -0
  1286. package/plugins/tiddlywiki/wikitext-serialize/rules/filteredtranscludeblock.js +24 -0
  1287. package/plugins/tiddlywiki/wikitext-serialize/rules/filteredtranscludeinline.js +15 -0
  1288. package/plugins/tiddlywiki/wikitext-serialize/rules/fnprocdef.js +24 -0
  1289. package/plugins/tiddlywiki/wikitext-serialize/rules/hardlinebreaks.js +20 -0
  1290. package/plugins/tiddlywiki/wikitext-serialize/rules/heading.js +17 -0
  1291. package/plugins/tiddlywiki/wikitext-serialize/rules/horizrule.js +13 -0
  1292. package/plugins/tiddlywiki/wikitext-serialize/rules/html.js +34 -0
  1293. package/plugins/tiddlywiki/wikitext-serialize/rules/image.js +18 -0
  1294. package/plugins/tiddlywiki/wikitext-serialize/rules/import.js +15 -0
  1295. package/plugins/tiddlywiki/wikitext-serialize/rules/list.js +76 -0
  1296. package/plugins/tiddlywiki/wikitext-serialize/rules/macrocallblock.js +27 -0
  1297. package/plugins/tiddlywiki/wikitext-serialize/rules/macrocallinline.js +15 -0
  1298. package/plugins/tiddlywiki/wikitext-serialize/rules/macrodef.js +21 -0
  1299. package/plugins/tiddlywiki/wikitext-serialize/rules/parameters.js +16 -0
  1300. package/plugins/tiddlywiki/wikitext-serialize/rules/parsermode.js +14 -0
  1301. package/plugins/tiddlywiki/wikitext-serialize/rules/prettyextlink.js +15 -0
  1302. package/plugins/tiddlywiki/wikitext-serialize/rules/prettylink.js +15 -0
  1303. package/plugins/tiddlywiki/wikitext-serialize/rules/quoteblock.js +24 -0
  1304. package/plugins/tiddlywiki/wikitext-serialize/rules/rules.js +26 -0
  1305. package/plugins/tiddlywiki/wikitext-serialize/rules/styleblock.js +57 -0
  1306. package/plugins/tiddlywiki/wikitext-serialize/rules/styleinline.js +28 -0
  1307. package/plugins/tiddlywiki/wikitext-serialize/rules/syslink.js +18 -0
  1308. package/plugins/tiddlywiki/wikitext-serialize/rules/table.js +39 -0
  1309. package/plugins/tiddlywiki/wikitext-serialize/rules/transcludeblock.js +57 -0
  1310. package/plugins/tiddlywiki/wikitext-serialize/rules/transcludeinline.js +15 -0
  1311. package/plugins/tiddlywiki/wikitext-serialize/rules/typedblock.js +16 -0
  1312. package/plugins/tiddlywiki/wikitext-serialize/rules/wikilink.js +17 -0
  1313. package/plugins/tiddlywiki/wikitext-serialize/rules/wikilinkprefix.js +15 -0
  1314. package/plugins/tiddlywiki/wikitext-serialize/utils/parsetree.js +132 -0
  1315. package/plugins/tiddlywiki/xlsx-utils/deserializer.js +1 -2
  1316. package/plugins/tiddlywiki/xlsx-utils/importer.js +5 -5
  1317. package/plugins/tiddlywiki/xlsx-utils/xlsx-import-command.js +1 -2
  1318. package/readme.md +2 -5
  1319. package/themes/tiddlywiki/snowwhite/base.tid +34 -20
  1320. package/themes/tiddlywiki/vanilla/base.tid +135 -49
  1321. package/themes/tiddlywiki/vanilla/options.multids +1 -1
  1322. package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -67
  1323. package/.github/workflows/pr-path-validation.yml +0 -18
  1324. package/core/modules/commander.js +0 -172
  1325. package/core/modules/commands/commands.js +0 -36
  1326. package/core/modules/commands/deletetiddlers.js +0 -37
  1327. package/core/modules/commands/fetch.js +0 -170
  1328. package/core/modules/commands/import.js +0 -43
  1329. package/core/modules/commands/init.js +0 -54
  1330. package/core/modules/commands/listen.js +0 -43
  1331. package/core/modules/commands/load.js +0 -46
  1332. package/core/modules/commands/output.js +0 -33
  1333. package/core/modules/commands/render.js +0 -65
  1334. package/core/modules/commands/rendertiddlers.js +0 -64
  1335. package/core/modules/commands/save.js +0 -63
  1336. package/core/modules/commands/savetiddlers.js +0 -51
  1337. package/core/modules/commands/savewikifolder.js +0 -220
  1338. package/core/modules/commands/server.js +0 -50
  1339. package/core/modules/commands/setfield.js +0 -53
  1340. package/core/modules/server/authenticators/basic.js +0 -89
  1341. package/core/modules/server/routes/delete-tiddler.js +0 -22
  1342. package/core/modules/server/routes/get-favicon.js +0 -18
  1343. package/core/modules/server/routes/get-file.js +0 -42
  1344. package/core/modules/server/routes/get-index.js +0 -21
  1345. package/core/modules/server/routes/get-login-basic.js +0 -30
  1346. package/core/modules/server/routes/get-status.js +0 -27
  1347. package/core/modules/server/routes/get-tiddler-html.js +0 -38
  1348. package/core/modules/server/routes/get-tiddler.js +0 -40
  1349. package/core/modules/server/routes/get-tiddlers-json.js +0 -44
  1350. package/core/modules/server/routes/put-tiddler.js +0 -46
  1351. package/core/modules/server/server.js +0 -373
  1352. package/core/modules/utils/base64-utf8/base64-utf8.module.js +0 -142
  1353. package/core/modules/utils/base64-utf8/base64-utf8.module.min.js +0 -9
  1354. package/core/modules/utils/base64-utf8/tiddlywiki.files +0 -14
  1355. package/core/modules/utils/filesystem.js +0 -542
  1356. package/core/modules/utils/repository.js +0 -46
  1357. package/editions/d3demo/tiddlers/CloudData.tid +0 -44
  1358. package/editions/d3demo/tiddlers/DefaultTiddlers.tid +0 -3
  1359. package/editions/d3demo/tiddlers/GraphData.tid +0 -10
  1360. package/editions/d3demo/tiddlers/HelloThere.tid +0 -17
  1361. package/editions/d3demo/tiddlers/SiteSubtitle.tid +0 -3
  1362. package/editions/d3demo/tiddlers/SiteTitle.tid +0 -3
  1363. package/editions/d3demo/tiddlers/grouped.tid +0 -3
  1364. package/editions/d3demo/tiddlers/spiral.tid +0 -3
  1365. package/editions/d3demo/tiddlywiki.info +0 -16
  1366. package/editions/fr-FR/tiddlers/community/resources/_savetiddlers_ Extension for Chrome and Firefox by buggyj.tid +0 -17
  1367. package/editions/ja-JP/tiddlers/community/resources/_savetiddlers_ Extension for Chrome and Firefox by buggyj.tid +0 -18
  1368. package/editions/ja-JP/tiddlers/hellothere/Welcome.tid +0 -8
  1369. package/editions/ja-JP/tiddlers/hellothere/thumbnails/HelloThumbnail - Funding.tid +0 -10
  1370. package/editions/tahoelafs/tiddlers/DefaultTiddlers.tid +0 -3
  1371. package/editions/tahoelafs/tiddlers/HelloThere.tid +0 -6
  1372. package/editions/tahoelafs/tiddlers/SiteSubtitle.tid +0 -3
  1373. package/editions/tahoelafs/tiddlers/SiteTitle.tid +0 -3
  1374. package/editions/tahoelafs/tiddlywiki.info +0 -14
  1375. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project.htm +0 -23430
  1376. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon +0 -0
  1377. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(1) +0 -0
  1378. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(10) +0 -0
  1379. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(11) +0 -0
  1380. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(12) +0 -0
  1381. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(13) +0 -0
  1382. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(14) +0 -0
  1383. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(15) +0 -0
  1384. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(16) +0 -0
  1385. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(17) +0 -0
  1386. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(18) +0 -0
  1387. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(19) +0 -0
  1388. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(2) +0 -0
  1389. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(20) +0 -0
  1390. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(21) +0 -0
  1391. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(22) +0 -0
  1392. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(23) +0 -0
  1393. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(24) +0 -0
  1394. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(3) +0 -0
  1395. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(4) +0 -0
  1396. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(5) +0 -0
  1397. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(6) +0 -0
  1398. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(7) +0 -0
  1399. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(8) +0 -0
  1400. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/SiteIcon(9) +0 -0
  1401. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/app.css +0 -191
  1402. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/backstage.html +0 -95
  1403. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/backstage.js +0 -360
  1404. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/chrjs +0 -373
  1405. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/chrjs.identities +0 -42
  1406. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/chrjs.space +0 -108
  1407. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/chrjs.users +0 -57
  1408. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/help.png +0 -0
  1409. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/jquery.js +0 -11
  1410. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/normalize.css +0 -406
  1411. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/publicIcon +0 -0
  1412. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/search.png +0 -0
  1413. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/status.js +0 -2
  1414. package/editions/tiddlywiki-surveys/great-interview-project-2010/The great TiddlyWiki interview project_files/ts.js +0 -766
  1415. package/editions/tiddlywiki-surveys/great-interview-project-2010/readme.md +0 -3
  1416. package/editions/tiddlywiki-surveys/tiddlers/$__StoryList.tid +0 -2
  1417. package/editions/tw5.com/tiddlers/$__StoryList.tid +0 -5
  1418. package/editions/tw5.com/tiddlers/community/Community Survey 2025 Sidebar Segment Styles.tid +0 -9
  1419. package/editions/tw5.com/tiddlers/community/Community Survey 2025 Sidebar Segment.tid +0 -11
  1420. package/editions/tw5.com/tiddlers/community/TiddlyWiki Newsletter Team.tid +0 -60
  1421. package/editions/tw5.com/tiddlers/community/resources/_TWeb.at_ by Mario Pietsch.tid +0 -16
  1422. package/editions/tw5.com/tiddlers/community/resources/_savetiddlers_ Extension for Chrome and Firefox by buggyj.tid +0 -16
  1423. package/editions/tw5.com/tiddlers/definitions/TiddlyIE.tid +0 -9
  1424. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Internet Explorer.tid +0 -10
  1425. package/editions/tw5.com/tiddlers/hellothere/Welcome.tid +0 -7
  1426. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Funding.tid +0 -9
  1427. package/editions/tw5.com/tiddlers/howtos/Windows HTA Hack.tid +0 -17
  1428. package/editions/tw5.com/tiddlers/images/Community Survey 2025.png +0 -0
  1429. package/editions/tw5.com/tiddlers/images/Community Survey 2025.png.meta +0 -6
  1430. package/editions/tw5.com/tiddlers/images/Funding.png +0 -0
  1431. package/editions/tw5.com/tiddlers/images/Funding.png.meta +0 -4
  1432. package/editions/tw5.com/tiddlers/images/Intertwingled Innovations.png +0 -0
  1433. package/editions/tw5.com/tiddlers/images/Intertwingled Innovations.png.meta +0 -3
  1434. package/editions/tw5.com/tiddlers/images/MWS Banner.png +0 -0
  1435. package/editions/tw5.com/tiddlers/images/MWS Banner.png.meta +0 -4
  1436. package/editions/tw5.com/tiddlers/images/Marketplace Banner.png +0 -0
  1437. package/editions/tw5.com/tiddlers/images/Marketplace Banner.png.meta +0 -4
  1438. package/editions/tw5.com/tiddlers/images/New Release Banner.png +0 -0
  1439. package/editions/tw5.com/tiddlers/images/New Release Banner.png.meta +0 -4
  1440. package/editions/tw5.com/tiddlers/images/Tiddler Poster.png +0 -0
  1441. package/editions/tw5.com/tiddlers/images/Tiddler Poster.png.meta +0 -5
  1442. package/editions/tw5.com/tiddlers/images/TiddlyFox Apocalypse.png +0 -0
  1443. package/editions/tw5.com/tiddlers/images/TiddlyFox Apocalypse.png.meta +0 -4
  1444. package/editions/tw5.com/tiddlers/images/TiddlyWiki Classic.png +0 -0
  1445. package/editions/tw5.com/tiddlers/images/TiddlyWiki Classic.png.meta +0 -4
  1446. package/editions/tw5.com/tiddlers/images/TiddlyWiki Newsletter Badge.png +0 -0
  1447. package/editions/tw5.com/tiddlers/images/TiddlyWiki Newsletter Badge.png.meta +0 -6
  1448. package/editions/tw5.com/tiddlers/images/TiddlyWiki Privacy Badge.png +0 -0
  1449. package/editions/tw5.com/tiddlers/images/TiddlyWiki Privacy Badge.png.meta +0 -6
  1450. package/editions/tw5.com/tiddlers/images/Twenty Years of TiddlyWiki.png +0 -0
  1451. package/editions/tw5.com/tiddlers/images/Twenty Years of TiddlyWiki.png.meta +0 -4
  1452. package/editions/tw5.com/tiddlers/macros/syntax/MacroParameterValue.tid +0 -11
  1453. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.23.tid +0 -298
  1454. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.0.tid +0 -302
  1455. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.4.tid +0 -145
  1456. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.6.tid +0 -149
  1457. package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.2.tid +0 -184
  1458. package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.7.tid +0 -146
  1459. package/editions/tw5.com/tiddlers/releasenotes/Release 5.3.8.tid +0 -43
  1460. package/editions/tw5.com/tiddlers/saving/Saving with TiddlyIE.tid +0 -25
  1461. package/editions/tw5.com/tiddlers/variables/Behaviour of invoked variables depends on how the variable was declared.tid +0 -52
  1462. package/eslint.config.js +0 -333
  1463. package/languages/ja-JP/Types/application%2Fjavascript.tid +0 -4
  1464. package/languages/ja-JP/Types/application%2Fjson.tid +0 -4
  1465. package/languages/ja-JP/Types/application%2Fx-tiddler-dictionary.tid +0 -4
  1466. package/languages/ja-JP/Types/image%2Fgif.tid +0 -4
  1467. package/languages/ja-JP/Types/image%2Fjpeg.tid +0 -4
  1468. package/languages/ja-JP/Types/image%2Fpng.tid +0 -4
  1469. package/languages/ja-JP/Types/image%2Fsvg%2Bxml.tid +0 -4
  1470. package/languages/ja-JP/Types/text%2Fcss.tid +0 -4
  1471. package/languages/ja-JP/Types/text%2Fhtml.tid +0 -4
  1472. package/languages/ja-JP/Types/text%2Fplain.tid +0 -4
  1473. package/languages/ja-JP/Types/text%2Fvnd.tiddlywiki.tid +0 -4
  1474. package/playwright-report/index.html +0 -77
  1475. package/plugins/tiddlywiki/blog/docs.tid +0 -6
  1476. package/plugins/tiddlywiki/blog/plugin.info +0 -7
  1477. package/plugins/tiddlywiki/blog/readme.tid +0 -5
  1478. package/plugins/tiddlywiki/blog/templates/html-page/page.tid +0 -31
  1479. package/plugins/tiddlywiki/blog/templates/html-page/post.tid +0 -32
  1480. package/plugins/tiddlywiki/blog/templates/menu.tid +0 -15
  1481. package/plugins/tiddlywiki/blog/templates/tiddler.tid +0 -35
  1482. package/plugins/tiddlywiki/cecily/cecily.js +0 -140
  1483. package/plugins/tiddlywiki/cecily/plugin.info +0 -7
  1484. package/plugins/tiddlywiki/cecily/readme.tid +0 -9
  1485. package/plugins/tiddlywiki/cecily/storyview-cecily.tid +0 -8
  1486. package/plugins/tiddlywiki/d3/barwidget.js +0 -199
  1487. package/plugins/tiddlywiki/d3/base.tid +0 -18
  1488. package/plugins/tiddlywiki/d3/cloudwidget.js +0 -128
  1489. package/plugins/tiddlywiki/d3/files/LICENSE +0 -26
  1490. package/plugins/tiddlywiki/d3/files/cloud/LICENSE +0 -26
  1491. package/plugins/tiddlywiki/d3/files/cloud/d3.layout.cloud.js +0 -401
  1492. package/plugins/tiddlywiki/d3/files/d3.min.js +0 -5
  1493. package/plugins/tiddlywiki/d3/files/tiddlywiki.files +0 -22
  1494. package/plugins/tiddlywiki/d3/plugin.info +0 -7
  1495. package/plugins/tiddlywiki/d3/readme.tid +0 -7
  1496. package/plugins/tiddlywiki/hammerjs/files/LICENSE.markdown +0 -21
  1497. package/plugins/tiddlywiki/hammerjs/files/hammer.min.v2.0.8.js +0 -6
  1498. package/plugins/tiddlywiki/hammerjs/files/tiddlywiki.files +0 -20
  1499. package/plugins/tiddlywiki/hammerjs/plugin.info +0 -8
  1500. package/plugins/tiddlywiki/hammerjs/readme.tid +0 -3
  1501. package/plugins/tiddlywiki/highlight-legacy/TypeMappings.multids +0 -9
  1502. package/plugins/tiddlywiki/highlight-legacy/files/default.css +0 -99
  1503. package/plugins/tiddlywiki/highlight-legacy/files/highlight.pack.js +0 -2
  1504. package/plugins/tiddlywiki/highlight-legacy/files/tiddlywiki.files +0 -22
  1505. package/plugins/tiddlywiki/highlight-legacy/highlightblock.js +0 -38
  1506. package/plugins/tiddlywiki/highlight-legacy/license.tid +0 -27
  1507. package/plugins/tiddlywiki/highlight-legacy/plugin.info +0 -8
  1508. package/plugins/tiddlywiki/highlight-legacy/readme.tid +0 -65
  1509. package/plugins/tiddlywiki/highlight-legacy/styles.tid +0 -82
  1510. package/plugins/tiddlywiki/highlight-legacy/usage.tid +0 -28
  1511. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.woff +0 -0
  1512. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  1513. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  1514. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  1515. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  1516. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.woff +0 -0
  1517. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.woff +0 -0
  1518. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.woff +0 -0
  1519. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.woff +0 -0
  1520. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  1521. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.woff +0 -0
  1522. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  1523. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  1524. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  1525. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.woff +0 -0
  1526. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.woff +0 -0
  1527. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.woff +0 -0
  1528. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.woff +0 -0
  1529. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.woff +0 -0
  1530. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  1531. package/plugins/tiddlywiki/mobiledragdrop/files/LICENSE +0 -7
  1532. package/plugins/tiddlywiki/mobiledragdrop/files/ios-drag-drop.js +0 -477
  1533. package/plugins/tiddlywiki/mobiledragdrop/files/tiddlywiki.files +0 -18
  1534. package/plugins/tiddlywiki/mobiledragdrop/plugin.info +0 -8
  1535. package/plugins/tiddlywiki/mobiledragdrop/rawmarkup.tid +0 -7
  1536. package/plugins/tiddlywiki/mobiledragdrop/readme.tid +0 -5
  1537. package/plugins/tiddlywiki/mobiledragdrop/startup.js +0 -20
  1538. package/plugins/tiddlywiki/nodewebkitsaver/nodewebkit.js +0 -59
  1539. package/plugins/tiddlywiki/nodewebkitsaver/plugin.info +0 -7
  1540. package/plugins/tiddlywiki/nodewebkitsaver/readme.tid +0 -5
  1541. package/plugins/tiddlywiki/tahoelafs/plugin.info +0 -7
  1542. package/plugins/tiddlywiki/tahoelafs/readme.tid +0 -7
  1543. package/plugins/tiddlywiki/tahoelafs/saver.js +0 -52
  1544. package/test-results/.last-run.json +0 -4
  1545. /package/{core/modules → core-server}/commands/build.js +0 -0
  1546. /package/{core/modules → core-server}/commands/clearpassword.js +0 -0
  1547. /package/{core/modules → core-server}/commands/editions.js +0 -0
  1548. /package/{core/modules → core-server}/commands/help.js +0 -0
  1549. /package/{core/modules → core-server}/commands/makelibrary.js +0 -0
  1550. /package/{core/modules → core-server}/commands/password.js +0 -0
  1551. /package/{core/modules → core-server}/commands/rendertiddler.js +0 -0
  1552. /package/{core/modules → core-server}/commands/savelibrarytiddlers.js +0 -0
  1553. /package/{core/modules → core-server}/commands/savetiddler.js +0 -0
  1554. /package/{core/modules → core-server}/commands/unpackplugin.js +0 -0
  1555. /package/{core/modules → core-server}/commands/verbose.js +0 -0
  1556. /package/{core/modules → core-server}/commands/version.js +0 -0
  1557. /package/{core/modules → core-server}/server/authenticators/header.js +0 -0
  1558. /package/{core/modules → core-server}/startup/commands.js +0 -0
  1559. /package/{core/modules → core-server}/utils/edition-info.js +0 -0
  1560. /package/editions/ja-JP/tiddlers/hiddensettings/{Hidden Setting_ Default Tiddler Icon.tid → Hidden Setting Default Tiddler Icon.tid} +0 -0
  1561. /package/editions/ja-JP/tiddlers/howtos/{Custom Styles FAQ.tid → Custom_Styles_FAQ.tid} +0 -0
  1562. /package/editions/ja-JP/tiddlers/howtos/{How to hide the author's and other fields with CSS.tid → How to hide the authors and other fields with CSS.tid} +0 -0
  1563. /package/editions/ja-JP/tiddlers/howtos/{How to widen tiddlers (aka storyriver).tid → How to widen tiddlers (aka story river).tid} +0 -0
  1564. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.0.tid → pre-5.4.0/Release 5.1.0.tid} +0 -0
  1565. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.1.tid → pre-5.4.0/Release 5.1.1.tid} +0 -0
  1566. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.10.tid → pre-5.4.0/Release 5.1.10.tid} +0 -0
  1567. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.11.tid → pre-5.4.0/Release 5.1.11.tid} +0 -0
  1568. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.12.tid → pre-5.4.0/Release 5.1.12.tid} +0 -0
  1569. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.13.tid → pre-5.4.0/Release 5.1.13.tid} +0 -0
  1570. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.14.tid → pre-5.4.0/Release 5.1.14.tid} +0 -0
  1571. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.15.tid → pre-5.4.0/Release 5.1.15.tid} +0 -0
  1572. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.16.tid → pre-5.4.0/Release 5.1.16.tid} +0 -0
  1573. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.17.tid → pre-5.4.0/Release 5.1.17.tid} +0 -0
  1574. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.18.tid → pre-5.4.0/Release 5.1.18.tid} +0 -0
  1575. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.19.tid → pre-5.4.0/Release 5.1.19.tid} +0 -0
  1576. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.2.tid → pre-5.4.0/Release 5.1.2.tid} +0 -0
  1577. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.20.tid → pre-5.4.0/Release 5.1.20.tid} +0 -0
  1578. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.21.tid → pre-5.4.0/Release 5.1.21.tid} +0 -0
  1579. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.22.tid → pre-5.4.0/Release 5.1.22.tid} +0 -0
  1580. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.3.tid → pre-5.4.0/Release 5.1.3.tid} +0 -0
  1581. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.4.tid → pre-5.4.0/Release 5.1.4.tid} +0 -0
  1582. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.5.tid → pre-5.4.0/Release 5.1.5.tid} +0 -0
  1583. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.6.tid → pre-5.4.0/Release 5.1.6.tid} +0 -0
  1584. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.7.tid → pre-5.4.0/Release 5.1.7.tid} +0 -0
  1585. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.8.tid → pre-5.4.0/Release 5.1.8.tid} +0 -0
  1586. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.1.9.tid → pre-5.4.0/Release 5.1.9.tid} +0 -0
  1587. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.2.1.tid → pre-5.4.0/Release 5.2.1.tid} +0 -0
  1588. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.2.2.tid → pre-5.4.0/Release 5.2.2.tid} +0 -0
  1589. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.2.3.tid → pre-5.4.0/Release 5.2.3.tid} +0 -0
  1590. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.2.5.tid → pre-5.4.0/Release 5.2.5.tid} +0 -0
  1591. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.2.7.tid → pre-5.4.0/Release 5.2.7.tid} +0 -0
  1592. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.3.0.tid → pre-5.4.0/Release 5.3.0.tid} +0 -0
  1593. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.3.1.tid → pre-5.4.0/Release 5.3.1.tid} +0 -0
  1594. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.3.3.tid → pre-5.4.0/Release 5.3.3.tid} +0 -0
  1595. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.3.4.tid → pre-5.4.0/Release 5.3.4.tid} +0 -0
  1596. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.3.5.tid → pre-5.4.0/Release 5.3.5.tid} +0 -0
  1597. /package/editions/tw5.com/tiddlers/releasenotes/{Release 5.3.6.tid → pre-5.4.0/Release 5.3.6.tid} +0 -0
@@ -1,5 +0,0 @@
1
- d3=function(){function n(n){return null!=n&&!isNaN(n)}function t(n){return n.length}function e(n){for(var t=1;n*t%1;)t*=10;return t}function r(n,t){try{for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}catch(r){n.prototype=t}}function i(){}function u(){}function a(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function o(n,t){if(t in n)return t;t=t.charAt(0).toUpperCase()+t.substring(1);for(var e=0,r=Na.length;r>e;++e){var i=Na[e]+t;if(i in n)return i}}function c(n){for(var t=-1,e=n.length,r=[];++t<e;)r.push(n[t]);return r}function l(n){return Array.prototype.slice.call(n)}function s(){}function f(){}function h(n){function t(){for(var t,r=e,i=-1,u=r.length;++i<u;)(t=r[i].on)&&t.apply(this,arguments);return n}var e=[],r=new i;return t.on=function(t,i){var u,a=r.get(t);return arguments.length<2?a&&a.on:(a&&(a.on=null,e=e.slice(0,u=e.indexOf(a)).concat(e.slice(u+1)),r.remove(t)),i&&e.push(r.set(t,{on:i})),n)},t}function g(){da.event.preventDefault()}function p(){for(var n,t=da.event;n=t.sourceEvent;)t=n;return t}function d(n){for(var t=new f,e=0,r=arguments.length;++e<r;)t[arguments[e]]=h(t);return t.of=function(e,r){return function(i){try{var u=i.sourceEvent=da.event;i.target=n,da.event=i,t[i.type].apply(e,r)}finally{da.event=u}}},t}function m(n){return za(n,Fa),n}function v(n){return"function"==typeof n?n:function(){return Da(n,this)}}function y(n){return"function"==typeof n?n:function(){return ja(n,this)}}function M(n,t){function e(){this.removeAttribute(n)}function r(){this.removeAttributeNS(n.space,n.local)}function i(){this.setAttribute(n,t)}function u(){this.setAttributeNS(n.space,n.local,t)}function a(){var e=t.apply(this,arguments);null==e?this.removeAttribute(n):this.setAttribute(n,e)}function o(){var e=t.apply(this,arguments);null==e?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,e)}return n=da.ns.qualify(n),null==t?n.local?r:e:"function"==typeof t?n.local?o:a:n.local?u:i}function x(n){return n.trim().replace(/\s+/g," ")}function b(n){return new RegExp("(?:^|\\s+)"+da.requote(n)+"(?:\\s+|$)","g")}function _(n,t){function e(){for(var e=-1;++e<i;)n[e](this,t)}function r(){for(var e=-1,r=t.apply(this,arguments);++e<i;)n[e](this,r)}n=n.trim().split(/\s+/).map(w);var i=n.length;return"function"==typeof t?r:e}function w(n){var t=b(n);return function(e,r){if(i=e.classList)return r?i.add(n):i.remove(n);var i=e.getAttribute("class")||"";r?(t.lastIndex=0,t.test(i)||e.setAttribute("class",x(i+" "+n))):e.setAttribute("class",x(i.replace(t," ")))}}function S(n,t,e){function r(){this.style.removeProperty(n)}function i(){this.style.setProperty(n,t,e)}function u(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(n):this.style.setProperty(n,r,e)}return null==t?r:"function"==typeof t?u:i}function E(n,t){function e(){delete this[n]}function r(){this[n]=t}function i(){var e=t.apply(this,arguments);null==e?delete this[n]:this[n]=e}return null==t?e:"function"==typeof t?i:r}function k(n){return"function"==typeof n?n:(n=da.ns.qualify(n)).local?function(){return ma.createElementNS(n.space,n.local)}:function(){return ma.createElementNS(this.namespaceURI,n)}}function A(n){return{__data__:n}}function N(n){return function(){return Ha(this,n)}}function q(n){return arguments.length||(n=da.ascending),function(t,e){return!t-!e||n(t.__data__,e.__data__)}}function T(n,t){for(var e=0,r=n.length;r>e;e++)for(var i,u=n[e],a=0,o=u.length;o>a;a++)(i=u[a])&&t(i,a,e);return n}function C(n){return za(n,Oa),n}function z(n){var t,e;return function(r,i,u){var a,o=n[u].update,c=o.length;for(u!=e&&(e=u,t=0),i>=t&&(t=i+1);!(a=o[t])&&++t<c;);return a}}function D(n,t,e){function r(){var t=this[a];t&&(this.removeEventListener(n,t,t.$),delete this[a])}function i(){var i=c(t,qa(arguments));r.call(this),this.addEventListener(n,this[a]=i,i.$=e),i._=t}function u(){var t,e=new RegExp("^__on([^.]+)"+da.requote(n)+"$");for(var r in this)if(t=r.match(e)){var i=this[r];this.removeEventListener(t[1],i,i.$),delete this[r]}}var a="__on"+n,o=n.indexOf("."),c=j;o>0&&(n=n.substring(0,o));var l=Ra.get(n);return l&&(n=l,c=L),o?t?i:r:t?s:u}function j(n,t){return function(e){var r=da.event;da.event=e,t[0]=this.__data__;try{n.apply(this,t)}finally{da.event=r}}}function L(n,t){var e=j(n,t);return function(n){var t=this,r=n.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||e.call(t,n)}}function H(){var n=".dragsuppress-"+ ++Ia,t="touchmove"+n,e="selectstart"+n,r="dragstart"+n,i="click"+n,u=da.select(ya).on(t,g).on(e,g).on(r,g),a=va.style,o=a[Ua];return a[Ua]="none",function(t){function e(){u.on(i,null)}u.on(n,null),a[Ua]=o,t&&(u.on(i,function(){g(),e()},!0),setTimeout(e,0))}}function F(n,t){var e=n.ownerSVGElement||n;if(e.createSVGPoint){var r=e.createSVGPoint();if(0>Va&&(ya.scrollX||ya.scrollY)){e=da.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var i=e[0][0].getScreenCTM();Va=!(i.f||i.e),e.remove()}return Va?(r.x=t.pageX,r.y=t.pageY):(r.x=t.clientX,r.y=t.clientY),r=r.matrixTransform(n.getScreenCTM().inverse()),[r.x,r.y]}var u=n.getBoundingClientRect();return[t.clientX-u.left-n.clientLeft,t.clientY-u.top-n.clientTop]}function P(){}function O(n,t,e){return new Y(n,t,e)}function Y(n,t,e){this.h=n,this.s=t,this.l=e}function R(n,t,e){function r(n){return n>360?n-=360:0>n&&(n+=360),60>n?u+(a-u)*n/60:180>n?a:240>n?u+(a-u)*(240-n)/60:u}function i(n){return Math.round(255*r(n))}var u,a;return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)?0:0>t?0:t>1?1:t,e=0>e?0:e>1?1:e,a=.5>=e?e*(1+t):e+t-e*t,u=2*e-a,it(i(n+120),i(n),i(n-120))}function U(n){return n>0?1:0>n?-1:0}function I(n){return n>1?0:-1>n?Wa:Math.acos(n)}function V(n){return n>1?Wa/2:-1>n?-Wa/2:Math.asin(n)}function X(n){return(Math.exp(n)-Math.exp(-n))/2}function Z(n){return(Math.exp(n)+Math.exp(-n))/2}function B(n){return(n=Math.sin(n/2))*n}function $(n,t,e){return new W(n,t,e)}function W(n,t,e){this.h=n,this.c=t,this.l=e}function J(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),G(e,Math.cos(n*=Ka)*t,Math.sin(n)*t)}function G(n,t,e){return new K(n,t,e)}function K(n,t,e){this.l=n,this.a=t,this.b=e}function Q(n,t,e){var r=(n+16)/116,i=r+t/500,u=r-e/200;return i=tt(i)*eo,r=tt(r)*ro,u=tt(u)*io,it(rt(3.2404542*i-1.5371385*r-.4985314*u),rt(-.969266*i+1.8760108*r+.041556*u),rt(.0556434*i-.2040259*r+1.0572252*u))}function nt(n,t,e){return n>0?$(Math.atan2(e,t)*Qa,Math.sqrt(t*t+e*e),n):$(0/0,0/0,n)}function tt(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function et(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function rt(n){return Math.round(255*(.00304>=n?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function it(n,t,e){return new ut(n,t,e)}function ut(n,t,e){this.r=n,this.g=t,this.b=e}function at(n){return 16>n?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function ot(n,t,e){var r,i,u,a=0,o=0,c=0;if(r=/([a-z]+)\((.*)\)/i.exec(n))switch(i=r[2].split(","),r[1]){case"hsl":return e(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(ft(i[0]),ft(i[1]),ft(i[2]))}return(u=oo.get(n))?t(u.r,u.g,u.b):(null!=n&&"#"===n.charAt(0)&&(4===n.length?(a=n.charAt(1),a+=a,o=n.charAt(2),o+=o,c=n.charAt(3),c+=c):7===n.length&&(a=n.substring(1,3),o=n.substring(3,5),c=n.substring(5,7)),a=parseInt(a,16),o=parseInt(o,16),c=parseInt(c,16)),t(a,o,c))}function ct(n,t,e){var r,i,u=Math.min(n/=255,t/=255,e/=255),a=Math.max(n,t,e),o=a-u,c=(a+u)/2;return o?(i=.5>c?o/(a+u):o/(2-a-u),r=n==a?(t-e)/o+(e>t?6:0):t==a?(e-n)/o+2:(n-t)/o+4,r*=60):(r=0/0,i=c>0&&1>c?0:r),O(r,i,c)}function lt(n,t,e){n=st(n),t=st(t),e=st(e);var r=et((.4124564*n+.3575761*t+.1804375*e)/eo),i=et((.2126729*n+.7151522*t+.072175*e)/ro),u=et((.0193339*n+.119192*t+.9503041*e)/io);return G(116*i-16,500*(r-i),200*(i-u))}function st(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function ft(n){var t=parseFloat(n);return"%"===n.charAt(n.length-1)?Math.round(2.55*t):t}function ht(n){return"function"==typeof n?n:function(){return n}}function gt(n){return n}function pt(n){return function(t,e,r){return 2===arguments.length&&"function"==typeof e&&(r=e,e=null),dt(t,e,n,r)}}function dt(n,t,e,r){function i(){var n,t=c.status;if(!t&&c.responseText||t>=200&&300>t||304===t){try{n=e.call(u,c)}catch(r){return a.error.call(u,r),void 0}a.load.call(u,n)}else a.error.call(u,c)}var u={},a=da.dispatch("progress","load","error"),o={},c=new XMLHttpRequest,l=null;return!ya.XDomainRequest||"withCredentials"in c||!/^(http(s)?:)?\/\//.test(n)||(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=i:c.onreadystatechange=function(){c.readyState>3&&i()},c.onprogress=function(n){var t=da.event;da.event=n;try{a.progress.call(u,c)}finally{da.event=t}},u.header=function(n,t){return n=(n+"").toLowerCase(),arguments.length<2?o[n]:(null==t?delete o[n]:o[n]=t+"",u)},u.mimeType=function(n){return arguments.length?(t=null==n?null:n+"",u):t},u.responseType=function(n){return arguments.length?(l=n,u):l},u.response=function(n){return e=n,u},["get","post"].forEach(function(n){u[n]=function(){return u.send.apply(u,[n].concat(qa(arguments)))}}),u.send=function(e,r,i){if(2===arguments.length&&"function"==typeof r&&(i=r,r=null),c.open(e,n,!0),null==t||"accept"in o||(o.accept=t+",*/*"),c.setRequestHeader)for(var a in o)c.setRequestHeader(a,o[a]);return null!=t&&c.overrideMimeType&&c.overrideMimeType(t),null!=l&&(c.responseType=l),null!=i&&u.on("error",i).on("load",function(n){i(null,n)}),c.send(null==r?null:r),u},u.abort=function(){return c.abort(),u},da.rebind(u,a,"on"),null==r?u:u.get(mt(r))}function mt(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}function vt(){var n=yt(),t=Mt()-n;t>24?(isFinite(t)&&(clearTimeout(fo),fo=setTimeout(vt,t)),so=0):(so=1,ho(vt))}function yt(){for(var n=Date.now(),t=co;t;)n>=t.time&&(t.flush=t.callback(n-t.time)),t=t.next;return n}function Mt(){for(var n,t=co,e=1/0;t;)t.flush?t=n?n.next=t.next:co=t.next:(t.time<e&&(e=t.time),t=(n=t).next);return lo=n,e}function xt(n,t){var e=Math.pow(10,3*Math.abs(8-t));return{scale:t>8?function(n){return n/e}:function(n){return n*e},symbol:n}}function bt(n,t){return t-(n?Math.ceil(Math.log(n)/Math.LN10):1)}function _t(n){return n+""}function wt(){}function St(n,t,e){var r=e.s=n+t,i=r-n,u=r-i;e.t=n-u+(t-i)}function Et(n,t){n&&Eo.hasOwnProperty(n.type)&&Eo[n.type](n,t)}function kt(n,t,e){var r,i=-1,u=n.length-e;for(t.lineStart();++i<u;)r=n[i],t.point(r[0],r[1]);t.lineEnd()}function At(n,t){var e=-1,r=n.length;for(t.polygonStart();++e<r;)kt(n[e],t,1);t.polygonEnd()}function Nt(){function n(n,t){n*=Ka,t=t*Ka/2+Wa/4;var e=n-r,a=Math.cos(t),o=Math.sin(t),c=u*o,l=i*a+c*Math.cos(e),s=c*Math.sin(e);Ao.add(Math.atan2(s,l)),r=n,i=a,u=o}var t,e,r,i,u;No.point=function(a,o){No.point=n,r=(t=a)*Ka,i=Math.cos(o=(e=o)*Ka/2+Wa/4),u=Math.sin(o)},No.lineEnd=function(){n(t,e)}}function qt(n){var t=n[0],e=n[1],r=Math.cos(e);return[r*Math.cos(t),r*Math.sin(t),Math.sin(e)]}function Tt(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function Ct(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function zt(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function Dt(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function jt(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function Lt(n){return[Math.atan2(n[1],n[0]),V(n[2])]}function Ht(n,t){return Math.abs(n[0]-t[0])<Ja&&Math.abs(n[1]-t[1])<Ja}function Ft(n,t){n*=Ka;var e=Math.cos(t*=Ka);Pt(e*Math.cos(n),e*Math.sin(n),Math.sin(t))}function Pt(n,t,e){++qo,Co+=(n-Co)/qo,zo+=(t-zo)/qo,Do+=(e-Do)/qo}function Ot(){function n(n,i){n*=Ka;var u=Math.cos(i*=Ka),a=u*Math.cos(n),o=u*Math.sin(n),c=Math.sin(i),l=Math.atan2(Math.sqrt((l=e*c-r*o)*l+(l=r*a-t*c)*l+(l=t*o-e*a)*l),t*a+e*o+r*c);To+=l,jo+=l*(t+(t=a)),Lo+=l*(e+(e=o)),Ho+=l*(r+(r=c)),Pt(t,e,r)}var t,e,r;Yo.point=function(i,u){i*=Ka;var a=Math.cos(u*=Ka);t=a*Math.cos(i),e=a*Math.sin(i),r=Math.sin(u),Yo.point=n,Pt(t,e,r)}}function Yt(){Yo.point=Ft}function Rt(){function n(n,t){n*=Ka;var e=Math.cos(t*=Ka),a=e*Math.cos(n),o=e*Math.sin(n),c=Math.sin(t),l=i*c-u*o,s=u*a-r*c,f=r*o-i*a,h=Math.sqrt(l*l+s*s+f*f),g=r*a+i*o+u*c,p=h&&-I(g)/h,d=Math.atan2(h,g);Fo+=p*l,Po+=p*s,Oo+=p*f,To+=d,jo+=d*(r+(r=a)),Lo+=d*(i+(i=o)),Ho+=d*(u+(u=c)),Pt(r,i,u)}var t,e,r,i,u;Yo.point=function(a,o){t=a,e=o,Yo.point=n,a*=Ka;var c=Math.cos(o*=Ka);r=c*Math.cos(a),i=c*Math.sin(a),u=Math.sin(o),Pt(r,i,u)},Yo.lineEnd=function(){n(t,e),Yo.lineEnd=Yt,Yo.point=Ft}}function Ut(){return!0}function It(n,t,e,r,i){var u=[],a=[];if(n.forEach(function(n){if(!((t=n.length-1)<=0)){var t,e=n[0],r=n[t];if(Ht(e,r)){i.lineStart();for(var o=0;t>o;++o)i.point((e=n[o])[0],e[1]);return i.lineEnd(),void 0}var c={point:e,points:n,other:null,visited:!1,entry:!0,subject:!0},l={point:e,points:[e],other:c,visited:!1,entry:!1,subject:!1};c.other=l,u.push(c),a.push(l),c={point:r,points:[r],other:null,visited:!1,entry:!1,subject:!0},l={point:r,points:[r],other:c,visited:!1,entry:!0,subject:!1},c.other=l,u.push(c),a.push(l)}}),a.sort(t),Vt(u),Vt(a),u.length){if(e)for(var o=1,c=!e(a[0].point),l=a.length;l>o;++o)a[o].entry=c=!c;for(var s,f,h,g=u[0];;){for(s=g;s.visited;)if((s=s.next)===g)return;f=s.points,i.lineStart();do{if(s.visited=s.other.visited=!0,s.entry){if(s.subject)for(var o=0;o<f.length;o++)i.point((h=f[o])[0],h[1]);else r(s.point,s.next.point,1,i);s=s.next}else{if(s.subject){f=s.prev.points;for(var o=f.length;--o>=0;)i.point((h=f[o])[0],h[1])}else r(s.point,s.prev.point,-1,i);s=s.prev}s=s.other,f=s.points}while(!s.visited);i.lineEnd()}}}function Vt(n){if(t=n.length){for(var t,e,r=0,i=n[0];++r<t;)i.next=e=n[r],e.prev=i,i=e;i.next=e=n[0],e.prev=i}}function Xt(n,t,e,r){return function(i){function u(t,e){n(t,e)&&i.point(t,e)}function a(n,t){d.point(n,t)}function o(){m.point=a,d.lineStart()}function c(){m.point=u,d.lineEnd()}function l(n,t){y.point(n,t),p.push([n,t])}function s(){y.lineStart(),p=[]}function f(){l(p[0][0],p[0][1]),y.lineEnd();var n,t=y.clean(),e=v.buffer(),r=e.length;if(p.pop(),g.push(p),p=null,r){if(1&t){n=e[0];var u,r=n.length-1,a=-1;for(i.lineStart();++a<r;)i.point((u=n[a])[0],u[1]);return i.lineEnd(),void 0}r>1&&2&t&&e.push(e.pop().concat(e.shift())),h.push(e.filter(Zt))}}var h,g,p,d=t(i),m={point:u,lineStart:o,lineEnd:c,polygonStart:function(){m.point=l,m.lineStart=s,m.lineEnd=f,h=[],g=[],i.polygonStart()},polygonEnd:function(){m.point=u,m.lineStart=o,m.lineEnd=c,h=da.merge(h),h.length?It(h,$t,null,e,i):r(g)&&(i.lineStart(),e(null,null,1,i),i.lineEnd()),i.polygonEnd(),h=g=null},sphere:function(){i.polygonStart(),i.lineStart(),e(null,null,1,i),i.lineEnd(),i.polygonEnd()}},v=Bt(),y=t(v);return m}}function Zt(n){return n.length>1}function Bt(){var n,t=[];return{lineStart:function(){t.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:s,buffer:function(){var e=t;return t=[],n=null,e},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function $t(n,t){return((n=n.point)[0]<0?n[1]-Wa/2-Ja:Wa/2-n[1])-((t=t.point)[0]<0?t[1]-Wa/2-Ja:Wa/2-t[1])}function Wt(n,t){var e=n[0],r=n[1],i=[Math.sin(e),-Math.cos(e),0],u=0,a=!1,o=!1,c=0;Ao.reset();for(var l=0,s=t.length;s>l;++l){var f=t[l],h=f.length;if(h){for(var g=f[0],p=g[0],d=g[1]/2+Wa/4,m=Math.sin(d),v=Math.cos(d),y=1;;){y===h&&(y=0),n=f[y];var M=n[0],x=n[1]/2+Wa/4,b=Math.sin(x),_=Math.cos(x),w=M-p,S=Math.abs(w)>Wa,E=m*b;if(Ao.add(Math.atan2(E*Math.sin(w),v*_+E*Math.cos(w))),Math.abs(x)<Ja&&(o=!0),u+=S?w+(w>=0?2:-2)*Wa:w,S^p>=e^M>=e){var k=Ct(qt(g),qt(n));jt(k);var A=Ct(i,k);jt(A);var N=(S^w>=0?-1:1)*V(A[2]);r>N&&(c+=S^w>=0?1:-1)}if(!y++)break;p=M,m=b,v=_,g=n}Math.abs(u)>Ja&&(a=!0)}}return(!o&&!a&&0>Ao||-Ja>u)^1&c}function Jt(n){var t,e=0/0,r=0/0,i=0/0;return{lineStart:function(){n.lineStart(),t=1},point:function(u,a){var o=u>0?Wa:-Wa,c=Math.abs(u-e);Math.abs(c-Wa)<Ja?(n.point(e,r=(r+a)/2>0?Wa/2:-Wa/2),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(o,r),n.point(u,r),t=0):i!==o&&c>=Wa&&(Math.abs(e-i)<Ja&&(e-=i*Ja),Math.abs(u-o)<Ja&&(u-=o*Ja),r=Gt(e,r,u,a),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(o,r),t=0),n.point(e=u,r=a),i=o},lineEnd:function(){n.lineEnd(),e=r=0/0},clean:function(){return 2-t}}}function Gt(n,t,e,r){var i,u,a=Math.sin(n-e);return Math.abs(a)>Ja?Math.atan((Math.sin(t)*(u=Math.cos(r))*Math.sin(e)-Math.sin(r)*(i=Math.cos(t))*Math.sin(n))/(i*u*a)):(t+r)/2}function Kt(n,t,e,r){var i;if(null==n)i=e*Wa/2,r.point(-Wa,i),r.point(0,i),r.point(Wa,i),r.point(Wa,0),r.point(Wa,-i),r.point(0,-i),r.point(-Wa,-i),r.point(-Wa,0),r.point(-Wa,i);else if(Math.abs(n[0]-t[0])>Ja){var u=(n[0]<t[0]?1:-1)*Wa;i=e*u/2,r.point(-u,i),r.point(0,i),r.point(u,i)}else r.point(t[0],t[1])}function Qt(n){return Wt(Uo,n)}function ne(n){function t(n,t){return Math.cos(n)*Math.cos(t)>a}function e(n){var e,u,a,c,s;return{lineStart:function(){c=a=!1,s=1},point:function(f,h){var g,p=[f,h],d=t(f,h),m=o?d?0:i(f,h):d?i(f+(0>f?Wa:-Wa),h):0;if(!e&&(c=a=d)&&n.lineStart(),d!==a&&(g=r(e,p),(Ht(e,g)||Ht(p,g))&&(p[0]+=Ja,p[1]+=Ja,d=t(p[0],p[1]))),d!==a)s=0,d?(n.lineStart(),g=r(p,e),n.point(g[0],g[1])):(g=r(e,p),n.point(g[0],g[1]),n.lineEnd()),e=g;else if(l&&e&&o^d){var v;m&u||!(v=r(p,e,!0))||(s=0,o?(n.lineStart(),n.point(v[0][0],v[0][1]),n.point(v[1][0],v[1][1]),n.lineEnd()):(n.point(v[1][0],v[1][1]),n.lineEnd(),n.lineStart(),n.point(v[0][0],v[0][1])))}!d||e&&Ht(e,p)||n.point(p[0],p[1]),e=p,a=d,u=m},lineEnd:function(){a&&n.lineEnd(),e=null},clean:function(){return s|(c&&a)<<1}}}function r(n,t,e){var r=qt(n),i=qt(t),u=[1,0,0],o=Ct(r,i),c=Tt(o,o),l=o[0],s=c-l*l;if(!s)return!e&&n;var f=a*c/s,h=-a*l/s,g=Ct(u,o),p=Dt(u,f),d=Dt(o,h);zt(p,d);var m=g,v=Tt(p,m),y=Tt(m,m),M=v*v-y*(Tt(p,p)-1);if(!(0>M)){var x=Math.sqrt(M),b=Dt(m,(-v-x)/y);if(zt(b,p),b=Lt(b),!e)return b;var _,w=n[0],S=t[0],E=n[1],k=t[1];w>S&&(_=w,w=S,S=_);var A=S-w,N=Math.abs(A-Wa)<Ja,q=N||Ja>A;if(!N&&E>k&&(_=E,E=k,k=_),q?N?E+k>0^b[1]<(Math.abs(b[0]-w)<Ja?E:k):E<=b[1]&&b[1]<=k:A>Wa^(w<=b[0]&&b[0]<=S)){var T=Dt(m,(-v+x)/y);return zt(T,p),[b,Lt(T)]}}}function i(t,e){var r=o?n:Wa-n,i=0;return-r>t?i|=1:t>r&&(i|=2),-r>e?i|=4:e>r&&(i|=8),i}function u(n){return Wt(c,n)}var a=Math.cos(n),o=a>0,c=[n,0],l=Math.abs(a)>Ja,s=Ee(n,6*Ka);return Xt(t,e,s,u)}function te(n,t,e,r){function i(r,i){return Math.abs(r[0]-n)<Ja?i>0?0:3:Math.abs(r[0]-e)<Ja?i>0?2:1:Math.abs(r[1]-t)<Ja?i>0?1:0:i>0?3:2}function u(n,t){return a(n.point,t.point)}function a(n,t){var e=i(n,1),r=i(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}function o(i,u){var a=u[0]-i[0],o=u[1]-i[1],c=[0,1];return Math.abs(a)<Ja&&Math.abs(o)<Ja?n<=i[0]&&i[0]<=e&&t<=i[1]&&i[1]<=r:ee(n-i[0],a,c)&&ee(i[0]-e,-a,c)&&ee(t-i[1],o,c)&&ee(i[1]-r,-o,c)?(c[1]<1&&(u[0]=i[0]+c[1]*a,u[1]=i[1]+c[1]*o),c[0]>0&&(i[0]+=c[0]*a,i[1]+=c[0]*o),!0):!1}return function(c){function l(u){var a=i(u,-1),o=s([0===a||3===a?n:e,a>1?r:t]);return o}function s(n){for(var t=0,e=M.length,r=n[1],i=0;e>i;++i)for(var u,a=1,o=M[i],c=o.length,l=o[0];c>a;++a)u=o[a],l[1]<=r?u[1]>r&&f(l,u,n)>0&&++t:u[1]<=r&&f(l,u,n)<0&&--t,l=u;return 0!==t}function f(n,t,e){return(t[0]-n[0])*(e[1]-n[1])-(e[0]-n[0])*(t[1]-n[1])}function h(u,o,c,l){var s=0,f=0;if(null==u||(s=i(u,c))!==(f=i(o,c))||a(u,o)<0^c>0){do l.point(0===s||3===s?n:e,s>1?r:t);while((s=(s+c+4)%4)!==f)}else l.point(o[0],o[1])}function g(i,u){return i>=n&&e>=i&&u>=t&&r>=u}function p(n,t){g(n,t)&&c.point(n,t)}function d(){T.point=v,M&&M.push(x=[]),A=!0,k=!1,S=E=0/0}function m(){y&&(v(b,_),w&&k&&q.rejoin(),y.push(q.buffer())),T.point=p,k&&c.lineEnd()}function v(n,t){n=Math.max(-Io,Math.min(Io,n)),t=Math.max(-Io,Math.min(Io,t));var e=g(n,t);if(M&&x.push([n,t]),A)b=n,_=t,w=e,A=!1,e&&(c.lineStart(),c.point(n,t));else if(e&&k)c.point(n,t);else{var r=[S,E],i=[n,t];o(r,i)?(k||(c.lineStart(),c.point(r[0],r[1])),c.point(i[0],i[1]),e||c.lineEnd()):e&&(c.lineStart(),c.point(n,t))}S=n,E=t,k=e}var y,M,x,b,_,w,S,E,k,A,N=c,q=Bt(),T={point:p,lineStart:d,lineEnd:m,polygonStart:function(){c=q,y=[],M=[]},polygonEnd:function(){c=N,(y=da.merge(y)).length?(c.polygonStart(),It(y,u,l,h,c),c.polygonEnd()):s([n,t])&&(c.polygonStart(),c.lineStart(),h(null,null,1,c),c.lineEnd(),c.polygonEnd()),y=M=x=null}};return T}}function ee(n,t,e){if(Math.abs(t)<Ja)return 0>=n;var r=n/t;if(t>0){if(r>e[1])return!1;r>e[0]&&(e[0]=r)}else{if(r<e[0])return!1;r<e[1]&&(e[1]=r)}return!0}function re(n,t){function e(e,r){return e=n(e,r),t(e[0],e[1])}return n.invert&&t.invert&&(e.invert=function(e,r){return e=t.invert(e,r),e&&n.invert(e[0],e[1])}),e}function ie(n){var t=0,e=Wa/3,r=ye(n),i=r(t,e);return i.parallels=function(n){return arguments.length?r(t=n[0]*Wa/180,e=n[1]*Wa/180):[180*(t/Wa),180*(e/Wa)]},i}function ue(n,t){function e(n,t){var e=Math.sqrt(u-2*i*Math.sin(t))/i;return[e*Math.sin(n*=i),a-e*Math.cos(n)]}var r=Math.sin(n),i=(r+Math.sin(t))/2,u=1+r*(2*i-r),a=Math.sqrt(u)/i;return e.invert=function(n,t){var e=a-t;return[Math.atan2(n,e)/i,V((u-(n*n+e*e)*i*i)/(2*i))]},e}function ae(){function n(n,t){Xo+=i*n-r*t,r=n,i=t}var t,e,r,i;Jo.point=function(u,a){Jo.point=n,t=r=u,e=i=a},Jo.lineEnd=function(){n(t,e)}}function oe(n,t){Zo>n&&(Zo=n),n>$o&&($o=n),Bo>t&&(Bo=t),t>Wo&&(Wo=t)}function ce(){function n(n,t){a.push("M",n,",",t,u)}function t(n,t){a.push("M",n,",",t),o.point=e}function e(n,t){a.push("L",n,",",t)}function r(){o.point=n}function i(){a.push("Z")}var u=le(4.5),a=[],o={point:n,lineStart:function(){o.point=t},lineEnd:r,polygonStart:function(){o.lineEnd=i},polygonEnd:function(){o.lineEnd=r,o.point=n},pointRadius:function(n){return u=le(n),o},result:function(){if(a.length){var n=a.join("");return a=[],n}}};return o}function le(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}function se(n,t){Co+=n,zo+=t,++Do}function fe(){function n(n,r){var i=n-t,u=r-e,a=Math.sqrt(i*i+u*u);jo+=a*(t+n)/2,Lo+=a*(e+r)/2,Ho+=a,se(t=n,e=r)}var t,e;Ko.point=function(r,i){Ko.point=n,se(t=r,e=i)}}function he(){Ko.point=se}function ge(){function n(n,t){var e=n-r,u=t-i,a=Math.sqrt(e*e+u*u);jo+=a*(r+n)/2,Lo+=a*(i+t)/2,Ho+=a,a=i*n-r*t,Fo+=a*(r+n),Po+=a*(i+t),Oo+=3*a,se(r=n,i=t)}var t,e,r,i;Ko.point=function(u,a){Ko.point=n,se(t=r=u,e=i=a)},Ko.lineEnd=function(){n(t,e)}}function pe(n){function t(t,e){n.moveTo(t,e),n.arc(t,e,a,0,2*Wa)}function e(t,e){n.moveTo(t,e),o.point=r}function r(t,e){n.lineTo(t,e)}function i(){o.point=t}function u(){n.closePath()}var a=4.5,o={point:t,lineStart:function(){o.point=e},lineEnd:i,polygonStart:function(){o.lineEnd=u},polygonEnd:function(){o.lineEnd=i,o.point=t},pointRadius:function(n){return a=n,o},result:s};return o}function de(n){function t(t){function r(e,r){e=n(e,r),t.point(e[0],e[1])}function i(){M=0/0,S.point=a,t.lineStart()}function a(r,i){var a=qt([r,i]),o=n(r,i);e(M,x,y,b,_,w,M=o[0],x=o[1],y=r,b=a[0],_=a[1],w=a[2],u,t),t.point(M,x)}function o(){S.point=r,t.lineEnd()}function c(){i(),S.point=l,S.lineEnd=s}function l(n,t){a(f=n,h=t),g=M,p=x,d=b,m=_,v=w,S.point=a}function s(){e(M,x,y,b,_,w,g,p,f,d,m,v,u,t),S.lineEnd=o,o()}var f,h,g,p,d,m,v,y,M,x,b,_,w,S={point:r,lineStart:i,lineEnd:o,polygonStart:function(){t.polygonStart(),S.lineStart=c},polygonEnd:function(){t.polygonEnd(),S.lineStart=i}};return S}function e(t,u,a,o,c,l,s,f,h,g,p,d,m,v){var y=s-t,M=f-u,x=y*y+M*M;if(x>4*r&&m--){var b=o+g,_=c+p,w=l+d,S=Math.sqrt(b*b+_*_+w*w),E=Math.asin(w/=S),k=Math.abs(Math.abs(w)-1)<Ja?(a+h)/2:Math.atan2(_,b),A=n(k,E),N=A[0],q=A[1],T=N-t,C=q-u,z=M*T-y*C;(z*z/x>r||Math.abs((y*T+M*C)/x-.5)>.3||i>o*g+c*p+l*d)&&(e(t,u,a,o,c,l,N,q,k,b/=S,_/=S,w,m,v),v.point(N,q),e(N,q,k,b,_,w,s,f,h,g,p,d,m,v))}}var r=.5,i=Math.cos(30*Ka),u=16;return t.precision=function(n){return arguments.length?(u=(r=n*n)>0&&16,t):Math.sqrt(r)},t}function me(n){var t=de(function(t,e){return n([t*Qa,e*Qa])});return function(n){return n=t(n),{point:function(t,e){n.point(t*Ka,e*Ka)},sphere:function(){n.sphere()},lineStart:function(){n.lineStart()},lineEnd:function(){n.lineEnd()},polygonStart:function(){n.polygonStart()},polygonEnd:function(){n.polygonEnd()}}}}function ve(n){return ye(function(){return n})()}function ye(n){function t(n){return n=o(n[0]*Ka,n[1]*Ka),[n[0]*h+c,l-n[1]*h]}function e(n){return n=o.invert((n[0]-c)/h,(l-n[1])/h),n&&[n[0]*Qa,n[1]*Qa]}function r(){o=re(a=be(v,y,M),u);var n=u(d,m);return c=g-n[0]*h,l=p+n[1]*h,i()}function i(){return s&&(s.valid=!1,s=null),t}var u,a,o,c,l,s,f=de(function(n,t){return n=u(n,t),[n[0]*h+c,l-n[1]*h]}),h=150,g=480,p=250,d=0,m=0,v=0,y=0,M=0,x=Ro,b=gt,_=null,w=null;return t.stream=function(n){return s&&(s.valid=!1),s=Me(a,x(f(b(n)))),s.valid=!0,s},t.clipAngle=function(n){return arguments.length?(x=null==n?(_=n,Ro):ne((_=+n)*Ka),i()):_},t.clipExtent=function(n){return arguments.length?(w=n,b=null==n?gt:te(n[0][0],n[0][1],n[1][0],n[1][1]),i()):w},t.scale=function(n){return arguments.length?(h=+n,r()):h},t.translate=function(n){return arguments.length?(g=+n[0],p=+n[1],r()):[g,p]},t.center=function(n){return arguments.length?(d=n[0]%360*Ka,m=n[1]%360*Ka,r()):[d*Qa,m*Qa]},t.rotate=function(n){return arguments.length?(v=n[0]%360*Ka,y=n[1]%360*Ka,M=n.length>2?n[2]%360*Ka:0,r()):[v*Qa,y*Qa,M*Qa]},da.rebind(t,f,"precision"),function(){return u=n.apply(this,arguments),t.invert=u.invert&&e,r()}}function Me(n,t){return{point:function(e,r){r=n(e*Ka,r*Ka),e=r[0],t.point(e>Wa?e-2*Wa:-Wa>e?e+2*Wa:e,r[1])},sphere:function(){t.sphere()},lineStart:function(){t.lineStart()},lineEnd:function(){t.lineEnd()},polygonStart:function(){t.polygonStart()},polygonEnd:function(){t.polygonEnd()}}}function xe(n,t){return[n,t]}function be(n,t,e){return n?t||e?re(we(n),Se(t,e)):we(n):t||e?Se(t,e):xe}function _e(n){return function(t,e){return t+=n,[t>Wa?t-2*Wa:-Wa>t?t+2*Wa:t,e]}}function we(n){var t=_e(n);return t.invert=_e(-n),t}function Se(n,t){function e(n,t){var e=Math.cos(t),o=Math.cos(n)*e,c=Math.sin(n)*e,l=Math.sin(t),s=l*r+o*i;return[Math.atan2(c*u-s*a,o*r-l*i),V(s*u+c*a)]}var r=Math.cos(n),i=Math.sin(n),u=Math.cos(t),a=Math.sin(t);return e.invert=function(n,t){var e=Math.cos(t),o=Math.cos(n)*e,c=Math.sin(n)*e,l=Math.sin(t),s=l*u-c*a;return[Math.atan2(c*u+l*a,o*r+s*i),V(s*r-o*i)]},e}function Ee(n,t){var e=Math.cos(n),r=Math.sin(n);return function(i,u,a,o){null!=i?(i=ke(e,i),u=ke(e,u),(a>0?u>i:i>u)&&(i+=2*a*Wa)):(i=n+2*a*Wa,u=n);for(var c,l=a*t,s=i;a>0?s>u:u>s;s-=l)o.point((c=Lt([e,-r*Math.cos(s),-r*Math.sin(s)]))[0],c[1])}}function ke(n,t){var e=qt(t);e[0]-=n,jt(e);var r=I(-e[1]);return((-e[2]<0?-r:r)+2*Math.PI-Ja)%(2*Math.PI)}function Ae(n,t,e){var r=da.range(n,t-Ja,e).concat(t);return function(n){return r.map(function(t){return[n,t]})}}function Ne(n,t,e){var r=da.range(n,t-Ja,e).concat(t);return function(n){return r.map(function(t){return[t,n]})}}function qe(n){return n.source}function Te(n){return n.target}function Ce(n,t,e,r){var i=Math.cos(t),u=Math.sin(t),a=Math.cos(r),o=Math.sin(r),c=i*Math.cos(n),l=i*Math.sin(n),s=a*Math.cos(e),f=a*Math.sin(e),h=2*Math.asin(Math.sqrt(B(r-t)+i*a*B(e-n))),g=1/Math.sin(h),p=h?function(n){var t=Math.sin(n*=h)*g,e=Math.sin(h-n)*g,r=e*c+t*s,i=e*l+t*f,a=e*u+t*o;return[Math.atan2(i,r)*Qa,Math.atan2(a,Math.sqrt(r*r+i*i))*Qa]}:function(){return[n*Qa,t*Qa]};return p.distance=h,p}function ze(){function n(n,i){var u=Math.sin(i*=Ka),a=Math.cos(i),o=Math.abs((n*=Ka)-t),c=Math.cos(o);Qo+=Math.atan2(Math.sqrt((o=a*Math.sin(o))*o+(o=r*u-e*a*c)*o),e*u+r*a*c),t=n,e=u,r=a}var t,e,r;nc.point=function(i,u){t=i*Ka,e=Math.sin(u*=Ka),r=Math.cos(u),nc.point=n},nc.lineEnd=function(){nc.point=nc.lineEnd=s}}function De(n,t){function e(t,e){var r=Math.cos(t),i=Math.cos(e),u=n(r*i);return[u*i*Math.sin(t),u*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),i=t(r),u=Math.sin(i),a=Math.cos(i);return[Math.atan2(n*u,r*a),Math.asin(r&&e*u/r)]},e}function je(n,t){function e(n,t){var e=Math.abs(Math.abs(t)-Wa/2)<Ja?0:a/Math.pow(i(t),u);return[e*Math.sin(u*n),a-e*Math.cos(u*n)]}var r=Math.cos(n),i=function(n){return Math.tan(Wa/4+n/2)},u=n===t?Math.sin(n):Math.log(r/Math.cos(t))/Math.log(i(t)/i(n)),a=r*Math.pow(i(n),u)/u;return u?(e.invert=function(n,t){var e=a-t,r=U(u)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/u,2*Math.atan(Math.pow(a/r,1/u))-Wa/2]},e):He}function Le(n,t){function e(n,t){var e=u-t;return[e*Math.sin(i*n),u-e*Math.cos(i*n)]}var r=Math.cos(n),i=n===t?Math.sin(n):(r-Math.cos(t))/(t-n),u=r/i+n;return Math.abs(i)<Ja?xe:(e.invert=function(n,t){var e=u-t;return[Math.atan2(n,e)/i,u-U(i)*Math.sqrt(n*n+e*e)]},e)}function He(n,t){return[n,Math.log(Math.tan(Wa/4+t/2))]}function Fe(n){var t,e=ve(n),r=e.scale,i=e.translate,u=e.clipExtent;return e.scale=function(){var n=r.apply(e,arguments);return n===e?t?e.clipExtent(null):e:n},e.translate=function(){var n=i.apply(e,arguments);return n===e?t?e.clipExtent(null):e:n},e.clipExtent=function(n){var a=u.apply(e,arguments);if(a===e){if(t=null==n){var o=Wa*r(),c=i();u([[c[0]-o,c[1]-o],[c[0]+o,c[1]+o]])}}else t&&(a=null);return a},e.clipExtent(null)}function Pe(n,t){var e=Math.cos(t)*Math.sin(n);return[Math.log((1+e)/(1-e))/2,Math.atan2(Math.tan(t),Math.cos(n))]}function Oe(n){function t(t){function a(){l.push("M",u(n(s),o))}for(var c,l=[],s=[],f=-1,h=t.length,g=ht(e),p=ht(r);++f<h;)i.call(this,c=t[f],f)?s.push([+g.call(this,c,f),+p.call(this,c,f)]):s.length&&(a(),s=[]);return s.length&&a(),l.length?l.join(""):null}var e=Ye,r=Re,i=Ut,u=Ue,a=u.key,o=.7;return t.x=function(n){return arguments.length?(e=n,t):e},t.y=function(n){return arguments.length?(r=n,t):r},t.defined=function(n){return arguments.length?(i=n,t):i},t.interpolate=function(n){return arguments.length?(a="function"==typeof n?u=n:(u=ac.get(n)||Ue).key,t):a},t.tension=function(n){return arguments.length?(o=n,t):o},t}function Ye(n){return n[0]}function Re(n){return n[1]}function Ue(n){return n.join("L")}function Ie(n){return Ue(n)+"Z"}function Ve(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t<e;)i.push("H",(r[0]+(r=n[t])[0])/2,"V",r[1]);return e>1&&i.push("H",r[0]),i.join("")}function Xe(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t<e;)i.push("V",(r=n[t])[1],"H",r[0]);return i.join("")}function Ze(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t<e;)i.push("H",(r=n[t])[0],"V",r[1]);return i.join("")}function Be(n,t){return n.length<4?Ue(n):n[1]+Je(n.slice(1,n.length-1),Ge(n,t))}function $e(n,t){return n.length<3?Ue(n):n[0]+Je((n.push(n[0]),n),Ge([n[n.length-2]].concat(n,[n[1]]),t))}function We(n,t){return n.length<3?Ue(n):n[0]+Je(n,Ge(n,t))}function Je(n,t){if(t.length<1||n.length!=t.length&&n.length!=t.length+2)return Ue(n);var e=n.length!=t.length,r="",i=n[0],u=n[1],a=t[0],o=a,c=1;if(e&&(r+="Q"+(u[0]-2*a[0]/3)+","+(u[1]-2*a[1]/3)+","+u[0]+","+u[1],i=n[1],c=2),t.length>1){o=t[1],u=n[c],c++,r+="C"+(i[0]+a[0])+","+(i[1]+a[1])+","+(u[0]-o[0])+","+(u[1]-o[1])+","+u[0]+","+u[1];for(var l=2;l<t.length;l++,c++)u=n[c],o=t[l],r+="S"+(u[0]-o[0])+","+(u[1]-o[1])+","+u[0]+","+u[1]}if(e){var s=n[c];r+="Q"+(u[0]+2*o[0]/3)+","+(u[1]+2*o[1]/3)+","+s[0]+","+s[1]}return r}function Ge(n,t){for(var e,r=[],i=(1-t)/2,u=n[0],a=n[1],o=1,c=n.length;++o<c;)e=u,u=a,a=n[o],r.push([i*(a[0]-e[0]),i*(a[1]-e[1])]);return r}function Ke(n){if(n.length<3)return Ue(n);var t=1,e=n.length,r=n[0],i=r[0],u=r[1],a=[i,i,i,(r=n[1])[0]],o=[u,u,u,r[1]],c=[i,",",u,"L",er(lc,a),",",er(lc,o)];for(n.push(n[e-1]);++t<=e;)r=n[t],a.shift(),a.push(r[0]),o.shift(),o.push(r[1]),rr(c,a,o);return n.pop(),c.push("L",r),c.join("")}function Qe(n){if(n.length<4)return Ue(n);for(var t,e=[],r=-1,i=n.length,u=[0],a=[0];++r<3;)t=n[r],u.push(t[0]),a.push(t[1]);for(e.push(er(lc,u)+","+er(lc,a)),--r;++r<i;)t=n[r],u.shift(),u.push(t[0]),a.shift(),a.push(t[1]),rr(e,u,a);return e.join("")}function nr(n){for(var t,e,r=-1,i=n.length,u=i+4,a=[],o=[];++r<4;)e=n[r%i],a.push(e[0]),o.push(e[1]);for(t=[er(lc,a),",",er(lc,o)],--r;++r<u;)e=n[r%i],a.shift(),a.push(e[0]),o.shift(),o.push(e[1]),rr(t,a,o);return t.join("")}function tr(n,t){var e=n.length-1;if(e)for(var r,i,u=n[0][0],a=n[0][1],o=n[e][0]-u,c=n[e][1]-a,l=-1;++l<=e;)r=n[l],i=l/e,r[0]=t*r[0]+(1-t)*(u+i*o),r[1]=t*r[1]+(1-t)*(a+i*c);return Ke(n)}function er(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]+n[3]*t[3]}function rr(n,t,e){n.push("C",er(oc,t),",",er(oc,e),",",er(cc,t),",",er(cc,e),",",er(lc,t),",",er(lc,e))}function ir(n,t){return(t[1]-n[1])/(t[0]-n[0])
2
- }function ur(n){for(var t=0,e=n.length-1,r=[],i=n[0],u=n[1],a=r[0]=ir(i,u);++t<e;)r[t]=(a+(a=ir(i=u,u=n[t+1])))/2;return r[t]=a,r}function ar(n){for(var t,e,r,i,u=[],a=ur(n),o=-1,c=n.length-1;++o<c;)t=ir(n[o],n[o+1]),Math.abs(t)<1e-6?a[o]=a[o+1]=0:(e=a[o]/t,r=a[o+1]/t,i=e*e+r*r,i>9&&(i=3*t/Math.sqrt(i),a[o]=i*e,a[o+1]=i*r));for(o=-1;++o<=c;)i=(n[Math.min(c,o+1)][0]-n[Math.max(0,o-1)][0])/(6*(1+a[o]*a[o])),u.push([i||0,a[o]*i||0]);return u}function or(n){return n.length<3?Ue(n):n[0]+Je(n,ar(n))}function cr(n,t,e,r){var i,u,a,o,c,l,s;return i=r[n],u=i[0],a=i[1],i=r[t],o=i[0],c=i[1],i=r[e],l=i[0],s=i[1],(s-a)*(o-u)-(c-a)*(l-u)>0}function lr(n,t,e){return(e[0]-t[0])*(n[1]-t[1])<(e[1]-t[1])*(n[0]-t[0])}function sr(n,t,e,r){var i=n[0],u=e[0],a=t[0]-i,o=r[0]-u,c=n[1],l=e[1],s=t[1]-c,f=r[1]-l,h=(o*(c-l)-f*(i-u))/(f*a-o*s);return[i+h*a,c+h*s]}function fr(n){var t=n[0],e=n[n.length-1];return!(t[0]-e[0]||t[1]-e[1])}function hr(n,t){var e={list:n.map(function(n,t){return{index:t,x:n[0],y:n[1]}}).sort(function(n,t){return n.y<t.y?-1:n.y>t.y?1:n.x<t.x?-1:n.x>t.x?1:0}),bottomSite:null},r={list:[],leftEnd:null,rightEnd:null,init:function(){r.leftEnd=r.createHalfEdge(null,"l"),r.rightEnd=r.createHalfEdge(null,"l"),r.leftEnd.r=r.rightEnd,r.rightEnd.l=r.leftEnd,r.list.unshift(r.leftEnd,r.rightEnd)},createHalfEdge:function(n,t){return{edge:n,side:t,vertex:null,l:null,r:null}},insert:function(n,t){t.l=n,t.r=n.r,n.r.l=t,n.r=t},leftBound:function(n){var t=r.leftEnd;do t=t.r;while(t!=r.rightEnd&&i.rightOf(t,n));return t=t.l},del:function(n){n.l.r=n.r,n.r.l=n.l,n.edge=null},right:function(n){return n.r},left:function(n){return n.l},leftRegion:function(n){return null==n.edge?e.bottomSite:n.edge.region[n.side]},rightRegion:function(n){return null==n.edge?e.bottomSite:n.edge.region[fc[n.side]]}},i={bisect:function(n,t){var e={region:{l:n,r:t},ep:{l:null,r:null}},r=t.x-n.x,i=t.y-n.y,u=r>0?r:-r,a=i>0?i:-i;return e.c=n.x*r+n.y*i+.5*(r*r+i*i),u>a?(e.a=1,e.b=i/r,e.c/=r):(e.b=1,e.a=r/i,e.c/=i),e},intersect:function(n,t){var e=n.edge,r=t.edge;if(!e||!r||e.region.r==r.region.r)return null;var i=e.a*r.b-e.b*r.a;if(Math.abs(i)<1e-10)return null;var u,a,o=(e.c*r.b-r.c*e.b)/i,c=(r.c*e.a-e.c*r.a)/i,l=e.region.r,s=r.region.r;l.y<s.y||l.y==s.y&&l.x<s.x?(u=n,a=e):(u=t,a=r);var f=o>=a.region.r.x;return f&&"l"===u.side||!f&&"r"===u.side?null:{x:o,y:c}},rightOf:function(n,t){var e=n.edge,r=e.region.r,i=t.x>r.x;if(i&&"l"===n.side)return 1;if(!i&&"r"===n.side)return 0;if(1===e.a){var u=t.y-r.y,a=t.x-r.x,o=0,c=0;if(!i&&e.b<0||i&&e.b>=0?c=o=u>=e.b*a:(c=t.x+t.y*e.b>e.c,e.b<0&&(c=!c),c||(o=1)),!o){var l=r.x-e.region.l.x;c=e.b*(a*a-u*u)<l*u*(1+2*a/l+e.b*e.b),e.b<0&&(c=!c)}}else{var s=e.c-e.a*t.x,f=t.y-s,h=t.x-r.x,g=s-r.y;c=f*f>h*h+g*g}return"l"===n.side?c:!c},endPoint:function(n,e,r){n.ep[e]=r,n.ep[fc[e]]&&t(n)},distance:function(n,t){var e=n.x-t.x,r=n.y-t.y;return Math.sqrt(e*e+r*r)}},u={list:[],insert:function(n,t,e){n.vertex=t,n.ystar=t.y+e;for(var r=0,i=u.list,a=i.length;a>r;r++){var o=i[r];if(!(n.ystar>o.ystar||n.ystar==o.ystar&&t.x>o.vertex.x))break}i.splice(r,0,n)},del:function(n){for(var t=0,e=u.list,r=e.length;r>t&&e[t]!=n;++t);e.splice(t,1)},empty:function(){return 0===u.list.length},nextEvent:function(n){for(var t=0,e=u.list,r=e.length;r>t;++t)if(e[t]==n)return e[t+1];return null},min:function(){var n=u.list[0];return{x:n.vertex.x,y:n.ystar}},extractMin:function(){return u.list.shift()}};r.init(),e.bottomSite=e.list.shift();for(var a,o,c,l,s,f,h,g,p,d,m,v,y,M=e.list.shift();;)if(u.empty()||(a=u.min()),M&&(u.empty()||M.y<a.y||M.y==a.y&&M.x<a.x))o=r.leftBound(M),c=r.right(o),h=r.rightRegion(o),v=i.bisect(h,M),f=r.createHalfEdge(v,"l"),r.insert(o,f),d=i.intersect(o,f),d&&(u.del(o),u.insert(o,d,i.distance(d,M))),o=f,f=r.createHalfEdge(v,"r"),r.insert(o,f),d=i.intersect(f,c),d&&u.insert(f,d,i.distance(d,M)),M=e.list.shift();else{if(u.empty())break;o=u.extractMin(),l=r.left(o),c=r.right(o),s=r.right(c),h=r.leftRegion(o),g=r.rightRegion(c),m=o.vertex,i.endPoint(o.edge,o.side,m),i.endPoint(c.edge,c.side,m),r.del(o),u.del(c),r.del(c),y="l",h.y>g.y&&(p=h,h=g,g=p,y="r"),v=i.bisect(h,g),f=r.createHalfEdge(v,y),r.insert(l,f),i.endPoint(v,fc[y],m),d=i.intersect(l,f),d&&(u.del(l),u.insert(l,d,i.distance(d,h))),d=i.intersect(f,s),d&&u.insert(f,d,i.distance(d,h))}for(o=r.right(r.leftEnd);o!=r.rightEnd;o=r.right(o))t(o.edge)}function gr(n){return n.x}function pr(n){return n.y}function dr(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function mr(n,t,e,r,i,u){if(!n(t,e,r,i,u)){var a=.5*(e+i),o=.5*(r+u),c=t.nodes;c[0]&&mr(n,c[0],e,r,a,o),c[1]&&mr(n,c[1],a,r,i,o),c[2]&&mr(n,c[2],e,o,a,u),c[3]&&mr(n,c[3],a,o,i,u)}}function vr(n,t){n=da.rgb(n),t=da.rgb(t);var e=n.r,r=n.g,i=n.b,u=t.r-e,a=t.g-r,o=t.b-i;return function(t){return n.r=Math.round(e+u*t),n.g=Math.round(r+a*t),n.b=Math.round(i+o*t),n}}function yr(n,t){var e,r={},i={};for(e in n)e in t?r[e]=br(n[e],t[e]):i[e]=n[e];for(e in t)e in n||(i[e]=t[e]);return function(n){for(e in r)i[e]=r[e](n);return i}}function Mr(n,t){return t-=n=+n,function(e){return n+t*e}}function xr(n,t){var e,r,i,u,a,o=0,c=0,l=[],s=[];for(n+="",t+="",hc.lastIndex=0,r=0;e=hc.exec(t);++r)e.index&&l.push(t.substring(o,c=e.index)),s.push({i:l.length,x:e[0]}),l.push(null),o=hc.lastIndex;for(o<t.length&&l.push(t.substring(o)),r=0,u=s.length;(e=hc.exec(n))&&u>r;++r)if(a=s[r],a.x==e[0]){if(a.i)if(null==l[a.i+1])for(l[a.i-1]+=a.x,l.splice(a.i,1),i=r+1;u>i;++i)s[i].i--;else for(l[a.i-1]+=a.x+l[a.i+1],l.splice(a.i,2),i=r+1;u>i;++i)s[i].i-=2;else if(null==l[a.i+1])l[a.i]=a.x;else for(l[a.i]=a.x+l[a.i+1],l.splice(a.i+1,1),i=r+1;u>i;++i)s[i].i--;s.splice(r,1),u--,r--}else a.x=Mr(parseFloat(e[0]),parseFloat(a.x));for(;u>r;)a=s.pop(),null==l[a.i+1]?l[a.i]=a.x:(l[a.i]=a.x+l[a.i+1],l.splice(a.i+1,1)),u--;return 1===l.length?null==l[0]?(a=s[0].x,function(n){return a(n)+""}):function(){return t}:function(n){for(r=0;u>r;++r)l[(a=s[r]).i]=a.x(n);return l.join("")}}function br(n,t){for(var e,r=da.interpolators.length;--r>=0&&!(e=da.interpolators[r](n,t)););return e}function _r(n,t){var e,r=[],i=[],u=n.length,a=t.length,o=Math.min(n.length,t.length);for(e=0;o>e;++e)r.push(br(n[e],t[e]));for(;u>e;++e)i[e]=n[e];for(;a>e;++e)i[e]=t[e];return function(n){for(e=0;o>e;++e)i[e]=r[e](n);return i}}function wr(n){return function(t){return 0>=t?0:t>=1?1:n(t)}}function Sr(n){return function(t){return 1-n(1-t)}}function Er(n){return function(t){return.5*(.5>t?n(2*t):2-n(2-2*t))}}function kr(n){return n*n}function Ar(n){return n*n*n}function Nr(n){if(0>=n)return 0;if(n>=1)return 1;var t=n*n,e=t*n;return 4*(.5>n?e:3*(n-t)+e-.75)}function qr(n){return function(t){return Math.pow(t,n)}}function Tr(n){return 1-Math.cos(n*Wa/2)}function Cr(n){return Math.pow(2,10*(n-1))}function zr(n){return 1-Math.sqrt(1-n*n)}function Dr(n,t){var e;return arguments.length<2&&(t=.45),arguments.length?e=t/(2*Wa)*Math.asin(1/n):(n=1,e=t/4),function(r){return 1+n*Math.pow(2,10*-r)*Math.sin(2*(r-e)*Wa/t)}}function jr(n){return n||(n=1.70158),function(t){return t*t*((n+1)*t-n)}}function Lr(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function Hr(n,t){n=da.hcl(n),t=da.hcl(t);var e=n.h,r=n.c,i=n.l,u=t.h-e,a=t.c-r,o=t.l-i;return isNaN(a)&&(a=0,r=isNaN(r)?t.c:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(t){return n.h=e+u*t,n.c=r+a*t,n.l=i+o*t,n}}function Fr(n,t){n=da.hsl(n),t=da.hsl(t);var e=n.h,r=n.s,i=n.l,u=t.h-e,a=t.s-r,o=t.l-i;return isNaN(a)&&(a=0,r=isNaN(r)?t.s:r),isNaN(u)?(u=0,e=isNaN(e)?t.h:e):u>180?u-=360:-180>u&&(u+=360),function(t){return n.h=e+u*t,n.s=r+a*t,n.l=i+o*t,n}}function Pr(n,t){n=da.lab(n),t=da.lab(t);var e=n.l,r=n.a,i=n.b,u=t.l-e,a=t.a-r,o=t.b-i;return function(t){return n.l=e+u*t,n.a=r+a*t,n.b=i+o*t,n}}function Or(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function Yr(n){var t=[n.a,n.b],e=[n.c,n.d],r=Ur(t),i=Rr(t,e),u=Ur(Ir(e,t,-i))||0;t[0]*e[1]<e[0]*t[1]&&(t[0]*=-1,t[1]*=-1,r*=-1,i*=-1),this.rotate=(r?Math.atan2(t[1],t[0]):Math.atan2(-e[0],e[1]))*Qa,this.translate=[n.e,n.f],this.scale=[r,u],this.skew=u?Math.atan2(i,u)*Qa:0}function Rr(n,t){return n[0]*t[0]+n[1]*t[1]}function Ur(n){var t=Math.sqrt(Rr(n,n));return t&&(n[0]/=t,n[1]/=t),t}function Ir(n,t,e){return n[0]+=e*t[0],n[1]+=e*t[1],n}function Vr(n,t){var e,r=[],i=[],u=da.transform(n),a=da.transform(t),o=u.translate,c=a.translate,l=u.rotate,s=a.rotate,f=u.skew,h=a.skew,g=u.scale,p=a.scale;return o[0]!=c[0]||o[1]!=c[1]?(r.push("translate(",null,",",null,")"),i.push({i:1,x:Mr(o[0],c[0])},{i:3,x:Mr(o[1],c[1])})):c[0]||c[1]?r.push("translate("+c+")"):r.push(""),l!=s?(l-s>180?s+=360:s-l>180&&(l+=360),i.push({i:r.push(r.pop()+"rotate(",null,")")-2,x:Mr(l,s)})):s&&r.push(r.pop()+"rotate("+s+")"),f!=h?i.push({i:r.push(r.pop()+"skewX(",null,")")-2,x:Mr(f,h)}):h&&r.push(r.pop()+"skewX("+h+")"),g[0]!=p[0]||g[1]!=p[1]?(e=r.push(r.pop()+"scale(",null,",",null,")"),i.push({i:e-4,x:Mr(g[0],p[0])},{i:e-2,x:Mr(g[1],p[1])})):(1!=p[0]||1!=p[1])&&r.push(r.pop()+"scale("+p+")"),e=i.length,function(n){for(var t,u=-1;++u<e;)r[(t=i[u]).i]=t.x(n);return r.join("")}}function Xr(n,t){return t=t-(n=+n)?1/(t-n):0,function(e){return(e-n)*t}}function Zr(n,t){return t=t-(n=+n)?1/(t-n):0,function(e){return Math.max(0,Math.min(1,(e-n)*t))}}function Br(n){for(var t=n.source,e=n.target,r=Wr(t,e),i=[t];t!==r;)t=t.parent,i.push(t);for(var u=i.length;e!==r;)i.splice(u,0,e),e=e.parent;return i}function $r(n){for(var t=[],e=n.parent;null!=e;)t.push(n),n=e,e=e.parent;return t.push(n),t}function Wr(n,t){if(n===t)return n;for(var e=$r(n),r=$r(t),i=e.pop(),u=r.pop(),a=null;i===u;)a=i,i=e.pop(),u=r.pop();return a}function Jr(n){n.fixed|=2}function Gr(n){n.fixed&=-7}function Kr(n){n.fixed|=4,n.px=n.x,n.py=n.y}function Qr(n){n.fixed&=-5}function ni(n,t,e){var r=0,i=0;if(n.charge=0,!n.leaf)for(var u,a=n.nodes,o=a.length,c=-1;++c<o;)u=a[c],null!=u&&(ni(u,t,e),n.charge+=u.charge,r+=u.charge*u.cx,i+=u.charge*u.cy);if(n.point){n.leaf||(n.point.x+=Math.random()-.5,n.point.y+=Math.random()-.5);var l=t*e[n.point.index];n.charge+=n.pointCharge=l,r+=l*n.point.x,i+=l*n.point.y}n.cx=r/n.charge,n.cy=i/n.charge}function ti(n,t){return da.rebind(n,t,"sort","children","value"),n.nodes=n,n.links=ui,n}function ei(n){return n.children}function ri(n){return n.value}function ii(n,t){return t.value-n.value}function ui(n){return da.merge(n.map(function(n){return(n.children||[]).map(function(t){return{source:n,target:t}})}))}function ai(n){return n.x}function oi(n){return n.y}function ci(n,t,e){n.y0=t,n.y=e}function li(n){return da.range(n.length)}function si(n){for(var t=-1,e=n[0].length,r=[];++t<e;)r[t]=0;return r}function fi(n){for(var t,e=1,r=0,i=n[0][1],u=n.length;u>e;++e)(t=n[e][1])>i&&(r=e,i=t);return r}function hi(n){return n.reduce(gi,0)}function gi(n,t){return n+t[1]}function pi(n,t){return di(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function di(n,t){for(var e=-1,r=+n[0],i=(n[1]-r)/t,u=[];++e<=t;)u[e]=i*e+r;return u}function mi(n){return[da.min(n),da.max(n)]}function vi(n,t){return n.parent==t.parent?1:2}function yi(n){var t=n.children;return t&&t.length?t[0]:n._tree.thread}function Mi(n){var t,e=n.children;return e&&(t=e.length)?e[t-1]:n._tree.thread}function xi(n,t){var e=n.children;if(e&&(i=e.length))for(var r,i,u=-1;++u<i;)t(r=xi(e[u],t),n)>0&&(n=r);return n}function bi(n,t){return n.x-t.x}function _i(n,t){return t.x-n.x}function wi(n,t){return n.depth-t.depth}function Si(n,t){function e(n,r){var i=n.children;if(i&&(a=i.length))for(var u,a,o=null,c=-1;++c<a;)u=i[c],e(u,o),o=u;t(n,r)}e(n,null)}function Ei(n){for(var t,e=0,r=0,i=n.children,u=i.length;--u>=0;)t=i[u]._tree,t.prelim+=e,t.mod+=e,e+=t.shift+(r+=t.change)}function ki(n,t,e){n=n._tree,t=t._tree;var r=e/(t.number-n.number);n.change+=r,t.change-=r,t.shift+=e,t.prelim+=e,t.mod+=e}function Ai(n,t,e){return n._tree.ancestor.parent==t.parent?n._tree.ancestor:e}function Ni(n,t){return n.value-t.value}function qi(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function Ti(n,t){n._pack_next=t,t._pack_prev=n}function Ci(n,t){var e=t.x-n.x,r=t.y-n.y,i=n.r+t.r;return.999*i*i>e*e+r*r}function zi(n){function t(n){s=Math.min(n.x-n.r,s),f=Math.max(n.x+n.r,f),h=Math.min(n.y-n.r,h),g=Math.max(n.y+n.r,g)}if((e=n.children)&&(l=e.length)){var e,r,i,u,a,o,c,l,s=1/0,f=-1/0,h=1/0,g=-1/0;if(e.forEach(Di),r=e[0],r.x=-r.r,r.y=0,t(r),l>1&&(i=e[1],i.x=i.r,i.y=0,t(i),l>2))for(u=e[2],Hi(r,i,u),t(u),qi(r,u),r._pack_prev=u,qi(u,i),i=r._pack_next,a=3;l>a;a++){Hi(r,i,u=e[a]);var p=0,d=1,m=1;for(o=i._pack_next;o!==i;o=o._pack_next,d++)if(Ci(o,u)){p=1;break}if(1==p)for(c=r._pack_prev;c!==o._pack_prev&&!Ci(c,u);c=c._pack_prev,m++);p?(m>d||d==m&&i.r<r.r?Ti(r,i=o):Ti(r=c,i),a--):(qi(r,u),i=u,t(u))}var v=(s+f)/2,y=(h+g)/2,M=0;for(a=0;l>a;a++)u=e[a],u.x-=v,u.y-=y,M=Math.max(M,u.r+Math.sqrt(u.x*u.x+u.y*u.y));n.r=M,e.forEach(ji)}}function Di(n){n._pack_next=n._pack_prev=n}function ji(n){delete n._pack_next,delete n._pack_prev}function Li(n,t,e,r){var i=n.children;if(n.x=t+=r*n.x,n.y=e+=r*n.y,n.r*=r,i)for(var u=-1,a=i.length;++u<a;)Li(i[u],t,e,r)}function Hi(n,t,e){var r=n.r+e.r,i=t.x-n.x,u=t.y-n.y;if(r&&(i||u)){var a=t.r+e.r,o=i*i+u*u;a*=a,r*=r;var c=.5+(r-a)/(2*o),l=Math.sqrt(Math.max(0,2*a*(r+o)-(r-=o)*r-a*a))/(2*o);e.x=n.x+c*i+l*u,e.y=n.y+c*u-l*i}else e.x=n.x+r,e.y=n.y}function Fi(n){return 1+da.max(n,function(n){return n.y})}function Pi(n){return n.reduce(function(n,t){return n+t.x},0)/n.length}function Oi(n){var t=n.children;return t&&t.length?Oi(t[0]):n}function Yi(n){var t,e=n.children;return e&&(t=e.length)?Yi(e[t-1]):n}function Ri(n){return{x:n.x,y:n.y,dx:n.dx,dy:n.dy}}function Ui(n,t){var e=n.x+t[3],r=n.y+t[0],i=n.dx-t[1]-t[3],u=n.dy-t[0]-t[2];return 0>i&&(e+=i/2,i=0),0>u&&(r+=u/2,u=0),{x:e,y:r,dx:i,dy:u}}function Ii(n){var t=n[0],e=n[n.length-1];return e>t?[t,e]:[e,t]}function Vi(n){return n.rangeExtent?n.rangeExtent():Ii(n.range())}function Xi(n,t,e,r){var i=e(n[0],n[1]),u=r(t[0],t[1]);return function(n){return u(i(n))}}function Zi(n,t){var e,r=0,i=n.length-1,u=n[r],a=n[i];return u>a&&(e=r,r=i,i=e,e=u,u=a,a=e),n[r]=t.floor(u),n[i]=t.ceil(a),n}function Bi(n){return n?{floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}}:_c}function $i(n,t,e,r){var i=[],u=[],a=0,o=Math.min(n.length,t.length)-1;for(n[o]<n[0]&&(n=n.slice().reverse(),t=t.slice().reverse());++a<=o;)i.push(e(n[a-1],n[a])),u.push(r(t[a-1],t[a]));return function(t){var e=da.bisect(n,t,1,o)-1;return u[e](i[e](t))}}function Wi(n,t,e,r){function i(){var i=Math.min(n.length,t.length)>2?$i:Xi,c=r?Zr:Xr;return a=i(n,t,c,e),o=i(t,n,c,br),u}function u(n){return a(n)}var a,o;return u.invert=function(n){return o(n)},u.domain=function(t){return arguments.length?(n=t.map(Number),i()):n},u.range=function(n){return arguments.length?(t=n,i()):t},u.rangeRound=function(n){return u.range(n).interpolate(Or)},u.clamp=function(n){return arguments.length?(r=n,i()):r},u.interpolate=function(n){return arguments.length?(e=n,i()):e},u.ticks=function(t){return nu(n,t)},u.tickFormat=function(t,e){return tu(n,t,e)},u.nice=function(t){return Gi(n,t),i()},u.copy=function(){return Wi(n,t,e,r)},i()}function Ji(n,t){return da.rebind(n,t,"range","rangeRound","interpolate","clamp")}function Gi(n,t){return Zi(n,Bi(t?Qi(n,t)[2]:Ki(n)))}function Ki(n){var t=Ii(n),e=t[1]-t[0];return Math.pow(10,Math.round(Math.log(e)/Math.LN10)-1)}function Qi(n,t){var e=Ii(n),r=e[1]-e[0],i=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),u=t/r*i;return.15>=u?i*=10:.35>=u?i*=5:.75>=u&&(i*=2),e[0]=Math.ceil(e[0]/i)*i,e[1]=Math.floor(e[1]/i)*i+.5*i,e[2]=i,e}function nu(n,t){return da.range.apply(da,Qi(n,t))}function tu(n,t,e){var r=-Math.floor(Math.log(Qi(n,t)[2])/Math.LN10+.01);return da.format(e?e.replace(Mo,function(n,t,e,i,u,a,o,c,l,s){return[t,e,i,u,a,o,c,l||"."+(r-2*("%"===s)),s].join("")}):",."+r+"f")}function eu(n,t,e,r){function i(n){return(e?Math.log(0>n?0:n):-Math.log(n>0?0:-n))/Math.log(t)}function u(n){return e?Math.pow(t,n):-Math.pow(t,-n)}function a(t){return n(i(t))}return a.invert=function(t){return u(n.invert(t))},a.domain=function(t){return arguments.length?(e=t[0]>=0,n.domain((r=t.map(Number)).map(i)),a):r},a.base=function(e){return arguments.length?(t=+e,n.domain(r.map(i)),a):t},a.nice=function(){var t=Zi(r.map(i),e?Math:Sc);return n.domain(t),r=t.map(u),a},a.ticks=function(){var n=Ii(r),a=[];if(n.every(isFinite)){var o=n[0],c=n[1],l=Math.floor(i(o)),s=Math.ceil(i(c)),f=t%1?2:t;if(e){for(;s>l;l++)for(var h=1;f>h;h++)a.push(u(l)*h);a.push(u(l))}else for(a.push(u(l));l++<s;)for(var h=f-1;h>0;h--)a.push(u(l)*h);for(l=0;a[l]<o;l++);for(s=a.length;a[s-1]>c;s--);a=a.slice(l,s)}return a},a.tickFormat=function(n,t){if(!arguments.length)return wc;arguments.length<2?t=wc:"function"!=typeof t&&(t=da.format(t));var r,o=Math.max(.1,n/a.ticks().length),c=e?(r=1e-12,Math.ceil):(r=-1e-12,Math.floor);return function(n){return n/u(c(i(n)+r))<=o?t(n):""}},a.copy=function(){return eu(n.copy(),t,e,r)},Ji(a,n)}function ru(n,t,e){function r(t){return n(i(t))}var i=iu(t),u=iu(1/t);return r.invert=function(t){return u(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain((e=t.map(Number)).map(i)),r):e},r.ticks=function(n){return nu(e,n)},r.tickFormat=function(n,t){return tu(e,n,t)},r.nice=function(n){return r.domain(Gi(e,n))},r.exponent=function(a){return arguments.length?(i=iu(t=a),u=iu(1/t),n.domain(e.map(i)),r):t},r.copy=function(){return ru(n.copy(),t,e)},Ji(r,n)}function iu(n){return function(t){return 0>t?-Math.pow(-t,n):Math.pow(t,n)}}function uu(n,t){function e(t){return a[((u.get(t)||u.set(t,n.push(t)))-1)%a.length]}function r(t,e){return da.range(n.length).map(function(n){return t+e*n})}var u,a,o;return e.domain=function(r){if(!arguments.length)return n;n=[],u=new i;for(var a,o=-1,c=r.length;++o<c;)u.has(a=r[o])||u.set(a,n.push(a));return e[t.t].apply(e,t.a)},e.range=function(n){return arguments.length?(a=n,o=0,t={t:"range",a:arguments},e):a},e.rangePoints=function(i,u){arguments.length<2&&(u=0);var c=i[0],l=i[1],s=(l-c)/(Math.max(1,n.length-1)+u);return a=r(n.length<2?(c+l)/2:c+s*u/2,s),o=0,t={t:"rangePoints",a:arguments},e},e.rangeBands=function(i,u,c){arguments.length<2&&(u=0),arguments.length<3&&(c=u);var l=i[1]<i[0],s=i[l-0],f=i[1-l],h=(f-s)/(n.length-u+2*c);return a=r(s+h*c,h),l&&a.reverse(),o=h*(1-u),t={t:"rangeBands",a:arguments},e},e.rangeRoundBands=function(i,u,c){arguments.length<2&&(u=0),arguments.length<3&&(c=u);var l=i[1]<i[0],s=i[l-0],f=i[1-l],h=Math.floor((f-s)/(n.length-u+2*c)),g=f-s-(n.length-u)*h;return a=r(s+Math.round(g/2),h),l&&a.reverse(),o=Math.round(h*(1-u)),t={t:"rangeRoundBands",a:arguments},e},e.rangeBand=function(){return o},e.rangeExtent=function(){return Ii(t.a[0])},e.copy=function(){return uu(n,t)},e.domain(n)}function au(n,t){function e(){var e=0,u=t.length;for(i=[];++e<u;)i[e-1]=da.quantile(n,e/u);return r}function r(n){return isNaN(n=+n)?void 0:t[da.bisect(i,n)]}var i;return r.domain=function(t){return arguments.length?(n=t.filter(function(n){return!isNaN(n)}).sort(da.ascending),e()):n},r.range=function(n){return arguments.length?(t=n,e()):t},r.quantiles=function(){return i},r.invertExtent=function(e){return e=t.indexOf(e),0>e?[0/0,0/0]:[e>0?i[e-1]:n[0],e<i.length?i[e]:n[n.length-1]]},r.copy=function(){return au(n,t)},e()}function ou(n,t,e){function r(t){return e[Math.max(0,Math.min(a,Math.floor(u*(t-n))))]}function i(){return u=e.length/(t-n),a=e.length-1,r}var u,a;return r.domain=function(e){return arguments.length?(n=+e[0],t=+e[e.length-1],i()):[n,t]},r.range=function(n){return arguments.length?(e=n,i()):e},r.invertExtent=function(t){return t=e.indexOf(t),t=0>t?0/0:t/u+n,[t,t+1/u]},r.copy=function(){return ou(n,t,e)},i()}function cu(n,t){function e(e){return e>=e?t[da.bisect(n,e)]:void 0}return e.domain=function(t){return arguments.length?(n=t,e):n},e.range=function(n){return arguments.length?(t=n,e):t},e.invertExtent=function(e){return e=t.indexOf(e),[n[e-1],n[e]]},e.copy=function(){return cu(n,t)},e}function lu(n){function t(n){return+n}return t.invert=t,t.domain=t.range=function(e){return arguments.length?(n=e.map(t),t):n},t.ticks=function(t){return nu(n,t)},t.tickFormat=function(t,e){return tu(n,t,e)},t.copy=function(){return lu(n)},t}function su(n){return n.innerRadius}function fu(n){return n.outerRadius}function hu(n){return n.startAngle}function gu(n){return n.endAngle}function pu(n){for(var t,e,r,i=-1,u=n.length;++i<u;)t=n[i],e=t[0],r=t[1]+qc,t[0]=e*Math.cos(r),t[1]=e*Math.sin(r);return n}function du(n){function t(t){function c(){d.push("M",o(n(v),f),s,l(n(m.reverse()),f),"Z")}for(var h,g,p,d=[],m=[],v=[],y=-1,M=t.length,x=ht(e),b=ht(i),_=e===r?function(){return g}:ht(r),w=i===u?function(){return p}:ht(u);++y<M;)a.call(this,h=t[y],y)?(m.push([g=+x.call(this,h,y),p=+b.call(this,h,y)]),v.push([+_.call(this,h,y),+w.call(this,h,y)])):m.length&&(c(),m=[],v=[]);return m.length&&c(),d.length?d.join(""):null}var e=Ye,r=Ye,i=0,u=Re,a=Ut,o=Ue,c=o.key,l=o,s="L",f=.7;return t.x=function(n){return arguments.length?(e=r=n,t):r},t.x0=function(n){return arguments.length?(e=n,t):e},t.x1=function(n){return arguments.length?(r=n,t):r},t.y=function(n){return arguments.length?(i=u=n,t):u},t.y0=function(n){return arguments.length?(i=n,t):i},t.y1=function(n){return arguments.length?(u=n,t):u},t.defined=function(n){return arguments.length?(a=n,t):a},t.interpolate=function(n){return arguments.length?(c="function"==typeof n?o=n:(o=ac.get(n)||Ue).key,l=o.reverse||o,s=o.closed?"M":"L",t):c},t.tension=function(n){return arguments.length?(f=n,t):f},t}function mu(n){return n.radius}function vu(n){return[n.x,n.y]}function yu(n){return function(){var t=n.apply(this,arguments),e=t[0],r=t[1]+qc;return[e*Math.cos(r),e*Math.sin(r)]}}function Mu(){return 64}function xu(){return"circle"}function bu(n){var t=Math.sqrt(n/Wa);return"M0,"+t+"A"+t+","+t+" 0 1,1 0,"+-t+"A"+t+","+t+" 0 1,1 0,"+t+"Z"}function _u(n,t){return za(n,Hc),n.id=t,n}function wu(n,t,e,r){var i=n.id;return T(n,"function"==typeof e?function(n,u,a){n.__transition__[i].tween.set(t,r(e.call(n,n.__data__,u,a)))}:(e=r(e),function(n){n.__transition__[i].tween.set(t,e)}))}function Su(n){return null==n&&(n=""),function(){this.textContent=n}}function Eu(n,t,e,r){var u=n.__transition__||(n.__transition__={active:0,count:0}),a=u[e];if(!a){var o=r.time;return a=u[e]={tween:new i,time:o,ease:r.ease,delay:r.delay,duration:r.duration},++u.count,da.timer(function(r){function i(r){return u.active>e?l():(u.active=e,a.event&&a.event.start.call(n,s,t),a.tween.forEach(function(e,r){(r=r.call(n,s,t))&&p.push(r)}),c(r)||da.timer(c,0,o),1)}function c(r){if(u.active!==e)return l();for(var i=(r-h)/g,o=f(i),c=p.length;c>0;)p[--c].call(n,o);return i>=1?(l(),a.event&&a.event.end.call(n,s,t),1):void 0}function l(){return--u.count?delete u[e]:delete n.__transition__,1}var s=n.__data__,f=a.ease,h=a.delay,g=a.duration,p=[];return r>=h?i(r):da.timer(i,h,o),1},0,o),a}}function ku(n,t){n.attr("transform",function(n){return"translate("+t(n)+",0)"})}function Au(n,t){n.attr("transform",function(n){return"translate(0,"+t(n)+")"})}function Nu(n,t,e){if(r=[],e&&t.length>1){for(var r,i,u,a=Ii(n.domain()),o=-1,c=t.length,l=(t[1]-t[0])/++e;++o<c;)for(i=e;--i>0;)(u=+t[o]-i*l)>=a[0]&&r.push(u);for(--o,i=0;++i<e&&(u=+t[o]+i*l)<a[1];)r.push(u)}return r}function qu(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function Tu(n,t,e){function r(t){var e=n(t),r=u(e,1);return r-t>t-e?e:r}function i(e){return t(e=n(new Uc(e-1)),1),e}function u(n,e){return t(n=new Uc(+n),e),n}function a(n,r,u){var a=i(n),o=[];if(u>1)for(;r>a;)e(a)%u||o.push(new Date(+a)),t(a,1);else for(;r>a;)o.push(new Date(+a)),t(a,1);return o}function o(n,t,e){try{Uc=qu;var r=new qu;return r._=n,a(r,t,e)}finally{Uc=Date}}n.floor=n,n.round=r,n.ceil=i,n.offset=u,n.range=a;var c=n.utc=Cu(n);return c.floor=c,c.round=Cu(r),c.ceil=Cu(i),c.offset=Cu(u),c.range=o,n}function Cu(n){return function(t,e){try{Uc=qu;var r=new qu;return r._=t,n(r,e)._}finally{Uc=Date}}}function zu(n,t,e,r){for(var i,u,a=0,o=t.length,c=e.length;o>a;){if(r>=c)return-1;if(i=t.charCodeAt(a++),37===i){if(u=ll[t.charAt(a++)],!u||(r=u(n,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function Du(n){return new RegExp("^(?:"+n.map(da.requote).join("|")+")","i")}function ju(n){for(var t=new i,e=-1,r=n.length;++e<r;)t.set(n[e].toLowerCase(),e);return t}function Lu(n,t,e){var r=0>n?"-":"",i=(r?-n:n)+"",u=i.length;return r+(e>u?new Array(e-u+1).join(t)+i:i)}function Hu(n,t,e){nl.lastIndex=0;var r=nl.exec(t.substring(e));return r?(n.w=tl.get(r[0].toLowerCase()),e+r[0].length):-1}function Fu(n,t,e){Kc.lastIndex=0;var r=Kc.exec(t.substring(e));return r?(n.w=Qc.get(r[0].toLowerCase()),e+r[0].length):-1}function Pu(n,t,e){sl.lastIndex=0;var r=sl.exec(t.substring(e,e+1));return r?(n.w=+r[0],e+r[0].length):-1}function Ou(n,t,e){sl.lastIndex=0;var r=sl.exec(t.substring(e));return r?(n.U=+r[0],e+r[0].length):-1}function Yu(n,t,e){sl.lastIndex=0;var r=sl.exec(t.substring(e));return r?(n.W=+r[0],e+r[0].length):-1}function Ru(n,t,e){il.lastIndex=0;var r=il.exec(t.substring(e));return r?(n.m=ul.get(r[0].toLowerCase()),e+r[0].length):-1}function Uu(n,t,e){el.lastIndex=0;var r=el.exec(t.substring(e));return r?(n.m=rl.get(r[0].toLowerCase()),e+r[0].length):-1}function Iu(n,t,e){return zu(n,cl.c.toString(),t,e)}function Vu(n,t,e){return zu(n,cl.x.toString(),t,e)}function Xu(n,t,e){return zu(n,cl.X.toString(),t,e)}function Zu(n,t,e){sl.lastIndex=0;var r=sl.exec(t.substring(e,e+4));return r?(n.y=+r[0],e+r[0].length):-1}function Bu(n,t,e){sl.lastIndex=0;var r=sl.exec(t.substring(e,e+2));return r?(n.y=$u(+r[0]),e+r[0].length):-1}function $u(n){return n+(n>68?1900:2e3)}function Wu(n,t,e){sl.lastIndex=0;var r=sl.exec(t.substring(e,e+2));return r?(n.m=r[0]-1,e+r[0].length):-1}function Ju(n,t,e){sl.lastIndex=0;var r=sl.exec(t.substring(e,e+2));return r?(n.d=+r[0],e+r[0].length):-1}function Gu(n,t,e){sl.lastIndex=0;var r=sl.exec(t.substring(e,e+3));return r?(n.j=+r[0],e+r[0].length):-1}function Ku(n,t,e){sl.lastIndex=0;var r=sl.exec(t.substring(e,e+2));return r?(n.H=+r[0],e+r[0].length):-1}function Qu(n,t,e){sl.lastIndex=0;var r=sl.exec(t.substring(e,e+2));return r?(n.M=+r[0],e+r[0].length):-1}function na(n,t,e){sl.lastIndex=0;var r=sl.exec(t.substring(e,e+2));return r?(n.S=+r[0],e+r[0].length):-1}function ta(n,t,e){sl.lastIndex=0;var r=sl.exec(t.substring(e,e+3));return r?(n.L=+r[0],e+r[0].length):-1}function ea(n,t,e){var r=fl.get(t.substring(e,e+=2).toLowerCase());return null==r?-1:(n.p=r,e)}function ra(n){var t=n.getTimezoneOffset(),e=t>0?"-":"+",r=~~(Math.abs(t)/60),i=Math.abs(t)%60;return e+Lu(r,"0",2)+Lu(i,"0",2)}function ia(n,t,e){al.lastIndex=0;var r=al.exec(t.substring(e,e+1));return r?e+r[0].length:-1}function ua(n){return n.toISOString()}function aa(n,t,e){function r(t){return n(t)}return r.invert=function(t){return oa(n.invert(t))},r.domain=function(t){return arguments.length?(n.domain(t),r):n.domain().map(oa)},r.nice=function(n){return r.domain(Zi(r.domain(),n))},r.ticks=function(e,i){var u=Ii(r.domain());if("function"!=typeof e){var a=u[1]-u[0],o=a/e,c=da.bisect(gl,o);if(c==gl.length)return t.year(u,e);if(!c)return n.ticks(e).map(oa);Math.log(o/gl[c-1])<Math.log(gl[c]/o)&&--c,e=t[c],i=e[1],e=e[0].range}return e(u[0],new Date(+u[1]+1),i)},r.tickFormat=function(){return e},r.copy=function(){return aa(n.copy(),t,e)},Ji(r,n)}function oa(n){return new Date(n)}function ca(n){return function(t){for(var e=n.length-1,r=n[e];!r[1](t);)r=n[--e];return r[0](t)}}function la(n){var t=new Date(n,0,1);return t.setFullYear(n),t}function sa(n){var t=n.getFullYear(),e=la(t),r=la(t+1);return t+(n-e)/(r-e)}function fa(n){var t=new Date(Date.UTC(n,0,1));return t.setUTCFullYear(n),t}function ha(n){var t=n.getUTCFullYear(),e=fa(t),r=fa(t+1);return t+(n-e)/(r-e)}function ga(n){return JSON.parse(n.responseText)}function pa(n){var t=ma.createRange();return t.selectNode(ma.body),t.createContextualFragment(n.responseText)}var da={version:"3.2.6"};Date.now||(Date.now=function(){return+new Date});var ma=document,va=ma.documentElement,ya=window;try{ma.createElement("div").style.setProperty("opacity",0,"")}catch(Ma){var xa=ya.Element.prototype,ba=xa.setAttribute,_a=xa.setAttributeNS,wa=ya.CSSStyleDeclaration.prototype,Sa=wa.setProperty;xa.setAttribute=function(n,t){ba.call(this,n,t+"")},xa.setAttributeNS=function(n,t,e){_a.call(this,n,t,e+"")},wa.setProperty=function(n,t,e){Sa.call(this,n,t+"",e)}}da.ascending=function(n,t){return t>n?-1:n>t?1:n>=t?0:0/0},da.descending=function(n,t){return n>t?-1:t>n?1:t>=n?0:0/0},da.min=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i<u&&!(null!=(e=n[i])&&e>=e);)e=void 0;for(;++i<u;)null!=(r=n[i])&&e>r&&(e=r)}else{for(;++i<u&&!(null!=(e=t.call(n,n[i],i))&&e>=e);)e=void 0;for(;++i<u;)null!=(r=t.call(n,n[i],i))&&e>r&&(e=r)}return e},da.max=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i<u&&!(null!=(e=n[i])&&e>=e);)e=void 0;for(;++i<u;)null!=(r=n[i])&&r>e&&(e=r)}else{for(;++i<u&&!(null!=(e=t.call(n,n[i],i))&&e>=e);)e=void 0;for(;++i<u;)null!=(r=t.call(n,n[i],i))&&r>e&&(e=r)}return e},da.extent=function(n,t){var e,r,i,u=-1,a=n.length;if(1===arguments.length){for(;++u<a&&!(null!=(e=i=n[u])&&e>=e);)e=i=void 0;for(;++u<a;)null!=(r=n[u])&&(e>r&&(e=r),r>i&&(i=r))}else{for(;++u<a&&!(null!=(e=i=t.call(n,n[u],u))&&e>=e);)e=void 0;for(;++u<a;)null!=(r=t.call(n,n[u],u))&&(e>r&&(e=r),r>i&&(i=r))}return[e,i]},da.sum=function(n,t){var e,r=0,i=n.length,u=-1;if(1===arguments.length)for(;++u<i;)isNaN(e=+n[u])||(r+=e);else for(;++u<i;)isNaN(e=+t.call(n,n[u],u))||(r+=e);return r},da.mean=function(t,e){var r,i=t.length,u=0,a=-1,o=0;if(1===arguments.length)for(;++a<i;)n(r=t[a])&&(u+=(r-u)/++o);else for(;++a<i;)n(r=e.call(t,t[a],a))&&(u+=(r-u)/++o);return o?u:void 0},da.quantile=function(n,t){var e=(n.length-1)*t+1,r=Math.floor(e),i=+n[r-1],u=e-r;return u?i+u*(n[r]-i):i},da.median=function(t,e){return arguments.length>1&&(t=t.map(e)),t=t.filter(n),t.length?da.quantile(t.sort(da.ascending),.5):void 0},da.bisector=function(n){return{left:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;n.call(t,t[u],u)<e?r=u+1:i=u}return r},right:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);i>r;){var u=r+i>>>1;e<n.call(t,t[u],u)?i=u:r=u+1}return r}}};var Ea=da.bisector(function(n){return n});da.bisectLeft=Ea.left,da.bisect=da.bisectRight=Ea.right,da.shuffle=function(n){for(var t,e,r=n.length;r;)e=0|Math.random()*r--,t=n[r],n[r]=n[e],n[e]=t;return n},da.permute=function(n,t){for(var e=[],r=-1,i=t.length;++r<i;)e[r]=n[t[r]];return e},da.zip=function(){if(!(i=arguments.length))return[];for(var n=-1,e=da.min(arguments,t),r=new Array(e);++n<e;)for(var i,u=-1,a=r[n]=new Array(i);++u<i;)a[u]=arguments[u][n];return r},da.transpose=function(n){return da.zip.apply(da,n)},da.keys=function(n){var t=[];for(var e in n)t.push(e);return t},da.values=function(n){var t=[];for(var e in n)t.push(n[e]);return t},da.entries=function(n){var t=[];for(var e in n)t.push({key:e,value:n[e]});return t},da.merge=function(n){return Array.prototype.concat.apply([],n)},da.range=function(n,t,r){if(arguments.length<3&&(r=1,arguments.length<2&&(t=n,n=0)),1/0===(t-n)/r)throw new Error("infinite range");var i,u=[],a=e(Math.abs(r)),o=-1;if(n*=a,t*=a,r*=a,0>r)for(;(i=n+r*++o)>t;)u.push(i/a);else for(;(i=n+r*++o)<t;)u.push(i/a);return u},da.map=function(n){var t=new i;for(var e in n)t.set(e,n[e]);return t},r(i,{has:function(n){return ka+n in this},get:function(n){return this[ka+n]},set:function(n,t){return this[ka+n]=t},remove:function(n){return n=ka+n,n in this&&delete this[n]},keys:function(){var n=[];return this.forEach(function(t){n.push(t)}),n},values:function(){var n=[];return this.forEach(function(t,e){n.push(e)}),n},entries:function(){var n=[];return this.forEach(function(t,e){n.push({key:t,value:e})}),n},forEach:function(n){for(var t in this)t.charCodeAt(0)===Aa&&n.call(this,t.substring(1),this[t])
3
- }});var ka="\0",Aa=ka.charCodeAt(0);da.nest=function(){function n(t,o,c){if(c>=a.length)return r?r.call(u,o):e?o.sort(e):o;for(var l,s,f,h,g=-1,p=o.length,d=a[c++],m=new i;++g<p;)(h=m.get(l=d(s=o[g])))?h.push(s):m.set(l,[s]);return t?(s=t(),f=function(e,r){s.set(e,n(t,r,c))}):(s={},f=function(e,r){s[e]=n(t,r,c)}),m.forEach(f),s}function t(n,e){if(e>=a.length)return n;var r=[],i=o[e++];return n.forEach(function(n,i){r.push({key:n,values:t(i,e)})}),i?r.sort(function(n,t){return i(n.key,t.key)}):r}var e,r,u={},a=[],o=[];return u.map=function(t,e){return n(e,t,0)},u.entries=function(e){return t(n(da.map,e,0),0)},u.key=function(n){return a.push(n),u},u.sortKeys=function(n){return o[a.length-1]=n,u},u.sortValues=function(n){return e=n,u},u.rollup=function(n){return r=n,u},u},da.set=function(n){var t=new u;if(n)for(var e=0;e<n.length;e++)t.add(n[e]);return t},r(u,{has:function(n){return ka+n in this},add:function(n){return this[ka+n]=!0,n},remove:function(n){return n=ka+n,n in this&&delete this[n]},values:function(){var n=[];return this.forEach(function(t){n.push(t)}),n},forEach:function(n){for(var t in this)t.charCodeAt(0)===Aa&&n.call(this,t.substring(1))}}),da.behavior={},da.rebind=function(n,t){for(var e,r=1,i=arguments.length;++r<i;)n[e=arguments[r]]=a(n,t,t[e]);return n};var Na=["webkit","ms","moz","Moz","o","O"],qa=l;try{qa(va.childNodes)[0].nodeType}catch(Ta){qa=c}da.dispatch=function(){for(var n=new f,t=-1,e=arguments.length;++t<e;)n[arguments[t]]=h(n);return n},f.prototype.on=function(n,t){var e=n.indexOf("."),r="";if(e>=0&&(r=n.substring(e+1),n=n.substring(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},da.event=null,da.requote=function(n){return n.replace(Ca,"\\$&")};var Ca=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,za={}.__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]},Da=function(n,t){return t.querySelector(n)},ja=function(n,t){return t.querySelectorAll(n)},La=va[o(va,"matchesSelector")],Ha=function(n,t){return La.call(n,t)};"function"==typeof Sizzle&&(Da=function(n,t){return Sizzle(n,t)[0]||null},ja=function(n,t){return Sizzle.uniqueSort(Sizzle(n,t))},Ha=Sizzle.matchesSelector),da.selection=function(){return Ya};var Fa=da.selection.prototype=[];Fa.select=function(n){var t,e,r,i,u=[];n=v(n);for(var a=-1,o=this.length;++a<o;){u.push(t=[]),t.parentNode=(r=this[a]).parentNode;for(var c=-1,l=r.length;++c<l;)(i=r[c])?(t.push(e=n.call(i,i.__data__,c,a)),e&&"__data__"in i&&(e.__data__=i.__data__)):t.push(null)}return m(u)},Fa.selectAll=function(n){var t,e,r=[];n=y(n);for(var i=-1,u=this.length;++i<u;)for(var a=this[i],o=-1,c=a.length;++o<c;)(e=a[o])&&(r.push(t=qa(n.call(e,e.__data__,o,i))),t.parentNode=e);return m(r)};var Pa={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};da.ns={prefix:Pa,qualify:function(n){var t=n.indexOf(":"),e=n;return t>=0&&(e=n.substring(0,t),n=n.substring(t+1)),Pa.hasOwnProperty(e)?{space:Pa[e],local:n}:n}},Fa.attr=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node();return n=da.ns.qualify(n),n.local?e.getAttributeNS(n.space,n.local):e.getAttribute(n)}for(t in n)this.each(M(t,n[t]));return this}return this.each(M(n,t))},Fa.classed=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node(),r=(n=n.trim().split(/^|\s+/g)).length,i=-1;if(t=e.classList){for(;++i<r;)if(!t.contains(n[i]))return!1}else for(t=e.getAttribute("class");++i<r;)if(!b(n[i]).test(t))return!1;return!0}for(t in n)this.each(_(t,n[t]));return this}return this.each(_(n,t))},Fa.style=function(n,t,e){var r=arguments.length;if(3>r){if("string"!=typeof n){2>r&&(t="");for(e in n)this.each(S(e,n[e],t));return this}if(2>r)return ya.getComputedStyle(this.node(),null).getPropertyValue(n);e=""}return this.each(S(n,t,e))},Fa.property=function(n,t){if(arguments.length<2){if("string"==typeof n)return this.node()[n];for(t in n)this.each(E(t,n[t]));return this}return this.each(E(n,t))},Fa.text=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.textContent=null==t?"":t}:null==n?function(){this.textContent=""}:function(){this.textContent=n}):this.node().textContent},Fa.html=function(n){return arguments.length?this.each("function"==typeof n?function(){var t=n.apply(this,arguments);this.innerHTML=null==t?"":t}:null==n?function(){this.innerHTML=""}:function(){this.innerHTML=n}):this.node().innerHTML},Fa.append=function(n){return n=k(n),this.select(function(){return this.appendChild(n.apply(this,arguments))})},Fa.insert=function(n,t){return n=k(n),t=v(t),this.select(function(){return this.insertBefore(n.apply(this,arguments),t.apply(this,arguments))})},Fa.remove=function(){return this.each(function(){var n=this.parentNode;n&&n.removeChild(this)})},Fa.data=function(n,t){function e(n,e){var r,u,a,o=n.length,f=e.length,h=Math.min(o,f),g=new Array(f),p=new Array(f),d=new Array(o);if(t){var m,v=new i,y=new i,M=[];for(r=-1;++r<o;)m=t.call(u=n[r],u.__data__,r),v.has(m)?d[r]=u:v.set(m,u),M.push(m);for(r=-1;++r<f;)m=t.call(e,a=e[r],r),(u=v.get(m))?(g[r]=u,u.__data__=a):y.has(m)||(p[r]=A(a)),y.set(m,a),v.remove(m);for(r=-1;++r<o;)v.has(M[r])&&(d[r]=n[r])}else{for(r=-1;++r<h;)u=n[r],a=e[r],u?(u.__data__=a,g[r]=u):p[r]=A(a);for(;f>r;++r)p[r]=A(e[r]);for(;o>r;++r)d[r]=n[r]}p.update=g,p.parentNode=g.parentNode=d.parentNode=n.parentNode,c.push(p),l.push(g),s.push(d)}var r,u,a=-1,o=this.length;if(!arguments.length){for(n=new Array(o=(r=this[0]).length);++a<o;)(u=r[a])&&(n[a]=u.__data__);return n}var c=C([]),l=m([]),s=m([]);if("function"==typeof n)for(;++a<o;)e(r=this[a],n.call(r,r.parentNode.__data__,a));else for(;++a<o;)e(r=this[a],n);return l.enter=function(){return c},l.exit=function(){return s},l},Fa.datum=function(n){return arguments.length?this.property("__data__",n):this.property("__data__")},Fa.filter=function(n){var t,e,r,i=[];"function"!=typeof n&&(n=N(n));for(var u=0,a=this.length;a>u;u++){i.push(t=[]),t.parentNode=(e=this[u]).parentNode;for(var o=0,c=e.length;c>o;o++)(r=e[o])&&n.call(r,r.__data__,o)&&t.push(r)}return m(i)},Fa.order=function(){for(var n=-1,t=this.length;++n<t;)for(var e,r=this[n],i=r.length-1,u=r[i];--i>=0;)(e=r[i])&&(u&&u!==e.nextSibling&&u.parentNode.insertBefore(e,u),u=e);return this},Fa.sort=function(n){n=q.apply(this,arguments);for(var t=-1,e=this.length;++t<e;)this[t].sort(n);return this.order()},Fa.each=function(n){return T(this,function(t,e,r){n.call(t,t.__data__,e,r)})},Fa.call=function(n){var t=qa(arguments);return n.apply(t[0]=this,t),this},Fa.empty=function(){return!this.node()},Fa.node=function(){for(var n=0,t=this.length;t>n;n++)for(var e=this[n],r=0,i=e.length;i>r;r++){var u=e[r];if(u)return u}return null},Fa.size=function(){var n=0;return this.each(function(){++n}),n};var Oa=[];da.selection.enter=C,da.selection.enter.prototype=Oa,Oa.append=Fa.append,Oa.empty=Fa.empty,Oa.node=Fa.node,Oa.call=Fa.call,Oa.size=Fa.size,Oa.select=function(n){for(var t,e,r,i,u,a=[],o=-1,c=this.length;++o<c;){r=(i=this[o]).update,a.push(t=[]),t.parentNode=i.parentNode;for(var l=-1,s=i.length;++l<s;)(u=i[l])?(t.push(r[l]=e=n.call(i.parentNode,u.__data__,l,o)),e.__data__=u.__data__):t.push(null)}return m(a)},Oa.insert=function(n,t){return arguments.length<2&&(t=z(this)),Fa.insert.call(this,n,t)},Fa.transition=function(){for(var n,t,e=zc||++Fc,r=[],i=Dc||{time:Date.now(),ease:Nr,delay:0,duration:250},u=-1,a=this.length;++u<a;){r.push(n=[]);for(var o=this[u],c=-1,l=o.length;++c<l;)(t=o[c])&&Eu(t,c,e,i),n.push(t)}return _u(r,e)},da.select=function(n){var t=["string"==typeof n?Da(n,ma):n];return t.parentNode=va,m([t])},da.selectAll=function(n){var t=qa("string"==typeof n?ja(n,ma):n);return t.parentNode=va,m([t])};var Ya=da.select(va);Fa.on=function(n,t,e){var r=arguments.length;if(3>r){if("string"!=typeof n){2>r&&(t=!1);for(e in n)this.each(D(e,n[e],t));return this}if(2>r)return(r=this.node()["__on"+n])&&r._;e=!1}return this.each(D(n,t,e))};var Ra=da.map({mouseenter:"mouseover",mouseleave:"mouseout"});Ra.forEach(function(n){"on"+n in ma&&Ra.remove(n)});var Ua=o(va.style,"userSelect"),Ia=0;da.mouse=function(n){return F(n,p())};var Va=/WebKit/.test(ya.navigator.userAgent)?-1:0;da.touches=function(n,t){return arguments.length<2&&(t=p().touches),t?qa(t).map(function(t){var e=F(n,t);return e.identifier=t.identifier,e}):[]},da.behavior.drag=function(){function n(){this.on("mousedown.drag",a).on("touchstart.drag",o)}function t(){return da.event.changedTouches[0].identifier}function e(n,t){return da.touches(n).filter(function(n){return n.identifier===t})[0]}function r(n,t,e,r){return function(){function a(){if(!s)return o();var n=t(s,g),e=n[0]-d[0],r=n[1]-d[1];m|=e|r,d=n,f({type:"drag",x:n[0]+c[0],y:n[1]+c[1],dx:e,dy:r})}function o(){v.on(e+"."+p,null).on(r+"."+p,null),y(m&&da.event.target===h),f({type:"dragend"})}var c,l=this,s=l.parentNode,f=i.of(l,arguments),h=da.event.target,g=n(),p=null==g?"drag":"drag-"+g,d=t(s,g),m=0,v=da.select(ya).on(e+"."+p,a).on(r+"."+p,o),y=H();u?(c=u.apply(l,arguments),c=[c.x-d[0],c.y-d[1]]):c=[0,0],f({type:"dragstart"})}}var i=d(n,"drag","dragstart","dragend"),u=null,a=r(s,da.mouse,"mousemove","mouseup"),o=r(t,e,"touchmove","touchend");return n.origin=function(t){return arguments.length?(u=t,n):u},da.rebind(n,i,"on")},da.behavior.zoom=function(){function n(){this.on(E,o).on(Ba+".zoom",l).on(k,s).on("dblclick.zoom",f).on("touchstart.zoom",c)}function t(n){return[(n[0]-_[0])/w,(n[1]-_[1])/w]}function e(n){return[n[0]*w+_[0],n[1]*w+_[1]]}function r(n){w=Math.max(S[0],Math.min(S[1],n))}function i(n,t){t=e(t),_[0]+=n[0]-t[0],_[1]+=n[1]-t[1]}function u(){y&&y.domain(v.range().map(function(n){return(n-_[0])/w}).map(v.invert)),x&&x.domain(M.range().map(function(n){return(n-_[1])/w}).map(M.invert))}function a(n){u(),n({type:"zoom",scale:w,translate:_})}function o(){function n(){c=1,i(da.mouse(r),f),a(u)}function e(){l.on(k,ya===r?s:null).on(A,null),h(c&&da.event.target===o)}var r=this,u=N.of(r,arguments),o=da.event.target,c=0,l=da.select(ya).on(k,n).on(A,e),f=t(da.mouse(r)),h=H()}function c(){function n(){var n=da.touches(u),t=n[0],e=h[t.identifier];if(c=n[1]){var c,l=h[c.identifier],s=da.event.scale;if(null==s){var f=(f=c[0]-t[0])*f+(f=c[1]-t[1])*f;s=p&&Math.sqrt(f/p)}t=[(t[0]+c[0])/2,(t[1]+c[1])/2],e=[(e[0]+l[0])/2,(e[1]+l[1])/2],r(s*m)}b=null,i(t,e),a(o)}function e(){v.on(f,null).on(d,null),y()}var u=this,o=N.of(u,arguments),c=da.touches(u),l=Date.now(),s="zoom-"+da.event.changedTouches[0].identifier,f="touchmove."+s,d="touchend."+s,v=da.select(ya).on(f,n).on(d,e).on(E,null).on(k,null),y=H();if(m=w,h={},p=0,c.forEach(function(n){h[n.identifier]=t(n)}),1===c.length){if(500>l-b){var M=c[0],x=t(c[0]);r(2*w),i(M,x),g(),a(o)}b=l}else if(c.length>1){var M=c[0],_=c[1],S=M[0]-_[0],A=M[1]-_[1];p=S*S+A*A}}function l(){g(),h||(h=t(da.mouse(this))),r(Math.pow(2,.002*Xa())*w),i(da.mouse(this),h),a(N.of(this,arguments))}function s(){h=null}function f(){var n=da.mouse(this),e=t(n),u=Math.log(w)/Math.LN2;r(Math.pow(2,da.event.shiftKey?Math.ceil(u)-1:Math.floor(u)+1)),i(n,e),a(N.of(this,arguments))}var h,p,m,v,y,M,x,b,_=[0,0],w=1,S=Za,E="mousedown.zoom",k="mousemove.zoom",A="mouseup.zoom",N=d(n,"zoom");return n.translate=function(t){return arguments.length?(_=t.map(Number),u(),n):_},n.scale=function(t){return arguments.length?(w=+t,u(),n):w},n.scaleExtent=function(t){return arguments.length?(S=null==t?Za:t.map(Number),n):S},n.x=function(t){return arguments.length?(y=t,v=t.copy(),_=[0,0],w=1,n):y},n.y=function(t){return arguments.length?(x=t,M=t.copy(),_=[0,0],w=1,n):x},da.rebind(n,N,"on")};var Xa,Za=[0,1/0],Ba="onwheel"in ma?(Xa=function(){return-da.event.deltaY*(da.event.deltaMode?120:1)},"wheel"):"onmousewheel"in ma?(Xa=function(){return da.event.wheelDelta},"mousewheel"):(Xa=function(){return-da.event.detail},"MozMousePixelScroll");P.prototype.toString=function(){return this.rgb()+""},da.hsl=function(n,t,e){return 1===arguments.length?n instanceof Y?O(n.h,n.s,n.l):ot(""+n,ct,O):O(+n,+t,+e)};var $a=Y.prototype=new P;$a.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),O(this.h,this.s,this.l/n)},$a.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),O(this.h,this.s,n*this.l)},$a.rgb=function(){return R(this.h,this.s,this.l)};var Wa=Math.PI,Ja=1e-6,Ga=Ja*Ja,Ka=Wa/180,Qa=180/Wa;da.hcl=function(n,t,e){return 1===arguments.length?n instanceof W?$(n.h,n.c,n.l):n instanceof K?nt(n.l,n.a,n.b):nt((n=lt((n=da.rgb(n)).r,n.g,n.b)).l,n.a,n.b):$(+n,+t,+e)};var no=W.prototype=new P;no.brighter=function(n){return $(this.h,this.c,Math.min(100,this.l+to*(arguments.length?n:1)))},no.darker=function(n){return $(this.h,this.c,Math.max(0,this.l-to*(arguments.length?n:1)))},no.rgb=function(){return J(this.h,this.c,this.l).rgb()},da.lab=function(n,t,e){return 1===arguments.length?n instanceof K?G(n.l,n.a,n.b):n instanceof W?J(n.l,n.c,n.h):lt((n=da.rgb(n)).r,n.g,n.b):G(+n,+t,+e)};var to=18,eo=.95047,ro=1,io=1.08883,uo=K.prototype=new P;uo.brighter=function(n){return G(Math.min(100,this.l+to*(arguments.length?n:1)),this.a,this.b)},uo.darker=function(n){return G(Math.max(0,this.l-to*(arguments.length?n:1)),this.a,this.b)},uo.rgb=function(){return Q(this.l,this.a,this.b)},da.rgb=function(n,t,e){return 1===arguments.length?n instanceof ut?it(n.r,n.g,n.b):ot(""+n,it,R):it(~~n,~~t,~~e)};var ao=ut.prototype=new P;ao.brighter=function(n){n=Math.pow(.7,arguments.length?n:1);var t=this.r,e=this.g,r=this.b,i=30;return t||e||r?(t&&i>t&&(t=i),e&&i>e&&(e=i),r&&i>r&&(r=i),it(Math.min(255,Math.floor(t/n)),Math.min(255,Math.floor(e/n)),Math.min(255,Math.floor(r/n)))):it(i,i,i)},ao.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),it(Math.floor(n*this.r),Math.floor(n*this.g),Math.floor(n*this.b))},ao.hsl=function(){return ct(this.r,this.g,this.b)},ao.toString=function(){return"#"+at(this.r)+at(this.g)+at(this.b)};var oo=da.map({aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"});oo.forEach(function(n,t){oo.set(n,ot(t,it,R))}),da.functor=ht,da.xhr=pt(gt),da.dsv=function(n,t){function e(n,e,u){arguments.length<3&&(u=e,e=null);var a=da.xhr(n,t,u);return a.row=function(n){return arguments.length?a.response(null==(e=n)?r:i(n)):e},a.row(e)}function r(n){return e.parse(n.responseText)}function i(n){return function(t){return e.parse(t.responseText,n)}}function a(t){return t.map(o).join(n)}function o(n){return c.test(n)?'"'+n.replace(/\"/g,'""')+'"':n}var c=new RegExp('["'+n+"\n]"),l=n.charCodeAt(0);return e.parse=function(n,t){var r;return e.parseRows(n,function(n,e){if(r)return r(n,e-1);var i=new Function("d","return {"+n.map(function(n,t){return JSON.stringify(n)+": d["+t+"]"}).join(",")+"}");r=t?function(n,e){return t(i(n),e)}:i})},e.parseRows=function(n,t){function e(){if(s>=c)return a;if(i)return i=!1,u;var t=s;if(34===n.charCodeAt(t)){for(var e=t;e++<c;)if(34===n.charCodeAt(e)){if(34!==n.charCodeAt(e+1))break;++e}s=e+2;var r=n.charCodeAt(e+1);return 13===r?(i=!0,10===n.charCodeAt(e+2)&&++s):10===r&&(i=!0),n.substring(t+1,e).replace(/""/g,'"')}for(;c>s;){var r=n.charCodeAt(s++),o=1;if(10===r)i=!0;else if(13===r)i=!0,10===n.charCodeAt(s)&&(++s,++o);else if(r!==l)continue;return n.substring(t,s-o)}return n.substring(t)}for(var r,i,u={},a={},o=[],c=n.length,s=0,f=0;(r=e())!==a;){for(var h=[];r!==u&&r!==a;)h.push(r),r=e();(!t||(h=t(h,f++)))&&o.push(h)}return o},e.format=function(t){if(Array.isArray(t[0]))return e.formatRows(t);var r=new u,i=[];return t.forEach(function(n){for(var t in n)r.has(t)||i.push(r.add(t))}),[i.map(o).join(n)].concat(t.map(function(t){return i.map(function(n){return o(t[n])}).join(n)})).join("\n")},e.formatRows=function(n){return n.map(a).join("\n")},e},da.csv=da.dsv(",","text/csv"),da.tsv=da.dsv(" ","text/tab-separated-values");var co,lo,so,fo;da.timer=function(n,t,e){if(arguments.length<3){if(arguments.length<2)t=0;else if(!isFinite(t))return;e=Date.now()}var r=e+t,i={callback:n,time:r,next:null};lo?lo.next=i:co=i,lo=i,so||(fo=clearTimeout(fo),so=1,ho(vt))},da.timer.flush=function(){yt(),Mt()};var ho=ya[o(ya,"requestAnimationFrame")]||function(n){setTimeout(n,17)},go=".",po=",",mo=[3,3],vo="$",yo=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"].map(xt);da.formatPrefix=function(n,t){var e=0;return n&&(0>n&&(n*=-1),t&&(n=da.round(n,bt(n,t))),e=1+Math.floor(1e-12+Math.log(n)/Math.LN10),e=Math.max(-24,Math.min(24,3*Math.floor((0>=e?e+1:e-1)/3)))),yo[8+e/3]},da.round=function(n,t){return t?Math.round(n*(t=Math.pow(10,t)))/t:Math.round(n)},da.format=function(n){var t=Mo.exec(n),e=t[1]||" ",r=t[2]||">",i=t[3]||"",u=t[4]||"",a=t[5],o=+t[6],c=t[7],l=t[8],s=t[9],f=1,h="",g=!1;switch(l&&(l=+l.substring(1)),(a||"0"===e&&"="===r)&&(a=e="0",r="=",c&&(o-=Math.floor((o-1)/4))),s){case"n":c=!0,s="g";break;case"%":f=100,h="%",s="f";break;case"p":f=100,h="%",s="r";break;case"b":case"o":case"x":case"X":"#"===u&&(u="0"+s.toLowerCase());case"c":case"d":g=!0,l=0;break;case"s":f=-1,s="r"}"#"===u?u="":"$"===u&&(u=vo),"r"!=s||l||(s="g"),null!=l&&("g"==s?l=Math.max(1,Math.min(21,l)):("e"==s||"f"==s)&&(l=Math.max(0,Math.min(20,l)))),s=xo.get(s)||_t;var p=a&&c;return function(n){if(g&&n%1)return"";var t=0>n||0===n&&0>1/n?(n=-n,"-"):i;if(0>f){var d=da.formatPrefix(n,l);n=d.scale(n),h=d.symbol}else n*=f;n=s(n,l);var m=n.lastIndexOf("."),v=0>m?n:n.substring(0,m),y=0>m?"":go+n.substring(m+1);!a&&c&&(v=bo(v));var M=u.length+v.length+y.length+(p?0:t.length),x=o>M?new Array(M=o-M+1).join(e):"";return p&&(v=bo(x+v)),t+=u,n=v+y,("<"===r?t+n+x:">"===r?x+t+n:"^"===r?x.substring(0,M>>=1)+t+n+x.substring(M):t+(p?n:x+n))+h}};var Mo=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,xo=da.map({b:function(n){return n.toString(2)},c:function(n){return String.fromCharCode(n)},o:function(n){return n.toString(8)},x:function(n){return n.toString(16)},X:function(n){return n.toString(16).toUpperCase()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},r:function(n,t){return(n=da.round(n,bt(n,t))).toFixed(Math.max(0,Math.min(20,bt(n*(1+1e-15),t))))}}),bo=gt;if(mo){var _o=mo.length;bo=function(n){for(var t=n.length,e=[],r=0,i=mo[0];t>0&&i>0;)e.push(n.substring(t-=i,t+i)),i=mo[r=(r+1)%_o];return e.reverse().join(po)}}da.geo={},wt.prototype={s:0,t:0,add:function(n){St(n,this.t,wo),St(wo.s,this.s,this),this.s?this.t+=wo.t:this.s=wo.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var wo=new wt;da.geo.stream=function(n,t){n&&So.hasOwnProperty(n.type)?So[n.type](n,t):Et(n,t)};var So={Feature:function(n,t){Et(n.geometry,t)},FeatureCollection:function(n,t){for(var e=n.features,r=-1,i=e.length;++r<i;)Et(e[r].geometry,t)}},Eo={Sphere:function(n,t){t.sphere()},Point:function(n,t){var e=n.coordinates;t.point(e[0],e[1])},MultiPoint:function(n,t){for(var e,r=n.coordinates,i=-1,u=r.length;++i<u;)e=r[i],t.point(e[0],e[1])},LineString:function(n,t){kt(n.coordinates,t,0)},MultiLineString:function(n,t){for(var e=n.coordinates,r=-1,i=e.length;++r<i;)kt(e[r],t,0)},Polygon:function(n,t){At(n.coordinates,t)},MultiPolygon:function(n,t){for(var e=n.coordinates,r=-1,i=e.length;++r<i;)At(e[r],t)},GeometryCollection:function(n,t){for(var e=n.geometries,r=-1,i=e.length;++r<i;)Et(e[r],t)}};da.geo.area=function(n){return ko=0,da.geo.stream(n,No),ko};var ko,Ao=new wt,No={sphere:function(){ko+=4*Wa},point:s,lineStart:s,lineEnd:s,polygonStart:function(){Ao.reset(),No.lineStart=Nt},polygonEnd:function(){var n=2*Ao;ko+=0>n?4*Wa+n:n,No.lineStart=No.lineEnd=No.point=s}};da.geo.bounds=function(){function n(n,t){M.push(x=[s=n,h=n]),f>t&&(f=t),t>g&&(g=t)}function t(t,e){var r=qt([t*Ka,e*Ka]);if(v){var i=Ct(v,r),u=[i[1],-i[0],0],a=Ct(u,i);jt(a),a=Lt(a);var c=t-p,l=c>0?1:-1,d=a[0]*Qa*l,m=Math.abs(c)>180;if(m^(d>l*p&&l*t>d)){var y=a[1]*Qa;y>g&&(g=y)}else if(d=(d+360)%360-180,m^(d>l*p&&l*t>d)){var y=-a[1]*Qa;f>y&&(f=y)}else f>e&&(f=e),e>g&&(g=e);m?p>t?o(s,t)>o(s,h)&&(h=t):o(t,h)>o(s,h)&&(s=t):h>=s?(s>t&&(s=t),t>h&&(h=t)):t>p?o(s,t)>o(s,h)&&(h=t):o(t,h)>o(s,h)&&(s=t)}else n(t,e);v=r,p=t}function e(){b.point=t}function r(){x[0]=s,x[1]=h,b.point=n,v=null}function i(n,e){if(v){var r=n-p;y+=Math.abs(r)>180?r+(r>0?360:-360):r}else d=n,m=e;No.point(n,e),t(n,e)}function u(){No.lineStart()}function a(){i(d,m),No.lineEnd(),Math.abs(y)>Ja&&(s=-(h=180)),x[0]=s,x[1]=h,v=null}function o(n,t){return(t-=n)<0?t+360:t}function c(n,t){return n[0]-t[0]}function l(n,t){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n<t[0]||t[1]<n}var s,f,h,g,p,d,m,v,y,M,x,b={point:n,lineStart:e,lineEnd:r,polygonStart:function(){b.point=i,b.lineStart=u,b.lineEnd=a,y=0,No.polygonStart()},polygonEnd:function(){No.polygonEnd(),b.point=n,b.lineStart=e,b.lineEnd=r,0>Ao?(s=-(h=180),f=-(g=90)):y>Ja?g=90:-Ja>y&&(f=-90),x[0]=s,x[1]=h}};return function(n){g=h=-(s=f=1/0),M=[],da.geo.stream(n,b);var t=M.length;if(t){M.sort(c);for(var e,r=1,i=M[0],u=[i];t>r;++r)e=M[r],l(e[0],i)||l(e[1],i)?(o(i[0],e[1])>o(i[0],i[1])&&(i[1]=e[1]),o(e[0],i[1])>o(i[0],i[1])&&(i[0]=e[0])):u.push(i=e);for(var a,e,p=-1/0,t=u.length-1,r=0,i=u[t];t>=r;i=e,++r)e=u[r],(a=o(i[1],e[0]))>p&&(p=a,s=e[0],h=i[1])}return M=x=null,1/0===s||1/0===f?[[0/0,0/0],[0/0,0/0]]:[[s,f],[h,g]]}}(),da.geo.centroid=function(n){qo=To=Co=zo=Do=jo=Lo=Ho=Fo=Po=Oo=0,da.geo.stream(n,Yo);var t=Fo,e=Po,r=Oo,i=t*t+e*e+r*r;return Ga>i&&(t=jo,e=Lo,r=Ho,Ja>To&&(t=Co,e=zo,r=Do),i=t*t+e*e+r*r,Ga>i)?[0/0,0/0]:[Math.atan2(e,t)*Qa,V(r/Math.sqrt(i))*Qa]};var qo,To,Co,zo,Do,jo,Lo,Ho,Fo,Po,Oo,Yo={sphere:s,point:Ft,lineStart:Ot,lineEnd:Yt,polygonStart:function(){Yo.lineStart=Rt},polygonEnd:function(){Yo.lineStart=Ot}},Ro=Xt(Ut,Jt,Kt,Qt),Uo=[-Wa,0],Io=1e9;(da.geo.conicEqualArea=function(){return ie(ue)}).raw=ue,da.geo.albers=function(){return da.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},da.geo.albersUsa=function(){function n(n){var u=n[0],a=n[1];return t=null,e(u,a),t||(r(u,a),t)||i(u,a),t}var t,e,r,i,u=da.geo.albers(),a=da.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),o=da.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),c={point:function(n,e){t=[n,e]}};return n.invert=function(n){var t=u.scale(),e=u.translate(),r=(n[0]-e[0])/t,i=(n[1]-e[1])/t;return(i>=.12&&.234>i&&r>=-.425&&-.214>r?a:i>=.166&&.234>i&&r>=-.214&&-.115>r?o:u).invert(n)},n.stream=function(n){var t=u.stream(n),e=a.stream(n),r=o.stream(n);return{point:function(n,i){t.point(n,i),e.point(n,i),r.point(n,i)},sphere:function(){t.sphere(),e.sphere(),r.sphere()},lineStart:function(){t.lineStart(),e.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),e.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),e.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),e.polygonEnd(),r.polygonEnd()}}},n.precision=function(t){return arguments.length?(u.precision(t),a.precision(t),o.precision(t),n):u.precision()},n.scale=function(t){return arguments.length?(u.scale(t),a.scale(.35*t),o.scale(t),n.translate(u.translate())):u.scale()},n.translate=function(t){if(!arguments.length)return u.translate();var l=u.scale(),s=+t[0],f=+t[1];return e=u.translate(t).clipExtent([[s-.455*l,f-.238*l],[s+.455*l,f+.238*l]]).stream(c).point,r=a.translate([s-.307*l,f+.201*l]).clipExtent([[s-.425*l+Ja,f+.12*l+Ja],[s-.214*l-Ja,f+.234*l-Ja]]).stream(c).point,i=o.translate([s-.205*l,f+.212*l]).clipExtent([[s-.214*l+Ja,f+.166*l+Ja],[s-.115*l-Ja,f+.234*l-Ja]]).stream(c).point,n},n.scale(1070)};var Vo,Xo,Zo,Bo,$o,Wo,Jo={point:s,lineStart:s,lineEnd:s,polygonStart:function(){Xo=0,Jo.lineStart=ae},polygonEnd:function(){Jo.lineStart=Jo.lineEnd=Jo.point=s,Vo+=Math.abs(Xo/2)}},Go={point:oe,lineStart:s,lineEnd:s,polygonStart:s,polygonEnd:s},Ko={point:se,lineStart:fe,lineEnd:he,polygonStart:function(){Ko.lineStart=ge},polygonEnd:function(){Ko.point=se,Ko.lineStart=fe,Ko.lineEnd=he}};da.geo.path=function(){function n(n){return n&&("function"==typeof o&&u.pointRadius(+o.apply(this,arguments)),a&&a.valid||(a=i(u)),da.geo.stream(n,a)),u.result()}function t(){return a=null,n}var e,r,i,u,a,o=4.5;return n.area=function(n){return Vo=0,da.geo.stream(n,i(Jo)),Vo},n.centroid=function(n){return Co=zo=Do=jo=Lo=Ho=Fo=Po=Oo=0,da.geo.stream(n,i(Ko)),Oo?[Fo/Oo,Po/Oo]:Ho?[jo/Ho,Lo/Ho]:Do?[Co/Do,zo/Do]:[0/0,0/0]},n.bounds=function(n){return $o=Wo=-(Zo=Bo=1/0),da.geo.stream(n,i(Go)),[[Zo,Bo],[$o,Wo]]},n.projection=function(n){return arguments.length?(i=(e=n)?n.stream||me(n):gt,t()):e},n.context=function(n){return arguments.length?(u=null==(r=n)?new ce:new pe(n),"function"!=typeof o&&u.pointRadius(o),t()):r},n.pointRadius=function(t){return arguments.length?(o="function"==typeof t?t:(u.pointRadius(+t),+t),n):o},n.projection(da.geo.albersUsa()).context(null)},da.geo.projection=ve,da.geo.projectionMutator=ye,(da.geo.equirectangular=function(){return ve(xe)}).raw=xe.invert=xe,da.geo.rotation=function(n){function t(t){return t=n(t[0]*Ka,t[1]*Ka),t[0]*=Qa,t[1]*=Qa,t}return n=be(n[0]%360*Ka,n[1]*Ka,n.length>2?n[2]*Ka:0),t.invert=function(t){return t=n.invert(t[0]*Ka,t[1]*Ka),t[0]*=Qa,t[1]*=Qa,t},t},da.geo.circle=function(){function n(){var n="function"==typeof r?r.apply(this,arguments):r,t=be(-n[0]*Ka,-n[1]*Ka,0).invert,i=[];return e(null,null,1,{point:function(n,e){i.push(n=t(n,e)),n[0]*=Qa,n[1]*=Qa}}),{type:"Polygon",coordinates:[i]}}var t,e,r=[0,0],i=6;return n.origin=function(t){return arguments.length?(r=t,n):r},n.angle=function(r){return arguments.length?(e=Ee((t=+r)*Ka,i*Ka),n):t},n.precision=function(r){return arguments.length?(e=Ee(t*Ka,(i=+r)*Ka),n):i},n.angle(90)},da.geo.distance=function(n,t){var e,r=(t[0]-n[0])*Ka,i=n[1]*Ka,u=t[1]*Ka,a=Math.sin(r),o=Math.cos(r),c=Math.sin(i),l=Math.cos(i),s=Math.sin(u),f=Math.cos(u);return Math.atan2(Math.sqrt((e=f*a)*e+(e=l*s-c*f*o)*e),c*s+l*f*o)},da.geo.graticule=function(){function n(){return{type:"MultiLineString",coordinates:t()}}function t(){return da.range(Math.ceil(u/m)*m,i,m).map(h).concat(da.range(Math.ceil(l/v)*v,c,v).map(g)).concat(da.range(Math.ceil(r/p)*p,e,p).filter(function(n){return Math.abs(n%m)>Ja}).map(s)).concat(da.range(Math.ceil(o/d)*d,a,d).filter(function(n){return Math.abs(n%v)>Ja}).map(f))}var e,r,i,u,a,o,c,l,s,f,h,g,p=10,d=p,m=90,v=360,y=2.5;return n.lines=function(){return t().map(function(n){return{type:"LineString",coordinates:n}})},n.outline=function(){return{type:"Polygon",coordinates:[h(u).concat(g(c).slice(1),h(i).reverse().slice(1),g(l).reverse().slice(1))]}},n.extent=function(t){return arguments.length?n.majorExtent(t).minorExtent(t):n.minorExtent()},n.majorExtent=function(t){return arguments.length?(u=+t[0][0],i=+t[1][0],l=+t[0][1],c=+t[1][1],u>i&&(t=u,u=i,i=t),l>c&&(t=l,l=c,c=t),n.precision(y)):[[u,l],[i,c]]},n.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],o=+t[0][1],a=+t[1][1],r>e&&(t=r,r=e,e=t),o>a&&(t=o,o=a,a=t),n.precision(y)):[[r,o],[e,a]]},n.step=function(t){return arguments.length?n.majorStep(t).minorStep(t):n.minorStep()},n.majorStep=function(t){return arguments.length?(m=+t[0],v=+t[1],n):[m,v]},n.minorStep=function(t){return arguments.length?(p=+t[0],d=+t[1],n):[p,d]},n.precision=function(t){return arguments.length?(y=+t,s=Ae(o,a,90),f=Ne(r,e,y),h=Ae(l,c,90),g=Ne(u,i,y),n):y},n.majorExtent([[-180,-90+Ja],[180,90-Ja]]).minorExtent([[-180,-80-Ja],[180,80+Ja]])},da.geo.greatArc=function(){function n(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),e||i.apply(this,arguments)]}}var t,e,r=qe,i=Te;return n.distance=function(){return da.geo.distance(t||r.apply(this,arguments),e||i.apply(this,arguments))},n.source=function(e){return arguments.length?(r=e,t="function"==typeof e?null:e,n):r},n.target=function(t){return arguments.length?(i=t,e="function"==typeof t?null:t,n):i},n.precision=function(){return arguments.length?n:0},n},da.geo.interpolate=function(n,t){return Ce(n[0]*Ka,n[1]*Ka,t[0]*Ka,t[1]*Ka)},da.geo.length=function(n){return Qo=0,da.geo.stream(n,nc),Qo};var Qo,nc={sphere:s,point:s,lineStart:ze,lineEnd:s,polygonStart:s,polygonEnd:s},tc=De(function(n){return Math.sqrt(2/(1+n))},function(n){return 2*Math.asin(n/2)});(da.geo.azimuthalEqualArea=function(){return ve(tc)}).raw=tc;var ec=De(function(n){var t=Math.acos(n);return t&&t/Math.sin(t)},gt);(da.geo.azimuthalEquidistant=function(){return ve(ec)}).raw=ec,(da.geo.conicConformal=function(){return ie(je)}).raw=je,(da.geo.conicEquidistant=function(){return ie(Le)}).raw=Le;var rc=De(function(n){return 1/n},Math.atan);(da.geo.gnomonic=function(){return ve(rc)}).raw=rc,He.invert=function(n,t){return[n,2*Math.atan(Math.exp(t))-Wa/2]},(da.geo.mercator=function(){return Fe(He)}).raw=He;var ic=De(function(){return 1},Math.asin);(da.geo.orthographic=function(){return ve(ic)}).raw=ic;var uc=De(function(n){return 1/(1+n)},function(n){return 2*Math.atan(n)});(da.geo.stereographic=function(){return ve(uc)}).raw=uc,Pe.invert=function(n,t){return[Math.atan2(X(n),Math.cos(t)),V(Math.sin(t)/Z(n))]},(da.geo.transverseMercator=function(){return Fe(Pe)}).raw=Pe,da.geom={},da.svg={},da.svg.line=function(){return Oe(gt)
4
- };var ac=da.map({linear:Ue,"linear-closed":Ie,step:Ve,"step-before":Xe,"step-after":Ze,basis:Ke,"basis-open":Qe,"basis-closed":nr,bundle:tr,cardinal:We,"cardinal-open":Be,"cardinal-closed":$e,monotone:or});ac.forEach(function(n,t){t.key=n,t.closed=/-closed$/.test(n)});var oc=[0,2/3,1/3,0],cc=[0,1/3,2/3,0],lc=[0,1/6,2/3,1/6];da.geom.hull=function(n){function t(n){if(n.length<3)return[];var t,i,u,a,o,c,l,s,f,h,g,p,d=ht(e),m=ht(r),v=n.length,y=v-1,M=[],x=[],b=0;if(d===Ye&&r===Re)t=n;else for(u=0,t=[];v>u;++u)t.push([+d.call(this,i=n[u],u),+m.call(this,i,u)]);for(u=1;v>u;++u)(t[u][1]<t[b][1]||t[u][1]==t[b][1]&&t[u][0]<t[b][0])&&(b=u);for(u=0;v>u;++u)u!==b&&(c=t[u][1]-t[b][1],o=t[u][0]-t[b][0],M.push({angle:Math.atan2(c,o),index:u}));for(M.sort(function(n,t){return n.angle-t.angle}),g=M[0].angle,h=M[0].index,f=0,u=1;y>u;++u){if(a=M[u].index,g==M[u].angle){if(o=t[h][0]-t[b][0],c=t[h][1]-t[b][1],l=t[a][0]-t[b][0],s=t[a][1]-t[b][1],o*o+c*c>=l*l+s*s){M[u].index=-1;continue}M[f].index=-1}g=M[u].angle,f=u,h=a}for(x.push(b),u=0,a=0;2>u;++a)M[a].index>-1&&(x.push(M[a].index),u++);for(p=x.length;y>a;++a)if(!(M[a].index<0)){for(;!cr(x[p-2],x[p-1],M[a].index,t);)--p;x[p++]=M[a].index}var _=[];for(u=p-1;u>=0;--u)_.push(n[x[u]]);return _}var e=Ye,r=Re;return arguments.length?t(n):(t.x=function(n){return arguments.length?(e=n,t):e},t.y=function(n){return arguments.length?(r=n,t):r},t)},da.geom.polygon=function(n){return za(n,sc),n};var sc=da.geom.polygon.prototype=[];sc.area=function(){for(var n,t=-1,e=this.length,r=this[e-1],i=0;++t<e;)n=r,r=this[t],i+=n[1]*r[0]-n[0]*r[1];return.5*i},sc.centroid=function(n){var t,e,r=-1,i=this.length,u=0,a=0,o=this[i-1];for(arguments.length||(n=-1/(6*this.area()));++r<i;)t=o,o=this[r],e=t[0]*o[1]-o[0]*t[1],u+=(t[0]+o[0])*e,a+=(t[1]+o[1])*e;return[u*n,a*n]},sc.clip=function(n){for(var t,e,r,i,u,a,o=fr(n),c=-1,l=this.length-fr(this),s=this[l-1];++c<l;){for(t=n.slice(),n.length=0,i=this[c],u=t[(r=t.length-o)-1],e=-1;++e<r;)a=t[e],lr(a,s,i)?(lr(u,s,i)||n.push(sr(u,a,s,i)),n.push(a)):lr(u,s,i)&&n.push(sr(u,a,s,i)),u=a;o&&n.push(n[0]),s=i}return n},da.geom.delaunay=function(n){var t=n.map(function(){return[]}),e=[];return hr(n,function(e){t[e.region.l.index].push(n[e.region.r.index])}),t.forEach(function(t,r){var i=n[r],u=i[0],a=i[1];t.forEach(function(n){n.angle=Math.atan2(n[0]-u,n[1]-a)}),t.sort(function(n,t){return n.angle-t.angle});for(var o=0,c=t.length-1;c>o;o++)e.push([i,t[o],t[o+1]])}),e},da.geom.voronoi=function(n){function t(n){var t,u,a,o=n.map(function(){return[]}),c=ht(e),l=ht(r),s=n.length,f=1e6;if(c===Ye&&l===Re)t=n;else for(t=new Array(s),a=0;s>a;++a)t[a]=[+c.call(this,u=n[a],a),+l.call(this,u,a)];if(hr(t,function(n){var t,e,r,i,u,a;1===n.a&&n.b>=0?(t=n.ep.r,e=n.ep.l):(t=n.ep.l,e=n.ep.r),1===n.a?(u=t?t.y:-f,r=n.c-n.b*u,a=e?e.y:f,i=n.c-n.b*a):(r=t?t.x:-f,u=n.c-n.a*r,i=e?e.x:f,a=n.c-n.a*i);var c=[r,u],l=[i,a];o[n.region.l.index].push(c,l),o[n.region.r.index].push(c,l)}),o=o.map(function(n,e){var r=t[e][0],i=t[e][1],u=n.map(function(n){return Math.atan2(n[0]-r,n[1]-i)}),a=da.range(n.length).sort(function(n,t){return u[n]-u[t]});return a.filter(function(n,t){return!t||u[n]-u[a[t-1]]>Ja}).map(function(t){return n[t]})}),o.forEach(function(n,e){var r=n.length;if(!r)return n.push([-f,-f],[-f,f],[f,f],[f,-f]);if(!(r>2)){var i=t[e],u=n[0],a=n[1],o=i[0],c=i[1],l=u[0],s=u[1],h=a[0],g=a[1],p=Math.abs(h-l),d=g-s;if(Math.abs(d)<Ja){var m=s>c?-f:f;n.push([-f,m],[f,m])}else if(Ja>p){var v=l>o?-f:f;n.push([v,-f],[v,f])}else{var m=(l-o)*(g-s)>(h-l)*(s-c)?f:-f,y=Math.abs(d)-p;Math.abs(y)<Ja?n.push([0>d?m:-m,m]):(y>0&&(m*=-1),n.push([-f,m],[f,m]))}}}),i)for(a=0;s>a;++a)i.clip(o[a]);for(a=0;s>a;++a)o[a].point=n[a];return o}var e=Ye,r=Re,i=null;return arguments.length?t(n):(t.x=function(n){return arguments.length?(e=n,t):e},t.y=function(n){return arguments.length?(r=n,t):r},t.clipExtent=function(n){if(!arguments.length)return i&&[i[0],i[2]];if(null==n)i=null;else{var e=+n[0][0],r=+n[0][1],u=+n[1][0],a=+n[1][1];i=da.geom.polygon([[e,r],[e,a],[u,a],[u,r]])}return t},t.size=function(n){return arguments.length?t.clipExtent(n&&[[0,0],n]):i&&i[2]},t.links=function(n){var t,i,u,a=n.map(function(){return[]}),o=[],c=ht(e),l=ht(r),s=n.length;if(c===Ye&&l===Re)t=n;else for(t=new Array(s),u=0;s>u;++u)t[u]=[+c.call(this,i=n[u],u),+l.call(this,i,u)];return hr(t,function(t){var e=t.region.l.index,r=t.region.r.index;a[e][r]||(a[e][r]=a[r][e]=!0,o.push({source:n[e],target:n[r]}))}),o},t.triangles=function(n){if(e===Ye&&r===Re)return da.geom.delaunay(n);for(var t,i=new Array(c),u=ht(e),a=ht(r),o=-1,c=n.length;++o<c;)(i[o]=[+u.call(this,t=n[o],o),+a.call(this,t,o)]).data=t;return da.geom.delaunay(i).map(function(n){return n.map(function(n){return n.data})})},t)};var fc={l:"r",r:"l"};da.geom.quadtree=function(n,t,e,r,i){function u(n){function u(n,t,e,r,i,u,a,o){if(!isNaN(e)&&!isNaN(r))if(n.leaf){var c=n.x,s=n.y;if(null!=c)if(Math.abs(c-e)+Math.abs(s-r)<.01)l(n,t,e,r,i,u,a,o);else{var f=n.point;n.x=n.y=n.point=null,l(n,f,c,s,i,u,a,o),l(n,t,e,r,i,u,a,o)}else n.x=e,n.y=r,n.point=t}else l(n,t,e,r,i,u,a,o)}function l(n,t,e,r,i,a,o,c){var l=.5*(i+o),s=.5*(a+c),f=e>=l,h=r>=s,g=(h<<1)+f;n.leaf=!1,n=n.nodes[g]||(n.nodes[g]=dr()),f?i=l:o=l,h?a=s:c=s,u(n,t,e,r,i,a,o,c)}var s,f,h,g,p,d,m,v,y,M=ht(o),x=ht(c);if(null!=t)d=t,m=e,v=r,y=i;else if(v=y=-(d=m=1/0),f=[],h=[],p=n.length,a)for(g=0;p>g;++g)s=n[g],s.x<d&&(d=s.x),s.y<m&&(m=s.y),s.x>v&&(v=s.x),s.y>y&&(y=s.y),f.push(s.x),h.push(s.y);else for(g=0;p>g;++g){var b=+M(s=n[g],g),_=+x(s,g);d>b&&(d=b),m>_&&(m=_),b>v&&(v=b),_>y&&(y=_),f.push(b),h.push(_)}var w=v-d,S=y-m;w>S?y=m+w:v=d+S;var E=dr();if(E.add=function(n){u(E,n,+M(n,++g),+x(n,g),d,m,v,y)},E.visit=function(n){mr(n,E,d,m,v,y)},g=-1,null==t){for(;++g<p;)u(E,n[g],f[g],h[g],d,m,v,y);--g}else n.forEach(E.add);return f=h=n=s=null,E}var a,o=Ye,c=Re;return(a=arguments.length)?(o=gr,c=pr,3===a&&(i=e,r=t,e=t=0),u(n)):(u.x=function(n){return arguments.length?(o=n,u):o},u.y=function(n){return arguments.length?(c=n,u):c},u.extent=function(n){return arguments.length?(null==n?t=e=r=i=null:(t=+n[0][0],e=+n[0][1],r=+n[1][0],i=+n[1][1]),u):null==t?null:[[t,e],[r,i]]},u.size=function(n){return arguments.length?(null==n?t=e=r=i=null:(t=e=0,r=+n[0],i=+n[1]),u):null==t?null:[r-t,i-e]},u)},da.interpolateRgb=vr,da.interpolateObject=yr,da.interpolateNumber=Mr,da.interpolateString=xr;var hc=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g;da.interpolate=br,da.interpolators=[function(n,t){var e=typeof t;return("string"===e?oo.has(t)||/^(#|rgb\(|hsl\()/.test(t)?vr:xr:t instanceof P?vr:"object"===e?Array.isArray(t)?_r:yr:Mr)(n,t)}],da.interpolateArray=_r;var gc=function(){return gt},pc=da.map({linear:gc,poly:qr,quad:function(){return kr},cubic:function(){return Ar},sin:function(){return Tr},exp:function(){return Cr},circle:function(){return zr},elastic:Dr,back:jr,bounce:function(){return Lr}}),dc=da.map({"in":gt,out:Sr,"in-out":Er,"out-in":function(n){return Er(Sr(n))}});da.ease=function(n){var t=n.indexOf("-"),e=t>=0?n.substring(0,t):n,r=t>=0?n.substring(t+1):"in";return e=pc.get(e)||gc,r=dc.get(r)||gt,wr(r(e.apply(null,Array.prototype.slice.call(arguments,1))))},da.interpolateHcl=Hr,da.interpolateHsl=Fr,da.interpolateLab=Pr,da.interpolateRound=Or,da.transform=function(n){var t=ma.createElementNS(da.ns.prefix.svg,"g");return(da.transform=function(n){if(null!=n){t.setAttribute("transform",n);var e=t.transform.baseVal.consolidate()}return new Yr(e?e.matrix:mc)})(n)},Yr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var mc={a:1,b:0,c:0,d:1,e:0,f:0};da.interpolateTransform=Vr,da.layout={},da.layout.bundle=function(){return function(n){for(var t=[],e=-1,r=n.length;++e<r;)t.push(Br(n[e]));return t}},da.layout.chord=function(){function n(){var n,l,f,h,g,p={},d=[],m=da.range(u),v=[];for(e=[],r=[],n=0,h=-1;++h<u;){for(l=0,g=-1;++g<u;)l+=i[h][g];d.push(l),v.push(da.range(u)),n+=l}for(a&&m.sort(function(n,t){return a(d[n],d[t])}),o&&v.forEach(function(n,t){n.sort(function(n,e){return o(i[t][n],i[t][e])})}),n=(2*Wa-s*u)/n,l=0,h=-1;++h<u;){for(f=l,g=-1;++g<u;){var y=m[h],M=v[y][g],x=i[y][M],b=l,_=l+=x*n;p[y+"-"+M]={index:y,subindex:M,startAngle:b,endAngle:_,value:x}}r[y]={index:y,startAngle:f,endAngle:l,value:(l-f)/n},l+=s}for(h=-1;++h<u;)for(g=h-1;++g<u;){var w=p[h+"-"+g],S=p[g+"-"+h];(w.value||S.value)&&e.push(w.value<S.value?{source:S,target:w}:{source:w,target:S})}c&&t()}function t(){e.sort(function(n,t){return c((n.source.value+n.target.value)/2,(t.source.value+t.target.value)/2)})}var e,r,i,u,a,o,c,l={},s=0;return l.matrix=function(n){return arguments.length?(u=(i=n)&&i.length,e=r=null,l):i},l.padding=function(n){return arguments.length?(s=n,e=r=null,l):s},l.sortGroups=function(n){return arguments.length?(a=n,e=r=null,l):a},l.sortSubgroups=function(n){return arguments.length?(o=n,e=null,l):o},l.sortChords=function(n){return arguments.length?(c=n,e&&t(),l):c},l.chords=function(){return e||n(),e},l.groups=function(){return r||n(),r},l},da.layout.force=function(){function n(n){return function(t,e,r,i){if(t.point!==n){var u=t.cx-n.x,a=t.cy-n.y,o=1/Math.sqrt(u*u+a*a);if(d>(i-e)*o){var c=t.charge*o*o;return n.px-=u*c,n.py-=a*c,!0}if(t.point&&isFinite(o)){var c=t.pointCharge*o*o;n.px-=u*c,n.py-=a*c}}return!t.charge}}function t(n){n.px=da.event.x,n.py=da.event.y,o.resume()}var e,r,i,u,a,o={},c=da.dispatch("start","tick","end"),l=[1,1],s=.9,f=vc,h=yc,g=-30,p=.1,d=.8,m=[],v=[];return o.tick=function(){if((r*=.99)<.005)return c.end({type:"end",alpha:r=0}),!0;var t,e,o,f,h,d,y,M,x,b=m.length,_=v.length;for(e=0;_>e;++e)o=v[e],f=o.source,h=o.target,M=h.x-f.x,x=h.y-f.y,(d=M*M+x*x)&&(d=r*u[e]*((d=Math.sqrt(d))-i[e])/d,M*=d,x*=d,h.x-=M*(y=f.weight/(h.weight+f.weight)),h.y-=x*y,f.x+=M*(y=1-y),f.y+=x*y);if((y=r*p)&&(M=l[0]/2,x=l[1]/2,e=-1,y))for(;++e<b;)o=m[e],o.x+=(M-o.x)*y,o.y+=(x-o.y)*y;if(g)for(ni(t=da.geom.quadtree(m),r,a),e=-1;++e<b;)(o=m[e]).fixed||t.visit(n(o));for(e=-1;++e<b;)o=m[e],o.fixed?(o.x=o.px,o.y=o.py):(o.x-=(o.px-(o.px=o.x))*s,o.y-=(o.py-(o.py=o.y))*s);c.tick({type:"tick",alpha:r})},o.nodes=function(n){return arguments.length?(m=n,o):m},o.links=function(n){return arguments.length?(v=n,o):v},o.size=function(n){return arguments.length?(l=n,o):l},o.linkDistance=function(n){return arguments.length?(f="function"==typeof n?n:+n,o):f},o.distance=o.linkDistance,o.linkStrength=function(n){return arguments.length?(h="function"==typeof n?n:+n,o):h},o.friction=function(n){return arguments.length?(s=+n,o):s},o.charge=function(n){return arguments.length?(g="function"==typeof n?n:+n,o):g},o.gravity=function(n){return arguments.length?(p=+n,o):p},o.theta=function(n){return arguments.length?(d=+n,o):d},o.alpha=function(n){return arguments.length?(n=+n,r?r=n>0?n:0:n>0&&(c.start({type:"start",alpha:r=n}),da.timer(o.tick)),o):r},o.start=function(){function n(n,r){for(var i,u=t(e),a=-1,o=u.length;++a<o;)if(!isNaN(i=u[a][n]))return i;return Math.random()*r}function t(){if(!c){for(c=[],r=0;p>r;++r)c[r]=[];for(r=0;d>r;++r){var n=v[r];c[n.source.index].push(n.target),c[n.target.index].push(n.source)}}return c[e]}var e,r,c,s,p=m.length,d=v.length,y=l[0],M=l[1];for(e=0;p>e;++e)(s=m[e]).index=e,s.weight=0;for(e=0;d>e;++e)s=v[e],"number"==typeof s.source&&(s.source=m[s.source]),"number"==typeof s.target&&(s.target=m[s.target]),++s.source.weight,++s.target.weight;for(e=0;p>e;++e)s=m[e],isNaN(s.x)&&(s.x=n("x",y)),isNaN(s.y)&&(s.y=n("y",M)),isNaN(s.px)&&(s.px=s.x),isNaN(s.py)&&(s.py=s.y);if(i=[],"function"==typeof f)for(e=0;d>e;++e)i[e]=+f.call(this,v[e],e);else for(e=0;d>e;++e)i[e]=f;if(u=[],"function"==typeof h)for(e=0;d>e;++e)u[e]=+h.call(this,v[e],e);else for(e=0;d>e;++e)u[e]=h;if(a=[],"function"==typeof g)for(e=0;p>e;++e)a[e]=+g.call(this,m[e],e);else for(e=0;p>e;++e)a[e]=g;return o.resume()},o.resume=function(){return o.alpha(.1)},o.stop=function(){return o.alpha(0)},o.drag=function(){return e||(e=da.behavior.drag().origin(gt).on("dragstart.force",Jr).on("drag.force",t).on("dragend.force",Gr)),arguments.length?(this.on("mouseover.force",Kr).on("mouseout.force",Qr).call(e),void 0):e},da.rebind(o,c,"on")};var vc=20,yc=1;da.layout.hierarchy=function(){function n(t,a,o){var c=i.call(e,t,a);if(t.depth=a,o.push(t),c&&(l=c.length)){for(var l,s,f=-1,h=t.children=[],g=0,p=a+1;++f<l;)s=n(c[f],p,o),s.parent=t,h.push(s),g+=s.value;r&&h.sort(r),u&&(t.value=g)}else u&&(t.value=+u.call(e,t,a)||0);return t}function t(n,r){var i=n.children,a=0;if(i&&(o=i.length))for(var o,c=-1,l=r+1;++c<o;)a+=t(i[c],l);else u&&(a=+u.call(e,n,r)||0);return u&&(n.value=a),a}function e(t){var e=[];return n(t,0,e),e}var r=ii,i=ei,u=ri;return e.sort=function(n){return arguments.length?(r=n,e):r},e.children=function(n){return arguments.length?(i=n,e):i},e.value=function(n){return arguments.length?(u=n,e):u},e.revalue=function(n){return t(n,0),n},e},da.layout.partition=function(){function n(t,e,r,i){var u=t.children;if(t.x=e,t.y=t.depth*i,t.dx=r,t.dy=i,u&&(a=u.length)){var a,o,c,l=-1;for(r=t.value?r/t.value:0;++l<a;)n(o=u[l],e,c=o.value*r,i),e+=c}}function t(n){var e=n.children,r=0;if(e&&(i=e.length))for(var i,u=-1;++u<i;)r=Math.max(r,t(e[u]));return 1+r}function e(e,u){var a=r.call(this,e,u);return n(a[0],0,i[0],i[1]/t(a[0])),a}var r=da.layout.hierarchy(),i=[1,1];return e.size=function(n){return arguments.length?(i=n,e):i},ti(e,r)},da.layout.pie=function(){function n(u){var a=u.map(function(e,r){return+t.call(n,e,r)}),o=+("function"==typeof r?r.apply(this,arguments):r),c=(("function"==typeof i?i.apply(this,arguments):i)-o)/da.sum(a),l=da.range(u.length);null!=e&&l.sort(e===Mc?function(n,t){return a[t]-a[n]}:function(n,t){return e(u[n],u[t])});var s=[];return l.forEach(function(n){var t;s[n]={data:u[n],value:t=a[n],startAngle:o,endAngle:o+=t*c}}),s}var t=Number,e=Mc,r=0,i=2*Wa;return n.value=function(e){return arguments.length?(t=e,n):t},n.sort=function(t){return arguments.length?(e=t,n):e},n.startAngle=function(t){return arguments.length?(r=t,n):r},n.endAngle=function(t){return arguments.length?(i=t,n):i},n};var Mc={};da.layout.stack=function(){function n(o,c){var l=o.map(function(e,r){return t.call(n,e,r)}),s=l.map(function(t){return t.map(function(t,e){return[u.call(n,t,e),a.call(n,t,e)]})}),f=e.call(n,s,c);l=da.permute(l,f),s=da.permute(s,f);var h,g,p,d=r.call(n,s,c),m=l.length,v=l[0].length;for(g=0;v>g;++g)for(i.call(n,l[0][g],p=d[g],s[0][g][1]),h=1;m>h;++h)i.call(n,l[h][g],p+=s[h-1][g][1],s[h][g][1]);return o}var t=gt,e=li,r=si,i=ci,u=ai,a=oi;return n.values=function(e){return arguments.length?(t=e,n):t},n.order=function(t){return arguments.length?(e="function"==typeof t?t:xc.get(t)||li,n):e},n.offset=function(t){return arguments.length?(r="function"==typeof t?t:bc.get(t)||si,n):r},n.x=function(t){return arguments.length?(u=t,n):u},n.y=function(t){return arguments.length?(a=t,n):a},n.out=function(t){return arguments.length?(i=t,n):i},n};var xc=da.map({"inside-out":function(n){var t,e,r=n.length,i=n.map(fi),u=n.map(hi),a=da.range(r).sort(function(n,t){return i[n]-i[t]}),o=0,c=0,l=[],s=[];for(t=0;r>t;++t)e=a[t],c>o?(o+=u[e],l.push(e)):(c+=u[e],s.push(e));return s.reverse().concat(l)},reverse:function(n){return da.range(n.length).reverse()},"default":li}),bc=da.map({silhouette:function(n){var t,e,r,i=n.length,u=n[0].length,a=[],o=0,c=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];r>o&&(o=r),a.push(r)}for(e=0;u>e;++e)c[e]=(o-a[e])/2;return c},wiggle:function(n){var t,e,r,i,u,a,o,c,l,s=n.length,f=n[0],h=f.length,g=[];for(g[0]=c=l=0,e=1;h>e;++e){for(t=0,i=0;s>t;++t)i+=n[t][e][1];for(t=0,u=0,o=f[e][0]-f[e-1][0];s>t;++t){for(r=0,a=(n[t][e][1]-n[t][e-1][1])/(2*o);t>r;++r)a+=(n[r][e][1]-n[r][e-1][1])/o;u+=a*n[t][e][1]}g[e]=c-=i?u/i*o:0,l>c&&(l=c)}for(e=0;h>e;++e)g[e]-=l;return g},expand:function(n){var t,e,r,i=n.length,u=n[0].length,a=1/i,o=[];for(e=0;u>e;++e){for(t=0,r=0;i>t;t++)r+=n[t][e][1];if(r)for(t=0;i>t;t++)n[t][e][1]/=r;else for(t=0;i>t;t++)n[t][e][1]=a}for(e=0;u>e;++e)o[e]=0;return o},zero:si});da.layout.histogram=function(){function n(n,u){for(var a,o,c=[],l=n.map(e,this),s=r.call(this,l,u),f=i.call(this,s,l,u),u=-1,h=l.length,g=f.length-1,p=t?1:1/h;++u<g;)a=c[u]=[],a.dx=f[u+1]-(a.x=f[u]),a.y=0;if(g>0)for(u=-1;++u<h;)o=l[u],o>=s[0]&&o<=s[1]&&(a=c[da.bisect(f,o,1,g)-1],a.y+=p,a.push(n[u]));return c}var t=!0,e=Number,r=mi,i=pi;return n.value=function(t){return arguments.length?(e=t,n):e},n.range=function(t){return arguments.length?(r=ht(t),n):r},n.bins=function(t){return arguments.length?(i="number"==typeof t?function(n){return di(n,t)}:ht(t),n):i},n.frequency=function(e){return arguments.length?(t=!!e,n):t},n},da.layout.tree=function(){function n(n,u){function a(n,t){var r=n.children,i=n._tree;if(r&&(u=r.length)){for(var u,o,l,s=r[0],f=s,h=-1;++h<u;)l=r[h],a(l,o),f=c(l,o,f),o=l;Ei(n);var g=.5*(s._tree.prelim+l._tree.prelim);t?(i.prelim=t._tree.prelim+e(n,t),i.mod=i.prelim-g):i.prelim=g}else t&&(i.prelim=t._tree.prelim+e(n,t))}function o(n,t){n.x=n._tree.prelim+t;var e=n.children;if(e&&(r=e.length)){var r,i=-1;for(t+=n._tree.mod;++i<r;)o(e[i],t)}}function c(n,t,r){if(t){for(var i,u=n,a=n,o=t,c=n.parent.children[0],l=u._tree.mod,s=a._tree.mod,f=o._tree.mod,h=c._tree.mod;o=Mi(o),u=yi(u),o&&u;)c=yi(c),a=Mi(a),a._tree.ancestor=n,i=o._tree.prelim+f-u._tree.prelim-l+e(o,u),i>0&&(ki(Ai(o,n,r),n,i),l+=i,s+=i),f+=o._tree.mod,l+=u._tree.mod,h+=c._tree.mod,s+=a._tree.mod;o&&!Mi(a)&&(a._tree.thread=o,a._tree.mod+=f-s),u&&!yi(c)&&(c._tree.thread=u,c._tree.mod+=l-h,r=n)}return r}var l=t.call(this,n,u),s=l[0];Si(s,function(n,t){n._tree={ancestor:n,prelim:0,mod:0,change:0,shift:0,number:t?t._tree.number+1:0}}),a(s),o(s,-s._tree.prelim);var f=xi(s,_i),h=xi(s,bi),g=xi(s,wi),p=f.x-e(f,h)/2,d=h.x+e(h,f)/2,m=g.depth||1;return Si(s,i?function(n){n.x*=r[0],n.y=n.depth*r[1],delete n._tree}:function(n){n.x=(n.x-p)/(d-p)*r[0],n.y=n.depth/m*r[1],delete n._tree}),l}var t=da.layout.hierarchy().sort(null).value(null),e=vi,r=[1,1],i=!1;return n.separation=function(t){return arguments.length?(e=t,n):e},n.size=function(t){return arguments.length?(i=null==(r=t),n):i?null:r},n.nodeSize=function(t){return arguments.length?(i=null!=(r=t),n):i?r:null},ti(n,t)},da.layout.pack=function(){function n(n,u){var a=e.call(this,n,u),o=a[0],c=i[0],l=i[1],s=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(o.x=o.y=0,Si(o,function(n){n.r=+s(n.value)}),Si(o,zi),r){var f=r*(t?1:Math.max(2*o.r/c,2*o.r/l))/2;Si(o,function(n){n.r+=f}),Si(o,zi),Si(o,function(n){n.r-=f})}return Li(o,c/2,l/2,t?1:1/Math.max(2*o.r/c,2*o.r/l)),a}var t,e=da.layout.hierarchy().sort(Ni),r=0,i=[1,1];return n.size=function(t){return arguments.length?(i=t,n):i},n.radius=function(e){return arguments.length?(t=null==e||"function"==typeof e?e:+e,n):t},n.padding=function(t){return arguments.length?(r=+t,n):r},ti(n,e)},da.layout.cluster=function(){function n(n,u){var a,o=t.call(this,n,u),c=o[0],l=0;Si(c,function(n){var t=n.children;t&&t.length?(n.x=Pi(t),n.y=Fi(t)):(n.x=a?l+=e(n,a):0,n.y=0,a=n)});var s=Oi(c),f=Yi(c),h=s.x-e(s,f)/2,g=f.x+e(f,s)/2;return Si(c,i?function(n){n.x=(n.x-c.x)*r[0],n.y=(c.y-n.y)*r[1]}:function(n){n.x=(n.x-h)/(g-h)*r[0],n.y=(1-(c.y?n.y/c.y:1))*r[1]}),o}var t=da.layout.hierarchy().sort(null).value(null),e=vi,r=[1,1],i=!1;return n.separation=function(t){return arguments.length?(e=t,n):e},n.size=function(t){return arguments.length?(i=null==(r=t),n):i?null:r},n.nodeSize=function(t){return arguments.length?(i=null!=(r=t),n):i?r:null},ti(n,t)},da.layout.treemap=function(){function n(n,t){for(var e,r,i=-1,u=n.length;++i<u;)r=(e=n[i]).value*(0>t?0:t),e.area=isNaN(r)||0>=r?0:r}function t(e){var u=e.children;if(u&&u.length){var a,o,c,l=f(e),s=[],h=u.slice(),p=1/0,d="slice"===g?l.dx:"dice"===g?l.dy:"slice-dice"===g?1&e.depth?l.dy:l.dx:Math.min(l.dx,l.dy);for(n(h,l.dx*l.dy/e.value),s.area=0;(c=h.length)>0;)s.push(a=h[c-1]),s.area+=a.area,"squarify"!==g||(o=r(s,d))<=p?(h.pop(),p=o):(s.area-=s.pop().area,i(s,d,l,!1),d=Math.min(l.dx,l.dy),s.length=s.area=0,p=1/0);s.length&&(i(s,d,l,!0),s.length=s.area=0),u.forEach(t)}}function e(t){var r=t.children;if(r&&r.length){var u,a=f(t),o=r.slice(),c=[];for(n(o,a.dx*a.dy/t.value),c.area=0;u=o.pop();)c.push(u),c.area+=u.area,null!=u.z&&(i(c,u.z?a.dx:a.dy,a,!o.length),c.length=c.area=0);r.forEach(e)}}function r(n,t){for(var e,r=n.area,i=0,u=1/0,a=-1,o=n.length;++a<o;)(e=n[a].area)&&(u>e&&(u=e),e>i&&(i=e));return r*=r,t*=t,r?Math.max(t*i*p/r,r/(t*u*p)):1/0}function i(n,t,e,r){var i,u=-1,a=n.length,o=e.x,l=e.y,s=t?c(n.area/t):0;if(t==e.dx){for((r||s>e.dy)&&(s=e.dy);++u<a;)i=n[u],i.x=o,i.y=l,i.dy=s,o+=i.dx=Math.min(e.x+e.dx-o,s?c(i.area/s):0);i.z=!0,i.dx+=e.x+e.dx-o,e.y+=s,e.dy-=s}else{for((r||s>e.dx)&&(s=e.dx);++u<a;)i=n[u],i.x=o,i.y=l,i.dx=s,l+=i.dy=Math.min(e.y+e.dy-l,s?c(i.area/s):0);i.z=!1,i.dy+=e.y+e.dy-l,e.x+=s,e.dx-=s}}function u(r){var i=a||o(r),u=i[0];return u.x=0,u.y=0,u.dx=l[0],u.dy=l[1],a&&o.revalue(u),n([u],u.dx*u.dy/u.value),(a?e:t)(u),h&&(a=i),i}var a,o=da.layout.hierarchy(),c=Math.round,l=[1,1],s=null,f=Ri,h=!1,g="squarify",p=.5*(1+Math.sqrt(5));return u.size=function(n){return arguments.length?(l=n,u):l},u.padding=function(n){function t(t){var e=n.call(u,t,t.depth);return null==e?Ri(t):Ui(t,"number"==typeof e?[e,e,e,e]:e)}function e(t){return Ui(t,n)}if(!arguments.length)return s;var r;return f=null==(s=n)?Ri:"function"==(r=typeof n)?t:"number"===r?(n=[n,n,n,n],e):e,u},u.round=function(n){return arguments.length?(c=n?Math.round:Number,u):c!=Number},u.sticky=function(n){return arguments.length?(h=n,a=null,u):h},u.ratio=function(n){return arguments.length?(p=n,u):p},u.mode=function(n){return arguments.length?(g=n+"",u):g},ti(u,o)},da.random={normal:function(n,t){var e=arguments.length;return 2>e&&(t=1),1>e&&(n=0),function(){var e,r,i;do e=2*Math.random()-1,r=2*Math.random()-1,i=e*e+r*r;while(!i||i>1);return n+t*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var n=da.random.normal.apply(da,arguments);return function(){return Math.exp(n())}},irwinHall:function(n){return function(){for(var t=0,e=0;n>e;e++)t+=Math.random();return t/n}}},da.scale={};var _c={floor:gt,ceil:gt};da.scale.linear=function(){return Wi([0,1],[0,1],br,!1)},da.scale.log=function(){return eu(da.scale.linear().domain([0,1]),10,!0,[1,10])};var wc=da.format(".0e"),Sc={floor:function(n){return-Math.ceil(-n)},ceil:function(n){return-Math.floor(-n)}};da.scale.pow=function(){return ru(da.scale.linear(),1,[0,1])},da.scale.sqrt=function(){return da.scale.pow().exponent(.5)},da.scale.ordinal=function(){return uu([],{t:"range",a:[[]]})},da.scale.category10=function(){return da.scale.ordinal().range(Ec)},da.scale.category20=function(){return da.scale.ordinal().range(kc)},da.scale.category20b=function(){return da.scale.ordinal().range(Ac)},da.scale.category20c=function(){return da.scale.ordinal().range(Nc)};var Ec=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],kc=["#1f77b4","#aec7e8","#ff7f0e","#ffbb78","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5","#8c564b","#c49c94","#e377c2","#f7b6d2","#7f7f7f","#c7c7c7","#bcbd22","#dbdb8d","#17becf","#9edae5"],Ac=["#393b79","#5254a3","#6b6ecf","#9c9ede","#637939","#8ca252","#b5cf6b","#cedb9c","#8c6d31","#bd9e39","#e7ba52","#e7cb94","#843c39","#ad494a","#d6616b","#e7969c","#7b4173","#a55194","#ce6dbd","#de9ed6"],Nc=["#3182bd","#6baed6","#9ecae1","#c6dbef","#e6550d","#fd8d3c","#fdae6b","#fdd0a2","#31a354","#74c476","#a1d99b","#c7e9c0","#756bb1","#9e9ac8","#bcbddc","#dadaeb","#636363","#969696","#bdbdbd","#d9d9d9"];da.scale.quantile=function(){return au([],[])},da.scale.quantize=function(){return ou(0,1,[0,1])},da.scale.threshold=function(){return cu([.5],[0,1])},da.scale.identity=function(){return lu([0,1])},da.svg.arc=function(){function n(){var n=t.apply(this,arguments),u=e.apply(this,arguments),a=r.apply(this,arguments)+qc,o=i.apply(this,arguments)+qc,c=(a>o&&(c=a,a=o,o=c),o-a),l=Wa>c?"0":"1",s=Math.cos(a),f=Math.sin(a),h=Math.cos(o),g=Math.sin(o);return c>=Tc?n?"M0,"+u+"A"+u+","+u+" 0 1,1 0,"+-u+"A"+u+","+u+" 0 1,1 0,"+u+"M0,"+n+"A"+n+","+n+" 0 1,0 0,"+-n+"A"+n+","+n+" 0 1,0 0,"+n+"Z":"M0,"+u+"A"+u+","+u+" 0 1,1 0,"+-u+"A"+u+","+u+" 0 1,1 0,"+u+"Z":n?"M"+u*s+","+u*f+"A"+u+","+u+" 0 "+l+",1 "+u*h+","+u*g+"L"+n*h+","+n*g+"A"+n+","+n+" 0 "+l+",0 "+n*s+","+n*f+"Z":"M"+u*s+","+u*f+"A"+u+","+u+" 0 "+l+",1 "+u*h+","+u*g+"L0,0"+"Z"}var t=su,e=fu,r=hu,i=gu;return n.innerRadius=function(e){return arguments.length?(t=ht(e),n):t},n.outerRadius=function(t){return arguments.length?(e=ht(t),n):e},n.startAngle=function(t){return arguments.length?(r=ht(t),n):r},n.endAngle=function(t){return arguments.length?(i=ht(t),n):i},n.centroid=function(){var n=(t.apply(this,arguments)+e.apply(this,arguments))/2,u=(r.apply(this,arguments)+i.apply(this,arguments))/2+qc;return[Math.cos(u)*n,Math.sin(u)*n]},n};var qc=-Wa/2,Tc=2*Wa-1e-6;da.svg.line.radial=function(){var n=Oe(pu);return n.radius=n.x,delete n.x,n.angle=n.y,delete n.y,n},Xe.reverse=Ze,Ze.reverse=Xe,da.svg.area=function(){return du(gt)},da.svg.area.radial=function(){var n=du(pu);return n.radius=n.x,delete n.x,n.innerRadius=n.x0,delete n.x0,n.outerRadius=n.x1,delete n.x1,n.angle=n.y,delete n.y,n.startAngle=n.y0,delete n.y0,n.endAngle=n.y1,delete n.y1,n},da.svg.chord=function(){function n(n,o){var c=t(this,u,n,o),l=t(this,a,n,o);return"M"+c.p0+r(c.r,c.p1,c.a1-c.a0)+(e(c,l)?i(c.r,c.p1,c.r,c.p0):i(c.r,c.p1,l.r,l.p0)+r(l.r,l.p1,l.a1-l.a0)+i(l.r,l.p1,c.r,c.p0))+"Z"}function t(n,t,e,r){var i=t.call(n,e,r),u=o.call(n,i,r),a=c.call(n,i,r)+qc,s=l.call(n,i,r)+qc;return{r:u,a0:a,a1:s,p0:[u*Math.cos(a),u*Math.sin(a)],p1:[u*Math.cos(s),u*Math.sin(s)]}}function e(n,t){return n.a0==t.a0&&n.a1==t.a1}function r(n,t,e){return"A"+n+","+n+" 0 "+ +(e>Wa)+",1 "+t}function i(n,t,e,r){return"Q 0,0 "+r}var u=qe,a=Te,o=mu,c=hu,l=gu;return n.radius=function(t){return arguments.length?(o=ht(t),n):o},n.source=function(t){return arguments.length?(u=ht(t),n):u},n.target=function(t){return arguments.length?(a=ht(t),n):a},n.startAngle=function(t){return arguments.length?(c=ht(t),n):c},n.endAngle=function(t){return arguments.length?(l=ht(t),n):l},n},da.svg.diagonal=function(){function n(n,i){var u=t.call(this,n,i),a=e.call(this,n,i),o=(u.y+a.y)/2,c=[u,{x:u.x,y:o},{x:a.x,y:o},a];return c=c.map(r),"M"+c[0]+"C"+c[1]+" "+c[2]+" "+c[3]}var t=qe,e=Te,r=vu;return n.source=function(e){return arguments.length?(t=ht(e),n):t},n.target=function(t){return arguments.length?(e=ht(t),n):e},n.projection=function(t){return arguments.length?(r=t,n):r},n},da.svg.diagonal.radial=function(){var n=da.svg.diagonal(),t=vu,e=n.projection;return n.projection=function(n){return arguments.length?e(yu(t=n)):t},n},da.svg.symbol=function(){function n(n,r){return(Cc.get(t.call(this,n,r))||bu)(e.call(this,n,r))}var t=xu,e=Mu;return n.type=function(e){return arguments.length?(t=ht(e),n):t},n.size=function(t){return arguments.length?(e=ht(t),n):e},n};var Cc=da.map({circle:bu,cross:function(n){var t=Math.sqrt(n/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(n){var t=Math.sqrt(n/(2*Lc)),e=t*Lc;return"M0,"+-t+"L"+e+",0"+" 0,"+t+" "+-e+",0"+"Z"},square:function(n){var t=Math.sqrt(n)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(n){var t=Math.sqrt(n/jc),e=t*jc/2;return"M0,"+e+"L"+t+","+-e+" "+-t+","+-e+"Z"},"triangle-up":function(n){var t=Math.sqrt(n/jc),e=t*jc/2;return"M0,"+-e+"L"+t+","+e+" "+-t+","+e+"Z"}});da.svg.symbolTypes=Cc.keys();var zc,Dc,jc=Math.sqrt(3),Lc=Math.tan(30*Ka),Hc=[],Fc=0;Hc.call=Fa.call,Hc.empty=Fa.empty,Hc.node=Fa.node,Hc.size=Fa.size,da.transition=function(n){return arguments.length?zc?n.transition():n:Ya.transition()},da.transition.prototype=Hc,Hc.select=function(n){var t,e,r,i=this.id,u=[];n=v(n);for(var a=-1,o=this.length;++a<o;){u.push(t=[]);for(var c=this[a],l=-1,s=c.length;++l<s;)(r=c[l])&&(e=n.call(r,r.__data__,l,a))?("__data__"in r&&(e.__data__=r.__data__),Eu(e,l,i,r.__transition__[i]),t.push(e)):t.push(null)}return _u(u,i)},Hc.selectAll=function(n){var t,e,r,i,u,a=this.id,o=[];n=y(n);for(var c=-1,l=this.length;++c<l;)for(var s=this[c],f=-1,h=s.length;++f<h;)if(r=s[f]){u=r.__transition__[a],e=n.call(r,r.__data__,f,c),o.push(t=[]);for(var g=-1,p=e.length;++g<p;)(i=e[g])&&Eu(i,g,a,u),t.push(i)}return _u(o,a)},Hc.filter=function(n){var t,e,r,i=[];"function"!=typeof n&&(n=N(n));for(var u=0,a=this.length;a>u;u++){i.push(t=[]);for(var e=this[u],o=0,c=e.length;c>o;o++)(r=e[o])&&n.call(r,r.__data__,o)&&t.push(r)}return _u(i,this.id,this.time).ease(this.ease())},Hc.tween=function(n,t){var e=this.id;return arguments.length<2?this.node().__transition__[e].tween.get(n):T(this,null==t?function(t){t.__transition__[e].tween.remove(n)}:function(r){r.__transition__[e].tween.set(n,t)})},Hc.attr=function(n,t){function e(){this.removeAttribute(o)}function r(){this.removeAttributeNS(o.space,o.local)}function i(n){return null==n?e:(n+="",function(){var t,e=this.getAttribute(o);return e!==n&&(t=a(e,n),function(n){this.setAttribute(o,t(n))})})}function u(n){return null==n?r:(n+="",function(){var t,e=this.getAttributeNS(o.space,o.local);return e!==n&&(t=a(e,n),function(n){this.setAttributeNS(o.space,o.local,t(n))})})}if(arguments.length<2){for(t in n)this.attr(t,n[t]);return this}var a="transform"==n?Vr:br,o=da.ns.qualify(n);return wu(this,"attr."+n,t,o.local?u:i)},Hc.attrTween=function(n,t){function e(n,e){var r=t.call(this,n,e,this.getAttribute(i));return r&&function(n){this.setAttribute(i,r(n))}}function r(n,e){var r=t.call(this,n,e,this.getAttributeNS(i.space,i.local));return r&&function(n){this.setAttributeNS(i.space,i.local,r(n))}}var i=da.ns.qualify(n);return this.tween("attr."+n,i.local?r:e)},Hc.style=function(n,t,e){function r(){this.style.removeProperty(n)}function i(t){return null==t?r:(t+="",function(){var r,i=ya.getComputedStyle(this,null).getPropertyValue(n);return i!==t&&(r=br(i,t),function(t){this.style.setProperty(n,r(t),e)})})}var u=arguments.length;if(3>u){if("string"!=typeof n){2>u&&(t="");for(e in n)this.style(e,n[e],t);return this}e=""}return wu(this,"style."+n,t,i)},Hc.styleTween=function(n,t,e){function r(r,i){var u=t.call(this,r,i,ya.getComputedStyle(this,null).getPropertyValue(n));return u&&function(t){this.style.setProperty(n,u(t),e)}}return arguments.length<3&&(e=""),this.tween("style."+n,r)},Hc.text=function(n){return wu(this,"text",n,Su)},Hc.remove=function(){return this.each("end.transition",function(){var n;!this.__transition__&&(n=this.parentNode)&&n.removeChild(this)})},Hc.ease=function(n){var t=this.id;return arguments.length<1?this.node().__transition__[t].ease:("function"!=typeof n&&(n=da.ease.apply(da,arguments)),T(this,function(e){e.__transition__[t].ease=n}))},Hc.delay=function(n){var t=this.id;return T(this,"function"==typeof n?function(e,r,i){e.__transition__[t].delay=0|n.call(e,e.__data__,r,i)}:(n|=0,function(e){e.__transition__[t].delay=n}))},Hc.duration=function(n){var t=this.id;return T(this,"function"==typeof n?function(e,r,i){e.__transition__[t].duration=Math.max(1,0|n.call(e,e.__data__,r,i))}:(n=Math.max(1,0|n),function(e){e.__transition__[t].duration=n}))},Hc.each=function(n,t){var e=this.id;if(arguments.length<2){var r=Dc,i=zc;zc=e,T(this,function(t,r,i){Dc=t.__transition__[e],n.call(t,t.__data__,r,i)}),Dc=r,zc=i}else T(this,function(r){var i=r.__transition__[e];(i.event||(i.event=da.dispatch("start","end"))).on(n,t)});return this},Hc.transition=function(){for(var n,t,e,r,i=this.id,u=++Fc,a=[],o=0,c=this.length;c>o;o++){a.push(n=[]);for(var t=this[o],l=0,s=t.length;s>l;l++)(e=t[l])&&(r=Object.create(e.__transition__[i]),r.delay+=r.duration,Eu(e,l,u,r)),n.push(e)}return _u(a,u)},da.svg.axis=function(){function n(n){n.each(function(){var n,f=da.select(this),h=null==l?e.ticks?e.ticks.apply(e,c):e.domain():l,g=null==t?e.tickFormat?e.tickFormat.apply(e,c):String:t,p=Nu(e,h,s),d=f.selectAll(".tick.minor").data(p,String),m=d.enter().insert("line",".tick").attr("class","tick minor").style("opacity",1e-6),v=da.transition(d.exit()).style("opacity",1e-6).remove(),y=da.transition(d).style("opacity",1),M=f.selectAll(".tick.major").data(h,String),x=M.enter().insert("g",".domain").attr("class","tick major").style("opacity",1e-6),b=da.transition(M.exit()).style("opacity",1e-6).remove(),_=da.transition(M).style("opacity",1),w=Vi(e),S=f.selectAll(".domain").data([0]),E=(S.enter().append("path").attr("class","domain"),da.transition(S)),k=e.copy(),A=this.__chart__||k;
5
- this.__chart__=k,x.append("line"),x.append("text");var N=x.select("line"),q=_.select("line"),T=M.select("text").text(g),C=x.select("text"),z=_.select("text");switch(r){case"bottom":n=ku,m.attr("y2",u),y.attr("x2",0).attr("y2",u),N.attr("y2",i),C.attr("y",Math.max(i,0)+o),q.attr("x2",0).attr("y2",i),z.attr("x",0).attr("y",Math.max(i,0)+o),T.attr("dy",".71em").style("text-anchor","middle"),E.attr("d","M"+w[0]+","+a+"V0H"+w[1]+"V"+a);break;case"top":n=ku,m.attr("y2",-u),y.attr("x2",0).attr("y2",-u),N.attr("y2",-i),C.attr("y",-(Math.max(i,0)+o)),q.attr("x2",0).attr("y2",-i),z.attr("x",0).attr("y",-(Math.max(i,0)+o)),T.attr("dy","0em").style("text-anchor","middle"),E.attr("d","M"+w[0]+","+-a+"V0H"+w[1]+"V"+-a);break;case"left":n=Au,m.attr("x2",-u),y.attr("x2",-u).attr("y2",0),N.attr("x2",-i),C.attr("x",-(Math.max(i,0)+o)),q.attr("x2",-i).attr("y2",0),z.attr("x",-(Math.max(i,0)+o)).attr("y",0),T.attr("dy",".32em").style("text-anchor","end"),E.attr("d","M"+-a+","+w[0]+"H0V"+w[1]+"H"+-a);break;case"right":n=Au,m.attr("x2",u),y.attr("x2",u).attr("y2",0),N.attr("x2",i),C.attr("x",Math.max(i,0)+o),q.attr("x2",i).attr("y2",0),z.attr("x",Math.max(i,0)+o).attr("y",0),T.attr("dy",".32em").style("text-anchor","start"),E.attr("d","M"+a+","+w[0]+"H0V"+w[1]+"H"+a)}if(e.rangeBand){var D=k.rangeBand()/2,j=function(n){return k(n)+D};x.call(n,j),_.call(n,j)}else x.call(n,A),_.call(n,k),b.call(n,k),m.call(n,A),y.call(n,k),v.call(n,k)})}var t,e=da.scale.linear(),r=Pc,i=6,u=6,a=6,o=3,c=[10],l=null,s=0;return n.scale=function(t){return arguments.length?(e=t,n):e},n.orient=function(t){return arguments.length?(r=t in Oc?t+"":Pc,n):r},n.ticks=function(){return arguments.length?(c=arguments,n):c},n.tickValues=function(t){return arguments.length?(l=t,n):l},n.tickFormat=function(e){return arguments.length?(t=e,n):t},n.tickSize=function(t,e){if(!arguments.length)return i;var r=arguments.length-1;return i=+t,u=r>1?+e:i,a=r>0?+arguments[r]:i,n},n.tickPadding=function(t){return arguments.length?(o=+t,n):o},n.tickSubdivide=function(t){return arguments.length?(s=+t,n):s},n};var Pc="bottom",Oc={top:1,right:1,bottom:1,left:1};da.svg.brush=function(){function n(u){u.each(function(){var u,a=da.select(this),s=a.selectAll(".background").data([0]),f=a.selectAll(".extent").data([0]),h=a.selectAll(".resize").data(l,String);a.style("pointer-events","all").on("mousedown.brush",i).on("touchstart.brush",i),s.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),f.enter().append("rect").attr("class","extent").style("cursor","move"),h.enter().append("g").attr("class",function(n){return"resize "+n}).style("cursor",function(n){return Yc[n]}).append("rect").attr("x",function(n){return/[ew]$/.test(n)?-3:null}).attr("y",function(n){return/^[ns]/.test(n)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),h.style("display",n.empty()?"none":null),h.exit().remove(),o&&(u=Vi(o),s.attr("x",u[0]).attr("width",u[1]-u[0]),e(a)),c&&(u=Vi(c),s.attr("y",u[0]).attr("height",u[1]-u[0]),r(a)),t(a)})}function t(n){n.selectAll(".resize").attr("transform",function(n){return"translate("+s[+/e$/.test(n)][0]+","+s[+/^s/.test(n)][1]+")"})}function e(n){n.select(".extent").attr("x",s[0][0]),n.selectAll(".extent,.n>rect,.s>rect").attr("width",s[1][0]-s[0][0])}function r(n){n.select(".extent").attr("y",s[0][1]),n.selectAll(".extent,.e>rect,.w>rect").attr("height",s[1][1]-s[0][1])}function i(){function i(){var n=da.event.changedTouches;return n?da.touches(M,n)[0]:da.mouse(M)}function l(){32==da.event.keyCode&&(k||(v=null,N[0]-=s[1][0],N[1]-=s[1][1],k=2),g())}function h(){32==da.event.keyCode&&2==k&&(N[0]+=s[1][0],N[1]+=s[1][1],k=0,g())}function p(){var n=i(),u=!1;y&&(n[0]+=y[0],n[1]+=y[1]),k||(da.event.altKey?(v||(v=[(s[0][0]+s[1][0])/2,(s[0][1]+s[1][1])/2]),N[0]=s[+(n[0]<v[0])][0],N[1]=s[+(n[1]<v[1])][1]):v=null),S&&d(n,o,0)&&(e(_),u=!0),E&&d(n,c,1)&&(r(_),u=!0),u&&(t(_),b({type:"brush",mode:k?"move":"resize"}))}function d(n,t,e){var r,i,a=Vi(t),o=a[0],c=a[1],l=N[e],h=s[1][e]-s[0][e];return k&&(o-=l,c-=h+l),r=f[e]?Math.max(o,Math.min(c,n[e])):n[e],k?i=(r+=l)+h:(v&&(l=Math.max(o,Math.min(c,2*v[e]-r))),r>l?(i=r,r=l):i=l),s[0][e]!==r||s[1][e]!==i?(u=null,s[0][e]=r,s[1][e]=i,!0):void 0}function m(){p(),_.style("pointer-events","all").selectAll(".resize").style("display",n.empty()?"none":null),da.select("body").style("cursor",null),q.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),A(),b({type:"brushend"})}var v,y,M=this,x=da.select(da.event.target),b=a.of(M,arguments),_=da.select(M),w=x.datum(),S=!/^(n|s)$/.test(w)&&o,E=!/^(e|w)$/.test(w)&&c,k=x.classed("extent"),A=H(),N=i(),q=da.select(ya).on("keydown.brush",l).on("keyup.brush",h);if(da.event.changedTouches?q.on("touchmove.brush",p).on("touchend.brush",m):q.on("mousemove.brush",p).on("mouseup.brush",m),k)N[0]=s[0][0]-N[0],N[1]=s[0][1]-N[1];else if(w){var T=+/w$/.test(w),C=+/^n/.test(w);y=[s[1-T][0]-N[0],s[1-C][1]-N[1]],N[0]=s[T][0],N[1]=s[C][1]}else da.event.altKey&&(v=N.slice());_.style("pointer-events","none").selectAll(".resize").style("display",null),da.select("body").style("cursor",x.style("cursor")),b({type:"brushstart"}),p()}var u,a=d(n,"brushstart","brush","brushend"),o=null,c=null,l=Rc[0],s=[[0,0],[0,0]],f=[!0,!0];return n.x=function(t){return arguments.length?(o=t,l=Rc[!o<<1|!c],n):o},n.y=function(t){return arguments.length?(c=t,l=Rc[!o<<1|!c],n):c},n.clamp=function(t){return arguments.length?(o&&c?f=[!!t[0],!!t[1]]:(o||c)&&(f[+!o]=!!t),n):o&&c?f:o||c?f[+!o]:null},n.extent=function(t){var e,r,i,a,l;return arguments.length?(u=[[0,0],[0,0]],o&&(e=t[0],r=t[1],c&&(e=e[0],r=r[0]),u[0][0]=e,u[1][0]=r,o.invert&&(e=o(e),r=o(r)),e>r&&(l=e,e=r,r=l),s[0][0]=0|e,s[1][0]=0|r),c&&(i=t[0],a=t[1],o&&(i=i[1],a=a[1]),u[0][1]=i,u[1][1]=a,c.invert&&(i=c(i),a=c(a)),i>a&&(l=i,i=a,a=l),s[0][1]=0|i,s[1][1]=0|a),n):(t=u||s,o&&(e=t[0][0],r=t[1][0],u||(e=s[0][0],r=s[1][0],o.invert&&(e=o.invert(e),r=o.invert(r)),e>r&&(l=e,e=r,r=l))),c&&(i=t[0][1],a=t[1][1],u||(i=s[0][1],a=s[1][1],c.invert&&(i=c.invert(i),a=c.invert(a)),i>a&&(l=i,i=a,a=l))),o&&c?[[e,i],[r,a]]:o?[e,r]:c&&[i,a])},n.clear=function(){return u=null,s[0][0]=s[0][1]=s[1][0]=s[1][1]=0,n},n.empty=function(){return o&&s[0][0]===s[1][0]||c&&s[0][1]===s[1][1]},da.rebind(n,a,"on")};var Yc={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Rc=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]];da.time={};var Uc=Date,Ic=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];qu.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){Vc.setUTCDate.apply(this._,arguments)},setDay:function(){Vc.setUTCDay.apply(this._,arguments)},setFullYear:function(){Vc.setUTCFullYear.apply(this._,arguments)},setHours:function(){Vc.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){Vc.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){Vc.setUTCMinutes.apply(this._,arguments)},setMonth:function(){Vc.setUTCMonth.apply(this._,arguments)},setSeconds:function(){Vc.setUTCSeconds.apply(this._,arguments)},setTime:function(){Vc.setTime.apply(this._,arguments)}};var Vc=Date.prototype,Xc="%a %b %e %X %Y",Zc="%m/%d/%Y",Bc="%H:%M:%S",$c=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Wc=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Jc=["January","February","March","April","May","June","July","August","September","October","November","December"],Gc=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];da.time.year=Tu(function(n){return n=da.time.day(n),n.setMonth(0,1),n},function(n,t){n.setFullYear(n.getFullYear()+t)},function(n){return n.getFullYear()}),da.time.years=da.time.year.range,da.time.years.utc=da.time.year.utc.range,da.time.day=Tu(function(n){var t=new Uc(2e3,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t},function(n,t){n.setDate(n.getDate()+t)},function(n){return n.getDate()-1}),da.time.days=da.time.day.range,da.time.days.utc=da.time.day.utc.range,da.time.dayOfYear=function(n){var t=da.time.year(n);return Math.floor((n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},Ic.forEach(function(n,t){n=n.toLowerCase(),t=7-t;var e=da.time[n]=Tu(function(n){return(n=da.time.day(n)).setDate(n.getDate()-(n.getDay()+t)%7),n},function(n,t){n.setDate(n.getDate()+7*Math.floor(t))},function(n){var e=da.time.year(n).getDay();return Math.floor((da.time.dayOfYear(n)+(e+t)%7)/7)-(e!==t)});da.time[n+"s"]=e.range,da.time[n+"s"].utc=e.utc.range,da.time[n+"OfYear"]=function(n){var e=da.time.year(n).getDay();return Math.floor((da.time.dayOfYear(n)+(e+t)%7)/7)}}),da.time.week=da.time.sunday,da.time.weeks=da.time.sunday.range,da.time.weeks.utc=da.time.sunday.utc.range,da.time.weekOfYear=da.time.sundayOfYear,da.time.format=function(n){function t(t){for(var r,i,u,a=[],o=-1,c=0;++o<e;)37===n.charCodeAt(o)&&(a.push(n.substring(c,o)),null!=(i=ol[r=n.charAt(++o)])&&(r=n.charAt(++o)),(u=cl[r])&&(r=u(t,null==i?"e"===r?" ":"0":i)),a.push(r),c=o+1);return a.push(n.substring(c,o)),a.join("")}var e=n.length;return t.parse=function(t){var e={y:1900,m:0,d:1,H:0,M:0,S:0,L:0},r=zu(e,n,t,0);if(r!=t.length)return null;"p"in e&&(e.H=e.H%12+12*e.p);var i=new Uc;return"j"in e?i.setFullYear(e.y,0,e.j):"w"in e&&("W"in e||"U"in e)?(i.setFullYear(e.y,0,1),i.setFullYear(e.y,0,"W"in e?(e.w+6)%7+7*e.W-(i.getDay()+5)%7:e.w+7*e.U-(i.getDay()+6)%7)):i.setFullYear(e.y,e.m,e.d),i.setHours(e.H,e.M,e.S,e.L),i},t.toString=function(){return n},t};var Kc=Du($c),Qc=ju($c),nl=Du(Wc),tl=ju(Wc),el=Du(Jc),rl=ju(Jc),il=Du(Gc),ul=ju(Gc),al=/^%/,ol={"-":"",_:" ",0:"0"},cl={a:function(n){return Wc[n.getDay()]},A:function(n){return $c[n.getDay()]},b:function(n){return Gc[n.getMonth()]},B:function(n){return Jc[n.getMonth()]},c:da.time.format(Xc),d:function(n,t){return Lu(n.getDate(),t,2)},e:function(n,t){return Lu(n.getDate(),t,2)},H:function(n,t){return Lu(n.getHours(),t,2)},I:function(n,t){return Lu(n.getHours()%12||12,t,2)},j:function(n,t){return Lu(1+da.time.dayOfYear(n),t,3)},L:function(n,t){return Lu(n.getMilliseconds(),t,3)},m:function(n,t){return Lu(n.getMonth()+1,t,2)},M:function(n,t){return Lu(n.getMinutes(),t,2)},p:function(n){return n.getHours()>=12?"PM":"AM"},S:function(n,t){return Lu(n.getSeconds(),t,2)},U:function(n,t){return Lu(da.time.sundayOfYear(n),t,2)},w:function(n){return n.getDay()},W:function(n,t){return Lu(da.time.mondayOfYear(n),t,2)},x:da.time.format(Zc),X:da.time.format(Bc),y:function(n,t){return Lu(n.getFullYear()%100,t,2)},Y:function(n,t){return Lu(n.getFullYear()%1e4,t,4)},Z:ra,"%":function(){return"%"}},ll={a:Hu,A:Fu,b:Ru,B:Uu,c:Iu,d:Ju,e:Ju,H:Ku,I:Ku,j:Gu,L:ta,m:Wu,M:Qu,p:ea,S:na,U:Ou,w:Pu,W:Yu,x:Vu,X:Xu,y:Bu,Y:Zu,"%":ia},sl=/^\s*\d+/,fl=da.map({am:0,pm:1});da.time.format.utc=function(n){function t(n){try{Uc=qu;var t=new Uc;return t._=n,e(t)}finally{Uc=Date}}var e=da.time.format(n);return t.parse=function(n){try{Uc=qu;var t=e.parse(n);return t&&t._}finally{Uc=Date}},t.toString=e.toString,t};var hl=da.time.format.utc("%Y-%m-%dT%H:%M:%S.%LZ");da.time.format.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?ua:hl,ua.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},ua.toString=hl.toString,da.time.second=Tu(function(n){return new Uc(1e3*Math.floor(n/1e3))},function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))},function(n){return n.getSeconds()}),da.time.seconds=da.time.second.range,da.time.seconds.utc=da.time.second.utc.range,da.time.minute=Tu(function(n){return new Uc(6e4*Math.floor(n/6e4))},function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))},function(n){return n.getMinutes()}),da.time.minutes=da.time.minute.range,da.time.minutes.utc=da.time.minute.utc.range,da.time.hour=Tu(function(n){var t=n.getTimezoneOffset()/60;return new Uc(36e5*(Math.floor(n/36e5-t)+t))},function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))},function(n){return n.getHours()}),da.time.hours=da.time.hour.range,da.time.hours.utc=da.time.hour.utc.range,da.time.month=Tu(function(n){return n=da.time.day(n),n.setDate(1),n},function(n,t){n.setMonth(n.getMonth()+t)},function(n){return n.getMonth()}),da.time.months=da.time.month.range,da.time.months.utc=da.time.month.utc.range;var gl=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],pl=[[da.time.second,1],[da.time.second,5],[da.time.second,15],[da.time.second,30],[da.time.minute,1],[da.time.minute,5],[da.time.minute,15],[da.time.minute,30],[da.time.hour,1],[da.time.hour,3],[da.time.hour,6],[da.time.hour,12],[da.time.day,1],[da.time.day,2],[da.time.week,1],[da.time.month,1],[da.time.month,3],[da.time.year,1]],dl=[[da.time.format("%Y"),Ut],[da.time.format("%B"),function(n){return n.getMonth()}],[da.time.format("%b %d"),function(n){return 1!=n.getDate()}],[da.time.format("%a %d"),function(n){return n.getDay()&&1!=n.getDate()}],[da.time.format("%I %p"),function(n){return n.getHours()}],[da.time.format("%I:%M"),function(n){return n.getMinutes()}],[da.time.format(":%S"),function(n){return n.getSeconds()}],[da.time.format(".%L"),function(n){return n.getMilliseconds()}]],ml=da.scale.linear(),vl=ca(dl);pl.year=function(n,t){return ml.domain(n.map(sa)).ticks(t).map(la)},da.time.scale=function(){return aa(da.scale.linear(),pl,vl)};var yl=pl.map(function(n){return[n[0].utc,n[1]]}),Ml=[[da.time.format.utc("%Y"),Ut],[da.time.format.utc("%B"),function(n){return n.getUTCMonth()}],[da.time.format.utc("%b %d"),function(n){return 1!=n.getUTCDate()}],[da.time.format.utc("%a %d"),function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],[da.time.format.utc("%I %p"),function(n){return n.getUTCHours()}],[da.time.format.utc("%I:%M"),function(n){return n.getUTCMinutes()}],[da.time.format.utc(":%S"),function(n){return n.getUTCSeconds()}],[da.time.format.utc(".%L"),function(n){return n.getUTCMilliseconds()}]],xl=ca(Ml);return yl.year=function(n,t){return ml.domain(n.map(ha)).ticks(t).map(fa)},da.time.scale.utc=function(){return aa(da.scale.linear(),yl,xl)},da.text=pt(function(n){return n.responseText}),da.json=function(n,t){return dt(n,"application/json",ga,t)},da.html=function(n,t){return dt(n,"text/html",pa,t)},da.xml=pt(function(n){return n.responseXML}),da}();
@@ -1,22 +0,0 @@
1
- {
2
- "tiddlers": [
3
- {
4
- "file": "d3.min.js",
5
- "fields": {
6
- "type": "application/javascript",
7
- "title": "$:/plugins/tiddlywiki/d3/d3.js",
8
- "module-type": "library"
9
- },
10
- "prefix": "var d3;if($tw.browser){\n",
11
- "suffix": "}\nexports.d3 = d3;\n"
12
- },
13
- {
14
- "file": "cloud/d3.layout.cloud.js",
15
- "fields": {
16
- "type": "application/javascript",
17
- "title": "$:/plugins/tiddlywiki/d3/d3.layout.cloud.js",
18
- "module-type": "library"
19
- }
20
- }
21
- ]
22
- }
@@ -1,7 +0,0 @@
1
- {
2
- "title": "$:/plugins/tiddlywiki/d3",
3
- "name": "D3",
4
- "description": "D3 data visualisation demo",
5
- "list": "readme",
6
- "stability": "STABILITY_0_DEPRECATED"
7
- }
@@ -1,7 +0,0 @@
1
- title: $:/plugins/tiddlywiki/d3/readme
2
-
3
- The D3 plugin is a proof-of-concept demo of integration with the D3.js data visualisation framework (http://d3js.org).
4
-
5
- It is not currently in a state where it can be used for anything useful.
6
-
7
- [[Source code|https://github.com/TiddlyWiki/TiddlyWiki5/blob/master/plugins/tiddlywiki/d3]]
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (C) 2011-2017 by Jorik Tangelder (Eight Media)
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
@@ -1,6 +0,0 @@
1
- /*! Hammer.JS - v2.0.8 - 2016-04-23
2
- * http://hammerjs.github.io/
3
- *
4
- * Copyright (c) 2016 Jorik Tangelder;
5
- * Licensed under the MIT license */
6
- !function(a,b,c,d){"use strict";function e(a,b,c){return setTimeout(j(a,c),b)}function f(a,b,c){return Array.isArray(a)?(g(a,c[b],c),!0):!1}function g(a,b,c){var e;if(a)if(a.forEach)a.forEach(b,c);else if(a.length!==d)for(e=0;e<a.length;)b.call(c,a[e],e,a),e++;else for(e in a)a.hasOwnProperty(e)&&b.call(c,a[e],e,a)}function h(b,c,d){var e="DEPRECATED METHOD: "+c+"\n"+d+" AT \n";return function(){var c=new Error("get-stack-trace"),d=c&&c.stack?c.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",f=a.console&&(a.console.warn||a.console.log);return f&&f.call(a.console,e,d),b.apply(this,arguments)}}function i(a,b,c){var d,e=b.prototype;d=a.prototype=Object.create(e),d.constructor=a,d._super=e,c&&la(d,c)}function j(a,b){return function(){return a.apply(b,arguments)}}function k(a,b){return typeof a==oa?a.apply(b?b[0]||d:d,b):a}function l(a,b){return a===d?b:a}function m(a,b,c){g(q(b),function(b){a.addEventListener(b,c,!1)})}function n(a,b,c){g(q(b),function(b){a.removeEventListener(b,c,!1)})}function o(a,b){for(;a;){if(a==b)return!0;a=a.parentNode}return!1}function p(a,b){return a.indexOf(b)>-1}function q(a){return a.trim().split(/\s+/g)}function r(a,b,c){if(a.indexOf&&!c)return a.indexOf(b);for(var d=0;d<a.length;){if(c&&a[d][c]==b||!c&&a[d]===b)return d;d++}return-1}function s(a){return Array.prototype.slice.call(a,0)}function t(a,b,c){for(var d=[],e=[],f=0;f<a.length;){var g=b?a[f][b]:a[f];r(e,g)<0&&d.push(a[f]),e[f]=g,f++}return c&&(d=b?d.sort(function(a,c){return a[b]>c[b]}):d.sort()),d}function u(a,b){for(var c,e,f=b[0].toUpperCase()+b.slice(1),g=0;g<ma.length;){if(c=ma[g],e=c?c+f:b,e in a)return e;g++}return d}function v(){return ua++}function w(b){var c=b.ownerDocument||b;return c.defaultView||c.parentWindow||a}function x(a,b){var c=this;this.manager=a,this.callback=b,this.element=a.element,this.target=a.options.inputTarget,this.domHandler=function(b){k(a.options.enable,[a])&&c.handler(b)},this.init()}function y(a){var b,c=a.options.inputClass;return new(b=c?c:xa?M:ya?P:wa?R:L)(a,z)}function z(a,b,c){var d=c.pointers.length,e=c.changedPointers.length,f=b&Ea&&d-e===0,g=b&(Ga|Ha)&&d-e===0;c.isFirst=!!f,c.isFinal=!!g,f&&(a.session={}),c.eventType=b,A(a,c),a.emit("hammer.input",c),a.recognize(c),a.session.prevInput=c}function A(a,b){var c=a.session,d=b.pointers,e=d.length;c.firstInput||(c.firstInput=D(b)),e>1&&!c.firstMultiple?c.firstMultiple=D(b):1===e&&(c.firstMultiple=!1);var f=c.firstInput,g=c.firstMultiple,h=g?g.center:f.center,i=b.center=E(d);b.timeStamp=ra(),b.deltaTime=b.timeStamp-f.timeStamp,b.angle=I(h,i),b.distance=H(h,i),B(c,b),b.offsetDirection=G(b.deltaX,b.deltaY);var j=F(b.deltaTime,b.deltaX,b.deltaY);b.overallVelocityX=j.x,b.overallVelocityY=j.y,b.overallVelocity=qa(j.x)>qa(j.y)?j.x:j.y,b.scale=g?K(g.pointers,d):1,b.rotation=g?J(g.pointers,d):0,b.maxPointers=c.prevInput?b.pointers.length>c.prevInput.maxPointers?b.pointers.length:c.prevInput.maxPointers:b.pointers.length,C(c,b);var k=a.element;o(b.srcEvent.target,k)&&(k=b.srcEvent.target),b.target=k}function B(a,b){var c=b.center,d=a.offsetDelta||{},e=a.prevDelta||{},f=a.prevInput||{};b.eventType!==Ea&&f.eventType!==Ga||(e=a.prevDelta={x:f.deltaX||0,y:f.deltaY||0},d=a.offsetDelta={x:c.x,y:c.y}),b.deltaX=e.x+(c.x-d.x),b.deltaY=e.y+(c.y-d.y)}function C(a,b){var c,e,f,g,h=a.lastInterval||b,i=b.timeStamp-h.timeStamp;if(b.eventType!=Ha&&(i>Da||h.velocity===d)){var j=b.deltaX-h.deltaX,k=b.deltaY-h.deltaY,l=F(i,j,k);e=l.x,f=l.y,c=qa(l.x)>qa(l.y)?l.x:l.y,g=G(j,k),a.lastInterval=b}else c=h.velocity,e=h.velocityX,f=h.velocityY,g=h.direction;b.velocity=c,b.velocityX=e,b.velocityY=f,b.direction=g}function D(a){for(var b=[],c=0;c<a.pointers.length;)b[c]={clientX:pa(a.pointers[c].clientX),clientY:pa(a.pointers[c].clientY)},c++;return{timeStamp:ra(),pointers:b,center:E(b),deltaX:a.deltaX,deltaY:a.deltaY}}function E(a){var b=a.length;if(1===b)return{x:pa(a[0].clientX),y:pa(a[0].clientY)};for(var c=0,d=0,e=0;b>e;)c+=a[e].clientX,d+=a[e].clientY,e++;return{x:pa(c/b),y:pa(d/b)}}function F(a,b,c){return{x:b/a||0,y:c/a||0}}function G(a,b){return a===b?Ia:qa(a)>=qa(b)?0>a?Ja:Ka:0>b?La:Ma}function H(a,b,c){c||(c=Qa);var d=b[c[0]]-a[c[0]],e=b[c[1]]-a[c[1]];return Math.sqrt(d*d+e*e)}function I(a,b,c){c||(c=Qa);var d=b[c[0]]-a[c[0]],e=b[c[1]]-a[c[1]];return 180*Math.atan2(e,d)/Math.PI}function J(a,b){return I(b[1],b[0],Ra)+I(a[1],a[0],Ra)}function K(a,b){return H(b[0],b[1],Ra)/H(a[0],a[1],Ra)}function L(){this.evEl=Ta,this.evWin=Ua,this.pressed=!1,x.apply(this,arguments)}function M(){this.evEl=Xa,this.evWin=Ya,x.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function N(){this.evTarget=$a,this.evWin=_a,this.started=!1,x.apply(this,arguments)}function O(a,b){var c=s(a.touches),d=s(a.changedTouches);return b&(Ga|Ha)&&(c=t(c.concat(d),"identifier",!0)),[c,d]}function P(){this.evTarget=bb,this.targetIds={},x.apply(this,arguments)}function Q(a,b){var c=s(a.touches),d=this.targetIds;if(b&(Ea|Fa)&&1===c.length)return d[c[0].identifier]=!0,[c,c];var e,f,g=s(a.changedTouches),h=[],i=this.target;if(f=c.filter(function(a){return o(a.target,i)}),b===Ea)for(e=0;e<f.length;)d[f[e].identifier]=!0,e++;for(e=0;e<g.length;)d[g[e].identifier]&&h.push(g[e]),b&(Ga|Ha)&&delete d[g[e].identifier],e++;return h.length?[t(f.concat(h),"identifier",!0),h]:void 0}function R(){x.apply(this,arguments);var a=j(this.handler,this);this.touch=new P(this.manager,a),this.mouse=new L(this.manager,a),this.primaryTouch=null,this.lastTouches=[]}function S(a,b){a&Ea?(this.primaryTouch=b.changedPointers[0].identifier,T.call(this,b)):a&(Ga|Ha)&&T.call(this,b)}function T(a){var b=a.changedPointers[0];if(b.identifier===this.primaryTouch){var c={x:b.clientX,y:b.clientY};this.lastTouches.push(c);var d=this.lastTouches,e=function(){var a=d.indexOf(c);a>-1&&d.splice(a,1)};setTimeout(e,cb)}}function U(a){for(var b=a.srcEvent.clientX,c=a.srcEvent.clientY,d=0;d<this.lastTouches.length;d++){var e=this.lastTouches[d],f=Math.abs(b-e.x),g=Math.abs(c-e.y);if(db>=f&&db>=g)return!0}return!1}function V(a,b){this.manager=a,this.set(b)}function W(a){if(p(a,jb))return jb;var b=p(a,kb),c=p(a,lb);return b&&c?jb:b||c?b?kb:lb:p(a,ib)?ib:hb}function X(){if(!fb)return!1;var b={},c=a.CSS&&a.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(d){b[d]=c?a.CSS.supports("touch-action",d):!0}),b}function Y(a){this.options=la({},this.defaults,a||{}),this.id=v(),this.manager=null,this.options.enable=l(this.options.enable,!0),this.state=nb,this.simultaneous={},this.requireFail=[]}function Z(a){return a&sb?"cancel":a&qb?"end":a&pb?"move":a&ob?"start":""}function $(a){return a==Ma?"down":a==La?"up":a==Ja?"left":a==Ka?"right":""}function _(a,b){var c=b.manager;return c?c.get(a):a}function aa(){Y.apply(this,arguments)}function ba(){aa.apply(this,arguments),this.pX=null,this.pY=null}function ca(){aa.apply(this,arguments)}function da(){Y.apply(this,arguments),this._timer=null,this._input=null}function ea(){aa.apply(this,arguments)}function fa(){aa.apply(this,arguments)}function ga(){Y.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function ha(a,b){return b=b||{},b.recognizers=l(b.recognizers,ha.defaults.preset),new ia(a,b)}function ia(a,b){this.options=la({},ha.defaults,b||{}),this.options.inputTarget=this.options.inputTarget||a,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=a,this.input=y(this),this.touchAction=new V(this,this.options.touchAction),ja(this,!0),g(this.options.recognizers,function(a){var b=this.add(new a[0](a[1]));a[2]&&b.recognizeWith(a[2]),a[3]&&b.requireFailure(a[3])},this)}function ja(a,b){var c=a.element;if(c.style){var d;g(a.options.cssProps,function(e,f){d=u(c.style,f),b?(a.oldCssProps[d]=c.style[d],c.style[d]=e):c.style[d]=a.oldCssProps[d]||""}),b||(a.oldCssProps={})}}function ka(a,c){var d=b.createEvent("Event");d.initEvent(a,!0,!0),d.gesture=c,c.target.dispatchEvent(d)}var la,ma=["","webkit","Moz","MS","ms","o"],na=b.createElement("div"),oa="function",pa=Math.round,qa=Math.abs,ra=Date.now;la="function"!=typeof Object.assign?function(a){if(a===d||null===a)throw new TypeError("Cannot convert undefined or null to object");for(var b=Object(a),c=1;c<arguments.length;c++){var e=arguments[c];if(e!==d&&null!==e)for(var f in e)e.hasOwnProperty(f)&&(b[f]=e[f])}return b}:Object.assign;var sa=h(function(a,b,c){for(var e=Object.keys(b),f=0;f<e.length;)(!c||c&&a[e[f]]===d)&&(a[e[f]]=b[e[f]]),f++;return a},"extend","Use `assign`."),ta=h(function(a,b){return sa(a,b,!0)},"merge","Use `assign`."),ua=1,va=/mobile|tablet|ip(ad|hone|od)|android/i,wa="ontouchstart"in a,xa=u(a,"PointerEvent")!==d,ya=wa&&va.test(navigator.userAgent),za="touch",Aa="pen",Ba="mouse",Ca="kinect",Da=25,Ea=1,Fa=2,Ga=4,Ha=8,Ia=1,Ja=2,Ka=4,La=8,Ma=16,Na=Ja|Ka,Oa=La|Ma,Pa=Na|Oa,Qa=["x","y"],Ra=["clientX","clientY"];x.prototype={handler:function(){},init:function(){this.evEl&&m(this.element,this.evEl,this.domHandler),this.evTarget&&m(this.target,this.evTarget,this.domHandler),this.evWin&&m(w(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&n(this.element,this.evEl,this.domHandler),this.evTarget&&n(this.target,this.evTarget,this.domHandler),this.evWin&&n(w(this.element),this.evWin,this.domHandler)}};var Sa={mousedown:Ea,mousemove:Fa,mouseup:Ga},Ta="mousedown",Ua="mousemove mouseup";i(L,x,{handler:function(a){var b=Sa[a.type];b&Ea&&0===a.button&&(this.pressed=!0),b&Fa&&1!==a.which&&(b=Ga),this.pressed&&(b&Ga&&(this.pressed=!1),this.callback(this.manager,b,{pointers:[a],changedPointers:[a],pointerType:Ba,srcEvent:a}))}});var Va={pointerdown:Ea,pointermove:Fa,pointerup:Ga,pointercancel:Ha,pointerout:Ha},Wa={2:za,3:Aa,4:Ba,5:Ca},Xa="pointerdown",Ya="pointermove pointerup pointercancel";a.MSPointerEvent&&!a.PointerEvent&&(Xa="MSPointerDown",Ya="MSPointerMove MSPointerUp MSPointerCancel"),i(M,x,{handler:function(a){var b=this.store,c=!1,d=a.type.toLowerCase().replace("ms",""),e=Va[d],f=Wa[a.pointerType]||a.pointerType,g=f==za,h=r(b,a.pointerId,"pointerId");e&Ea&&(0===a.button||g)?0>h&&(b.push(a),h=b.length-1):e&(Ga|Ha)&&(c=!0),0>h||(b[h]=a,this.callback(this.manager,e,{pointers:b,changedPointers:[a],pointerType:f,srcEvent:a}),c&&b.splice(h,1))}});var Za={touchstart:Ea,touchmove:Fa,touchend:Ga,touchcancel:Ha},$a="touchstart",_a="touchstart touchmove touchend touchcancel";i(N,x,{handler:function(a){var b=Za[a.type];if(b===Ea&&(this.started=!0),this.started){var c=O.call(this,a,b);b&(Ga|Ha)&&c[0].length-c[1].length===0&&(this.started=!1),this.callback(this.manager,b,{pointers:c[0],changedPointers:c[1],pointerType:za,srcEvent:a})}}});var ab={touchstart:Ea,touchmove:Fa,touchend:Ga,touchcancel:Ha},bb="touchstart touchmove touchend touchcancel";i(P,x,{handler:function(a){var b=ab[a.type],c=Q.call(this,a,b);c&&this.callback(this.manager,b,{pointers:c[0],changedPointers:c[1],pointerType:za,srcEvent:a})}});var cb=2500,db=25;i(R,x,{handler:function(a,b,c){var d=c.pointerType==za,e=c.pointerType==Ba;if(!(e&&c.sourceCapabilities&&c.sourceCapabilities.firesTouchEvents)){if(d)S.call(this,b,c);else if(e&&U.call(this,c))return;this.callback(a,b,c)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var eb=u(na.style,"touchAction"),fb=eb!==d,gb="compute",hb="auto",ib="manipulation",jb="none",kb="pan-x",lb="pan-y",mb=X();V.prototype={set:function(a){a==gb&&(a=this.compute()),fb&&this.manager.element.style&&mb[a]&&(this.manager.element.style[eb]=a),this.actions=a.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var a=[];return g(this.manager.recognizers,function(b){k(b.options.enable,[b])&&(a=a.concat(b.getTouchAction()))}),W(a.join(" "))},preventDefaults:function(a){var b=a.srcEvent,c=a.offsetDirection;if(this.manager.session.prevented)return void b.preventDefault();var d=this.actions,e=p(d,jb)&&!mb[jb],f=p(d,lb)&&!mb[lb],g=p(d,kb)&&!mb[kb];if(e){var h=1===a.pointers.length,i=a.distance<2,j=a.deltaTime<250;if(h&&i&&j)return}return g&&f?void 0:e||f&&c&Na||g&&c&Oa?this.preventSrc(b):void 0},preventSrc:function(a){this.manager.session.prevented=!0,a.preventDefault()}};var nb=1,ob=2,pb=4,qb=8,rb=qb,sb=16,tb=32;Y.prototype={defaults:{},set:function(a){return la(this.options,a),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(a){if(f(a,"recognizeWith",this))return this;var b=this.simultaneous;return a=_(a,this),b[a.id]||(b[a.id]=a,a.recognizeWith(this)),this},dropRecognizeWith:function(a){return f(a,"dropRecognizeWith",this)?this:(a=_(a,this),delete this.simultaneous[a.id],this)},requireFailure:function(a){if(f(a,"requireFailure",this))return this;var b=this.requireFail;return a=_(a,this),-1===r(b,a)&&(b.push(a),a.requireFailure(this)),this},dropRequireFailure:function(a){if(f(a,"dropRequireFailure",this))return this;a=_(a,this);var b=r(this.requireFail,a);return b>-1&&this.requireFail.splice(b,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(a){return!!this.simultaneous[a.id]},emit:function(a){function b(b){c.manager.emit(b,a)}var c=this,d=this.state;qb>d&&b(c.options.event+Z(d)),b(c.options.event),a.additionalEvent&&b(a.additionalEvent),d>=qb&&b(c.options.event+Z(d))},tryEmit:function(a){return this.canEmit()?this.emit(a):void(this.state=tb)},canEmit:function(){for(var a=0;a<this.requireFail.length;){if(!(this.requireFail[a].state&(tb|nb)))return!1;a++}return!0},recognize:function(a){var b=la({},a);return k(this.options.enable,[this,b])?(this.state&(rb|sb|tb)&&(this.state=nb),this.state=this.process(b),void(this.state&(ob|pb|qb|sb)&&this.tryEmit(b))):(this.reset(),void(this.state=tb))},process:function(a){},getTouchAction:function(){},reset:function(){}},i(aa,Y,{defaults:{pointers:1},attrTest:function(a){var b=this.options.pointers;return 0===b||a.pointers.length===b},process:function(a){var b=this.state,c=a.eventType,d=b&(ob|pb),e=this.attrTest(a);return d&&(c&Ha||!e)?b|sb:d||e?c&Ga?b|qb:b&ob?b|pb:ob:tb}}),i(ba,aa,{defaults:{event:"pan",threshold:10,pointers:1,direction:Pa},getTouchAction:function(){var a=this.options.direction,b=[];return a&Na&&b.push(lb),a&Oa&&b.push(kb),b},directionTest:function(a){var b=this.options,c=!0,d=a.distance,e=a.direction,f=a.deltaX,g=a.deltaY;return e&b.direction||(b.direction&Na?(e=0===f?Ia:0>f?Ja:Ka,c=f!=this.pX,d=Math.abs(a.deltaX)):(e=0===g?Ia:0>g?La:Ma,c=g!=this.pY,d=Math.abs(a.deltaY))),a.direction=e,c&&d>b.threshold&&e&b.direction},attrTest:function(a){return aa.prototype.attrTest.call(this,a)&&(this.state&ob||!(this.state&ob)&&this.directionTest(a))},emit:function(a){this.pX=a.deltaX,this.pY=a.deltaY;var b=$(a.direction);b&&(a.additionalEvent=this.options.event+b),this._super.emit.call(this,a)}}),i(ca,aa,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[jb]},attrTest:function(a){return this._super.attrTest.call(this,a)&&(Math.abs(a.scale-1)>this.options.threshold||this.state&ob)},emit:function(a){if(1!==a.scale){var b=a.scale<1?"in":"out";a.additionalEvent=this.options.event+b}this._super.emit.call(this,a)}}),i(da,Y,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[hb]},process:function(a){var b=this.options,c=a.pointers.length===b.pointers,d=a.distance<b.threshold,f=a.deltaTime>b.time;if(this._input=a,!d||!c||a.eventType&(Ga|Ha)&&!f)this.reset();else if(a.eventType&Ea)this.reset(),this._timer=e(function(){this.state=rb,this.tryEmit()},b.time,this);else if(a.eventType&Ga)return rb;return tb},reset:function(){clearTimeout(this._timer)},emit:function(a){this.state===rb&&(a&&a.eventType&Ga?this.manager.emit(this.options.event+"up",a):(this._input.timeStamp=ra(),this.manager.emit(this.options.event,this._input)))}}),i(ea,aa,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[jb]},attrTest:function(a){return this._super.attrTest.call(this,a)&&(Math.abs(a.rotation)>this.options.threshold||this.state&ob)}}),i(fa,aa,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Na|Oa,pointers:1},getTouchAction:function(){return ba.prototype.getTouchAction.call(this)},attrTest:function(a){var b,c=this.options.direction;return c&(Na|Oa)?b=a.overallVelocity:c&Na?b=a.overallVelocityX:c&Oa&&(b=a.overallVelocityY),this._super.attrTest.call(this,a)&&c&a.offsetDirection&&a.distance>this.options.threshold&&a.maxPointers==this.options.pointers&&qa(b)>this.options.velocity&&a.eventType&Ga},emit:function(a){var b=$(a.offsetDirection);b&&this.manager.emit(this.options.event+b,a),this.manager.emit(this.options.event,a)}}),i(ga,Y,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[ib]},process:function(a){var b=this.options,c=a.pointers.length===b.pointers,d=a.distance<b.threshold,f=a.deltaTime<b.time;if(this.reset(),a.eventType&Ea&&0===this.count)return this.failTimeout();if(d&&f&&c){if(a.eventType!=Ga)return this.failTimeout();var g=this.pTime?a.timeStamp-this.pTime<b.interval:!0,h=!this.pCenter||H(this.pCenter,a.center)<b.posThreshold;this.pTime=a.timeStamp,this.pCenter=a.center,h&&g?this.count+=1:this.count=1,this._input=a;var i=this.count%b.taps;if(0===i)return this.hasRequireFailures()?(this._timer=e(function(){this.state=rb,this.tryEmit()},b.interval,this),ob):rb}return tb},failTimeout:function(){return this._timer=e(function(){this.state=tb},this.options.interval,this),tb},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==rb&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),ha.VERSION="2.0.8",ha.defaults={domEvents:!1,touchAction:gb,enable:!0,inputTarget:null,inputClass:null,preset:[[ea,{enable:!1}],[ca,{enable:!1},["rotate"]],[fa,{direction:Na}],[ba,{direction:Na},["swipe"]],[ga],[ga,{event:"doubletap",taps:2},["tap"]],[da]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var ub=1,vb=2;ia.prototype={set:function(a){return la(this.options,a),a.touchAction&&this.touchAction.update(),a.inputTarget&&(this.input.destroy(),this.input.target=a.inputTarget,this.input.init()),this},stop:function(a){this.session.stopped=a?vb:ub},recognize:function(a){var b=this.session;if(!b.stopped){this.touchAction.preventDefaults(a);var c,d=this.recognizers,e=b.curRecognizer;(!e||e&&e.state&rb)&&(e=b.curRecognizer=null);for(var f=0;f<d.length;)c=d[f],b.stopped===vb||e&&c!=e&&!c.canRecognizeWith(e)?c.reset():c.recognize(a),!e&&c.state&(ob|pb|qb)&&(e=b.curRecognizer=c),f++}},get:function(a){if(a instanceof Y)return a;for(var b=this.recognizers,c=0;c<b.length;c++)if(b[c].options.event==a)return b[c];return null},add:function(a){if(f(a,"add",this))return this;var b=this.get(a.options.event);return b&&this.remove(b),this.recognizers.push(a),a.manager=this,this.touchAction.update(),a},remove:function(a){if(f(a,"remove",this))return this;if(a=this.get(a)){var b=this.recognizers,c=r(b,a);-1!==c&&(b.splice(c,1),this.touchAction.update())}return this},on:function(a,b){if(a!==d&&b!==d){var c=this.handlers;return g(q(a),function(a){c[a]=c[a]||[],c[a].push(b)}),this}},off:function(a,b){if(a!==d){var c=this.handlers;return g(q(a),function(a){b?c[a]&&c[a].splice(r(c[a],b),1):delete c[a]}),this}},emit:function(a,b){this.options.domEvents&&ka(a,b);var c=this.handlers[a]&&this.handlers[a].slice();if(c&&c.length){b.type=a,b.preventDefault=function(){b.srcEvent.preventDefault()};for(var d=0;d<c.length;)c[d](b),d++}},destroy:function(){this.element&&ja(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},la(ha,{INPUT_START:Ea,INPUT_MOVE:Fa,INPUT_END:Ga,INPUT_CANCEL:Ha,STATE_POSSIBLE:nb,STATE_BEGAN:ob,STATE_CHANGED:pb,STATE_ENDED:qb,STATE_RECOGNIZED:rb,STATE_CANCELLED:sb,STATE_FAILED:tb,DIRECTION_NONE:Ia,DIRECTION_LEFT:Ja,DIRECTION_RIGHT:Ka,DIRECTION_UP:La,DIRECTION_DOWN:Ma,DIRECTION_HORIZONTAL:Na,DIRECTION_VERTICAL:Oa,DIRECTION_ALL:Pa,Manager:ia,Input:x,TouchAction:V,TouchInput:P,MouseInput:L,PointerEventInput:M,TouchMouseInput:R,SingleTouchInput:N,Recognizer:Y,AttrRecognizer:aa,Tap:ga,Pan:ba,Swipe:fa,Pinch:ca,Rotate:ea,Press:da,on:m,off:n,each:g,merge:ta,extend:sa,assign:la,inherit:i,bindFn:j,prefixed:u});var wb="undefined"!=typeof a?a:"undefined"!=typeof self?self:{};wb.Hammer=ha,"function"==typeof define&&define.amd?define(function(){return ha}):"undefined"!=typeof module&&module.exports?module.exports=ha:a[c]=ha}(window,document,"Hammer");
@@ -1,20 +0,0 @@
1
- {
2
- "tiddlers": [
3
- {
4
- "file": "hammer.min.v2.0.8.js",
5
- "fields": {
6
- "type": "application/javascript",
7
- "title": "$:/plugins/tiddlywiki/hammerjs/hammer.js",
8
- "module-type": "library"
9
- },
10
- "prefix": "",
11
- "suffix": ""
12
- },{
13
- "file": "LICENSE.markdown",
14
- "fields": {
15
- "type": "text/plain",
16
- "title": "$:/plugins/tiddlywiki/hammerjs/license"
17
- }
18
- }
19
- ]
20
- }
@@ -1,8 +0,0 @@
1
- {
2
- "title": "$:/plugins/tiddlywiki/hammerjs",
3
- "name": "HammerJS",
4
- "description": "HammerJS touch gesture library",
5
- "author": "Jorik Tangelder (Eight Media)",
6
- "list": "readme license",
7
- "stability": "STABILITY_0_DEPRECATED"
8
- }
@@ -1,3 +0,0 @@
1
- title: $:/plugins/tiddlywiki/hammerjs/readme
2
-
3
- This plugin packages [[HammerJS|https://hammerjs.github.io]] for use by other plugins. It does not provide any end-user visible features.
@@ -1,9 +0,0 @@
1
- title: $:/config/HighlightPlugin/TypeMappings/
2
-
3
- application/javascript: javascript
4
- application/json: json
5
- text/css: css
6
- text/html: html
7
- image/svg+xml: xml
8
- text/x-markdown: markdown
9
- text/markdown: markdown