notebook 7.0.6__py3-none-any.whl → 7.1.0a1__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 (256) hide show
  1. notebook/_version.py +1 -1
  2. notebook/app.py +5 -2
  3. notebook/static/1053.bundle.js +1 -1
  4. notebook/static/1157.bundle.js +1 -0
  5. notebook/static/1169.bundle.js +1 -0
  6. notebook/static/1198.bundle.js +1 -1
  7. notebook/static/131.bundle.js +7 -0
  8. notebook/static/1326.bundle.js +2 -0
  9. notebook/static/1337.bundle.js +1 -1
  10. notebook/static/134.bundle.js +1 -1
  11. notebook/static/1408.bundle.js +1 -1
  12. notebook/static/1496.bundle.js +1 -0
  13. notebook/static/1584.bundle.js +1 -1
  14. notebook/static/1604.bundle.js +1 -0
  15. notebook/static/1647.bundle.js +1 -1
  16. notebook/static/1650.bundle.js +1 -1
  17. notebook/static/1682.bundle.js +1 -1
  18. notebook/static/1684.bundle.js +1 -1
  19. notebook/static/1696.bundle.js +1 -1
  20. notebook/static/1809.bundle.js +1 -1
  21. notebook/static/1827.bundle.js +1 -1
  22. notebook/static/1833.bundle.js +1 -1
  23. notebook/static/1835.bundle.js +1 -1
  24. notebook/static/1869.bundle.js +1 -0
  25. notebook/static/1895.bundle.js +1 -0
  26. notebook/static/1950.bundle.js +1 -1
  27. notebook/static/1958.bundle.js +1 -1
  28. notebook/static/2007.bundle.js +1 -1
  29. notebook/static/2067.bundle.js +1 -1
  30. notebook/static/2088.bundle.js +1 -1
  31. notebook/static/2089.bundle.js +1 -1
  32. notebook/static/2122.bundle.js +1 -1
  33. notebook/static/2167.bundle.js +1 -1
  34. notebook/static/2184.bundle.js +1 -1
  35. notebook/static/2311.bundle.js +1 -1
  36. notebook/static/2401.bundle.js +1 -1
  37. notebook/static/2479.bundle.js +1 -1
  38. notebook/static/2489.bundle.js +1 -0
  39. notebook/static/2502.bundle.js +1 -0
  40. notebook/static/2512.bundle.js +1 -1
  41. notebook/static/2515.bundle.js +1 -0
  42. notebook/static/2552.bundle.js +1 -1
  43. notebook/static/2577.bundle.js +1 -0
  44. notebook/static/2607.bundle.js +1 -1
  45. notebook/static/2615.bundle.js +1 -0
  46. notebook/static/2866.bundle.js +1 -1
  47. notebook/static/2883.bundle.js +1 -0
  48. notebook/static/2924.bundle.js +1 -1
  49. notebook/static/2944.bundle.js +1 -0
  50. notebook/static/2955.bundle.js +1 -1
  51. notebook/static/3079.bundle.js +1 -1
  52. notebook/static/3129.bundle.js +1 -0
  53. notebook/static/3146.bundle.js +1 -1
  54. notebook/static/3190.bundle.js +2 -0
  55. notebook/static/3190.bundle.js.LICENSE.txt +18 -0
  56. notebook/static/3213.bundle.js +1 -1
  57. notebook/static/3301.bundle.js +1 -1
  58. notebook/static/3340.bundle.js +1 -1
  59. notebook/static/3360.bundle.js +1 -1
  60. notebook/static/3466.bundle.js +1 -1
  61. notebook/static/35.bundle.js +1 -1
  62. notebook/static/3512.bundle.js +1 -0
  63. notebook/static/3642.bundle.js +1 -0
  64. notebook/static/3676.bundle.js +1 -1
  65. notebook/static/3680.bundle.js +1 -1
  66. notebook/static/3768.bundle.js +1 -1
  67. notebook/static/377.bundle.js +1 -1
  68. notebook/static/3797.bundle.js +1 -1
  69. notebook/static/3863.bundle.js +1 -1
  70. notebook/static/3881.bundle.js +1 -1
  71. notebook/static/4042.bundle.js +1 -1
  72. notebook/static/4058.bundle.js +1 -1
  73. notebook/static/4131.bundle.js +1 -1
  74. notebook/static/4166.bundle.js +1 -0
  75. notebook/static/4212.bundle.js +1 -1
  76. notebook/static/4271.bundle.js +1 -1
  77. notebook/static/4291.bundle.js +1 -1
  78. notebook/static/433.bundle.js +1 -0
  79. notebook/static/4382.bundle.js +1 -1
  80. notebook/static/4461.bundle.js +1 -0
  81. notebook/static/4499.bundle.js +1 -0
  82. notebook/static/4501.bundle.js +1 -0
  83. notebook/static/4526.bundle.js +1 -1
  84. notebook/static/4558.bundle.js +1 -1
  85. notebook/static/4630.bundle.js +2 -0
  86. notebook/static/4630.bundle.js.LICENSE.txt +9 -0
  87. notebook/static/4645.bundle.js +1 -1
  88. notebook/static/4811.bundle.js +1 -1
  89. notebook/static/4837.bundle.js +1 -1
  90. notebook/static/4892.bundle.js +1 -0
  91. notebook/static/5088.bundle.js +1 -1
  92. notebook/static/5099.bundle.js +1 -1
  93. notebook/static/5135.bundle.js +1 -1
  94. notebook/static/514.bundle.js +1 -1
  95. notebook/static/5261.bundle.js +1 -1
  96. notebook/static/5313.bundle.js +1 -1
  97. notebook/static/5325.bundle.js +1 -1
  98. notebook/static/5346.bundle.js +1 -1
  99. notebook/static/5376.bundle.js +1 -0
  100. notebook/static/5426.bundle.js +1 -1
  101. notebook/static/5573.bundle.js +1 -1
  102. notebook/static/5601.bundle.js +1 -1
  103. notebook/static/5649.bundle.js +3 -3
  104. notebook/static/5733.bundle.js +1 -1
  105. notebook/static/5828.bundle.js +1 -1
  106. notebook/static/5850.bundle.js +1 -1
  107. notebook/static/5874.bundle.js +744 -0
  108. notebook/static/5874.bundle.js.LICENSE.txt +4 -0
  109. notebook/static/5912.bundle.js +1 -1
  110. notebook/static/5921.bundle.js +1 -1
  111. notebook/static/5982.bundle.js +1 -0
  112. notebook/static/6017.bundle.js +1 -1
  113. notebook/static/6027.bundle.js +1 -1
  114. notebook/static/6061.bundle.js +1 -1
  115. notebook/static/6139.bundle.js +1 -1
  116. notebook/static/62.bundle.js +1 -1
  117. notebook/static/6249.bundle.js +1 -0
  118. notebook/static/6256.bundle.js +1 -1
  119. notebook/static/6262.bundle.js +1 -0
  120. notebook/static/6271.bundle.js +1 -1
  121. notebook/static/6345.bundle.js +1 -1
  122. notebook/static/6405.bundle.js +1 -0
  123. notebook/static/6604.bundle.js +1 -1
  124. notebook/static/6621.bundle.js +1 -1
  125. notebook/static/6627.bundle.js +1 -1
  126. notebook/static/6731.bundle.js +1 -1
  127. notebook/static/6815.bundle.js +1 -1
  128. notebook/static/6853.bundle.js +1 -1
  129. notebook/static/6869.bundle.js +1 -0
  130. notebook/static/6893.bundle.js +1 -1
  131. notebook/static/690.bundle.js +1 -1
  132. notebook/static/6962.bundle.js +1 -1
  133. notebook/static/6999.bundle.js +1 -1
  134. notebook/static/7179.bundle.js +1 -0
  135. notebook/static/7226.bundle.js +1 -1
  136. notebook/static/7252.bundle.js +1 -1
  137. notebook/static/7259.bundle.js +1 -0
  138. notebook/static/7302.bundle.js +1 -1
  139. notebook/static/7333.bundle.js +2 -0
  140. notebook/static/7333.bundle.js.LICENSE.txt +9 -0
  141. notebook/static/7339.bundle.js +1 -0
  142. notebook/static/7369.bundle.js +1 -1
  143. notebook/static/7386.bundle.js +1 -1
  144. notebook/static/7391.bundle.js +1 -1
  145. notebook/static/7394.bundle.js +1 -1
  146. notebook/static/7427.bundle.js +1 -1
  147. notebook/static/7450.bundle.js +1 -1
  148. notebook/static/7582.bundle.js +1 -1
  149. notebook/static/7590.bundle.js +1 -0
  150. notebook/static/7603.bundle.js +1 -1
  151. notebook/static/7639.bundle.js +1 -1
  152. notebook/static/7684.bundle.js +1 -1
  153. notebook/static/7811.bundle.js +2 -0
  154. notebook/static/7819.bundle.js +1 -1
  155. notebook/static/7866.bundle.js +1 -1
  156. notebook/static/7900.bundle.js +1 -1
  157. notebook/static/7906.bundle.js +1 -1
  158. notebook/static/7943.bundle.js +1 -0
  159. notebook/static/7957.bundle.js +1 -1
  160. notebook/static/7997.bundle.js +1 -1
  161. notebook/static/8010.bundle.js +1 -1
  162. notebook/static/8032.bundle.js +1 -1
  163. notebook/static/8055.bundle.js +1 -0
  164. notebook/static/8579.bundle.js +1 -1
  165. notebook/static/8633.bundle.js +1 -1
  166. notebook/static/8771.bundle.js +1 -1
  167. notebook/static/8781.bundle.js +1 -0
  168. notebook/static/882.bundle.js +1 -0
  169. notebook/static/8875.bundle.js +1 -1
  170. notebook/static/8907.bundle.js +1 -1
  171. notebook/static/8928.bundle.js +1 -1
  172. notebook/static/8929.bundle.js +1 -1
  173. notebook/static/893.bundle.js +1 -1
  174. notebook/static/901.bundle.js +1 -1
  175. notebook/static/9068.bundle.js +1 -1
  176. notebook/static/911.bundle.js +1 -1
  177. notebook/static/9151.bundle.js +1 -1
  178. notebook/static/9161.bundle.js +1 -0
  179. notebook/static/9239.bundle.js +1 -1
  180. notebook/static/9250.bundle.js +1 -1
  181. notebook/static/9268.bundle.js +1 -1
  182. notebook/static/9284.bundle.js +1 -0
  183. notebook/static/9308.bundle.js +1 -0
  184. notebook/static/9335.bundle.js +1 -1
  185. notebook/static/9341.bundle.js +1 -1
  186. notebook/static/9380.bundle.js +1 -1
  187. notebook/static/9466.bundle.js +1 -0
  188. notebook/static/9554.bundle.js +1 -0
  189. notebook/static/9605.bundle.js +1 -1
  190. notebook/static/9638.bundle.js +1 -1
  191. notebook/static/9680.bundle.js +1 -1
  192. notebook/static/9685.bundle.js +1 -1
  193. notebook/static/9752.bundle.js +1 -1
  194. notebook/static/9799.bundle.js +1 -1
  195. notebook/static/9821.bundle.js +1 -0
  196. notebook/static/9852.bundle.js +1 -1
  197. notebook/static/9987.bundle.js +1 -0
  198. notebook/static/bundle.js +1 -1
  199. notebook/static/third-party-licenses.json +513 -147
  200. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/package.json.orig +15 -15
  201. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/documentsearch-extension/package.json.orig +5 -5
  202. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/package.json.orig +6 -6
  203. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/package.json.orig +10 -10
  204. notebook-7.1.0a1.data/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/file-actions.json +17 -0
  205. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/package.json.orig +17 -17
  206. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/package.json +12 -12
  207. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/package.json.orig +11 -11
  208. notebook-7.1.0a1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/50.e41798f78fa32030e149.js +1 -0
  209. notebook-7.1.0a1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.9fa8bfe8da6242a4fc6b.js +1 -0
  210. notebook-7.0.6.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.79046a2eb17bde1af38c.js → notebook-7.1.0a1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.faa0d74ec3a151a81a90.js +1 -1
  211. notebook-7.1.0a1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/93.eae3497dd223d842d198.js +1 -0
  212. notebook-7.1.0a1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.02d92bfa6cab99929020.js +1 -0
  213. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/third-party-licenses.json +4 -4
  214. {notebook-7.0.6.dist-info → notebook-7.1.0a1.dist-info}/METADATA +3 -2
  215. notebook-7.1.0a1.dist-info/RECORD +430 -0
  216. notebook/static/1018.bundle.js +0 -1
  217. notebook/static/4234.bundle.js +0 -1
  218. notebook/static/4746.bundle.js +0 -1
  219. notebook/static/5125.bundle.js +0 -2
  220. notebook/static/5125.bundle.js.LICENSE.txt +0 -9
  221. notebook/static/5678.bundle.js +0 -1
  222. notebook/static/6774.bundle.js +0 -1
  223. notebook/static/6919.bundle.js +0 -7
  224. notebook/static/8548.bundle.js +0 -2
  225. notebook/static/880.bundle.js +0 -1
  226. notebook/static/9086.bundle.js +0 -1
  227. notebook/static/9609.bundle.js +0 -1
  228. notebook/static/9854.bundle.js +0 -2
  229. notebook-7.0.6.data/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/file-actions.json +0 -10
  230. notebook-7.0.6.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.1e7b382fb5e84b6e7620.js +0 -1
  231. notebook-7.0.6.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/776.c7baadfaddfd4518c935.js +0 -1
  232. notebook-7.0.6.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/922.0beff4620746e288bd5e.js +0 -1
  233. notebook-7.0.6.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.b2792fe643cae74ea824.js +0 -1
  234. notebook-7.0.6.dist-info/RECORD +0 -389
  235. /notebook/static/{8548.bundle.js.LICENSE.txt → 1326.bundle.js.LICENSE.txt} +0 -0
  236. /notebook/static/{9854.bundle.js.LICENSE.txt → 7811.bundle.js.LICENSE.txt} +0 -0
  237. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/etc/jupyter/jupyter_server_config.d/notebook.json +0 -0
  238. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/applications/jupyter-notebook.desktop +0 -0
  239. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/icons/hicolor/scalable/apps/notebook.svg +0 -0
  240. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/menus.json +0 -0
  241. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/pages.json +0 -0
  242. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json +0 -0
  243. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/title.json +0 -0
  244. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/top.json +0 -0
  245. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/zen.json +0 -0
  246. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/open.json +0 -0
  247. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/checkpoints.json +0 -0
  248. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/kernel-logo.json +0 -0
  249. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json +0 -0
  250. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/widget.json +0 -0
  251. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/interface-switcher.json +0 -0
  252. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/launch-tree.json +0 -0
  253. {notebook-7.0.6.data → notebook-7.1.0a1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/style.js +0 -0
  254. {notebook-7.0.6.dist-info → notebook-7.1.0a1.dist-info}/WHEEL +0 -0
  255. {notebook-7.0.6.dist-info → notebook-7.1.0a1.dist-info}/entry_points.txt +0 -0
  256. {notebook-7.0.6.dist-info → notebook-7.1.0a1.dist-info}/licenses/LICENSE +0 -0
@@ -1 +0,0 @@
1
- (self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[880],{67417:()=>{},60880:(e,n,o)=>{"use strict";o.r(n);var t=o(85421);async function a(e,n){try{return(await window._JUPYTERLAB[e].get(n))()}catch(o){throw console.warn(`Failed to create module: package: ${e}; module: ${n}`),o}}o(7559),o(67417),window.addEventListener("load",(async function(){const e=[o(62471),o(57627),o(54418),o(17405)],n=await Promise.all(e);let r=[o(88201),o(62148),o(57406),o(69751),o(41949),o(37837),o(36274),o(70090).default.filter((({id:e})=>["@jupyterlab/application-extension:commands","@jupyterlab/application-extension:context-menu","@jupyterlab/application-extension:faviconbusy","@jupyterlab/application-extension:router","@jupyterlab/application-extension:top-bar","@jupyterlab/application-extension:top-spacer"].includes(e))),o(85364).default.filter((({id:e})=>["@jupyterlab/apputils-extension:palette","@jupyterlab/apputils-extension:notification","@jupyterlab/apputils-extension:sanitizer","@jupyterlab/apputils-extension:sessionDialogs","@jupyterlab/apputils-extension:settings","@jupyterlab/apputils-extension:state","@jupyterlab/apputils-extension:themes","@jupyterlab/apputils-extension:themes-palette-menu","@jupyterlab/apputils-extension:toolbar-registry","@jupyterlab/apputils-extension:utilityCommands"].includes(e))),o(65276),o(75615).default.filter((({id:e})=>["@jupyterlab/completer-extension:base-service","@jupyterlab/completer-extension:manager"].includes(e))),o(24763).default.filter((({id:e})=>["@jupyterlab/console-extension:completer","@jupyterlab/console-extension:factory","@jupyterlab/console-extension:foreign","@jupyterlab/console-extension:tracker"].includes(e))),o(23050),o(89142).default.filter((({id:e})=>["@jupyterlab/docmanager-extension:plugin","@jupyterlab/docmanager-extension:download","@jupyterlab/docmanager-extension:contexts","@jupyterlab/docmanager-extension:manager"].includes(e))),o(80354).default.filter((({id:e})=>["@jupyterlab/documentsearch-extension:plugin"].includes(e))),o(60245).default.filter((({id:e})=>["@jupyterlab/filebrowser-extension:factory","@jupyterlab/filebrowser-extension:default-file-browser"].includes(e))),o(87919).default.filter((({id:e})=>["@jupyterlab/fileeditor-extension:plugin"].includes(e))),o(41709),o(44783),o(40510),o(11945),o(11444),o(3735),o(1696).default.filter((({id:e})=>["@jupyterlab/notebook-extension:code-console","@jupyterlab/notebook-extension:export","@jupyterlab/notebook-extension:factory","@jupyterlab/notebook-extension:tracker","@jupyterlab/notebook-extension:widget-factory"].includes(e))),o(77333),o(33042),o(9446),o(7980),o(28410),o(97050),o(36423)];switch(`/${t.PageConfig.getOption("notebookPage")}`){case"/tree":r=r.concat([o(75037),o(60245).default.filter((({id:e})=>["@jupyterlab/filebrowser-extension:browser","@jupyterlab/filebrowser-extension:download","@jupyterlab/filebrowser-extension:file-upload-status","@jupyterlab/filebrowser-extension:open-with","@jupyterlab/filebrowser-extension:search","@jupyterlab/filebrowser-extension:share-file"].includes(e))),o(36428),o(1570),o(73734)]);break;case"/notebooks":r=r.concat([o(50089),o(8457),o(98916).default.filter((({id:e})=>["@jupyterlab/debugger-extension:config","@jupyterlab/debugger-extension:main","@jupyterlab/debugger-extension:notebooks","@jupyterlab/debugger-extension:service","@jupyterlab/debugger-extension:sidebar","@jupyterlab/debugger-extension:sources"].includes(e))),o(40862),o(1696).default.filter((({id:e})=>["@jupyterlab/notebook-extension:active-cell-tool","@jupyterlab/notebook-extension:completer","@jupyterlab/notebook-extension:metadata-editor","@jupyterlab/notebook-extension:search","@jupyterlab/notebook-extension:toc","@jupyterlab/notebook-extension:tools","@jupyterlab/notebook-extension:update-raw-mimetype"].includes(e))),o(11097).default.filter((({id:e})=>["@jupyterlab/toc-extension:registry","@jupyterlab/toc-extension:tracker"].includes(e))),o(95386).default.filter((({id:e})=>["@jupyterlab/tooltip-extension:manager","@jupyterlab/tooltip-extension:notebooks"].includes(e)))]);break;case"/consoles":r=r.concat([o(95386).default.filter((({id:e})=>["@jupyterlab/tooltip-extension:manager","@jupyterlab/tooltip-extension:consoles"].includes(e)))]);break;case"/edit":r=r.concat([o(87919).default.filter((({id:e})=>["@jupyterlab/fileeditor-extension:completer","@jupyterlab/fileeditor-extension:search"].includes(e))),o(10567)])}const i=[];function*l(e){let n;n=Object.prototype.hasOwnProperty.call(e,"__esModule")?e.default:e;let o=Array.isArray(n)?n:[n];for(let e of o)t.PageConfig.Extension.isDisabled(e.id)?i.push(e.id):yield e}const p=JSON.parse(t.PageConfig.getOption("federated_extensions")),s=[],d=[],u=[],b=[];(await Promise.allSettled(p.map((async e=>(await async function(e,n){await function(e){return new Promise(((n,o)=>{const t=document.createElement("script");t.onerror=o,t.onload=n,t.async=!0,document.head.appendChild(t),t.src=e}))}(e),await o.I("default");const t=window._JUPYTERLAB[n];await t.init(o.S.default)}(`${t.URLExt.join(t.PageConfig.getOption("fullLabextensionsUrl"),e.name,e.load)}`,e.name),e))))).forEach((e=>{if("rejected"===e.status)return void console.error(e.reason);const n=e.value;n.extension&&d.push(a(n.name,n.extension)),n.mimeExtension&&u.push(a(n.name,n.mimeExtension)),n.style&&!t.PageConfig.Extension.isDisabled(n.name)&&b.push(a(n.name,n.style))})),(await Promise.all(r)).forEach((e=>{for(let n of l(e))s.push(n)})),(await Promise.allSettled(d)).forEach((e=>{if("fulfilled"===e.status)for(let n of l(e.value))s.push(n);else console.error(e.reason)})),(await Promise.allSettled(u)).forEach((e=>{if("fulfilled"===e.status)for(let o of l(e.value))n.push(o);else console.error(e.reason)})),(await Promise.allSettled(b)).filter((({status:e})=>"rejected"===e)).forEach((({reason:e})=>{console.error(e)})),t.PageConfig.setOption("allPlugins",'{"/":{"@jupyter-notebook/application-extension":true,"@jupyter-notebook/console-extension":true,"@jupyter-notebook/docmanager-extension":true,"@jupyter-notebook/documentsearch-extension":true,"@jupyter-notebook/help-extension":true,"@jupyter-notebook/notebook-extension":true,"@jupyter-notebook/terminal-extension":true,"@jupyterlab/application-extension":["@jupyterlab/application-extension:commands","@jupyterlab/application-extension:context-menu","@jupyterlab/application-extension:faviconbusy","@jupyterlab/application-extension:router","@jupyterlab/application-extension:top-bar","@jupyterlab/application-extension:top-spacer"],"@jupyterlab/apputils-extension":["@jupyterlab/apputils-extension:palette","@jupyterlab/apputils-extension:notification","@jupyterlab/apputils-extension:sanitizer","@jupyterlab/apputils-extension:sessionDialogs","@jupyterlab/apputils-extension:settings","@jupyterlab/apputils-extension:state","@jupyterlab/apputils-extension:themes","@jupyterlab/apputils-extension:themes-palette-menu","@jupyterlab/apputils-extension:toolbar-registry","@jupyterlab/apputils-extension:utilityCommands"],"@jupyterlab/codemirror-extension":true,"@jupyterlab/completer-extension":["@jupyterlab/completer-extension:base-service","@jupyterlab/completer-extension:manager"],"@jupyterlab/console-extension":["@jupyterlab/console-extension:completer","@jupyterlab/console-extension:factory","@jupyterlab/console-extension:foreign","@jupyterlab/console-extension:tracker"],"@jupyterlab/csvviewer-extension":true,"@jupyterlab/docmanager-extension":["@jupyterlab/docmanager-extension:plugin","@jupyterlab/docmanager-extension:download","@jupyterlab/docmanager-extension:contexts","@jupyterlab/docmanager-extension:manager"],"@jupyterlab/documentsearch-extension":["@jupyterlab/documentsearch-extension:plugin"],"@jupyterlab/filebrowser-extension":["@jupyterlab/filebrowser-extension:factory","@jupyterlab/filebrowser-extension:default-file-browser"],"@jupyterlab/fileeditor-extension":["@jupyterlab/fileeditor-extension:plugin"],"@jupyterlab/htmlviewer-extension":true,"@jupyterlab/imageviewer-extension":true,"@jupyterlab/lsp-extension":true,"@jupyterlab/mainmenu-extension":true,"@jupyterlab/markedparser-extension":true,"@jupyterlab/mathjax-extension":true,"@jupyterlab/notebook-extension":["@jupyterlab/notebook-extension:code-console","@jupyterlab/notebook-extension:export","@jupyterlab/notebook-extension:factory","@jupyterlab/notebook-extension:tracker","@jupyterlab/notebook-extension:widget-factory"],"@jupyterlab/shortcuts-extension":true,"@jupyterlab/terminal-extension":true,"@jupyterlab/theme-light-extension":true,"@jupyterlab/theme-dark-extension":true,"@jupyterlab/translation-extension":true,"@jupyterlab/ui-components-extension":true,"@jupyterlab/hub-extension":true},"/tree":{"@jupyterlab/extensionmanager-extension":true,"@jupyterlab/filebrowser-extension":["@jupyterlab/filebrowser-extension:browser","@jupyterlab/filebrowser-extension:download","@jupyterlab/filebrowser-extension:file-upload-status","@jupyterlab/filebrowser-extension:open-with","@jupyterlab/filebrowser-extension:search","@jupyterlab/filebrowser-extension:share-file"],"@jupyter-notebook/tree-extension":true,"@jupyterlab/running-extension":true,"@jupyterlab/settingeditor-extension":true},"/notebooks":{"@jupyterlab/celltags-extension":true,"@jupyterlab/cell-toolbar-extension":true,"@jupyterlab/debugger-extension":["@jupyterlab/debugger-extension:config","@jupyterlab/debugger-extension:main","@jupyterlab/debugger-extension:notebooks","@jupyterlab/debugger-extension:service","@jupyterlab/debugger-extension:sidebar","@jupyterlab/debugger-extension:sources"],"@jupyterlab/metadataform-extension":true,"@jupyterlab/notebook-extension":["@jupyterlab/notebook-extension:active-cell-tool","@jupyterlab/notebook-extension:completer","@jupyterlab/notebook-extension:metadata-editor","@jupyterlab/notebook-extension:search","@jupyterlab/notebook-extension:toc","@jupyterlab/notebook-extension:tools","@jupyterlab/notebook-extension:update-raw-mimetype"],"@jupyterlab/toc-extension":["@jupyterlab/toc-extension:registry","@jupyterlab/toc-extension:tracker"],"@jupyterlab/tooltip-extension":["@jupyterlab/tooltip-extension:manager","@jupyterlab/tooltip-extension:notebooks"]},"/consoles":{"@jupyterlab/tooltip-extension":["@jupyterlab/tooltip-extension:manager","@jupyterlab/tooltip-extension:consoles"]},"/edit":{"@jupyterlab/fileeditor-extension":["@jupyterlab/fileeditor-extension:completer","@jupyterlab/fileeditor-extension:search"],"@jupyterlab/markdownviewer-extension":true}}');const c=new(0,o(16882).NotebookApp)({mimeExtensions:n});c.registerPluginModules(s),"true"===(t.PageConfig.getOption("exposeAppInBrowser")||"").toLowerCase()&&(window.jupyterapp=c),await c.start()}))},7559:(e,n,o)=>{"use strict";o.r(n),o(92076),o(70022),o(74907),o(12619),o(88186),o(73685),o(92245),o(1257),o(60597),o(38583),o(68903),o(86560),o(92291),o(90185),o(43642),o(65062),o(98180),o(18915),o(71380),o(16393),o(54460),o(18934),o(24017),o(72867),o(44715),o(52607),o(91532),o(20603),o(67828),o(38391),o(9755),o(45288),o(53555),o(9149),o(74782),o(93027),o(91232),o(3727),o(3902),o(78864),o(91367),o(26053),o(84221),o(77522),o(47275),o(1285),o(63897),o(85480),o(94410),o(49245),o(37609),o(49733),o(38438)},12563:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>r});var t=o(93476),a=o.n(t)()((function(e){return e[1]}));a.push([e.id,"/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n|\n| Distributed under the terms of the Modified BSD License.\n|----------------------------------------------------------------------------*/\n\n.jp-NotebookSpacer {\n flex-grow: 1;\n flex-shrink: 1;\n}\n\n.jp-MainAreaWidget {\n height: 100%;\n}\n\n.jp-Toolbar > .jp-Toolbar-item {\n height: unset;\n}\n\n#jp-UserMenu {\n flex: 0 0 auto;\n display: flex;\n text-align: center;\n margin-top: 8px;\n}\n\n.jp-MimeDocument .jp-RenderedJSON {\n background: var(--jp-layout-color0);\n}\n\n/* Hide the stub toolbar that appears above terminals and documents */\n\n.jp-MainAreaWidget > .jp-Toolbar-micro {\n display: none;\n}\n\n#jp-NotebookLogo {\n /* bring logo to the front so it is selectable by tab*/\n z-index: 10;\n}\n",""]);const r=a},21025:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>r});var t=o(93476),a=o.n(t)()((function(e){return e[1]}));a.push([e.id,"/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Distributed under the terms of the Modified BSD License.\n|----------------------------------------------------------------------------*/\n\n:root {\n --jp-private-topbar-height: 28px;\n /* Override the layout-2 color for the dark theme */\n --md-grey-800: #323232;\n --jp-notebook-max-width: 1200px;\n}\n\nbody {\n margin: 0;\n padding: 0;\n background: var(--jp-layout-color2);\n}\n\n#main {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n\n#top-panel-wrapper {\n min-height: calc(1.5 * var(--jp-private-topbar-height));\n border-bottom: var(--jp-border-width) solid var(--jp-border-color0);\n background: var(--jp-layout-color1);\n}\n\n#top-panel {\n display: flex;\n min-height: calc(1.5 * var(--jp-private-topbar-height));\n padding-left: 5px;\n padding-right: 5px;\n margin-left: auto;\n margin-right: auto;\n max-width: 1200px;\n}\n\n#menu-panel-wrapper {\n min-height: var(--jp-private-topbar-height);\n background: var(--jp-layout-color1);\n border-bottom: var(--jp-border-width) solid var(--jp-border-color0);\n box-shadow: var(--jp-elevation-z1);\n}\n\n#menu-panel {\n display: flex;\n min-height: var(--jp-private-topbar-height);\n background: var(--jp-layout-color1);\n padding-left: 5px;\n padding-right: 5px;\n margin-left: auto;\n margin-right: auto;\n max-width: var(--jp-notebook-max-width);\n}\n\n#main-panel {\n margin-left: auto;\n margin-right: auto;\n max-width: var(--jp-notebook-max-width);\n}\n\n#spacer-widget-top {\n min-height: 16px;\n}\n\n/* Only edit pages should have a bottom space */\n\nbody[data-notebook='edit'] #spacer-widget-bottom {\n min-height: 16px;\n}\n\n/* Special case notebooks as document oriented pages */\n\n[data-notebook]:not(body[data-notebook='notebooks']) #main-panel {\n box-shadow: var(--jp-elevation-z4);\n}\n\n.jp-TreePanel > .lm-TabPanel-stackedPanel {\n box-shadow: var(--jp-elevation-z4);\n}\n\nbody[data-notebook='notebooks'] #main-panel {\n margin-left: unset;\n margin-right: unset;\n max-width: unset;\n}\n\nbody[data-notebook='notebooks'] #spacer-widget-top {\n min-height: unset;\n}\n\n#main-panel > .jp-TreePanel {\n padding: 0px 5px;\n}\n\n@media only screen and (max-width: 760px) {\n #main-panel > .jp-TreePanel {\n margin: 0px -5px;\n }\n}\n",""]);const r=a},53769:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>r});var t=o(93476),a=o.n(t)()((function(e){return e[1]}));a.push([e.id,"/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Distributed under the terms of the Modified BSD License.\n|\n| Adapted from JupyterLab's packages/application/style/sidepanel.css.\n|----------------------------------------------------------------------------*/\n\n/*-----------------------------------------------------------------------------\n| Variables\n|----------------------------------------------------------------------------*/\n\n:root {\n --jp-private-sidebar-tab-width: 32px;\n}\n\n/*-----------------------------------------------------------------------------\n| SideBar\n|----------------------------------------------------------------------------*/\n\n/* Stack panels */\n\n#jp-right-stack,\n#jp-left-stack {\n display: flex;\n flex-direction: column;\n min-width: var(--jp-sidebar-min-width);\n}\n\n#jp-left-stack .jp-SidePanel-collapse,\n#jp-right-stack .jp-SidePanel-collapse {\n display: flex;\n flex: 0 0 auto;\n min-height: 0;\n padding: 0;\n}\n\n#jp-left-stack .jp-SidePanel-collapse {\n justify-content: right;\n}\n\n#jp-right-stack .jp-SidePanel-collapse {\n justify-content: left;\n}\n\n#jp-left-stack .lm-StackedPanel,\n#jp-right-stack .lm-StackedPanel {\n flex: 1 1 auto;\n}\n",""]);const r=a},33241:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>r});var t=o(93476),a=o.n(t)()((function(e){return e[1]}));a.push([e.id,"",""]);const r=a},35896:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>r});var t=o(93476),a=o.n(t)()((function(e){return e[1]}));a.push([e.id,".jp-Document {\n height: 100%;\n}\n",""]);const r=a},36780:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>r});var t=o(93476),a=o.n(t)()((function(e){return e[1]}));a.push([e.id,"",""]);const r=a},88190:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>r});var t=o(93476),a=o.n(t)()((function(e){return e[1]}));a.push([e.id,".jp-AboutNotebook .jp-Dialog-header {\n justify-content: center;\n padding: 0;\n}\n\n.jp-AboutNotebook-header {\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: var(--jp-flat-button-padding);\n}\n\n.jp-AboutNotebook-header-text {\n margin-left: 16px;\n}\n\n.jp-AboutNotebook-version {\n color: var(--jp-ui-font-color1);\n font-size: var(--jp-ui-font-size1);\n padding-bottom: 30px;\n font-weight: 400;\n letter-spacing: 0.4px;\n line-height: 1.12;\n min-width: 360px;\n text-align: center;\n}\n\n.jp-AboutNotebook-body {\n display: flex;\n font-size: var(--jp-ui-font-size2);\n padding: var(--jp-flat-button-padding);\n color: var(--jp-ui-font-color1);\n text-align: center;\n flex-direction: column;\n min-width: 360px;\n overflow: hidden;\n}\n\n.jp-AboutNotebook-about-body pre {\n white-space: pre-wrap;\n}\n\n.jp-AboutNotebook-about-externalLinks {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n color: var(--jp-warn-color0);\n}\n\n.jp-AboutNotebook-about-copyright {\n padding-top: 25px;\n}\n",""]);const r=a},3817:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>l});var t=o(93476),a=o.n(t),r=o(48941),i=a()((function(e){return e[1]}));i.i(r.Z),i.push([e.id,"/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n|\n| Distributed under the terms of the Modified BSD License.\n|----------------------------------------------------------------------------*/\n\n/**\n Document oriented look for the notebook.\n This includes changes to the look and feel of the JupyterLab Notebook\n component like:\n - scrollbar to the right of the page\n - drop shadow on the notebook\n - smaller empty space at the bottom of the notebook\n - compact view on mobile\n*/\n\n/* Keep the notebook centered on the page */\n\nbody[data-notebook='notebooks'] .jp-NotebookPanel-toolbar {\n padding-left: calc(calc(100% - var(--jp-notebook-max-width)) * 0.5);\n padding-right: calc(calc(100% - var(--jp-notebook-max-width)) * 0.5);\n}\n\nbody[data-notebook='notebooks'] .jp-Notebook {\n padding-top: unset;\n padding-left: calc(calc(100% - var(--jp-notebook-max-width)) * 0.5);\n padding-right: calc(\n calc(\n 100% - var(--jp-notebook-max-width) - var(--jp-notebook-padding-offset)\n ) * 0.5\n );\n background: var(--jp-layout-color2);\n}\n\nbody[data-notebook='notebooks'] .jp-WindowedPanel-inner {\n margin-top: var(--jp-notebook-toolbar-margin-bottom);\n}\n\nbody[data-notebook='notebooks'] .jp-Notebook-cell {\n background: var(--jp-layout-color0);\n padding-left: calc(2 * var(--jp-cell-padding));\n padding-right: calc(2 * var(--jp-cell-padding));\n}\n\n/* Empty space at the bottom of the notebook (similar to classic) */\nbody[data-notebook='notebooks'] .jp-Notebook.jp-mod-scrollPastEnd::after {\n min-height: 100px;\n}\n\n/* Fix background colors */\n\nbody[data-notebook='notebooks'] .jp-Notebook > * {\n background: var(--jp-layout-color0);\n}\n\nbody[data-notebook='notebooks']\n .jp-Notebook.jp-mod-commandMode\n .jp-Cell.jp-mod-active.jp-mod-selected:not(.jp-mod-multiSelected) {\n background: var(--jp-layout-color0) !important;\n}\n\n/**\n Extra padding to the first and and last cell of the notebook.\n TODO: revisit when https://github.com/jupyterlab/jupyterlab/issues/13151 is fixed\n*/\n.jp-Notebook-cell[data-windowed-list-index='0'] {\n padding-top: calc(2 * var(--jp-notebook-padding));\n}\n\nbody[data-notebook='notebooks'] .jp-WindowedPanel-window > *:last-child {\n padding-bottom: calc(2 * var(--jp-notebook-padding));\n}\n\nbody[data-notebook='notebooks']\n .jp-Notebook\n .jp-Notebook-cell:not(:first-child)::before {\n content: ' ';\n height: 100%;\n position: absolute;\n top: 0;\n width: 11px;\n}\n\n/* Cell toolbar adjustments */\n\nbody[data-notebook='notebooks'] .jp-cell-toolbar {\n background: unset;\n box-shadow: unset;\n}\n\nbody[data-notebook='notebooks']\n .jp-RawCell[data-windowed-list-index='0']\n .jp-cell-toolbar,\nbody[data-notebook='notebooks']\n .jp-MarkdownCell[data-windowed-list-index='0']\n .jp-cell-toolbar {\n top: calc(2 * var(--jp-notebook-padding));\n}\n\n/** first code cell on mobile\n (keep the selector above the media query)\n*/\nbody[data-notebook='notebooks']\n .jp-CodeCell[data-windowed-list-index='0']\n .jp-cell-toolbar {\n top: unset;\n}\n\n@media only screen and (max-width: 760px) {\n /* first code cell on mobile */\n body[data-notebook='notebooks']\n .jp-CodeCell[data-windowed-list-index='0']\n .jp-cell-toolbar {\n top: var(--jp-notebook-padding);\n }\n\n body[data-notebook='notebooks'] .jp-MarkdownCell .jp-cell-toolbar,\n body[data-notebook='notebooks'] .jp-RawCell .jp-cell-toolbar {\n top: calc(0.5 * var(--jp-notebook-padding));\n }\n}\n\n/* Tweak the notebook footer (to add a new cell) */\nbody[data-notebook='notebooks'] .jp-Notebook-footer {\n width: 100%;\n margin-left: unset;\n background: unset;\n}\n\n/* Mobile View */\n\nbody[data-format='mobile'] .jp-NotebookCheckpoint {\n display: none;\n}\n\nbody[data-format='mobile'] .jp-Notebook > *:first-child {\n margin-top: 0;\n}\n\nbody[data-format='mobile'] .jp-ToolbarButton .jp-DebuggerBugButton {\n display: none;\n}\n\n/* Virtual Notebook fixes */\n\nbody[data-notebook='notebooks'] .jp-WindowedPanel-window {\n background: var(--jp-layout-color0);\n}\n\n/* Notebook box shadow */\n\nbody[data-notebook='notebooks'] .jp-Notebook > *:first-child:not(:last-child) {\n box-shadow: var(--jp-elevation-z4);\n}\n\nbody[data-notebook='notebooks']\n .jp-Notebook\n > *:first-child:last-child::before {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n box-shadow: 0px 0px 12px 1px var(--jp-shadow-umbra-color);\n}\n\nbody[data-notebook='notebooks']\n .jp-Notebook\n .jp-Notebook-cell:not(:first-child)::after,\nbody[data-notebook='notebooks']\n .jp-Notebook\n .jp-Notebook-cell:not(:first-child)::before {\n content: ' ';\n height: 100%;\n position: absolute;\n top: 0;\n width: 11px;\n}\n\n/* Additional customizations of the components on the notebook page */\n\n.jp-NotebookKernelLogo {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n text-align: center;\n margin-right: 8px;\n}\n\n.jp-NotebookKernelLogo img {\n max-width: 28px;\n max-height: 28px;\n display: flex;\n}\n\n.jp-NotebookKernelStatus {\n margin: 0;\n font-weight: normal;\n font-size: var(--jp-ui-font-size1);\n color: var(--jp-ui-font-color0);\n font-family: var(--jp-ui-font-family);\n line-height: var(--jp-private-title-panel-height);\n padding-left: var(--jp-kernel-status-padding);\n padding-right: var(--jp-kernel-status-padding);\n}\n\n.jp-NotebookKernelStatus-error {\n background-color: var(--jp-error-color0);\n}\n\n.jp-NotebookKernelStatus-warn {\n background-color: var(--jp-warn-color0);\n}\n\n.jp-NotebookKernelStatus-info {\n background-color: var(--jp-info-color0);\n}\n\n.jp-NotebookKernelStatus-fade {\n animation: 0.5s fade-out forwards;\n}\n\n.jp-NotebookTrustedStatus {\n background: var(--jp-layout-color1);\n color: var(--jp-ui-font-color1);\n margin-top: 4px;\n margin-bottom: 4px;\n border: solid 1px var(--jp-border-color2);\n cursor: help;\n}\n\n.jp-NotebookTrustedStatus-not-trusted {\n cursor: pointer;\n}\n\n@keyframes fade-out {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n}\n\n#jp-title h1 {\n cursor: pointer;\n font-size: 18px;\n margin: 0;\n font-weight: normal;\n color: var(--jp-ui-font-color0);\n font-family: var(--jp-ui-font-family);\n line-height: calc(1.5 * var(--jp-private-title-panel-height));\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}\n\n#jp-title h1:hover {\n background: var(--jp-layout-color2);\n}\n\n.jp-NotebookCheckpoint {\n font-size: 14px;\n margin-left: 5px;\n margin-right: 5px;\n font-weight: normal;\n color: var(--jp-ui-font-color0);\n font-family: var(--jp-ui-font-family);\n line-height: calc(1.5 * var(--jp-private-title-panel-height));\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}\n\n.jp-skiplink {\n position: absolute;\n top: -100em;\n}\n\n.jp-skiplink:focus-within {\n position: absolute;\n z-index: 10000;\n top: 0;\n left: 46%;\n margin: 0 auto;\n padding: 1em;\n width: 15%;\n box-shadow: var(--jp-elevation-z4);\n border-radius: 4px;\n background: var(--jp-layout-color0);\n text-align: center;\n}\n\n.jp-skiplink:focus-within a {\n text-decoration: underline;\n color: var(--jp-content-link-color);\n}\n",""]);const l=i},48941:(e,n,o)=>{"use strict";o.d(n,{Z:()=>r});var t=o(93476),a=o.n(t)()((function(e){return e[1]}));a.push([e.id,":root {\n --jp-notebook-toolbar-margin-bottom: 20px;\n --jp-notebook-padding-offset: 20px;\n\n --jp-kernel-status-padding: 5px;\n}\n",""]);const r=a},12966:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>r});var t=o(93476),a=o.n(t)()((function(e){return e[1]}));a.push([e.id,"",""]);const r=a},71308:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>r});var t=o(93476),a=o.n(t)()((function(e){return e[1]}));a.push([e.id,"/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n|\n| Distributed under the terms of the Modified BSD License.\n|----------------------------------------------------------------------------*/\n\n.jp-FileBrowser-toolbar .jp-Toolbar-item.jp-DropdownMenu,\n.jp-FileBrowser-toolbar .jp-Toolbar-item.jp-ToolbarButton,\n.jp-FileBrowser-toolbar .jp-Toolbar-item.jp-CommandToolbarButton {\n border: solid 1px var(--jp-border-color2);\n margin: 1px;\n padding: 0px;\n}\n\n.jp-FileBrowser-toolbar button.jp-ToolbarButtonComponent {\n height: var(--jp-flat-button-height);\n}\n\n.jp-FileBrowser-filterBox {\n padding: 0;\n flex: 0 0 auto;\n}\n\n.jp-FileBrowser-filterBox input {\n line-height: 24px;\n}\n\n.jp-DirListing-content .jp-DirListing-checkboxWrapper {\n visibility: visible;\n}\n\n/* Action buttons */\n\n.jp-FileBrowser-toolbar > .jp-FileActions.jp-Toolbar-item {\n display: flex;\n flex-direction: row;\n}\n\n.jp-FileActions .jp-ToolbarButtonComponent-icon {\n display: none;\n}\n\n.jp-FileActions .jp-ToolbarButtonComponent[data-command='filebrowser:delete'] {\n background-color: var(--jp-error-color1);\n}\n\n.jp-FileActions\n .jp-ToolbarButtonComponent[data-command='filebrowser:delete']\n .jp-ToolbarButtonComponent-label {\n color: var(--jp-ui-inverse-font-color1);\n}\n\n.jp-FileBrowser-toolbar .jp-FileActions .jp-ToolbarButtonComponent {\n border: solid 1px var(--jp-border-color2);\n margin: 1px;\n min-height: 100%;\n}\n",""]);const r=a},42057:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>r});var t=o(93476),a=o.n(t)()((function(e){return e[1]}));a.push([e.id,".jp-FileBrowser {\n height: 100%;\n}\n\n.lm-TabPanel {\n height: 100%;\n}\n\n.jp-TreePanel .lm-TabPanel-tabBar {\n overflow: visible;\n min-height: 32px;\n border-bottom: unset;\n height: var(--jp-private-toolbar-height);\n}\n\n.jp-TreePanel .lm-TabBar-content {\n height: 100%;\n}\n\n.jp-TreePanel .lm-TabBar-tab {\n flex: 0 1 auto;\n color: var(--jp-ui-font-color0);\n font-size: var(--jp-ui-font-size1);\n height: 100%;\n}\n\n.jp-TreePanel .lm-TabBar-tabLabel {\n padding-left: 5px;\n padding-right: 5px;\n}\n\n.jp-FileBrowser-toolbar.jp-Toolbar .jp-ToolbarButtonComponent {\n width: unset;\n}\n\n.jp-FileBrowser-toolbar > .jp-Toolbar-item {\n flex-direction: column;\n justify-content: center;\n}\n\n.jp-DropdownMenu .lm-MenuBar-itemIcon svg {\n vertical-align: sub;\n}\n\nbutton[data-command='filebrowser:refresh'] .jp-ToolbarButtonComponent-label {\n display: none;\n}\n\n.jp-TreePanel .lm-TabBar-tabIcon svg {\n vertical-align: sub;\n}\n",""]);const r=a},73058:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>r});var t=o(93476),a=o.n(t)()((function(e){return e[1]}));a.push([e.id,"",""]);const r=a},92245:(e,n,o)=>{var t=o(12563);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.id,t,""]]);o(1892)(t,{insert:"head",singleton:!1}),t.locals&&(e.exports=t.locals)},12619:(e,n,o)=>{var t=o(21025);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.id,t,""]]);o(1892)(t,{insert:"head",singleton:!1}),t.locals&&(e.exports=t.locals)},88186:(e,n,o)=>{var t=o(53769);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.id,t,""]]);o(1892)(t,{insert:"head",singleton:!1}),t.locals&&(e.exports=t.locals)},1257:(e,n,o)=>{var t=o(33241);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.id,t,""]]);o(1892)(t,{insert:"head",singleton:!1}),t.locals&&(e.exports=t.locals)},60597:(e,n,o)=>{var t=o(35896);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.id,t,""]]);o(1892)(t,{insert:"head",singleton:!1}),t.locals&&(e.exports=t.locals)},38583:(e,n,o)=>{var t=o(36780);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.id,t,""]]);o(1892)(t,{insert:"head",singleton:!1}),t.locals&&(e.exports=t.locals)},68903:(e,n,o)=>{var t=o(88190);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.id,t,""]]);o(1892)(t,{insert:"head",singleton:!1}),t.locals&&(e.exports=t.locals)},86560:(e,n,o)=>{var t=o(3817);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.id,t,""]]);o(1892)(t,{insert:"head",singleton:!1}),t.locals&&(e.exports=t.locals)},92291:(e,n,o)=>{var t=o(12966);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.id,t,""]]);o(1892)(t,{insert:"head",singleton:!1}),t.locals&&(e.exports=t.locals)},65062:(e,n,o)=>{var t=o(71308);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.id,t,""]]);o(1892)(t,{insert:"head",singleton:!1}),t.locals&&(e.exports=t.locals)},43642:(e,n,o)=>{var t=o(42057);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.id,t,""]]);o(1892)(t,{insert:"head",singleton:!1}),t.locals&&(e.exports=t.locals)},98180:(e,n,o)=>{var t=o(73058);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.id,t,""]]);o(1892)(t,{insert:"head",singleton:!1}),t.locals&&(e.exports=t.locals)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[9086],{89086:(e,t,i)=>{i.r(t),i.d(t,{CONTEXT_PROVIDER_ID:()=>M,Completer:()=>b,CompleterModel:()=>_,CompletionHandler:()=>c,CompletionProviderManager:()=>q,CompletionTriggerKind:()=>s,ContextCompleterProvider:()=>k,ICompletionProviderManager:()=>l,KERNEL_PROVIDER_ID:()=>D,KernelCompleterProvider:()=>H,ProviderReconciliator:()=>T});var s,n=i(85421),o=i(49503),r=i(81997),a=i(20998);!function(e){e[e.Invoked=1]="Invoked",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions"}(s||(s={}));const l=new a.Token("@jupyterlab/completer:ICompletionProviderManager","A service for the completion providers management."),d="jp-mod-completer-enabled",h="jp-mod-completer-active";class c{constructor(e){this._editor=null,this._enabled=!1,this._isDisposed=!1,this._autoCompletion=!1,this.completer=e.completer,this.completer.selected.connect(this.onCompletionSelected,this),this.completer.visibilityChanged.connect(this.onVisibilityChanged,this),this._reconciliator=e.reconciliator}set reconciliator(e){this._reconciliator=e}get editor(){return this._editor}set editor(e){if(e===this._editor)return;let t=this._editor;if(t&&!t.isDisposed){const e=t.model;t.host.classList.remove(d),t.host.classList.remove(h),e.selections.changed.disconnect(this.onSelectionsChanged,this),e.sharedModel.changed.disconnect(this.onTextChanged,this)}if(this.completer.reset(),this.completer.editor=e,t=this._editor=e,t){const e=t.model;this._enabled=!1,e.selections.changed.connect(this.onSelectionsChanged,this),e.sharedModel.changed.connect(this.onTextChanged,this),this.onSelectionsChanged()}}get isDisposed(){return this._isDisposed}set autoCompletion(e){this._autoCompletion=e}get autoCompletion(){return this._autoCompletion}dispose(){this.isDisposed||(this._isDisposed=!0,r.Signal.clearData(this))}invoke(){o.MessageLoop.sendMessage(this,c.Msg.InvokeRequest)}processMessage(e){e.type===c.Msg.InvokeRequest.type&&this.onInvokeRequest(e)}getState(e,t){return{text:e.model.sharedModel.getSource(),line:t.line,column:t.column}}onCompletionSelected(e,t){const i=e.model,s=this._editor;if(!s||!i)return;const n=i.createPatch(t);if(!n)return;const{start:o,end:r,value:a}=n,l=s.getOffsetAt(s.getCursorPosition());s.model.sharedModel.updateSource(o,r,a),l<=r&&l>=o&&s.setCursorPosition(s.getPositionAt(o+a.length))}onInvokeRequest(e){if(!this.completer.model)return;if(this.completer.model.original)return;const t=this._editor;t&&this._makeRequest(t.getCursorPosition(),s.Invoked).catch((e=>{console.warn("Invoke request bailed",e)}))}onSelectionsChanged(){const e=this.completer.model,t=this._editor;if(!t)return;const i=t.host;if(!e)return this._enabled=!1,void i.classList.remove(d);if(e.subsetMatch)return;const s=t.getCursorPosition(),n=t.getLine(s.line);if(!n)return this._enabled=!1,e.reset(!0),void i.classList.remove(d);const{start:o,end:r}=t.getSelection();return o.column!==r.column||o.line!==r.line||n.slice(0,s.column).match(/^\s*$/)?(this._enabled=!1,e.reset(!0),void i.classList.remove(d)):(this._enabled||(this._enabled=!0,i.classList.add(d)),void e.handleCursorChange(this.getState(t,t.getCursorPosition())))}async onTextChanged(e,t){const i=this.completer.model;if(!i||!this._enabled)return;const n=this.editor;if(!n)return;this._autoCompletion&&this._reconciliator.shouldShowContinuousHint&&await this._reconciliator.shouldShowContinuousHint(this.completer.isVisible,t)&&this._makeRequest(n.getCursorPosition(),s.TriggerCharacter);const{start:o,end:r}=n.getSelection();o.column===r.column&&o.line===r.line&&i.handleTextChange(this.getState(n,n.getCursorPosition()))}onVisibilityChanged(e){e.isDisposed||e.isHidden?this._editor&&(this._editor.host.classList.remove(h),this._editor.focus()):this._editor&&this._editor.host.classList.add(h)}_makeRequest(e,t){const i=this.editor;if(!i)return Promise.reject(new Error("No active editor"));const s=i.model.sharedModel.getSource(),o=n.Text.jsIndexToCharIndex(i.getOffsetAt(e),s),r=this.getState(i,e),a={text:s,offset:o};return this._reconciliator.fetch(a,t).then((e=>{if(!e)return;const t=this._updateModel(r,e.start,e.end);t&&t.setCompletionItems&&t.setCompletionItems(e.items)})).catch((e=>{}))}_updateModel(e,t,i){const s=this.completer.model,o=e.text;return s?(s.original=e,s.cursor={start:n.Text.charIndexToJsIndex(t,o),end:n.Text.charIndexToJsIndex(i,o)},s):null}}!function(e){let t;!function(e){e.InvokeRequest=new o.Message("invoke-request")}(t=e.Msg||(e.Msg={}))}(c||(c={}));var u,m=i(33625);function p(e){const t=document.createElement("span");return t.textContent=e,t.innerHTML}class _{constructor(){this.processedItemsCache=null,this._current=null,this._cursor=null,this._isDisposed=!1,this._completionItems=[],this._original=null,this._query="",this._subsetMatch=!1,this._typeMap={},this._orderedTypes=[],this._stateChanged=new r.Signal(this),this._queryChanged=new r.Signal(this),this._processedToOriginalItem=null,this._resolvingItem=0}get stateChanged(){return this._stateChanged}get queryChanged(){return this._queryChanged}get original(){return this._original}set original(e){this._original===e||this._original&&e&&a.JSONExt.deepEqual(e,this._original)||(this._reset(),this._current=this._original=e,this._stateChanged.emit(void 0))}get current(){return this._current}set current(e){if(this._current===e||this._current&&e&&a.JSONExt.deepEqual(e,this._current))return;const t=this._original;if(!t)return;const i=this._cursor;if(!i)return;const s=this._current=e;if(!s)return void this._stateChanged.emit(void 0);const n=t.text.split("\n")[t.line],o=s.text.split("\n")[s.line];if(!this._subsetMatch&&o.length<n.length)return void this.reset(!0);const{start:r,end:l}=i;let d=s.text.substring(r);const h=t.text.substring(l);d=d.substring(0,d.lastIndexOf(h)),this._query=d,this.processedItemsCache=null,this._processedToOriginalItem=null,this._queryChanged.emit({newValue:this._query,origin:"editorUpdate"}),this._stateChanged.emit(void 0)}get cursor(){return this._cursor}set cursor(e){this.original&&(this._cursor=e)}get query(){return this._query}set query(e){this._query=e,this.processedItemsCache=null,this._processedToOriginalItem=null,this._queryChanged.emit({newValue:this._query,origin:"setter"})}get subsetMatch(){return this._subsetMatch}set subsetMatch(e){this._subsetMatch=e}get isDisposed(){return this._isDisposed}dispose(){this._isDisposed||(this._isDisposed=!0,r.Signal.clearData(this))}completionItems(){if(!this.processedItemsCache){let e=this._query;if(e){const t=this._markup(e);this.processedItemsCache=t.map((e=>e.processedItem)),this._processedToOriginalItem=new WeakMap(t.map((e=>[e.processedItem,e.originalItem])))}else this.processedItemsCache=this._completionItems.map((e=>this._escapeItemLabel(e))),this._processedToOriginalItem=null}return this.processedItemsCache}setCompletionItems(e){a.JSONExt.deepEqual(e,this._completionItems)||(this._completionItems=e,this._orderedTypes=u.findOrderedCompletionItemTypes(this._completionItems),this.processedItemsCache=null,this._processedToOriginalItem=null,this._stateChanged.emit(void 0))}typeMap(){return this._typeMap}orderedTypes(){return this._orderedTypes}handleCursorChange(e){if(!this._original)return;const{column:t,line:i}=e,{current:s,original:n}=this;if(!n)return;if(i!==n.line)return void this.reset(!0);if(t<n.column)return void this.reset(!0);const{cursor:o}=this;if(!o||!s)return;const r=o.end-o.start,a=n.text.split("\n")[n.line],l=s.text.split("\n")[s.line].length-a.length;t>n.column+r+l&&this.reset(!0)}handleTextChange(e){const t=this._original;if(!t)return;const{text:i,column:s,line:n}=e,o=i.split("\n")[n][s-1];o&&o.match(/\S/)||e.column>=t.column?this.current=e:this.reset(!1)}createPatch(e){const t=this._original,i=this._cursor,s=this._current;if(!t||!i||!s)return;let{start:n,end:o}=i;return o+=s.text.length-t.text.length,{start:n,end:o,value:e}}reset(e=!1){!e&&this._subsetMatch||(this._reset(),this._stateChanged.emit(void 0))}_markup(e){var t;const i=this._completionItems;let s=[];for(const n of i){const i=n.label.indexOf("("),o=i>-1?n.label.substring(0,i):n.label,r=m.StringExt.matchSumOfSquares(p(o),e);if(r){let e=m.StringExt.highlight(p(n.label),r.indices,u.mark);const i=Object.assign({},n);i.label=e.join(""),i.insertText=null!==(t=n.insertText)&&void 0!==t?t:n.label,s.push({item:i,score:r.score,originalItem:n})}}return s.sort(u.scoreCmp),s.map((e=>({processedItem:e.item,originalItem:e.originalItem})))}resolveItem(e){let t,i;if("number"==typeof e){const i=this.completionItems();if(!i||!i[e])return;t=i[e]}else t=e;if(t)return i=this._processedToOriginalItem?this._processedToOriginalItem.get(t):t,i?this._resolveItemByValue(i):void 0}_resolveItemByValue(e){const t=++this._resolvingItem;let i;if(e.resolve){let t;e.insertText&&(t=this.createPatch(e.insertText)),i=e.resolve(t)}else i=Promise.resolve(e);return i.then((i=>(this._escapeItemLabel(i,!0),Object.keys(i).forEach((t=>{e[t]=i[t]})),e.resolve=void 0,t!==this._resolvingItem?Promise.resolve(null):i))).catch((t=>(console.error(t),Promise.resolve(e))))}_escapeItemLabel(e,t=!1){var i;const s=p(e.label);if(s!==e.label){const n=t?e:Object.assign({},e);return n.insertText=null!==(i=e.insertText)&&void 0!==i?i:e.label,n.label=s,n}return e}_reset(){const e=this._query;this._current=null,this._cursor=null,this._completionItems=[],this._original=null,this._query="",this.processedItemsCache=null,this._processedToOriginalItem=null,this._subsetMatch=!1,this._typeMap={},this._orderedTypes=[],e&&this._queryChanged.emit({newValue:this._query,origin:"reset"})}}!function(e){const t=["function","instance","class","module","keyword"],i=t.reduce(((e,t)=>(e[t]=null,e)),{});e.mark=function(e){return`<mark>${e}</mark>`},e.scoreCmp=function(e,t){var i,s,n;const o=e.score-t.score;return 0!==o?o:null!==(n=null===(i=e.item.insertText)||void 0===i?void 0:i.localeCompare(null!==(s=t.item.insertText)&&void 0!==s?s:""))&&void 0!==n?n:0},e.findOrderedCompletionItemTypes=function(e){const i=new Set;e.forEach((e=>{!e.type||t.includes(e.type)||i.has(e.type)||i.add(e.type)}));const s=Array.from(i);return s.sort(((e,t)=>e.localeCompare(t))),t.concat(s)},e.findOrderedTypes=function(e){const s=Object.keys(e).map((t=>e[t])).filter((e=>!!e&&!(e in i))).sort(((e,t)=>e.localeCompare(t)));return t.concat(s)}}(u||(u={}));var g=i(56165),v=i(42628),C=i(59361),f=i(18395),y=i(9267);const x="jp-Completer-item",I="jp-mod-active",w="jp-Completer-list",P=!0;class b extends y.Widget{constructor(e){var t,i,s,n;super({node:document.createElement("div")}),this._activeIndex=0,this._editor=null,this._model=null,this._selected=new r.Signal(this),this._visibilityChanged=new r.Signal(this),this._indexChanged=new r.Signal(this),this._lastSubsetMatch="",this._geometryLock=!1,this._geometryCounter=0,this._docPanelExpanded=!1,this._renderCounter=0,this.sanitizer=null!==(t=e.sanitizer)&&void 0!==t?t:new g.Sanitizer,this._defaultRenderer=b.getDefaultRenderer(this.sanitizer),this._renderer=null!==(i=e.renderer)&&void 0!==i?i:this._defaultRenderer,this._docPanel=this._createDocPanelNode(),this.model=null!==(s=e.model)&&void 0!==s?s:null,this.editor=null!==(n=e.editor)&&void 0!==n?n:null,this.addClass("jp-Completer"),this._updateConstraints()}_updateConstraints(){const e=document.createElement("div");e.classList.add(w),e.style.visibility="hidden",e.style.overflowY="scroll",document.body.appendChild(e);const t=window.getComputedStyle(e);this._maxHeight=parseInt(t.maxHeight,10),this._minHeight=parseInt(t.minHeight,10),this._scrollbarWidth=e.offsetWidth-e.clientWidth,document.body.removeChild(e);const i=this._createDocPanelNode();this._docPanelWidth=S.measureSize(i,"inline-block").width}get activeIndex(){return this._activeIndex}get editor(){return this._editor}set editor(e){this._editor=e}get selected(){return this._selected}get visibilityChanged(){return this._visibilityChanged}get indexChanged(){return this._indexChanged}get model(){return this._model}set model(e){(e||this._model)&&e!==this._model&&(this._model&&(this._model.stateChanged.disconnect(this.onModelStateChanged,this),this._model.queryChanged.disconnect(this.onModelQueryChanged,this)),this._model=e,this._model&&(this._model.stateChanged.connect(this.onModelStateChanged,this),this._model.queryChanged.connect(this.onModelQueryChanged,this)))}get renderer(){return this._renderer}set renderer(e){this._renderer=e}set showDocsPanel(e){this._showDoc=e}get showDocsPanel(){return this._showDoc}dispose(){this._sizeCache=void 0,this._model=null,super.dispose()}handleEvent(e){if(!this.isHidden&&this._editor)switch(e.type){case"keydown":this._evtKeydown(e);break;case"pointerdown":this._evtPointerdown(e);break;case"scroll":this._evtScroll(e)}}reset(){this._activeIndex=0,this._lastSubsetMatch="",this._model&&this._model.reset(!0),this._docPanel.style.display="none",this._sizeCache=void 0,this.node.scrollTop=0}selectActive(){const e=this.node.querySelector(`.${I}`);e?(this._selected.emit(e.getAttribute("data-value")),this.reset()):this.reset()}onAfterAttach(e){document.addEventListener("keydown",this,P),document.addEventListener("pointerdown",this,P),document.addEventListener("scroll",this,P)}onBeforeDetach(e){document.removeEventListener("keydown",this,P),document.removeEventListener("pointerdown",this,P),document.removeEventListener("scroll",this,P)}onModelStateChanged(){this.isAttached&&(this._activeIndex=0,this._indexChanged.emit(this._activeIndex),this.update())}onModelQueryChanged(e,t){if(this._sizeCache&&"editorUpdate"===t.origin){const t=e.completionItems(),i=this._sizeCache.items,s=i[this._findWidestItemIndex(i)],n=t[this._findWidestItemIndex(t)],o=this._getPreferredItemWidthHeuristic();t.length===this._sizeCache.items.length&&o(s)===o(n)||(this._sizeCache=void 0)}}onUpdateRequest(e){var t;const i=this._model;if(!i)return;i.query||this._populateSubset();let s=i.completionItems();if(!s.length)return void(this.isHidden||(this.reset(),this.hide(),this._visibilityChanged.emit(void 0)));this._updateConstraints(),this._geometryLock=!0;const n=this._createCompleterNode(i,s);let o=n.querySelectorAll(`.${x}`)[this._activeIndex];o.classList.add(I);const r=null===(t=this.model)||void 0===t?void 0:t.resolveItem(s[this._activeIndex]);this._showDoc&&(this._docPanel.innerText="",n.appendChild(this._docPanel),this._docPanelExpanded=!1,this._docPanel.style.display="none",this._updateDocPanel(r,o)),this.isHidden?(this.show(),this._setGeometry(),this._visibilityChanged.emit(void 0)):this._setGeometry(),this._geometryLock=!1}get sizeCache(){if(this._sizeCache)return{width:this._sizeCache.width+this._sizeCache.docPanelWidth,height:Math.max(this._sizeCache.height,this._sizeCache.docPanelHeight)}}_createDocPanelNode(){const e=document.createElement("div");return e.className="jp-Completer-docpanel",e}_createCompleterNode(e,t){const i=++this._renderCounter;let s=this.node;s.textContent="";let n=e.orderedTypes(),o=document.createElement("ul");o.className=w;const r=this._renderer.createCompletionItemNode(t[0],n),a=[r],l=S.measureSize(r,"inline-grid"),d=Math.max(Math.ceil(this._maxHeight/l.height),5),h=Math.min(d+1,t.length),c=performance.now();for(let e=1;e<h;e++){const i=this._renderer.createCompletionItemNode(t[e],n);a.push(i)}for(const e of a)o.appendChild(e);const u=this._findWidestItemIndex(t),m=u<a.length?a[u]:this._renderer.createCompletionItemNode(t[u],n),p=S.measureSize(m.cloneNode(!0),"inline-grid");if(this._sizeCache={height:Math.min(this._maxHeight,l.height*t.length),width:p.width+this._scrollbarWidth,items:t,docPanelWidth:0,docPanelHeight:0},h<t.length){const e=(performance.now()-c)/h,s=Math.max(5,Math.floor(12/e));let r=h,d=a[a.length-1];const u=()=>{if(r>=t.length)return;const e=l.height*(t.length-r);d.style.marginBottom=`${e}px`,requestAnimationFrame((()=>{if(i!=this._renderCounter)return;d.style.marginBottom="";const e=Math.min(t.length,r+s);for(let i=r;i<e;i++){const e=this._renderer.createCompletionItemNode(t[i],n);o.appendChild(e),d=e}r=e,u()}))};u()}return s.appendChild(o),s}_findWidestItemIndex(e){const t=this._getPreferredItemWidthHeuristic(),i=e.map(t);return i.indexOf(Math.max(...i))}_getPreferredItemWidthHeuristic(){return this._renderer.itemWidthHeuristic?this._renderer.itemWidthHeuristic.bind(this._renderer):this._defaultRenderer.itemWidthHeuristic.bind(this._defaultRenderer)}_cycle(e){var t,i;const s=this.node.querySelectorAll(`.${x}`),n=this._activeIndex,o=s.length-1;let r=this.node.querySelector(`.${I}`);switch(r.classList.remove(I),e){case"up":this._activeIndex=0===n?o:n-1;break;case"down":this._activeIndex=n<o?n+1:0;break;case"pageUp":case"pageDown":{const t=this.node.getBoundingClientRect(),i=r.getBoundingClientRect(),s=Math.floor(t.height/i.height),a="pageUp"===e?-1:1;this._activeIndex=Math.min(Math.max(0,n+a*s),o);break}}r=s[this._activeIndex],r.classList.add(I);let a=this.node.querySelector(`.${w}`);f.ElementExt.scrollIntoViewIfNeeded(a,r),this._indexChanged.emit(this._activeIndex);const l=null===(t=this.model)||void 0===t?void 0:t.completionItems(),d=null==l?void 0:l[this._activeIndex];if(d){const e=null===(i=this.model)||void 0===i?void 0:i.resolveItem(d);this._showDoc&&this._updateDocPanel(e,r)}}_evtKeydown(e){if(!this.isHidden&&this._editor)if(this._editor.host.contains(e.target))switch(e.keyCode){case 9:{e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation();const t=this._model;if(!t)return;const i=t.completionItems();if(i&&1===i.length)return this._selected.emit(i[0].insertText||i[0].label),void this.reset();const s=this._populateSubset();return t.query&&t.query!==this._lastSubsetMatch&&(t.subsetMatch=!0,this._selected.emit(t.query),t.subsetMatch=!1,this._lastSubsetMatch=t.query),s&&this.update(),void this._cycle(e.shiftKey?"up":"down")}case 27:return e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation(),void this.reset();case 33:case 34:case 38:case 40:{e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation();const t=S.keyCodeMap[e.keyCode];return void this._cycle(t)}default:return}else this.reset()}_evtPointerdown(e){if(this.isHidden||!this._editor)return;if(S.nonstandardClick(e))return void this.reset();let t=e.target;for(;t!==document.documentElement;){if(t.classList.contains(x))return e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation(),this._selected.emit(t.getAttribute("data-value")),void this.reset();if(t===this.node)return e.preventDefault(),e.stopPropagation(),void e.stopImmediatePropagation();t=t.parentElement}this.reset()}_evtScroll(e){if(this.isHidden||!this._editor)return;const{node:t}=this;t.contains(e.target)||requestAnimationFrame((()=>{this._setGeometry()}))}_populateSubset(){const{model:e}=this;if(!e)return!1;const t=e.completionItems(),i=S.commonSubset(t.map((e=>e.insertText||e.label))),{query:s}=e;return!(!i||i===s||0!==i.indexOf(s)||(e.query=i,0))}_setGeometry(){const{node:e}=this,t=this._model,i=this._editor;if(!(i&&t&&t.original&&t.cursor))return;const s=t.cursor.start,n=i.getPositionAt(s),o=i.getCoordinateForPosition(n),r=window.getComputedStyle(e),a=parseInt(r.borderLeftWidth,10)||0,l=parseInt(r.paddingLeft,10)||0,d=i.host.closest(".jp-MainAreaWidget > .lm-Widget")||i.host,h=t.completionItems();this._sizeCache&&this._sizeCache.items.length!==h.length&&(this._sizeCache=void 0),C.HoverBox.setGeometry({anchor:o,host:d,maxHeight:this._maxHeight,minHeight:this._minHeight,node:e,size:this.sizeCache,offset:{horizontal:a+l},privilege:"below",style:r,outOfViewDisplay:{top:"stick-inside",bottom:"stick-inside",left:"stick-inside",right:"stick-outside"}});const c=++this._geometryCounter;this._sizeCache||requestAnimationFrame((()=>{if(c!=this._geometryCounter)return;let t=e.getBoundingClientRect(),i=this._docPanel.getBoundingClientRect();this._sizeCache={width:t.width-i.width,height:t.height,items:h,docPanelWidth:i.width,docPanelHeight:i.height}}))}_updateDocPanel(e,t){var i,s,n;let o=this._docPanel;if(!e)return void this._toggleDocPanel(!1);const r=null!==(n=null===(s=(i=this._renderer).createLoadingDocsIndicator)||void 0===s?void 0:s.call(i))&&void 0!==n?n:this._defaultRenderer.createLoadingDocsIndicator();t.appendChild(r),e.then((e=>{var t,i,s;if(e&&o)if(e.documentation){const n=null!==(s=null===(i=(t=this._renderer).createDocumentationNode)||void 0===i?void 0:i.call(t,e))&&void 0!==s?s:this._defaultRenderer.createDocumentationNode(e);o.textContent="",o.appendChild(n),this._toggleDocPanel(!0)}else this._toggleDocPanel(!1)})).catch((e=>console.error(e))).finally((()=>{t.removeChild(r)}))}_toggleDocPanel(e){let t=this._docPanel;if(e){if(this._docPanelExpanded)return;t.style.display="",this._docPanelExpanded=!0}else{if(!this._docPanelExpanded)return;t.style.display="none",this._docPanelExpanded=!1}const i=this._sizeCache;i&&(i.docPanelHeight=e?this._maxHeight:0,i.docPanelWidth=e?this._docPanelWidth:0,this._geometryLock||this._setGeometry())}}var S;!function(e){class t{constructor(e){this.sanitizer=(null==e?void 0:e.sanitizer)||new g.Sanitizer}createCompletionItemNode(e,t){let i=this._createWrapperNode(e.insertText||e.label);return e.deprecated&&i.classList.add("jp-Completer-deprecated"),this._constructNode(i,this._createLabelNode(e.label),!!e.type,e.type,t,e.icon)}createDocumentationNode(e){const t=document.createElement("div");t.classList.add("jp-RenderedText");const i=this.sanitizer,s=e.documentation||"";return(0,v.renderText)({host:t,sanitizer:i,source:s}).catch(console.error),t}itemWidthHeuristic(e){var t;return e.label.replace(/<(\/)?mark>/g,"").length+((null===(t=e.type)||void 0===t?void 0:t.length)||0)}createLoadingDocsIndicator(){const e=document.createElement("div");e.classList.add("jp-Completer-loading-bar-container");const t=document.createElement("div");return t.classList.add("jp-Completer-loading-bar"),e.append(t),e}_createWrapperNode(e){const t=document.createElement("li");return t.className=x,t.setAttribute("data-value",e),t}_createLabelNode(e){const t=document.createElement("code");return t.className="jp-Completer-match",t.innerHTML=e,t}_constructNode(e,t,i,s,n,o){if(o){const t=o.element({className:"jp-Completer-type jp-Completer-icon"});e.appendChild(t)}else if(i){const t=document.createElement("span");t.textContent=(s[0]||"").toLowerCase();const i=n.indexOf(s)%10+1;t.className="jp-Completer-type jp-Completer-monogram",t.setAttribute("data-color-index",i.toString()),e.appendChild(t)}else{const t=document.createElement("span");t.className="jp-Completer-monogram",e.appendChild(t)}if(e.appendChild(t),i){e.title=s;const t=document.createElement("code");t.className="jp-Completer-typeExtended",t.textContent=s.toLocaleLowerCase(),e.appendChild(t)}else{const t=document.createElement("span");t.className="jp-Completer-typeExtended",e.appendChild(t)}return e}}let i;e.Renderer=t,e.getDefaultRenderer=function(e){return(!i||e&&i.sanitizer!==e)&&(i=new t({sanitizer:e})),i}}(b||(b={})),function(e){e.keyCodeMap={38:"up",40:"down",33:"pageUp",34:"pageDown"},e.commonSubset=function(e){const t=e.length;let i="";if(t<2)return i;const s=e[0].length;for(let n=0;n<s;n++){const s=e[0][n];for(let o=1;o<t;o++)if(e[o][n]!==s)return i;i+=s}return i},e.nonstandardClick=function(e){return 0!==e.button||e.altKey||e.ctrlKey||e.shiftKey||e.metaKey},e.measureSize=function(e,t){e.isConnected&&console.warn("Measuring connected elements with `measureSize` has side-effects"),e.style.visibility="hidden",e.style.display=t,document.body.appendChild(e);const i=e.getBoundingClientRect();return document.body.removeChild(e),e.removeAttribute("style"),i}}(S||(S={}));class T{constructor(e){this._resolveFactory=(e,t)=>e.resolve?i=>e.resolve(t,this._context,i):void 0,this._fetching=0,this._providers=e.providers,this._context=e.context,this._timeout=e.timeout}async applicableProviders(){const e=this._providers.map((e=>e.isApplicable(this._context))),t=await Promise.all(e);return this._providers.filter(((e,i)=>t[i]))}async fetch(e,t){const i=++this._fetching;let s=[];const n=await this.applicableProviders();for(const o of n){let n;n=o.fetch(e,this._context,t).then((e=>{if(i!==this._fetching)return Promise.reject(void 0);const t=e.items.map((e=>({...e,resolve:this._resolveFactory(o,e)})));return{...e,items:t}}));const r=new Promise((e=>setTimeout((()=>e(null)),this._timeout)));n=Promise.race([n,r]),s.push(n.catch((e=>e)))}const o=Promise.all(s);return this._mergeCompletions(o)}async shouldShowContinuousHint(e,t){const i=await this.applicableProviders();return 0!==i.length&&(i[0].shouldShowContinuousHint?i[0].shouldShowContinuousHint(e,t,this._context):this._defaultShouldShowContinuousHint(e,t))}_alignPrefixes(e,t,i){if(t!=i){const t=this._context.editor;if(!t)return e;const s=t.getCursorPosition(),n=t.getLine(s.line);return n?e.map((e=>{if(e.start==i)return e;let t=n.substring(e.start,i);return{...e,items:e.items.map((e=>{let i=e.insertText||e.label;return e.insertText=i.startsWith(t)?i.slice(t.length):i,e}))}})):e}return e}async _mergeCompletions(e){let t=(await e).filter((e=>!(!e||e instanceof Error||!e.items.length)));if(0==t.length)return null;if(1==t.length)return t[0];const i=Math.min(...t.map((e=>e.end))),s=t.map((e=>e.start)),n=Math.min(...s),o=Math.max(...s);t=this._alignPrefixes(t,n,o);const r=new Set,a=new Array;for(const e of t)e.items.forEach((e=>{let t=(e.insertText||e.label).trim();r.has(t)||(r.add(t),a.push(e))}));return{start:o,end:i,items:a}}_defaultShouldShowContinuousHint(e,t){return!e&&(null==t.sourceChange||t.sourceChange.some((e=>null!=e.insert&&e.insert.length>0)))}}const M="CompletionProvider:context";class k{constructor(){this.identifier=M,this.rank=500,this.renderer=null}async isApplicable(e){return!0}fetch(e,t){const i=t.editor;return i?new Promise((e=>{e(E.contextHint(i))})):Promise.reject("No editor")}}var E;!function(e){e.contextHint=function(e){const t=e.getTokenAtCursor(),i=function(e,t){return t.getTokens().filter((t=>0===t.value.indexOf(e.value)&&t.value!==e.value))}(t,e).filter((e=>e.type)).map((e=>e.value)),s=new Set(i),n=new Array;return s.forEach((e=>n.push({label:e}))),{start:t.offset,end:t.offset+t.value.length,items:n}}}(E||(E={}));const D="CompletionProvider:kernel";class H{constructor(){this.identifier=D,this.rank=550,this.renderer=null}async isApplicable(e){var t;return!!(null===(t=e.session)||void 0===t?void 0:t.kernel)}async fetch(e,t){var i;const s=null===(i=t.session)||void 0===i?void 0:i.kernel;if(!s)throw new Error("No kernel for completion request.");const n={code:e.text,cursor_pos:e.offset},o=(await s.requestComplete(n)).content;if("ok"!==o.status)throw new Error("Completion fetch failed to return successfully.");const r=new Array,a=o.metadata._jupyter_types_experimental;return o.matches.forEach(((e,t)=>{a&&a[t]?r.push({label:e,type:a[t].type,insertText:a[t].text}):r.push({label:e})})),{start:o.cursor_start,end:o.cursor_end,items:r}}async resolve(e,t,i){const{editor:s,session:o}=t;if(o&&s){let t=s.model.sharedModel.getSource();const r=s.getCursorPosition();let a=n.Text.jsIndexToCharIndex(s.getOffsetAt(r),t);const l=o.kernel;if(!t||!l)return Promise.resolve(e);if(i){const{start:e,value:s}=i;t=t.substring(0,e)+s,a+=s.length}const d={code:t,cursor_pos:a,detail_level:0},h=(await l.requestInspect(d)).content;return"ok"===h.status&&h.found?(e.documentation=h.data["text/plain"],e):e}return e}shouldShowContinuousHint(e,t){const i=t.sourceChange;return null==i||!i.some((e=>null!=e.delete))&&i.some((t=>null!=t.insert&&("."===t.insert||!e&&t.insert.trim().length>0)))}}class q{constructor(){this._activeProviders=new Set([D,M]),this._providers=new Map,this._panelHandlers=new Map,this._mostRecentContext=new Map,this._activeProvidersChanged=new r.Signal(this)}get activeProvidersChanged(){return this._activeProvidersChanged}setTimeout(e){this._timeout=e}setShowDocumentationPanel(e){this._panelHandlers.forEach((t=>t.completer.showDocsPanel=e)),this._showDoc=e}setContinuousHinting(e){this._panelHandlers.forEach((t=>t.autoCompletion=e)),this._autoCompletion=e}registerProvider(e){const t=e.identifier;this._providers.has(t)?console.warn(`Completion service with identifier ${t} is already registered`):(this._providers.set(t,e),this._panelHandlers.forEach(((e,t)=>{this.updateCompleter(this._mostRecentContext.get(t))})))}getProviders(){return this._providers}activateProvider(e){this._activeProviders=new Set([]),e.forEach((e=>{this._providers.has(e)&&this._activeProviders.add(e)})),0===this._activeProviders.size&&(this._activeProviders.add(D),this._activeProviders.add(M)),this._activeProvidersChanged.emit()}async updateCompleter(e){var t,i;const{widget:s,editor:n,sanitizer:o}=e,r=s.id,a=this._panelHandlers.get(r),l=[...this._activeProviders][0],d=this._providers.get(l);let h=null!==(t=null==d?void 0:d.renderer)&&void 0!==t?t:b.getDefaultRenderer(o);const c=null==d?void 0:d.modelFactory;let u;u=c?await c.call(d,e):new _,this._mostRecentContext.set(s.id,e);const m={model:u,renderer:h,sanitizer:o,showDoc:this._showDoc};if(a){const t=a.completer;null===(i=t.model)||void 0===i||i.dispose(),t.model=m.model,t.renderer=m.renderer,t.showDocsPanel=m.showDoc,a.autoCompletion=this._autoCompletion,n&&(a.editor=n,a.reconciliator=await this.generateReconciliator(e))}else{const t=await this._generateHandler(e,m);this._panelHandlers.set(s.id,t),s.disposed.connect((e=>{this.disposeHandler(e.id,t),this._mostRecentContext.delete(r)}))}}invoke(e){const t=this._panelHandlers.get(e);t&&t.invoke()}select(e){const t=this._panelHandlers.get(e);t&&t.completer.selectActive()}async generateReconciliator(e){const t=[];for(const e of this._activeProviders){const i=this._providers.get(e);i&&t.push(i)}return new T({context:e,providers:t,timeout:this._timeout})}disposeHandler(e,t){var i;null===(i=t.completer.model)||void 0===i||i.dispose(),t.completer.dispose(),t.dispose(),this._panelHandlers.delete(e)}async _generateHandler(e,t){const i=new b(t);i.hide(),y.Widget.attach(i,document.body);const s=await this.generateReconciliator(e),n=new c({completer:i,reconciliator:s});return n.editor=e.editor,n}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[9609],{49609:(e,t,i)=>{i.r(t),i.d(t,{ABCWidgetFactory:()=>f,Base64ModelFactory:()=>u,Context:()=>_,DocumentModel:()=>g,DocumentRegistry:()=>O,DocumentWidget:()=>F,MimeContent:()=>x,MimeDocument:()=>T,MimeDocumentFactory:()=>C,TextModelFactory:()=>p});var s,a=i(56165),n=i(85421),r=i(42628),o=i(49255),l=i(20998),h=i(2549),d=i(81997),c=i(9267);class _{constructor(e){var t,i;this._isReady=!1,this._isDisposed=!1,this._isPopulated=!1,this._path="",this._lineEnding=null,this._contentsModel=null,this._populatedPromise=new l.PromiseDelegate,this._pathChanged=new d.Signal(this),this._fileChanged=new d.Signal(this),this._saveState=new d.Signal(this),this._disposed=new d.Signal(this),this._lastModifiedCheckMargin=500,this._timeConflictModalIsOpen=!1;const h=this._manager=e.manager;this.translator=e.translator||o.nullTranslator,this._trans=this.translator.load("jupyterlab"),this._factory=e.factory,this._dialogs=null!==(t=e.sessionDialogs)&&void 0!==t?t:new a.SessionContextDialogs({translator:e.translator}),this._opener=e.opener||s.noOp,this._path=this._manager.contents.normalize(e.path),this._lastModifiedCheckMargin=e.lastModifiedCheckMargin||500;const c=this._manager.contents.localPath(this._path),_=this._factory.preferredLanguage(n.PathExt.basename(c)),m=this._manager.contents.getSharedModelFactory(this._path),g=null==m?void 0:m.createNew({path:c,format:this._factory.fileFormat,contentType:this._factory.contentType,collaborative:this._factory.collaborative});this._model=this._factory.createNew({languagePreference:_,sharedModel:g,collaborationEnabled:null!==(i=null==m?void 0:m.collaborative)&&void 0!==i&&i}),this._readyPromise=h.ready.then((()=>this._populatedPromise.promise));const p=n.PathExt.extname(this._path);this.sessionContext=new a.SessionContext({sessionManager:h.sessions,specsManager:h.kernelspecs,path:c,type:".ipynb"===p?"notebook":"file",name:n.PathExt.basename(c),kernelPreference:e.kernelPreference||{shouldStart:!1},setBusy:e.setBusy}),this.sessionContext.propertyChanged.connect(this._onSessionChanged,this),h.contents.fileChanged.connect(this._onFileChanged,this),this.urlResolver=new r.RenderMimeRegistry.UrlResolver({path:this._path,contents:h.contents})}get pathChanged(){return this._pathChanged}get fileChanged(){return this._fileChanged}get saveState(){return this._saveState}get disposed(){return this._disposed}get lastModifiedCheckMargin(){return this._lastModifiedCheckMargin}set lastModifiedCheckMargin(e){this._lastModifiedCheckMargin=e}get model(){return this._model}get path(){return this._path}get localPath(){return this._manager.contents.localPath(this._path)}get contentsModel(){return this._contentsModel?{...this._contentsModel}:null}get factoryName(){return this.isDisposed?"":this._factory.name}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,this.sessionContext.dispose(),this._model.dispose(),this._model.sharedModel.dispose(),this._disposed.emit(void 0),d.Signal.clearData(this))}get isReady(){return this._isReady}get ready(){return this._readyPromise}get canSave(){var e;return!(!(null===(e=this._contentsModel)||void 0===e?void 0:e.writable)||this._model.collaborative)}async initialize(e){e?await this._save():await this._revert(),this.model.sharedModel.clearUndoHistory()}rename(e){return this.ready.then((()=>this._manager.ready.then((()=>this._rename(e)))))}async save(){await this.ready,await this._save()}async saveAs(){await this.ready;const e=this._manager.contents.localPath(this.path),t=await s.getSavePath(e);if(this.isDisposed||!t)return;const i=this._manager.contents.driveName(this.path),a=""==i?t:`${i}:${t}`;if(a===this._path)return this.save();try{await this._manager.ready,await this._manager.contents.get(a),await this._maybeOverWrite(a)}catch(e){if(!e.response||404!==e.response.status)throw e;await this._finishSaveAs(a)}}async download(){const e=await this._manager.contents.getDownloadUrl(this._path),t=document.createElement("a");t.href=e,t.download="",document.body.appendChild(t),t.click(),document.body.removeChild(t)}async revert(){await this.ready,await this._revert()}createCheckpoint(){const e=this._manager.contents;return this._manager.ready.then((()=>e.createCheckpoint(this._path)))}deleteCheckpoint(e){const t=this._manager.contents;return this._manager.ready.then((()=>t.deleteCheckpoint(this._path,e)))}restoreCheckpoint(e){const t=this._manager.contents,i=this._path;return this._manager.ready.then((()=>e?t.restoreCheckpoint(i,e):this.listCheckpoints().then((s=>{if(!this.isDisposed&&s.length)return e=s[s.length-1].id,t.restoreCheckpoint(i,e)}))))}listCheckpoints(){const e=this._manager.contents;return this._manager.ready.then((()=>e.listCheckpoints(this._path)))}addSibling(e,t={}){const i=this._opener;return i&&i(e,t),new h.DisposableDelegate((()=>{e.close()}))}_onFileChanged(e,t){var i;if("rename"!==t.type)return;let s=t.oldValue&&t.oldValue.path,a=t.newValue&&t.newValue.path;if(a&&0===this._path.indexOf(s||"")){let e=t.newValue;s!==this._path&&(a=this._path.replace(new RegExp(`^${s}/`),`${a}/`),s=this._path,e={last_modified:null===(i=t.newValue)||void 0===i?void 0:i.created,path:a}),this._updateContentsModel({...this._contentsModel,...e}),this._updatePath(a)}}_onSessionChanged(e,t){if("path"!==t)return;const i=this._manager.contents.driveName(this.path);let s=this.sessionContext.session.path;i&&(s=`${i}:${s}`),this._updatePath(s)}_updateContentsModel(e){var t,i;const s=e.writable&&!this._model.collaborative,a={path:e.path,name:e.name,type:e.type,writable:s,created:e.created,last_modified:e.last_modified,mimetype:e.mimetype,format:e.format},n=null!==(i=null===(t=this._contentsModel)||void 0===t?void 0:t.last_modified)&&void 0!==i?i:null;this._contentsModel=a,n&&a.last_modified===n||this._fileChanged.emit(a)}_updatePath(e){var t,i,s,a;if(this._path===e)return;this._path=e;const r=this._manager.contents.localPath(e),o=n.PathExt.basename(r);if((null===(t=this.sessionContext.session)||void 0===t?void 0:t.path)!==r&&(null===(i=this.sessionContext.session)||void 0===i||i.setPath(r)),(null===(s=this.sessionContext.session)||void 0===s?void 0:s.name)!==o&&(null===(a=this.sessionContext.session)||void 0===a||a.setName(o)),this.urlResolver.path!==e&&(this.urlResolver.path=e),this._contentsModel&&(this._contentsModel.path!==e||this._contentsModel.name!==o)){const t={...this._contentsModel,name:o,path:e};this._updateContentsModel(t)}this._pathChanged.emit(e)}async _populate(){if(this._isPopulated=!0,this._isReady=!0,this._populatedPromise.resolve(void 0),await this._maybeCheckpoint(!1),this.isDisposed)return;const e=this._model.defaultKernelName||this.sessionContext.kernelPreference.name;this.sessionContext.kernelPreference={...this.sessionContext.kernelPreference,name:e,language:this._model.defaultKernelLanguage},this.sessionContext.initialize().then((e=>{e&&this._dialogs.selectKernel(this.sessionContext)}))}async _rename(e){const t=this.localPath.split("/");t[t.length-1]=e;let i=n.PathExt.join(...t);const s=this._manager.contents.driveName(this.path);s&&(i=`${s}:${i}`),await this._manager.contents.rename(this.path,i)}async _save(){this._saveState.emit("started");const e=this._createSaveOptions();try{await this._manager.ready;const t=await this._maybeSave(e);if(this.isDisposed)return;this._model.dirty=!1,this._updateContentsModel(t),this._isPopulated||await this._populate(),this._saveState.emit("completed")}catch(e){const{name:t}=e;if("ModalCancelError"===t||"ModalDuplicateError"===t)throw e;const i=this._manager.contents.localPath(this._path),s=n.PathExt.basename(i);throw this._handleError(e,this._trans.__("File Save Error for %1",s)),this._saveState.emit("failed"),e}}_revert(e=!1){const t={type:this._factory.contentType,content:null!==this._factory.fileFormat,...null!==this._factory.fileFormat?{format:this._factory.fileFormat}:{}},i=this._path,s=this._model;return this._manager.ready.then((()=>this._manager.contents.get(i,t))).then((e=>{if(!this.isDisposed){if(e.content)if("json"===e.format)s.fromJSON(e.content);else{let t=e.content;-1!==t.indexOf("\r\n")?(this._lineEnding="\r\n",t=t.replace(/\r\n/g,"\n")):-1!==t.indexOf("\r")?(this._lineEnding="\r",t=t.replace(/\r/g,"\n")):this._lineEnding=null,s.fromString(t)}return this._updateContentsModel(e),s.dirty=!1,this._isPopulated?void 0:this._populate()}})).catch((async e=>{const t=this._manager.contents.localPath(this._path),i=n.PathExt.basename(t);throw this._handleError(e,this._trans.__("File Load Error for %1",i)),e}))}_maybeSave(e){const t=this._path;return this._manager.contents.get(t,{content:!1}).then((i=>{var s;if(this.isDisposed)return Promise.reject(new Error("Disposed"));const a=this._lastModifiedCheckMargin,n=null===(s=this.contentsModel)||void 0===s?void 0:s.last_modified,r=n?new Date(n):new Date,o=new Date(i.last_modified);return n&&o.getTime()-r.getTime()>a?this._timeConflict(r,i,e):this._manager.contents.save(t,e)}),(i=>{if(i.response&&404===i.response.status)return this._manager.contents.save(t,e);throw i}))}async _handleError(e,t){await(0,a.showErrorMessage)(t,e)}_maybeCheckpoint(e){let t=Promise.resolve(void 0);return this.canSave?(t=e?this.createCheckpoint().then():this.listCheckpoints().then((e=>{if(!this.isDisposed&&!e.length&&this.canSave)return this.createCheckpoint().then()})),t.catch((e=>{if(!e.response||403!==e.response.status)throw e}))):t}_timeConflict(e,t,i){const s=new Date(t.last_modified);if(console.warn(`Last saving performed ${e} while the current file seems to have been saved ${s}`),this._timeConflictModalIsOpen){const e=new Error("Modal is already displayed");return e.name="ModalDuplicateError",Promise.reject(e)}const n=this._trans.__('"%1" has changed on disk since the last time it was opened or saved.\nDo you want to overwrite the file on disk with the version open here,\nor load the version on disk (revert)?',this.path),r=a.Dialog.okButton({label:this._trans.__("Revert"),actions:["revert"]}),o=a.Dialog.warnButton({label:this._trans.__("Overwrite"),actions:["overwrite"]});return this._timeConflictModalIsOpen=!0,(0,a.showDialog)({title:this._trans.__("File Changed"),body:n,buttons:[a.Dialog.cancelButton(),r,o]}).then((e=>{if(this._timeConflictModalIsOpen=!1,this.isDisposed)return Promise.reject(new Error("Disposed"));if(e.button.actions.includes("overwrite"))return this._manager.contents.save(this._path,i);if(e.button.actions.includes("revert"))return this.revert().then((()=>t));const s=new Error("Cancel");return s.name="ModalCancelError",Promise.reject(s)}))}_maybeOverWrite(e){const t=this._trans.__('"%1" already exists. Do you want to replace it?',e),i=a.Dialog.warnButton({label:this._trans.__("Overwrite"),accept:!0});return(0,a.showDialog)({title:this._trans.__("File Overwrite?"),body:t,buttons:[a.Dialog.cancelButton(),i]}).then((t=>this.isDisposed?Promise.reject(new Error("Disposed")):t.button.accept?this._manager.contents.delete(e).then((()=>this._finishSaveAs(e))):void 0))}async _finishSaveAs(e){this._saveState.emit("started");try{await this._manager.ready;const t=this._createSaveOptions();await this._manager.contents.save(e,t),await this._maybeCheckpoint(!0),this._saveState.emit("completed")}catch(e){if("Cancel"===e.message||"Modal is already displayed"===e.message)throw e;const t=this._manager.contents.localPath(this._path),i=n.PathExt.basename(t);return this._handleError(e,this._trans.__("File Save Error for %1",i)),void this._saveState.emit("failed")}}_createSaveOptions(){let e=null;return"json"===this._factory.fileFormat?e=this._model.toJSON():(e=this._model.toString(),this._lineEnding&&(e=e.replace(/\n/g,this._lineEnding))),{type:this._factory.contentType,format:this._factory.fileFormat,content:e}}}!function(e){e.getSavePath=function(e,i){const s=(i=i||o.nullTranslator).load("jupyterlab"),n=a.Dialog.okButton({label:s.__("Save"),accept:!0});return(0,a.showDialog)({title:s.__("Save File As…"),body:new t(e),buttons:[a.Dialog.cancelButton(),n]}).then((e=>{var t;if(e.button.accept)return null!==(t=e.value)&&void 0!==t?t:void 0}))},e.noOp=function(){};class t extends c.Widget{constructor(e){super({node:i(e)})}getValue(){return this.node.value}}function i(e){const t=document.createElement("input");return t.value=e,t}}(s||(s={}));var m=i(8434);class g extends m.CodeEditor.Model{constructor(e={}){var t;super({sharedModel:e.sharedModel}),this._defaultLang="",this._dirty=!1,this._readOnly=!1,this._contentChanged=new d.Signal(this),this._stateChanged=new d.Signal(this),this._defaultLang=null!==(t=e.languagePreference)&&void 0!==t?t:"",this._collaborationEnabled=!!e.collaborationEnabled,this.sharedModel.changed.connect(this._onStateChanged,this)}get contentChanged(){return this._contentChanged}get stateChanged(){return this._stateChanged}get dirty(){return this._dirty}set dirty(e){const t=this._dirty;e!==t&&(this._dirty=e,this.triggerStateChange({name:"dirty",oldValue:t,newValue:e}))}get readOnly(){return this._readOnly}set readOnly(e){if(e===this._readOnly)return;const t=this._readOnly;this._readOnly=e,this.triggerStateChange({name:"readOnly",oldValue:t,newValue:e})}get defaultKernelName(){return""}get defaultKernelLanguage(){return this._defaultLang}get collaborative(){return this._collaborationEnabled}toString(){return this.sharedModel.getSource()}fromString(e){this.sharedModel.setSource(e)}toJSON(){return JSON.parse(this.sharedModel.getSource()||"null")}fromJSON(e){this.fromString(JSON.stringify(e))}initialize(){}triggerStateChange(e){this._stateChanged.emit(e)}triggerContentChange(){this._contentChanged.emit(void 0),this.dirty=!0}_onStateChanged(e,t){t.sourceChange&&this.triggerContentChange(),t.stateChange&&t.stateChange.forEach((e=>{"dirty"===e.name?this.dirty=e.newValue:e.oldValue!==e.newValue&&this.triggerStateChange({newValue:void 0,oldValue:void 0,...e})}))}}class p{constructor(e){this._isDisposed=!1,this._collaborative=null==e||e}get name(){return"text"}get contentType(){return"file"}get fileFormat(){return"text"}get collaborative(){return this._collaborative}get isDisposed(){return this._isDisposed}dispose(){this._isDisposed=!0}createNew(e={}){const t=e.collaborationEnabled&&this.collaborative;return new g({...e,collaborationEnabled:t})}preferredLanguage(e){return""}}class u extends p{get name(){return"base64"}get contentType(){return"file"}get fileFormat(){return"base64"}}class f{constructor(e){this._isDisposed=!1,this._widgetCreated=new d.Signal(this),this._translator=e.translator||o.nullTranslator,this._name=e.name,this._label=e.label||e.name,this._readOnly=void 0!==e.readOnly&&e.readOnly,this._defaultFor=e.defaultFor?e.defaultFor.slice():[],this._defaultRendered=(e.defaultRendered||[]).slice(),this._fileTypes=e.fileTypes.slice(),this._modelName=e.modelName||"text",this._preferKernel=!!e.preferKernel,this._canStartKernel=!!e.canStartKernel,this._shutdownOnClose=!!e.shutdownOnClose,this._autoStartDefault=!!e.autoStartDefault,this._toolbarFactory=e.toolbarFactory}get widgetCreated(){return this._widgetCreated}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,d.Signal.clearData(this))}get readOnly(){return this._readOnly}get name(){return this._name}get label(){return this._label}get fileTypes(){return this._fileTypes.slice()}get modelName(){return this._modelName}get defaultFor(){return this._defaultFor.slice()}get defaultRendered(){return this._defaultRendered.slice()}get preferKernel(){return this._preferKernel}get canStartKernel(){return this._canStartKernel}get translator(){return this._translator}get shutdownOnClose(){return this._shutdownOnClose}set shutdownOnClose(e){this._shutdownOnClose=e}get autoStartDefault(){return this._autoStartDefault}set autoStartDefault(e){this._autoStartDefault=e}createNew(e,t){var i;const s=this.createNewWidget(e,t);return(0,a.setToolbar)(s,null!==(i=this._toolbarFactory)&&void 0!==i?i:this.defaultToolbarFactory.bind(this)),this._widgetCreated.emit(s),s}defaultToolbarFactory(e){return[]}}const y="jp-mod-dirty";class F extends a.MainAreaWidget{constructor(e){e.reveal=Promise.all([e.reveal,e.context.ready]),super(e),this.context=e.context,this.context.pathChanged.connect(this._onPathChanged,this),this._onPathChanged(this.context,this.context.path),this.context.model.stateChanged.connect(this._onModelStateChanged,this),this.context.ready.then((()=>{this._handleDirtyState()})),this.title.changed.connect(this._onTitleChanged,this)}setFragment(e){}async _onTitleChanged(e){const t=this.title.label,i=this.context.localPath.split("/").pop()||this.context.localPath;if(t!==i){if(t.length>0&&!/[\/\\:]/.test(t)){const e=this.context.path;if(await this.context.rename(t),this.context.path!==e)return}this.title.label=i}}_onPathChanged(e,t){this.title.label=n.PathExt.basename(e.localPath),this.isUntitled=!1}_onModelStateChanged(e,t){"dirty"===t.name&&this._handleDirtyState()}_handleDirtyState(){this.context.model.dirty&&!this.title.className.includes(y)?this.title.className+=` ${y}`:this.title.className=this.title.className.replace(y,"")}}var w,v=i(49503);class x extends c.Widget{constructor(e){super(),this._changeCallback=e=>{if(!e.data||!e.data[this.mimeType])return;const t=e.data[this.mimeType];"string"==typeof t?t!==this._context.model.toString()&&this._context.model.fromString(t):null==t||l.JSONExt.deepEqual(t,this._context.model.toJSON())||this._context.model.fromJSON(t)},this._fragment="",this._ready=new l.PromiseDelegate,this._isRendering=!1,this._renderRequested=!1,this.addClass("jp-MimeDocument"),this.translator=e.translator||o.nullTranslator,this._trans=this.translator.load("jupyterlab"),this.mimeType=e.mimeType,this._dataType=e.dataType||"string",this._context=e.context,this.renderer=e.renderer,(this.layout=new c.StackedLayout).addWidget(this.renderer),this._context.ready.then((()=>this._render())).then((()=>{this.node===document.activeElement&&v.MessageLoop.sendMessage(this.renderer,c.Widget.Msg.ActivateRequest),this._monitor=new n.ActivityMonitor({signal:this._context.model.contentChanged,timeout:e.renderTimeout}),this._monitor.activityStopped.connect(this.update,this),this._ready.resolve(void 0)})).catch((e=>{requestAnimationFrame((()=>{this.dispose()})),(0,a.showErrorMessage)(this._trans.__("Renderer Failure: %1",this._context.path),e)}))}[a.Printing.symbol](){return a.Printing.getPrintFunction(this.renderer)}get ready(){return this._ready.promise}setFragment(e){this._fragment=e,this.update()}dispose(){this.isDisposed||(this._monitor&&this._monitor.dispose(),this._monitor=null,super.dispose())}onUpdateRequest(e){this._context.isReady&&(this._render(),this._fragment="")}async _render(){if(this.isDisposed)return;if(this._isRendering)return void(this._renderRequested=!0);this._renderRequested=!1;const e=this._context,t=e.model,i={};"string"===this._dataType?i[this.mimeType]=t.toString():i[this.mimeType]=t.toJSON();const s=new r.MimeModel({data:i,callback:this._changeCallback,metadata:{fragment:this._fragment}});try{if(this._isRendering=!0,await this.renderer.renderModel(s),this._isRendering=!1,this._renderRequested)return this._render()}catch(t){requestAnimationFrame((()=>{this.dispose()})),(0,a.showErrorMessage)(this._trans.__("Renderer Failure: %1",e.path),t)}}}class T extends F{setFragment(e){this.content.setFragment(e)}}class C extends f{constructor(e){super(w.createRegistryOptions(e)),this._rendermime=e.rendermime,this._renderTimeout=e.renderTimeout||1e3,this._dataType=e.dataType||"string",this._fileType=e.primaryFileType,this._factory=e.factory}createNewWidget(e){var t,i;const s=this._fileType,a=(null==s?void 0:s.mimeTypes.length)?s.mimeTypes[0]:"text/plain",n=this._rendermime.clone({resolver:e.urlResolver});let r;r=this._factory&&this._factory.mimeTypes.includes(a)?this._factory.createRenderer({mimeType:a,resolver:n.resolver,sanitizer:n.sanitizer,linkHandler:n.linkHandler,latexTypesetter:n.latexTypesetter,markdownParser:n.markdownParser}):n.createRenderer(a);const o=new x({context:e,renderer:r,mimeType:a,renderTimeout:this._renderTimeout,dataType:this._dataType});return o.title.icon=null==s?void 0:s.icon,o.title.iconClass=null!==(t=null==s?void 0:s.iconClass)&&void 0!==t?t:"",o.title.iconLabel=null!==(i=null==s?void 0:s.iconLabel)&&void 0!==i?i:"",new T({content:o,context:e})}}!function(e){e.createRegistryOptions=function(e){return{...e,readOnly:!0}}}(w||(w={}));var b,D=i(59361),S=i(33625);class O{constructor(e={}){this._modelFactories=Object.create(null),this._widgetFactories=Object.create(null),this._defaultWidgetFactory="",this._defaultWidgetFactoryOverrides=Object.create(null),this._defaultWidgetFactories=Object.create(null),this._defaultRenderedWidgetFactories=Object.create(null),this._widgetFactoriesForFileType=Object.create(null),this._fileTypes=[],this._extenders=Object.create(null),this._changed=new d.Signal(this),this._isDisposed=!1;const t=e.textModelFactory;if(this.translator=e.translator||o.nullTranslator,t&&"text"!==t.name)throw new Error("Text model factory must have the name `text`");this._modelFactories.text=t||new p(!0),(e.initialFileTypes||O.getDefaultFileTypes(this.translator)).forEach((e=>{const t={...O.getFileTypeDefaults(this.translator),...e};this._fileTypes.push(t)}))}get changed(){return this._changed}get isDisposed(){return this._isDisposed}dispose(){if(!this.isDisposed){this._isDisposed=!0;for(const e in this._modelFactories)this._modelFactories[e].dispose();for(const e in this._widgetFactories)this._widgetFactories[e].dispose();for(const e in this._extenders)this._extenders[e].length=0;this._fileTypes.length=0,d.Signal.clearData(this)}}addWidgetFactory(e){const t=e.name.toLowerCase();if(!t||"default"===t)throw Error("Invalid factory name");if(this._widgetFactories[t])return console.warn(`Duplicate registered factory ${t}`),new h.DisposableDelegate(b.noOp);this._widgetFactories[t]=e;for(const i of e.defaultFor||[])-1!==e.fileTypes.indexOf(i)&&("*"===i?this._defaultWidgetFactory=t:this._defaultWidgetFactories[i]=t);for(const i of e.defaultRendered||[])-1!==e.fileTypes.indexOf(i)&&(this._defaultRenderedWidgetFactories[i]=t);for(const i of e.fileTypes)this._widgetFactoriesForFileType[i]||(this._widgetFactoriesForFileType[i]=[]),this._widgetFactoriesForFileType[i].push(t);return this._changed.emit({type:"widgetFactory",name:t,change:"added"}),new h.DisposableDelegate((()=>{delete this._widgetFactories[t],this._defaultWidgetFactory===t&&(this._defaultWidgetFactory="");for(const e of Object.keys(this._defaultWidgetFactories))this._defaultWidgetFactories[e]===t&&delete this._defaultWidgetFactories[e];for(const e of Object.keys(this._defaultRenderedWidgetFactories))this._defaultRenderedWidgetFactories[e]===t&&delete this._defaultRenderedWidgetFactories[e];for(const e of Object.keys(this._widgetFactoriesForFileType))S.ArrayExt.removeFirstOf(this._widgetFactoriesForFileType[e],t),0===this._widgetFactoriesForFileType[e].length&&delete this._widgetFactoriesForFileType[e];for(const e of Object.keys(this._defaultWidgetFactoryOverrides))this._defaultWidgetFactoryOverrides[e]===t&&delete this._defaultWidgetFactoryOverrides[e];this._changed.emit({type:"widgetFactory",name:t,change:"removed"})}))}addModelFactory(e){const t=e.name.toLowerCase();return this._modelFactories[t]?(console.warn(`Duplicate registered factory ${t}`),new h.DisposableDelegate(b.noOp)):(this._modelFactories[t]=e,this._changed.emit({type:"modelFactory",name:t,change:"added"}),new h.DisposableDelegate((()=>{delete this._modelFactories[t],this._changed.emit({type:"modelFactory",name:t,change:"removed"})})))}addWidgetExtension(e,t){(e=e.toLowerCase())in this._extenders||(this._extenders[e]=[]);const i=this._extenders[e];return-1!==S.ArrayExt.firstIndexOf(i,t)?(console.warn(`Duplicate registered extension for ${e}`),new h.DisposableDelegate(b.noOp)):(this._extenders[e].push(t),this._changed.emit({type:"widgetExtension",name:e,change:"added"}),new h.DisposableDelegate((()=>{S.ArrayExt.removeFirstOf(this._extenders[e],t),this._changed.emit({type:"widgetExtension",name:e,change:"removed"})})))}addFileType(e,t){const i={...O.getFileTypeDefaults(this.translator),...e,...!(e.icon||e.iconClass)&&{icon:D.fileIcon}};if(this._fileTypes.push(i),t){const e=i.name.toLowerCase();t.map((e=>e.toLowerCase())).forEach((t=>{this._widgetFactoriesForFileType[e]||(this._widgetFactoriesForFileType[e]=[]),this._widgetFactoriesForFileType[e].includes(t)||this._widgetFactoriesForFileType[e].push(t)})),this._defaultWidgetFactories[e]||(this._defaultWidgetFactories[e]=this._widgetFactoriesForFileType[e][0])}return this._changed.emit({type:"fileType",name:i.name,change:"added"}),new h.DisposableDelegate((()=>{if(S.ArrayExt.removeFirstOf(this._fileTypes,i),t){const e=i.name.toLowerCase();for(const i of t.map((e=>e.toLowerCase())))S.ArrayExt.removeFirstOf(this._widgetFactoriesForFileType[e],i);this._defaultWidgetFactories[e]===t[0].toLowerCase()&&delete this._defaultWidgetFactories[e]}this._changed.emit({type:"fileType",name:e.name,change:"removed"})}))}preferredWidgetFactories(e){const t=new Set,i=this.getFileTypesForPath(n.PathExt.basename(e));i.forEach((e=>{e.name in this._defaultWidgetFactoryOverrides&&t.add(this._defaultWidgetFactoryOverrides[e.name])})),i.forEach((e=>{e.name in this._defaultWidgetFactories&&t.add(this._defaultWidgetFactories[e.name])})),i.forEach((e=>{e.name in this._defaultRenderedWidgetFactories&&t.add(this._defaultRenderedWidgetFactories[e.name])})),this._defaultWidgetFactory&&t.add(this._defaultWidgetFactory);for(const e of i)if(e.name in this._widgetFactoriesForFileType)for(const i of this._widgetFactoriesForFileType[e.name])t.add(i);if("*"in this._widgetFactoriesForFileType)for(const e of this._widgetFactoriesForFileType["*"])t.add(e);const s=[];for(const e of t){const t=this._widgetFactories[e];t&&((t.modelName||"text")in this._modelFactories&&s.push(t))}return s}defaultRenderedWidgetFactory(e){const t=this.getFileTypesForPath(n.PathExt.basename(e)).map((e=>e.name));for(const e in t)if(e in this._defaultWidgetFactoryOverrides)return this._widgetFactories[this._defaultWidgetFactoryOverrides[e]];for(const e in t)if(e in this._defaultRenderedWidgetFactories)return this._widgetFactories[this._defaultRenderedWidgetFactories[e]];return this.defaultWidgetFactory(e)}defaultWidgetFactory(e){return e?this.preferredWidgetFactories(e)[0]:this._widgetFactories[this._defaultWidgetFactory]}setDefaultWidgetFactory(e,t){if(e=e.toLowerCase(),!this.getFileType(e))throw Error(`Cannot find file type ${e}`);if(!t)return void(this._defaultWidgetFactoryOverrides[e]&&delete this._defaultWidgetFactoryOverrides[e]);if(!this.getWidgetFactory(t))throw Error(`Cannot find widget factory ${t}`);t=t.toLowerCase();const i=this._widgetFactoriesForFileType[e];if(!(t===this._defaultWidgetFactory||i&&i.includes(t)))throw Error(`Factory ${t} cannot view file type ${e}`);this._defaultWidgetFactoryOverrides[e]=t}*widgetFactories(){for(const e in this._widgetFactories)yield this._widgetFactories[e]}*modelFactories(){for(const e in this._modelFactories)yield this._modelFactories[e]}*widgetExtensions(e){if((e=e.toLowerCase())in this._extenders)for(const t of this._extenders[e])yield t}*fileTypes(){for(const e of this._fileTypes)yield e}getWidgetFactory(e){return this._widgetFactories[e.toLowerCase()]}getModelFactory(e){return this._modelFactories[e.toLowerCase()]}getFileType(e){return e=e.toLowerCase(),(0,S.find)(this._fileTypes,(t=>t.name.toLowerCase()===e))}getKernelPreference(e,t,i){t=t.toLowerCase();const s=this._widgetFactories[t];if(!s)return;const a=this.getModelFactory(s.modelName||"text");if(!a)return;const r=a.preferredLanguage(n.PathExt.basename(e)),o=i&&i.name;return{id:i&&i.id,name:o,language:r,shouldStart:s.preferKernel,canStart:s.canStartKernel,shutdownOnDispose:s.shutdownOnClose,autoStartDefault:s.autoStartDefault}}getFileTypeForModel(e){switch(e.type){case"directory":return(0,S.find)(this._fileTypes,(e=>"directory"===e.contentType))||O.getDefaultDirectoryFileType(this.translator);case"notebook":return(0,S.find)(this._fileTypes,(e=>"notebook"===e.contentType))||O.getDefaultNotebookFileType(this.translator);default:if(e.name||e.path){const t=e.name||n.PathExt.basename(e.path),i=this.getFileTypesForPath(t);if(i.length>0)return i[0]}return this.getFileType("text")||O.getDefaultTextFileType(this.translator)}}getFileTypesForPath(e){const t=[],i=n.PathExt.basename(e);let s=(0,S.find)(this._fileTypes,(e=>!(!e.pattern||null===i.match(e.pattern))));s&&t.push(s);let a=b.extname(i);for(;a.length>1;){const e=this._fileTypes.filter((e=>e.extensions.map((e=>e.toLowerCase())).includes(a)));t.push(...e),a="."+a.split(".").slice(2).join(".")}return t}}!function(e){function t(e){return{name:"default",displayName:(null==(e=e||o.nullTranslator)?void 0:e.load("jupyterlab")).__("default"),extensions:[],mimeTypes:[],contentType:"file",fileFormat:"text"}}function i(e){const i=null==(e=e||o.nullTranslator)?void 0:e.load("jupyterlab");return{...t(e),name:"text",displayName:i.__("Text"),mimeTypes:["text/plain"],extensions:[".txt"],icon:D.fileIcon}}function s(e){const i=null==(e=e||o.nullTranslator)?void 0:e.load("jupyterlab");return{...t(e),name:"notebook",displayName:i.__("Notebook"),mimeTypes:["application/x-ipynb+json"],extensions:[".ipynb"],contentType:"notebook",fileFormat:"json",icon:D.notebookIcon}}function a(e){const i=null==(e=e||o.nullTranslator)?void 0:e.load("jupyterlab");return{...t(e),name:"directory",displayName:i.__("Directory"),extensions:[],mimeTypes:["text/directory"],contentType:"directory",icon:D.folderIcon}}e.getFileTypeDefaults=t,e.getDefaultTextFileType=i,e.getDefaultNotebookFileType=s,e.getDefaultDirectoryFileType=a,e.getDefaultFileTypes=function(e){const t=null==(e=e||o.nullTranslator)?void 0:e.load("jupyterlab");return[i(e),s(e),a(e),{name:"markdown",displayName:t.__("Markdown File"),extensions:[".md"],mimeTypes:["text/markdown"],icon:D.markdownIcon},{name:"PDF",displayName:t.__("PDF File"),extensions:[".pdf"],mimeTypes:["application/pdf"],icon:D.pdfIcon},{name:"python",displayName:t.__("Python File"),extensions:[".py"],mimeTypes:["text/x-python"],icon:D.pythonIcon},{name:"json",displayName:t.__("JSON File"),extensions:[".json"],mimeTypes:["application/json"],icon:D.jsonIcon},{name:"julia",displayName:t.__("Julia File"),extensions:[".jl"],mimeTypes:["text/x-julia"],icon:D.juliaIcon},{name:"csv",displayName:t.__("CSV File"),extensions:[".csv"],mimeTypes:["text/csv"],icon:D.spreadsheetIcon},{name:"tsv",displayName:t.__("TSV File"),extensions:[".tsv"],mimeTypes:["text/csv"],icon:D.spreadsheetIcon},{name:"r",displayName:t.__("R File"),mimeTypes:["text/x-rsrc"],extensions:[".R"],icon:D.rKernelIcon},{name:"yaml",displayName:t.__("YAML File"),mimeTypes:["text/x-yaml","text/yaml"],extensions:[".yaml",".yml"],icon:D.yamlIcon},{name:"svg",displayName:t.__("Image"),mimeTypes:["image/svg+xml"],extensions:[".svg"],icon:D.imageIcon,fileFormat:"base64"},{name:"tiff",displayName:t.__("Image"),mimeTypes:["image/tiff"],extensions:[".tif",".tiff"],icon:D.imageIcon,fileFormat:"base64"},{name:"jpeg",displayName:t.__("Image"),mimeTypes:["image/jpeg"],extensions:[".jpg",".jpeg"],icon:D.imageIcon,fileFormat:"base64"},{name:"gif",displayName:t.__("Image"),mimeTypes:["image/gif"],extensions:[".gif"],icon:D.imageIcon,fileFormat:"base64"},{name:"png",displayName:t.__("Image"),mimeTypes:["image/png"],extensions:[".png"],icon:D.imageIcon,fileFormat:"base64"},{name:"bmp",displayName:t.__("Image"),mimeTypes:["image/bmp"],extensions:[".bmp"],icon:D.imageIcon,fileFormat:"base64"},{name:"webp",displayName:t.__("Image"),mimeTypes:["image/webp"],extensions:[".webp"],icon:D.imageIcon,fileFormat:"base64"}]}}(O||(O={})),function(e){e.extname=function(e){const t=n.PathExt.basename(e).split(".");return t.shift(),("."+t.join(".")).toLowerCase()},e.noOp=function(){}}(b||(b={}))}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 9854.bundle.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[9854],{97640:(r,t,n)=>{n.d(t,{Z:()=>e});const e=function(r,t){for(var n=-1,e=null==r?0:r.length;++n<e&&!1!==t(r[n],n,r););return r}},15561:(r,t,n)=>{n.d(t,{Z:()=>a});var e=n(93586),o=n(35050),c=Object.prototype.hasOwnProperty;const a=function(r,t,n){var a=r[t];c.call(r,t)&&(0,o.Z)(a,n)&&(void 0!==n||t in r)||(0,e.Z)(r,t,n)}},93586:(r,t,n)=>{n.d(t,{Z:()=>o});var e=n(30253);const o=function(r,t,n){"__proto__"==t&&e.Z?(0,e.Z)(r,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):r[t]=n}},10248:(r,t,n)=>{n.d(t,{Z:()=>Y});var e=n(82948),o=n(97640),c=n(15561),a=n(47313),u=n(11723);var i=n(48441);var f=n(64405),Z=n(93580),s=n(9854);var l=n(18232);var v=n(13911),b=n(5206),p=n(41182),y=Object.prototype.hasOwnProperty;var j=n(41049);const d=function(r){var t=new r.constructor(r.byteLength);return new j.Z(t).set(new j.Z(r)),t};var h=/\w*$/;var g=n(91642),O=g.Z?g.Z.prototype:void 0,w=O?O.valueOf:void 0;const _=function(r,t,n){var e,o,c,a=r.constructor;switch(t){case"[object ArrayBuffer]":return d(r);case"[object Boolean]":case"[object Date]":return new a(+r);case"[object DataView]":return function(r,t){var n=t?d(r.buffer):r.buffer;return new r.constructor(n,r.byteOffset,r.byteLength)}(r,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(r,t){var n=t?d(r.buffer):r.buffer;return new r.constructor(n,r.byteOffset,r.length)}(r,n);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(r);case"[object RegExp]":return(c=new(o=r).constructor(o.source,h.exec(o))).lastIndex=o.lastIndex,c;case"[object Symbol]":return e=r,w?Object(w.call(e)):{}}};var A=n(60417),S=Object.create;const m=function(){function r(){}return function(t){if(!(0,A.Z)(t))return{};if(S)return S(t);r.prototype=t;var n=new r;return r.prototype=void 0,n}}();var x=n(72784),P=n(89418);var U=n(64058),E=n(23230),I=n(9615);var R=n(20274),T=n(53594),k=T.Z&&T.Z.isMap;const C=k?(0,R.Z)(k):function(r){return(0,I.Z)(r)&&"[object Map]"==(0,p.Z)(r)};var F=T.Z&&T.Z.isSet;const B=F?(0,R.Z)(F):function(r){return(0,I.Z)(r)&&"[object Set]"==(0,p.Z)(r)};var D="[object Arguments]",L="[object Function]",M="[object Object]",N={};N[D]=N["[object Array]"]=N["[object ArrayBuffer]"]=N["[object DataView]"]=N["[object Boolean]"]=N["[object Date]"]=N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Map]"]=N["[object Number]"]=N[M]=N["[object RegExp]"]=N["[object Set]"]=N["[object String]"]=N["[object Symbol]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N["[object Error]"]=N[L]=N["[object WeakMap]"]=!1;const Y=function r(t,n,j,d,h,g){var O,w=1&n,S=2&n,I=4&n;if(j&&(O=h?j(t,d,h,g):j(t)),void 0!==O)return O;if(!(0,A.Z)(t))return t;var R=(0,U.Z)(t);if(R){if(O=function(r){var t=r.length,n=new r.constructor(t);return t&&"string"==typeof r[0]&&y.call(r,"index")&&(n.index=r.index,n.input=r.input),n}(t),!w)return(0,Z.Z)(t,O)}else{var T=(0,p.Z)(t),k=T==L||"[object GeneratorFunction]"==T;if((0,E.Z)(t))return(0,f.Z)(t,w);if(T==M||T==D||k&&!h){if(O=S||k?{}:function(r){return"function"!=typeof r.constructor||(0,P.Z)(r)?{}:m((0,x.Z)(r))}(t),!w)return S?function(r,t){return(0,a.Z)(r,(0,l.Z)(r),t)}(t,function(r,t){return r&&(0,a.Z)(t,(0,i.Z)(t),r)}(O,t)):function(r,t){return(0,a.Z)(r,(0,s.Z)(r),t)}(t,function(r,t){return r&&(0,a.Z)(t,(0,u.Z)(t),r)}(O,t))}else{if(!N[T])return h?t:{};O=_(t,T,w)}}g||(g=new e.Z);var F=g.get(t);if(F)return F;g.set(t,O),B(t)?t.forEach((function(e){O.add(r(e,n,j,e,t,g))})):C(t)&&t.forEach((function(e,o){O.set(o,r(e,n,j,o,t,g))}));var Y=I?S?b.Z:v.Z:S?i.Z:u.Z,$=R?void 0:Y(t);return(0,o.Z)($||t,(function(e,o){$&&(e=t[o=e]),(0,c.Z)(O,o,r(e,n,j,o,t,g))})),O}},65029:(r,t,n)=>{n.d(t,{Z:()=>f});var e=n(47032),o=n(91642),c=n(9028),a=n(64058),u=o.Z?o.Z.isConcatSpreadable:void 0;const i=function(r){return(0,a.Z)(r)||(0,c.Z)(r)||!!(u&&r&&r[u])},f=function r(t,n,o,c,a){var u=-1,f=t.length;for(o||(o=i),a||(a=[]);++u<f;){var Z=t[u];n>0&&o(Z)?n>1?r(Z,n-1,o,c,a):(0,e.Z)(a,Z):c||(a[a.length]=Z)}return a}},80322:(r,t,n)=>{n.d(t,{Z:()=>i});var e=n(15561),o=n(79148),c=n(8616),a=n(60417),u=n(13550);const i=function(r,t,n,i){if(!(0,a.Z)(r))return r;for(var f=-1,Z=(t=(0,o.Z)(t,r)).length,s=Z-1,l=r;null!=l&&++f<Z;){var v=(0,u.Z)(t[f]),b=n;if("__proto__"===v||"constructor"===v||"prototype"===v)return r;if(f!=s){var p=l[v];void 0===(b=i?i(p,v,l):void 0)&&(b=(0,a.Z)(p)?p:(0,c.Z)(t[f+1])?[]:{})}(0,e.Z)(l,v,b),l=l[v]}return r}},38423:(r,t,n)=>{n.d(t,{Z:()=>u});var e=n(79148);var o=n(78402);const c=function(r,t){return t.length<2?r:(0,o.Z)(r,function(r,t,n){var e=-1,o=r.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var c=Array(o);++e<o;)c[e]=r[e+t];return c}(t,0,-1))};var a=n(13550);const u=function(r,t){return t=(0,e.Z)(t,r),null==(r=c(r,t))||delete r[(0,a.Z)((n=t,o=null==n?0:n.length,o?n[o-1]:void 0))];var n,o}},64405:(r,t,n)=>{n.d(t,{Z:()=>i});var e=n(94311);r=n.hmd(r);var o="object"==typeof exports&&exports&&!exports.nodeType&&exports,c=o&&r&&!r.nodeType&&r,a=c&&c.exports===o?e.Z.Buffer:void 0,u=a?a.allocUnsafe:void 0;const i=function(r,t){if(t)return r.slice();var n=r.length,e=u?u(n):new r.constructor(n);return r.copy(e),e}},93580:(r,t,n)=>{n.d(t,{Z:()=>e});const e=function(r,t){var n=-1,e=r.length;for(t||(t=Array(e));++n<e;)t[n]=r[n];return t}},47313:(r,t,n)=>{n.d(t,{Z:()=>c});var e=n(15561),o=n(93586);const c=function(r,t,n,c){var a=!n;n||(n={});for(var u=-1,i=t.length;++u<i;){var f=t[u],Z=c?c(n[f],r[f],f,n,r):void 0;void 0===Z&&(Z=r[f]),a?(0,o.Z)(n,f,Z):(0,e.Z)(n,f,Z)}return n}},30253:(r,t,n)=>{n.d(t,{Z:()=>o});var e=n(26266);const o=function(){try{var r=(0,e.Z)(Object,"defineProperty");return r({},"",{}),r}catch(r){}}()},73703:(r,t,n)=>{n.d(t,{Z:()=>u});var e=n(65029);const o=function(r){return null!=r&&r.length?(0,e.Z)(r,1):[]};var c=n(15829),a=n(59562);const u=function(r){return(0,a.Z)((0,c.Z)(r,void 0,o),r+"")}},5206:(r,t,n)=>{n.d(t,{Z:()=>a});var e=n(47769),o=n(18232),c=n(48441);const a=function(r){return(0,e.Z)(r,c.Z,o.Z)}},72784:(r,t,n)=>{n.d(t,{Z:()=>e});const e=(0,n(4883).Z)(Object.getPrototypeOf,Object)},18232:(r,t,n)=>{n.d(t,{Z:()=>u});var e=n(47032),o=n(72784),c=n(9854),a=n(99176);const u=Object.getOwnPropertySymbols?function(r){for(var t=[];r;)(0,e.Z)(t,(0,c.Z)(r)),r=(0,o.Z)(r);return t}:a.Z},18625:(r,t,n)=>{n.d(t,{Z:()=>f});var e=n(79148),o=n(9028),c=n(64058),a=n(8616),u=n(30918),i=n(13550);const f=function(r,t,n){for(var f=-1,Z=(t=(0,e.Z)(t,r)).length,s=!1;++f<Z;){var l=(0,i.Z)(t[f]);if(!(s=null!=r&&n(r,l)))break;r=r[l]}return s||++f!=Z?s:!!(Z=null==r?0:r.length)&&(0,u.Z)(Z)&&(0,a.Z)(l,Z)&&((0,c.Z)(r)||(0,o.Z)(r))}},15829:(r,t,n)=>{n.d(t,{Z:()=>o});var e=Math.max;const o=function(r,t,n){return t=e(void 0===t?r.length-1:t,0),function(){for(var o=arguments,c=-1,a=e(o.length-t,0),u=Array(a);++c<a;)u[c]=o[t+c];c=-1;for(var i=Array(t+1);++c<t;)i[c]=o[c];return i[t]=n(u),function(r,t,n){switch(n.length){case 0:return r.call(t);case 1:return r.call(t,n[0]);case 2:return r.call(t,n[0],n[1]);case 3:return r.call(t,n[0],n[1],n[2])}return r.apply(t,n)}(r,this,i)}}},59562:(r,t,n)=>{n.d(t,{Z:()=>u});var e=n(30253),o=n(64056);const c=e.Z?function(r,t){return(0,e.Z)(r,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:o.Z;var a=Date.now;const u=(i=c,f=0,Z=0,function(){var r=a(),t=16-(r-Z);if(Z=r,t>0){if(++f>=800)return arguments[0]}else f=0;return i.apply(void 0,arguments)});var i,f,Z},86908:(r,t,n)=>{n.d(t,{Z:()=>o});var e=n(10248);const o=function(r){return(0,e.Z)(r,5)}},36004:(r,t,n)=>{n.d(t,{Z:()=>a});var e=Object.prototype.hasOwnProperty;const o=function(r,t){return null!=r&&e.call(r,t)};var c=n(18625);const a=function(r,t){return null!=r&&(0,c.Z)(r,t,o)}},94180:(r,t,n)=>{n.d(t,{Z:()=>c});const e=function(r,t){return null!=r&&t in Object(r)};var o=n(18625);const c=function(r,t){return null!=r&&(0,o.Z)(r,t,e)}},64056:(r,t,n)=>{n.d(t,{Z:()=>e});const e=function(r){return r}},66400:(r,t,n)=>{n.d(t,{Z:()=>l});var e=n(45934),o=n(41182),c=n(9028),a=n(64058),u=n(69959),i=n(23230),f=n(89418),Z=n(14923),s=Object.prototype.hasOwnProperty;const l=function(r){if(null==r)return!0;if((0,u.Z)(r)&&((0,a.Z)(r)||"string"==typeof r||"function"==typeof r.splice||(0,i.Z)(r)||(0,Z.Z)(r)||(0,c.Z)(r)))return!r.length;var t=(0,o.Z)(r);if("[object Map]"==t||"[object Set]"==t)return!r.size;if((0,f.Z)(r))return!(0,e.Z)(r).length;for(var n in r)if(s.call(r,n))return!1;return!0}},53541:(r,t,n)=>{n.d(t,{Z:()=>s});var e=n(77070),o=n(72784),c=n(9615),a=Function.prototype,u=Object.prototype,i=a.toString,f=u.hasOwnProperty,Z=i.call(Object);const s=function(r){if(!(0,c.Z)(r)||"[object Object]"!=(0,e.Z)(r))return!1;var t=(0,o.Z)(r);if(null===t)return!0;var n=f.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&i.call(n)==Z}},48441:(r,t,n)=>{n.d(t,{Z:()=>f});var e=n(54987),o=n(60417),c=n(89418);var a=Object.prototype.hasOwnProperty;const u=function(r){if(!(0,o.Z)(r))return function(r){var t=[];if(null!=r)for(var n in Object(r))t.push(n);return t}(r);var t=(0,c.Z)(r),n=[];for(var e in r)("constructor"!=e||!t&&a.call(r,e))&&n.push(e);return n};var i=n(69959);const f=function(r){return(0,i.Z)(r)?(0,e.Z)(r,!0):u(r)}},44733:(r,t,n)=>{n.d(t,{Z:()=>l});var e=n(33043),o=n(10248),c=n(38423),a=n(79148),u=n(47313),i=n(53541);const f=function(r){return(0,i.Z)(r)?void 0:r};var Z=n(73703),s=n(5206);const l=(0,Z.Z)((function(r,t){var n={};if(null==r)return n;var i=!1;t=(0,e.Z)(t,(function(t){return t=(0,a.Z)(t,r),i||(i=t.length>1),t})),(0,u.Z)(r,(0,s.Z)(r),n),i&&(n=(0,o.Z)(n,7,f));for(var Z=t.length;Z--;)(0,c.Z)(n,t[Z]);return n}))},24787:(r,t,n)=>{n.d(t,{Z:()=>o});var e=n(80322);const o=function(r,t,n){return null==r?r:(0,e.Z)(r,t,n)}},81810:(r,t,n)=>{n.d(t,{Z:()=>Z});var e=n(33043),o=n(93580),c=n(64058),a=n(59660),u=n(72977),i=n(13550),f=n(70023);const Z=function(r){return(0,c.Z)(r)?(0,e.Z)(r,i.Z):(0,a.Z)(r)?[r]:(0,o.Z)((0,u.Z)((0,f.Z)(r)))}},71426:(r,t,n)=>{var e=n(78156),o=Symbol.for("react.element"),c=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,u=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function f(r,t,n){var e,c={},f=null,Z=null;for(e in void 0!==n&&(f=""+n),void 0!==t.key&&(f=""+t.key),void 0!==t.ref&&(Z=t.ref),t)a.call(t,e)&&!i.hasOwnProperty(e)&&(c[e]=t[e]);if(r&&r.defaultProps)for(e in t=r.defaultProps)void 0===c[e]&&(c[e]=t[e]);return{$$typeof:o,type:r,key:f,ref:Z,props:c,_owner:u.current}}t.Fragment=c,t.jsx=f,t.jsxs=f},24246:(r,t,n)=>{r.exports=n(71426)}}]);
@@ -1,10 +0,0 @@
1
- {
2
- "title": "File Browser Widget - File Actions",
3
- "description": "File Browser widget - File Actions settings.",
4
- "jupyter.lab.toolbars": {
5
- "FileBrowser": [{ "name": "fileActions", "rank": 0 }]
6
- },
7
- "properties": {},
8
- "additionalProperties": false,
9
- "type": "object"
10
- }
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_jupyter_notebook_lab_extension=self.webpackChunk_jupyter_notebook_lab_extension||[]).push([[568],{568:(e,o,n)=>{n.r(o),n.d(o,{default:()=>m});var t,a=n(418),c=n(861),r=n(614),l=n(408),i=n(505),s=n(778),b=n(403),d=n(800);!function(e){e.launchNotebookTree="jupyter-notebook:launch-tree",e.openNotebook="jupyter-notebook:open-notebook",e.openLab="jupyter-notebook:open-lab",e.openNbClassic="jupyter-notebook:open-nbclassic"}(t||(t={}));const u={id:"@jupyter-notebook/lab-extension:interface-switcher",autoStart:!0,requires:[i.ITranslator,l.INotebookTracker],optional:[c.ICommandPalette,b.INotebookPathOpener,b.INotebookShell,a.ILabShell,c.IToolbarWidgetRegistry],activate:(e,o,n,a,c,l,i,u)=>{const{commands:m,shell:p}=e,k=r.PageConfig.getBaseUrl(),h=o.load("notebook"),_="true"===r.PageConfig.getOption("nbclassic_enabled"),f=new s.Menu({commands:m}),g=[],N=null!=c?c:b.defaultNotebookPathOpener;l||g.push({command:t.openNotebook,commandLabel:h.__("Notebook"),commandDescription:h.__("Open in %1","Jupyter Notebook"),buttonLabel:"openNotebook",urlPrefix:`${k}tree`}),i||g.push({command:t.openLab,commandLabel:h.__("JupyterLab"),commandDescription:h.__("Open in %1","JupyterLab"),buttonLabel:"openLab",urlPrefix:`${k}doc/tree`}),_&&g.push({command:t.openNbClassic,commandLabel:h.__("NbClassic"),commandDescription:h.__("Open in %1","NbClassic"),buttonLabel:"openNbClassic",urlPrefix:`${k}nbclassic/notebooks`});const C=()=>null!==n.currentWidget&&n.currentWidget===p.currentWidget;let L;if(g.forEach((e=>{const{command:o}=e;(e=>{const{command:o,commandLabel:t,commandDescription:c,urlPrefix:r}=e;m.addCommand(o,{label:e=>(e.noLabel,e.isMenu||e.isPalette?c:t),caption:t,execute:()=>{const e=n.currentWidget;e&&N.open({prefix:r,path:e.context.path})},isEnabled:C}),a&&a.addItem({command:o,category:"Other",args:{isPalette:!0}})})(e),f.addItem({command:o})})),1===g.length)L=e=>{const o=new d.CommandToolbarButton({commands:m,id:g[0].command,label:g[0].commandLabel,icon:d.launchIcon});return o.addClass("jp-nb-interface-switcher-button"),o};else{const e={overflowMenuOptions:{isVisible:!1}},o=new s.MenuBar(e);f.title.label=h.__("Open in..."),f.title.icon=d.caretDownIcon,o.addMenu(f),L=o=>{const n=new s.MenuBar(e);return n.addMenu(f),n.addClass("jp-InterfaceSwitcher"),n}}u&&u.addFactory("Notebook","interfaceSwitcher",L)}},m=[{id:"@jupyter-notebook/lab-extension:launch-tree",autoStart:!0,requires:[i.ITranslator],optional:[c.ICommandPalette],activate:(e,o,n)=>{const{commands:a}=e,c=o.load("notebook"),l=c.__("Help");a.addCommand(t.launchNotebookTree,{label:c.__("Launch Jupyter Notebook File Browser"),execute:()=>{const e=r.URLExt.join(r.PageConfig.getBaseUrl(),"tree");window.open(e)}}),n&&n.addItem({command:t.launchNotebookTree,category:l})}},u]}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_jupyter_notebook_lab_extension=self.webpackChunk_jupyter_notebook_lab_extension||[]).push([[776],{246:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(609),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,"/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Distributed under the terms of the Modified BSD License.\n|----------------------------------------------------------------------------*/\n\n.jp-InterfaceSwitcher {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n\n.jp-InterfaceSwitcher .lm-MenuBar-itemIcon svg {\n vertical-align: sub;\n}\n\n.jp-nb-interface-switcher-button > .jp-ToolbarButtonComponent {\n flex-direction: row-reverse;\n}\n\n.jp-nb-interface-switcher-button\n > .jp-ToolbarButtonComponent\n > .jp-ToolbarButtonComponent-icon {\n padding-left: 3px;\n}\n",""]);const i=o},609:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},818:(e,t,n)=>{var r=n(246);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);n(62)(r,{insert:"head",singleton:!1}),r.locals&&(e.exports=r.locals)},62:(e,t,n)=>{"use strict";var r,o={},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}();function a(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function s(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=o[r.id],a=0;if(i){for(i.refs++;a<i.parts.length;a++)i.parts[a](r.parts[a]);for(;a<r.parts.length;a++)i.parts.push(v(r.parts[a],t))}else{for(var s=[];a<r.parts.length;a++)s.push(v(r.parts[a],t));o[r.id]={id:r.id,refs:1,parts:s}}}}function c(e){var t=document.createElement("style");if(void 0===e.attributes.nonce){var r=n.nc;r&&(e.attributes.nonce=r)}if(Object.keys(e.attributes).forEach((function(n){t.setAttribute(n,e.attributes[n])})),"function"==typeof e.insert)e.insert(t);else{var o=i(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var u,l=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function f(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=l(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o&&e.setAttribute("media",o),i&&btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var p=null,h=0;function v(e,t){var n,r,o;if(t.singleton){var i=h++;n=p||(p=c(t)),r=f.bind(null,n,i,!1),o=f.bind(null,n,i,!0)}else n=c(t),r=d.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).attributes="object"==typeof t.attributes?t.attributes:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=(void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r));var n=a(e,t);return s(n,t),function(e){for(var r=[],i=0;i<n.length;i++){var c=n[i],u=o[c.id];u&&(u.refs--,r.push(u))}e&&s(a(e,t),t);for(var l=0;l<r.length;l++){var f=r[l];if(0===f.refs){for(var d=0;d<f.parts.length;d++)f.parts[d]();delete o[f.id]}}}}},776:(e,t,n)=>{"use strict";n.r(t),n(818)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_jupyter_notebook_lab_extension=self.webpackChunk_jupyter_notebook_lab_extension||[]).push([[922],{30:(e,t,i)=>{i.r(t),i.d(t,{INotebookPathOpener:()=>C,INotebookShell:()=>k,NotebookApp:()=>b,NotebookShell:()=>y,PanelHandler:()=>f,Private:()=>v,SidePanelHandler:()=>w,SidePanelPalette:()=>W,defaultNotebookPathOpener:()=>P});var s,n=i(418),r=i(987),a=i(950),o=i(448),d=i(614),l=i(797),h=i(505),p=i(697),g=i(930),u=i(901),c=i(778),_=i(800),m=i(633);class f{constructor(){this._panelChildHook=(e,t)=>{if("child-removed"===t.type){const e=t.child;p.ArrayExt.removeFirstWhere(this._items,(t=>t.widget===e))}return!0},this._items=new Array,this._panel=new c.Panel,m.MessageLoop.installMessageHook(this._panel,this._panelChildHook)}get panel(){return this._panel}addWidget(e,t){e.parent=null;const i={widget:e,rank:t},n=p.ArrayExt.upperBound(this._items,i,s.itemCmp);p.ArrayExt.insert(this._items,n,i),this._panel.insertWidget(n,e)}}class w extends f{constructor(e){super(),this._isHiddenByUser=!1,this._widgetAdded=new u.Signal(this),this._widgetRemoved=new u.Signal(this),this._area=e,this._panel.hide(),this._currentWidget=null,this._lastCurrentWidget=null,this._widgetPanel=new c.StackedPanel,this._widgetPanel.widgetRemoved.connect(this._onWidgetRemoved,this),this._closeButton=document.createElement("button"),_.closeIcon.element({container:this._closeButton,height:"16px",width:"auto"}),this._closeButton.onclick=()=>{this.collapse(),this.hide()},this._closeButton.className="jp-Button jp-SidePanel-collapse",this._closeButton.title="Collapse side panel";const t=new c.Widget({node:this._closeButton});this._panel.addWidget(t),this._panel.addWidget(this._widgetPanel)}get currentWidget(){return this._currentWidget||this._lastCurrentWidget||(this._items.length>0?this._items[0].widget:null)}get area(){return this._area}get isVisible(){return this._panel.isVisible}get panel(){return this._panel}get widgets(){return this._items.map((e=>e.widget))}get widgetAdded(){return this._widgetAdded}get widgetRemoved(){return this._widgetRemoved}get closeButton(){return this._closeButton}expand(e){if(this._currentWidget&&this.collapse(),e)this.activate(e);else{const e=this.currentWidget;e&&(this._currentWidget=e,this.activate(e.id))}}activate(e){const t=this._findWidgetByID(e);t&&(this._currentWidget=t,t.show(),t.activate())}has(e){return null!==this._findWidgetByID(e)}collapse(){var e;null===(e=this._currentWidget)||void 0===e||e.hide(),this._currentWidget=null}addWidget(e,t){e.parent=null,e.hide();const i={widget:e,rank:t},s=this._findInsertIndex(i);p.ArrayExt.insert(this._items,s,i),this._widgetPanel.insertWidget(s,e),this._refreshVisibility(),this._widgetAdded.emit(e)}hide(){this._isHiddenByUser=!0,this._refreshVisibility()}show(){this._isHiddenByUser=!1,this._refreshVisibility()}_findInsertIndex(e){return p.ArrayExt.upperBound(this._items,e,s.itemCmp)}_findWidgetIndex(e){return p.ArrayExt.findFirstIndex(this._items,(t=>t.widget===e))}_findWidgetByID(e){const t=(0,p.find)(this._items,(t=>t.widget.id===e));return t?t.widget:null}_refreshVisibility(){this._panel.setHidden(this._isHiddenByUser)}_onWidgetRemoved(e,t){t===this._lastCurrentWidget&&(this._lastCurrentWidget=null),p.ArrayExt.removeAt(this._items,this._findWidgetIndex(t)),this._refreshVisibility(),this._widgetRemoved.emit(t)}}class W{constructor(e){this._items=[],this._commandPalette=e.commandPalette,this._command=e.command}getItem(e,t){const i=this._items;for(let s=0;s<i.length;s++){const n=i[s];if(n.widgetId===e.id&&n.area===t)return n}return null}addItem(e,t){if(this.getItem(e,t))return;const i=this._commandPalette.addItem({command:this._command,category:"View",args:{side:t,title:`Show ${e.title.caption}`,id:e.id}});this._items.push({widgetId:e.id,area:t,disposable:i})}removeItem(e,t){const i=this.getItem(e,t);i&&i.disposable.dispose()}}!function(e){e.itemCmp=function(e,t){return e.rank-t.rank}}(s||(s={}));const k=new g.Token("@jupyter-notebook/application:INotebookShell");class y extends c.Widget{constructor(){super(),this._translator=h.nullTranslator,this._currentChanged=new u.Signal(this),this._mainWidgetLoaded=new g.PromiseDelegate,this.id="main",this._userLayout={},this._topHandler=new f,this._menuHandler=new f,this._leftHandler=new w("left"),this._rightHandler=new w("right"),this._main=new c.Panel;const e=this._topWrapper=new c.Panel,t=this._menuWrapper=new c.Panel;this._topHandler.panel.id="top-panel",this._topHandler.panel.node.setAttribute("role","banner"),this._menuHandler.panel.id="menu-panel",this._menuHandler.panel.node.setAttribute("role","navigation"),this._main.id="main-panel",this._main.node.setAttribute("role","main"),this._spacer_top=new c.Widget,this._spacer_top.id="spacer-widget-top",this._spacer_bottom=new c.Widget,this._spacer_bottom.id="spacer-widget-bottom",e.id="top-panel-wrapper",e.addWidget(this._topHandler.panel),t.id="menu-panel-wrapper",t.addWidget(this._menuHandler.panel);const i=new c.BoxLayout,s=this._leftHandler,n=this._rightHandler;s.panel.id="jp-left-stack",s.panel.node.setAttribute("role","complementary"),n.panel.id="jp-right-stack",n.panel.node.setAttribute("role","complementary"),s.hide(),n.hide();const r=new c.BoxLayout({spacing:0,direction:"top-to-bottom"});c.BoxLayout.setStretch(this._topWrapper,0),c.BoxLayout.setStretch(this._menuWrapper,0),c.BoxLayout.setStretch(this._main,1);const a=new c.Panel({layout:r});a.addWidget(this._topWrapper),a.addWidget(this._menuWrapper),a.addWidget(this._spacer_top),a.addWidget(this._main),a.addWidget(this._spacer_bottom),a.layout=r;const o=new c.SplitPanel;o.id="main-split-panel",o.spacing=1,c.BoxLayout.setStretch(o,1),c.SplitPanel.setStretch(s.panel,0),c.SplitPanel.setStretch(n.panel,0),c.SplitPanel.setStretch(a,1),o.addWidget(s.panel),o.addWidget(a),o.addWidget(n.panel),o.setRelativeSizes([1,2.5,1]),i.spacing=0,i.addWidget(o),this.layout=i;const d=this._skipLinkWidgetHandler=new v.SkipLinkWidgetHandler(this);this.add(d.skipLinkWidget,"top",{rank:0}),this._skipLinkWidgetHandler.show()}get currentChanged(){return this._currentChanged}get currentWidget(){var e;return null!==(e=this._main.widgets[0])&&void 0!==e?e:null}get top(){return this._topWrapper}get menu(){return this._menuWrapper}get leftHandler(){return this._leftHandler}get rightHandler(){return this._rightHandler}get leftCollapsed(){return!(this._leftHandler.isVisible&&this._leftHandler.panel.isVisible)}get rightCollapsed(){return!(this._rightHandler.isVisible&&this._rightHandler.panel.isVisible)}get restored(){return this._mainWidgetLoaded.promise}get translator(){var e;return null!==(e=this._translator)&&void 0!==e?e:h.nullTranslator}set translator(e){if(e!==this._translator){this._translator=e;const t=e.load("notebook");this._leftHandler.closeButton.title=t.__("Collapse %1 side panel",this._leftHandler.area),this._rightHandler.closeButton.title=t.__("Collapse %1 side panel",this._rightHandler.area)}}get userLayout(){return g.JSONExt.deepCopy(this._userLayout)}activateById(e){for(const t of["main","top","left","right","menu"]){const i=(0,p.find)(this.widgets(t),(t=>t.id===e));i&&("left"===t?this.expandLeft(e):"right"===t?this.expandRight(e):i.activate())}}add(e,t,i){var s,n;let r;r=(null==i?void 0:i.type)&&this._userLayout[i.type]?this._userLayout[i.type]:this._userLayout[e.id],t=null!==(s=null==r?void 0:r.area)&&void 0!==s?s:t;const a=null!==(n=null==(i=i||(null==r?void 0:r.options)?{...i,...null==r?void 0:r.options}:void 0)?void 0:i.rank)&&void 0!==n?n:900;switch(t){case"top":return this._topHandler.addWidget(e,a);case"menu":return this._menuHandler.addWidget(e,a);case"main":case void 0:if(this._main.widgets.length>0)return;this._main.addWidget(e),this._main.update(),this._currentChanged.emit(void 0),this._mainWidgetLoaded.resolve();break;case"left":return this._leftHandler.addWidget(e,a);case"right":return this._rightHandler.addWidget(e,a);default:console.warn(`Cannot add widget to area: ${t}`)}}collapseTop(){this._topWrapper.setHidden(!0),this._spacer_top.setHidden(!0)}expandTop(){this._topWrapper.setHidden(!1),this._spacer_top.setHidden(!1)}*widgets(e){switch(null!=e?e:"main"){case"top":return void(yield*this._topHandler.panel.widgets);case"menu":return void(yield*this._menuHandler.panel.widgets);case"main":return void(yield*this._main.widgets);case"left":return void(yield*this._leftHandler.widgets);case"right":return void(yield*this._rightHandler.widgets);default:return void console.error(`This shell has no area called "${e}"`)}}expandLeft(e){this._leftHandler.panel.show(),this._leftHandler.expand(e)}collapseLeft(){this._leftHandler.collapse(),this._leftHandler.panel.hide()}expandRight(e){this._rightHandler.panel.show(),this._rightHandler.expand(e)}collapseRight(){this._rightHandler.collapse(),this._rightHandler.panel.hide()}async restoreLayout(e){this._userLayout=e}}var v,H;!function(e){e.SkipLinkWidgetHandler=class{constructor(e){this._isDisposed=!1;const t=this._skipLinkWidget=new c.Widget,i=document.createElement("a");i.href="#first-cell",i.tabIndex=1,i.text="Skip to Main",i.className="skip-link",i.addEventListener("click",this),t.addClass("jp-skiplink"),t.id="jp-skiplink",t.node.appendChild(i)}handleEvent(e){"click"===e.type&&this._focusMain()}_focusMain(){const e=document.querySelector("#main-panel .jp-InputArea-editor");e.tabIndex=1,e.focus()}get skipLinkWidget(){return this._skipLinkWidget}dispose(){this.isDisposed||(this._isDisposed=!0,this._skipLinkWidget.node.removeEventListener("click",this),this._skipLinkWidget.dispose())}hide(){this._skipLinkWidget.hide()}show(){this._skipLinkWidget.show()}get isDisposed(){return this._isDisposed}}}(v||(v={}));class b extends n.JupyterFrontEnd{constructor(e={shell:new y}){var t,i;if(super({...e,shell:null!==(t=e.shell)&&void 0!==t?t:new y}),this.name="Jupyter Notebook",this.namespace=this.name,this.status=new o.J(this),this.version=null!==(i=d.PageConfig.getOption("appVersion"))&&void 0!==i?i:"unknown",this._formatter=new l.Throttler((()=>{H.setFormat(this)}),250),this.docRegistry.addModelFactory(new r.Base64ModelFactory),e.mimeExtensions)for(const t of(0,a.as)(e.mimeExtensions))this.registerPlugin(t);this.restored=this.shell.restored,this.restored.then((()=>this._formatter.invoke()))}get paths(){return{urls:{base:d.PageConfig.getOption("baseUrl"),notFound:d.PageConfig.getOption("notFoundUrl"),app:d.PageConfig.getOption("appUrl"),static:d.PageConfig.getOption("staticUrl"),settings:d.PageConfig.getOption("settingsUrl"),themes:d.PageConfig.getOption("themesUrl"),doc:d.PageConfig.getOption("docUrl"),translations:d.PageConfig.getOption("translationsApiUrl"),hubHost:d.PageConfig.getOption("hubHost")||void 0,hubPrefix:d.PageConfig.getOption("hubPrefix")||void 0,hubUser:d.PageConfig.getOption("hubUser")||void 0,hubServerName:d.PageConfig.getOption("hubServerName")||void 0},directories:{appSettings:d.PageConfig.getOption("appSettingsDir"),schemas:d.PageConfig.getOption("schemasDir"),static:d.PageConfig.getOption("staticDir"),templates:d.PageConfig.getOption("templatesDir"),themes:d.PageConfig.getOption("themesDir"),userSettings:d.PageConfig.getOption("userSettingsDir"),serverRoot:d.PageConfig.getOption("serverRoot"),workspaces:d.PageConfig.getOption("workspacesDir")}}}handleEvent(e){super.handleEvent(e),"resize"===e.type&&this._formatter.invoke()}registerPluginModule(e){let t=e.default;Object.prototype.hasOwnProperty.call(e,"__esModule")||(t=e),Array.isArray(t)||(t=[t]),t.forEach((e=>{try{this.registerPlugin(e)}catch(e){console.error(e)}}))}registerPluginModules(e){e.forEach((e=>{this.registerPluginModule(e)}))}}!function(e){e.setFormat=function(e){e.format=window.matchMedia("only screen and (max-width: 760px)").matches?"mobile":"desktop"}}(H||(H={}));const P=new class{open(e){const{prefix:t,path:i,searchParams:s,target:n,features:r}=e,a=new URL(d.URLExt.join(t,null!=i?i:""),window.location.origin);return s&&(a.search=s.toString()),window.open(a,n,r)}},C=new g.Token("@jupyter-notebook/application:INotebookPathOpener")}}]);
@@ -1 +0,0 @@
1
- var _JUPYTERLAB;(()=>{"use strict";var e,r,t,o,n,a,i,l,u,s,f,d,p,c,b,h,v,m,g,y,j,w,k,S={215:(e,r,t)=>{var o={"./index":()=>Promise.all([t.e(125),t.e(568)]).then((()=>()=>t(568))),"./extension":()=>Promise.all([t.e(125),t.e(568)]).then((()=>()=>t(568))),"./style":()=>t.e(776).then((()=>()=>t(776)))},n=(e,r)=>(t.R=r,r=t.o(o,e)?o[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),a=(e,r)=>{if(t.S){var o="default",n=t.S[o];if(n&&n!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[o]=e,t.I(o,r)}};t.d(r,{get:()=>n,init:()=>a})}},P={};function x(e){var r=P[e];if(void 0!==r)return r.exports;var t=P[e]={id:e,exports:{}};return S[e](t,t.exports,x),t.exports}x.m=S,x.c=P,x.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return x.d(r,{a:r}),r},x.d=(e,r)=>{for(var t in r)x.o(r,t)&&!x.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},x.f={},x.e=e=>Promise.all(Object.keys(x.f).reduce(((r,t)=>(x.f[t](e,r),r)),[])),x.u=e=>e+"."+{125:"b29d8bac59d8c123850b",568:"1e7b382fb5e84b6e7620",776:"c7baadfaddfd4518c935",922:"0beff4620746e288bd5e",928:"79046a2eb17bde1af38c"}[e]+".js?v="+{125:"b29d8bac59d8c123850b",568:"1e7b382fb5e84b6e7620",776:"c7baadfaddfd4518c935",922:"0beff4620746e288bd5e",928:"79046a2eb17bde1af38c"}[e],x.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),x.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@jupyter-notebook/lab-extension:",x.l=(t,o,n,a)=>{if(e[t])e[t].push(o);else{var i,l;if(void 0!==n)for(var u=document.getElementsByTagName("script"),s=0;s<u.length;s++){var f=u[s];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==r+n){i=f;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,x.nc&&i.setAttribute("nonce",x.nc),i.setAttribute("data-webpack",r+n),i.src=t),e[t]=[o];var d=(r,o)=>{i.onerror=i.onload=null,clearTimeout(p);var n=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach((e=>e(o))),r)return r(o)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),l&&document.head.appendChild(i)}},x.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{x.S={};var e={},r={};x.I=(t,o)=>{o||(o=[]);var n=r[t];if(n||(n=r[t]={}),!(o.indexOf(n)>=0)){if(o.push(n),e[t])return e[t];x.o(x.S,t)||(x.S[t]={});var a=x.S[t],i="@jupyter-notebook/lab-extension",l=(e,r,t,o)=>{var n=a[e]=a[e]||{},l=n[r];(!l||!l.loaded&&(!o!=!l.eager?o:i>l.from))&&(n[r]={get:t,from:i,eager:!!o})},u=[];return"default"===t&&(l("@jupyter-notebook/application","7.0.6",(()=>Promise.all([x.e(928),x.e(922),x.e(125)]).then((()=>()=>x(30))))),l("@jupyter-notebook/lab-extension","7.0.6",(()=>Promise.all([x.e(125),x.e(568)]).then((()=>()=>x(568)))))),e[t]=u.length?Promise.all(u).then((()=>e[t]=1)):1}}})(),(()=>{var e;x.g.importScripts&&(e=x.g.location+"");var r=x.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var o=t.length-1;o>-1&&!e;)e=t[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),x.p=e})(),t=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),o=t[1]?r(t[1]):[];return t[2]&&(o.length++,o.push.apply(o,r(t[2]))),t[3]&&(o.push([]),o.push.apply(o,r(t[3]))),o},o=(e,r)=>{e=t(e),r=t(r);for(var o=0;;){if(o>=e.length)return o<r.length&&"u"!=(typeof r[o])[0];var n=e[o],a=(typeof n)[0];if(o>=r.length)return"u"==a;var i=r[o],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&n!=i)return n<i;o++}},n=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var o=1,a=1;a<e.length;a++)o--,t+="u"==(typeof(l=e[a]))[0]?"-":(o>0?".":"")+(o=2,l);return t}var i=[];for(a=1;a<e.length;a++){var l=e[a];i.push(0===l?"not("+u()+")":1===l?"("+u()+" || "+u()+")":2===l?i.pop()+" "+i.pop():n(l))}return u();function u(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var o=e[0],n=o<0;n&&(o=-o-1);for(var i=0,l=1,u=!0;;l++,i++){var s,f,d=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(f=(typeof(s=r[i]))[0]))return!u||("u"==d?l>o&&!n:""==d!=n);if("u"==f){if(!u||"u"!=d)return!1}else if(u)if(d==f)if(l<=o){if(s!=e[l])return!1}else{if(n?s>e[l]:s<e[l])return!1;s!=e[l]&&(u=!1)}else if("s"!=d&&"n"!=d){if(n||l<=o)return!1;u=!1,l--}else{if(l<=o||f<d!=n)return!1;u=!1}else"s"!=d&&"n"!=d&&(u=!1,l--)}}var p=[],c=p.pop.bind(p);for(i=1;i<e.length;i++){var b=e[i];p.push(1==b?c()|c():2==b?c()&c():b?a(b,r):!c())}return!!c()},i=(e,r)=>{var t=x.S[e];if(!t||!x.o(t,r))throw new Error("Shared module "+r+" doesn't exist in shared scope "+e);return t},l=(e,r)=>{var t=e[r];return(r=Object.keys(t).reduce(((e,r)=>!e||o(e,r)?r:e),0))&&t[r]},u=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&o(e,r)?r:e),0)},s=(e,r,t,o)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+n(o)+")",f=(e,r,t,o)=>{var n=u(e,t);return a(o,n)||c(s(e,t,n,o)),h(e[t][n])},d=(e,r,t)=>{var n=e[r];return(r=Object.keys(n).reduce(((e,r)=>!a(t,r)||e&&!o(e,r)?e:r),0))&&n[r]},p=(e,r,t,o)=>{var a=e[t];return"No satisfying version ("+n(o)+") of shared module "+t+" found in shared scope "+r+".\nAvailable versions: "+Object.keys(a).map((e=>e+" from "+a[e].from)).join(", ")},c=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},b=(e,r,t,o)=>{c(p(e,r,t,o))},h=e=>(e.loaded=1,e.get()),m=(v=e=>function(r,t,o,n){var a=x.I(r);return a&&a.then?a.then(e.bind(e,r,x.S[r],t,o,n)):e(r,x.S[r],t,o,n)})(((e,r,t,o)=>(i(e,t),h(d(r,t,o)||b(r,e,t,o)||l(r,t))))),g=v(((e,r,t,o)=>(i(e,t),f(r,0,t,o)))),y=v(((e,r,t,o,n)=>{var a=r&&x.o(r,t)&&d(r,t,o);return a?h(a):n()})),j={},w={418:()=>g("default","@jupyterlab/application",[1,4,0,7]),505:()=>g("default","@jupyterlab/translation",[1,4,0,7]),614:()=>g("default","@jupyterlab/coreutils",[1,6,0,7]),778:()=>g("default","@lumino/widgets",[1,2,0,1]),800:()=>g("default","@jupyterlab/ui-components",[1,4,0,7]),861:()=>g("default","@jupyterlab/apputils",[1,4,1,7]),403:()=>y("default","@jupyter-notebook/application",[1,7,0,6],(()=>Promise.all([x.e(928),x.e(922)]).then((()=>()=>x(30))))),408:()=>g("default","@jupyterlab/notebook",[1,4,0,7]),4:()=>g("default","@lumino/properties",[1,2,0,0]),633:()=>g("default","@lumino/messaging",[1,2,0,0]),697:()=>g("default","@lumino/algorithm",[1,2,0,0]),717:()=>g("default","@lumino/disposable",[1,2,0,0]),797:()=>g("default","@lumino/polling",[1,2,0,0]),901:()=>g("default","@lumino/signaling",[1,2,0,0]),930:()=>g("default","@lumino/coreutils",[1,2,0,0]),981:()=>g("default","@jupyterlab/rendermime",[1,4,0,7]),987:()=>m("default","@jupyterlab/docregistry",[1,4,0,7])},k={125:[418,505,614,778,800,861],568:[403,408],922:[4,633,697,717,797,901,930,981,987]},x.f.consumes=(e,r)=>{x.o(k,e)&&k[e].forEach((e=>{if(x.o(j,e))return r.push(j[e]);var t=r=>{j[e]=0,x.m[e]=t=>{delete x.c[e],t.exports=r()}},o=r=>{delete j[e],x.m[e]=t=>{throw delete x.c[e],r}};try{var n=w[e]();n.then?r.push(j[e]=n.then(t).catch(o)):t(n)}catch(e){o(e)}}))},(()=>{var e={572:0};x.f.j=(r,t)=>{var o=x.o(e,r)?e[r]:void 0;if(0!==o)if(o)t.push(o[2]);else if(125!=r){var n=new Promise(((t,n)=>o=e[r]=[t,n]));t.push(o[2]=n);var a=x.p+x.u(r),i=new Error;x.l(a,(t=>{if(x.o(e,r)&&(0!==(o=e[r])&&(e[r]=void 0),o)){var n=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+n+": "+a+")",i.name="ChunkLoadError",i.type=n,i.request=a,o[1](i)}}),"chunk-"+r,r)}else e[r]=0};var r=(r,t)=>{var o,n,[a,i,l]=t,u=0;if(a.some((r=>0!==e[r]))){for(o in i)x.o(i,o)&&(x.m[o]=i[o]);l&&l(x)}for(r&&r(t);u<a.length;u++)n=a[u],x.o(e,n)&&e[n]&&e[n][0](),e[n]=0},t=self.webpackChunk_jupyter_notebook_lab_extension=self.webpackChunk_jupyter_notebook_lab_extension||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),x.nc=void 0;var E=x(215);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB)["@jupyter-notebook/lab-extension"]=E})();