notebook 7.4.3__py3-none-any.whl → 7.4.5__py3-none-any.whl

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.

Potentially problematic release.


This version of notebook might be problematic. Click here for more details.

Files changed (130) hide show
  1. notebook/_version.py +1 -1
  2. notebook/static/{132.4b6f2335f267e949e9af.js → 132.bbe0fd1e86fe078554cf.js} +2 -2
  3. notebook/static/{132.4b6f2335f267e949e9af.js.map → 132.bbe0fd1e86fe078554cf.js.map} +1 -1
  4. notebook/static/{1584.fa41c8f3ce855db5cab4.js → 1584.5e136a9d8643093bc7e9.js} +2 -2
  5. notebook/static/{1584.fa41c8f3ce855db5cab4.js.map → 1584.5e136a9d8643093bc7e9.js.map} +1 -1
  6. notebook/static/{1650.518c8574105d6c9b2355.js → 1650.43e49e4c78755f921679.js} +4 -4
  7. notebook/static/{1650.518c8574105d6c9b2355.js.map → 1650.43e49e4c78755f921679.js.map} +1 -1
  8. notebook/static/{1684.64ee58e2fc58514aa495.js → 1684.72557761abcc7d3f021b.js} +5 -5
  9. notebook/static/{1684.64ee58e2fc58514aa495.js.map → 1684.72557761abcc7d3f021b.js.map} +1 -1
  10. notebook/static/{1715.984ca49eddf1ed92bf7b.js → 1715.eb47d8a8fb23246d8368.js} +4 -4
  11. notebook/static/{1715.984ca49eddf1ed92bf7b.js.map → 1715.eb47d8a8fb23246d8368.js.map} +1 -1
  12. notebook/static/{2581.741f694cbefb562268e4.js → 2581.f9bb29600b7e080b2b84.js} +2 -2
  13. notebook/static/{2581.741f694cbefb562268e4.js.map → 2581.f9bb29600b7e080b2b84.js.map} +1 -1
  14. notebook/static/{2955.d8fd055f03b878034fe4.js → 2955.199d6b7c6b5d8531cad7.js} +302 -47
  15. notebook/static/2955.199d6b7c6b5d8531cad7.js.map +1 -0
  16. notebook/static/{3146.881291788fb0ba09e0f1.js → 3146.f98fbe7d5b55224f0160.js} +3 -3
  17. notebook/static/{3146.881291788fb0ba09e0f1.js.map → 3146.f98fbe7d5b55224f0160.js.map} +1 -1
  18. notebook/static/{3197.679087d3d6e90032272a.js → 3197.132cf892d4ef38649b32.js} +3 -3
  19. notebook/static/{3197.679087d3d6e90032272a.js.map → 3197.132cf892d4ef38649b32.js.map} +1 -1
  20. notebook/static/{3619.eae907ba96e51b90fe15.js → 3619.2e4bf80097f9890aef49.js} +2 -2
  21. notebook/static/{3619.eae907ba96e51b90fe15.js.map → 3619.2e4bf80097f9890aef49.js.map} +1 -1
  22. notebook/static/{3768.e8ae20faee4eda9d0cbd.js → 3768.0b6995cb2c93a75f2359.js} +19 -19
  23. notebook/static/{7302.c293b105c52e1bd777f8.js.map → 3768.0b6995cb2c93a75f2359.js.map} +1 -1
  24. notebook/static/{4276.aa39300c806a420e8c6e.js → 4276.2edc46f98f304de431b0.js} +3 -3
  25. notebook/static/{4276.aa39300c806a420e8c6e.js.map → 4276.2edc46f98f304de431b0.js.map} +1 -1
  26. notebook/static/{4382.04ad3d7d0cb8d73d010e.js → 4382.c317254086f1ae2d605a.js} +3 -3
  27. notebook/static/{4382.04ad3d7d0cb8d73d010e.js.map → 4382.c317254086f1ae2d605a.js.map} +1 -1
  28. notebook/static/{4406.f469bd58d9f7c3f362a5.js → 4406.c435ee1d9e07c37b46e4.js} +2 -2
  29. notebook/static/{4406.f469bd58d9f7c3f362a5.js.map → 4406.c435ee1d9e07c37b46e4.js.map} +1 -1
  30. notebook/static/{4588.7618f6b98796be928f8c.js → 4588.46b592131684aa708905.js} +3 -3
  31. notebook/static/{4588.7618f6b98796be928f8c.js.map → 4588.46b592131684aa708905.js.map} +1 -1
  32. notebook/static/{4645.f00e7efa452bebd8813b.js → 4645.9017711a4d52533bd2ae.js} +5 -5
  33. notebook/static/{4645.f00e7efa452bebd8813b.js.map → 4645.9017711a4d52533bd2ae.js.map} +1 -1
  34. notebook/static/{4837.752c322ba8b34ccd4821.js → 4837.2a30feab2693717d3d43.js} +3 -3
  35. notebook/static/{4837.752c322ba8b34ccd4821.js.map → 4837.2a30feab2693717d3d43.js.map} +1 -1
  36. notebook/static/{4926.07f857be253dfe2d9b64.js → 4926.7f42350f683b70d59456.js} +3 -3
  37. notebook/static/{4926.07f857be253dfe2d9b64.js.map → 4926.7f42350f683b70d59456.js.map} +1 -1
  38. notebook/static/{5135.3c28064ccea3bb8482d8.js → 5135.1cde65c1d79a0adc262d.js} +11 -11
  39. notebook/static/{5135.3c28064ccea3bb8482d8.js.map → 5135.1cde65c1d79a0adc262d.js.map} +1 -1
  40. notebook/static/{5573.bcb961550adca55857f5.js → 5573.38e0610ea3d6d9b005b5.js} +17 -17
  41. notebook/static/{5573.bcb961550adca55857f5.js.map → 5573.38e0610ea3d6d9b005b5.js.map} +1 -1
  42. notebook/static/{5601.d812238f811fefee1f24.js → 5601.ffda77b468bc8b17a221.js} +5 -5
  43. notebook/static/{5601.d812238f811fefee1f24.js.map → 5601.ffda77b468bc8b17a221.js.map} +1 -1
  44. notebook/static/{5850.65dd0d81b5948c463df4.js → 5850.30a4d9a000a79095dcff.js} +3 -3
  45. notebook/static/{5850.65dd0d81b5948c463df4.js.map → 5850.30a4d9a000a79095dcff.js.map} +1 -1
  46. notebook/static/{6271.7ad87d1f14b9d74742ec.js → 6271.809bc8c9941039275a30.js} +3 -3
  47. notebook/static/{6271.7ad87d1f14b9d74742ec.js.map → 6271.809bc8c9941039275a30.js.map} +1 -1
  48. notebook/static/{6345.d580c0a9b4864863ecd4.js → 6345.348b6265ddf3713ab5d6.js} +5 -5
  49. notebook/static/{6345.d580c0a9b4864863ecd4.js.map → 6345.348b6265ddf3713ab5d6.js.map} +1 -1
  50. notebook/static/{4744.1aaa11208160c2a55b1e.js → 6653.6525abafd19e7997f79c.js} +2 -2
  51. notebook/static/{4744.1aaa11208160c2a55b1e.js.map → 6653.6525abafd19e7997f79c.js.map} +1 -1
  52. notebook/static/{7302.c293b105c52e1bd777f8.js → 7302.3f668970091842fbc9ca.js} +19 -19
  53. notebook/static/{3768.e8ae20faee4eda9d0cbd.js.map → 7302.3f668970091842fbc9ca.js.map} +1 -1
  54. notebook/static/{7450.c047a6b002d188bafd58.js → 7450.beacefc07c8e386709fa.js} +2 -2
  55. notebook/static/{7450.c047a6b002d188bafd58.js.map → 7450.beacefc07c8e386709fa.js.map} +1 -1
  56. notebook/static/{7866.b49b1018f43def5a8f30.js → 7866.b73df9c77816d05d6784.js} +3 -3
  57. notebook/static/{7866.b49b1018f43def5a8f30.js.map → 7866.b73df9c77816d05d6784.js.map} +1 -1
  58. notebook/static/{7906.d1133cd4c13c10978ab7.js → 7906.c3e50e3c279ee95b5b0c.js} +3 -3
  59. notebook/static/{7906.d1133cd4c13c10978ab7.js.map → 7906.c3e50e3c279ee95b5b0c.js.map} +1 -1
  60. notebook/static/{7995.45be6443b704da1daafc.js → 7995.8f35600b7ffffa34c89b.js} +3 -3
  61. notebook/static/{7995.45be6443b704da1daafc.js.map → 7995.8f35600b7ffffa34c89b.js.map} +1 -1
  62. notebook/static/{5261.f12a52481f4cee8ba676.js → 8313.45ac616d61cf717bff16.js} +152 -148
  63. notebook/static/8313.45ac616d61cf717bff16.js.map +1 -0
  64. notebook/static/{8579.34e9a47bef102273c3ae.js → 8579.973518a0960b2b927064.js} +14 -14
  65. notebook/static/{8579.34e9a47bef102273c3ae.js.map → 8579.973518a0960b2b927064.js.map} +1 -1
  66. notebook/static/{8781.38165bb044f1f12281e0.js → 8781.3f87f07359077c3a8a85.js} +60 -60
  67. notebook/static/{8781.38165bb044f1f12281e0.js.map → 8781.3f87f07359077c3a8a85.js.map} +1 -1
  68. notebook/static/{8875.cd565926c48a95a15c35.js → 8875.0604966d624b3656aa1c.js} +4 -4
  69. notebook/static/{8875.cd565926c48a95a15c35.js.map → 8875.0604966d624b3656aa1c.js.map} +1 -1
  70. notebook/static/{9068.6014f204c0035fbfe006.js → 9068.d8c4c8fa34c89c710d15.js} +3 -3
  71. notebook/static/{9068.6014f204c0035fbfe006.js.map → 9068.d8c4c8fa34c89c710d15.js.map} +1 -1
  72. notebook/static/{9380.127327c2f419baab61f8.js → 9380.b2ee26fa1e359ebe5fb8.js} +5 -5
  73. notebook/static/{9380.127327c2f419baab61f8.js.map → 9380.b2ee26fa1e359ebe5fb8.js.map} +1 -1
  74. notebook/static/{9799.3d54e01276f72cee9ada.js → 9799.f8f37b03cc4afc27f8f0.js} +2 -2
  75. notebook/static/{9799.3d54e01276f72cee9ada.js.map → 9799.f8f37b03cc4afc27f8f0.js.map} +1 -1
  76. notebook/static/main.e99dd4f880b24bc94403.js +1180 -0
  77. notebook/static/main.e99dd4f880b24bc94403.js.map +1 -0
  78. notebook/static/{notebook_core.a5f3b219980f87ebb132.js → notebook_core.e0fcfe0884f9e1166813.js} +1593 -1423
  79. notebook/static/{notebook_core.a5f3b219980f87ebb132.js.map → notebook_core.e0fcfe0884f9e1166813.js.map} +1 -1
  80. notebook/static/third-party-licenses.json +104 -104
  81. notebook/templates/consoles.html +1 -1
  82. notebook/templates/edit.html +1 -1
  83. notebook/templates/error.html +1 -1
  84. notebook/templates/notebooks.html +1 -1
  85. notebook/templates/terminals.html +1 -1
  86. notebook/templates/tree.html +1 -1
  87. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/package.json.orig +14 -14
  88. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/documentsearch-extension/package.json.orig +4 -4
  89. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/package.json.orig +6 -6
  90. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/package.json.orig +9 -9
  91. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/package.json.orig +15 -15
  92. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/package.json +11 -11
  93. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/package.json.orig +10 -10
  94. notebook-7.4.5.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/261.ed6f8abd5781e8d11deb.js +1 -0
  95. notebook-7.4.5.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.5e057f374374b68b6acf.js +1 -0
  96. notebook-7.4.3.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.23e13d929eef18fd73d1.js → notebook-7.4.5.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.fb1e84fb9063ca0568af.js +1 -1
  97. notebook-7.4.3.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/93.eae3497dd223d842d198.js → notebook-7.4.5.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/93.c48a681bb3e8043bbbd7.js +1 -1
  98. notebook-7.4.3.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.36118095f13aad5de3ed.js → notebook-7.4.5.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.7e3d7768845089ad5f5f.js +1 -1
  99. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/third-party-licenses.json +2 -2
  100. {notebook-7.4.3.dist-info → notebook-7.4.5.dist-info}/METADATA +2 -2
  101. {notebook-7.4.3.dist-info → notebook-7.4.5.dist-info}/RECORD +124 -124
  102. notebook/static/2955.d8fd055f03b878034fe4.js.map +0 -1
  103. notebook/static/5261.f12a52481f4cee8ba676.js.map +0 -1
  104. notebook/static/main.27f666d49f499b4c5c65.js +0 -1180
  105. notebook/static/main.27f666d49f499b4c5c65.js.map +0 -1
  106. notebook-7.4.3.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/199.7ed7a39f5aead3cdd8b1.js +0 -1
  107. notebook-7.4.3.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.afb9594a3c8448323be3.js +0 -1
  108. {notebook-7.4.3.data → notebook-7.4.5.data}/data/etc/jupyter/jupyter_server_config.d/notebook.json +0 -0
  109. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/applications/jupyter-notebook.desktop +0 -0
  110. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/icons/hicolor/scalable/apps/notebook.svg +0 -0
  111. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/menus.json +0 -0
  112. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/pages.json +0 -0
  113. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json +0 -0
  114. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/title.json +0 -0
  115. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/top.json +0 -0
  116. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/zen.json +0 -0
  117. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/open.json +0 -0
  118. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/checkpoints.json +0 -0
  119. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/edit-notebook-metadata.json +0 -0
  120. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/full-width-notebook.json +0 -0
  121. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/kernel-logo.json +0 -0
  122. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json +0 -0
  123. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/file-actions.json +0 -0
  124. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/widget.json +0 -0
  125. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/interface-switcher.json +0 -0
  126. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/launch-tree.json +0 -0
  127. {notebook-7.4.3.data → notebook-7.4.5.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/style.js +0 -0
  128. {notebook-7.4.3.dist-info → notebook-7.4.5.dist-info}/WHEEL +0 -0
  129. {notebook-7.4.3.dist-info → notebook-7.4.5.dist-info}/entry_points.txt +0 -0
  130. {notebook-7.4.3.dist-info → notebook-7.4.5.dist-info}/licenses/LICENSE +0 -0
@@ -1,70 +1,36 @@
1
1
  "use strict";
2
- (self["webpackChunk_JUPYTERLAB_CORE_OUTPUT"] = self["webpackChunk_JUPYTERLAB_CORE_OUTPUT"] || []).push([[5261],{
2
+ (self["webpackChunk_JUPYTERLAB_CORE_OUTPUT"] = self["webpackChunk_JUPYTERLAB_CORE_OUTPUT"] || []).push([[8313],{
3
3
 
4
- /***/ 25261:
4
+ /***/ 28313:
5
5
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6
6
 
7
- // ESM COMPAT FLAG
8
7
  __webpack_require__.r(__webpack_exports__);
9
-
10
- // EXPORTS
11
- __webpack_require__.d(__webpack_exports__, {
12
- RegExpCursor: () => (/* binding */ RegExpCursor),
13
- SearchCursor: () => (/* binding */ SearchCursor),
14
- SearchQuery: () => (/* binding */ SearchQuery),
15
- closeSearchPanel: () => (/* binding */ closeSearchPanel),
16
- findNext: () => (/* binding */ findNext),
17
- findPrevious: () => (/* binding */ findPrevious),
18
- getSearchQuery: () => (/* binding */ getSearchQuery),
19
- gotoLine: () => (/* binding */ gotoLine),
20
- highlightSelectionMatches: () => (/* binding */ highlightSelectionMatches),
21
- openSearchPanel: () => (/* binding */ openSearchPanel),
22
- replaceAll: () => (/* binding */ replaceAll),
23
- replaceNext: () => (/* binding */ replaceNext),
24
- search: () => (/* binding */ search),
25
- searchKeymap: () => (/* binding */ searchKeymap),
26
- searchPanelOpen: () => (/* binding */ searchPanelOpen),
27
- selectMatches: () => (/* binding */ selectMatches),
28
- selectNextOccurrence: () => (/* binding */ selectNextOccurrence),
29
- selectSelectionMatches: () => (/* binding */ selectSelectionMatches),
30
- setSearchQuery: () => (/* binding */ setSearchQuery)
31
- });
32
-
33
- // EXTERNAL MODULE: consume shared module (default) @codemirror/view@~6.36.7 (singleton) (fallback: ../node_modules/@codemirror/view/dist/index.js)
34
- var index_js_ = __webpack_require__(98273);
35
- // EXTERNAL MODULE: consume shared module (default) @codemirror/state@~6.5.2 (singleton) (fallback: ../node_modules/@codemirror/state/dist/index.js)
36
- var dist_index_js_ = __webpack_require__(82990);
37
- ;// CONCATENATED MODULE: ../node_modules/crelt/index.js
38
- function crelt() {
39
- var elt = arguments[0]
40
- if (typeof elt == "string") elt = document.createElement(elt)
41
- var i = 1, next = arguments[1]
42
- if (next && typeof next == "object" && next.nodeType == null && !Array.isArray(next)) {
43
- for (var name in next) if (Object.prototype.hasOwnProperty.call(next, name)) {
44
- var value = next[name]
45
- if (typeof value == "string") elt.setAttribute(name, value)
46
- else if (value != null) elt[name] = value
47
- }
48
- i++
49
- }
50
- for (; i < arguments.length; i++) add(elt, arguments[i])
51
- return elt
52
- }
53
-
54
- function add(elt, child) {
55
- if (typeof child == "string") {
56
- elt.appendChild(document.createTextNode(child))
57
- } else if (child == null) {
58
- } else if (child.nodeType != null) {
59
- elt.appendChild(child)
60
- } else if (Array.isArray(child)) {
61
- for (var i = 0; i < child.length; i++) add(elt, child[i])
62
- } else {
63
- throw new RangeError("Unsupported child node: " + child)
64
- }
65
- }
66
-
67
- ;// CONCATENATED MODULE: ../node_modules/@codemirror/search/dist/index.js
8
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9
+ /* harmony export */ RegExpCursor: () => (/* binding */ RegExpCursor),
10
+ /* harmony export */ SearchCursor: () => (/* binding */ SearchCursor),
11
+ /* harmony export */ SearchQuery: () => (/* binding */ SearchQuery),
12
+ /* harmony export */ closeSearchPanel: () => (/* binding */ closeSearchPanel),
13
+ /* harmony export */ findNext: () => (/* binding */ findNext),
14
+ /* harmony export */ findPrevious: () => (/* binding */ findPrevious),
15
+ /* harmony export */ getSearchQuery: () => (/* binding */ getSearchQuery),
16
+ /* harmony export */ gotoLine: () => (/* binding */ gotoLine),
17
+ /* harmony export */ highlightSelectionMatches: () => (/* binding */ highlightSelectionMatches),
18
+ /* harmony export */ openSearchPanel: () => (/* binding */ openSearchPanel),
19
+ /* harmony export */ replaceAll: () => (/* binding */ replaceAll),
20
+ /* harmony export */ replaceNext: () => (/* binding */ replaceNext),
21
+ /* harmony export */ search: () => (/* binding */ search),
22
+ /* harmony export */ searchKeymap: () => (/* binding */ searchKeymap),
23
+ /* harmony export */ searchPanelOpen: () => (/* binding */ searchPanelOpen),
24
+ /* harmony export */ selectMatches: () => (/* binding */ selectMatches),
25
+ /* harmony export */ selectNextOccurrence: () => (/* binding */ selectNextOccurrence),
26
+ /* harmony export */ selectSelectionMatches: () => (/* binding */ selectSelectionMatches),
27
+ /* harmony export */ setSearchQuery: () => (/* binding */ setSearchQuery)
28
+ /* harmony export */ });
29
+ /* harmony import */ var _codemirror_view__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21486);
30
+ /* harmony import */ var _codemirror_view__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_codemirror_view__WEBPACK_IMPORTED_MODULE_0__);
31
+ /* harmony import */ var _codemirror_state__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(82990);
32
+ /* harmony import */ var _codemirror_state__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_codemirror_state__WEBPACK_IMPORTED_MODULE_1__);
33
+ /* harmony import */ var crelt__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(76767);
68
34
 
69
35
 
70
36
 
@@ -118,7 +84,7 @@ class SearchCursor {
118
84
  this.bufferPos = 0;
119
85
  this.buffer = this.iter.value;
120
86
  }
121
- return (0,dist_index_js_.codePointAt)(this.buffer, this.bufferPos);
87
+ return (0,_codemirror_state__WEBPACK_IMPORTED_MODULE_1__.codePointAt)(this.buffer, this.bufferPos);
122
88
  }
123
89
  /**
124
90
  Look for the next match. Updates the iterator's
@@ -143,8 +109,8 @@ class SearchCursor {
143
109
  this.done = true;
144
110
  return this;
145
111
  }
146
- let str = (0,dist_index_js_.fromCodePoint)(next), start = this.bufferStart + this.bufferPos;
147
- this.bufferPos += (0,dist_index_js_.codePointSize)(next);
112
+ let str = (0,_codemirror_state__WEBPACK_IMPORTED_MODULE_1__.fromCodePoint)(next), start = this.bufferStart + this.bufferPos;
113
+ this.bufferPos += (0,_codemirror_state__WEBPACK_IMPORTED_MODULE_1__.codePointSize)(next);
148
114
  let norm = this.normalize(str);
149
115
  if (norm.length)
150
116
  for (let i = 0, pos = start;; i++) {
@@ -375,8 +341,8 @@ function toCharEnd(text, pos) {
375
341
 
376
342
  function createLineDialog(view) {
377
343
  let line = String(view.state.doc.lineAt(view.state.selection.main.head).number);
378
- let input = crelt("input", { class: "cm-textfield", name: "line", value: line });
379
- let dom = crelt("form", {
344
+ let input = (0,crelt__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)("input", { class: "cm-textfield", name: "line", value: line });
345
+ let dom = (0,crelt__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)("form", {
380
346
  class: "cm-gotoLine",
381
347
  onkeydown: (event) => {
382
348
  if (event.keyCode == 27) { // Escape
@@ -393,7 +359,7 @@ function createLineDialog(view) {
393
359
  event.preventDefault();
394
360
  go();
395
361
  }
396
- }, crelt("label", view.state.phrase("Go to line"), ": ", input), " ", crelt("button", { class: "cm-button", type: "submit" }, view.state.phrase("go")), crelt("button", {
362
+ }, (0,crelt__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)("label", view.state.phrase("Go to line"), ": ", input), " ", (0,crelt__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)("button", { class: "cm-button", type: "submit" }, view.state.phrase("go")), (0,crelt__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)("button", {
397
363
  name: "close",
398
364
  onclick: () => {
399
365
  view.dispatch({ effects: dialogEffect.of(false) });
@@ -420,17 +386,17 @@ function createLineDialog(view) {
420
386
  line = line * (sign == "-" ? -1 : 1) + startLine.number;
421
387
  }
422
388
  let docLine = state.doc.line(Math.max(1, Math.min(state.doc.lines, line)));
423
- let selection = dist_index_js_.EditorSelection.cursor(docLine.from + Math.max(0, Math.min(col, docLine.length)));
389
+ let selection = _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.EditorSelection.cursor(docLine.from + Math.max(0, Math.min(col, docLine.length)));
424
390
  view.dispatch({
425
- effects: [dialogEffect.of(false), index_js_.EditorView.scrollIntoView(selection.from, { y: 'center' })],
391
+ effects: [dialogEffect.of(false), _codemirror_view__WEBPACK_IMPORTED_MODULE_0__.EditorView.scrollIntoView(selection.from, { y: 'center' })],
426
392
  selection,
427
393
  });
428
394
  view.focus();
429
395
  }
430
396
  return { dom };
431
397
  }
432
- const dialogEffect = /*@__PURE__*/dist_index_js_.StateEffect.define();
433
- const dialogField = /*@__PURE__*/dist_index_js_.StateField.define({
398
+ const dialogEffect = /*@__PURE__*/_codemirror_state__WEBPACK_IMPORTED_MODULE_1__.StateEffect.define();
399
+ const dialogField = /*@__PURE__*/_codemirror_state__WEBPACK_IMPORTED_MODULE_1__.StateField.define({
434
400
  create() { return true; },
435
401
  update(value, tr) {
436
402
  for (let e of tr.effects)
@@ -438,7 +404,7 @@ const dialogField = /*@__PURE__*/dist_index_js_.StateField.define({
438
404
  value = e.value;
439
405
  return value;
440
406
  },
441
- provide: f => index_js_.showPanel.from(f, val => val ? createLineDialog : null)
407
+ provide: f => _codemirror_view__WEBPACK_IMPORTED_MODULE_0__.showPanel.from(f, val => val ? createLineDialog : null)
442
408
  });
443
409
  /**
444
410
  Command that shows a dialog asking the user for a line number, and
@@ -450,19 +416,19 @@ column position by adding `:` and a second number after the line
450
416
  number.
451
417
  */
452
418
  const gotoLine = view => {
453
- let panel = (0,index_js_.getPanel)(view, createLineDialog);
419
+ let panel = (0,_codemirror_view__WEBPACK_IMPORTED_MODULE_0__.getPanel)(view, createLineDialog);
454
420
  if (!panel) {
455
421
  let effects = [dialogEffect.of(true)];
456
422
  if (view.state.field(dialogField, false) == null)
457
- effects.push(dist_index_js_.StateEffect.appendConfig.of([dialogField, baseTheme$1]));
423
+ effects.push(_codemirror_state__WEBPACK_IMPORTED_MODULE_1__.StateEffect.appendConfig.of([dialogField, baseTheme$1]));
458
424
  view.dispatch({ effects });
459
- panel = (0,index_js_.getPanel)(view, createLineDialog);
425
+ panel = (0,_codemirror_view__WEBPACK_IMPORTED_MODULE_0__.getPanel)(view, createLineDialog);
460
426
  }
461
427
  if (panel)
462
428
  panel.dom.querySelector("input").select();
463
429
  return true;
464
430
  };
465
- const baseTheme$1 = /*@__PURE__*/index_js_.EditorView.baseTheme({
431
+ const baseTheme$1 = /*@__PURE__*/_codemirror_view__WEBPACK_IMPORTED_MODULE_0__.EditorView.baseTheme({
466
432
  ".cm-panel.cm-gotoLine": {
467
433
  padding: "2px 6px 4px",
468
434
  position: "relative",
@@ -485,9 +451,9 @@ const defaultHighlightOptions = {
485
451
  maxMatches: 100,
486
452
  wholeWords: false
487
453
  };
488
- const highlightConfig = /*@__PURE__*/dist_index_js_.Facet.define({
454
+ const highlightConfig = /*@__PURE__*/_codemirror_state__WEBPACK_IMPORTED_MODULE_1__.Facet.define({
489
455
  combine(options) {
490
- return (0,dist_index_js_.combineConfig)(options, defaultHighlightOptions, {
456
+ return (0,_codemirror_state__WEBPACK_IMPORTED_MODULE_1__.combineConfig)(options, defaultHighlightOptions, {
491
457
  highlightWordAroundCursor: (a, b) => a || b,
492
458
  minSelectionLength: Math.min,
493
459
  maxMatches: Math.min
@@ -506,19 +472,19 @@ function highlightSelectionMatches(options) {
506
472
  ext.push(highlightConfig.of(options));
507
473
  return ext;
508
474
  }
509
- const matchDeco = /*@__PURE__*/index_js_.Decoration.mark({ class: "cm-selectionMatch" });
510
- const mainMatchDeco = /*@__PURE__*/index_js_.Decoration.mark({ class: "cm-selectionMatch cm-selectionMatch-main" });
475
+ const matchDeco = /*@__PURE__*/_codemirror_view__WEBPACK_IMPORTED_MODULE_0__.Decoration.mark({ class: "cm-selectionMatch" });
476
+ const mainMatchDeco = /*@__PURE__*/_codemirror_view__WEBPACK_IMPORTED_MODULE_0__.Decoration.mark({ class: "cm-selectionMatch cm-selectionMatch-main" });
511
477
  // Whether the characters directly outside the given positions are non-word characters
512
478
  function insideWordBoundaries(check, state, from, to) {
513
- return (from == 0 || check(state.sliceDoc(from - 1, from)) != dist_index_js_.CharCategory.Word) &&
514
- (to == state.doc.length || check(state.sliceDoc(to, to + 1)) != dist_index_js_.CharCategory.Word);
479
+ return (from == 0 || check(state.sliceDoc(from - 1, from)) != _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.CharCategory.Word) &&
480
+ (to == state.doc.length || check(state.sliceDoc(to, to + 1)) != _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.CharCategory.Word);
515
481
  }
516
482
  // Whether the characters directly at the given positions are word characters
517
483
  function insideWord(check, state, from, to) {
518
- return check(state.sliceDoc(from, from + 1)) == dist_index_js_.CharCategory.Word
519
- && check(state.sliceDoc(to - 1, to)) == dist_index_js_.CharCategory.Word;
484
+ return check(state.sliceDoc(from, from + 1)) == _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.CharCategory.Word
485
+ && check(state.sliceDoc(to - 1, to)) == _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.CharCategory.Word;
520
486
  }
521
- const matchHighlighter = /*@__PURE__*/index_js_.ViewPlugin.fromClass(class {
487
+ const matchHighlighter = /*@__PURE__*/_codemirror_view__WEBPACK_IMPORTED_MODULE_0__.ViewPlugin.fromClass(class {
522
488
  constructor(view) {
523
489
  this.decorations = this.getDeco(view);
524
490
  }
@@ -530,32 +496,32 @@ const matchHighlighter = /*@__PURE__*/index_js_.ViewPlugin.fromClass(class {
530
496
  let conf = view.state.facet(highlightConfig);
531
497
  let { state } = view, sel = state.selection;
532
498
  if (sel.ranges.length > 1)
533
- return index_js_.Decoration.none;
499
+ return _codemirror_view__WEBPACK_IMPORTED_MODULE_0__.Decoration.none;
534
500
  let range = sel.main, query, check = null;
535
501
  if (range.empty) {
536
502
  if (!conf.highlightWordAroundCursor)
537
- return index_js_.Decoration.none;
503
+ return _codemirror_view__WEBPACK_IMPORTED_MODULE_0__.Decoration.none;
538
504
  let word = state.wordAt(range.head);
539
505
  if (!word)
540
- return index_js_.Decoration.none;
506
+ return _codemirror_view__WEBPACK_IMPORTED_MODULE_0__.Decoration.none;
541
507
  check = state.charCategorizer(range.head);
542
508
  query = state.sliceDoc(word.from, word.to);
543
509
  }
544
510
  else {
545
511
  let len = range.to - range.from;
546
512
  if (len < conf.minSelectionLength || len > 200)
547
- return index_js_.Decoration.none;
513
+ return _codemirror_view__WEBPACK_IMPORTED_MODULE_0__.Decoration.none;
548
514
  if (conf.wholeWords) {
549
515
  query = state.sliceDoc(range.from, range.to); // TODO: allow and include leading/trailing space?
550
516
  check = state.charCategorizer(range.head);
551
517
  if (!(insideWordBoundaries(check, state, range.from, range.to) &&
552
518
  insideWord(check, state, range.from, range.to)))
553
- return index_js_.Decoration.none;
519
+ return _codemirror_view__WEBPACK_IMPORTED_MODULE_0__.Decoration.none;
554
520
  }
555
521
  else {
556
522
  query = state.sliceDoc(range.from, range.to);
557
523
  if (!query)
558
- return index_js_.Decoration.none;
524
+ return _codemirror_view__WEBPACK_IMPORTED_MODULE_0__.Decoration.none;
559
525
  }
560
526
  }
561
527
  let deco = [];
@@ -569,23 +535,23 @@ const matchHighlighter = /*@__PURE__*/index_js_.ViewPlugin.fromClass(class {
569
535
  else if (from >= range.to || to <= range.from)
570
536
  deco.push(matchDeco.range(from, to));
571
537
  if (deco.length > conf.maxMatches)
572
- return index_js_.Decoration.none;
538
+ return _codemirror_view__WEBPACK_IMPORTED_MODULE_0__.Decoration.none;
573
539
  }
574
540
  }
575
541
  }
576
- return index_js_.Decoration.set(deco);
542
+ return _codemirror_view__WEBPACK_IMPORTED_MODULE_0__.Decoration.set(deco);
577
543
  }
578
544
  }, {
579
545
  decorations: v => v.decorations
580
546
  });
581
- const defaultTheme = /*@__PURE__*/index_js_.EditorView.baseTheme({
547
+ const defaultTheme = /*@__PURE__*/_codemirror_view__WEBPACK_IMPORTED_MODULE_0__.EditorView.baseTheme({
582
548
  ".cm-selectionMatch": { backgroundColor: "#99ff7780" },
583
549
  ".cm-searchMatch .cm-selectionMatch": { backgroundColor: "transparent" }
584
550
  });
585
551
  // Select the words around the cursors.
586
552
  const selectWord = ({ state, dispatch }) => {
587
553
  let { selection } = state;
588
- let newSel = dist_index_js_.EditorSelection.create(selection.ranges.map(range => state.wordAt(range.head) || dist_index_js_.EditorSelection.cursor(range.head)), selection.mainIndex);
554
+ let newSel = _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.EditorSelection.create(selection.ranges.map(range => state.wordAt(range.head) || _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.EditorSelection.cursor(range.head)), selection.mainIndex);
589
555
  if (newSel.eq(selection))
590
556
  return false;
591
557
  dispatch(state.update({ selection: newSel }));
@@ -631,22 +597,22 @@ const selectNextOccurrence = ({ state, dispatch }) => {
631
597
  if (!range)
632
598
  return false;
633
599
  dispatch(state.update({
634
- selection: state.selection.addRange(dist_index_js_.EditorSelection.range(range.from, range.to), false),
635
- effects: index_js_.EditorView.scrollIntoView(range.to)
600
+ selection: state.selection.addRange(_codemirror_state__WEBPACK_IMPORTED_MODULE_1__.EditorSelection.range(range.from, range.to), false),
601
+ effects: _codemirror_view__WEBPACK_IMPORTED_MODULE_0__.EditorView.scrollIntoView(range.to)
636
602
  }));
637
603
  return true;
638
604
  };
639
605
 
640
- const searchConfigFacet = /*@__PURE__*/dist_index_js_.Facet.define({
606
+ const searchConfigFacet = /*@__PURE__*/_codemirror_state__WEBPACK_IMPORTED_MODULE_1__.Facet.define({
641
607
  combine(configs) {
642
- return (0,dist_index_js_.combineConfig)(configs, {
608
+ return (0,_codemirror_state__WEBPACK_IMPORTED_MODULE_1__.combineConfig)(configs, {
643
609
  top: false,
644
610
  caseSensitive: false,
645
611
  literal: false,
646
612
  regexp: false,
647
613
  wholeWord: false,
648
614
  createPanel: view => new SearchPanel(view),
649
- scrollToMatch: range => index_js_.EditorView.scrollIntoView(range)
615
+ scrollToMatch: range => _codemirror_view__WEBPACK_IMPORTED_MODULE_0__.EditorView.scrollIntoView(range)
650
616
  });
651
617
  }
652
618
  });
@@ -702,7 +668,7 @@ class SearchQuery {
702
668
  range in the given state.
703
669
  */
704
670
  getCursor(state, from = 0, to) {
705
- let st = state.doc ? state : dist_index_js_.EditorState.create({ doc: state });
671
+ let st = state.doc ? state : _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.EditorState.create({ doc: state });
706
672
  if (to == null)
707
673
  to = st.doc.length;
708
674
  return this.regexp ? regexpCursor(this, st, from, to) : stringCursor(this, st, from, to);
@@ -722,10 +688,10 @@ function stringWordTest(doc, categorizer) {
722
688
  bufPos = Math.max(0, from - 2);
723
689
  buf = doc.sliceString(bufPos, Math.min(doc.length, to + 2));
724
690
  }
725
- return (categorizer(charBefore(buf, from - bufPos)) != dist_index_js_.CharCategory.Word ||
726
- categorizer(charAfter(buf, from - bufPos)) != dist_index_js_.CharCategory.Word) &&
727
- (categorizer(charAfter(buf, to - bufPos)) != dist_index_js_.CharCategory.Word ||
728
- categorizer(charBefore(buf, to - bufPos)) != dist_index_js_.CharCategory.Word);
691
+ return (categorizer(charBefore(buf, from - bufPos)) != _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.CharCategory.Word ||
692
+ categorizer(charAfter(buf, from - bufPos)) != _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.CharCategory.Word) &&
693
+ (categorizer(charAfter(buf, to - bufPos)) != _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.CharCategory.Word ||
694
+ categorizer(charBefore(buf, to - bufPos)) != _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.CharCategory.Word);
729
695
  };
730
696
  }
731
697
  class StringQuery extends QueryType {
@@ -784,17 +750,17 @@ function regexpCursor(spec, state, from, to) {
784
750
  }, from, to);
785
751
  }
786
752
  function charBefore(str, index) {
787
- return str.slice((0,dist_index_js_.findClusterBreak)(str, index, false), index);
753
+ return str.slice((0,_codemirror_state__WEBPACK_IMPORTED_MODULE_1__.findClusterBreak)(str, index, false), index);
788
754
  }
789
755
  function charAfter(str, index) {
790
- return str.slice(index, (0,dist_index_js_.findClusterBreak)(str, index));
756
+ return str.slice(index, (0,_codemirror_state__WEBPACK_IMPORTED_MODULE_1__.findClusterBreak)(str, index));
791
757
  }
792
758
  function regexpWordTest(categorizer) {
793
759
  return (_from, _to, match) => !match[0].length ||
794
- (categorizer(charBefore(match.input, match.index)) != dist_index_js_.CharCategory.Word ||
795
- categorizer(charAfter(match.input, match.index)) != dist_index_js_.CharCategory.Word) &&
796
- (categorizer(charAfter(match.input, match.index + match[0].length)) != dist_index_js_.CharCategory.Word ||
797
- categorizer(charBefore(match.input, match.index + match[0].length)) != dist_index_js_.CharCategory.Word);
760
+ (categorizer(charBefore(match.input, match.index)) != _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.CharCategory.Word ||
761
+ categorizer(charAfter(match.input, match.index)) != _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.CharCategory.Word) &&
762
+ (categorizer(charAfter(match.input, match.index + match[0].length)) != _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.CharCategory.Word ||
763
+ categorizer(charBefore(match.input, match.index + match[0].length)) != _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.CharCategory.Word);
798
764
  }
799
765
  class RegExpQuery extends QueryType {
800
766
  nextMatch(state, curFrom, curTo) {
@@ -855,9 +821,9 @@ this only has an effect if the search state has been initialized
855
821
  by running [`openSearchPanel`](https://codemirror.net/6/docs/ref/#search.openSearchPanel) at least
856
822
  once).
857
823
  */
858
- const setSearchQuery = /*@__PURE__*/dist_index_js_.StateEffect.define();
859
- const togglePanel = /*@__PURE__*/dist_index_js_.StateEffect.define();
860
- const searchState = /*@__PURE__*/dist_index_js_.StateField.define({
824
+ const setSearchQuery = /*@__PURE__*/_codemirror_state__WEBPACK_IMPORTED_MODULE_1__.StateEffect.define();
825
+ const togglePanel = /*@__PURE__*/_codemirror_state__WEBPACK_IMPORTED_MODULE_1__.StateEffect.define();
826
+ const searchState = /*@__PURE__*/_codemirror_state__WEBPACK_IMPORTED_MODULE_1__.StateField.define({
861
827
  create(state) {
862
828
  return new SearchState(defaultQuery(state).create(), null);
863
829
  },
@@ -870,7 +836,7 @@ const searchState = /*@__PURE__*/dist_index_js_.StateField.define({
870
836
  }
871
837
  return value;
872
838
  },
873
- provide: f => index_js_.showPanel.from(f, val => val.panel)
839
+ provide: f => _codemirror_view__WEBPACK_IMPORTED_MODULE_0__.showPanel.from(f, val => val.panel)
874
840
  });
875
841
  /**
876
842
  Get the current search query from an editor state.
@@ -892,8 +858,8 @@ class SearchState {
892
858
  this.panel = panel;
893
859
  }
894
860
  }
895
- const matchMark = /*@__PURE__*/index_js_.Decoration.mark({ class: "cm-searchMatch" }), selectedMatchMark = /*@__PURE__*/index_js_.Decoration.mark({ class: "cm-searchMatch cm-searchMatch-selected" });
896
- const searchHighlighter = /*@__PURE__*/index_js_.ViewPlugin.fromClass(class {
861
+ const matchMark = /*@__PURE__*/_codemirror_view__WEBPACK_IMPORTED_MODULE_0__.Decoration.mark({ class: "cm-searchMatch" }), selectedMatchMark = /*@__PURE__*/_codemirror_view__WEBPACK_IMPORTED_MODULE_0__.Decoration.mark({ class: "cm-searchMatch cm-searchMatch-selected" });
862
+ const searchHighlighter = /*@__PURE__*/_codemirror_view__WEBPACK_IMPORTED_MODULE_0__.ViewPlugin.fromClass(class {
897
863
  constructor(view) {
898
864
  this.view = view;
899
865
  this.decorations = this.highlight(view.state.field(searchState));
@@ -905,9 +871,9 @@ const searchHighlighter = /*@__PURE__*/index_js_.ViewPlugin.fromClass(class {
905
871
  }
906
872
  highlight({ query, panel }) {
907
873
  if (!panel || !query.spec.valid)
908
- return index_js_.Decoration.none;
874
+ return _codemirror_view__WEBPACK_IMPORTED_MODULE_0__.Decoration.none;
909
875
  let { view } = this;
910
- let builder = new dist_index_js_.RangeSetBuilder();
876
+ let builder = new _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.RangeSetBuilder();
911
877
  for (let i = 0, ranges = view.visibleRanges, l = ranges.length; i < l; i++) {
912
878
  let { from, to } = ranges[i];
913
879
  while (i < l - 1 && to > ranges[i + 1].from - 2 * 250 /* RegExp.HighlightMargin */)
@@ -939,7 +905,7 @@ const findNext = /*@__PURE__*/searchCommand((view, { query }) => {
939
905
  let next = query.nextMatch(view.state, to, to);
940
906
  if (!next)
941
907
  return false;
942
- let selection = dist_index_js_.EditorSelection.single(next.from, next.to);
908
+ let selection = _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.EditorSelection.single(next.from, next.to);
943
909
  let config = view.state.facet(searchConfigFacet);
944
910
  view.dispatch({
945
911
  selection,
@@ -959,7 +925,7 @@ const findPrevious = /*@__PURE__*/searchCommand((view, { query }) => {
959
925
  let prev = query.prevMatch(state, from, from);
960
926
  if (!prev)
961
927
  return false;
962
- let selection = dist_index_js_.EditorSelection.single(prev.from, prev.to);
928
+ let selection = _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.EditorSelection.single(prev.from, prev.to);
963
929
  let config = view.state.facet(searchConfigFacet);
964
930
  view.dispatch({
965
931
  selection,
@@ -977,7 +943,7 @@ const selectMatches = /*@__PURE__*/searchCommand((view, { query }) => {
977
943
  if (!ranges || !ranges.length)
978
944
  return false;
979
945
  view.dispatch({
980
- selection: dist_index_js_.EditorSelection.create(ranges.map(r => dist_index_js_.EditorSelection.range(r.from, r.to))),
946
+ selection: _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.EditorSelection.create(ranges.map(r => _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.EditorSelection.range(r.from, r.to))),
981
947
  userEvent: "select.search.matches"
982
948
  });
983
949
  return true;
@@ -996,10 +962,10 @@ const selectSelectionMatches = ({ state, dispatch }) => {
996
962
  return false;
997
963
  if (cur.value.from == from)
998
964
  main = ranges.length;
999
- ranges.push(dist_index_js_.EditorSelection.range(cur.value.from, cur.value.to));
965
+ ranges.push(_codemirror_state__WEBPACK_IMPORTED_MODULE_1__.EditorSelection.range(cur.value.from, cur.value.to));
1000
966
  }
1001
967
  dispatch(state.update({
1002
- selection: dist_index_js_.EditorSelection.create(ranges, main),
968
+ selection: _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.EditorSelection.create(ranges, main),
1003
969
  userEvent: "select.search.matches"
1004
970
  }));
1005
971
  return true;
@@ -1021,11 +987,11 @@ const replaceNext = /*@__PURE__*/searchCommand((view, { query }) => {
1021
987
  replacement = state.toText(query.getReplacement(next));
1022
988
  changes.push({ from: next.from, to: next.to, insert: replacement });
1023
989
  next = query.nextMatch(state, next.from, next.to);
1024
- effects.push(index_js_.EditorView.announce.of(state.phrase("replaced match on line $", state.doc.lineAt(from).number) + "."));
990
+ effects.push(_codemirror_view__WEBPACK_IMPORTED_MODULE_0__.EditorView.announce.of(state.phrase("replaced match on line $", state.doc.lineAt(from).number) + "."));
1025
991
  }
1026
992
  if (next) {
1027
993
  let off = changes.length == 0 || changes[0].from >= match.to ? 0 : match.to - match.from - replacement.length;
1028
- selection = dist_index_js_.EditorSelection.single(next.from - off, next.to - off);
994
+ selection = _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.EditorSelection.single(next.from - off, next.to - off);
1029
995
  effects.push(announceMatch(view, next));
1030
996
  effects.push(state.facet(searchConfigFacet).scrollToMatch(selection.main, view));
1031
997
  }
@@ -1051,7 +1017,7 @@ const replaceAll = /*@__PURE__*/searchCommand((view, { query }) => {
1051
1017
  let announceText = view.state.phrase("replaced $ matches", changes.length) + ".";
1052
1018
  view.dispatch({
1053
1019
  changes,
1054
- effects: index_js_.EditorView.announce.of(announceText),
1020
+ effects: _codemirror_view__WEBPACK_IMPORTED_MODULE_0__.EditorView.announce.of(announceText),
1055
1021
  userEvent: "input.replace.all"
1056
1022
  });
1057
1023
  return true;
@@ -1075,7 +1041,7 @@ function defaultQuery(state, fallback) {
1075
1041
  });
1076
1042
  }
1077
1043
  function getSearchInput(view) {
1078
- let panel = (0,index_js_.getPanel)(view, createSearchPanel);
1044
+ let panel = (0,_codemirror_view__WEBPACK_IMPORTED_MODULE_0__.getPanel)(view, createSearchPanel);
1079
1045
  return panel && panel.dom.querySelector("[main-field]");
1080
1046
  }
1081
1047
  function selectSearchInput(view) {
@@ -1101,7 +1067,7 @@ const openSearchPanel = view => {
1101
1067
  else {
1102
1068
  view.dispatch({ effects: [
1103
1069
  togglePanel.of(true),
1104
- state ? setSearchQuery.of(defaultQuery(view.state, state.query.spec)) : dist_index_js_.StateEffect.appendConfig.of(searchExtensions)
1070
+ state ? setSearchQuery.of(defaultQuery(view.state, state.query.spec)) : _codemirror_state__WEBPACK_IMPORTED_MODULE_1__.StateEffect.appendConfig.of(searchExtensions)
1105
1071
  ] });
1106
1072
  }
1107
1073
  return true;
@@ -1113,7 +1079,7 @@ const closeSearchPanel = view => {
1113
1079
  let state = view.state.field(searchState, false);
1114
1080
  if (!state || !state.panel)
1115
1081
  return false;
1116
- let panel = (0,index_js_.getPanel)(view, createSearchPanel);
1082
+ let panel = (0,_codemirror_view__WEBPACK_IMPORTED_MODULE_0__.getPanel)(view, createSearchPanel);
1117
1083
  if (panel && panel.dom.contains(view.root.activeElement))
1118
1084
  view.focus();
1119
1085
  view.dispatch({ effects: togglePanel.of(false) });
@@ -1142,7 +1108,7 @@ class SearchPanel {
1142
1108
  this.view = view;
1143
1109
  let query = this.query = view.state.field(searchState).query.spec;
1144
1110
  this.commit = this.commit.bind(this);
1145
- this.searchField = crelt("input", {
1111
+ this.searchField = (0,crelt__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)("input", {
1146
1112
  value: query.search,
1147
1113
  placeholder: phrase(view, "Find"),
1148
1114
  "aria-label": phrase(view, "Find"),
@@ -1153,7 +1119,7 @@ class SearchPanel {
1153
1119
  onchange: this.commit,
1154
1120
  onkeyup: this.commit
1155
1121
  });
1156
- this.replaceField = crelt("input", {
1122
+ this.replaceField = (0,crelt__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)("input", {
1157
1123
  value: query.replace,
1158
1124
  placeholder: phrase(view, "Replace"),
1159
1125
  "aria-label": phrase(view, "Replace"),
@@ -1163,21 +1129,21 @@ class SearchPanel {
1163
1129
  onchange: this.commit,
1164
1130
  onkeyup: this.commit
1165
1131
  });
1166
- this.caseField = crelt("input", {
1132
+ this.caseField = (0,crelt__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)("input", {
1167
1133
  type: "checkbox",
1168
1134
  name: "case",
1169
1135
  form: "",
1170
1136
  checked: query.caseSensitive,
1171
1137
  onchange: this.commit
1172
1138
  });
1173
- this.reField = crelt("input", {
1139
+ this.reField = (0,crelt__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)("input", {
1174
1140
  type: "checkbox",
1175
1141
  name: "re",
1176
1142
  form: "",
1177
1143
  checked: query.regexp,
1178
1144
  onchange: this.commit
1179
1145
  });
1180
- this.wordField = crelt("input", {
1146
+ this.wordField = (0,crelt__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)("input", {
1181
1147
  type: "checkbox",
1182
1148
  name: "word",
1183
1149
  form: "",
@@ -1185,23 +1151,23 @@ class SearchPanel {
1185
1151
  onchange: this.commit
1186
1152
  });
1187
1153
  function button(name, onclick, content) {
1188
- return crelt("button", { class: "cm-button", name, onclick, type: "button" }, content);
1154
+ return (0,crelt__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)("button", { class: "cm-button", name, onclick, type: "button" }, content);
1189
1155
  }
1190
- this.dom = crelt("div", { onkeydown: (e) => this.keydown(e), class: "cm-search" }, [
1156
+ this.dom = (0,crelt__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)("div", { onkeydown: (e) => this.keydown(e), class: "cm-search" }, [
1191
1157
  this.searchField,
1192
1158
  button("next", () => findNext(view), [phrase(view, "next")]),
1193
1159
  button("prev", () => findPrevious(view), [phrase(view, "previous")]),
1194
1160
  button("select", () => selectMatches(view), [phrase(view, "all")]),
1195
- crelt("label", null, [this.caseField, phrase(view, "match case")]),
1196
- crelt("label", null, [this.reField, phrase(view, "regexp")]),
1197
- crelt("label", null, [this.wordField, phrase(view, "by word")]),
1161
+ (0,crelt__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)("label", null, [this.caseField, phrase(view, "match case")]),
1162
+ (0,crelt__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)("label", null, [this.reField, phrase(view, "regexp")]),
1163
+ (0,crelt__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)("label", null, [this.wordField, phrase(view, "by word")]),
1198
1164
  ...view.state.readOnly ? [] : [
1199
- crelt("br"),
1165
+ (0,crelt__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)("br"),
1200
1166
  this.replaceField,
1201
1167
  button("replace", () => replaceNext(view), [phrase(view, "replace")]),
1202
1168
  button("replaceAll", () => replaceAll(view), [phrase(view, "replace all")])
1203
1169
  ],
1204
- crelt("button", {
1170
+ (0,crelt__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)("button", {
1205
1171
  name: "close",
1206
1172
  onclick: () => closeSearchPanel(view),
1207
1173
  "aria-label": phrase(view, "close"),
@@ -1223,7 +1189,7 @@ class SearchPanel {
1223
1189
  }
1224
1190
  }
1225
1191
  keydown(e) {
1226
- if ((0,index_js_.runScopeHandlers)(this.view, e, "search-panel")) {
1192
+ if ((0,_codemirror_view__WEBPACK_IMPORTED_MODULE_0__.runScopeHandlers)(this.view, e, "search-panel")) {
1227
1193
  e.preventDefault();
1228
1194
  }
1229
1195
  else if (e.keyCode == 13 && e.target == this.searchField) {
@@ -1277,9 +1243,9 @@ function announceMatch(view, { from, to }) {
1277
1243
  break;
1278
1244
  }
1279
1245
  }
1280
- return index_js_.EditorView.announce.of(`${view.state.phrase("current match")}. ${text} ${view.state.phrase("on line")} ${line.number}.`);
1246
+ return _codemirror_view__WEBPACK_IMPORTED_MODULE_0__.EditorView.announce.of(`${view.state.phrase("current match")}. ${text} ${view.state.phrase("on line")} ${line.number}.`);
1281
1247
  }
1282
- const baseTheme = /*@__PURE__*/index_js_.EditorView.baseTheme({
1248
+ const baseTheme = /*@__PURE__*/_codemirror_view__WEBPACK_IMPORTED_MODULE_0__.EditorView.baseTheme({
1283
1249
  ".cm-panel.cm-search": {
1284
1250
  padding: "2px 6px 4px",
1285
1251
  position: "relative",
@@ -1311,14 +1277,52 @@ const baseTheme = /*@__PURE__*/index_js_.EditorView.baseTheme({
1311
1277
  });
1312
1278
  const searchExtensions = [
1313
1279
  searchState,
1314
- /*@__PURE__*/dist_index_js_.Prec.low(searchHighlighter),
1280
+ /*@__PURE__*/_codemirror_state__WEBPACK_IMPORTED_MODULE_1__.Prec.low(searchHighlighter),
1315
1281
  baseTheme
1316
1282
  ];
1317
1283
 
1318
1284
 
1319
1285
 
1320
1286
 
1287
+ /***/ }),
1288
+
1289
+ /***/ 76767:
1290
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1291
+
1292
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1293
+ /* harmony export */ Z: () => (/* binding */ crelt)
1294
+ /* harmony export */ });
1295
+ function crelt() {
1296
+ var elt = arguments[0]
1297
+ if (typeof elt == "string") elt = document.createElement(elt)
1298
+ var i = 1, next = arguments[1]
1299
+ if (next && typeof next == "object" && next.nodeType == null && !Array.isArray(next)) {
1300
+ for (var name in next) if (Object.prototype.hasOwnProperty.call(next, name)) {
1301
+ var value = next[name]
1302
+ if (typeof value == "string") elt.setAttribute(name, value)
1303
+ else if (value != null) elt[name] = value
1304
+ }
1305
+ i++
1306
+ }
1307
+ for (; i < arguments.length; i++) add(elt, arguments[i])
1308
+ return elt
1309
+ }
1310
+
1311
+ function add(elt, child) {
1312
+ if (typeof child == "string") {
1313
+ elt.appendChild(document.createTextNode(child))
1314
+ } else if (child == null) {
1315
+ } else if (child.nodeType != null) {
1316
+ elt.appendChild(child)
1317
+ } else if (Array.isArray(child)) {
1318
+ for (var i = 0; i < child.length; i++) add(elt, child[i])
1319
+ } else {
1320
+ throw new RangeError("Unsupported child node: " + child)
1321
+ }
1322
+ }
1323
+
1324
+
1321
1325
  /***/ })
1322
1326
 
1323
1327
  }]);
1324
- //# sourceMappingURL=5261.f12a52481f4cee8ba676.js.map?v=f12a52481f4cee8ba676
1328
+ //# sourceMappingURL=8313.45ac616d61cf717bff16.js.map?v=45ac616d61cf717bff16