drizzle-cube 0.4.28 → 0.4.30

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 (382) hide show
  1. package/dist/adapters/anthropic-BIva8k1r.cjs +1 -0
  2. package/dist/adapters/anthropic-B_rg0BhK.js +140 -0
  3. package/dist/adapters/dist-Boc63-1q.cjs +2 -0
  4. package/dist/adapters/dist-De5fzUEM.js +581 -0
  5. package/dist/adapters/express/index.cjs +2 -10
  6. package/dist/adapters/express/index.js +232 -342
  7. package/dist/adapters/fastify/index.cjs +2 -10
  8. package/dist/adapters/fastify/index.js +275 -424
  9. package/dist/adapters/google-CT4kgmBf.js +154 -0
  10. package/dist/adapters/google-Dgo9-Kb5.cjs +2 -0
  11. package/dist/adapters/handler-B8vuFQYP.cjs +25 -0
  12. package/dist/adapters/handler-D-2-6uLM.js +2951 -0
  13. package/dist/adapters/hono/index.cjs +2 -10
  14. package/dist/adapters/hono/index.js +307 -402
  15. package/dist/adapters/mcp-prompts-BAutSQYA.js +344 -0
  16. package/dist/adapters/mcp-prompts-DsAkafVn.cjs +5 -0
  17. package/dist/adapters/mcp-transport-CuugoG8t.js +7821 -0
  18. package/dist/adapters/mcp-transport-Dpp6hdZe.cjs +253 -0
  19. package/dist/adapters/nextjs/index.cjs +1 -9
  20. package/dist/adapters/nextjs/index.js +377 -600
  21. package/dist/adapters/openai-CjBvA6mK.js +4114 -0
  22. package/dist/adapters/openai-DhLE0A9Z.cjs +1 -0
  23. package/dist/adapters/openai-Zjw4Zo4R.js +153 -0
  24. package/dist/adapters/openai-eJBw3LfQ.cjs +16 -0
  25. package/dist/adapters/types.cjs +0 -1
  26. package/dist/adapters/types.js +0 -1
  27. package/dist/adapters/utils-ChhNGUOF.js +5396 -0
  28. package/dist/adapters/utils-CwJplXR5.cjs +15 -0
  29. package/dist/adapters/utils.cjs +1 -19
  30. package/dist/adapters/utils.js +2 -21333
  31. package/dist/client/charts.js +15 -186
  32. package/dist/client/chunks/DashboardEditModal-C076pscL.js +6678 -0
  33. package/dist/client/chunks/DashboardEditModal-C076pscL.js.map +1 -0
  34. package/dist/client/chunks/FieldSearchModal-C0DjSWk3.js +2631 -0
  35. package/dist/client/chunks/FieldSearchModal-C0DjSWk3.js.map +1 -0
  36. package/dist/client/chunks/RetentionCombinedChart-DuGXc-AP.js +270 -0
  37. package/dist/client/chunks/RetentionCombinedChart-DuGXc-AP.js.map +1 -0
  38. package/dist/client/chunks/RetentionCombinedChart.config-DprbXd1N.js +56 -0
  39. package/dist/client/chunks/RetentionCombinedChart.config-DprbXd1N.js.map +1 -0
  40. package/dist/client/chunks/RetentionHeatmap-BoGY6mlZ.js +193 -0
  41. package/dist/client/chunks/RetentionHeatmap-BoGY6mlZ.js.map +1 -0
  42. package/dist/client/chunks/RetentionHeatmap.config-cbaNExVy.js +25 -0
  43. package/dist/client/chunks/RetentionHeatmap.config-cbaNExVy.js.map +1 -0
  44. package/dist/client/chunks/analysis-builder-DF0XntqC.js +6111 -0
  45. package/dist/client/chunks/analysis-builder-DF0XntqC.js.map +1 -0
  46. package/dist/client/chunks/analysis-builder-shared-2QhKYbs6.js +3114 -0
  47. package/dist/client/chunks/analysis-builder-shared-2QhKYbs6.js.map +1 -0
  48. package/dist/client/chunks/chart-activity-grid-CNES9VBk.js +803 -0
  49. package/dist/client/chunks/chart-activity-grid-CNES9VBk.js.map +1 -0
  50. package/dist/client/chunks/chart-area-CRJc3KOu.js +449 -0
  51. package/dist/client/chunks/chart-area-CRJc3KOu.js.map +1 -0
  52. package/dist/client/chunks/chart-bar-DD2PjJ5n.js +270 -0
  53. package/dist/client/chunks/chart-bar-DD2PjJ5n.js.map +1 -0
  54. package/dist/client/chunks/chart-box-plot-BcqleldJ.js +377 -0
  55. package/dist/client/chunks/chart-box-plot-BcqleldJ.js.map +1 -0
  56. package/dist/client/chunks/chart-bubble-BmQkVk4K.js +273 -0
  57. package/dist/client/chunks/chart-bubble-BmQkVk4K.js.map +1 -0
  58. package/dist/client/chunks/chart-candlestick-C3Rep469.js +306 -0
  59. package/dist/client/chunks/chart-candlestick-C3Rep469.js.map +1 -0
  60. package/dist/client/chunks/chart-config-activity-grid-USo7JrPh.js +51 -0
  61. package/dist/client/chunks/chart-config-activity-grid-USo7JrPh.js.map +1 -0
  62. package/dist/client/chunks/chart-config-area-D_ZufYzg.js +93 -0
  63. package/dist/client/chunks/chart-config-area-D_ZufYzg.js.map +1 -0
  64. package/dist/client/chunks/chart-config-bar-BCi2Wmd6.js +87 -0
  65. package/dist/client/chunks/chart-config-bar-BCi2Wmd6.js.map +1 -0
  66. package/dist/client/chunks/chart-config-box-plot-afKLzJSp.js +35 -0
  67. package/dist/client/chunks/chart-config-box-plot-afKLzJSp.js.map +1 -0
  68. package/dist/client/chunks/chart-config-bubble-CgbBjPv8.js +82 -0
  69. package/dist/client/chunks/chart-config-bubble-CgbBjPv8.js.map +1 -0
  70. package/dist/client/chunks/chart-config-candlestick-7boGjZ-A.js +72 -0
  71. package/dist/client/chunks/chart-config-candlestick-7boGjZ-A.js.map +1 -0
  72. package/dist/client/chunks/chart-config-data-table-Cl7sBasW.js +30 -0
  73. package/dist/client/chunks/chart-config-data-table-Cl7sBasW.js.map +1 -0
  74. package/dist/client/chunks/chart-config-funnel-CXPYQtTl.js +93 -0
  75. package/dist/client/chunks/chart-config-funnel-CXPYQtTl.js.map +1 -0
  76. package/dist/client/chunks/chart-config-gauge-DUNEUCvh.js +64 -0
  77. package/dist/client/chunks/chart-config-gauge-DUNEUCvh.js.map +1 -0
  78. package/dist/client/chunks/chart-config-heat-map-BFf1tO11.js +91 -0
  79. package/dist/client/chunks/chart-config-heat-map-BFf1tO11.js.map +1 -0
  80. package/dist/client/chunks/chart-config-kpi-delta-C5k2waIJ.js +94 -0
  81. package/dist/client/chunks/chart-config-kpi-delta-C5k2waIJ.js.map +1 -0
  82. package/dist/client/chunks/chart-config-kpi-number-DptOyhk0.js +75 -0
  83. package/dist/client/chunks/chart-config-kpi-number-DptOyhk0.js.map +1 -0
  84. package/dist/client/chunks/chart-config-kpi-text-D9DdVWqd.js +47 -0
  85. package/dist/client/chunks/chart-config-kpi-text-D9DdVWqd.js.map +1 -0
  86. package/dist/client/chunks/chart-config-line-B3NgLF7K.js +104 -0
  87. package/dist/client/chunks/chart-config-line-B3NgLF7K.js.map +1 -0
  88. package/dist/client/chunks/chart-config-markdown-tlfivQTt.js +117 -0
  89. package/dist/client/chunks/chart-config-markdown-tlfivQTt.js.map +1 -0
  90. package/dist/client/chunks/chart-config-measure-profile-D7XDwrU2.js +82 -0
  91. package/dist/client/chunks/chart-config-measure-profile-D7XDwrU2.js.map +1 -0
  92. package/dist/client/chunks/chart-config-pie-wY0B52PC.js +68 -0
  93. package/dist/client/chunks/chart-config-pie-wY0B52PC.js.map +1 -0
  94. package/dist/client/chunks/chart-config-radar-DRpJBy1M.js +49 -0
  95. package/dist/client/chunks/chart-config-radar-DRpJBy1M.js.map +1 -0
  96. package/dist/client/chunks/chart-config-radial-bar-DCUpXv9G.js +38 -0
  97. package/dist/client/chunks/chart-config-radial-bar-DCUpXv9G.js.map +1 -0
  98. package/dist/client/chunks/chart-config-sankey-CdOhlm4h.js +66 -0
  99. package/dist/client/chunks/chart-config-sankey-CdOhlm4h.js.map +1 -0
  100. package/dist/client/chunks/chart-config-scatter-B2su_x8f.js +61 -0
  101. package/dist/client/chunks/chart-config-scatter-B2su_x8f.js.map +1 -0
  102. package/dist/client/chunks/chart-config-sunburst-BPdjbk18.js +45 -0
  103. package/dist/client/chunks/chart-config-sunburst-BPdjbk18.js.map +1 -0
  104. package/dist/client/chunks/chart-config-tree-map-Cbsh2fe2.js +51 -0
  105. package/dist/client/chunks/chart-config-tree-map-Cbsh2fe2.js.map +1 -0
  106. package/dist/client/chunks/chart-config-waterfall-DGmuZfQF.js +59 -0
  107. package/dist/client/chunks/chart-config-waterfall-DGmuZfQF.js.map +1 -0
  108. package/dist/client/chunks/chart-data-table-DehW1C1G.js +4088 -0
  109. package/dist/client/chunks/chart-data-table-DehW1C1G.js.map +1 -0
  110. package/dist/client/chunks/chart-funnel-BjkpnG5g.js +447 -0
  111. package/dist/client/chunks/chart-funnel-BjkpnG5g.js.map +1 -0
  112. package/dist/client/chunks/chart-gauge-BWW_HEfg.js +424 -0
  113. package/dist/client/chunks/chart-gauge-BWW_HEfg.js.map +1 -0
  114. package/dist/client/chunks/chart-heat-map-BWuOuDcm.js +236 -0
  115. package/dist/client/chunks/chart-heat-map-BWuOuDcm.js.map +1 -0
  116. package/dist/client/chunks/chart-kpi-delta-D5OHtDJx.js +343 -0
  117. package/dist/client/chunks/chart-kpi-delta-D5OHtDJx.js.map +1 -0
  118. package/dist/client/chunks/chart-kpi-number-C9zH-aKC.js +326 -0
  119. package/dist/client/chunks/chart-kpi-number-C9zH-aKC.js.map +1 -0
  120. package/dist/client/chunks/chart-kpi-text-ChVn3S7j.js +149 -0
  121. package/dist/client/chunks/chart-kpi-text-ChVn3S7j.js.map +1 -0
  122. package/dist/client/chunks/chart-line-DOIMkP0b.js +431 -0
  123. package/dist/client/chunks/chart-line-DOIMkP0b.js.map +1 -0
  124. package/dist/client/chunks/chart-markdown-DXxc43w1.js +3457 -0
  125. package/dist/client/chunks/chart-markdown-DXxc43w1.js.map +1 -0
  126. package/dist/client/chunks/chart-measure-profile-C6wrr9il.js +179 -0
  127. package/dist/client/chunks/chart-measure-profile-C6wrr9il.js.map +1 -0
  128. package/dist/client/chunks/chart-pie-BU_FgwDc.js +172 -0
  129. package/dist/client/chunks/chart-pie-BU_FgwDc.js.map +1 -0
  130. package/dist/client/chunks/chart-radar-DlufwnAX.js +154 -0
  131. package/dist/client/chunks/chart-radar-DlufwnAX.js.map +1 -0
  132. package/dist/client/chunks/chart-radial-bar-B5vS_Aw5.js +148 -0
  133. package/dist/client/chunks/chart-radial-bar-B5vS_Aw5.js.map +1 -0
  134. package/dist/client/chunks/chart-sankey-FChb26UX.js +222 -0
  135. package/dist/client/chunks/chart-sankey-FChb26UX.js.map +1 -0
  136. package/dist/client/chunks/chart-scatter-DW0cAZ2H.js +255 -0
  137. package/dist/client/chunks/chart-scatter-DW0cAZ2H.js.map +1 -0
  138. package/dist/client/chunks/chart-sunburst-Clf-6WxW.js +221 -0
  139. package/dist/client/chunks/chart-sunburst-Clf-6WxW.js.map +1 -0
  140. package/dist/client/chunks/chart-tree-map-p_VwUJPF.js +298 -0
  141. package/dist/client/chunks/chart-tree-map-p_VwUJPF.js.map +1 -0
  142. package/dist/client/chunks/chart-waterfall-jt44IQ-w.js +237 -0
  143. package/dist/client/chunks/chart-waterfall-jt44IQ-w.js.map +1 -0
  144. package/dist/client/chunks/charts-core-CUVzf4cV.js +215 -0
  145. package/dist/client/chunks/charts-core-CUVzf4cV.js.map +1 -0
  146. package/dist/client/chunks/charts-loader-AGpph8_I.js +259 -0
  147. package/dist/client/chunks/charts-loader-AGpph8_I.js.map +1 -0
  148. package/dist/client/chunks/core-D1TOj17W.js +845 -0
  149. package/dist/client/chunks/core-D1TOj17W.js.map +1 -0
  150. package/dist/client/chunks/dist-DDBeV_JI.js +847 -0
  151. package/dist/client/chunks/dist-DDBeV_JI.js.map +1 -0
  152. package/dist/client/chunks/javascript-BBwTSo6e.js +438 -0
  153. package/dist/client/chunks/javascript-BBwTSo6e.js.map +1 -0
  154. package/dist/client/chunks/json-BpTrLZSh.js +38 -0
  155. package/dist/client/chunks/json-BpTrLZSh.js.map +1 -0
  156. package/dist/client/chunks/lazyChartConfigRegistry-BjhxDaSf.js +149 -0
  157. package/dist/client/chunks/lazyChartConfigRegistry-BjhxDaSf.js.map +1 -0
  158. package/dist/client/chunks/providers-DX3Vw5kc.js +7 -0
  159. package/dist/client/chunks/providers-DX3Vw5kc.js.map +1 -0
  160. package/dist/client/chunks/retention-UEXlSdZ-.js +132 -0
  161. package/dist/client/chunks/retention-UEXlSdZ-.js.map +1 -0
  162. package/dist/client/chunks/rolldown-runtime-lc2dmIiU.js +20 -0
  163. package/dist/client/chunks/schema-visualization-ZugB4Io9.js +1073 -0
  164. package/dist/client/chunks/schema-visualization-ZugB4Io9.js.map +1 -0
  165. package/dist/client/chunks/sql-B0chxcEK.js +120 -0
  166. package/dist/client/chunks/sql-B0chxcEK.js.map +1 -0
  167. package/dist/client/chunks/syntaxHighlighting-87bOwTxj.js +30 -0
  168. package/dist/client/chunks/syntaxHighlighting-87bOwTxj.js.map +1 -0
  169. package/dist/client/chunks/useDebounce-BQjNWndQ.js +1394 -0
  170. package/dist/client/chunks/useDebounce-BQjNWndQ.js.map +1 -0
  171. package/dist/client/chunks/useDirtyStateTracking-CgKZWkel.js +66 -0
  172. package/dist/client/chunks/useDirtyStateTracking-CgKZWkel.js.map +1 -0
  173. package/dist/client/chunks/useExplainAI-c_bHxZe5.js +203 -0
  174. package/dist/client/chunks/useExplainAI-c_bHxZe5.js.map +1 -0
  175. package/dist/client/chunks/useNotebookLayout-BFZ_33Kb.js +37 -0
  176. package/dist/client/chunks/useNotebookLayout-BFZ_33Kb.js.map +1 -0
  177. package/dist/client/chunks/utils-A54Ny29G.js +128 -0
  178. package/dist/client/chunks/utils-A54Ny29G.js.map +1 -0
  179. package/dist/client/chunks/vendor-CoPBRumI.js +828 -0
  180. package/dist/client/chunks/vendor-CoPBRumI.js.map +1 -0
  181. package/dist/client/components.js +4 -18
  182. package/dist/client/hooks.js +6 -58
  183. package/dist/client/icons.js +2 -15
  184. package/dist/client/index.js +1061 -1295
  185. package/dist/client/index.js.map +1 -1
  186. package/dist/client/providers.js +3 -9
  187. package/dist/client/styles.css +2 -1
  188. package/dist/client/types.d.ts +1 -0
  189. package/dist/client/utils.js +7 -74
  190. package/dist/client-bundle-stats.html +1 -1
  191. package/dist/server/anthropic-BsNspi1r.js +140 -0
  192. package/dist/server/anthropic-DsCEX6Fm.cjs +1 -0
  193. package/dist/server/dist-CMWZC51B.js +581 -0
  194. package/dist/server/dist-DxegvyZF.cjs +2 -0
  195. package/dist/server/google-BXwMolCu.js +154 -0
  196. package/dist/server/google-DzQWXFwF.cjs +2 -0
  197. package/dist/server/index.cjs +109 -127
  198. package/dist/server/index.d.ts +13 -4
  199. package/dist/server/index.js +15089 -34349
  200. package/dist/server/openai-BPhmb8mi.js +4114 -0
  201. package/dist/server/openai-CLsoLaue.cjs +1 -0
  202. package/dist/server/openai-D1kZ5sdM.js +153 -0
  203. package/dist/server/openai-DkOKbVLC.cjs +16 -0
  204. package/package.json +5 -5
  205. package/dist/adapters/anthropic-BTkjgFpT.cjs +0 -1
  206. package/dist/adapters/anthropic-CTu9E801.js +0 -126
  207. package/dist/adapters/google-BAK9pnQf.cjs +0 -2
  208. package/dist/adapters/google-DficVAsJ.js +0 -146
  209. package/dist/adapters/handler-BV2_dul8.js +0 -2713
  210. package/dist/adapters/handler-LMRPeTNJ.cjs +0 -39
  211. package/dist/adapters/index-BgCeQBuN.cjs +0 -2
  212. package/dist/adapters/index-C3PskWTr.js +0 -5353
  213. package/dist/adapters/index-C45_meK_.js +0 -719
  214. package/dist/adapters/index-ht4NPca9.cjs +0 -23
  215. package/dist/adapters/mcp-transport-B6ZudTSk.js +0 -11010
  216. package/dist/adapters/mcp-transport-DCiSGtp1.cjs +0 -257
  217. package/dist/adapters/openai-BvA6eLs8.cjs +0 -1
  218. package/dist/adapters/openai-mcE24du8.js +0 -131
  219. package/dist/client/charts.js.map +0 -1
  220. package/dist/client/chunks/RetentionCombinedChart--SnU4Y_I.js +0 -256
  221. package/dist/client/chunks/RetentionCombinedChart--SnU4Y_I.js.map +0 -1
  222. package/dist/client/chunks/RetentionCombinedChart.config-Bbp2ghim.js +0 -48
  223. package/dist/client/chunks/RetentionCombinedChart.config-Bbp2ghim.js.map +0 -1
  224. package/dist/client/chunks/RetentionHeatmap-BHYU8MXY.js +0 -178
  225. package/dist/client/chunks/RetentionHeatmap-BHYU8MXY.js.map +0 -1
  226. package/dist/client/chunks/RetentionHeatmap.config-BWf_-vdj.js +0 -29
  227. package/dist/client/chunks/RetentionHeatmap.config-BWf_-vdj.js.map +0 -1
  228. package/dist/client/chunks/analysis-builder-DMFoAkjT.js +0 -6203
  229. package/dist/client/chunks/analysis-builder-DMFoAkjT.js.map +0 -1
  230. package/dist/client/chunks/analysis-builder-shared-CunrT3gi.js +0 -3140
  231. package/dist/client/chunks/analysis-builder-shared-CunrT3gi.js.map +0 -1
  232. package/dist/client/chunks/chart-activity-grid-DCznpK6N.js +0 -347
  233. package/dist/client/chunks/chart-activity-grid-DCznpK6N.js.map +0 -1
  234. package/dist/client/chunks/chart-area-CqKRIUpj.js +0 -234
  235. package/dist/client/chunks/chart-area-CqKRIUpj.js.map +0 -1
  236. package/dist/client/chunks/chart-bar-Bl5jvrU_.js +0 -267
  237. package/dist/client/chunks/chart-bar-Bl5jvrU_.js.map +0 -1
  238. package/dist/client/chunks/chart-box-plot-CzMb00z_.js +0 -322
  239. package/dist/client/chunks/chart-box-plot-CzMb00z_.js.map +0 -1
  240. package/dist/client/chunks/chart-bubble-BF8Z52eW.js +0 -249
  241. package/dist/client/chunks/chart-bubble-BF8Z52eW.js.map +0 -1
  242. package/dist/client/chunks/chart-candlestick-ByWS945g.js +0 -269
  243. package/dist/client/chunks/chart-candlestick-ByWS945g.js.map +0 -1
  244. package/dist/client/chunks/chart-config-activity-grid-CmOqDuOT.js +0 -50
  245. package/dist/client/chunks/chart-config-activity-grid-CmOqDuOT.js.map +0 -1
  246. package/dist/client/chunks/chart-config-area-CK_GVApT.js +0 -77
  247. package/dist/client/chunks/chart-config-area-CK_GVApT.js.map +0 -1
  248. package/dist/client/chunks/chart-config-bar-C8uzktxl.js +0 -71
  249. package/dist/client/chunks/chart-config-bar-C8uzktxl.js.map +0 -1
  250. package/dist/client/chunks/chart-config-box-plot-D_E_SSc2.js +0 -38
  251. package/dist/client/chunks/chart-config-box-plot-D_E_SSc2.js.map +0 -1
  252. package/dist/client/chunks/chart-config-bubble-q3DoQX5F.js +0 -71
  253. package/dist/client/chunks/chart-config-bubble-q3DoQX5F.js.map +0 -1
  254. package/dist/client/chunks/chart-config-candlestick-CRCpD43-.js +0 -70
  255. package/dist/client/chunks/chart-config-candlestick-CRCpD43-.js.map +0 -1
  256. package/dist/client/chunks/chart-config-data-table-B20Y5JCm.js +0 -28
  257. package/dist/client/chunks/chart-config-data-table-B20Y5JCm.js.map +0 -1
  258. package/dist/client/chunks/chart-config-funnel-3eYnGg8M.js +0 -92
  259. package/dist/client/chunks/chart-config-funnel-3eYnGg8M.js.map +0 -1
  260. package/dist/client/chunks/chart-config-gauge-CQx9w3d4.js +0 -64
  261. package/dist/client/chunks/chart-config-gauge-CQx9w3d4.js.map +0 -1
  262. package/dist/client/chunks/chart-config-heat-map-_wEnTnRA.js +0 -77
  263. package/dist/client/chunks/chart-config-heat-map-_wEnTnRA.js.map +0 -1
  264. package/dist/client/chunks/chart-config-kpi-delta-DLGZ2A3X.js +0 -97
  265. package/dist/client/chunks/chart-config-kpi-delta-DLGZ2A3X.js.map +0 -1
  266. package/dist/client/chunks/chart-config-kpi-number-K-wzviXF.js +0 -75
  267. package/dist/client/chunks/chart-config-kpi-number-K-wzviXF.js.map +0 -1
  268. package/dist/client/chunks/chart-config-kpi-text-BjYqwqaJ.js +0 -47
  269. package/dist/client/chunks/chart-config-kpi-text-BjYqwqaJ.js.map +0 -1
  270. package/dist/client/chunks/chart-config-line-JNagi9tf.js +0 -88
  271. package/dist/client/chunks/chart-config-line-JNagi9tf.js.map +0 -1
  272. package/dist/client/chunks/chart-config-markdown-BWQSjJpy.js +0 -97
  273. package/dist/client/chunks/chart-config-markdown-BWQSjJpy.js.map +0 -1
  274. package/dist/client/chunks/chart-config-measure-profile-ZYaMrtws.js +0 -70
  275. package/dist/client/chunks/chart-config-measure-profile-ZYaMrtws.js.map +0 -1
  276. package/dist/client/chunks/chart-config-pie-CNLXb-fr.js +0 -39
  277. package/dist/client/chunks/chart-config-pie-CNLXb-fr.js.map +0 -1
  278. package/dist/client/chunks/chart-config-radar-oxHfRAa3.js +0 -44
  279. package/dist/client/chunks/chart-config-radar-oxHfRAa3.js.map +0 -1
  280. package/dist/client/chunks/chart-config-radial-bar-_Aw3jAEm.js +0 -37
  281. package/dist/client/chunks/chart-config-radial-bar-_Aw3jAEm.js.map +0 -1
  282. package/dist/client/chunks/chart-config-sankey-C8FX9hGF.js +0 -61
  283. package/dist/client/chunks/chart-config-sankey-C8FX9hGF.js.map +0 -1
  284. package/dist/client/chunks/chart-config-scatter-DFKM80eO.js +0 -53
  285. package/dist/client/chunks/chart-config-scatter-DFKM80eO.js.map +0 -1
  286. package/dist/client/chunks/chart-config-sunburst-BmC0NLTU.js +0 -50
  287. package/dist/client/chunks/chart-config-sunburst-BmC0NLTU.js.map +0 -1
  288. package/dist/client/chunks/chart-config-tree-map-DGMbNTaa.js +0 -47
  289. package/dist/client/chunks/chart-config-tree-map-DGMbNTaa.js.map +0 -1
  290. package/dist/client/chunks/chart-config-waterfall-DTyXV_fo.js +0 -60
  291. package/dist/client/chunks/chart-config-waterfall-DTyXV_fo.js.map +0 -1
  292. package/dist/client/chunks/chart-data-table-HwfF-Ujv.js +0 -293
  293. package/dist/client/chunks/chart-data-table-HwfF-Ujv.js.map +0 -1
  294. package/dist/client/chunks/chart-funnel-WmuoWlCq.js +0 -259
  295. package/dist/client/chunks/chart-funnel-WmuoWlCq.js.map +0 -1
  296. package/dist/client/chunks/chart-gauge-Cot4By-w.js +0 -374
  297. package/dist/client/chunks/chart-gauge-Cot4By-w.js.map +0 -1
  298. package/dist/client/chunks/chart-heat-map-bGNtsZMr.js +0 -231
  299. package/dist/client/chunks/chart-heat-map-bGNtsZMr.js.map +0 -1
  300. package/dist/client/chunks/chart-kpi-delta-DeyKMxgq.js +0 -351
  301. package/dist/client/chunks/chart-kpi-delta-DeyKMxgq.js.map +0 -1
  302. package/dist/client/chunks/chart-kpi-number-D1z1gxXO.js +0 -476
  303. package/dist/client/chunks/chart-kpi-number-D1z1gxXO.js.map +0 -1
  304. package/dist/client/chunks/chart-kpi-text-b7q6KWc0.js +0 -165
  305. package/dist/client/chunks/chart-kpi-text-b7q6KWc0.js.map +0 -1
  306. package/dist/client/chunks/chart-line-3Nf-EPqJ.js +0 -450
  307. package/dist/client/chunks/chart-line-3Nf-EPqJ.js.map +0 -1
  308. package/dist/client/chunks/chart-markdown-BT_-MBq1.js +0 -2721
  309. package/dist/client/chunks/chart-markdown-BT_-MBq1.js.map +0 -1
  310. package/dist/client/chunks/chart-measure-profile-BVjUonqU.js +0 -114
  311. package/dist/client/chunks/chart-measure-profile-BVjUonqU.js.map +0 -1
  312. package/dist/client/chunks/chart-pie-DblG6w7g.js +0 -137
  313. package/dist/client/chunks/chart-pie-DblG6w7g.js.map +0 -1
  314. package/dist/client/chunks/chart-radar-BHZbeeTg.js +0 -129
  315. package/dist/client/chunks/chart-radar-BHZbeeTg.js.map +0 -1
  316. package/dist/client/chunks/chart-radial-bar-AlEJC1Jo.js +0 -119
  317. package/dist/client/chunks/chart-radial-bar-AlEJC1Jo.js.map +0 -1
  318. package/dist/client/chunks/chart-sankey-E8vYKjQF.js +0 -189
  319. package/dist/client/chunks/chart-sankey-E8vYKjQF.js.map +0 -1
  320. package/dist/client/chunks/chart-scatter-Bbxqi0iw.js +0 -202
  321. package/dist/client/chunks/chart-scatter-Bbxqi0iw.js.map +0 -1
  322. package/dist/client/chunks/chart-sunburst-BgnTKolT.js +0 -188
  323. package/dist/client/chunks/chart-sunburst-BgnTKolT.js.map +0 -1
  324. package/dist/client/chunks/chart-tree-map-i9LGCLwl.js +0 -284
  325. package/dist/client/chunks/chart-tree-map-i9LGCLwl.js.map +0 -1
  326. package/dist/client/chunks/chart-waterfall-BeIhCm83.js +0 -191
  327. package/dist/client/chunks/chart-waterfall-BeIhCm83.js.map +0 -1
  328. package/dist/client/chunks/charts-core-BUUO36OM.js +0 -692
  329. package/dist/client/chunks/charts-core-BUUO36OM.js.map +0 -1
  330. package/dist/client/chunks/charts-loader-goTYnavu.js +0 -258
  331. package/dist/client/chunks/charts-loader-goTYnavu.js.map +0 -1
  332. package/dist/client/chunks/components-BFgYvFq6.js +0 -10066
  333. package/dist/client/chunks/components-BFgYvFq6.js.map +0 -1
  334. package/dist/client/chunks/core-Y9e-sNfb.js +0 -1068
  335. package/dist/client/chunks/core-Y9e-sNfb.js.map +0 -1
  336. package/dist/client/chunks/flow-utils-CjQZG5qq.js +0 -16
  337. package/dist/client/chunks/flow-utils-CjQZG5qq.js.map +0 -1
  338. package/dist/client/chunks/funnel-utils-CyonoNeC.js +0 -135
  339. package/dist/client/chunks/funnel-utils-CyonoNeC.js.map +0 -1
  340. package/dist/client/chunks/icons-CwvgmdIP.js +0 -1636
  341. package/dist/client/chunks/icons-CwvgmdIP.js.map +0 -1
  342. package/dist/client/chunks/index-CApFCBF9.js +0 -81
  343. package/dist/client/chunks/index-CApFCBF9.js.map +0 -1
  344. package/dist/client/chunks/index-_2PSgbkC.js +0 -1046
  345. package/dist/client/chunks/index-_2PSgbkC.js.map +0 -1
  346. package/dist/client/chunks/javascript-DII1YQGr.js +0 -659
  347. package/dist/client/chunks/javascript-DII1YQGr.js.map +0 -1
  348. package/dist/client/chunks/json-C_6Prymp.js +0 -39
  349. package/dist/client/chunks/json-C_6Prymp.js.map +0 -1
  350. package/dist/client/chunks/providers-Ds7DRmnO.js +0 -554
  351. package/dist/client/chunks/providers-Ds7DRmnO.js.map +0 -1
  352. package/dist/client/chunks/retention-CzCo8262.js +0 -120
  353. package/dist/client/chunks/retention-CzCo8262.js.map +0 -1
  354. package/dist/client/chunks/schema-visualization-B97a1Ybu.js +0 -772
  355. package/dist/client/chunks/schema-visualization-B97a1Ybu.js.map +0 -1
  356. package/dist/client/chunks/sql-IeKX8fQ8.js +0 -616
  357. package/dist/client/chunks/sql-IeKX8fQ8.js.map +0 -1
  358. package/dist/client/chunks/syntaxHighlighting-DAMSW_A6.js +0 -34
  359. package/dist/client/chunks/syntaxHighlighting-DAMSW_A6.js.map +0 -1
  360. package/dist/client/chunks/theme-Dp3hFed1.js +0 -112
  361. package/dist/client/chunks/theme-Dp3hFed1.js.map +0 -1
  362. package/dist/client/chunks/useDirtyStateTracking-CyAXd07d.js +0 -1231
  363. package/dist/client/chunks/useDirtyStateTracking-CyAXd07d.js.map +0 -1
  364. package/dist/client/chunks/useExplainAI-CfQ_JmF1.js +0 -182
  365. package/dist/client/chunks/useExplainAI-CfQ_JmF1.js.map +0 -1
  366. package/dist/client/chunks/vendor-B2EH3V58.js +0 -2892
  367. package/dist/client/chunks/vendor-B2EH3V58.js.map +0 -1
  368. package/dist/client/components.js.map +0 -1
  369. package/dist/client/hooks.js.map +0 -1
  370. package/dist/client/icons.js.map +0 -1
  371. package/dist/client/providers.js.map +0 -1
  372. package/dist/client/utils.js.map +0 -1
  373. package/dist/server/anthropic-BTkjgFpT.cjs +0 -1
  374. package/dist/server/anthropic-CTu9E801.js +0 -126
  375. package/dist/server/google-BAK9pnQf.cjs +0 -2
  376. package/dist/server/google-DficVAsJ.js +0 -146
  377. package/dist/server/index-BgCeQBuN.cjs +0 -2
  378. package/dist/server/index-C3PskWTr.js +0 -5353
  379. package/dist/server/index-C45_meK_.js +0 -719
  380. package/dist/server/index-ht4NPca9.cjs +0 -23
  381. package/dist/server/openai-BvA6eLs8.cjs +0 -1
  382. package/dist/server/openai-mcE24du8.js +0 -131
