@baseplate-dev/plugin-auth 0.6.15 → 0.6.16

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 (138) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +14 -28
  3. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +14 -28
  4. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +7 -14
  5. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +7 -14
  6. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +14 -28
  7. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +14 -28
  8. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +7 -14
  9. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +14 -28
  10. package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +7 -14
  11. package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.d.ts +9 -2
  12. package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js +6 -2
  13. package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts +16 -2
  14. package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts +8 -1
  15. package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts +8 -1
  16. package/dist/better-auth/generators/fastify/better-auth-module/templates/module/services/auth.ts +5 -1
  17. package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts +7 -14
  18. package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +42 -84
  19. package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +7 -14
  20. package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +70 -140
  21. package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts +14 -28
  22. package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +7 -14
  23. package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts +7 -14
  24. package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +7 -14
  25. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +14 -28
  26. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +14 -28
  27. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +7 -14
  28. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +7 -14
  29. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +14 -28
  30. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +14 -28
  31. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +7 -14
  32. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +14 -28
  33. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +7 -14
  34. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +2 -1
  35. package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +6 -3
  36. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts +2 -1
  37. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +6 -3
  38. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js +2 -2
  39. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.ts +2 -2
  40. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js +2 -2
  41. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.ts +2 -2
  42. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +6 -3
  43. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +6 -3
  44. package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +3 -2
  45. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +3 -1
  46. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +6 -3
  47. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +2 -1
  48. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +6 -3
  49. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js +18 -16
  50. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.ts +18 -16
  51. package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.js +6 -6
  52. package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.ts +6 -6
  53. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +7 -14
  54. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +42 -84
  55. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +7 -14
  56. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +63 -126
  57. package/dist/local-auth/core/generators/react-session/generated/index.d.ts +14 -28
  58. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +7 -14
  59. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +14 -28
  60. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +7 -14
  61. package/dist/placeholder-auth/core/generators/placeholder-auth-module/placeholder-auth-module.generator.d.ts +1 -1
  62. package/dist/placeholder-auth/core/generators/placeholder-auth-module/placeholder-auth-module.generator.js +3 -1
  63. package/dist/web/assets/{_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-D2O_GHnM.js → _virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-04_7KkB1.js} +15 -15
  64. package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-BfSk5vRC.js} +5 -4
  65. package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DGL7vJhO.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DZIcwf2B.js} +1 -1
  66. package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-CXGct_48.js} +10031 -3732
  67. package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-olZgW088.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-Ci5_qYaj.js} +3823 -2545
  68. package/dist/web/assets/arduino-BP2nYunF.js +21 -0
  69. package/dist/web/assets/auth-8qJtXAgU.js +1 -0
  70. package/dist/web/assets/bash-Zh_IyzBN.js +192 -0
  71. package/dist/web/assets/basic-3mvohyEL.js +28 -0
  72. package/dist/web/assets/c-C7Ey31hW.js +74 -0
  73. package/dist/web/assets/clike-D9YNFwtw.js +41 -0
  74. package/dist/web/assets/{common-2sTWj7X2.js → common-23-wvKrM.js} +5 -5
  75. package/dist/web/assets/{common-D-CUPN3f.js → common-B-NI9TR-.js} +2 -2
  76. package/dist/web/assets/{common-BJslFOaI.js → common-BBriDRRy.js} +3 -3
  77. package/dist/web/assets/{common-2qsch56z.js → common-BvU-7KsV.js} +5 -5
  78. package/dist/web/assets/{common-DtVPzGI9.js → common-DBBUvtGu.js} +2 -2
  79. package/dist/web/assets/{common-BY8yEk1M.js → common-eFh2vwGb.js} +3 -3
  80. package/dist/web/assets/cpp-_RjA_yNA.js +82 -0
  81. package/dist/web/assets/csharp-0LZzOc6Q.js +301 -0
  82. package/dist/web/assets/css-D7TbgetL.js +70 -0
  83. package/dist/web/assets/diff-CtSa_15w.js +54 -0
  84. package/dist/web/assets/{dist-DiQ4J8N0.js → dist-BjxypexQ.js} +1397 -897
  85. package/dist/web/assets/{get-auth-plugin-definition-gCzcUybB.js → get-auth-plugin-definition-x8oAsN1R.js} +2 -2
  86. package/dist/web/assets/go-CzER04EZ.js +36 -0
  87. package/dist/web/assets/{hostInit-BPDI3Q4j.js → hostInit-Bay0Y9UX.js} +1 -1
  88. package/dist/web/assets/{index-BocHdii2.js → index-qso1IsKy.js} +2 -2
  89. package/dist/web/assets/ini-CU-wHLTy.js +51 -0
  90. package/dist/web/assets/java-HAvRESj1.js +116 -0
  91. package/dist/web/assets/javascript-BVAr0eZH.js +124 -0
  92. package/dist/web/assets/json-DN8T4yFI.js +38 -0
  93. package/dist/web/assets/kotlin-DkCMjTKK.js +83 -0
  94. package/dist/web/assets/less-ZXX1tgaG.js +42 -0
  95. package/dist/web/assets/lua-D9bD4wrb.js +28 -0
  96. package/dist/web/assets/makefile-CKoRpler.js +40 -0
  97. package/dist/web/assets/markdown-_2_uVr2L.js +278 -0
  98. package/dist/web/assets/markup-BVZ8HhdW.js +176 -0
  99. package/dist/web/assets/markup-templating-BDIRuVJH.js +94 -0
  100. package/dist/web/assets/{mf-entry-bootstrap-0-b337c957.js → mf-entry-bootstrap-0-659c976f.js} +2 -2
  101. package/dist/web/assets/{model-utils-BoeoBppL.js → model-utils-dNFTOjqi.js} +268 -25
  102. package/dist/web/assets/{models-CExR9mVk.js → models-BpslIbU7.js} +2 -2
  103. package/dist/web/assets/{models-Bb8Sa9xa.js → models-CKab4MTC.js} +2 -2
  104. package/dist/web/assets/objectivec-DPgB68It.js +25 -0
  105. package/dist/web/assets/perl-Cul_ma_h.js +92 -0
  106. package/dist/web/assets/php-JTON0zp9.js +298 -0
  107. package/dist/web/assets/{plugin-definition-BSgRuyCf.js → plugin-definition-8Exesd6T.js} +2 -2
  108. package/dist/web/assets/{plugin-definition-DoLu-enC.js → plugin-definition-ChBrbazJ.js} +2 -2
  109. package/dist/web/assets/python-CURlmZ7M.js +73 -0
  110. package/dist/web/assets/r-8lr7pbGm.js +30 -0
  111. package/dist/web/assets/regex-CxQ7DXCx.js +96 -0
  112. package/dist/web/assets/ruby-BoFHz67P.js +175 -0
  113. package/dist/web/assets/rust-CpZXpaj0.js +107 -0
  114. package/dist/web/assets/sass-DG0YAnL7.js +65 -0
  115. package/dist/web/assets/scss-BDRIqhak.js +70 -0
  116. package/dist/web/assets/sql-C-bL8_gT.js +40 -0
  117. package/dist/web/assets/{styles-DWNihayS.js → styles-Cuq4wgvD.js} +7 -7
  118. package/dist/web/assets/swift-rQ52kfab.js +107 -0
  119. package/dist/web/assets/typescript-CDkIWcT8.js +57 -0
  120. package/dist/web/assets/vbnet-_PL7-T9d.js +32 -0
  121. package/dist/web/assets/{virtualExposes-ZQ3-2Iup.js → virtualExposes-BwIds34r.js} +1 -1
  122. package/dist/web/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-joyeTHHj.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-BBt5f0I7.js} +3 -3
  123. package/dist/web/assets/{virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-Cxtxsg7w.js → virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-RzPgl37a.js} +13 -13
  124. package/dist/web/assets/{virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-BzJkYZS3.js → virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-DM6Ir1_S.js} +13 -13
  125. package/dist/web/assets/{web-CbftiK5A.js → web-BZd3bM0n.js} +6 -6
  126. package/dist/web/assets/{web-sVeHdqQo.js → web-BgWG7dYl.js} +10 -10
  127. package/dist/web/assets/{web-BbZNg5Ko.js → web-CXHw8SK7.js} +13 -13
  128. package/dist/web/assets/{web-DUQ-iyMI.js → web-CnB-sqCR.js} +18 -18
  129. package/dist/web/assets/{web-QvGnMr85.js → web-DHv2aVpi.js} +10 -10
  130. package/dist/web/assets/{web-pdVFZ-id.js → web-DNrWXjpS.js} +3 -3
  131. package/dist/web/assets/{web-BWF6Fc7g.js → web-D_H-MoGI.js} +3 -3
  132. package/dist/web/assets/workerBundle-GFUata9j.js +10 -0
  133. package/dist/web/assets/yaml-C9m3vuV5.js +90 -0
  134. package/dist/web/index.html +2 -2
  135. package/dist/web/remoteEntry.js +1 -1
  136. package/dist/web/remoteEntry.ssr.js +1 -1
  137. package/package.json +16 -16
  138. package/dist/web/assets/auth-BA-e6ORB.js +0 -1
