@salesforcedevs/dx-components 0.0.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 (327) hide show
  1. package/LICENSE +12 -0
  2. package/lwc.config.json +96 -0
  3. package/package.json +32 -0
  4. package/src/assets/icons/action-sprite/svg/symbols.svg +1 -0
  5. package/src/assets/icons/brand-sprite/svg/symbols.svg +1381 -0
  6. package/src/assets/icons/custom-sprite/svg/symbols.svg +1 -0
  7. package/src/assets/icons/doctype-sprite/svg/symbols.svg +1 -0
  8. package/src/assets/icons/general-sprite/svg/symbols.svg +3013 -0
  9. package/src/assets/icons/salesforcebrand-sprite/svg/symbols.svg +608 -0
  10. package/src/assets/icons/standard-sprite/svg/symbols.svg +1 -0
  11. package/src/assets/icons/utility-sprite/svg/symbols.svg +1 -0
  12. package/src/assets/svg/card-news-learn-moar.svg +415 -0
  13. package/src/assets/svg/cloud-1.svg +24 -0
  14. package/src/assets/svg/cloud-2.svg +18 -0
  15. package/src/assets/svg/codey.svg +93 -0
  16. package/src/assets/svg/command.svg +9 -0
  17. package/src/assets/svg/control.svg +10 -0
  18. package/src/assets/svg/docs-empty-state-small.svg +72 -0
  19. package/src/assets/svg/docs-empty-state.svg +86 -0
  20. package/src/assets/svg/dsc-home-news-bear.svg +3 -0
  21. package/src/assets/svg/dsc-home-news-community.png +0 -0
  22. package/src/assets/svg/dsc-home-news-goatbear.svg +257 -0
  23. package/src/assets/svg/dsc-home-news-samplegallery.svg +76 -0
  24. package/src/assets/svg/empty-state-assistant.svg +1 -0
  25. package/src/assets/svg/fch-blog-cloud-1.png +0 -0
  26. package/src/assets/svg/fch-blog-cloud-2.png +0 -0
  27. package/src/assets/svg/fch-blog-planet.png +0 -0
  28. package/src/assets/svg/feature-backdrop1.svg +10 -0
  29. package/src/assets/svg/feature-backdrop2.svg +10 -0
  30. package/src/assets/svg/featured-demo-art-blank.svg +76 -0
  31. package/src/assets/svg/featured-demo-art-eBikes.svg +77 -0
  32. package/src/assets/svg/footer-graphic-large.svg +207 -0
  33. package/src/assets/svg/footer-graphic-mountains-small.svg +17 -0
  34. package/src/assets/svg/footer-graphic-mountains.svg +21 -0
  35. package/src/assets/svg/footer-graphic-trees-small.svg +33 -0
  36. package/src/assets/svg/footer-graphic-trees.svg +62 -0
  37. package/src/assets/svg/lake-mountain.svg +79 -0
  38. package/src/assets/svg/no-results-combined.svg +80 -0
  39. package/src/assets/svg/podcast-subscription-clouds-small.svg +49 -0
  40. package/src/assets/svg/podcast-subscription-clouds.svg +57 -0
  41. package/src/assets/svg/podcasts-subscription-apple.svg +164 -0
  42. package/src/assets/svg/podcasts-subscription-google.svg +29 -0
  43. package/src/assets/svg/podcasts-subscription-spotify.svg +11 -0
  44. package/src/assets/svg/salesforce-cloud.svg +7 -0
  45. package/src/assets/svg/salesforce-logo-corporate.svg +21 -0
  46. package/src/assets/svg/salesforce-logo.svg +14 -0
  47. package/src/assets/svg/sidebar-item-loading.svg +3 -0
  48. package/src/assets/svg/sidebar-loading.svg +34 -0
  49. package/src/assets/svg/slack-cta-podcast-background-left.svg +28 -0
  50. package/src/assets/svg/slack-cta-podcast-background-right.svg +38 -0
  51. package/src/assets/svg/subscribe-background-left.svg +14 -0
  52. package/src/assets/svg/subscribe-background-right.svg +11 -0
  53. package/src/assets/svg/trees.svg +42 -0
  54. package/src/modules/dx/banner/banner.css +46 -0
  55. package/src/modules/dx/banner/banner.html +13 -0
  56. package/src/modules/dx/banner/banner.ts +12 -0
  57. package/src/modules/dx/brandThemeProvider/brandCssVars.ts +10 -0
  58. package/src/modules/dx/brandThemeProvider/brandThemeProvider.html +3 -0
  59. package/src/modules/dx/brandThemeProvider/brandThemeProvider.ts +46 -0
  60. package/src/modules/dx/breadcrumbs/breadcrumbs.css +111 -0
  61. package/src/modules/dx/breadcrumbs/breadcrumbs.html +44 -0
  62. package/src/modules/dx/breadcrumbs/breadcrumbs.ts +123 -0
  63. package/src/modules/dx/button/button.css +198 -0
  64. package/src/modules/dx/button/button.html +43 -0
  65. package/src/modules/dx/button/button.ts +68 -0
  66. package/src/modules/dx/cardBlogPost/cardBlogPost.css +13 -0
  67. package/src/modules/dx/cardBlogPost/cardBlogPost.html +24 -0
  68. package/src/modules/dx/cardBlogPost/cardBlogPost.ts +23 -0
  69. package/src/modules/dx/cardCallout/cardCallout.css +57 -0
  70. package/src/modules/dx/cardCallout/cardCallout.html +15 -0
  71. package/src/modules/dx/cardCallout/cardCallout.ts +41 -0
  72. package/src/modules/dx/cardContent/cardContent.css +52 -0
  73. package/src/modules/dx/cardContent/cardContent.html +62 -0
  74. package/src/modules/dx/cardContent/cardContent.ts +68 -0
  75. package/src/modules/dx/cardDemo/cardDemo.css +1 -0
  76. package/src/modules/dx/cardDemo/cardDemo.html +12 -0
  77. package/src/modules/dx/cardDemo/cardDemo.ts +11 -0
  78. package/src/modules/dx/cardDocs/cardDocs.css +50 -0
  79. package/src/modules/dx/cardDocs/cardDocs.html +23 -0
  80. package/src/modules/dx/cardDocs/cardDocs.ts +30 -0
  81. package/src/modules/dx/cardEvent/cardEvent.css +107 -0
  82. package/src/modules/dx/cardEvent/cardEvent.html +94 -0
  83. package/src/modules/dx/cardEvent/cardEvent.ts +42 -0
  84. package/src/modules/dx/cardExpanded/cardExpanded.css +50 -0
  85. package/src/modules/dx/cardExpanded/cardExpanded.html +36 -0
  86. package/src/modules/dx/cardExpanded/cardExpanded.ts +44 -0
  87. package/src/modules/dx/cardGridDocs/cardGridDocs.css +74 -0
  88. package/src/modules/dx/cardGridDocs/cardGridDocs.html +67 -0
  89. package/src/modules/dx/cardGridDocs/cardGridDocs.ts +86 -0
  90. package/src/modules/dx/cardMinimal/cardMinimal.css +31 -0
  91. package/src/modules/dx/cardMinimal/cardMinimal.html +13 -0
  92. package/src/modules/dx/cardMinimal/cardMinimal.ts +3 -0
  93. package/src/modules/dx/cardNews/cardNews.css +159 -0
  94. package/src/modules/dx/cardNews/cardNews.html +39 -0
  95. package/src/modules/dx/cardNews/cardNews.ts +77 -0
  96. package/src/modules/dx/cardPodcastEpisode/cardPodcastEpisode.css +19 -0
  97. package/src/modules/dx/cardPodcastEpisode/cardPodcastEpisode.html +36 -0
  98. package/src/modules/dx/cardPodcastEpisode/cardPodcastEpisode.ts +36 -0
  99. package/src/modules/dx/cardSmall/cardSmall.css +32 -0
  100. package/src/modules/dx/cardSmall/cardSmall.html +42 -0
  101. package/src/modules/dx/cardSmall/cardSmall.ts +38 -0
  102. package/src/modules/dx/cardTitle/cardTitle.css +43 -0
  103. package/src/modules/dx/cardTitle/cardTitle.html +20 -0
  104. package/src/modules/dx/cardTitle/cardTitle.ts +27 -0
  105. package/src/modules/dx/cardTrailheadModule/cardTrailheadModule.css +24 -0
  106. package/src/modules/dx/cardTrailheadModule/cardTrailheadModule.html +20 -0
  107. package/src/modules/dx/cardTrailheadModule/cardTrailheadModule.ts +18 -0
  108. package/src/modules/dx/cardTrial/cardTrial.css +71 -0
  109. package/src/modules/dx/cardTrial/cardTrial.html +31 -0
  110. package/src/modules/dx/cardTrial/cardTrial.ts +34 -0
  111. package/src/modules/dx/cardVideoPreview/cardVideoPreview.css +14 -0
  112. package/src/modules/dx/cardVideoPreview/cardVideoPreview.html +27 -0
  113. package/src/modules/dx/cardVideoPreview/cardVideoPreview.ts +13 -0
  114. package/src/modules/dx/checkbox/checkbox.css +172 -0
  115. package/src/modules/dx/checkbox/checkbox.html +26 -0
  116. package/src/modules/dx/checkbox/checkbox.ts +56 -0
  117. package/src/modules/dx/checkboxGroup/checkboxGroup.css +12 -0
  118. package/src/modules/dx/checkboxGroup/checkboxGroup.html +15 -0
  119. package/src/modules/dx/checkboxGroup/checkboxGroup.ts +77 -0
  120. package/src/modules/dx/checkboxNative/checkboxNative.css +21 -0
  121. package/src/modules/dx/checkboxNative/checkboxNative.html +14 -0
  122. package/src/modules/dx/checkboxNative/checkboxNative.ts +39 -0
  123. package/src/modules/dx/codeBlock/codeBlock.css +128 -0
  124. package/src/modules/dx/codeBlock/codeBlock.html +79 -0
  125. package/src/modules/dx/codeBlock/codeBlock.ts +222 -0
  126. package/src/modules/dx/codeBlock/darkTheme.css +88 -0
  127. package/src/modules/dx/codeBlock/lightTheme.css +72 -0
  128. package/src/modules/dx/dropdown/dropdown.css +93 -0
  129. package/src/modules/dx/dropdown/dropdown.html +73 -0
  130. package/src/modules/dx/dropdown/dropdown.ts +193 -0
  131. package/src/modules/dx/dropdownOption/dropdownOption.css +179 -0
  132. package/src/modules/dx/dropdownOption/dropdownOption.html +57 -0
  133. package/src/modules/dx/dropdownOption/dropdownOption.ts +67 -0
  134. package/src/modules/dx/emptyState/emptyState.css +64 -0
  135. package/src/modules/dx/emptyState/emptyState.html +9 -0
  136. package/src/modules/dx/emptyState/emptyState.ts +20 -0
  137. package/src/modules/dx/feature/feature.css +135 -0
  138. package/src/modules/dx/feature/feature.html +33 -0
  139. package/src/modules/dx/feature/feature.ts +34 -0
  140. package/src/modules/dx/featureGrid/featureGrid.html +3 -0
  141. package/src/modules/dx/featureGrid/featureGrid.ts +15 -0
  142. package/src/modules/dx/featuredContentHeader/featuredContentHeader.css +468 -0
  143. package/src/modules/dx/featuredContentHeader/featuredContentHeader.html +109 -0
  144. package/src/modules/dx/featuredContentHeader/featuredContentHeader.ts +102 -0
  145. package/src/modules/dx/featuredContentHeader/svgs.ts +35 -0
  146. package/src/modules/dx/featuresList/featuresList.css +24 -0
  147. package/src/modules/dx/featuresList/featuresList.html +20 -0
  148. package/src/modules/dx/featuresList/featuresList.ts +21 -0
  149. package/src/modules/dx/filterMenu/filterMenu.css +138 -0
  150. package/src/modules/dx/filterMenu/filterMenu.html +116 -0
  151. package/src/modules/dx/filterMenu/filterMenu.ts +119 -0
  152. package/src/modules/dx/footer/footer.css +405 -0
  153. package/src/modules/dx/footer/footer.html +150 -0
  154. package/src/modules/dx/footer/footer.ts +129 -0
  155. package/src/modules/dx/footer/links.ts +206 -0
  156. package/src/modules/dx/footerOption/footerOption.css +4 -0
  157. package/src/modules/dx/footerOption/footerOption.html +12 -0
  158. package/src/modules/dx/footerOption/footerOption.ts +19 -0
  159. package/src/modules/dx/formattedDateTime/formattedDateTime.html +1 -0
  160. package/src/modules/dx/formattedDateTime/formattedDateTime.ts +77 -0
  161. package/src/modules/dx/grid/grid.css +48 -0
  162. package/src/modules/dx/grid/grid.html +3 -0
  163. package/src/modules/dx/grid/grid.md +14 -0
  164. package/src/modules/dx/grid/grid.ts +74 -0
  165. package/src/modules/dx/groupText/groupText.css +119 -0
  166. package/src/modules/dx/groupText/groupText.html +68 -0
  167. package/src/modules/dx/groupText/groupText.ts +111 -0
  168. package/src/modules/dx/header/__benchmarks__/header.benchmark.js +45 -0
  169. package/src/modules/dx/header/header.css +99 -0
  170. package/src/modules/dx/header/header.html +122 -0
  171. package/src/modules/dx/header/header.ts +13 -0
  172. package/src/modules/dx/headerMobileNavMenu/headerMobileNavMenu.css +160 -0
  173. package/src/modules/dx/headerMobileNavMenu/headerMobileNavMenu.html +73 -0
  174. package/src/modules/dx/headerMobileNavMenu/headerMobileNavMenu.ts +102 -0
  175. package/src/modules/dx/headerMobileNavMenuOption/headerMobileNavMenuOption.css +5 -0
  176. package/src/modules/dx/headerMobileNavMenuOption/headerMobileNavMenuOption.html +14 -0
  177. package/src/modules/dx/headerMobileNavMenuOption/headerMobileNavMenuOption.ts +20 -0
  178. package/src/modules/dx/headerNav/headerNav.css +31 -0
  179. package/src/modules/dx/headerNav/headerNav.html +48 -0
  180. package/src/modules/dx/headerNav/headerNav.ts +56 -0
  181. package/src/modules/dx/headerSearch/headerSearch.css +62 -0
  182. package/src/modules/dx/headerSearch/headerSearch.html +62 -0
  183. package/src/modules/dx/headerSearch/headerSearch.ts +159 -0
  184. package/src/modules/dx/helmet/helmet.css +83 -0
  185. package/src/modules/dx/helmet/helmet.html +39 -0
  186. package/src/modules/dx/helmet/helmet.ts +27 -0
  187. package/src/modules/dx/hr/hr.css +56 -0
  188. package/src/modules/dx/hr/hr.html +23 -0
  189. package/src/modules/dx/hr/hr.ts +45 -0
  190. package/src/modules/dx/icon/icon.css +14 -0
  191. package/src/modules/dx/icon/icon.html +11 -0
  192. package/src/modules/dx/icon/icon.ts +85 -0
  193. package/src/modules/dx/iconBadge/iconBadge.css +52 -0
  194. package/src/modules/dx/iconBadge/iconBadge.html +5 -0
  195. package/src/modules/dx/iconBadge/iconBadge.ts +52 -0
  196. package/src/modules/dx/imageAndLabel/imageAndLabel.css +54 -0
  197. package/src/modules/dx/imageAndLabel/imageAndLabel.html +22 -0
  198. package/src/modules/dx/imageAndLabel/imageAndLabel.ts +16 -0
  199. package/src/modules/dx/input/input.css +181 -0
  200. package/src/modules/dx/input/input.html +62 -0
  201. package/src/modules/dx/input/input.ts +246 -0
  202. package/src/modules/dx/input/validators.ts +5 -0
  203. package/src/modules/dx/logo/logo.css +33 -0
  204. package/src/modules/dx/logo/logo.html +6 -0
  205. package/src/modules/dx/logo/logo.ts +8 -0
  206. package/src/modules/dx/modalDrawer/modalDrawer.css +41 -0
  207. package/src/modules/dx/modalDrawer/modalDrawer.html +11 -0
  208. package/src/modules/dx/modalDrawer/modalDrawer.ts +27 -0
  209. package/src/modules/dx/pagination/pagination.css +51 -0
  210. package/src/modules/dx/pagination/pagination.html +45 -0
  211. package/src/modules/dx/pagination/pagination.ts +135 -0
  212. package/src/modules/dx/podcastHost/podcastHost.css +62 -0
  213. package/src/modules/dx/podcastHost/podcastHost.html +28 -0
  214. package/src/modules/dx/podcastHost/podcastHost.ts +13 -0
  215. package/src/modules/dx/podcastPlayer/podcastPlayer.css +10 -0
  216. package/src/modules/dx/podcastPlayer/podcastPlayer.html +3 -0
  217. package/src/modules/dx/podcastPlayer/podcastPlayer.ts +5 -0
  218. package/src/modules/dx/popover/popover.css +65 -0
  219. package/src/modules/dx/popover/popover.html +16 -0
  220. package/src/modules/dx/popover/popover.ts +306 -0
  221. package/src/modules/dx/radioGroup/radioGroup.css +12 -0
  222. package/src/modules/dx/radioGroup/radioGroup.html +16 -0
  223. package/src/modules/dx/radioGroup/radioGroup.ts +65 -0
  224. package/src/modules/dx/relativeDateTime/relativeDateTime.html +3 -0
  225. package/src/modules/dx/relativeDateTime/relativeDateTime.ts +113 -0
  226. package/src/modules/dx/searchResults/coveo.css +18989 -0
  227. package/src/modules/dx/searchResults/searchResults.css +387 -0
  228. package/src/modules/dx/searchResults/searchResults.html +104 -0
  229. package/src/modules/dx/searchResults/searchResults.ts +187 -0
  230. package/src/modules/dx/section/section.css +130 -0
  231. package/src/modules/dx/section/section.html +66 -0
  232. package/src/modules/dx/section/section.ts +41 -0
  233. package/src/modules/dx/sectionSignup/sectionSignup.css +43 -0
  234. package/src/modules/dx/sectionSignup/sectionSignup.html +23 -0
  235. package/src/modules/dx/sectionSignup/sectionSignup.ts +44 -0
  236. package/src/modules/dx/select/select.css +221 -0
  237. package/src/modules/dx/select/select.html +57 -0
  238. package/src/modules/dx/select/select.ts +141 -0
  239. package/src/modules/dx/sidebar/sidebar.css +48 -0
  240. package/src/modules/dx/sidebar/sidebar.html +95 -0
  241. package/src/modules/dx/sidebar/sidebar.ts +258 -0
  242. package/src/modules/dx/sidebarOld/sidebarOld.css +16 -0
  243. package/src/modules/dx/sidebarOld/sidebarOld.html +74 -0
  244. package/src/modules/dx/sidebarOld/sidebarOld.ts +194 -0
  245. package/src/modules/dx/sidebarSearch/sidebarSearch.css +3 -0
  246. package/src/modules/dx/sidebarSearch/sidebarSearch.html +26 -0
  247. package/src/modules/dx/sidebarSearch/sidebarSearch.ts +463 -0
  248. package/src/modules/dx/sidebarSearchResult/sidebarSearchResult.css +36 -0
  249. package/src/modules/dx/sidebarSearchResult/sidebarSearchResult.html +14 -0
  250. package/src/modules/dx/sidebarSearchResult/sidebarSearchResult.ts +70 -0
  251. package/src/modules/dx/skipNavLink/skipNavLink.css +21 -0
  252. package/src/modules/dx/skipNavLink/skipNavLink.html +3 -0
  253. package/src/modules/dx/skipNavLink/skipNavLink.ts +3 -0
  254. package/src/modules/dx/socials/socials.css +35 -0
  255. package/src/modules/dx/socials/socials.html +22 -0
  256. package/src/modules/dx/socials/socials.ts +81 -0
  257. package/src/modules/dx/spinner/spinner.css +743 -0
  258. package/src/modules/dx/spinner/spinner.html +6 -0
  259. package/src/modules/dx/spinner/spinner.ts +20 -0
  260. package/src/modules/dx/tab/tab.css +106 -0
  261. package/src/modules/dx/tab/tab.html +13 -0
  262. package/src/modules/dx/tab/tab.ts +52 -0
  263. package/src/modules/dx/toc/toc.css +106 -0
  264. package/src/modules/dx/toc/toc.html +29 -0
  265. package/src/modules/dx/toc/toc.ts +77 -0
  266. package/src/modules/dx/tooltip/microtip.css +269 -0
  267. package/src/modules/dx/tooltip/tooltip.css +37 -0
  268. package/src/modules/dx/tooltip/tooltip.html +5 -0
  269. package/src/modules/dx/tooltip/tooltip.ts +6 -0
  270. package/src/modules/dx/topics/topics.css +26 -0
  271. package/src/modules/dx/topics/topics.html +12 -0
  272. package/src/modules/dx/topics/topics.ts +25 -0
  273. package/src/modules/dx/tree/tree.css +5 -0
  274. package/src/modules/dx/tree/tree.html +11 -0
  275. package/src/modules/dx/tree/tree.ts +80 -0
  276. package/src/modules/dx/tree/treeHandler.ts +101 -0
  277. package/src/modules/dx/treeItem/treeItem.css +25 -0
  278. package/src/modules/dx/treeItem/treeItem.html +29 -0
  279. package/src/modules/dx/treeItem/treeItem.ts +146 -0
  280. package/src/modules/dx/treeTile/treeTile.css +190 -0
  281. package/src/modules/dx/treeTile/treeTile.html +27 -0
  282. package/src/modules/dx/treeTile/treeTile.ts +60 -0
  283. package/src/modules/dx/typeBadge/typeBadge.css +74 -0
  284. package/src/modules/dx/typeBadge/typeBadge.html +5 -0
  285. package/src/modules/dx/typeBadge/typeBadge.ts +65 -0
  286. package/src/modules/dx/typeBadgeGroup/typeBadgeGroup.css +12 -0
  287. package/src/modules/dx/typeBadgeGroup/typeBadgeGroup.html +11 -0
  288. package/src/modules/dx/typeBadgeGroup/typeBadgeGroup.ts +18 -0
  289. package/src/modules/dx/vimeoPlayer/vimeoPlayer.css +1 -0
  290. package/src/modules/dx/vimeoPlayer/vimeoPlayer.html +3 -0
  291. package/src/modules/dx/vimeoPlayer/vimeoPlayer.ts +31 -0
  292. package/src/modules/dxBaseElements/archiveCard/archiveCard.ts +35 -0
  293. package/src/modules/dxBaseElements/headerBase/headerBase.ts +205 -0
  294. package/src/modules/dxBaseElements/matchMediaElement/matchMediaElement.ts +59 -0
  295. package/src/modules/dxBaseElements/sidebarBase/sidebarBase.ts +65 -0
  296. package/src/modules/dxHelpers/animations/animations.css +15 -0
  297. package/src/modules/dxHelpers/button/button.css +4 -0
  298. package/src/modules/dxHelpers/card/card.css +263 -0
  299. package/src/modules/dxHelpers/code/code.css +296 -0
  300. package/src/modules/dxHelpers/commonHeader/commonHeader.css +130 -0
  301. package/src/modules/dxHelpers/commonSidebar/commonSidebar.css +145 -0
  302. package/src/modules/dxHelpers/commonTreeItem/commonTreeItem.css +21 -0
  303. package/src/modules/dxHelpers/reset/reset.css +559 -0
  304. package/src/modules/dxHelpers/scrollbar/scrollbar.css +31 -0
  305. package/src/modules/dxHelpers/table/table.css +110 -0
  306. package/src/modules/dxHelpers/text/text.css +197 -0
  307. package/src/modules/dxUtils/analytics/analytics.ts +24 -0
  308. package/src/modules/dxUtils/browser/browser.ts +17 -0
  309. package/src/modules/dxUtils/constants/breakpoints.ts +9 -0
  310. package/src/modules/dxUtils/constants/constants.ts +1 -0
  311. package/src/modules/dxUtils/coveo/coveo.ts +70 -0
  312. package/src/modules/dxUtils/css/css.ts +43 -0
  313. package/src/modules/dxUtils/dates/dates.ts +60 -0
  314. package/src/modules/dxUtils/devices/devices.ts +1 -0
  315. package/src/modules/dxUtils/highlight/highlight.ts +32 -0
  316. package/src/modules/dxUtils/language/language.ts +21 -0
  317. package/src/modules/dxUtils/lwc/lwc.ts +9 -0
  318. package/src/modules/dxUtils/normalizers/normalizers.ts +80 -0
  319. package/src/modules/dxUtils/options/options.ts +43 -0
  320. package/src/modules/dxUtils/prismjs/prismjs.html +3 -0
  321. package/src/modules/dxUtils/prismjs/prismjs.ts +3937 -0
  322. package/src/modules/dxUtils/queryCoordinator/queryCoordinator.ts +43 -0
  323. package/src/modules/dxUtils/recentSearches/recentSearches.ts +57 -0
  324. package/src/modules/dxUtils/regexps/regexps.ts +5 -0
  325. package/src/modules/dxUtils/seo/seo.ts +4 -0
  326. package/src/modules/dxUtils/slot/slot.ts +17 -0
  327. package/src/modules/dxUtils/wordpress/wordpress.ts +13 -0