@@ -1,1068 +0,0 @@
1
- import { g as Kt } from "./vendor-B2EH3V58.js";
2
- var re, ve;
3
- function Ft() {
4
- if (ve) return re;
5
- ve = 1;
6
- function ce(e) {
7
- return e instanceof Map ? e.clear = e.delete = e.set = function() {
8
- throw new Error("map is read-only");
9
- } : e instanceof Set && (e.add = e.clear = e.delete = function() {
10
- throw new Error("set is read-only");
11
- }), Object.freeze(e), Object.getOwnPropertyNames(e).forEach((t) => {
12
- const i = e[t], u = typeof i;
13
- (u === "object" || u === "function") && !Object.isFrozen(i) && ce(i);
14
- }), e;
15
- }
16
- class oe {
17
- /**
18
- * @param {CompiledMode} mode
19
- */
20
- constructor(t) {
21
- t.data === void 0 && (t.data = {}), this.data = t.data, this.isMatchIgnored = !1;
22
- }
23
- ignoreMatch() {
24
- this.isMatchIgnored = !0;
25
- }
26
- }
27
- function ae(e) {
28
- return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;");
29
- }
30
- function T(e, ...t) {
31
- const i = /* @__PURE__ */ Object.create(null);
32
- for (const u in e)
33
- i[u] = e[u];
34
- return t.forEach(function(u) {
35
- for (const b in u)
36
- i[b] = u[b];
37
- }), /** @type {T} */
38
- i;
39
- }
40
- const Ce = "</span>", le = (e) => !!e.scope, Le = (e, { prefix: t }) => {
41
- if (e.startsWith("language:"))
42
- return e.replace("language:", "language-");
43
- if (e.includes(".")) {
44
- const i = e.split(".");
45
- return [
46
- `${t}${i.shift()}`,
47
- ...i.map((u, b) => `${u}${"_".repeat(b + 1)}`)
48
- ].join(" ");
49
- }
50
- return `${t}${e}`;
51
- };
52
- class He {
53
- /**
54
- * Creates a new HTMLRenderer
55
- *
56
- * @param {Tree} parseTree - the parse tree (must support `walk` API)
57
- * @param {{classPrefix: string}} options
58
- */
59
- constructor(t, i) {
60
- this.buffer = "", this.classPrefix = i.classPrefix, t.walk(this);
61
- }
62
- /**
63
- * Adds texts to the output stream
64
- *
65
- * @param {string} text */
66
- addText(t) {
67
- this.buffer += ae(t);
68
- }
69
- /**
70
- * Adds a node open to the output stream (if needed)
71
- *
72
- * @param {Node} node */
73
- openNode(t) {
74
- if (!le(t)) return;
75
- const i = Le(
76
- t.scope,
77
- { prefix: this.classPrefix }
78
- );
79
- this.span(i);
80
- }
81
- /**
82
- * Adds a node close to the output stream (if needed)
83
- *
84
- * @param {Node} node */
85
- closeNode(t) {
86
- le(t) && (this.buffer += Ce);
87
- }
88
- /**
89
- * returns the accumulated buffer
90
- */
91
- value() {
92
- return this.buffer;
93
- }
94
- // helpers
95
- /**
96
- * Builds a span element
97
- *
98
- * @param {string} className */
99
- span(t) {
100
- this.buffer += `<span class="${t}">`;
101
- }
102
- }
103
- const ue = (e = {}) => {
104
- const t = { children: [] };
105
- return Object.assign(t, e), t;
106
- };
107
- class Z {
108
- constructor() {
109
- this.rootNode = ue(), this.stack = [this.rootNode];
110
- }
111
- get top() {
112
- return this.stack[this.stack.length - 1];
113
- }
114
- get root() {
115
- return this.rootNode;
116
- }
117
- /** @param {Node} node */
118
- add(t) {
119
- this.top.children.push(t);
120
- }
121
- /** @param {string} scope */
122
- openNode(t) {
123
- const i = ue({ scope: t });
124
- this.add(i), this.stack.push(i);
125
- }
126
- closeNode() {
127
- if (this.stack.length > 1)
128
- return this.stack.pop();
129
- }
130
- closeAllNodes() {
131
- for (; this.closeNode(); ) ;
132
- }
133
- toJSON() {
134
- return JSON.stringify(this.rootNode, null, 4);
135
- }
136
- /**
137
- * @typedef { import("./html_renderer").Renderer } Renderer
138
- * @param {Renderer} builder
139
- */
140
- walk(t) {
141
- return this.constructor._walk(t, this.rootNode);
142
- }
143
- /**
144
- * @param {Renderer} builder
145
- * @param {Node} node
146
- */
147
- static _walk(t, i) {
148
- return typeof i == "string" ? t.addText(i) : i.children && (t.openNode(i), i.children.forEach((u) => this._walk(t, u)), t.closeNode(i)), t;
149
- }
150
- /**
151
- * @param {Node} node
152
- */
153
- static _collapse(t) {
154
- typeof t != "string" && t.children && (t.children.every((i) => typeof i == "string") ? t.children = [t.children.join("")] : t.children.forEach((i) => {
155
- Z._collapse(i);
156
- }));
157
- }
158
- }
159
- class je extends Z {
160
- /**
161
- * @param {*} options
162
- */
163
- constructor(t) {
164
- super(), this.options = t;
165
- }
166
- /**
167
- * @param {string} text
168
- */
169
- addText(t) {
170
- t !== "" && this.add(t);
171
- }
172
- /** @param {string} scope */
173
- startScope(t) {
174
- this.openNode(t);
175
- }
176
- endScope() {
177
- this.closeNode();
178
- }
179
- /**
180
- * @param {Emitter & {root: DataNode}} emitter
181
- * @param {string} name
182
- */
183
- __addSublanguage(t, i) {
184
- const u = t.root;
185
- i && (u.scope = `language:${i}`), this.add(u);
186
- }
187
- toHTML() {
188
- return new He(this, this.options).value();
189
- }
190
- finalize() {
191
- return this.closeAllNodes(), !0;
192
- }
193
- }
194
- function j(e) {
195
- return e ? typeof e == "string" ? e : e.source : null;
196
- }
197
- function fe(e) {
198
- return D("(?=", e, ")");
199
- }
200
- function Pe(e) {
201
- return D("(?:", e, ")*");
202
- }
203
- function Ue(e) {
204
- return D("(?:", e, ")?");
205
- }
206
- function D(...e) {
207
- return e.map((i) => j(i)).join("");
208
- }
209
- function $e(e) {
210
- const t = e[e.length - 1];
211
- return typeof t == "object" && t.constructor === Object ? (e.splice(e.length - 1, 1), t) : {};
212
- }
213
- function J(...e) {
214
- return "(" + ($e(e).capture ? "" : "?:") + e.map((u) => j(u)).join("|") + ")";
215
- }
216
- function ge(e) {
217
- return new RegExp(e.toString() + "|").exec("").length - 1;
218
- }
219
- function Ge(e, t) {
220
- const i = e && e.exec(t);
221
- return i && i.index === 0;
222
- }
223
- const We = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
224
- function q(e, { joinWith: t }) {
225
- let i = 0;
226
- return e.map((u) => {
227
- i += 1;
228
- const b = i;
229
- let _ = j(u), c = "";
230
- for (; _.length > 0; ) {
231
- const r = We.exec(_);
232
- if (!r) {
233
- c += _;
234
- break;
235
- }
236
- c += _.substring(0, r.index), _ = _.substring(r.index + r[0].length), r[0][0] === "\\" && r[1] ? c += "\\" + String(Number(r[1]) + b) : (c += r[0], r[0] === "(" && i++);
237
- }
238
- return c;
239
- }).map((u) => `(${u})`).join(t);
240
- }
241
- const Ke = /\b\B/, he = "[a-zA-Z]\\w*", V = "[a-zA-Z_]\\w*", pe = "\\b\\d+(\\.\\d+)?", de = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", Ee = "\\b(0b[01]+)", Fe = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", ze = (e = {}) => {
242
- const t = /^#![ ]*\//;
243
- return e.binary && (e.begin = D(
244
- t,
245
- /.*\b/,
246
- e.binary,
247
- /\b.*/
248
- )), T({
249
- scope: "meta",
250
- begin: t,
251
- end: /$/,
252
- relevance: 0,
253
- /** @type {ModeCallback} */
254
- "on:begin": (i, u) => {
255
- i.index !== 0 && u.ignoreMatch();
256
- }
257
- }, e);
258
- }, P = {
259
- begin: "\\\\[\\s\\S]",
260
- relevance: 0
261
- }, Xe = {
262
- scope: "string",
263
- begin: "'",
264
- end: "'",
265
- illegal: "\\n",
266
- contains: [P]
267
- }, Ye = {
268
- scope: "string",
269
- begin: '"',
270
- end: '"',
271
- illegal: "\\n",
272
- contains: [P]
273
- }, Ze = {
274
- begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
275
- }, $ = function(e, t, i = {}) {
276
- const u = T(
277
- {
278
- scope: "comment",
279
- begin: e,
280
- end: t,
281
- contains: []
282
- },
283
- i
284
- );
285
- u.contains.push({
286
- scope: "doctag",
287
- // hack to avoid the space from being included. the space is necessary to
288
- // match here to prevent the plain text rule below from gobbling up doctags
289
- begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
290
- end: /(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,
291
- excludeBegin: !0,
292
- relevance: 0
293
- });
294
- const b = J(
295
- // list of common 1 and 2 letter words in English
296
- "I",
297
- "a",
298
- "is",
299
- "so",
300
- "us",
301
- "to",
302
- "at",
303
- "if",
304
- "in",
305
- "it",
306
- "on",
307
- // note: this is not an exhaustive list of contractions, just popular ones
308
- /[A-Za-z]+['](d|ve|re|ll|t|s|n)/,
309
- // contractions - can't we'd they're let's, etc
310
- /[A-Za-z]+[-][a-z]+/,
311
- // `no-way`, etc.
312
- /[A-Za-z][a-z]{2,}/
313
- // allow capitalized words at beginning of sentences
314
- );
315
- return u.contains.push(
316
- {
317
- // TODO: how to include ", (, ) without breaking grammars that use these for
318
- // comment delimiters?
319
- // begin: /[ ]+([()"]?([A-Za-z'-]{3,}|is|a|I|so|us|[tT][oO]|at|if|in|it|on)[.]?[()":]?([.][ ]|[ ]|\))){3}/
320
- // ---
321
- // this tries to find sequences of 3 english words in a row (without any
322
- // "programming" type syntax) this gives us a strong signal that we've
323
- // TRULY found a comment - vs perhaps scanning with the wrong language.
324
- // It's possible to find something that LOOKS like the start of the
325
- // comment - but then if there is no readable text - good chance it is a
326
- // false match and not a comment.
327
- //
328
- // for a visual example please see:
329
- // https://github.com/highlightjs/highlight.js/issues/2827
330
- begin: D(
331
- /[ ]+/,
332
- // necessary to prevent us gobbling up doctags like /* @author Bob Mcgill */
333
- "(",
334
- b,
335
- /[.]?[:]?([.][ ]|[ ])/,
336
- "){3}"
337
- )
338
- // look for 3 words in a row
339
- }
340
- ), u;
341
- }, Je = $("//", "$"), qe = $("/\\*", "\\*/"), Ve = $("#", "$"), Qe = {
342
- scope: "number",
343
- begin: pe,
344
- relevance: 0
345
- }, me = {
346
- scope: "number",
347
- begin: de,
348
- relevance: 0
349
- }, et = {
350
- scope: "number",
351
- begin: Ee,
352
- relevance: 0
353
- }, tt = {
354
- scope: "regexp",
355
- begin: /\/(?=[^/\n]*\/)/,
356
- end: /\/[gimuy]*/,
357
- contains: [
358
- P,
359
- {
360
- begin: /\[/,
361
- end: /\]/,
362
- relevance: 0,
363
- contains: [P]
364
- }
365
- ]
366
- }, nt = {
367
- scope: "title",
368
- begin: he,
369
- relevance: 0
370
- }, it = {
371
- scope: "title",
372
- begin: V,
373
- relevance: 0
374
- }, st = {
375
- // excludes method names from keyword processing
376
- begin: "\\.\\s*" + V,
377
- relevance: 0
378
- };
379
- var G = /* @__PURE__ */ Object.freeze({
380
- __proto__: null,
381
- APOS_STRING_MODE: Xe,
382
- BACKSLASH_ESCAPE: P,
383
- BINARY_NUMBER_MODE: et,
384
- BINARY_NUMBER_RE: Ee,
385
- COMMENT: $,
386
- C_BLOCK_COMMENT_MODE: qe,
387
- C_LINE_COMMENT_MODE: Je,
388
- C_NUMBER_MODE: me,
389
- C_NUMBER_RE: de,
390
- END_SAME_AS_BEGIN: function(e) {
391
- return Object.assign(
392
- e,
393
- {
394
- /** @type {ModeCallback} */
395
- "on:begin": (t, i) => {
396
- i.data._beginMatch = t[1];
397
- },
398
- /** @type {ModeCallback} */
399
- "on:end": (t, i) => {
400
- i.data._beginMatch !== t[1] && i.ignoreMatch();
401
- }
402
- }
403
- );
404
- },
405
- HASH_COMMENT_MODE: Ve,
406
- IDENT_RE: he,
407
- MATCH_NOTHING_RE: Ke,
408
- METHOD_GUARD: st,
409
- NUMBER_MODE: Qe,
410
- NUMBER_RE: pe,
411
- PHRASAL_WORDS_MODE: Ze,
412
- QUOTE_STRING_MODE: Ye,
413
- REGEXP_MODE: tt,
414
- RE_STARTERS_RE: Fe,
415
- SHEBANG: ze,
416
- TITLE_MODE: nt,
417
- UNDERSCORE_IDENT_RE: V,
418
- UNDERSCORE_TITLE_MODE: it
419
- });
420
- function rt(e, t) {
421
- e.input[e.index - 1] === "." && t.ignoreMatch();
422
- }
423
- function ct(e, t) {
424
- e.className !== void 0 && (e.scope = e.className, delete e.className);
425
- }
426
- function ot(e, t) {
427
- t && e.beginKeywords && (e.begin = "\\b(" + e.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", e.__beforeBegin = rt, e.keywords = e.keywords || e.beginKeywords, delete e.beginKeywords, e.relevance === void 0 && (e.relevance = 0));
428
- }
429
- function at(e, t) {
430
- Array.isArray(e.illegal) && (e.illegal = J(...e.illegal));
431
- }
432
- function lt(e, t) {
433
- if (e.match) {
434
- if (e.begin || e.end) throw new Error("begin & end are not supported with match");
435
- e.begin = e.match, delete e.match;
436
- }
437
- }
438
- function ut(e, t) {
439
- e.relevance === void 0 && (e.relevance = 1);
440
- }
441
- const ft = (e, t) => {
442
- if (!e.beforeMatch) return;
443
- if (e.starts) throw new Error("beforeMatch cannot be used with starts");
444
- const i = Object.assign({}, e);
445
- Object.keys(e).forEach((u) => {
446
- delete e[u];
447
- }), e.keywords = i.keywords, e.begin = D(i.beforeMatch, fe(i.begin)), e.starts = {
448
- relevance: 0,
449
- contains: [
450
- Object.assign(i, { endsParent: !0 })
451
- ]
452
- }, e.relevance = 0, delete i.beforeMatch;
453
- }, gt = [
454
- "of",
455
- "and",
456
- "for",
457
- "in",
458
- "not",
459
- "or",
460
- "if",
461
- "then",
462
- "parent",
463
- // common variable name
464
- "list",
465
- // common variable name
466
- "value"
467
- // common variable name
468
- ], ht = "keyword";
469
- function be(e, t, i = ht) {
470
- const u = /* @__PURE__ */ Object.create(null);
471
- return typeof e == "string" ? b(i, e.split(" ")) : Array.isArray(e) ? b(i, e) : Object.keys(e).forEach(function(_) {
472
- Object.assign(
473
- u,
474
- be(e[_], t, _)
475
- );
476
- }), u;
477
- function b(_, c) {
478
- t && (c = c.map((r) => r.toLowerCase())), c.forEach(function(r) {
479
- const l = r.split("|");
480
- u[l[0]] = [_, pt(l[0], l[1])];
481
- });
482
- }
483
- }
484
- function pt(e, t) {
485
- return t ? Number(t) : dt(e) ? 0 : 1;
486
- }
487
- function dt(e) {
488
- return gt.includes(e.toLowerCase());
489
- }
490
- const _e = {}, v = (e) => {
491
- console.error(e);
492
- }, Me = (e, ...t) => {
493
- console.log(`WARN: ${e}`, ...t);
494
- }, L = (e, t) => {
495
- _e[`${e}/${t}`] || (console.log(`Deprecated as of ${e}. ${t}`), _e[`${e}/${t}`] = !0);
496
- }, W = new Error();
497
- function xe(e, t, { key: i }) {
498
- let u = 0;
499
- const b = e[i], _ = {}, c = {};
500
- for (let r = 1; r <= t.length; r++)
501
- c[r + u] = b[r], _[r + u] = !0, u += ge(t[r - 1]);
502
- e[i] = c, e[i]._emit = _, e[i]._multi = !0;
503
- }
504
- function Et(e) {
505
- if (Array.isArray(e.begin)) {
506
- if (e.skip || e.excludeBegin || e.returnBegin)
507
- throw v("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), W;
508
- if (typeof e.beginScope != "object" || e.beginScope === null)
509
- throw v("beginScope must be object"), W;
510
- xe(e, e.begin, { key: "beginScope" }), e.begin = q(e.begin, { joinWith: "" });
511
- }
512
- }
513
- function bt(e) {
514
- if (Array.isArray(e.end)) {
515
- if (e.skip || e.excludeEnd || e.returnEnd)
516
- throw v("skip, excludeEnd, returnEnd not compatible with endScope: {}"), W;
517
- if (typeof e.endScope != "object" || e.endScope === null)
518
- throw v("endScope must be object"), W;
519
- xe(e, e.end, { key: "endScope" }), e.end = q(e.end, { joinWith: "" });
520
- }
521
- }
522
- function _t(e) {
523
- e.scope && typeof e.scope == "object" && e.scope !== null && (e.beginScope = e.scope, delete e.scope);
524
- }
525
- function Mt(e) {
526
- _t(e), typeof e.beginScope == "string" && (e.beginScope = { _wrap: e.beginScope }), typeof e.endScope == "string" && (e.endScope = { _wrap: e.endScope }), Et(e), bt(e);
527
- }
528
- function xt(e) {
529
- function t(c, r) {
530
- return new RegExp(
531
- j(c),
532
- "m" + (e.case_insensitive ? "i" : "") + (e.unicodeRegex ? "u" : "") + (r ? "g" : "")
533
- );
534
- }
535
- class i {
536
- constructor() {
537
- this.matchIndexes = {}, this.regexes = [], this.matchAt = 1, this.position = 0;
538
- }
539
- // @ts-ignore
540
- addRule(r, l) {
541
- l.position = this.position++, this.matchIndexes[this.matchAt] = l, this.regexes.push([l, r]), this.matchAt += ge(r) + 1;
542
- }
543
- compile() {
544
- this.regexes.length === 0 && (this.exec = () => null);
545
- const r = this.regexes.map((l) => l[1]);
546
- this.matcherRe = t(q(r, { joinWith: "|" }), !0), this.lastIndex = 0;
547
- }
548
- /** @param {string} s */
549
- exec(r) {
550
- this.matcherRe.lastIndex = this.lastIndex;
551
- const l = this.matcherRe.exec(r);
552
- if (!l)
553
- return null;
554
- const w = l.findIndex((U, m) => m > 0 && U !== void 0), M = this.matchIndexes[w];
555
- return l.splice(0, w), Object.assign(l, M);
556
- }
557
- }
558
- class u {
559
- constructor() {
560
- this.rules = [], this.multiRegexes = [], this.count = 0, this.lastIndex = 0, this.regexIndex = 0;
561
- }
562
- // @ts-ignore
563
- getMatcher(r) {
564
- if (this.multiRegexes[r]) return this.multiRegexes[r];
565
- const l = new i();
566
- return this.rules.slice(r).forEach(([w, M]) => l.addRule(w, M)), l.compile(), this.multiRegexes[r] = l, l;
567
- }
568
- resumingScanAtSamePosition() {
569
- return this.regexIndex !== 0;
570
- }
571
- considerAll() {
572
- this.regexIndex = 0;
573
- }
574
- // @ts-ignore
575
- addRule(r, l) {
576
- this.rules.push([r, l]), l.type === "begin" && this.count++;
577
- }
578
- /** @param {string} s */
579
- exec(r) {
580
- const l = this.getMatcher(this.regexIndex);
581
- l.lastIndex = this.lastIndex;
582
- let w = l.exec(r);
583
- if (this.resumingScanAtSamePosition() && !(w && w.index === this.lastIndex)) {
584
- const M = this.getMatcher(0);
585
- M.lastIndex = this.lastIndex + 1, w = M.exec(r);
586
- }
587
- return w && (this.regexIndex += w.position + 1, this.regexIndex === this.count && this.considerAll()), w;
588
- }
589
- }
590
- function b(c) {
591
- const r = new u();
592
- return c.contains.forEach((l) => r.addRule(l.begin, { rule: l, type: "begin" })), c.terminatorEnd && r.addRule(c.terminatorEnd, { type: "end" }), c.illegal && r.addRule(c.illegal, { type: "illegal" }), r;
593
- }
594
- function _(c, r) {
595
- const l = (
596
- /** @type CompiledMode */
597
- c
598
- );
599
- if (c.isCompiled) return l;
600
- [
601
- ct,
602
- // do this early so compiler extensions generally don't have to worry about
603
- // the distinction between match/begin
604
- lt,
605
- Mt,
606
- ft
607
- ].forEach((M) => M(c, r)), e.compilerExtensions.forEach((M) => M(c, r)), c.__beforeBegin = null, [
608
- ot,
609
- // do this later so compiler extensions that come earlier have access to the
610
- // raw array if they wanted to perhaps manipulate it, etc.
611
- at,
612
- // default to 1 relevance if not specified
613
- ut
614
- ].forEach((M) => M(c, r)), c.isCompiled = !0;
615
- let w = null;
616
- return typeof c.keywords == "object" && c.keywords.$pattern && (c.keywords = Object.assign({}, c.keywords), w = c.keywords.$pattern, delete c.keywords.$pattern), w = w || /\w+/, c.keywords && (c.keywords = be(c.keywords, e.case_insensitive)), l.keywordPatternRe = t(w, !0), r && (c.begin || (c.begin = /\B|\b/), l.beginRe = t(l.begin), !c.end && !c.endsWithParent && (c.end = /\B|\b/), c.end && (l.endRe = t(l.end)), l.terminatorEnd = j(l.end) || "", c.endsWithParent && r.terminatorEnd && (l.terminatorEnd += (c.end ? "|" : "") + r.terminatorEnd)), c.illegal && (l.illegalRe = t(
617
- /** @type {RegExp | string} */
618
- c.illegal
619
- )), c.contains || (c.contains = []), c.contains = [].concat(...c.contains.map(function(M) {
620
- return wt(M === "self" ? c : M);
621
- })), c.contains.forEach(function(M) {
622
- _(
623
- /** @type Mode */
624
- M,
625
- l
626
- );
627
- }), c.starts && _(c.starts, r), l.matcher = b(l), l;
628
- }
629
- if (e.compilerExtensions || (e.compilerExtensions = []), e.contains && e.contains.includes("self"))
630
- throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");
631
- return e.classNameAliases = T(e.classNameAliases || {}), _(
632
- /** @type Mode */
633
- e
634
- );
635
- }
636
- function we(e) {
637
- return e ? e.endsWithParent || we(e.starts) : !1;
638
- }
639
- function wt(e) {
640
- return e.variants && !e.cachedVariants && (e.cachedVariants = e.variants.map(function(t) {
641
- return T(e, { variants: null }, t);
642
- })), e.cachedVariants ? e.cachedVariants : we(e) ? T(e, { starts: e.starts ? T(e.starts) : null }) : Object.isFrozen(e) ? T(e) : e;
643
- }
644
- var Ot = "11.11.1";
645
- class Rt extends Error {
646
- constructor(t, i) {
647
- super(t), this.name = "HTMLInjectionError", this.html = i;
648
- }
649
- }
650
- const Q = ae, Oe = T, Re = /* @__PURE__ */ Symbol("nomatch"), yt = 7, ye = function(e) {
651
- const t = /* @__PURE__ */ Object.create(null), i = /* @__PURE__ */ Object.create(null), u = [];
652
- let b = !0;
653
- const _ = "Could not find the language '{}', did you forget to load/include a language module?", c = { disableAutodetect: !0, name: "Plain text", contains: [] };
654
- let r = {
655
- ignoreUnescapedHTML: !1,
656
- throwUnescapedHTML: !1,
657
- noHighlightRe: /^(no-?highlight)$/i,
658
- languageDetectRe: /\blang(?:uage)?-([\w-]+)\b/i,
659
- classPrefix: "hljs-",
660
- cssSelector: "pre code",
661
- languages: null,
662
- // beta configuration options, subject to change, welcome to discuss
663
- // https://github.com/highlightjs/highlight.js/issues/1086
664
- __emitter: je
665
- };
666
- function l(n) {
667
- return r.noHighlightRe.test(n);
668
- }
669
- function w(n) {
670
- let a = n.className + " ";
671
- a += n.parentNode ? n.parentNode.className : "";
672
- const h = r.languageDetectRe.exec(a);
673
- if (h) {
674
- const d = I(h[1]);
675
- return d || (Me(_.replace("{}", h[1])), Me("Falling back to no-highlight mode for this block.", n)), d ? h[1] : "no-highlight";
676
- }
677
- return a.split(/\s+/).find((d) => l(d) || I(d));
678
- }
679
- function M(n, a, h) {
680
- let d = "", x = "";
681
- typeof a == "object" ? (d = n, h = a.ignoreIllegals, x = a.language) : (L("10.7.0", "highlight(lang, code, ...args) has been deprecated."), L("10.7.0", `Please use highlight(code, options) instead.
682
- https://github.com/highlightjs/highlight.js/issues/2277`), x = n, d = a), h === void 0 && (h = !0);
683
- const S = {
684
- code: d,
685
- language: x
686
- };
687
- F("before:highlight", S);
688
- const B = S.result ? S.result : U(S.language, S.code, h);
689
- return B.code = S.code, F("after:highlight", B), B;
690
- }
691
- function U(n, a, h, d) {
692
- const x = /* @__PURE__ */ Object.create(null);
693
- function S(s, o) {
694
- return s.keywords[o];
695
- }
696
- function B() {
697
- if (!f.keywords) {
698
- O.addText(E);
699
- return;
700
- }
701
- let s = 0;
702
- f.keywordPatternRe.lastIndex = 0;
703
- let o = f.keywordPatternRe.exec(E), g = "";
704
- for (; o; ) {
705
- g += E.substring(s, o.index);
706
- const p = A.case_insensitive ? o[0].toLowerCase() : o[0], R = S(f, p);
707
- if (R) {
708
- const [k, Gt] = R;
709
- if (O.addText(g), g = "", x[p] = (x[p] || 0) + 1, x[p] <= yt && (Y += Gt), k.startsWith("_"))
710
- g += o[0];
711
- else {
712
- const Wt = A.classNameAliases[k] || k;
713
- N(o[0], Wt);
714
- }
715
- } else
716
- g += o[0];
717
- s = f.keywordPatternRe.lastIndex, o = f.keywordPatternRe.exec(E);
718
- }
719
- g += E.substring(s), O.addText(g);
720
- }
721
- function z() {
722
- if (E === "") return;
723
- let s = null;
724
- if (typeof f.subLanguage == "string") {
725
- if (!t[f.subLanguage]) {
726
- O.addText(E);
727
- return;
728
- }
729
- s = U(f.subLanguage, E, !0, De[f.subLanguage]), De[f.subLanguage] = /** @type {CompiledMode} */
730
- s._top;
731
- } else
732
- s = ee(E, f.subLanguage.length ? f.subLanguage : null);
733
- f.relevance > 0 && (Y += s.relevance), O.__addSublanguage(s._emitter, s.language);
734
- }
735
- function y() {
736
- f.subLanguage != null ? z() : B(), E = "";
737
- }
738
- function N(s, o) {
739
- s !== "" && (O.startScope(o), O.addText(s), O.endScope());
740
- }
741
- function ke(s, o) {
742
- let g = 1;
743
- const p = o.length - 1;
744
- for (; g <= p; ) {
745
- if (!s._emit[g]) {
746
- g++;
747
- continue;
748
- }
749
- const R = A.classNameAliases[s[g]] || s[g], k = o[g];
750
- R ? N(k, R) : (E = k, B(), E = ""), g++;
751
- }
752
- }
753
- function Te(s, o) {
754
- return s.scope && typeof s.scope == "string" && O.openNode(A.classNameAliases[s.scope] || s.scope), s.beginScope && (s.beginScope._wrap ? (N(E, A.classNameAliases[s.beginScope._wrap] || s.beginScope._wrap), E = "") : s.beginScope._multi && (ke(s.beginScope, o), E = "")), f = Object.create(s, { parent: { value: f } }), f;
755
- }
756
- function Ie(s, o, g) {
757
- let p = Ge(s.endRe, g);
758
- if (p) {
759
- if (s["on:end"]) {
760
- const R = new oe(s);
761
- s["on:end"](o, R), R.isMatchIgnored && (p = !1);
762
- }
763
- if (p) {
764
- for (; s.endsParent && s.parent; )
765
- s = s.parent;
766
- return s;
767
- }
768
- }
769
- if (s.endsWithParent)
770
- return Ie(s.parent, o, g);
771
- }
772
- function Ht(s) {
773
- return f.matcher.regexIndex === 0 ? (E += s[0], 1) : (se = !0, 0);
774
- }
775
- function jt(s) {
776
- const o = s[0], g = s.rule, p = new oe(g), R = [g.__beforeBegin, g["on:begin"]];
777
- for (const k of R)
778
- if (k && (k(s, p), p.isMatchIgnored))
779
- return Ht(o);
780
- return g.skip ? E += o : (g.excludeBegin && (E += o), y(), !g.returnBegin && !g.excludeBegin && (E = o)), Te(g, s), g.returnBegin ? 0 : o.length;
781
- }
782
- function Pt(s) {
783
- const o = s[0], g = a.substring(s.index), p = Ie(f, s, g);
784
- if (!p)
785
- return Re;
786
- const R = f;
787
- f.endScope && f.endScope._wrap ? (y(), N(o, f.endScope._wrap)) : f.endScope && f.endScope._multi ? (y(), ke(f.endScope, s)) : R.skip ? E += o : (R.returnEnd || R.excludeEnd || (E += o), y(), R.excludeEnd && (E = o));
788
- do
789
- f.scope && O.closeNode(), !f.skip && !f.subLanguage && (Y += f.relevance), f = f.parent;
790
- while (f !== p.parent);
791
- return p.starts && Te(p.starts, s), R.returnEnd ? 0 : o.length;
792
- }
793
- function Ut() {
794
- const s = [];
795
- for (let o = f; o !== A; o = o.parent)
796
- o.scope && s.unshift(o.scope);
797
- s.forEach((o) => O.openNode(o));
798
- }
799
- let X = {};
800
- function Be(s, o) {
801
- const g = o && o[0];
802
- if (E += s, g == null)
803
- return y(), 0;
804
- if (X.type === "begin" && o.type === "end" && X.index === o.index && g === "") {
805
- if (E += a.slice(o.index, o.index + 1), !b) {
806
- const p = new Error(`0 width match regex (${n})`);
807
- throw p.languageName = n, p.badRule = X.rule, p;
808
- }
809
- return 1;
810
- }
811
- if (X = o, o.type === "begin")
812
- return jt(o);
813
- if (o.type === "illegal" && !h) {
814
- const p = new Error('Illegal lexeme "' + g + '" for mode "' + (f.scope || "<unnamed>") + '"');
815
- throw p.mode = f, p;
816
- } else if (o.type === "end") {
817
- const p = Pt(o);
818
- if (p !== Re)
819
- return p;
820
- }
821
- if (o.type === "illegal" && g === "")
822
- return E += `
823
- `, 1;
824
- if (ie > 1e5 && ie > o.index * 3)
825
- throw new Error("potential infinite loop, way more iterations than matches");
826
- return E += g, g.length;
827
- }
828
- const A = I(n);
829
- if (!A)
830
- throw v(_.replace("{}", n)), new Error('Unknown language: "' + n + '"');
831
- const $t = xt(A);
832
- let ne = "", f = d || $t;
833
- const De = {}, O = new r.__emitter(r);
834
- Ut();
835
- let E = "", Y = 0, C = 0, ie = 0, se = !1;
836
- try {
837
- if (A.__emitTokens)
838
- A.__emitTokens(a, O);
839
- else {
840
- for (f.matcher.considerAll(); ; ) {
841
- ie++, se ? se = !1 : f.matcher.considerAll(), f.matcher.lastIndex = C;
842
- const s = f.matcher.exec(a);
843
- if (!s) break;
844
- const o = a.substring(C, s.index), g = Be(o, s);
845
- C = s.index + g;
846
- }
847
- Be(a.substring(C));
848
- }
849
- return O.finalize(), ne = O.toHTML(), {
850
- language: n,
851
- value: ne,
852
- relevance: Y,
853
- illegal: !1,
854
- _emitter: O,
855
- _top: f
856
- };
857
- } catch (s) {
858
- if (s.message && s.message.includes("Illegal"))
859
- return {
860
- language: n,
861
- value: Q(a),
862
- illegal: !0,
863
- relevance: 0,
864
- _illegalBy: {
865
- message: s.message,
866
- index: C,
867
- context: a.slice(C - 100, C + 100),
868
- mode: s.mode,
869
- resultSoFar: ne
870
- },
871
- _emitter: O
872
- };
873
- if (b)
874
- return {
875
- language: n,
876
- value: Q(a),
877
- illegal: !1,
878
- relevance: 0,
879
- errorRaised: s,
880
- _emitter: O,
881
- _top: f
882
- };
883
- throw s;
884
- }
885
- }
886
- function m(n) {
887
- const a = {
888
- value: Q(n),
889
- illegal: !1,
890
- relevance: 0,
891
- _top: c,
892
- _emitter: new r.__emitter(r)
893
- };
894
- return a._emitter.addText(n), a;
895
- }
896
- function ee(n, a) {
897
- a = a || r.languages || Object.keys(t);
898
- const h = m(n), d = a.filter(I).filter(Ae).map(
899
- (y) => U(y, n, !1)
900
- );
901
- d.unshift(h);
902
- const x = d.sort((y, N) => {
903
- if (y.relevance !== N.relevance) return N.relevance - y.relevance;
904
- if (y.language && N.language) {
905
- if (I(y.language).supersetOf === N.language)
906
- return 1;
907
- if (I(N.language).supersetOf === y.language)
908
- return -1;
909
- }
910
- return 0;
911
- }), [S, B] = x, z = S;
912
- return z.secondBest = B, z;
913
- }
914
- function St(n, a, h) {
915
- const d = a && i[a] || h;
916
- n.classList.add("hljs"), n.classList.add(`language-${d}`);
917
- }
918
- function te(n) {
919
- let a = null;
920
- const h = w(n);
921
- if (l(h)) return;
922
- if (F(
923
- "before:highlightElement",
924
- { el: n, language: h }
925
- ), n.dataset.highlighted) {
926
- console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", n);
927
- return;
928
- }
929
- if (n.children.length > 0 && (r.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(n)), r.throwUnescapedHTML))
930
- throw new Rt(
931
- "One of your code blocks includes unescaped HTML.",
932
- n.innerHTML
933
- );
934
- a = n;
935
- const d = a.textContent, x = h ? M(d, { language: h, ignoreIllegals: !0 }) : ee(d);
936
- n.innerHTML = x.value, n.dataset.highlighted = "yes", St(n, h, x.language), n.result = {
937
- language: x.language,
938
- // TODO: remove with version 11.0
939
- re: x.relevance,
940
- relevance: x.relevance
941
- }, x.secondBest && (n.secondBest = {
942
- language: x.secondBest.language,
943
- relevance: x.secondBest.relevance
944
- }), F("after:highlightElement", { el: n, result: x, text: d });
945
- }
946
- function Nt(n) {
947
- r = Oe(r, n);
948
- }
949
- const At = () => {
950
- K(), L("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
951
- };
952
- function kt() {
953
- K(), L("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
954
- }
955
- let Se = !1;
956
- function K() {
957
- function n() {
958
- K();
959
- }
960
- if (document.readyState === "loading") {
961
- Se || window.addEventListener("DOMContentLoaded", n, !1), Se = !0;
962
- return;
963
- }
964
- document.querySelectorAll(r.cssSelector).forEach(te);
965
- }
966
- function Tt(n, a) {
967
- let h = null;
968
- try {
969
- h = a(e);
970
- } catch (d) {
971
- if (v("Language definition for '{}' could not be registered.".replace("{}", n)), b)
972
- v(d);
973
- else
974
- throw d;
975
- h = c;
976
- }
977
- h.name || (h.name = n), t[n] = h, h.rawDefinition = a.bind(null, e), h.aliases && Ne(h.aliases, { languageName: n });
978
- }
979
- function It(n) {
980
- delete t[n];
981
- for (const a of Object.keys(i))
982
- i[a] === n && delete i[a];
983
- }
984
- function Bt() {
985
- return Object.keys(t);
986
- }
987
- function I(n) {
988
- return n = (n || "").toLowerCase(), t[n] || t[i[n]];
989
- }
990
- function Ne(n, { languageName: a }) {
991
- typeof n == "string" && (n = [n]), n.forEach((h) => {
992
- i[h.toLowerCase()] = a;
993
- });
994
- }
995
- function Ae(n) {
996
- const a = I(n);
997
- return a && !a.disableAutodetect;
998
- }
999
- function Dt(n) {
1000
- n["before:highlightBlock"] && !n["before:highlightElement"] && (n["before:highlightElement"] = (a) => {
1001
- n["before:highlightBlock"](
1002
- Object.assign({ block: a.el }, a)
1003
- );
1004
- }), n["after:highlightBlock"] && !n["after:highlightElement"] && (n["after:highlightElement"] = (a) => {
1005
- n["after:highlightBlock"](
1006
- Object.assign({ block: a.el }, a)
1007
- );
1008
- });
1009
- }
1010
- function vt(n) {
1011
- Dt(n), u.push(n);
1012
- }
1013
- function Ct(n) {
1014
- const a = u.indexOf(n);
1015
- a !== -1 && u.splice(a, 1);
1016
- }
1017
- function F(n, a) {
1018
- const h = n;
1019
- u.forEach(function(d) {
1020
- d[h] && d[h](a);
1021
- });
1022
- }
1023
- function Lt(n) {
1024
- return L("10.7.0", "highlightBlock will be removed entirely in v12.0"), L("10.7.0", "Please use highlightElement now."), te(n);
1025
- }
1026
- Object.assign(e, {
1027
- highlight: M,
1028
- highlightAuto: ee,
1029
- highlightAll: K,
1030
- highlightElement: te,
1031
- // TODO: Remove with v12 API
1032
- highlightBlock: Lt,
1033
- configure: Nt,
1034
- initHighlighting: At,
1035
- initHighlightingOnLoad: kt,
1036
- registerLanguage: Tt,
1037
- unregisterLanguage: It,
1038
- listLanguages: Bt,
1039
- getLanguage: I,
1040
- registerAliases: Ne,
1041
- autoDetection: Ae,
1042
- inherit: Oe,
1043
- addPlugin: vt,
1044
- removePlugin: Ct
1045
- }), e.debugMode = function() {
1046
- b = !1;
1047
- }, e.safeMode = function() {
1048
- b = !0;
1049
- }, e.versionString = Ot, e.regex = {
1050
- concat: D,
1051
- lookahead: fe,
1052
- either: J,
1053
- optional: Ue,
1054
- anyNumberOfTimes: Pe
1055
- };
1056
- for (const n in G)
1057
- typeof G[n] == "object" && ce(G[n]);
1058
- return Object.assign(e, G), e;
1059
- }, H = ye({});
1060
- return H.newInstance = () => ye({}), re = H, H.HighlightJS = H, H.default = H, re;
1061
- }
1062
- var zt = /* @__PURE__ */ Ft();
1063
- const Zt = /* @__PURE__ */ Kt(zt);
1064
- export {
1065
- Zt as HighlightJS,
1066
- Zt as default
1067
- };
1068
- //# sourceMappingURL=core-Y9e-sNfb.js.map