@@ -1,4 +1,4 @@
1
- import { f as __mf_26 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js";
1
+ import { f as __mf_26 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-BfSk5vRC.js";
2
2
  //#region src/auth/utils/get-auth-plugin-definition.ts
3
3
  /**
4
4
  * Get the auth plugin definition from the project definition.
@@ -11,4 +11,4 @@ function getAuthPluginDefinition(definition) {
11
11
  //#endregion
12
12
  export { getAuthPluginDefinition as t };
13
13
 
14
- //# sourceMappingURL=get-auth-plugin-definition-gCzcUybB.js.map
14
+ //# sourceMappingURL=get-auth-plugin-definition-x8oAsN1R.js.map
@@ -0,0 +1,36 @@
1
+ import { t as clike } from "./clike-D9YNFwtw.js";
2
+ //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/go.js
3
+ /**
4
+ * @import {Refractor} from '../lib/core.js'
5
+ */
6
+ go.displayName = "go";
7
+ go.aliases = [];
8
+ /** @param {Refractor} Prism */
9
+ function go(Prism) {
10
+ Prism.register(clike);
11
+ Prism.languages.go = Prism.languages.extend("clike", {
12
+ string: {
13
+ pattern: /(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,
14
+ lookbehind: true,
15
+ greedy: true
16
+ },
17
+ keyword: /\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,
18
+ boolean: /\b(?:_|false|iota|nil|true)\b/,
19
+ number: [
20
+ /\b0(?:b[01_]+|o[0-7_]+)i?\b/i,
21
+ /\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,
22
+ /(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i
23
+ ],
24
+ operator: /[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,
25
+ builtin: /\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/
26
+ });
27
+ Prism.languages.insertBefore("go", "string", { char: {
28
+ pattern: /'(?:\\.|[^'\\\r\n]){0,10}'/,
29
+ greedy: true
30
+ } });
31
+ delete Prism.languages.go["class-name"];
32
+ }
33
+ //#endregion
34
+ export { go as default };
35
+
36
+ //# sourceMappingURL=go-CzER04EZ.js.map
@@ -45,7 +45,7 @@ async function initHost() {
45
45
  };
46
46
  const runtime = await (await __vitePreload(() => import("../remoteEntry.js"), [], import.meta.url)).init();
47
47
  const { usedShared } = await __vitePreload(async () => {
48
- const { usedShared } = await import("./_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-D2O_GHnM.js");
48
+ const { usedShared } = await import("./_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-04_7KkB1.js");
49
49
  return { usedShared };
50
50
  }, [], import.meta.url);
51
51
  const __mfNormalizeRuntimeShare = (mod) => {
@@ -1,2 +1,2 @@
1
- import "./virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-BzJkYZS3.js";
2
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-joyeTHHj.js";
1
+ import "./virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-DM6Ir1_S.js";
2
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-BBt5f0I7.js";
@@ -0,0 +1,51 @@
1
+ //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/ini.js
2
+ /**
3
+ * @import {Refractor} from '../lib/core.js'
4
+ */
5
+ ini.displayName = "ini";
6
+ ini.aliases = [];
7
+ /** @param {Refractor} Prism */
8
+ function ini(Prism) {
9
+ Prism.languages.ini = {
10
+ /**
11
+ * The component mimics the behavior of the Win32 API parser.
12
+ *
13
+ * @see {@link https://github.com/PrismJS/prism/issues/2775#issuecomment-787477723}
14
+ */
15
+ comment: {
16
+ pattern: /(^[ \f\t\v]*)[#;][^\n\r]*/m,
17
+ lookbehind: true
18
+ },
19
+ section: {
20
+ pattern: /(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,
21
+ lookbehind: true,
22
+ inside: {
23
+ "section-name": {
24
+ pattern: /(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,
25
+ lookbehind: true,
26
+ alias: "selector"
27
+ },
28
+ punctuation: /\[|\]/
29
+ }
30
+ },
31
+ key: {
32
+ pattern: /(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,
33
+ lookbehind: true,
34
+ alias: "attr-name"
35
+ },
36
+ value: {
37
+ pattern: /(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,
38
+ lookbehind: true,
39
+ alias: "attr-value",
40
+ inside: { "inner-value": {
41
+ pattern: /^("|').+(?=\1$)/,
42
+ lookbehind: true
43
+ } }
44
+ },
45
+ punctuation: /=/
46
+ };
47
+ }
48
+ //#endregion
49
+ export { ini as default };
50
+
51
+ //# sourceMappingURL=ini-CU-wHLTy.js.map
@@ -0,0 +1,116 @@
1
+ import { t as clike } from "./clike-D9YNFwtw.js";
2
+ //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/java.js
3
+ /**
4
+ * @import {Refractor} from '../lib/core.js'
5
+ */
6
+ java.displayName = "java";
7
+ java.aliases = [];
8
+ /** @param {Refractor} Prism */
9
+ function java(Prism) {
10
+ Prism.register(clike);
11
+ (function(Prism) {
12
+ var keywords = /\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/;
13
+ var classNamePrefix = /(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source;
14
+ var className = {
15
+ pattern: RegExp(/(^|[^\w.])/.source + classNamePrefix + /[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),
16
+ lookbehind: true,
17
+ inside: {
18
+ namespace: {
19
+ pattern: /^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,
20
+ inside: { punctuation: /\./ }
21
+ },
22
+ punctuation: /\./
23
+ }
24
+ };
25
+ Prism.languages.java = Prism.languages.extend("clike", {
26
+ string: {
27
+ pattern: /(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,
28
+ lookbehind: true,
29
+ greedy: true
30
+ },
31
+ "class-name": [
32
+ className,
33
+ {
34
+ pattern: RegExp(/(^|[^\w.])/.source + classNamePrefix + /[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),
35
+ lookbehind: true,
36
+ inside: className.inside
37
+ },
38
+ {
39
+ pattern: RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source + classNamePrefix + /[A-Z]\w*\b/.source),
40
+ lookbehind: true,
41
+ inside: className.inside
42
+ }
43
+ ],
44
+ keyword: keywords,
45
+ function: [Prism.languages.clike.function, {
46
+ pattern: /(::\s*)[a-z_]\w*/,
47
+ lookbehind: true
48
+ }],
49
+ 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,
50
+ operator: {
51
+ pattern: /(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,
52
+ lookbehind: true
53
+ },
54
+ constant: /\b[A-Z][A-Z_\d]+\b/
55
+ });
56
+ Prism.languages.insertBefore("java", "string", {
57
+ "triple-quoted-string": {
58
+ pattern: /"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,
59
+ greedy: true,
60
+ alias: "string"
61
+ },
62
+ char: {
63
+ pattern: /'(?:\\.|[^'\\\r\n]){1,6}'/,
64
+ greedy: true
65
+ }
66
+ });
67
+ Prism.languages.insertBefore("java", "class-name", {
68
+ annotation: {
69
+ pattern: /(^|[^.])@\w+(?:\s*\.\s*\w+)*/,
70
+ lookbehind: true,
71
+ alias: "punctuation"
72
+ },
73
+ generics: {
74
+ pattern: /<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,
75
+ inside: {
76
+ "class-name": className,
77
+ keyword: keywords,
78
+ punctuation: /[<>(),.:]/,
79
+ operator: /[?&|]/
80
+ }
81
+ },
82
+ import: [{
83
+ pattern: RegExp(/(\bimport\s+)/.source + classNamePrefix + /(?:[A-Z]\w*|\*)(?=\s*;)/.source),
84
+ lookbehind: true,
85
+ inside: {
86
+ namespace: className.inside.namespace,
87
+ punctuation: /\./,
88
+ operator: /\*/,
89
+ "class-name": /\w+/
90
+ }
91
+ }, {
92
+ pattern: RegExp(/(\bimport\s+static\s+)/.source + classNamePrefix + /(?:\w+|\*)(?=\s*;)/.source),
93
+ lookbehind: true,
94
+ alias: "static",
95
+ inside: {
96
+ namespace: className.inside.namespace,
97
+ static: /\b\w+$/,
98
+ punctuation: /\./,
99
+ operator: /\*/,
100
+ "class-name": /\w+/
101
+ }
102
+ }],
103
+ namespace: {
104
+ pattern: RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g, function() {
105
+ return keywords.source;
106
+ })),
107
+ lookbehind: true,
108
+ inside: { punctuation: /\./ }
109
+ }
110
+ });
111
+ })(Prism);
112
+ }
113
+ //#endregion
114
+ export { java as default };
115
+
116
+ //# sourceMappingURL=java-HAvRESj1.js.map
@@ -0,0 +1,124 @@
1
+ import { t as clike } from "./clike-D9YNFwtw.js";
2
+ //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/javascript.js
3
+ /**
4
+ * @import {Refractor} from '../lib/core.js'
5
+ */
6
+ javascript.displayName = "javascript";
7
+ javascript.aliases = ["js"];
8
+ /** @param {Refractor} Prism */
9
+ function javascript(Prism) {
10
+ Prism.register(clike);
11
+ Prism.languages.javascript = Prism.languages.extend("clike", {
12
+ "class-name": [Prism.languages.clike["class-name"], {
13
+ pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,
14
+ lookbehind: true
15
+ }],
16
+ keyword: [{
17
+ pattern: /((?:^|\})\s*)catch\b/,
18
+ lookbehind: true
19
+ }, {
20
+ pattern: /(^|[^.]|\.\.\.\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/,
21
+ lookbehind: true
22
+ }],
23
+ function: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,
24
+ number: {
25
+ pattern: RegExp(/(^|[^\w$])/.source + "(?:" + (/NaN|Infinity/.source + "|" + /0[bB][01]+(?:_[01]+)*n?/.source + "|" + /0[oO][0-7]+(?:_[0-7]+)*n?/.source + "|" + /0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source + "|" + /\d+(?:_\d+)*n/.source + "|" + /(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source) + ")" + /(?![\w$])/.source),
26
+ lookbehind: true
27
+ },
28
+ operator: /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/
29
+ });
30
+ Prism.languages.javascript["class-name"][0].pattern = /(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;
31
+ Prism.languages.insertBefore("javascript", "keyword", {
32
+ regex: {
33
+ pattern: RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source + /\//.source + "(?:" + /(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source + "|" + /(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source + ")" + /(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),
34
+ lookbehind: true,
35
+ greedy: true,
36
+ inside: {
37
+ "regex-source": {
38
+ pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/,
39
+ lookbehind: true,
40
+ alias: "language-regex",
41
+ inside: Prism.languages.regex
42
+ },
43
+ "regex-delimiter": /^\/|\/$/,
44
+ "regex-flags": /^[a-z]+$/
45
+ }
46
+ },
47
+ "function-variable": {
48
+ pattern: /#?(?!\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*=>))/,
49
+ alias: "function"
50
+ },
51
+ parameter: [
52
+ {
53
+ pattern: /(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,
54
+ lookbehind: true,
55
+ inside: Prism.languages.javascript
56
+ },
57
+ {
58
+ pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,
59
+ lookbehind: true,
60
+ inside: Prism.languages.javascript
61
+ },
62
+ {
63
+ pattern: /(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,
64
+ lookbehind: true,
65
+ inside: Prism.languages.javascript
66
+ },
67
+ {
68
+ pattern: /((?:\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*\{)/,
69
+ lookbehind: true,
70
+ inside: Prism.languages.javascript
71
+ }
72
+ ],
73
+ constant: /\b[A-Z](?:[A-Z_]|\dx?)*\b/
74
+ });
75
+ Prism.languages.insertBefore("javascript", "string", {
76
+ hashbang: {
77
+ pattern: /^#!.*/,
78
+ greedy: true,
79
+ alias: "comment"
80
+ },
81
+ "template-string": {
82
+ pattern: /`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,
83
+ greedy: true,
84
+ inside: {
85
+ "template-punctuation": {
86
+ pattern: /^`|`$/,
87
+ alias: "string"
88
+ },
89
+ interpolation: {
90
+ pattern: /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
91
+ lookbehind: true,
92
+ inside: {
93
+ "interpolation-punctuation": {
94
+ pattern: /^\$\{|\}$/,
95
+ alias: "punctuation"
96
+ },
97
+ rest: Prism.languages.javascript
98
+ }
99
+ },
100
+ string: /[\s\S]+/
101
+ }
102
+ },
103
+ "string-property": {
104
+ pattern: /((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,
105
+ lookbehind: true,
106
+ greedy: true,
107
+ alias: "property"
108
+ }
109
+ });
110
+ Prism.languages.insertBefore("javascript", "operator", { "literal-property": {
111
+ pattern: /((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,
112
+ lookbehind: true,
113
+ alias: "property"
114
+ } });
115
+ if (Prism.languages.markup) {
116
+ Prism.languages.markup.tag.addInlined("script", "javascript");
117
+ Prism.languages.markup.tag.addAttribute(/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)/.source, "javascript");
118
+ }
119
+ Prism.languages.js = Prism.languages.javascript;
120
+ }
121
+ //#endregion
122
+ export { javascript as default };
123
+
124
+ //# sourceMappingURL=javascript-BVAr0eZH.js.map
@@ -0,0 +1,38 @@
1
+ //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/json.js
2
+ /**
3
+ * @import {Refractor} from '../lib/core.js'
4
+ */
5
+ json.displayName = "json";
6
+ json.aliases = ["webmanifest"];
7
+ /** @param {Refractor} Prism */
8
+ function json(Prism) {
9
+ Prism.languages.json = {
10
+ property: {
11
+ pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,
12
+ lookbehind: true,
13
+ greedy: true
14
+ },
15
+ string: {
16
+ pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,
17
+ lookbehind: true,
18
+ greedy: true
19
+ },
20
+ comment: {
21
+ pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,
22
+ greedy: true
23
+ },
24
+ number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
25
+ punctuation: /[{}[\],]/,
26
+ operator: /:/,
27
+ boolean: /\b(?:false|true)\b/,
28
+ null: {
29
+ pattern: /\bnull\b/,
30
+ alias: "keyword"
31
+ }
32
+ };
33
+ Prism.languages.webmanifest = Prism.languages.json;
34
+ }
35
+ //#endregion
36
+ export { json as default };
37
+
38
+ //# sourceMappingURL=json-DN8T4yFI.js.map
@@ -0,0 +1,83 @@
1
+ import { t as clike } from "./clike-D9YNFwtw.js";
2
+ //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/kotlin.js
3
+ /**
4
+ * @import {Refractor} from '../lib/core.js'
5
+ */
6
+ kotlin.displayName = "kotlin";
7
+ kotlin.aliases = ["kt", "kts"];
8
+ /** @param {Refractor} Prism */
9
+ function kotlin(Prism) {
10
+ Prism.register(clike);
11
+ (function(Prism) {
12
+ Prism.languages.kotlin = Prism.languages.extend("clike", {
13
+ keyword: {
14
+ pattern: /(^|[^.])\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/,
15
+ lookbehind: true
16
+ },
17
+ function: [{
18
+ pattern: /(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,
19
+ greedy: true
20
+ }, {
21
+ pattern: /(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,
22
+ lookbehind: true,
23
+ greedy: true
24
+ }],
25
+ number: /\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,
26
+ operator: /\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/
27
+ });
28
+ delete Prism.languages.kotlin["class-name"];
29
+ var interpolationInside = {
30
+ "interpolation-punctuation": {
31
+ pattern: /^\$\{?|\}$/,
32
+ alias: "punctuation"
33
+ },
34
+ expression: {
35
+ pattern: /[\s\S]+/,
36
+ inside: Prism.languages.kotlin
37
+ }
38
+ };
39
+ Prism.languages.insertBefore("kotlin", "string", {
40
+ "string-literal": [{
41
+ pattern: /"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,
42
+ alias: "multiline",
43
+ inside: {
44
+ interpolation: {
45
+ pattern: /\$(?:[a-z_]\w*|\{[^{}]*\})/i,
46
+ inside: interpolationInside
47
+ },
48
+ string: /[\s\S]+/
49
+ }
50
+ }, {
51
+ pattern: /"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,
52
+ alias: "singleline",
53
+ inside: {
54
+ interpolation: {
55
+ pattern: /((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,
56
+ lookbehind: true,
57
+ inside: interpolationInside
58
+ },
59
+ string: /[\s\S]+/
60
+ }
61
+ }],
62
+ char: {
63
+ pattern: /'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,
64
+ greedy: true
65
+ }
66
+ });
67
+ delete Prism.languages.kotlin["string"];
68
+ Prism.languages.insertBefore("kotlin", "keyword", { annotation: {
69
+ pattern: /\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,
70
+ alias: "builtin"
71
+ } });
72
+ Prism.languages.insertBefore("kotlin", "function", { label: {
73
+ pattern: /\b\w+@|@\w+\b/,
74
+ alias: "symbol"
75
+ } });
76
+ Prism.languages.kt = Prism.languages.kotlin;
77
+ Prism.languages.kts = Prism.languages.kotlin;
78
+ })(Prism);
79
+ }
80
+ //#endregion
81
+ export { kotlin as default };
82
+
83
+ //# sourceMappingURL=kotlin-DkCMjTKK.js.map
@@ -0,0 +1,42 @@
1
+ import css from "./css-D7TbgetL.js";
2
+ //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/less.js
3
+ /**
4
+ * @import {Refractor} from '../lib/core.js'
5
+ */
6
+ less.displayName = "less";
7
+ less.aliases = [];
8
+ /** @param {Refractor} Prism */
9
+ function less(Prism) {
10
+ Prism.register(css);
11
+ Prism.languages.less = Prism.languages.extend("css", {
12
+ comment: [/\/\*[\s\S]*?\*\//, {
13
+ pattern: /(^|[^\\])\/\/.*/,
14
+ lookbehind: true
15
+ }],
16
+ atrule: {
17
+ pattern: /@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,
18
+ inside: { punctuation: /[:()]/ }
19
+ },
20
+ selector: {
21
+ pattern: /(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,
22
+ inside: { variable: /@+[\w-]+/ }
23
+ },
24
+ property: /(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,
25
+ operator: /[+\-*\/]/
26
+ });
27
+ Prism.languages.insertBefore("less", "property", {
28
+ variable: [{
29
+ pattern: /@[\w-]+\s*:/,
30
+ inside: { punctuation: /:/ }
31
+ }, /@@?[\w-]+/],
32
+ "mixin-usage": {
33
+ pattern: /([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,
34
+ lookbehind: true,
35
+ alias: "function"
36
+ }
37
+ });
38
+ }
39
+ //#endregion
40
+ export { less as default };
41
+
42
+ //# sourceMappingURL=less-ZXX1tgaG.js.map
@@ -0,0 +1,28 @@
1
+ //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/lua.js
2
+ /**
3
+ * @import {Refractor} from '../lib/core.js'
4
+ */
5
+ lua.displayName = "lua";
6
+ lua.aliases = [];
7
+ /** @param {Refractor} Prism */
8
+ function lua(Prism) {
9
+ Prism.languages.lua = {
10
+ comment: /^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,
11
+ string: {
12
+ pattern: /(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,
13
+ greedy: true
14
+ },
15
+ number: /\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,
16
+ keyword: /\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,
17
+ function: /(?!\d)\w+(?=\s*(?:[({]))/,
18
+ operator: [/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/, {
19
+ pattern: /(^|[^.])\.\.(?!\.)/,
20
+ lookbehind: true
21
+ }],
22
+ punctuation: /[\[\](){},;]|\.+|:+/
23
+ };
24
+ }
25
+ //#endregion
26
+ export { lua as default };
27
+
28
+ //# sourceMappingURL=lua-D9bD4wrb.js.map
@@ -0,0 +1,40 @@
1
+ //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/makefile.js
2
+ /**
3
+ * @import {Refractor} from '../lib/core.js'
4
+ */
5
+ makefile.displayName = "makefile";
6
+ makefile.aliases = [];
7
+ /** @param {Refractor} Prism */
8
+ function makefile(Prism) {
9
+ Prism.languages.makefile = {
10
+ comment: {
11
+ pattern: /(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,
12
+ lookbehind: true
13
+ },
14
+ string: {
15
+ pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
16
+ greedy: true
17
+ },
18
+ "builtin-target": {
19
+ pattern: /\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,
20
+ alias: "builtin"
21
+ },
22
+ target: {
23
+ pattern: /^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,
24
+ alias: "symbol",
25
+ inside: { variable: /\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/ }
26
+ },
27
+ variable: /\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,
28
+ keyword: /-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,
29
+ function: {
30
+ pattern: /(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,
31
+ lookbehind: true
32
+ },
33
+ operator: /(?:::|[?:+!])?=|[|@]/,
34
+ punctuation: /[:;(){}]/
35
+ };
36
+ }
37
+ //#endregion
38
+ export { makefile as default };
39
+
40
+ //# sourceMappingURL=makefile-CKoRpler.js.map