@@ -0,0 +1,3937 @@
1
+ /* eslint-disable */
2
+ var commonjsGlobal =
3
+ typeof globalThis !== "undefined"
4
+ ? globalThis
5
+ : typeof window !== "undefined"
6
+ ? window
7
+ : typeof global !== "undefined"
8
+ ? global
9
+ : typeof self !== "undefined"
10
+ ? self
11
+ : {};
12
+
13
+ function createCommonjsModule(fn, basedir, module) {
14
+ return (
15
+ (module = {
16
+ path: basedir,
17
+ exports: {},
18
+ require: function (path, base) {
19
+ return commonjsRequire(
20
+ path,
21
+ base === undefined || base === null ? module.path : base
22
+ );
23
+ }
24
+ }),
25
+ fn(module, module.exports),
26
+ module.exports
27
+ );
28
+ }
29
+
30
+ function commonjsRequire() {
31
+ throw new Error(
32
+ "Dynamic requires are not currently supported by @rollup/plugin-commonjs"
33
+ );
34
+ }
35
+ /* eslint-disable */
36
+ //Start autogenerated code
37
+ var prism = createCommonjsModule(function (module) {
38
+ /* PrismJS 1.28.0
39
+ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+apex+aspnet+bash+basic+c+csharp+cpp+css-extras+java+javadoc+javadoclike+jsdoc+js-extras+json+json5+jsonp+jsstacktrace+kotlin+markdown+markup-templating+php+phpdoc+php-extras+plsql+python+regex+sql+swift+typescript+typoscript+uri+vbnet+yaml&plugins=line-numbers+unescaped-markup+match-braces */
40
+ var _self =
41
+ "undefined" != typeof window
42
+ ? window
43
+ : "undefined" != typeof WorkerGlobalScope &&
44
+ self instanceof WorkerGlobalScope
45
+ ? self
46
+ : {},
47
+ Prism = (function (e) {
48
+ var n = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,
49
+ t = 0,
50
+ r = {},
51
+ a = {
52
+ manual: e.Prism && e.Prism.manual,
53
+ disableWorkerMessageHandler:
54
+ e.Prism && e.Prism.disableWorkerMessageHandler,
55
+ util: {
56
+ encode: function e(n) {
57
+ return n instanceof i
58
+ ? new i(n.type, e(n.content), n.alias)
59
+ : Array.isArray(n)
60
+ ? n.map(e)
61
+ : n
62
+ .replace(/&/g, "&")
63
+ .replace(/</g, "&lt;")
64
+ .replace(/\u00a0/g, " ");
65
+ },
66
+ type: function (e) {
67
+ return Object.prototype.toString
68
+ .call(e)
69
+ .slice(8, -1);
70
+ },
71
+ objId: function (e) {
72
+ return (
73
+ e.__id ||
74
+ Object.defineProperty(e, "__id", {
75
+ value: ++t
76
+ }),
77
+ e.__id
78
+ );
79
+ },
80
+ clone: function e(n, t) {
81
+ var r, i;
82
+ switch (((t = t || {}), a.util.type(n))) {
83
+ case "Object":
84
+ if (((i = a.util.objId(n)), t[i]))
85
+ return t[i];
86
+ for (var l in ((r = {}), (t[i] = r), n))
87
+ n.hasOwnProperty(l) &&
88
+ (r[l] = e(n[l], t));
89
+ return r;
90
+ case "Array":
91
+ return (
92
+ (i = a.util.objId(n)),
93
+ t[i]
94
+ ? t[i]
95
+ : ((r = []),
96
+ (t[i] = r),
97
+ n.forEach(function (n, a) {
98
+ r[a] = e(n, t);
99
+ }),
100
+ r)
101
+ );
102
+ default:
103
+ return n;
104
+ }
105
+ },
106
+ getLanguage: function (e) {
107
+ for (; e; ) {
108
+ var t = n.exec(e.className);
109
+ if (t) return t[1].toLowerCase();
110
+ e = e.parentElement;
111
+ }
112
+ return "none";
113
+ },
114
+ setLanguage: function (e, t) {
115
+ (e.className = e.className.replace(
116
+ RegExp(n, "gi"),
117
+ ""
118
+ )),
119
+ e.classList.add("language-" + t);
120
+ },
121
+ currentScript: function () {
122
+ if ("undefined" == typeof document) return null;
123
+ if ("currentScript" in document)
124
+ return document.currentScript;
125
+ try {
126
+ throw new Error();
127
+ } catch (r) {
128
+ var e =
129
+ (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(
130
+ r.stack
131
+ ) || [])[1];
132
+ if (e) {
133
+ var n =
134
+ document.getElementsByTagName("script");
135
+ for (var t in n)
136
+ if (n[t].src == e) return n[t];
137
+ }
138
+ return null;
139
+ }
140
+ },
141
+ isActive: function (e, n, t) {
142
+ for (var r = "no-" + n; e; ) {
143
+ var a = e.classList;
144
+ if (a.contains(n)) return !0;
145
+ if (a.contains(r)) return !1;
146
+ e = e.parentElement;
147
+ }
148
+ return !!t;
149
+ }
150
+ },
151
+ languages: {
152
+ plain: r,
153
+ plaintext: r,
154
+ text: r,
155
+ txt: r,
156
+ extend: function (e, n) {
157
+ var t = a.util.clone(a.languages[e]);
158
+ for (var r in n) t[r] = n[r];
159
+ return t;
160
+ },
161
+ insertBefore: function (e, n, t, r) {
162
+ var i = (r = r || a.languages)[e],
163
+ l = {};
164
+ for (var o in i)
165
+ if (i.hasOwnProperty(o)) {
166
+ if (o == n)
167
+ for (var s in t)
168
+ t.hasOwnProperty(s) &&
169
+ (l[s] = t[s]);
170
+ t.hasOwnProperty(o) || (l[o] = i[o]);
171
+ }
172
+ var u = r[e];
173
+ return (
174
+ (r[e] = l),
175
+ a.languages.DFS(a.languages, function (n, t) {
176
+ t === u && n != e && (this[n] = l);
177
+ }),
178
+ l
179
+ );
180
+ },
181
+ DFS: function e(n, t, r, i) {
182
+ i = i || {};
183
+ var l = a.util.objId;
184
+ for (var o in n)
185
+ if (n.hasOwnProperty(o)) {
186
+ t.call(n, o, n[o], r || o);
187
+ var s = n[o],
188
+ u = a.util.type(s);
189
+ "Object" !== u || i[l(s)]
190
+ ? "Array" !== u ||
191
+ i[l(s)] ||
192
+ ((i[l(s)] = !0), e(s, t, o, i))
193
+ : ((i[l(s)] = !0), e(s, t, null, i));
194
+ }
195
+ }
196
+ },
197
+ plugins: {},
198
+ highlightAll: function (e, n) {
199
+ a.highlightAllUnder(document, e, n);
200
+ },
201
+ highlightAllUnder: function (e, n, t) {
202
+ var r = {
203
+ callback: t,
204
+ container: e,
205
+ selector:
206
+ 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
207
+ };
208
+ a.hooks.run("before-highlightall", r),
209
+ (r.elements = Array.prototype.slice.apply(
210
+ r.container.querySelectorAll(r.selector)
211
+ )),
212
+ a.hooks.run("before-all-elements-highlight", r);
213
+ for (var i, l = 0; (i = r.elements[l++]); )
214
+ a.highlightElement(i, !0 === n, r.callback);
215
+ },
216
+ highlightElement: function (n, t, r) {
217
+ var i = a.util.getLanguage(n),
218
+ l = a.languages[i];
219
+ a.util.setLanguage(n, i);
220
+ var o = n.parentElement;
221
+ o &&
222
+ "pre" === o.nodeName.toLowerCase() &&
223
+ a.util.setLanguage(o, i);
224
+ var s = {
225
+ element: n,
226
+ language: i,
227
+ grammar: l,
228
+ code: n.textContent
229
+ };
230
+ function u(e) {
231
+ (s.highlightedCode = e),
232
+ a.hooks.run("before-insert", s),
233
+ (s.element.innerHTML = s.highlightedCode),
234
+ a.hooks.run("after-highlight", s),
235
+ a.hooks.run("complete", s),
236
+ r && r.call(s.element);
237
+ }
238
+ if (
239
+ (a.hooks.run("before-sanity-check", s),
240
+ (o = s.element.parentElement) &&
241
+ "pre" === o.nodeName.toLowerCase() &&
242
+ !o.hasAttribute("tabindex") &&
243
+ o.setAttribute("tabindex", "0"),
244
+ !s.code)
245
+ )
246
+ return (
247
+ a.hooks.run("complete", s),
248
+ void (r && r.call(s.element))
249
+ );
250
+ if ((a.hooks.run("before-highlight", s), s.grammar))
251
+ if (t && e.Worker) {
252
+ var c = new Worker(a.filename);
253
+ (c.onmessage = function (e) {
254
+ u(e.data);
255
+ }),
256
+ c.postMessage(
257
+ JSON.stringify({
258
+ language: s.language,
259
+ code: s.code,
260
+ immediateClose: !0
261
+ })
262
+ );
263
+ } else
264
+ u(a.highlight(s.code, s.grammar, s.language));
265
+ else u(a.util.encode(s.code));
266
+ },
267
+ highlight: function (e, n, t) {
268
+ var r = { code: e, grammar: n, language: t };
269
+ if ((a.hooks.run("before-tokenize", r), !r.grammar))
270
+ throw new Error(
271
+ 'The language "' +
272
+ r.language +
273
+ '" has no grammar.'
274
+ );
275
+ return (
276
+ (r.tokens = a.tokenize(r.code, r.grammar)),
277
+ a.hooks.run("after-tokenize", r),
278
+ i.stringify(a.util.encode(r.tokens), r.language)
279
+ );
280
+ },
281
+ tokenize: function (e, n) {
282
+ var t = n.rest;
283
+ if (t) {
284
+ for (var r in t) n[r] = t[r];
285
+ delete n.rest;
286
+ }
287
+ var a = new s();
288
+ return (
289
+ u(a, a.head, e),
290
+ o(e, a, n, a.head, 0),
291
+ (function (e) {
292
+ for (
293
+ var n = [], t = e.head.next;
294
+ t !== e.tail;
295
+
296
+ )
297
+ n.push(t.value), (t = t.next);
298
+ return n;
299
+ })(a)
300
+ );
301
+ },
302
+ hooks: {
303
+ all: {},
304
+ add: function (e, n) {
305
+ var t = a.hooks.all;
306
+ (t[e] = t[e] || []), t[e].push(n);
307
+ },
308
+ run: function (e, n) {
309
+ var t = a.hooks.all[e];
310
+ if (t && t.length)
311
+ for (var r, i = 0; (r = t[i++]); ) r(n);
312
+ }
313
+ },
314
+ Token: i
315
+ };
316
+ function i(e, n, t, r) {
317
+ (this.type = e),
318
+ (this.content = n),
319
+ (this.alias = t),
320
+ (this.length = 0 | (r || "").length);
321
+ }
322
+ function l(e, n, t, r) {
323
+ e.lastIndex = n;
324
+ var a = e.exec(t);
325
+ if (a && r && a[1]) {
326
+ var i = a[1].length;
327
+ (a.index += i), (a[0] = a[0].slice(i));
328
+ }
329
+ return a;
330
+ }
331
+ function o(e, n, t, r, s, g) {
332
+ for (var f in t)
333
+ if (t.hasOwnProperty(f) && t[f]) {
334
+ var h = t[f];
335
+ h = Array.isArray(h) ? h : [h];
336
+ for (var d = 0; d < h.length; ++d) {
337
+ if (g && g.cause == f + "," + d) return;
338
+ var v = h[d],
339
+ p = v.inside,
340
+ m = !!v.lookbehind,
341
+ y = !!v.greedy,
342
+ k = v.alias;
343
+ if (y && !v.pattern.global) {
344
+ var x = v.pattern
345
+ .toString()
346
+ .match(/[imsuy]*$/)[0];
347
+ v.pattern = RegExp(v.pattern.source, x + "g");
348
+ }
349
+ for (
350
+ var b = v.pattern || v, w = r.next, A = s;
351
+ w !== n.tail && !(g && A >= g.reach);
352
+ A += w.value.length, w = w.next
353
+ ) {
354
+ var E = w.value;
355
+ if (n.length > e.length) return;
356
+ if (!(E instanceof i)) {
357
+ var P,
358
+ L = 1;
359
+ if (y) {
360
+ if (
361
+ !(P = l(b, A, e, m)) ||
362
+ P.index >= e.length
363
+ )
364
+ break;
365
+ var S = P.index,
366
+ O = P.index + P[0].length,
367
+ j = A;
368
+ for (j += w.value.length; S >= j; )
369
+ j += (w = w.next).value.length;
370
+ if (
371
+ ((A = j -= w.value.length),
372
+ w.value instanceof i)
373
+ )
374
+ continue;
375
+ for (
376
+ var C = w;
377
+ C !== n.tail &&
378
+ (j < O ||
379
+ "string" == typeof C.value);
380
+ C = C.next
381
+ )
382
+ L++, (j += C.value.length);
383
+ L--,
384
+ (E = e.slice(A, j)),
385
+ (P.index -= A);
386
+ } else if (!(P = l(b, 0, E, m))) continue;
387
+ S = P.index;
388
+ var N = P[0],
389
+ _ = E.slice(0, S),
390
+ M = E.slice(S + N.length),
391
+ W = A + E.length;
392
+ g && W > g.reach && (g.reach = W);
393
+ var z = w.prev;
394
+ if (
395
+ (_ &&
396
+ ((z = u(n, z, _)), (A += _.length)),
397
+ c(n, z, L),
398
+ (w = u(
399
+ n,
400
+ z,
401
+ new i(
402
+ f,
403
+ p ? a.tokenize(N, p) : N,
404
+ k,
405
+ N
406
+ )
407
+ )),
408
+ M && u(n, w, M),
409
+ L > 1)
410
+ ) {
411
+ var I = {
412
+ cause: f + "," + d,
413
+ reach: W
414
+ };
415
+ o(e, n, t, w.prev, A, I),
416
+ g &&
417
+ I.reach > g.reach &&
418
+ (g.reach = I.reach);
419
+ }
420
+ }
421
+ }
422
+ }
423
+ }
424
+ }
425
+ function s() {
426
+ var e = { value: null, prev: null, next: null },
427
+ n = { value: null, prev: e, next: null };
428
+ (e.next = n),
429
+ (this.head = e),
430
+ (this.tail = n),
431
+ (this.length = 0);
432
+ }
433
+ function u(e, n, t) {
434
+ var r = n.next,
435
+ a = { value: t, prev: n, next: r };
436
+ return (n.next = a), (r.prev = a), e.length++, a;
437
+ }
438
+ function c(e, n, t) {
439
+ for (var r = n.next, a = 0; a < t && r !== e.tail; a++)
440
+ r = r.next;
441
+ (n.next = r), (r.prev = n), (e.length -= a);
442
+ }
443
+ if (
444
+ ((e.Prism = a),
445
+ (i.stringify = function e(n, t) {
446
+ if ("string" == typeof n) return n;
447
+ if (Array.isArray(n)) {
448
+ var r = "";
449
+ return (
450
+ n.forEach(function (n) {
451
+ r += e(n, t);
452
+ }),
453
+ r
454
+ );
455
+ }
456
+ var i = {
457
+ type: n.type,
458
+ content: e(n.content, t),
459
+ tag: "span",
460
+ classes: ["token", n.type],
461
+ attributes: {},
462
+ language: t
463
+ },
464
+ l = n.alias;
465
+ l &&
466
+ (Array.isArray(l)
467
+ ? Array.prototype.push.apply(i.classes, l)
468
+ : i.classes.push(l)),
469
+ a.hooks.run("wrap", i);
470
+ var o = "";
471
+ for (var s in i.attributes)
472
+ o +=
473
+ " " +
474
+ s +
475
+ '="' +
476
+ (i.attributes[s] || "").replace(/"/g, "&quot;") +
477
+ '"';
478
+ return (
479
+ "<" +
480
+ i.tag +
481
+ ' class="' +
482
+ i.classes.join(" ") +
483
+ '"' +
484
+ o +
485
+ ">" +
486
+ i.content +
487
+ "</" +
488
+ i.tag +
489
+ ">"
490
+ );
491
+ }),
492
+ !e.document)
493
+ )
494
+ return e.addEventListener
495
+ ? (a.disableWorkerMessageHandler ||
496
+ e.addEventListener(
497
+ "message",
498
+ function (n) {
499
+ var t = JSON.parse(n.data),
500
+ r = t.language,
501
+ i = t.code,
502
+ l = t.immediateClose;
503
+ e.postMessage(
504
+ a.highlight(i, a.languages[r], r)
505
+ ),
506
+ l && e.close();
507
+ },
508
+ !1
509
+ ),
510
+ a)
511
+ : a;
512
+ var g = a.util.currentScript();
513
+ function f() {
514
+ a.manual || a.highlightAll();
515
+ }
516
+ if (
517
+ (g &&
518
+ ((a.filename = g.src),
519
+ g.hasAttribute("data-manual") && (a.manual = !0)),
520
+ !a.manual)
521
+ ) {
522
+ var h = document.readyState;
523
+ "loading" === h || ("interactive" === h && g && g.defer)
524
+ ? document.addEventListener("DOMContentLoaded", f)
525
+ : window.requestAnimationFrame
526
+ ? window.requestAnimationFrame(f)
527
+ : window.setTimeout(f, 16);
528
+ }
529
+ return a;
530
+ })(_self);
531
+ "undefined" != typeof module && module.exports && (module.exports = Prism),
532
+ "undefined" != typeof global && (global.Prism = Prism);
533
+ (Prism.languages.markup = {
534
+ comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy: !0 },
535
+ prolog: { pattern: /<\?[\s\S]+?\?>/, greedy: !0 },
536
+ doctype: {
537
+ pattern:
538
+ /<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,
539
+ greedy: !0,
540
+ inside: {
541
+ "internal-subset": {
542
+ pattern: /(^[^\[]*\[)[\s\S]+(?=\]>$)/,
543
+ lookbehind: !0,
544
+ greedy: !0,
545
+ inside: null
546
+ },
547
+ string: { pattern: /"[^"]*"|'[^']*'/, greedy: !0 },
548
+ punctuation: /^<!|>$|[[\]]/,
549
+ "doctype-tag": /^DOCTYPE/i,
550
+ name: /[^\s<>'"]+/
551
+ }
552
+ },
553
+ cdata: { pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i, greedy: !0 },
554
+ tag: {
555
+ pattern:
556
+ /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,
557
+ greedy: !0,
558
+ inside: {
559
+ tag: {
560
+ pattern: /^<\/?[^\s>\/]+/,
561
+ inside: { punctuation: /^<\/?/, namespace: /^[^\s>\/:]+:/ }
562
+ },
563
+ "special-attr": [],
564
+ "attr-value": {
565
+ pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,
566
+ inside: {
567
+ punctuation: [
568
+ { pattern: /^=/, alias: "attr-equals" },
569
+ { pattern: /^(\s*)["']|["']$/, lookbehind: !0 }
570
+ ]
571
+ }
572
+ },
573
+ punctuation: /\/?>/,
574
+ "attr-name": {
575
+ pattern: /[^\s>\/]+/,
576
+ inside: { namespace: /^[^\s>\/:]+:/ }
577
+ }
578
+ }
579
+ },
580
+ entity: [
581
+ { pattern: /&[\da-z]{1,8};/i, alias: "named-entity" },
582
+ /&#x?[\da-f]{1,8};/i
583
+ ]
584
+ }),
585
+ (Prism.languages.markup.tag.inside["attr-value"].inside.entity =
586
+ Prism.languages.markup.entity),
587
+ (Prism.languages.markup.doctype.inside["internal-subset"].inside =
588
+ Prism.languages.markup),
589
+ Prism.hooks.add("wrap", function (a) {
590
+ "entity" === a.type &&
591
+ (a.attributes.title = a.content.replace(/&amp;/, "&"));
592
+ }),
593
+ Object.defineProperty(Prism.languages.markup.tag, "addInlined", {
594
+ value: function (a, e) {
595
+ var s = {};
596
+ (s["language-" + e] = {
597
+ pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
598
+ lookbehind: !0,
599
+ inside: Prism.languages[e]
600
+ }),
601
+ (s.cdata = /^<!\[CDATA\[|\]\]>$/i);
602
+ var t = {
603
+ "included-cdata": {
604
+ pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
605
+ inside: s
606
+ }
607
+ };
608
+ t["language-" + e] = {
609
+ pattern: /[\s\S]+/,
610
+ inside: Prism.languages[e]
611
+ };
612
+ var n = {};
613
+ (n[a] = {
614
+ pattern: RegExp(
615
+ "(<__[^>]*>)(?:<!\\[CDATA\\[(?:[^\\]]|\\](?!\\]>))*\\]\\]>|(?!<!\\[CDATA\\[)[^])*?(?=</__>)".replace(
616
+ /__/g,
617
+ function () {
618
+ return a;
619
+ }
620
+ ),
621
+ "i"
622
+ ),
623
+ lookbehind: !0,
624
+ greedy: !0,
625
+ inside: t
626
+ }),
627
+ Prism.languages.insertBefore("markup", "cdata", n);
628
+ }
629
+ }),
630
+ Object.defineProperty(Prism.languages.markup.tag, "addAttribute", {
631
+ value: function (a, e) {
632
+ Prism.languages.markup.tag.inside["special-attr"].push({
633
+ pattern: RegExp(
634
+ "(^|[\"'\\s])(?:" +
635
+ a +
636
+ ")\\s*=\\s*(?:\"[^\"]*\"|'[^']*'|[^\\s'\">=]+(?=[\\s>]))",
637
+ "i"
638
+ ),
639
+ lookbehind: !0,
640
+ inside: {
641
+ "attr-name": /^[^\s=]+/,
642
+ "attr-value": {
643
+ pattern: /=[\s\S]+/,
644
+ inside: {
645
+ value: {
646
+ pattern:
647
+ /(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,
648
+ lookbehind: !0,
649
+ alias: [e, "language-" + e],
650
+ inside: Prism.languages[e]
651
+ },
652
+ punctuation: [
653
+ { pattern: /^=/, alias: "attr-equals" },
654
+ /"|'/
655
+ ]
656
+ }
657
+ }
658
+ }
659
+ });
660
+ }
661
+ }),
662
+ (Prism.languages.html = Prism.languages.markup),
663
+ (Prism.languages.mathml = Prism.languages.markup),
664
+ (Prism.languages.svg = Prism.languages.markup),
665
+ (Prism.languages.xml = Prism.languages.extend("markup", {})),
666
+ (Prism.languages.ssml = Prism.languages.xml),
667
+ (Prism.languages.atom = Prism.languages.xml),
668
+ (Prism.languages.rss = Prism.languages.xml);
669
+ !(function (s) {
670
+ var e =
671
+ /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
672
+ (s.languages.css = {
673
+ comment: /\/\*[\s\S]*?\*\//,
674
+ atrule: {
675
+ pattern: RegExp(
676
+ "@[\\w-](?:[^;{\\s\"']|\\s+(?!\\s)|" +
677
+ e.source +
678
+ ")*?(?:;|(?=\\s*\\{))"
679
+ ),
680
+ inside: {
681
+ rule: /^@[\w-]+/,
682
+ "selector-function-argument": {
683
+ pattern:
684
+ /(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,
685
+ lookbehind: !0,
686
+ alias: "selector"
687
+ },
688
+ keyword: {
689
+ pattern: /(^|[^\w-])(?:and|not|only|or)(?![\w-])/,
690
+ lookbehind: !0
691
+ }
692
+ }
693
+ },
694
+ url: {
695
+ pattern: RegExp(
696
+ "\\burl\\((?:" +
697
+ e.source +
698
+ "|(?:[^\\\\\r\n()\"']|\\\\[^])*)\\)",
699
+ "i"
700
+ ),
701
+ greedy: !0,
702
+ inside: {
703
+ function: /^url/i,
704
+ punctuation: /^\(|\)$/,
705
+ string: {
706
+ pattern: RegExp("^" + e.source + "$"),
707
+ alias: "url"
708
+ }
709
+ }
710
+ },
711
+ selector: {
712
+ pattern: RegExp(
713
+ "(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|" +
714
+ e.source +
715
+ ")*(?=\\s*\\{)"
716
+ ),
717
+ lookbehind: !0
718
+ },
719
+ string: { pattern: e, greedy: !0 },
720
+ property: {
721
+ pattern:
722
+ /(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,
723
+ lookbehind: !0
724
+ },
725
+ important: /!important\b/i,
726
+ function: {
727
+ pattern: /(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,
728
+ lookbehind: !0
729
+ },
730
+ punctuation: /[(){};:,]/
731
+ }),
732
+ (s.languages.css.atrule.inside.rest = s.languages.css);
733
+ var t = s.languages.markup;
734
+ t &&
735
+ (t.tag.addInlined("style", "css"),
736
+ t.tag.addAttribute("style", "css"));
737
+ })(Prism);
738
+ Prism.languages.clike = {
739
+ comment: [
740
+ {
741
+ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
742
+ lookbehind: !0,
743
+ greedy: !0
744
+ },
745
+ { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 }
746
+ ],
747
+ string: {
748
+ pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
749
+ greedy: !0
750
+ },
751
+ "class-name": {
752
+ pattern:
753
+ /(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,
754
+ lookbehind: !0,
755
+ inside: { punctuation: /[.\\]/ }
756
+ },
757
+ keyword:
758
+ /\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,
759
+ boolean: /\b(?:false|true)\b/,
760
+ function: /\b\w+(?=\()/,
761
+ number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
762
+ operator: /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,
763
+ punctuation: /[{}[\];(),.:]/
764
+ };
765
+ (Prism.languages.javascript = Prism.languages.extend("clike", {
766
+ "class-name": [
767
+ Prism.languages.clike["class-name"],
768
+ {
769
+ pattern:
770
+ /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,
771
+ lookbehind: !0
772
+ }
773
+ ],
774
+ keyword: [
775
+ { pattern: /((?:^|\})\s*)catch\b/, lookbehind: !0 },
776
+ {
777
+ pattern:
778
+ /(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,
779
+ lookbehind: !0
780
+ }
781
+ ],
782
+ function:
783
+ /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,
784
+ number: {
785
+ pattern: RegExp(
786
+ "(^|[^\\w$])(?:NaN|Infinity|0[bB][01]+(?:_[01]+)*n?|0[oO][0-7]+(?:_[0-7]+)*n?|0[xX][\\dA-Fa-f]+(?:_[\\dA-Fa-f]+)*n?|\\d+(?:_\\d+)*n|(?:\\d+(?:_\\d+)*(?:\\.(?:\\d+(?:_\\d+)*)?)?|\\.\\d+(?:_\\d+)*)(?:[Ee][+-]?\\d+(?:_\\d+)*)?)(?![\\w$])"
787
+ ),
788
+ lookbehind: !0
789
+ },
790
+ operator:
791
+ /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/
792
+ })),
793
+ (Prism.languages.javascript["class-name"][0].pattern =
794
+ /(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/),
795
+ Prism.languages.insertBefore("javascript", "keyword", {
796
+ regex: {
797
+ pattern: RegExp(
798
+ "((?:^|[^$\\w\\xA0-\\uFFFF.\"'\\])\\s]|\\b(?:return|yield))\\s*)/(?:(?:\\[(?:[^\\]\\\\\r\n]|\\\\.)*\\]|\\\\.|[^/\\\\\\[\r\n])+/[dgimyus]{0,7}|(?:\\[(?:[^[\\]\\\\\r\n]|\\\\.|\\[(?:[^[\\]\\\\\r\n]|\\\\.|\\[(?:[^[\\]\\\\\r\n]|\\\\.)*\\])*\\])*\\]|\\\\.|[^/\\\\\\[\r\n])+/[dgimyus]{0,7}v[dgimyus]{0,7})(?=(?:\\s|/\\*(?:[^*]|\\*(?!/))*\\*/)*(?:$|[\r\n,.;:})\\]]|//))"
799
+ ),
800
+ lookbehind: !0,
801
+ greedy: !0,
802
+ inside: {
803
+ "regex-source": {
804
+ pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/,
805
+ lookbehind: !0,
806
+ alias: "language-regex",
807
+ inside: Prism.languages.regex
808
+ },
809
+ "regex-delimiter": /^\/|\/$/,
810
+ "regex-flags": /^[a-z]+$/
811
+ }
812
+ },
813
+ "function-variable": {
814
+ pattern:
815
+ /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,
816
+ alias: "function"
817
+ },
818
+ parameter: [
819
+ {
820
+ pattern:
821
+ /(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,
822
+ lookbehind: !0,
823
+ inside: Prism.languages.javascript
824
+ },
825
+ {
826
+ pattern:
827
+ /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,
828
+ lookbehind: !0,
829
+ inside: Prism.languages.javascript
830
+ },
831
+ {
832
+ pattern:
833
+ /(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,
834
+ lookbehind: !0,
835
+ inside: Prism.languages.javascript
836
+ },
837
+ {
838
+ pattern:
839
+ /((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,
840
+ lookbehind: !0,
841
+ inside: Prism.languages.javascript
842
+ }
843
+ ],
844
+ constant: /\b[A-Z](?:[A-Z_]|\dx?)*\b/
845
+ }),
846
+ Prism.languages.insertBefore("javascript", "string", {
847
+ hashbang: { pattern: /^#!.*/, greedy: !0, alias: "comment" },
848
+ "template-string": {
849
+ pattern:
850
+ /`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,
851
+ greedy: !0,
852
+ inside: {
853
+ "template-punctuation": {
854
+ pattern: /^`|`$/,
855
+ alias: "string"
856
+ },
857
+ interpolation: {
858
+ pattern:
859
+ /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
860
+ lookbehind: !0,
861
+ inside: {
862
+ "interpolation-punctuation": {
863
+ pattern: /^\$\{|\}$/,
864
+ alias: "punctuation"
865
+ },
866
+ rest: Prism.languages.javascript
867
+ }
868
+ },
869
+ string: /[\s\S]+/
870
+ }
871
+ },
872
+ "string-property": {
873
+ pattern:
874
+ /((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,
875
+ lookbehind: !0,
876
+ greedy: !0,
877
+ alias: "property"
878
+ }
879
+ }),
880
+ Prism.languages.insertBefore("javascript", "operator", {
881
+ "literal-property": {
882
+ pattern:
883
+ /((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,
884
+ lookbehind: !0,
885
+ alias: "property"
886
+ }
887
+ }),
888
+ Prism.languages.markup &&
889
+ (Prism.languages.markup.tag.addInlined("script", "javascript"),
890
+ Prism.languages.markup.tag.addAttribute(
891
+ "on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)",
892
+ "javascript"
893
+ )),
894
+ (Prism.languages.js = Prism.languages.javascript);
895
+ Prism.languages.sql = {
896
+ comment: {
897
+ pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,
898
+ lookbehind: !0
899
+ },
900
+ variable: [
901
+ { pattern: /@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/, greedy: !0 },
902
+ /@[\w.$]+/
903
+ ],
904
+ string: {
905
+ pattern: /(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,
906
+ greedy: !0,
907
+ lookbehind: !0
908
+ },
909
+ identifier: {
910
+ pattern: /(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,
911
+ greedy: !0,
912
+ lookbehind: !0,
913
+ inside: { punctuation: /^`|`$/ }
914
+ },
915
+ function:
916
+ /\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,
917
+ keyword:
918
+ /\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,
919
+ boolean: /\b(?:FALSE|NULL|TRUE)\b/i,
920
+ number: /\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,
921
+ operator:
922
+ /[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,
923
+ punctuation: /[;[\]()`,.]/
924
+ };
925
+ !(function (e) {
926
+ var t =
927
+ /\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,
928
+ n =
929
+ "\\b(?:(?=[a-z_]\\w*\\s*[<\\[])|(?!<keyword>))[A-Z_]\\w*(?:\\s*\\.\\s*[A-Z_]\\w*)*\\b(?:\\s*(?:\\[\\s*\\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*".replace(
930
+ /<keyword>/g,
931
+ function () {
932
+ return t.source;
933
+ }
934
+ );
935
+ function i(e) {
936
+ return RegExp(
937
+ e.replace(/<CLASS-NAME>/g, function () {
938
+ return n;
939
+ }),
940
+ "i"
941
+ );
942
+ }
943
+ var a = { keyword: t, punctuation: /[()\[\]{};,:.<>]/ };
944
+ e.languages.apex = {
945
+ comment: e.languages.clike.comment,
946
+ string: e.languages.clike.string,
947
+ sql: {
948
+ pattern: /((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,
949
+ lookbehind: !0,
950
+ greedy: !0,
951
+ alias: "language-sql",
952
+ inside: e.languages.sql
953
+ },
954
+ annotation: { pattern: /@\w+\b/, alias: "punctuation" },
955
+ "class-name": [
956
+ {
957
+ pattern: i(
958
+ "(\\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\\s+\\w+\\s+on)\\s+)<CLASS-NAME>"
959
+ ),
960
+ lookbehind: !0,
961
+ inside: a
962
+ },
963
+ {
964
+ pattern: i("(\\(\\s*)<CLASS-NAME>(?=\\s*\\)\\s*[\\w(])"),
965
+ lookbehind: !0,
966
+ inside: a
967
+ },
968
+ {
969
+ pattern: i("<CLASS-NAME>(?=\\s*\\w+\\s*[;=,(){:])"),
970
+ inside: a
971
+ }
972
+ ],
973
+ trigger: {
974
+ pattern: /(\btrigger\s+)\w+\b/i,
975
+ lookbehind: !0,
976
+ alias: "class-name"
977
+ },
978
+ keyword: t,
979
+ function: /\b[a-z_]\w*(?=\s*\()/i,
980
+ boolean: /\b(?:false|true)\b/i,
981
+ number: /(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,
982
+ operator:
983
+ /[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<<?=?|>{1,3}=?/,
984
+ punctuation: /[()\[\]{};,.]/
985
+ };
986
+ })(Prism);
987
+ !(function (e) {
988
+ function n(e, n) {
989
+ return e.replace(/<<(\d+)>>/g, function (e, s) {
990
+ return "(?:" + n[+s] + ")";
991
+ });
992
+ }
993
+ function s(e, s, a) {
994
+ return RegExp(n(e, s), a || "");
995
+ }
996
+ function a(e, n) {
997
+ for (var s = 0; s < n; s++)
998
+ e = e.replace(/<<self>>/g, function () {
999
+ return "(?:" + e + ")";
1000
+ });
1001
+ return e.replace(/<<self>>/g, "[^\\s\\S]");
1002
+ }
1003
+ var t =
1004
+ "bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",
1005
+ r = "class enum interface record struct",
1006
+ i =
1007
+ "add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",
1008
+ o =
1009
+ "abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";
1010
+ function l(e) {
1011
+ return "\\b(?:" + e.trim().replace(/ /g, "|") + ")\\b";
1012
+ }
1013
+ var d = l(r),
1014
+ p = RegExp(l(t + " " + r + " " + i + " " + o)),
1015
+ c = l(r + " " + i + " " + o),
1016
+ u = l(t + " " + r + " " + o),
1017
+ g = a("<(?:[^<>;=+\\-*/%&|^]|<<self>>)*>", 2),
1018
+ b = a("\\((?:[^()]|<<self>>)*\\)", 2),
1019
+ h = "@?\\b[A-Za-z_]\\w*\\b",
1020
+ f = n("<<0>>(?:\\s*<<1>>)?", [h, g]),
1021
+ m = n("(?!<<0>>)<<1>>(?:\\s*\\.\\s*<<1>>)*", [c, f]),
1022
+ k = "\\[\\s*(?:,\\s*)*\\]",
1023
+ y = n("<<0>>(?:\\s*(?:\\?\\s*)?<<1>>)*(?:\\s*\\?)?", [m, k]),
1024
+ w = n("[^,()<>[\\];=+\\-*/%&|^]|<<0>>|<<1>>|<<2>>", [g, b, k]),
1025
+ v = n("\\(<<0>>+(?:,<<0>>+)+\\)", [w]),
1026
+ x = n("(?:<<0>>|<<1>>)(?:\\s*(?:\\?\\s*)?<<2>>)*(?:\\s*\\?)?", [
1027
+ v,
1028
+ m,
1029
+ k
1030
+ ]),
1031
+ $ = { keyword: p, punctuation: /[<>()?,.:[\]]/ },
1032
+ _ = "'(?:[^\r\n'\\\\]|\\\\.|\\\\[Uux][\\da-fA-F]{1,8})'",
1033
+ B = '"(?:\\\\.|[^\\\\"\r\n])*"';
1034
+ (e.languages.csharp = e.languages.extend("clike", {
1035
+ string: [
1036
+ {
1037
+ pattern: s("(^|[^$\\\\])<<0>>", [
1038
+ '@"(?:""|\\\\[^]|[^\\\\"])*"(?!")'
1039
+ ]),
1040
+ lookbehind: !0,
1041
+ greedy: !0
1042
+ },
1043
+ {
1044
+ pattern: s("(^|[^@$\\\\])<<0>>", [B]),
1045
+ lookbehind: !0,
1046
+ greedy: !0
1047
+ }
1048
+ ],
1049
+ "class-name": [
1050
+ {
1051
+ pattern: s("(\\busing\\s+static\\s+)<<0>>(?=\\s*;)", [m]),
1052
+ lookbehind: !0,
1053
+ inside: $
1054
+ },
1055
+ {
1056
+ pattern: s("(\\busing\\s+<<0>>\\s*=\\s*)<<1>>(?=\\s*;)", [
1057
+ h,
1058
+ x
1059
+ ]),
1060
+ lookbehind: !0,
1061
+ inside: $
1062
+ },
1063
+ {
1064
+ pattern: s("(\\busing\\s+)<<0>>(?=\\s*=)", [h]),
1065
+ lookbehind: !0
1066
+ },
1067
+ {
1068
+ pattern: s("(\\b<<0>>\\s+)<<1>>", [d, f]),
1069
+ lookbehind: !0,
1070
+ inside: $
1071
+ },
1072
+ {
1073
+ pattern: s("(\\bcatch\\s*\\(\\s*)<<0>>", [m]),
1074
+ lookbehind: !0,
1075
+ inside: $
1076
+ },
1077
+ { pattern: s("(\\bwhere\\s+)<<0>>", [h]), lookbehind: !0 },
1078
+ {
1079
+ pattern: s("(\\b(?:is(?:\\s+not)?|as)\\s+)<<0>>", [y]),
1080
+ lookbehind: !0,
1081
+ inside: $
1082
+ },
1083
+ {
1084
+ pattern: s(
1085
+ "\\b<<0>>(?=\\s+(?!<<1>>|with\\s*\\{)<<2>>(?:\\s*[=,;:{)\\]]|\\s+(?:in|when)\\b))",
1086
+ [x, u, h]
1087
+ ),
1088
+ inside: $
1089
+ }
1090
+ ],
1091
+ keyword: p,
1092
+ number: /(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,
1093
+ operator: />>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,
1094
+ punctuation: /\?\.?|::|[{}[\];(),.:]/
1095
+ })),
1096
+ e.languages.insertBefore("csharp", "number", {
1097
+ range: { pattern: /\.\./, alias: "operator" }
1098
+ }),
1099
+ e.languages.insertBefore("csharp", "punctuation", {
1100
+ "named-parameter": {
1101
+ pattern: s("([(,]\\s*)<<0>>(?=\\s*:)", [h]),
1102
+ lookbehind: !0,
1103
+ alias: "punctuation"
1104
+ }
1105
+ }),
1106
+ e.languages.insertBefore("csharp", "class-name", {
1107
+ namespace: {
1108
+ pattern: s(
1109
+ "(\\b(?:namespace|using)\\s+)<<0>>(?:\\s*\\.\\s*<<0>>)*(?=\\s*[;{])",
1110
+ [h]
1111
+ ),
1112
+ lookbehind: !0,
1113
+ inside: { punctuation: /\./ }
1114
+ },
1115
+ "type-expression": {
1116
+ pattern: s(
1117
+ "(\\b(?:default|sizeof|typeof)\\s*\\(\\s*(?!\\s))(?:[^()\\s]|\\s(?!\\s)|<<0>>)*(?=\\s*\\))",
1118
+ [b]
1119
+ ),
1120
+ lookbehind: !0,
1121
+ alias: "class-name",
1122
+ inside: $
1123
+ },
1124
+ "return-type": {
1125
+ pattern: s(
1126
+ "<<0>>(?=\\s+(?:<<1>>\\s*(?:=>|[({]|\\.\\s*this\\s*\\[)|this\\s*\\[))",
1127
+ [x, m]
1128
+ ),
1129
+ inside: $,
1130
+ alias: "class-name"
1131
+ },
1132
+ "constructor-invocation": {
1133
+ pattern: s("(\\bnew\\s+)<<0>>(?=\\s*[[({])", [x]),
1134
+ lookbehind: !0,
1135
+ inside: $,
1136
+ alias: "class-name"
1137
+ },
1138
+ "generic-method": {
1139
+ pattern: s("<<0>>\\s*<<1>>(?=\\s*\\()", [h, g]),
1140
+ inside: {
1141
+ function: s("^<<0>>", [h]),
1142
+ generic: {
1143
+ pattern: RegExp(g),
1144
+ alias: "class-name",
1145
+ inside: $
1146
+ }
1147
+ }
1148
+ },
1149
+ "type-list": {
1150
+ pattern: s(
1151
+ "\\b((?:<<0>>\\s+<<1>>|record\\s+<<1>>\\s*<<5>>|where\\s+<<2>>)\\s*:\\s*)(?:<<3>>|<<4>>|<<1>>\\s*<<5>>|<<6>>)(?:\\s*,\\s*(?:<<3>>|<<4>>|<<6>>))*(?=\\s*(?:where|[{;]|=>|$))",
1152
+ [d, f, h, x, p.source, b, "\\bnew\\s*\\(\\s*\\)"]
1153
+ ),
1154
+ lookbehind: !0,
1155
+ inside: {
1156
+ "record-arguments": {
1157
+ pattern: s("(^(?!new\\s*\\()<<0>>\\s*)<<1>>", [
1158
+ f,
1159
+ b
1160
+ ]),
1161
+ lookbehind: !0,
1162
+ greedy: !0,
1163
+ inside: e.languages.csharp
1164
+ },
1165
+ keyword: p,
1166
+ "class-name": {
1167
+ pattern: RegExp(x),
1168
+ greedy: !0,
1169
+ inside: $
1170
+ },
1171
+ punctuation: /[,()]/
1172
+ }
1173
+ },
1174
+ preprocessor: {
1175
+ pattern: /(^[\t ]*)#.*/m,
1176
+ lookbehind: !0,
1177
+ alias: "property",
1178
+ inside: {
1179
+ directive: {
1180
+ pattern:
1181
+ /(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,
1182
+ lookbehind: !0,
1183
+ alias: "keyword"
1184
+ }
1185
+ }
1186
+ }
1187
+ });
1188
+ var E = B + "|" + _,
1189
+ R = n(
1190
+ "/(?![*/])|//[^\r\n]*[\r\n]|/\\*(?:[^*]|\\*(?!/))*\\*/|<<0>>",
1191
+ [E]
1192
+ ),
1193
+ z = a(n("[^\"'/()]|<<0>>|\\(<<self>>*\\)", [R]), 2),
1194
+ S =
1195
+ "\\b(?:assembly|event|field|method|module|param|property|return|type)\\b",
1196
+ j = n("<<0>>(?:\\s*\\(<<1>>*\\))?", [m, z]);
1197
+ e.languages.insertBefore("csharp", "class-name", {
1198
+ attribute: {
1199
+ pattern: s(
1200
+ "((?:^|[^\\s\\w>)?])\\s*\\[\\s*)(?:<<0>>\\s*:\\s*)?<<1>>(?:\\s*,\\s*<<1>>)*(?=\\s*\\])",
1201
+ [S, j]
1202
+ ),
1203
+ lookbehind: !0,
1204
+ greedy: !0,
1205
+ inside: {
1206
+ target: {
1207
+ pattern: s("^<<0>>(?=\\s*:)", [S]),
1208
+ alias: "keyword"
1209
+ },
1210
+ "attribute-arguments": {
1211
+ pattern: s("\\(<<0>>*\\)", [z]),
1212
+ inside: e.languages.csharp
1213
+ },
1214
+ "class-name": {
1215
+ pattern: RegExp(m),
1216
+ inside: { punctuation: /\./ }
1217
+ },
1218
+ punctuation: /[:,]/
1219
+ }
1220
+ }
1221
+ });
1222
+ var A = ":[^}\r\n]+",
1223
+ F = a(n("[^\"'/()]|<<0>>|\\(<<self>>*\\)", [R]), 2),
1224
+ P = n("\\{(?!\\{)(?:(?![}:])<<0>>)*<<1>>?\\}", [F, A]),
1225
+ U = a(
1226
+ n(
1227
+ "[^\"'/()]|/(?!\\*)|/\\*(?:[^*]|\\*(?!/))*\\*/|<<0>>|\\(<<self>>*\\)",
1228
+ [E]
1229
+ ),
1230
+ 2
1231
+ ),
1232
+ Z = n("\\{(?!\\{)(?:(?![}:])<<0>>)*<<1>>?\\}", [U, A]);
1233
+ function q(n, a) {
1234
+ return {
1235
+ interpolation: {
1236
+ pattern: s("((?:^|[^{])(?:\\{\\{)*)<<0>>", [n]),
1237
+ lookbehind: !0,
1238
+ inside: {
1239
+ "format-string": {
1240
+ pattern: s(
1241
+ "(^\\{(?:(?![}:])<<0>>)*)<<1>>(?=\\}$)",
1242
+ [a, A]
1243
+ ),
1244
+ lookbehind: !0,
1245
+ inside: { punctuation: /^:/ }
1246
+ },
1247
+ punctuation: /^\{|\}$/,
1248
+ expression: {
1249
+ pattern: /[\s\S]+/,
1250
+ alias: "language-csharp",
1251
+ inside: e.languages.csharp
1252
+ }
1253
+ }
1254
+ },
1255
+ string: /[\s\S]+/
1256
+ };
1257
+ }
1258
+ e.languages.insertBefore("csharp", "string", {
1259
+ "interpolation-string": [
1260
+ {
1261
+ pattern: s(
1262
+ '(^|[^\\\\])(?:\\$@|@\\$)"(?:""|\\\\[^]|\\{\\{|<<0>>|[^\\\\{"])*"',
1263
+ [P]
1264
+ ),
1265
+ lookbehind: !0,
1266
+ greedy: !0,
1267
+ inside: q(P, F)
1268
+ },
1269
+ {
1270
+ pattern: s(
1271
+ '(^|[^@\\\\])\\$"(?:\\\\.|\\{\\{|<<0>>|[^\\\\"{])*"',
1272
+ [Z]
1273
+ ),
1274
+ lookbehind: !0,
1275
+ greedy: !0,
1276
+ inside: q(Z, U)
1277
+ }
1278
+ ],
1279
+ char: { pattern: RegExp(_), greedy: !0 }
1280
+ }),
1281
+ (e.languages.dotnet = e.languages.cs = e.languages.csharp);
1282
+ })(Prism);
1283
+ (Prism.languages.aspnet = Prism.languages.extend("markup", {
1284
+ "page-directive": {
1285
+ pattern: /<%\s*@.*%>/,
1286
+ alias: "tag",
1287
+ inside: {
1288
+ "page-directive": {
1289
+ pattern:
1290
+ /<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,
1291
+ alias: "tag"
1292
+ },
1293
+ rest: Prism.languages.markup.tag.inside
1294
+ }
1295
+ },
1296
+ directive: {
1297
+ pattern: /<%.*%>/,
1298
+ alias: "tag",
1299
+ inside: {
1300
+ directive: { pattern: /<%\s*?[$=%#:]{0,2}|%>/, alias: "tag" },
1301
+ rest: Prism.languages.csharp
1302
+ }
1303
+ }
1304
+ })),
1305
+ (Prism.languages.aspnet.tag.pattern =
1306
+ /<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/),
1307
+ Prism.languages.insertBefore(
1308
+ "inside",
1309
+ "punctuation",
1310
+ { directive: Prism.languages.aspnet.directive },
1311
+ Prism.languages.aspnet.tag.inside["attr-value"]
1312
+ ),
1313
+ Prism.languages.insertBefore("aspnet", "comment", {
1314
+ "asp-comment": {
1315
+ pattern: /<%--[\s\S]*?--%>/,
1316
+ alias: ["asp", "comment"]
1317
+ }
1318
+ }),
1319
+ Prism.languages.insertBefore(
1320
+ "aspnet",
1321
+ Prism.languages.javascript ? "script" : "tag",
1322
+ {
1323
+ "asp-script": {
1324
+ pattern:
1325
+ /(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,
1326
+ lookbehind: !0,
1327
+ alias: ["asp", "script"],
1328
+ inside: Prism.languages.csharp || {}
1329
+ }
1330
+ }
1331
+ );
1332
+ !(function (e) {
1333
+ var t =
1334
+ "\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",
1335
+ n = {
1336
+ pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
1337
+ lookbehind: !0,
1338
+ alias: "punctuation",
1339
+ inside: null
1340
+ },
1341
+ a = {
1342
+ bash: n,
1343
+ environment: { pattern: RegExp("\\$" + t), alias: "constant" },
1344
+ variable: [
1345
+ {
1346
+ pattern: /\$?\(\([\s\S]+?\)\)/,
1347
+ greedy: !0,
1348
+ inside: {
1349
+ variable: [
1350
+ {
1351
+ pattern: /(^\$\(\([\s\S]+)\)\)/,
1352
+ lookbehind: !0
1353
+ },
1354
+ /^\$\(\(/
1355
+ ],
1356
+ number: /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
1357
+ operator:
1358
+ /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
1359
+ punctuation: /\(\(?|\)\)?|,|;/
1360
+ }
1361
+ },
1362
+ {
1363
+ pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
1364
+ greedy: !0,
1365
+ inside: { variable: /^\$\(|^`|\)$|`$/ }
1366
+ },
1367
+ {
1368
+ pattern: /\$\{[^}]+\}/,
1369
+ greedy: !0,
1370
+ inside: {
1371
+ operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
1372
+ punctuation: /[\[\]]/,
1373
+ environment: {
1374
+ pattern: RegExp("(\\{)" + t),
1375
+ lookbehind: !0,
1376
+ alias: "constant"
1377
+ }
1378
+ }
1379
+ },
1380
+ /\$(?:\w+|[#?*!@$])/
1381
+ ],
1382
+ entity: /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/
1383
+ };
1384
+ (e.languages.bash = {
1385
+ shebang: { pattern: /^#!\s*\/.*/, alias: "important" },
1386
+ comment: { pattern: /(^|[^"{\\$])#.*/, lookbehind: !0 },
1387
+ "function-name": [
1388
+ {
1389
+ pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,
1390
+ lookbehind: !0,
1391
+ alias: "function"
1392
+ },
1393
+ { pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/, alias: "function" }
1394
+ ],
1395
+ "for-or-select": {
1396
+ pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
1397
+ alias: "variable",
1398
+ lookbehind: !0
1399
+ },
1400
+ "assign-left": {
1401
+ pattern: /(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,
1402
+ inside: {
1403
+ environment: {
1404
+ pattern: RegExp("(^|[\\s;|&]|[<>]\\()" + t),
1405
+ lookbehind: !0,
1406
+ alias: "constant"
1407
+ }
1408
+ },
1409
+ alias: "variable",
1410
+ lookbehind: !0
1411
+ },
1412
+ parameter: {
1413
+ pattern: /(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,
1414
+ alias: "variable",
1415
+ lookbehind: !0
1416
+ },
1417
+ string: [
1418
+ {
1419
+ pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
1420
+ lookbehind: !0,
1421
+ greedy: !0,
1422
+ inside: a
1423
+ },
1424
+ {
1425
+ pattern:
1426
+ /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
1427
+ lookbehind: !0,
1428
+ greedy: !0,
1429
+ inside: { bash: n }
1430
+ },
1431
+ {
1432
+ pattern:
1433
+ /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
1434
+ lookbehind: !0,
1435
+ greedy: !0,
1436
+ inside: a
1437
+ },
1438
+ { pattern: /(^|[^$\\])'[^']*'/, lookbehind: !0, greedy: !0 },
1439
+ {
1440
+ pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
1441
+ greedy: !0,
1442
+ inside: { entity: a.entity }
1443
+ }
1444
+ ],
1445
+ environment: { pattern: RegExp("\\$?" + t), alias: "constant" },
1446
+ variable: a.variable,
1447
+ function: {
1448
+ pattern:
1449
+ /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
1450
+ lookbehind: !0
1451
+ },
1452
+ keyword: {
1453
+ pattern:
1454
+ /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
1455
+ lookbehind: !0
1456
+ },
1457
+ builtin: {
1458
+ pattern:
1459
+ /(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,
1460
+ lookbehind: !0,
1461
+ alias: "class-name"
1462
+ },
1463
+ boolean: {
1464
+ pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,
1465
+ lookbehind: !0
1466
+ },
1467
+ "file-descriptor": { pattern: /\B&\d\b/, alias: "important" },
1468
+ operator: {
1469
+ pattern:
1470
+ /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
1471
+ inside: {
1472
+ "file-descriptor": { pattern: /^\d/, alias: "important" }
1473
+ }
1474
+ },
1475
+ punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
1476
+ number: {
1477
+ pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
1478
+ lookbehind: !0
1479
+ }
1480
+ }),
1481
+ (n.inside = e.languages.bash);
1482
+ for (
1483
+ var s = [
1484
+ "comment",
1485
+ "function-name",
1486
+ "for-or-select",
1487
+ "assign-left",
1488
+ "parameter",
1489
+ "string",
1490
+ "environment",
1491
+ "function",
1492
+ "keyword",
1493
+ "builtin",
1494
+ "boolean",
1495
+ "file-descriptor",
1496
+ "operator",
1497
+ "punctuation",
1498
+ "number"
1499
+ ],
1500
+ o = a.variable[1].inside,
1501
+ i = 0;
1502
+ i < s.length;
1503
+ i++
1504
+ )
1505
+ o[s[i]] = e.languages.bash[s[i]];
1506
+ e.languages.shell = e.languages.bash;
1507
+ })(Prism);
1508
+ Prism.languages.basic = {
1509
+ comment: { pattern: /(?:!|REM\b).+/i, inside: { keyword: /^REM/i } },
1510
+ string: {
1511
+ pattern: /"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,
1512
+ greedy: !0
1513
+ },
1514
+ number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
1515
+ keyword:
1516
+ /\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,
1517
+ function:
1518
+ /\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,
1519
+ operator: /<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,
1520
+ punctuation: /[,;:()]/
1521
+ };
1522
+ (Prism.languages.c = Prism.languages.extend("clike", {
1523
+ comment: {
1524
+ pattern:
1525
+ /\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,
1526
+ greedy: !0
1527
+ },
1528
+ string: { pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/, greedy: !0 },
1529
+ "class-name": {
1530
+ pattern:
1531
+ /(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,
1532
+ lookbehind: !0
1533
+ },
1534
+ keyword:
1535
+ /\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,
1536
+ function: /\b[a-z_]\w*(?=\s*\()/i,
1537
+ number: /(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,
1538
+ operator: />>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/
1539
+ })),
1540
+ Prism.languages.insertBefore("c", "string", {
1541
+ char: {
1542
+ pattern: /'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,
1543
+ greedy: !0
1544
+ }
1545
+ }),
1546
+ Prism.languages.insertBefore("c", "string", {
1547
+ macro: {
1548
+ pattern:
1549
+ /(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,
1550
+ lookbehind: !0,
1551
+ greedy: !0,
1552
+ alias: "property",
1553
+ inside: {
1554
+ string: [
1555
+ { pattern: /^(#\s*include\s*)<[^>]+>/, lookbehind: !0 },
1556
+ Prism.languages.c.string
1557
+ ],
1558
+ char: Prism.languages.c.char,
1559
+ comment: Prism.languages.c.comment,
1560
+ "macro-name": [
1561
+ {
1562
+ pattern: /(^#\s*define\s+)\w+\b(?!\()/i,
1563
+ lookbehind: !0
1564
+ },
1565
+ {
1566
+ pattern: /(^#\s*define\s+)\w+\b(?=\()/i,
1567
+ lookbehind: !0,
1568
+ alias: "function"
1569
+ }
1570
+ ],
1571
+ directive: {
1572
+ pattern: /^(#\s*)[a-z]+/,
1573
+ lookbehind: !0,
1574
+ alias: "keyword"
1575
+ },
1576
+ "directive-hash": /^#/,
1577
+ punctuation: /##|\\(?=[\r\n])/,
1578
+ expression: {
1579
+ pattern: /\S[\s\S]*/,
1580
+ inside: Prism.languages.c
1581
+ }
1582
+ }
1583
+ }
1584
+ }),
1585
+ Prism.languages.insertBefore("c", "function", {
1586
+ constant:
1587
+ /\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/
1588
+ }),
1589
+ delete Prism.languages.c.boolean;
1590
+ !(function (e) {
1591
+ var t =
1592
+ /\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,
1593
+ n = "\\b(?!<keyword>)\\w+(?:\\s*\\.\\s*\\w+)*\\b".replace(
1594
+ /<keyword>/g,
1595
+ function () {
1596
+ return t.source;
1597
+ }
1598
+ );
1599
+ (e.languages.cpp = e.languages.extend("c", {
1600
+ "class-name": [
1601
+ {
1602
+ pattern: RegExp(
1603
+ "(\\b(?:class|concept|enum|struct|typename)\\s+)(?!<keyword>)\\w+".replace(
1604
+ /<keyword>/g,
1605
+ function () {
1606
+ return t.source;
1607
+ }
1608
+ )
1609
+ ),
1610
+ lookbehind: !0
1611
+ },
1612
+ /\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,
1613
+ /\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,
1614
+ /\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/
1615
+ ],
1616
+ keyword: t,
1617
+ number: {
1618
+ pattern:
1619
+ /(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,
1620
+ greedy: !0
1621
+ },
1622
+ operator:
1623
+ />>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,
1624
+ boolean: /\b(?:false|true)\b/
1625
+ })),
1626
+ e.languages.insertBefore("cpp", "string", {
1627
+ module: {
1628
+ pattern: RegExp(
1629
+ '(\\b(?:import|module)\\s+)(?:"(?:\\\\(?:\r\n|[^])|[^"\\\\\r\n])*"|<[^<>\r\n]*>|' +
1630
+ "<mod-name>(?:\\s*:\\s*<mod-name>)?|:\\s*<mod-name>".replace(
1631
+ /<mod-name>/g,
1632
+ function () {
1633
+ return n;
1634
+ }
1635
+ ) +
1636
+ ")"
1637
+ ),
1638
+ lookbehind: !0,
1639
+ greedy: !0,
1640
+ inside: {
1641
+ string: /^[<"][\s\S]+/,
1642
+ operator: /:/,
1643
+ punctuation: /\./
1644
+ }
1645
+ },
1646
+ "raw-string": {
1647
+ pattern: /R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,
1648
+ alias: "string",
1649
+ greedy: !0
1650
+ }
1651
+ }),
1652
+ e.languages.insertBefore("cpp", "keyword", {
1653
+ "generic-function": {
1654
+ pattern:
1655
+ /\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,
1656
+ inside: {
1657
+ function: /^\w+/,
1658
+ generic: {
1659
+ pattern: /<[\s\S]+/,
1660
+ alias: "class-name",
1661
+ inside: e.languages.cpp
1662
+ }
1663
+ }
1664
+ }
1665
+ }),
1666
+ e.languages.insertBefore("cpp", "operator", {
1667
+ "double-colon": { pattern: /::/, alias: "punctuation" }
1668
+ }),
1669
+ e.languages.insertBefore("cpp", "class-name", {
1670
+ "base-clause": {
1671
+ pattern:
1672
+ /(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,
1673
+ lookbehind: !0,
1674
+ greedy: !0,
1675
+ inside: e.languages.extend("cpp", {})
1676
+ }
1677
+ }),
1678
+ e.languages.insertBefore(
1679
+ "inside",
1680
+ "double-colon",
1681
+ { "class-name": /\b[a-z_]\w*\b(?!\s*::)/i },
1682
+ e.languages.cpp["base-clause"]
1683
+ );
1684
+ })(Prism);
1685
+ !(function (e) {
1686
+ var a,
1687
+ n = /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;
1688
+ (e.languages.css.selector = {
1689
+ pattern: e.languages.css.selector.pattern,
1690
+ lookbehind: !0,
1691
+ inside: (a = {
1692
+ "pseudo-element":
1693
+ /:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,
1694
+ "pseudo-class": /:[-\w]+/,
1695
+ class: /\.[-\w]+/,
1696
+ id: /#[-\w]+/,
1697
+ attribute: {
1698
+ pattern: RegExp("\\[(?:[^[\\]\"']|" + n.source + ")*\\]"),
1699
+ greedy: !0,
1700
+ inside: {
1701
+ punctuation: /^\[|\]$/,
1702
+ "case-sensitivity": {
1703
+ pattern: /(\s)[si]$/i,
1704
+ lookbehind: !0,
1705
+ alias: "keyword"
1706
+ },
1707
+ namespace: {
1708
+ pattern:
1709
+ /^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,
1710
+ lookbehind: !0,
1711
+ inside: { punctuation: /\|$/ }
1712
+ },
1713
+ "attr-name": {
1714
+ pattern: /^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,
1715
+ lookbehind: !0
1716
+ },
1717
+ "attr-value": [
1718
+ n,
1719
+ {
1720
+ pattern:
1721
+ /(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,
1722
+ lookbehind: !0
1723
+ }
1724
+ ],
1725
+ operator: /[|~*^$]?=/
1726
+ }
1727
+ },
1728
+ "n-th": [
1729
+ {
1730
+ pattern:
1731
+ /(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,
1732
+ lookbehind: !0,
1733
+ inside: { number: /[\dn]+/, operator: /[+-]/ }
1734
+ },
1735
+ { pattern: /(\(\s*)(?:even|odd)(?=\s*\))/i, lookbehind: !0 }
1736
+ ],
1737
+ combinator: />|\+|~|\|\|/,
1738
+ punctuation: /[(),]/
1739
+ })
1740
+ }),
1741
+ (e.languages.css.atrule.inside[
1742
+ "selector-function-argument"
1743
+ ].inside = a),
1744
+ e.languages.insertBefore("css", "property", {
1745
+ variable: {
1746
+ pattern:
1747
+ /(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,
1748
+ lookbehind: !0
1749
+ }
1750
+ });
1751
+ var r = { pattern: /(\b\d+)(?:%|[a-z]+(?![\w-]))/, lookbehind: !0 },
1752
+ i = {
1753
+ pattern: /(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,
1754
+ lookbehind: !0
1755
+ };
1756
+ e.languages.insertBefore("css", "function", {
1757
+ operator: { pattern: /(\s)[+\-*\/](?=\s)/, lookbehind: !0 },
1758
+ hexcode: { pattern: /\B#[\da-f]{3,8}\b/i, alias: "color" },
1759
+ color: [
1760
+ {
1761
+ pattern:
1762
+ /(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,
1763
+ lookbehind: !0
1764
+ },
1765
+ {
1766
+ pattern:
1767
+ /\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,
1768
+ inside: {
1769
+ unit: r,
1770
+ number: i,
1771
+ function: /[\w-]+(?=\()/,
1772
+ punctuation: /[(),]/
1773
+ }
1774
+ }
1775
+ ],
1776
+ entity: /\\[\da-f]{1,8}/i,
1777
+ unit: r,
1778
+ number: i
1779
+ });
1780
+ })(Prism);
1781
+ !(function (e) {
1782
+ var n =
1783
+ /\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,
1784
+ t = "(?:[a-z]\\w*\\s*\\.\\s*)*(?:[A-Z]\\w*\\s*\\.\\s*)*",
1785
+ s = {
1786
+ pattern: RegExp(
1787
+ "(^|[^\\w.])" + t + "[A-Z](?:[\\d_A-Z]*[a-z]\\w*)?\\b"
1788
+ ),
1789
+ lookbehind: !0,
1790
+ inside: {
1791
+ namespace: {
1792
+ pattern: /^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,
1793
+ inside: { punctuation: /\./ }
1794
+ },
1795
+ punctuation: /\./
1796
+ }
1797
+ };
1798
+ (e.languages.java = e.languages.extend("clike", {
1799
+ string: {
1800
+ pattern: /(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,
1801
+ lookbehind: !0,
1802
+ greedy: !0
1803
+ },
1804
+ "class-name": [
1805
+ s,
1806
+ {
1807
+ pattern: RegExp(
1808
+ "(^|[^\\w.])" +
1809
+ t +
1810
+ "[A-Z]\\w*(?=\\s+\\w+\\s*[;,=()]|\\s*(?:\\[[\\s,]*\\]\\s*)?::\\s*new\\b)"
1811
+ ),
1812
+ lookbehind: !0,
1813
+ inside: s.inside
1814
+ },
1815
+ {
1816
+ pattern: RegExp(
1817
+ "(\\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\\s+)" +
1818
+ t +
1819
+ "[A-Z]\\w*\\b"
1820
+ ),
1821
+ lookbehind: !0,
1822
+ inside: s.inside
1823
+ }
1824
+ ],
1825
+ keyword: n,
1826
+ function: [
1827
+ e.languages.clike.function,
1828
+ { pattern: /(::\s*)[a-z_]\w*/, lookbehind: !0 }
1829
+ ],
1830
+ number: /\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,
1831
+ operator: {
1832
+ pattern:
1833
+ /(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,
1834
+ lookbehind: !0
1835
+ },
1836
+ constant: /\b[A-Z][A-Z_\d]+\b/
1837
+ })),
1838
+ e.languages.insertBefore("java", "string", {
1839
+ "triple-quoted-string": {
1840
+ pattern: /"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,
1841
+ greedy: !0,
1842
+ alias: "string"
1843
+ },
1844
+ char: { pattern: /'(?:\\.|[^'\\\r\n]){1,6}'/, greedy: !0 }
1845
+ }),
1846
+ e.languages.insertBefore("java", "class-name", {
1847
+ annotation: {
1848
+ pattern: /(^|[^.])@\w+(?:\s*\.\s*\w+)*/,
1849
+ lookbehind: !0,
1850
+ alias: "punctuation"
1851
+ },
1852
+ generics: {
1853
+ pattern:
1854
+ /<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,
1855
+ inside: {
1856
+ "class-name": s,
1857
+ keyword: n,
1858
+ punctuation: /[<>(),.:]/,
1859
+ operator: /[?&|]/
1860
+ }
1861
+ },
1862
+ import: [
1863
+ {
1864
+ pattern: RegExp(
1865
+ "(\\bimport\\s+)" + t + "(?:[A-Z]\\w*|\\*)(?=\\s*;)"
1866
+ ),
1867
+ lookbehind: !0,
1868
+ inside: {
1869
+ namespace: s.inside.namespace,
1870
+ punctuation: /\./,
1871
+ operator: /\*/,
1872
+ "class-name": /\w+/
1873
+ }
1874
+ },
1875
+ {
1876
+ pattern: RegExp(
1877
+ "(\\bimport\\s+static\\s+)" +
1878
+ t +
1879
+ "(?:\\w+|\\*)(?=\\s*;)"
1880
+ ),
1881
+ lookbehind: !0,
1882
+ alias: "static",
1883
+ inside: {
1884
+ namespace: s.inside.namespace,
1885
+ static: /\b\w+$/,
1886
+ punctuation: /\./,
1887
+ operator: /\*/,
1888
+ "class-name": /\w+/
1889
+ }
1890
+ }
1891
+ ],
1892
+ namespace: {
1893
+ pattern: RegExp(
1894
+ "(\\b(?:exports|import(?:\\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\\s+)(?!<keyword>)[a-z]\\w*(?:\\.[a-z]\\w*)*\\.?".replace(
1895
+ /<keyword>/g,
1896
+ function () {
1897
+ return n.source;
1898
+ }
1899
+ )
1900
+ ),
1901
+ lookbehind: !0,
1902
+ inside: { punctuation: /\./ }
1903
+ }
1904
+ });
1905
+ })(Prism);
1906
+ !(function (e) {
1907
+ function n(e, n) {
1908
+ return "___" + e.toUpperCase() + n + "___";
1909
+ }
1910
+ Object.defineProperties((e.languages["markup-templating"] = {}), {
1911
+ buildPlaceholders: {
1912
+ value: function (t, a, r, o) {
1913
+ if (t.language === a) {
1914
+ var c = (t.tokenStack = []);
1915
+ (t.code = t.code.replace(r, function (e) {
1916
+ if ("function" == typeof o && !o(e)) return e;
1917
+ for (
1918
+ var r, i = c.length;
1919
+ -1 !== t.code.indexOf((r = n(a, i)));
1920
+
1921
+ )
1922
+ ++i;
1923
+ return (c[i] = e), r;
1924
+ })),
1925
+ (t.grammar = e.languages.markup);
1926
+ }
1927
+ }
1928
+ },
1929
+ tokenizePlaceholders: {
1930
+ value: function (t, a) {
1931
+ if (t.language === a && t.tokenStack) {
1932
+ t.grammar = e.languages[a];
1933
+ var r = 0,
1934
+ o = Object.keys(t.tokenStack);
1935
+ !(function c(i) {
1936
+ for (
1937
+ var u = 0;
1938
+ u < i.length && !(r >= o.length);
1939
+ u++
1940
+ ) {
1941
+ var g = i[u];
1942
+ if (
1943
+ "string" == typeof g ||
1944
+ (g.content && "string" == typeof g.content)
1945
+ ) {
1946
+ var l = o[r],
1947
+ s = t.tokenStack[l],
1948
+ f =
1949
+ "string" == typeof g
1950
+ ? g
1951
+ : g.content,
1952
+ p = n(a, l),
1953
+ k = f.indexOf(p);
1954
+ if (k > -1) {
1955
+ ++r;
1956
+ var m = f.substring(0, k),
1957
+ d = new e.Token(
1958
+ a,
1959
+ e.tokenize(s, t.grammar),
1960
+ "language-" + a,
1961
+ s
1962
+ ),
1963
+ h = f.substring(k + p.length),
1964
+ v = [];
1965
+ m && v.push.apply(v, c([m])),
1966
+ v.push(d),
1967
+ h && v.push.apply(v, c([h])),
1968
+ "string" == typeof g
1969
+ ? i.splice.apply(
1970
+ i,
1971
+ [u, 1].concat(v)
1972
+ )
1973
+ : (g.content = v);
1974
+ }
1975
+ } else g.content && c(g.content);
1976
+ }
1977
+ return i;
1978
+ })(t.tokens);
1979
+ }
1980
+ }
1981
+ }
1982
+ });
1983
+ })(Prism);
1984
+ !(function (e) {
1985
+ var a = /\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,
1986
+ t = [
1987
+ { pattern: /\b(?:false|true)\b/i, alias: "boolean" },
1988
+ {
1989
+ pattern: /(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,
1990
+ greedy: !0,
1991
+ lookbehind: !0
1992
+ },
1993
+ {
1994
+ pattern: /(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,
1995
+ greedy: !0,
1996
+ lookbehind: !0
1997
+ },
1998
+ /\b(?:null)\b/i,
1999
+ /\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/
2000
+ ],
2001
+ i =
2002
+ /\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
2003
+ n =
2004
+ /<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,
2005
+ s = /[{}\[\](),:;]/;
2006
+ e.languages.php = {
2007
+ delimiter: {
2008
+ pattern: /\?>$|^<\?(?:php(?=\s)|=)?/i,
2009
+ alias: "important"
2010
+ },
2011
+ comment: a,
2012
+ variable: /\$+(?:\w+\b|(?=\{))/,
2013
+ package: {
2014
+ pattern:
2015
+ /(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,
2016
+ lookbehind: !0,
2017
+ inside: { punctuation: /\\/ }
2018
+ },
2019
+ "class-name-definition": {
2020
+ pattern:
2021
+ /(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,
2022
+ lookbehind: !0,
2023
+ alias: "class-name"
2024
+ },
2025
+ "function-definition": {
2026
+ pattern: /(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,
2027
+ lookbehind: !0,
2028
+ alias: "function"
2029
+ },
2030
+ keyword: [
2031
+ {
2032
+ pattern:
2033
+ /(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,
2034
+ alias: "type-casting",
2035
+ greedy: !0,
2036
+ lookbehind: !0
2037
+ },
2038
+ {
2039
+ pattern:
2040
+ /([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,
2041
+ alias: "type-hint",
2042
+ greedy: !0,
2043
+ lookbehind: !0
2044
+ },
2045
+ {
2046
+ pattern:
2047
+ /(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,
2048
+ alias: "return-type",
2049
+ greedy: !0,
2050
+ lookbehind: !0
2051
+ },
2052
+ {
2053
+ pattern:
2054
+ /\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,
2055
+ alias: "type-declaration",
2056
+ greedy: !0
2057
+ },
2058
+ {
2059
+ pattern:
2060
+ /(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,
2061
+ alias: "type-declaration",
2062
+ greedy: !0,
2063
+ lookbehind: !0
2064
+ },
2065
+ {
2066
+ pattern: /\b(?:parent|self|static)(?=\s*::)/i,
2067
+ alias: "static-context",
2068
+ greedy: !0
2069
+ },
2070
+ { pattern: /(\byield\s+)from\b/i, lookbehind: !0 },
2071
+ /\bclass\b/i,
2072
+ {
2073
+ pattern:
2074
+ /((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,
2075
+ lookbehind: !0
2076
+ }
2077
+ ],
2078
+ "argument-name": {
2079
+ pattern: /([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,
2080
+ lookbehind: !0
2081
+ },
2082
+ "class-name": [
2083
+ {
2084
+ pattern:
2085
+ /(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,
2086
+ greedy: !0,
2087
+ lookbehind: !0
2088
+ },
2089
+ {
2090
+ pattern: /(\|\s*)\b[a-z_]\w*(?!\\)\b/i,
2091
+ greedy: !0,
2092
+ lookbehind: !0
2093
+ },
2094
+ { pattern: /\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i, greedy: !0 },
2095
+ {
2096
+ pattern: /(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,
2097
+ alias: "class-name-fully-qualified",
2098
+ greedy: !0,
2099
+ lookbehind: !0,
2100
+ inside: { punctuation: /\\/ }
2101
+ },
2102
+ {
2103
+ pattern: /(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,
2104
+ alias: "class-name-fully-qualified",
2105
+ greedy: !0,
2106
+ inside: { punctuation: /\\/ }
2107
+ },
2108
+ {
2109
+ pattern:
2110
+ /(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,
2111
+ alias: "class-name-fully-qualified",
2112
+ greedy: !0,
2113
+ lookbehind: !0,
2114
+ inside: { punctuation: /\\/ }
2115
+ },
2116
+ {
2117
+ pattern: /\b[a-z_]\w*(?=\s*\$)/i,
2118
+ alias: "type-declaration",
2119
+ greedy: !0
2120
+ },
2121
+ {
2122
+ pattern: /(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,
2123
+ alias: ["class-name-fully-qualified", "type-declaration"],
2124
+ greedy: !0,
2125
+ inside: { punctuation: /\\/ }
2126
+ },
2127
+ {
2128
+ pattern: /\b[a-z_]\w*(?=\s*::)/i,
2129
+ alias: "static-context",
2130
+ greedy: !0
2131
+ },
2132
+ {
2133
+ pattern: /(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,
2134
+ alias: ["class-name-fully-qualified", "static-context"],
2135
+ greedy: !0,
2136
+ inside: { punctuation: /\\/ }
2137
+ },
2138
+ {
2139
+ pattern: /([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,
2140
+ alias: "type-hint",
2141
+ greedy: !0,
2142
+ lookbehind: !0
2143
+ },
2144
+ {
2145
+ pattern: /([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,
2146
+ alias: ["class-name-fully-qualified", "type-hint"],
2147
+ greedy: !0,
2148
+ lookbehind: !0,
2149
+ inside: { punctuation: /\\/ }
2150
+ },
2151
+ {
2152
+ pattern: /(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,
2153
+ alias: "return-type",
2154
+ greedy: !0,
2155
+ lookbehind: !0
2156
+ },
2157
+ {
2158
+ pattern:
2159
+ /(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,
2160
+ alias: ["class-name-fully-qualified", "return-type"],
2161
+ greedy: !0,
2162
+ lookbehind: !0,
2163
+ inside: { punctuation: /\\/ }
2164
+ }
2165
+ ],
2166
+ constant: t,
2167
+ function: {
2168
+ pattern: /(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,
2169
+ lookbehind: !0,
2170
+ inside: { punctuation: /\\/ }
2171
+ },
2172
+ property: { pattern: /(->\s*)\w+/, lookbehind: !0 },
2173
+ number: i,
2174
+ operator: n,
2175
+ punctuation: s
2176
+ };
2177
+ var l = {
2178
+ pattern:
2179
+ /\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,
2180
+ lookbehind: !0,
2181
+ inside: e.languages.php
2182
+ },
2183
+ r = [
2184
+ {
2185
+ pattern: /<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,
2186
+ alias: "nowdoc-string",
2187
+ greedy: !0,
2188
+ inside: {
2189
+ delimiter: {
2190
+ pattern: /^<<<'[^']+'|[a-z_]\w*;$/i,
2191
+ alias: "symbol",
2192
+ inside: { punctuation: /^<<<'?|[';]$/ }
2193
+ }
2194
+ }
2195
+ },
2196
+ {
2197
+ pattern:
2198
+ /<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,
2199
+ alias: "heredoc-string",
2200
+ greedy: !0,
2201
+ inside: {
2202
+ delimiter: {
2203
+ pattern: /^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,
2204
+ alias: "symbol",
2205
+ inside: { punctuation: /^<<<"?|[";]$/ }
2206
+ },
2207
+ interpolation: l
2208
+ }
2209
+ },
2210
+ {
2211
+ pattern: /`(?:\\[\s\S]|[^\\`])*`/,
2212
+ alias: "backtick-quoted-string",
2213
+ greedy: !0
2214
+ },
2215
+ {
2216
+ pattern: /'(?:\\[\s\S]|[^\\'])*'/,
2217
+ alias: "single-quoted-string",
2218
+ greedy: !0
2219
+ },
2220
+ {
2221
+ pattern: /"(?:\\[\s\S]|[^\\"])*"/,
2222
+ alias: "double-quoted-string",
2223
+ greedy: !0,
2224
+ inside: { interpolation: l }
2225
+ }
2226
+ ];
2227
+ e.languages.insertBefore("php", "variable", {
2228
+ string: r,
2229
+ attribute: {
2230
+ pattern:
2231
+ /#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,
2232
+ greedy: !0,
2233
+ inside: {
2234
+ "attribute-content": {
2235
+ pattern: /^(#\[)[\s\S]+(?=\]$)/,
2236
+ lookbehind: !0,
2237
+ inside: {
2238
+ comment: a,
2239
+ string: r,
2240
+ "attribute-class-name": [
2241
+ {
2242
+ pattern: /([^:]|^)\b[a-z_]\w*(?!\\)\b/i,
2243
+ alias: "class-name",
2244
+ greedy: !0,
2245
+ lookbehind: !0
2246
+ },
2247
+ {
2248
+ pattern: /([^:]|^)(?:\\?\b[a-z_]\w*)+/i,
2249
+ alias: [
2250
+ "class-name",
2251
+ "class-name-fully-qualified"
2252
+ ],
2253
+ greedy: !0,
2254
+ lookbehind: !0,
2255
+ inside: { punctuation: /\\/ }
2256
+ }
2257
+ ],
2258
+ constant: t,
2259
+ number: i,
2260
+ operator: n,
2261
+ punctuation: s
2262
+ }
2263
+ },
2264
+ delimiter: { pattern: /^#\[|\]$/, alias: "punctuation" }
2265
+ }
2266
+ }
2267
+ }),
2268
+ e.hooks.add("before-tokenize", function (a) {
2269
+ /<\?/.test(a.code) &&
2270
+ e.languages["markup-templating"].buildPlaceholders(
2271
+ a,
2272
+ "php",
2273
+ /<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g
2274
+ );
2275
+ }),
2276
+ e.hooks.add("after-tokenize", function (a) {
2277
+ e.languages["markup-templating"].tokenizePlaceholders(a, "php");
2278
+ });
2279
+ })(Prism);
2280
+ !(function (a) {
2281
+ var e = (a.languages.javadoclike = {
2282
+ parameter: {
2283
+ pattern:
2284
+ /(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,
2285
+ lookbehind: !0
2286
+ },
2287
+ keyword: {
2288
+ pattern:
2289
+ /(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,
2290
+ lookbehind: !0
2291
+ },
2292
+ punctuation: /[{}]/
2293
+ });
2294
+ Object.defineProperty(e, "addSupport", {
2295
+ value: function (e, n) {
2296
+ "string" == typeof e && (e = [e]),
2297
+ e.forEach(function (e) {
2298
+ !(function (e, n) {
2299
+ var t = "doc-comment",
2300
+ r = a.languages[e];
2301
+ if (r) {
2302
+ var o = r[t];
2303
+ if (
2304
+ (o ||
2305
+ (o = (r = a.languages.insertBefore(
2306
+ e,
2307
+ "comment",
2308
+ {
2309
+ "doc-comment": {
2310
+ pattern:
2311
+ /(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,
2312
+ lookbehind: !0,
2313
+ alias: "comment"
2314
+ }
2315
+ }
2316
+ ))[t]),
2317
+ o instanceof RegExp &&
2318
+ (o = r[t] = { pattern: o }),
2319
+ Array.isArray(o))
2320
+ )
2321
+ for (var i = 0, s = o.length; i < s; i++)
2322
+ o[i] instanceof RegExp &&
2323
+ (o[i] = { pattern: o[i] }),
2324
+ n(o[i]);
2325
+ else n(o);
2326
+ }
2327
+ })(e, function (a) {
2328
+ a.inside || (a.inside = {}), (a.inside.rest = n);
2329
+ });
2330
+ });
2331
+ }
2332
+ }),
2333
+ e.addSupport(["java", "javascript", "php"], e);
2334
+ })(Prism);
2335
+ !(function (a) {
2336
+ var e = /(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,
2337
+ n =
2338
+ "(?:\\b[a-zA-Z]\\w+\\s*\\.\\s*)*\\b[A-Z]\\w*(?:\\s*<mem>)?|<mem>".replace(
2339
+ /<mem>/g,
2340
+ function () {
2341
+ return "#\\s*\\w+(?:\\s*\\([^()]*\\))?";
2342
+ }
2343
+ );
2344
+ (a.languages.javadoc = a.languages.extend("javadoclike", {})),
2345
+ a.languages.insertBefore("javadoc", "keyword", {
2346
+ reference: {
2347
+ pattern: RegExp(
2348
+ "(@(?:exception|link|linkplain|see|throws|value)\\s+(?:\\*\\s*)?)(?:" +
2349
+ n +
2350
+ ")"
2351
+ ),
2352
+ lookbehind: !0,
2353
+ inside: {
2354
+ function: {
2355
+ pattern: /(#\s*)\w+(?=\s*\()/,
2356
+ lookbehind: !0
2357
+ },
2358
+ field: { pattern: /(#\s*)\w+/, lookbehind: !0 },
2359
+ namespace: {
2360
+ pattern: /\b(?:[a-z]\w*\s*\.\s*)+/,
2361
+ inside: { punctuation: /\./ }
2362
+ },
2363
+ "class-name": /\b[A-Z]\w*/,
2364
+ keyword: a.languages.java.keyword,
2365
+ punctuation: /[#()[\],.]/
2366
+ }
2367
+ },
2368
+ "class-name": {
2369
+ pattern: /(@param\s+)<[A-Z]\w*>/,
2370
+ lookbehind: !0,
2371
+ inside: { punctuation: /[.<>]/ }
2372
+ },
2373
+ "code-section": [
2374
+ {
2375
+ pattern:
2376
+ /(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,
2377
+ lookbehind: !0,
2378
+ inside: {
2379
+ code: {
2380
+ pattern: e,
2381
+ lookbehind: !0,
2382
+ inside: a.languages.java,
2383
+ alias: "language-java"
2384
+ }
2385
+ }
2386
+ },
2387
+ {
2388
+ pattern:
2389
+ /(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,
2390
+ lookbehind: !0,
2391
+ inside: {
2392
+ line: {
2393
+ pattern: e,
2394
+ lookbehind: !0,
2395
+ inside: {
2396
+ tag: a.languages.markup.tag,
2397
+ entity: a.languages.markup.entity,
2398
+ code: {
2399
+ pattern: /.+/,
2400
+ inside: a.languages.java,
2401
+ alias: "language-java"
2402
+ }
2403
+ }
2404
+ }
2405
+ }
2406
+ }
2407
+ ],
2408
+ tag: a.languages.markup.tag,
2409
+ entity: a.languages.markup.entity
2410
+ }),
2411
+ a.languages.javadoclike.addSupport("java", a.languages.javadoc);
2412
+ })(Prism);
2413
+ !(function (e) {
2414
+ (e.languages.typescript = e.languages.extend("javascript", {
2415
+ "class-name": {
2416
+ pattern:
2417
+ /(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,
2418
+ lookbehind: !0,
2419
+ greedy: !0,
2420
+ inside: null
2421
+ },
2422
+ builtin:
2423
+ /\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/
2424
+ })),
2425
+ e.languages.typescript.keyword.push(
2426
+ /\b(?:abstract|declare|is|keyof|readonly|require)\b/,
2427
+ /\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,
2428
+ /\btype\b(?=\s*(?:[\{*]|$))/
2429
+ ),
2430
+ delete e.languages.typescript.parameter,
2431
+ delete e.languages.typescript["literal-property"];
2432
+ var s = e.languages.extend("typescript", {});
2433
+ delete s["class-name"],
2434
+ (e.languages.typescript["class-name"].inside = s),
2435
+ e.languages.insertBefore("typescript", "function", {
2436
+ decorator: {
2437
+ pattern: /@[$\w\xA0-\uFFFF]+/,
2438
+ inside: {
2439
+ at: { pattern: /^@/, alias: "operator" },
2440
+ function: /^[\s\S]+/
2441
+ }
2442
+ },
2443
+ "generic-function": {
2444
+ pattern:
2445
+ /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,
2446
+ greedy: !0,
2447
+ inside: {
2448
+ function:
2449
+ /^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,
2450
+ generic: {
2451
+ pattern: /<[\s\S]+/,
2452
+ alias: "class-name",
2453
+ inside: s
2454
+ }
2455
+ }
2456
+ }
2457
+ }),
2458
+ (e.languages.ts = e.languages.typescript);
2459
+ })(Prism);
2460
+ !(function (e) {
2461
+ var a = e.languages.javascript,
2462
+ n = "\\{(?:[^{}]|\\{(?:[^{}]|\\{[^{}]*\\})*\\})+\\}",
2463
+ t = "(@(?:arg|argument|param|property)\\s+(?:" + n + "\\s+)?)";
2464
+ (e.languages.jsdoc = e.languages.extend("javadoclike", {
2465
+ parameter: {
2466
+ pattern: RegExp(
2467
+ t + "(?:(?!\\s)[$\\w\\xA0-\\uFFFF.])+(?=\\s|$)"
2468
+ ),
2469
+ lookbehind: !0,
2470
+ inside: { punctuation: /\./ }
2471
+ }
2472
+ })),
2473
+ e.languages.insertBefore("jsdoc", "keyword", {
2474
+ "optional-parameter": {
2475
+ pattern: RegExp(
2476
+ t +
2477
+ "\\[(?:(?!\\s)[$\\w\\xA0-\\uFFFF.])+(?:=[^[\\]]+)?\\](?=\\s|$)"
2478
+ ),
2479
+ lookbehind: !0,
2480
+ inside: {
2481
+ parameter: {
2482
+ pattern: /(^\[)[$\w\xA0-\uFFFF\.]+/,
2483
+ lookbehind: !0,
2484
+ inside: { punctuation: /\./ }
2485
+ },
2486
+ code: {
2487
+ pattern: /(=)[\s\S]*(?=\]$)/,
2488
+ lookbehind: !0,
2489
+ inside: a,
2490
+ alias: "language-javascript"
2491
+ },
2492
+ punctuation: /[=[\]]/
2493
+ }
2494
+ },
2495
+ "class-name": [
2496
+ {
2497
+ pattern: RegExp(
2498
+ "(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\\s+(?:<TYPE>\\s+)?)[A-Z]\\w*(?:\\.[A-Z]\\w*)*".replace(
2499
+ /<TYPE>/g,
2500
+ function () {
2501
+ return n;
2502
+ }
2503
+ )
2504
+ ),
2505
+ lookbehind: !0,
2506
+ inside: { punctuation: /\./ }
2507
+ },
2508
+ {
2509
+ pattern: RegExp("(@[a-z]+\\s+)" + n),
2510
+ lookbehind: !0,
2511
+ inside: {
2512
+ string: a.string,
2513
+ number: a.number,
2514
+ boolean: a.boolean,
2515
+ keyword: e.languages.typescript.keyword,
2516
+ operator: /=>|\.\.\.|[&|?:*]/,
2517
+ punctuation: /[.,;=<>{}()[\]]/
2518
+ }
2519
+ }
2520
+ ],
2521
+ example: {
2522
+ pattern:
2523
+ /(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,
2524
+ lookbehind: !0,
2525
+ inside: {
2526
+ code: {
2527
+ pattern: /^([\t ]*(?:\*\s*)?)\S.*$/m,
2528
+ lookbehind: !0,
2529
+ inside: a,
2530
+ alias: "language-javascript"
2531
+ }
2532
+ }
2533
+ }
2534
+ }),
2535
+ e.languages.javadoclike.addSupport("javascript", e.languages.jsdoc);
2536
+ })(Prism);
2537
+ !(function (a) {
2538
+ function e(a, e) {
2539
+ return RegExp(
2540
+ a.replace(/<ID>/g, function () {
2541
+ return "(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*";
2542
+ }),
2543
+ e
2544
+ );
2545
+ }
2546
+ a.languages.insertBefore("javascript", "function-variable", {
2547
+ "method-variable": {
2548
+ pattern: RegExp(
2549
+ "(\\.\\s*)" +
2550
+ a.languages.javascript["function-variable"].pattern
2551
+ .source
2552
+ ),
2553
+ lookbehind: !0,
2554
+ alias: [
2555
+ "function-variable",
2556
+ "method",
2557
+ "function",
2558
+ "property-access"
2559
+ ]
2560
+ }
2561
+ }),
2562
+ a.languages.insertBefore("javascript", "function", {
2563
+ method: {
2564
+ pattern: RegExp(
2565
+ "(\\.\\s*)" + a.languages.javascript.function.source
2566
+ ),
2567
+ lookbehind: !0,
2568
+ alias: ["function", "property-access"]
2569
+ }
2570
+ }),
2571
+ a.languages.insertBefore("javascript", "constant", {
2572
+ "known-class-name": [
2573
+ {
2574
+ pattern:
2575
+ /\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,
2576
+ alias: "class-name"
2577
+ },
2578
+ { pattern: /\b(?:[A-Z]\w*)Error\b/, alias: "class-name" }
2579
+ ]
2580
+ }),
2581
+ a.languages.insertBefore("javascript", "keyword", {
2582
+ imports: {
2583
+ pattern: e(
2584
+ "(\\bimport\\b\\s*)(?:<ID>(?:\\s*,\\s*(?:\\*\\s*as\\s+<ID>|\\{[^{}]*\\}))?|\\*\\s*as\\s+<ID>|\\{[^{}]*\\})(?=\\s*\\bfrom\\b)"
2585
+ ),
2586
+ lookbehind: !0,
2587
+ inside: a.languages.javascript
2588
+ },
2589
+ exports: {
2590
+ pattern: e(
2591
+ "(\\bexport\\b\\s*)(?:\\*(?:\\s*as\\s+<ID>)?(?=\\s*\\bfrom\\b)|\\{[^{}]*\\})"
2592
+ ),
2593
+ lookbehind: !0,
2594
+ inside: a.languages.javascript
2595
+ }
2596
+ }),
2597
+ a.languages.javascript.keyword.unshift(
2598
+ {
2599
+ pattern: /\b(?:as|default|export|from|import)\b/,
2600
+ alias: "module"
2601
+ },
2602
+ {
2603
+ pattern:
2604
+ /\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,
2605
+ alias: "control-flow"
2606
+ },
2607
+ { pattern: /\bnull\b/, alias: ["null", "nil"] },
2608
+ { pattern: /\bundefined\b/, alias: "nil" }
2609
+ ),
2610
+ a.languages.insertBefore("javascript", "operator", {
2611
+ spread: { pattern: /\.{3}/, alias: "operator" },
2612
+ arrow: { pattern: /=>/, alias: "operator" }
2613
+ }),
2614
+ a.languages.insertBefore("javascript", "punctuation", {
2615
+ "property-access": {
2616
+ pattern: e("(\\.\\s*)#?<ID>"),
2617
+ lookbehind: !0
2618
+ },
2619
+ "maybe-class-name": {
2620
+ pattern: /(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,
2621
+ lookbehind: !0
2622
+ },
2623
+ dom: {
2624
+ pattern:
2625
+ /\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,
2626
+ alias: "variable"
2627
+ },
2628
+ console: { pattern: /\bconsole(?=\s*\.)/, alias: "class-name" }
2629
+ });
2630
+ for (
2631
+ var t = [
2632
+ "function",
2633
+ "function-variable",
2634
+ "method",
2635
+ "method-variable",
2636
+ "property-access"
2637
+ ],
2638
+ r = 0;
2639
+ r < t.length;
2640
+ r++
2641
+ ) {
2642
+ var n = t[r],
2643
+ s = a.languages.javascript[n];
2644
+ "RegExp" === a.util.type(s) &&
2645
+ (s = a.languages.javascript[n] = { pattern: s });
2646
+ var o = s.inside || {};
2647
+ (s.inside = o), (o["maybe-class-name"] = /^[A-Z][\s\S]*/);
2648
+ }
2649
+ })(Prism);
2650
+ (Prism.languages.json = {
2651
+ property: {
2652
+ pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,
2653
+ lookbehind: !0,
2654
+ greedy: !0
2655
+ },
2656
+ string: {
2657
+ pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,
2658
+ lookbehind: !0,
2659
+ greedy: !0
2660
+ },
2661
+ comment: { pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/, greedy: !0 },
2662
+ number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
2663
+ punctuation: /[{}[\],]/,
2664
+ operator: /:/,
2665
+ boolean: /\b(?:false|true)\b/,
2666
+ null: { pattern: /\bnull\b/, alias: "keyword" }
2667
+ }),
2668
+ (Prism.languages.webmanifest = Prism.languages.json);
2669
+ !(function (n) {
2670
+ var e = /("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;
2671
+ n.languages.json5 = n.languages.extend("json", {
2672
+ property: [
2673
+ { pattern: RegExp(e.source + "(?=\\s*:)"), greedy: !0 },
2674
+ {
2675
+ pattern:
2676
+ /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,
2677
+ alias: "unquoted"
2678
+ }
2679
+ ],
2680
+ string: { pattern: e, greedy: !0 },
2681
+ number: /[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/
2682
+ });
2683
+ })(Prism);
2684
+ (Prism.languages.jsonp = Prism.languages.extend("json", {
2685
+ punctuation: /[{}[\]();,.]/
2686
+ })),
2687
+ Prism.languages.insertBefore("jsonp", "punctuation", {
2688
+ function:
2689
+ /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/
2690
+ });
2691
+ Prism.languages.jsstacktrace = {
2692
+ "error-message": { pattern: /^\S.*/m, alias: "string" },
2693
+ "stack-frame": {
2694
+ pattern: /(^[ \t]+)at[ \t].*/m,
2695
+ lookbehind: !0,
2696
+ inside: {
2697
+ "not-my-code": {
2698
+ pattern:
2699
+ /^at[ \t]+(?!\s)(?:node\.js|<unknown>|.*(?:node_modules|\(<anonymous>\)|\(<unknown>|<anonymous>$|\(internal\/|\(node\.js)).*/m,
2700
+ alias: "comment"
2701
+ },
2702
+ filename: {
2703
+ pattern: /(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,
2704
+ lookbehind: !0,
2705
+ alias: "url"
2706
+ },
2707
+ function: {
2708
+ pattern:
2709
+ /(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,
2710
+ lookbehind: !0,
2711
+ inside: { punctuation: /\./ }
2712
+ },
2713
+ punctuation: /[()]/,
2714
+ keyword: /\b(?:at|new)\b/,
2715
+ alias: {
2716
+ pattern:
2717
+ /\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,
2718
+ alias: "variable"
2719
+ },
2720
+ "line-number": {
2721
+ pattern: /:\d+(?::\d+)?\b/,
2722
+ alias: "number",
2723
+ inside: { punctuation: /:/ }
2724
+ }
2725
+ }
2726
+ }
2727
+ };
2728
+ !(function (n) {
2729
+ (n.languages.kotlin = n.languages.extend("clike", {
2730
+ keyword: {
2731
+ pattern:
2732
+ /(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,
2733
+ lookbehind: !0
2734
+ },
2735
+ function: [
2736
+ { pattern: /(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/, greedy: !0 },
2737
+ {
2738
+ pattern: /(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,
2739
+ lookbehind: !0,
2740
+ greedy: !0
2741
+ }
2742
+ ],
2743
+ number: /\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,
2744
+ operator:
2745
+ /\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/
2746
+ })),
2747
+ delete n.languages.kotlin["class-name"];
2748
+ var e = {
2749
+ "interpolation-punctuation": {
2750
+ pattern: /^\$\{?|\}$/,
2751
+ alias: "punctuation"
2752
+ },
2753
+ expression: { pattern: /[\s\S]+/, inside: n.languages.kotlin }
2754
+ };
2755
+ n.languages.insertBefore("kotlin", "string", {
2756
+ "string-literal": [
2757
+ {
2758
+ pattern: /"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,
2759
+ alias: "multiline",
2760
+ inside: {
2761
+ interpolation: {
2762
+ pattern: /\$(?:[a-z_]\w*|\{[^{}]*\})/i,
2763
+ inside: e
2764
+ },
2765
+ string: /[\s\S]+/
2766
+ }
2767
+ },
2768
+ {
2769
+ pattern: /"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,
2770
+ alias: "singleline",
2771
+ inside: {
2772
+ interpolation: {
2773
+ pattern:
2774
+ /((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,
2775
+ lookbehind: !0,
2776
+ inside: e
2777
+ },
2778
+ string: /[\s\S]+/
2779
+ }
2780
+ }
2781
+ ],
2782
+ char: {
2783
+ pattern: /'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,
2784
+ greedy: !0
2785
+ }
2786
+ }),
2787
+ delete n.languages.kotlin.string,
2788
+ n.languages.insertBefore("kotlin", "keyword", {
2789
+ annotation: {
2790
+ pattern: /\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,
2791
+ alias: "builtin"
2792
+ }
2793
+ }),
2794
+ n.languages.insertBefore("kotlin", "function", {
2795
+ label: { pattern: /\b\w+@|@\w+\b/, alias: "symbol" }
2796
+ }),
2797
+ (n.languages.kt = n.languages.kotlin),
2798
+ (n.languages.kts = n.languages.kotlin);
2799
+ })(Prism);
2800
+ !(function (n) {
2801
+ function e(n) {
2802
+ return (
2803
+ (n = n.replace(/<inner>/g, function () {
2804
+ return "(?:\\\\.|[^\\\\\n\r]|(?:\n|\r\n?)(?![\r\n]))";
2805
+ })),
2806
+ RegExp("((?:^|[^\\\\])(?:\\\\{2})*)(?:" + n + ")")
2807
+ );
2808
+ }
2809
+ var t = "(?:\\\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\\\|\r\n`])+",
2810
+ a = "\\|?__(?:\\|__)+\\|?(?:(?:\n|\r\n?)|(?![^]))".replace(
2811
+ /__/g,
2812
+ function () {
2813
+ return t;
2814
+ }
2815
+ ),
2816
+ i =
2817
+ "\\|?[ \t]*:?-{3,}:?[ \t]*(?:\\|[ \t]*:?-{3,}:?[ \t]*)+\\|?(?:\n|\r\n?)";
2818
+ (n.languages.markdown = n.languages.extend("markup", {})),
2819
+ n.languages.insertBefore("markdown", "prolog", {
2820
+ "front-matter-block": {
2821
+ pattern: /(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,
2822
+ lookbehind: !0,
2823
+ greedy: !0,
2824
+ inside: {
2825
+ punctuation: /^---|---$/,
2826
+ "front-matter": {
2827
+ pattern: /\S+(?:\s+\S+)*/,
2828
+ alias: ["yaml", "language-yaml"],
2829
+ inside: n.languages.yaml
2830
+ }
2831
+ }
2832
+ },
2833
+ blockquote: {
2834
+ pattern: /^>(?:[\t ]*>)*/m,
2835
+ alias: "punctuation"
2836
+ },
2837
+ table: {
2838
+ pattern: RegExp("^" + a + i + "(?:" + a + ")*", "m"),
2839
+ inside: {
2840
+ "table-data-rows": {
2841
+ pattern: RegExp("^(" + a + i + ")(?:" + a + ")*$"),
2842
+ lookbehind: !0,
2843
+ inside: {
2844
+ "table-data": {
2845
+ pattern: RegExp(t),
2846
+ inside: n.languages.markdown
2847
+ },
2848
+ punctuation: /\|/
2849
+ }
2850
+ },
2851
+ "table-line": {
2852
+ pattern: RegExp("^(" + a + ")" + i + "$"),
2853
+ lookbehind: !0,
2854
+ inside: { punctuation: /\||:?-{3,}:?/ }
2855
+ },
2856
+ "table-header-row": {
2857
+ pattern: RegExp("^" + a + "$"),
2858
+ inside: {
2859
+ "table-header": {
2860
+ pattern: RegExp(t),
2861
+ alias: "important",
2862
+ inside: n.languages.markdown
2863
+ },
2864
+ punctuation: /\|/
2865
+ }
2866
+ }
2867
+ }
2868
+ },
2869
+ code: [
2870
+ {
2871
+ pattern:
2872
+ /((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,
2873
+ lookbehind: !0,
2874
+ alias: "keyword"
2875
+ },
2876
+ {
2877
+ pattern: /^```[\s\S]*?^```$/m,
2878
+ greedy: !0,
2879
+ inside: {
2880
+ "code-block": {
2881
+ pattern:
2882
+ /^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,
2883
+ lookbehind: !0
2884
+ },
2885
+ "code-language": {
2886
+ pattern: /^(```).+/,
2887
+ lookbehind: !0
2888
+ },
2889
+ punctuation: /```/
2890
+ }
2891
+ }
2892
+ ],
2893
+ title: [
2894
+ {
2895
+ pattern: /\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,
2896
+ alias: "important",
2897
+ inside: { punctuation: /==+$|--+$/ }
2898
+ },
2899
+ {
2900
+ pattern: /(^\s*)#.+/m,
2901
+ lookbehind: !0,
2902
+ alias: "important",
2903
+ inside: { punctuation: /^#+|#+$/ }
2904
+ }
2905
+ ],
2906
+ hr: {
2907
+ pattern: /(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,
2908
+ lookbehind: !0,
2909
+ alias: "punctuation"
2910
+ },
2911
+ list: {
2912
+ pattern: /(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,
2913
+ lookbehind: !0,
2914
+ alias: "punctuation"
2915
+ },
2916
+ "url-reference": {
2917
+ pattern:
2918
+ /!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,
2919
+ inside: {
2920
+ variable: { pattern: /^(!?\[)[^\]]+/, lookbehind: !0 },
2921
+ string: /(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,
2922
+ punctuation: /^[\[\]!:]|[<>]/
2923
+ },
2924
+ alias: "url"
2925
+ },
2926
+ bold: {
2927
+ pattern: e(
2928
+ "\\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\\b|\\*\\*(?:(?!\\*)<inner>|\\*(?:(?!\\*)<inner>)+\\*)+\\*\\*"
2929
+ ),
2930
+ lookbehind: !0,
2931
+ greedy: !0,
2932
+ inside: {
2933
+ content: {
2934
+ pattern: /(^..)[\s\S]+(?=..$)/,
2935
+ lookbehind: !0,
2936
+ inside: {}
2937
+ },
2938
+ punctuation: /\*\*|__/
2939
+ }
2940
+ },
2941
+ italic: {
2942
+ pattern: e(
2943
+ "\\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\\b|\\*(?:(?!\\*)<inner>|\\*\\*(?:(?!\\*)<inner>)+\\*\\*)+\\*"
2944
+ ),
2945
+ lookbehind: !0,
2946
+ greedy: !0,
2947
+ inside: {
2948
+ content: {
2949
+ pattern: /(^.)[\s\S]+(?=.$)/,
2950
+ lookbehind: !0,
2951
+ inside: {}
2952
+ },
2953
+ punctuation: /[*_]/
2954
+ }
2955
+ },
2956
+ strike: {
2957
+ pattern: e("(~~?)(?:(?!~)<inner>)+\\2"),
2958
+ lookbehind: !0,
2959
+ greedy: !0,
2960
+ inside: {
2961
+ content: {
2962
+ pattern: /(^~~?)[\s\S]+(?=\1$)/,
2963
+ lookbehind: !0,
2964
+ inside: {}
2965
+ },
2966
+ punctuation: /~~?/
2967
+ }
2968
+ },
2969
+ "code-snippet": {
2970
+ pattern:
2971
+ /(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,
2972
+ lookbehind: !0,
2973
+ greedy: !0,
2974
+ alias: ["code", "keyword"]
2975
+ },
2976
+ url: {
2977
+ pattern: e(
2978
+ '!?\\[(?:(?!\\])<inner>)+\\](?:\\([^\\s)]+(?:[\t ]+"(?:\\\\.|[^"\\\\])*")?\\)|[ \t]?\\[(?:(?!\\])<inner>)+\\])'
2979
+ ),
2980
+ lookbehind: !0,
2981
+ greedy: !0,
2982
+ inside: {
2983
+ operator: /^!/,
2984
+ content: {
2985
+ pattern: /(^\[)[^\]]+(?=\])/,
2986
+ lookbehind: !0,
2987
+ inside: {}
2988
+ },
2989
+ variable: {
2990
+ pattern: /(^\][ \t]?\[)[^\]]+(?=\]$)/,
2991
+ lookbehind: !0
2992
+ },
2993
+ url: { pattern: /(^\]\()[^\s)]+/, lookbehind: !0 },
2994
+ string: {
2995
+ pattern: /(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,
2996
+ lookbehind: !0
2997
+ }
2998
+ }
2999
+ }
3000
+ }),
3001
+ ["url", "bold", "italic", "strike"].forEach(function (e) {
3002
+ ["url", "bold", "italic", "strike", "code-snippet"].forEach(
3003
+ function (t) {
3004
+ e !== t &&
3005
+ (n.languages.markdown[e].inside.content.inside[t] =
3006
+ n.languages.markdown[t]);
3007
+ }
3008
+ );
3009
+ }),
3010
+ n.hooks.add("after-tokenize", function (n) {
3011
+ ("markdown" !== n.language && "md" !== n.language) ||
3012
+ (function n(e) {
3013
+ if (e && "string" != typeof e)
3014
+ for (var t = 0, a = e.length; t < a; t++) {
3015
+ var i = e[t];
3016
+ if ("code" === i.type) {
3017
+ var r = i.content[1],
3018
+ o = i.content[3];
3019
+ if (
3020
+ r &&
3021
+ o &&
3022
+ "code-language" === r.type &&
3023
+ "code-block" === o.type &&
3024
+ "string" == typeof r.content
3025
+ ) {
3026
+ var l = r.content
3027
+ .replace(/\b#/g, "sharp")
3028
+ .replace(/\b\+\+/g, "pp"),
3029
+ s =
3030
+ "language-" +
3031
+ (l = (/[a-z][\w-]*/i.exec(
3032
+ l
3033
+ ) || [""])[0].toLowerCase());
3034
+ o.alias
3035
+ ? "string" == typeof o.alias
3036
+ ? (o.alias = [o.alias, s])
3037
+ : o.alias.push(s)
3038
+ : (o.alias = [s]);
3039
+ }
3040
+ } else n(i.content);
3041
+ }
3042
+ })(n.tokens);
3043
+ }),
3044
+ n.hooks.add("wrap", function (e) {
3045
+ if ("code-block" === e.type) {
3046
+ for (var t = "", a = 0, i = e.classes.length; a < i; a++) {
3047
+ var s = e.classes[a],
3048
+ d = /language-(.+)/.exec(s);
3049
+ if (d) {
3050
+ t = d[1];
3051
+ break;
3052
+ }
3053
+ }
3054
+ var p = n.languages[t];
3055
+ if (p)
3056
+ e.content = n.highlight(
3057
+ e.content
3058
+ .replace(r, "")
3059
+ .replace(
3060
+ /&(\w{1,8}|#x?[\da-f]{1,8});/gi,
3061
+ function (n, e) {
3062
+ var t;
3063
+ return "#" === (e = e.toLowerCase())[0]
3064
+ ? ((t =
3065
+ "x" === e[1]
3066
+ ? parseInt(e.slice(2), 16)
3067
+ : Number(e.slice(1))),
3068
+ l(t))
3069
+ : o[e] || n;
3070
+ }
3071
+ ),
3072
+ p,
3073
+ t
3074
+ );
3075
+ else if (t && "none" !== t && n.plugins.autoloader) {
3076
+ var u =
3077
+ "md-" +
3078
+ new Date().valueOf() +
3079
+ "-" +
3080
+ Math.floor(1e16 * Math.random());
3081
+ (e.attributes.id = u),
3082
+ n.plugins.autoloader.loadLanguages(t, function () {
3083
+ var e = document.getElementById(u);
3084
+ e &&
3085
+ (e.innerHTML = n.highlight(
3086
+ e.textContent,
3087
+ n.languages[t],
3088
+ t
3089
+ ));
3090
+ });
3091
+ }
3092
+ }
3093
+ });
3094
+ var r = RegExp(n.languages.markup.tag.pattern.source, "gi"),
3095
+ o = { amp: "&", lt: "<", gt: ">", quot: '"' },
3096
+ l = String.fromCodePoint || String.fromCharCode;
3097
+ n.languages.md = n.languages.markdown;
3098
+ })(Prism);
3099
+ !(function (a) {
3100
+ var e = "(?:\\b[a-zA-Z]\\w*|[|\\\\[\\]])+";
3101
+ (a.languages.phpdoc = a.languages.extend("javadoclike", {
3102
+ parameter: {
3103
+ pattern: RegExp(
3104
+ "(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:" +
3105
+ e +
3106
+ "\\s+)?)\\$\\w+"
3107
+ ),
3108
+ lookbehind: !0
3109
+ }
3110
+ })),
3111
+ a.languages.insertBefore("phpdoc", "keyword", {
3112
+ "class-name": [
3113
+ {
3114
+ pattern: RegExp(
3115
+ "(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)" +
3116
+ e
3117
+ ),
3118
+ lookbehind: !0,
3119
+ inside: {
3120
+ keyword:
3121
+ /\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,
3122
+ punctuation: /[|\\[\]()]/
3123
+ }
3124
+ }
3125
+ ]
3126
+ }),
3127
+ a.languages.javadoclike.addSupport("php", a.languages.phpdoc);
3128
+ })(Prism);
3129
+ Prism.languages.insertBefore("php", "variable", {
3130
+ this: { pattern: /\$this\b/, alias: "keyword" },
3131
+ global: /\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,
3132
+ scope: {
3133
+ pattern: /\b[\w\\]+::/,
3134
+ inside: {
3135
+ keyword: /\b(?:parent|self|static)\b/,
3136
+ punctuation: /::|\\/
3137
+ }
3138
+ }
3139
+ });
3140
+ (Prism.languages.plsql = Prism.languages.extend("sql", {
3141
+ comment: { pattern: /\/\*[\s\S]*?\*\/|--.*/, greedy: !0 },
3142
+ keyword:
3143
+ /\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,
3144
+ operator: /:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/
3145
+ })),
3146
+ Prism.languages.insertBefore("plsql", "operator", {
3147
+ label: { pattern: /<<\s*\w+\s*>>/, alias: "symbol" }
3148
+ });
3149
+ (Prism.languages.python = {
3150
+ comment: { pattern: /(^|[^\\])#.*/, lookbehind: !0, greedy: !0 },
3151
+ "string-interpolation": {
3152
+ pattern:
3153
+ /(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,
3154
+ greedy: !0,
3155
+ inside: {
3156
+ interpolation: {
3157
+ pattern:
3158
+ /((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,
3159
+ lookbehind: !0,
3160
+ inside: {
3161
+ "format-spec": {
3162
+ pattern: /(:)[^:(){}]+(?=\}$)/,
3163
+ lookbehind: !0
3164
+ },
3165
+ "conversion-option": {
3166
+ pattern: /![sra](?=[:}]$)/,
3167
+ alias: "punctuation"
3168
+ },
3169
+ rest: null
3170
+ }
3171
+ },
3172
+ string: /[\s\S]+/
3173
+ }
3174
+ },
3175
+ "triple-quoted-string": {
3176
+ pattern: /(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,
3177
+ greedy: !0,
3178
+ alias: "string"
3179
+ },
3180
+ string: {
3181
+ pattern: /(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,
3182
+ greedy: !0
3183
+ },
3184
+ function: {
3185
+ pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,
3186
+ lookbehind: !0
3187
+ },
3188
+ "class-name": { pattern: /(\bclass\s+)\w+/i, lookbehind: !0 },
3189
+ decorator: {
3190
+ pattern: /(^[\t ]*)@\w+(?:\.\w+)*/m,
3191
+ lookbehind: !0,
3192
+ alias: ["annotation", "punctuation"],
3193
+ inside: { punctuation: /\./ }
3194
+ },
3195
+ keyword:
3196
+ /\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,
3197
+ builtin:
3198
+ /\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,
3199
+ boolean: /\b(?:False|None|True)\b/,
3200
+ number: /\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,
3201
+ operator: /[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,
3202
+ punctuation: /[{}[\];(),.:]/
3203
+ }),
3204
+ (Prism.languages.python[
3205
+ "string-interpolation"
3206
+ ].inside.interpolation.inside.rest = Prism.languages.python),
3207
+ (Prism.languages.py = Prism.languages.python);
3208
+ !(function (a) {
3209
+ var e = { pattern: /\\[\\(){}[\]^$+*?|.]/, alias: "escape" },
3210
+ n =
3211
+ /\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,
3212
+ t = "(?:[^\\\\-]|" + n.source + ")",
3213
+ s = RegExp(t + "-" + t),
3214
+ i = {
3215
+ pattern: /(<|')[^<>']+(?=[>']$)/,
3216
+ lookbehind: !0,
3217
+ alias: "variable"
3218
+ };
3219
+ a.languages.regex = {
3220
+ "char-class": {
3221
+ pattern: /((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,
3222
+ lookbehind: !0,
3223
+ inside: {
3224
+ "char-class-negation": {
3225
+ pattern: /(^\[)\^/,
3226
+ lookbehind: !0,
3227
+ alias: "operator"
3228
+ },
3229
+ "char-class-punctuation": {
3230
+ pattern: /^\[|\]$/,
3231
+ alias: "punctuation"
3232
+ },
3233
+ range: {
3234
+ pattern: s,
3235
+ inside: {
3236
+ escape: n,
3237
+ "range-punctuation": {
3238
+ pattern: /-/,
3239
+ alias: "operator"
3240
+ }
3241
+ }
3242
+ },
3243
+ "special-escape": e,
3244
+ "char-set": {
3245
+ pattern: /\\[wsd]|\\p\{[^{}]+\}/i,
3246
+ alias: "class-name"
3247
+ },
3248
+ escape: n
3249
+ }
3250
+ },
3251
+ "special-escape": e,
3252
+ "char-set": {
3253
+ pattern: /\.|\\[wsd]|\\p\{[^{}]+\}/i,
3254
+ alias: "class-name"
3255
+ },
3256
+ backreference: [
3257
+ { pattern: /\\(?![123][0-7]{2})[1-9]/, alias: "keyword" },
3258
+ {
3259
+ pattern: /\\k<[^<>']+>/,
3260
+ alias: "keyword",
3261
+ inside: { "group-name": i }
3262
+ }
3263
+ ],
3264
+ anchor: { pattern: /[$^]|\\[ABbGZz]/, alias: "function" },
3265
+ escape: n,
3266
+ group: [
3267
+ {
3268
+ pattern:
3269
+ /\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,
3270
+ alias: "punctuation",
3271
+ inside: { "group-name": i }
3272
+ },
3273
+ { pattern: /\)/, alias: "punctuation" }
3274
+ ],
3275
+ quantifier: {
3276
+ pattern: /(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,
3277
+ alias: "number"
3278
+ },
3279
+ alternation: { pattern: /\|/, alias: "keyword" }
3280
+ };
3281
+ })(Prism);
3282
+ (Prism.languages.swift = {
3283
+ comment: {
3284
+ pattern:
3285
+ /(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,
3286
+ lookbehind: !0,
3287
+ greedy: !0
3288
+ },
3289
+ "string-literal": [
3290
+ {
3291
+ pattern: RegExp(
3292
+ '(^|[^"#])(?:"(?:\\\\(?:\\((?:[^()]|\\([^()]*\\))*\\)|\r\n|[^(])|[^\\\\\r\n"])*"|"""(?:\\\\(?:\\((?:[^()]|\\([^()]*\\))*\\)|[^(])|[^\\\\"]|"(?!""))*""")(?!["#])'
3293
+ ),
3294
+ lookbehind: !0,
3295
+ greedy: !0,
3296
+ inside: {
3297
+ interpolation: {
3298
+ pattern: /(\\\()(?:[^()]|\([^()]*\))*(?=\))/,
3299
+ lookbehind: !0,
3300
+ inside: null
3301
+ },
3302
+ "interpolation-punctuation": {
3303
+ pattern: /^\)|\\\($/,
3304
+ alias: "punctuation"
3305
+ },
3306
+ punctuation: /\\(?=[\r\n])/,
3307
+ string: /[\s\S]+/
3308
+ }
3309
+ },
3310
+ {
3311
+ pattern: RegExp(
3312
+ '(^|[^"#])(#+)(?:"(?:\\\\(?:#+\\((?:[^()]|\\([^()]*\\))*\\)|\r\n|[^#])|[^\\\\\r\n])*?"|"""(?:\\\\(?:#+\\((?:[^()]|\\([^()]*\\))*\\)|[^#])|[^\\\\])*?""")\\2'
3313
+ ),
3314
+ lookbehind: !0,
3315
+ greedy: !0,
3316
+ inside: {
3317
+ interpolation: {
3318
+ pattern: /(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,
3319
+ lookbehind: !0,
3320
+ inside: null
3321
+ },
3322
+ "interpolation-punctuation": {
3323
+ pattern: /^\)|\\#+\($/,
3324
+ alias: "punctuation"
3325
+ },
3326
+ string: /[\s\S]+/
3327
+ }
3328
+ }
3329
+ ],
3330
+ directive: {
3331
+ pattern: RegExp(
3332
+ "#(?:(?:elseif|if)\\b(?:[ \t]*(?:![ \t]*)?(?:\\b\\w+\\b(?:[ \t]*\\((?:[^()]|\\([^()]*\\))*\\))?|\\((?:[^()]|\\([^()]*\\))*\\))(?:[ \t]*(?:&&|\\|\\|))?)+|(?:else|endif)\\b)"
3333
+ ),
3334
+ alias: "property",
3335
+ inside: {
3336
+ "directive-name": /^#\w+/,
3337
+ boolean: /\b(?:false|true)\b/,
3338
+ number: /\b\d+(?:\.\d+)*\b/,
3339
+ operator: /!|&&|\|\||[<>]=?/,
3340
+ punctuation: /[(),]/
3341
+ }
3342
+ },
3343
+ literal: {
3344
+ pattern:
3345
+ /#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,
3346
+ alias: "constant"
3347
+ },
3348
+ "other-directive": { pattern: /#\w+\b/, alias: "property" },
3349
+ attribute: { pattern: /@\w+/, alias: "atrule" },
3350
+ "function-definition": {
3351
+ pattern: /(\bfunc\s+)\w+/,
3352
+ lookbehind: !0,
3353
+ alias: "function"
3354
+ },
3355
+ label: {
3356
+ pattern:
3357
+ /\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,
3358
+ lookbehind: !0,
3359
+ alias: "important"
3360
+ },
3361
+ keyword:
3362
+ /\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,
3363
+ boolean: /\b(?:false|true)\b/,
3364
+ nil: { pattern: /\bnil\b/, alias: "constant" },
3365
+ "short-argument": /\$\d+\b/,
3366
+ omit: { pattern: /\b_\b/, alias: "keyword" },
3367
+ number: /\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,
3368
+ "class-name": /\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,
3369
+ function: /\b[a-z_]\w*(?=\s*\()/i,
3370
+ constant: /\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,
3371
+ operator: /[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,
3372
+ punctuation: /[{}[\]();,.:\\]/
3373
+ }),
3374
+ Prism.languages.swift["string-literal"].forEach(function (e) {
3375
+ e.inside.interpolation.inside = Prism.languages.swift;
3376
+ });
3377
+ !(function (E) {
3378
+ var n =
3379
+ /\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;
3380
+ (E.languages.typoscript = {
3381
+ comment: [
3382
+ { pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/, lookbehind: !0 },
3383
+ {
3384
+ pattern: /(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,
3385
+ lookbehind: !0,
3386
+ greedy: !0
3387
+ },
3388
+ { pattern: /(^|[^"'])#.*/, lookbehind: !0, greedy: !0 }
3389
+ ],
3390
+ function: [
3391
+ {
3392
+ pattern:
3393
+ /<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,
3394
+ inside: {
3395
+ string: {
3396
+ pattern: /"[^"\r\n]*"|'[^'\r\n]*'/,
3397
+ inside: { keyword: n }
3398
+ },
3399
+ keyword: { pattern: /INCLUDE_TYPOSCRIPT/ }
3400
+ }
3401
+ },
3402
+ {
3403
+ pattern: /@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,
3404
+ inside: { string: /"[^"\r\n]*"|'[^'\r\n]*'/ }
3405
+ }
3406
+ ],
3407
+ string: {
3408
+ pattern: /^([^=]*=[< ]?)(?:(?!\]\n).)*/,
3409
+ lookbehind: !0,
3410
+ inside: {
3411
+ function: /\{\$.*\}/,
3412
+ keyword: n,
3413
+ number: /^\d+$/,
3414
+ punctuation: /[,|:]/
3415
+ }
3416
+ },
3417
+ keyword: n,
3418
+ number: { pattern: /\b\d+\s*[.{=]/, inside: { operator: /[.{=]/ } },
3419
+ tag: { pattern: /\.?[-\w\\]+\.?/, inside: { punctuation: /\./ } },
3420
+ punctuation: /[{}[\];(),.:|]/,
3421
+ operator: /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/
3422
+ }),
3423
+ (E.languages.tsconfig = E.languages.typoscript);
3424
+ })(Prism);
3425
+ (Prism.languages.uri = {
3426
+ scheme: {
3427
+ pattern: /^[a-z][a-z0-9+.-]*:/im,
3428
+ greedy: !0,
3429
+ inside: { "scheme-delimiter": /:$/ }
3430
+ },
3431
+ fragment: {
3432
+ pattern: /#[\w\-.~!$&'()*+,;=%:@/?]*/,
3433
+ inside: { "fragment-delimiter": /^#/ }
3434
+ },
3435
+ query: {
3436
+ pattern: /\?[\w\-.~!$&'()*+,;=%:@/?]*/,
3437
+ inside: {
3438
+ "query-delimiter": { pattern: /^\?/, greedy: !0 },
3439
+ "pair-delimiter": /[&;]/,
3440
+ pair: {
3441
+ pattern: /^[^=][\s\S]*/,
3442
+ inside: {
3443
+ key: /^[^=]+/,
3444
+ value: { pattern: /(^=)[\s\S]+/, lookbehind: !0 }
3445
+ }
3446
+ }
3447
+ }
3448
+ },
3449
+ authority: {
3450
+ pattern: RegExp(
3451
+ "^//(?:[\\w\\-.~!$&'()*+,;=%:]*@)?(?:\\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\\.[\\w\\-.~!$&'()*+,;=]+)\\]|[\\w\\-.~!$&'()*+,;=%]*)(?::\\d*)?",
3452
+ "m"
3453
+ ),
3454
+ inside: {
3455
+ "authority-delimiter": /^\/\//,
3456
+ "user-info-segment": {
3457
+ pattern: /^[\w\-.~!$&'()*+,;=%:]*@/,
3458
+ inside: {
3459
+ "user-info-delimiter": /@$/,
3460
+ "user-info": /^[\w\-.~!$&'()*+,;=%:]+/
3461
+ }
3462
+ },
3463
+ "port-segment": {
3464
+ pattern: /:\d*$/,
3465
+ inside: { "port-delimiter": /^:/, port: /^\d+/ }
3466
+ },
3467
+ host: {
3468
+ pattern: /[\s\S]+/,
3469
+ inside: {
3470
+ "ip-literal": {
3471
+ pattern: /^\[[\s\S]+\]$/,
3472
+ inside: {
3473
+ "ip-literal-delimiter": /^\[|\]$/,
3474
+ "ipv-future": /^v[\s\S]+/,
3475
+ "ipv6-address": /^[\s\S]+/
3476
+ }
3477
+ },
3478
+ "ipv4-address":
3479
+ /^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/
3480
+ }
3481
+ }
3482
+ }
3483
+ },
3484
+ path: {
3485
+ pattern: /^[\w\-.~!$&'()*+,;=%:@/]+/m,
3486
+ inside: { "path-separator": /\// }
3487
+ }
3488
+ }),
3489
+ (Prism.languages.url = Prism.languages.uri);
3490
+ Prism.languages.vbnet = Prism.languages.extend("basic", {
3491
+ comment: [
3492
+ { pattern: /(?:!|REM\b).+/i, inside: { keyword: /^REM/i } },
3493
+ { pattern: /(^|[^\\:])'.*/, lookbehind: !0, greedy: !0 }
3494
+ ],
3495
+ string: {
3496
+ pattern: /(^|[^"])"(?:""|[^"])*"(?!")/,
3497
+ lookbehind: !0,
3498
+ greedy: !0
3499
+ },
3500
+ keyword:
3501
+ /(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,
3502
+ punctuation: /[,;:(){}]/
3503
+ });
3504
+ !(function (e) {
3505
+ var n = /[*&][^\s[\]{},]+/,
3506
+ r =
3507
+ /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,
3508
+ t =
3509
+ "(?:" +
3510
+ r.source +
3511
+ "(?:[ \t]+" +
3512
+ n.source +
3513
+ ")?|" +
3514
+ n.source +
3515
+ "(?:[ \t]+" +
3516
+ r.source +
3517
+ ")?)",
3518
+ a =
3519
+ "(?:[^\\s\\x00-\\x08\\x0e-\\x1f!\"#%&'*,\\-:>?@[\\]`{|}\\x7f-\\x84\\x86-\\x9f\\ud800-\\udfff\\ufffe\\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*".replace(
3520
+ /<PLAIN>/g,
3521
+ function () {
3522
+ return "[^\\s\\x00-\\x08\\x0e-\\x1f,[\\]{}\\x7f-\\x84\\x86-\\x9f\\ud800-\\udfff\\ufffe\\uffff]";
3523
+ }
3524
+ ),
3525
+ d = "\"(?:[^\"\\\\\r\n]|\\\\.)*\"|'(?:[^'\\\\\r\n]|\\\\.)*'";
3526
+ function o(e, n) {
3527
+ n = (n || "").replace(/m/g, "") + "m";
3528
+ var r =
3529
+ "([:\\-,[{]\\s*(?:\\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\\]|\\}|(?:[\r\n]\\s*)?#))"
3530
+ .replace(/<<prop>>/g, function () {
3531
+ return t;
3532
+ })
3533
+ .replace(/<<value>>/g, function () {
3534
+ return e;
3535
+ });
3536
+ return RegExp(r, n);
3537
+ }
3538
+ (e.languages.yaml = {
3539
+ scalar: {
3540
+ pattern: RegExp(
3541
+ "([\\-:]\\s*(?:\\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\\S[^\r\n]*(?:\\2[^\r\n]+)*)".replace(
3542
+ /<<prop>>/g,
3543
+ function () {
3544
+ return t;
3545
+ }
3546
+ )
3547
+ ),
3548
+ lookbehind: !0,
3549
+ alias: "string"
3550
+ },
3551
+ comment: /#.*/,
3552
+ key: {
3553
+ pattern: RegExp(
3554
+ "((?:^|[:\\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\\s*:\\s)"
3555
+ .replace(/<<prop>>/g, function () {
3556
+ return t;
3557
+ })
3558
+ .replace(/<<key>>/g, function () {
3559
+ return "(?:" + a + "|" + d + ")";
3560
+ })
3561
+ ),
3562
+ lookbehind: !0,
3563
+ greedy: !0,
3564
+ alias: "atrule"
3565
+ },
3566
+ directive: {
3567
+ pattern: /(^[ \t]*)%.+/m,
3568
+ lookbehind: !0,
3569
+ alias: "important"
3570
+ },
3571
+ datetime: {
3572
+ pattern: o(
3573
+ "\\d{4}-\\d\\d?-\\d\\d?(?:[tT]|[ \t]+)\\d\\d?:\\d{2}:\\d{2}(?:\\.\\d*)?(?:[ \t]*(?:Z|[-+]\\d\\d?(?::\\d{2})?))?|\\d{4}-\\d{2}-\\d{2}|\\d\\d?:\\d{2}(?::\\d{2}(?:\\.\\d*)?)?"
3574
+ ),
3575
+ lookbehind: !0,
3576
+ alias: "number"
3577
+ },
3578
+ boolean: {
3579
+ pattern: o("false|true", "i"),
3580
+ lookbehind: !0,
3581
+ alias: "important"
3582
+ },
3583
+ null: {
3584
+ pattern: o("null|~", "i"),
3585
+ lookbehind: !0,
3586
+ alias: "important"
3587
+ },
3588
+ string: { pattern: o(d), lookbehind: !0, greedy: !0 },
3589
+ number: {
3590
+ pattern: o(
3591
+ "[+-]?(?:0x[\\da-f]+|0o[0-7]+|(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:e[+-]?\\d+)?|\\.inf|\\.nan)",
3592
+ "i"
3593
+ ),
3594
+ lookbehind: !0
3595
+ },
3596
+ tag: r,
3597
+ important: n,
3598
+ punctuation: /---|[:[\]{}\-,|>?]|\.\.\./
3599
+ }),
3600
+ (e.languages.yml = e.languages.yaml);
3601
+ })(Prism);
3602
+ !(function () {
3603
+ if ("undefined" != typeof Prism && "undefined" != typeof document) {
3604
+ var e = "line-numbers",
3605
+ n = /\n(?!$)/g,
3606
+ t = (Prism.plugins.lineNumbers = {
3607
+ getLine: function (n, t) {
3608
+ if ("PRE" === n.tagName && n.classList.contains(e)) {
3609
+ var i = n.querySelector(".line-numbers-rows");
3610
+ if (i) {
3611
+ var r =
3612
+ parseInt(
3613
+ n.getAttribute("data-start"),
3614
+ 10
3615
+ ) || 1,
3616
+ s = r + (i.children.length - 1);
3617
+ t < r && (t = r), t > s && (t = s);
3618
+ var l = t - r;
3619
+ return i.children[l];
3620
+ }
3621
+ }
3622
+ },
3623
+ resize: function (e) {
3624
+ r([e]);
3625
+ },
3626
+ assumeViewportIndependence: !0
3627
+ }),
3628
+ i = void 0;
3629
+ window.addEventListener("resize", function () {
3630
+ (t.assumeViewportIndependence && i === window.innerWidth) ||
3631
+ ((i = window.innerWidth),
3632
+ r(
3633
+ Array.prototype.slice.call(
3634
+ document.querySelectorAll("pre.line-numbers")
3635
+ )
3636
+ ));
3637
+ }),
3638
+ Prism.hooks.add("complete", function (t) {
3639
+ if (t.code) {
3640
+ var i = t.element,
3641
+ s = i.parentNode;
3642
+ if (
3643
+ s &&
3644
+ /pre/i.test(s.nodeName) &&
3645
+ !i.querySelector(".line-numbers-rows") &&
3646
+ Prism.util.isActive(i, e)
3647
+ ) {
3648
+ i.classList.remove(e), s.classList.add(e);
3649
+ var l,
3650
+ o = t.code.match(n),
3651
+ a = o ? o.length + 1 : 1,
3652
+ u = new Array(a + 1).join("<span></span>");
3653
+ (l = document.createElement("span")).setAttribute(
3654
+ "aria-hidden",
3655
+ "true"
3656
+ ),
3657
+ (l.className = "line-numbers-rows"),
3658
+ (l.innerHTML = u),
3659
+ s.hasAttribute("data-start") &&
3660
+ (s.style.counterReset =
3661
+ "linenumber " +
3662
+ (parseInt(
3663
+ s.getAttribute("data-start"),
3664
+ 10
3665
+ ) -
3666
+ 1)),
3667
+ t.element.appendChild(l),
3668
+ r([s]),
3669
+ Prism.hooks.run("line-numbers", t);
3670
+ }
3671
+ }
3672
+ }),
3673
+ Prism.hooks.add("line-numbers", function (e) {
3674
+ (e.plugins = e.plugins || {}), (e.plugins.lineNumbers = !0);
3675
+ });
3676
+ }
3677
+ function r(e) {
3678
+ if (
3679
+ 0 !=
3680
+ (e = e.filter(function (e) {
3681
+ var n,
3682
+ t = ((n = e),
3683
+ n
3684
+ ? window.getComputedStyle
3685
+ ? getComputedStyle(n)
3686
+ : n.currentStyle || null
3687
+ : null)["white-space"];
3688
+ return "pre-wrap" === t || "pre-line" === t;
3689
+ })).length
3690
+ ) {
3691
+ var t = e
3692
+ .map(function (e) {
3693
+ var t = e.querySelector("code"),
3694
+ i = e.querySelector(".line-numbers-rows");
3695
+ if (t && i) {
3696
+ var r = e.querySelector(".line-numbers-sizer"),
3697
+ s = t.textContent.split(n);
3698
+ r ||
3699
+ (((r =
3700
+ document.createElement("span")).className =
3701
+ "line-numbers-sizer"),
3702
+ t.appendChild(r)),
3703
+ (r.innerHTML = "0"),
3704
+ (r.style.display = "block");
3705
+ var l = r.getBoundingClientRect().height;
3706
+ return (
3707
+ (r.innerHTML = ""),
3708
+ {
3709
+ element: e,
3710
+ lines: s,
3711
+ lineHeights: [],
3712
+ oneLinerHeight: l,
3713
+ sizer: r
3714
+ }
3715
+ );
3716
+ }
3717
+ })
3718
+ .filter(Boolean);
3719
+ t.forEach(function (e) {
3720
+ var n = e.sizer,
3721
+ t = e.lines,
3722
+ i = e.lineHeights,
3723
+ r = e.oneLinerHeight;
3724
+ (i[t.length - 1] = void 0),
3725
+ t.forEach(function (e, t) {
3726
+ if (e && e.length > 1) {
3727
+ var s = n.appendChild(
3728
+ document.createElement("span")
3729
+ );
3730
+ (s.style.display = "block"),
3731
+ (s.textContent = e);
3732
+ } else i[t] = r;
3733
+ });
3734
+ }),
3735
+ t.forEach(function (e) {
3736
+ for (
3737
+ var n = e.sizer, t = e.lineHeights, i = 0, r = 0;
3738
+ r < t.length;
3739
+ r++
3740
+ )
3741
+ void 0 === t[r] &&
3742
+ (t[r] =
3743
+ n.children[
3744
+ i++
3745
+ ].getBoundingClientRect().height);
3746
+ }),
3747
+ t.forEach(function (e) {
3748
+ var n = e.sizer,
3749
+ t = e.element.querySelector(".line-numbers-rows");
3750
+ (n.style.display = "none"),
3751
+ (n.innerHTML = ""),
3752
+ e.lineHeights.forEach(function (e, n) {
3753
+ t.children[n].style.height = e + "px";
3754
+ });
3755
+ });
3756
+ }
3757
+ }
3758
+ })();
3759
+ "undefined" != typeof Prism &&
3760
+ "undefined" != typeof document &&
3761
+ (Element.prototype.matches ||
3762
+ (Element.prototype.matches =
3763
+ Element.prototype.msMatchesSelector ||
3764
+ Element.prototype.webkitMatchesSelector),
3765
+ (Prism.plugins.UnescapedMarkup = !0),
3766
+ Prism.hooks.add("before-highlightall", function (e) {
3767
+ e.selector +=
3768
+ ', [class*="lang-"] script[type="text/plain"], [class*="language-"] script[type="text/plain"], script[type="text/plain"][class*="lang-"], script[type="text/plain"][class*="language-"]';
3769
+ }),
3770
+ Prism.hooks.add("before-sanity-check", function (e) {
3771
+ var t = e.element;
3772
+ if (t.matches('script[type="text/plain"]')) {
3773
+ var a = document.createElement("code"),
3774
+ c = document.createElement("pre");
3775
+ c.className = a.className = t.className;
3776
+ var n = t.dataset;
3777
+ return (
3778
+ Object.keys(n || {}).forEach(function (e) {
3779
+ Object.prototype.hasOwnProperty.call(n, e) &&
3780
+ (c.dataset[e] = n[e]);
3781
+ }),
3782
+ (a.textContent = e.code =
3783
+ e.code.replace(
3784
+ /&lt;\/script(?:>|&gt;)/gi,
3785
+ "</script>"
3786
+ )),
3787
+ c.appendChild(a),
3788
+ t.parentNode.replaceChild(c, t),
3789
+ void (e.element = a)
3790
+ );
3791
+ }
3792
+ if (!e.code) {
3793
+ var o = t.childNodes;
3794
+ 1 === o.length &&
3795
+ "#comment" == o[0].nodeName &&
3796
+ (t.textContent = e.code = o[0].textContent);
3797
+ }
3798
+ }));
3799
+ !(function () {
3800
+ if ("undefined" != typeof Prism && "undefined" != typeof document) {
3801
+ var e = { "(": ")", "[": "]", "{": "}" },
3802
+ t = {
3803
+ "(": "brace-round",
3804
+ "[": "brace-square",
3805
+ "{": "brace-curly"
3806
+ },
3807
+ n = { "${": "{" },
3808
+ r = 0,
3809
+ c = /^(pair-\d+-)(close|open)$/;
3810
+ Prism.hooks.add("complete", function (c) {
3811
+ var i = c.element,
3812
+ d = i.parentElement;
3813
+ if (d && "PRE" == d.tagName) {
3814
+ var u = [];
3815
+ if (
3816
+ (Prism.util.isActive(i, "match-braces") &&
3817
+ u.push("(", "[", "{"),
3818
+ 0 != u.length)
3819
+ ) {
3820
+ d.__listenerAdded ||
3821
+ (d.addEventListener("mousedown", function () {
3822
+ var e = d.querySelector("code"),
3823
+ t = s("brace-selected");
3824
+ Array.prototype.slice
3825
+ .call(e.querySelectorAll("." + t))
3826
+ .forEach(function (e) {
3827
+ e.classList.remove(t);
3828
+ });
3829
+ }),
3830
+ Object.defineProperty(d, "__listenerAdded", {
3831
+ value: !0
3832
+ }));
3833
+ var f = Array.prototype.slice.call(
3834
+ i.querySelectorAll(
3835
+ "span." +
3836
+ s("token") +
3837
+ "." +
3838
+ s("punctuation")
3839
+ )
3840
+ ),
3841
+ h = [];
3842
+ u.forEach(function (c) {
3843
+ for (
3844
+ var i = e[c],
3845
+ d = s(t[c]),
3846
+ u = [],
3847
+ p = [],
3848
+ v = 0;
3849
+ v < f.length;
3850
+ v++
3851
+ ) {
3852
+ var m = f[v];
3853
+ if (0 == m.childElementCount) {
3854
+ var b = m.textContent;
3855
+ (b = n[b] || b) === c
3856
+ ? (h.push({
3857
+ index: v,
3858
+ open: !0,
3859
+ element: m
3860
+ }),
3861
+ m.classList.add(d),
3862
+ m.classList.add(s("brace-open")),
3863
+ p.push(v))
3864
+ : b === i &&
3865
+ (h.push({
3866
+ index: v,
3867
+ open: !1,
3868
+ element: m
3869
+ }),
3870
+ m.classList.add(d),
3871
+ m.classList.add(s("brace-close")),
3872
+ p.length && u.push([v, p.pop()]));
3873
+ }
3874
+ }
3875
+ u.forEach(function (e) {
3876
+ var t = "pair-" + r++ + "-",
3877
+ n = f[e[0]],
3878
+ c = f[e[1]];
3879
+ (n.id = t + "open"),
3880
+ (c.id = t + "close"),
3881
+ [n, c].forEach(function (e) {
3882
+ e.addEventListener("mouseenter", a),
3883
+ e.addEventListener("mouseleave", o),
3884
+ e.addEventListener("click", l);
3885
+ });
3886
+ });
3887
+ });
3888
+ var p = 0;
3889
+ h.sort(function (e, t) {
3890
+ return e.index - t.index;
3891
+ }),
3892
+ h.forEach(function (e) {
3893
+ e.open
3894
+ ? (e.element.classList.add(
3895
+ s("brace-level-" + ((p % 12) + 1))
3896
+ ),
3897
+ p++)
3898
+ : ((p = Math.max(0, p - 1)),
3899
+ e.element.classList.add(
3900
+ s("brace-level-" + ((p % 12) + 1))
3901
+ ));
3902
+ });
3903
+ }
3904
+ }
3905
+ });
3906
+ }
3907
+ function s(e) {
3908
+ var t = Prism.plugins.customClass;
3909
+ return t ? t.apply(e, "none") : e;
3910
+ }
3911
+ function i(e) {
3912
+ var t = c.exec(e.id);
3913
+ return document.querySelector(
3914
+ "#" + t[1] + ("open" == t[2] ? "close" : "open")
3915
+ );
3916
+ }
3917
+ function a() {
3918
+ Prism.util.isActive(this, "brace-hover", !0) &&
3919
+ [this, i(this)].forEach(function (e) {
3920
+ e.classList.add(s("brace-hover"));
3921
+ });
3922
+ }
3923
+ function o() {
3924
+ [this, i(this)].forEach(function (e) {
3925
+ e.classList.remove(s("brace-hover"));
3926
+ });
3927
+ }
3928
+ function l() {
3929
+ Prism.util.isActive(this, "brace-select", !0) &&
3930
+ [this, i(this)].forEach(function (e) {
3931
+ e.classList.add(s("brace-selected"));
3932
+ });
3933
+ }
3934
+ })();
3935
+ });
3936
+ //End autogenerated code
3937
+ export default prism;