notebook 7.3.0a0__py3-none-any.whl → 7.3.0b0__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 (233) hide show
  1. notebook/_version.py +1 -1
  2. notebook/app.py +10 -2
  3. notebook/static/113.bundle.js +1 -1
  4. notebook/static/1198.bundle.js +1 -1
  5. notebook/static/131.bundle.js +1 -1
  6. notebook/static/134.bundle.js +1 -1
  7. notebook/static/1408.bundle.js +1 -1
  8. notebook/static/1496.bundle.js +1 -1
  9. notebook/static/1584.bundle.js +1 -1
  10. notebook/static/1647.bundle.js +1 -1
  11. notebook/static/1650.bundle.js +1 -1
  12. notebook/static/1684.bundle.js +1 -1
  13. notebook/static/170.bundle.js +1 -1
  14. notebook/static/1809.bundle.js +1 -1
  15. notebook/static/1827.bundle.js +1 -1
  16. notebook/static/1828.bundle.js +1 -1
  17. notebook/static/1833.bundle.js +1 -1
  18. notebook/static/1958.bundle.js +1 -1
  19. notebook/static/1962.bundle.js +1 -1
  20. notebook/static/2007.bundle.js +1 -1
  21. notebook/static/2065.bundle.js +1 -1
  22. notebook/static/2088.bundle.js +1 -1
  23. notebook/static/2089.bundle.js +1 -1
  24. notebook/static/2122.bundle.js +1 -1
  25. notebook/static/2167.bundle.js +1 -1
  26. notebook/static/2184.bundle.js +1 -1
  27. notebook/static/2311.bundle.js +1 -1
  28. notebook/static/2401.bundle.js +1 -1
  29. notebook/static/2424.bundle.js +377 -0
  30. notebook/static/2479.bundle.js +1 -1
  31. notebook/static/2489.bundle.js +1 -1
  32. notebook/static/2607.bundle.js +1 -1
  33. notebook/static/2615.bundle.js +1 -1
  34. notebook/static/2636.bundle.js +1 -1
  35. notebook/static/2756.bundle.js +1 -1
  36. notebook/static/2813.bundle.js +1 -1
  37. notebook/static/2866.bundle.js +1 -1
  38. notebook/static/2924.bundle.js +1 -1
  39. notebook/static/2944.bundle.js +1 -1
  40. notebook/static/2955.bundle.js +1 -0
  41. notebook/static/3129.bundle.js +1 -1
  42. notebook/static/3146.bundle.js +1 -1
  43. notebook/static/3187.bundle.js +1 -1
  44. notebook/static/3213.bundle.js +1 -1
  45. notebook/static/3301.bundle.js +1 -1
  46. notebook/static/3325.bundle.js +1 -1
  47. notebook/static/3340.bundle.js +1 -1
  48. notebook/static/3360.bundle.js +1 -1
  49. notebook/static/{1261.bundle.js → 3463.bundle.js} +1 -1
  50. notebook/static/3466.bundle.js +1 -1
  51. notebook/static/35.bundle.js +1 -1
  52. notebook/static/3512.bundle.js +1 -1
  53. notebook/static/3676.bundle.js +1 -1
  54. notebook/static/3680.bundle.js +1 -1
  55. notebook/static/374.bundle.js +1 -1
  56. notebook/static/3768.bundle.js +1 -1
  57. notebook/static/377.bundle.js +1 -1
  58. notebook/static/3863.bundle.js +1 -1
  59. notebook/static/3881.bundle.js +1 -1
  60. notebook/static/4042.bundle.js +1 -1
  61. notebook/static/4058.bundle.js +1 -1
  62. notebook/static/409.bundle.js +1 -1
  63. notebook/static/4212.bundle.js +1 -1
  64. notebook/static/4242.bundle.js +79 -0
  65. notebook/static/4271.bundle.js +1 -1
  66. notebook/static/4291.bundle.js +1 -1
  67. notebook/static/4382.bundle.js +1 -1
  68. notebook/static/4526.bundle.js +1 -1
  69. notebook/static/4588.bundle.js +1 -1
  70. notebook/static/4630.bundle.js +1 -1
  71. notebook/static/4645.bundle.js +1 -1
  72. notebook/static/4811.bundle.js +1 -1
  73. notebook/static/4837.bundle.js +1 -1
  74. notebook/static/5099.bundle.js +1 -1
  75. notebook/static/5135.bundle.js +1 -1
  76. notebook/static/5166.bundle.js +1 -1
  77. notebook/static/5234.bundle.js +1 -1
  78. notebook/static/5254.bundle.js +1 -1
  79. notebook/static/5261.bundle.js +1 -1
  80. notebook/static/5263.bundle.js +1 -0
  81. notebook/static/5313.bundle.js +1 -1
  82. notebook/static/5325.bundle.js +1 -1
  83. notebook/static/5346.bundle.js +1 -1
  84. notebook/static/5426.bundle.js +1 -1
  85. notebook/static/5430.bundle.js +653 -0
  86. notebook/static/545.bundle.js +1 -1
  87. notebook/static/5451.bundle.js +1 -1
  88. notebook/static/5573.bundle.js +1 -1
  89. notebook/static/5601.bundle.js +1 -1
  90. notebook/static/5649.bundle.js +3 -3
  91. notebook/static/5733.bundle.js +1 -1
  92. notebook/static/5828.bundle.js +1 -1
  93. notebook/static/5850.bundle.js +1 -1
  94. notebook/static/5912.bundle.js +1 -1
  95. notebook/static/5921.bundle.js +1 -1
  96. notebook/static/6017.bundle.js +1 -1
  97. notebook/static/6061.bundle.js +1 -1
  98. notebook/static/6139.bundle.js +1 -1
  99. notebook/static/62.bundle.js +1 -1
  100. notebook/static/6271.bundle.js +1 -1
  101. notebook/static/6345.bundle.js +1 -1
  102. notebook/static/6604.bundle.js +1 -1
  103. notebook/static/6621.bundle.js +1 -1
  104. notebook/static/6627.bundle.js +1 -1
  105. notebook/static/6648.bundle.js +1 -0
  106. notebook/static/6731.bundle.js +1 -1
  107. notebook/static/6748.bundle.js +1 -1
  108. notebook/static/677.bundle.js +1 -1
  109. notebook/static/6815.bundle.js +1 -1
  110. notebook/static/6853.bundle.js +1 -1
  111. notebook/static/6893.bundle.js +1 -1
  112. notebook/static/690.bundle.js +1 -1
  113. notebook/static/6962.bundle.js +1 -1
  114. notebook/static/6999.bundle.js +1 -1
  115. notebook/static/7226.bundle.js +1 -1
  116. notebook/static/7252.bundle.js +1 -1
  117. notebook/static/7302.bundle.js +1 -1
  118. notebook/static/7386.bundle.js +1 -1
  119. notebook/static/7391.bundle.js +1 -1
  120. notebook/static/7450.bundle.js +1 -1
  121. notebook/static/7543.bundle.js +1 -1
  122. notebook/static/755.bundle.js +1 -1
  123. notebook/static/7603.bundle.js +1 -1
  124. notebook/static/7639.bundle.js +1 -1
  125. notebook/static/7655.bundle.js +1 -1
  126. notebook/static/{4427.bundle.js → 7674.bundle.js} +1 -1
  127. notebook/static/7684.bundle.js +1 -1
  128. notebook/static/7812.bundle.js +1 -1
  129. notebook/static/7819.bundle.js +1 -1
  130. notebook/static/7821.bundle.js +1 -1
  131. notebook/static/7854.bundle.js +1 -1
  132. notebook/static/7866.bundle.js +1 -0
  133. notebook/static/7900.bundle.js +1 -1
  134. notebook/static/7906.bundle.js +1 -1
  135. notebook/static/7995.bundle.js +1 -1
  136. notebook/static/8010.bundle.js +1 -1
  137. notebook/static/8032.bundle.js +1 -1
  138. notebook/static/8471.bundle.js +1 -1
  139. notebook/static/8579.bundle.js +1 -1
  140. notebook/static/8633.bundle.js +1 -1
  141. notebook/static/8635.bundle.js +41 -0
  142. notebook/static/8771.bundle.js +1 -1
  143. notebook/static/8781.bundle.js +1 -1
  144. notebook/static/8875.bundle.js +1 -1
  145. notebook/static/8907.bundle.js +1 -1
  146. notebook/static/8928.bundle.js +1 -1
  147. notebook/static/8929.bundle.js +1 -1
  148. notebook/static/893.bundle.js +1 -1
  149. notebook/static/901.bundle.js +1 -1
  150. notebook/static/9068.bundle.js +1 -1
  151. notebook/static/911.bundle.js +1 -1
  152. notebook/static/9136.bundle.js +1 -1
  153. notebook/static/9151.bundle.js +1 -1
  154. notebook/static/9161.bundle.js +1 -1
  155. notebook/static/9268.bundle.js +1 -1
  156. notebook/static/9335.bundle.js +1 -1
  157. notebook/static/9341.bundle.js +1 -1
  158. notebook/static/9380.bundle.js +1 -1
  159. notebook/static/9605.bundle.js +1 -1
  160. notebook/static/9638.bundle.js +1 -1
  161. notebook/static/9672.bundle.js +352 -0
  162. notebook/static/9680.bundle.js +1 -1
  163. notebook/static/9685.bundle.js +1 -1
  164. notebook/static/9752.bundle.js +1 -1
  165. notebook/static/9799.bundle.js +1 -0
  166. notebook/static/9821.bundle.js +1 -1
  167. notebook/static/9852.bundle.js +1 -1
  168. notebook/static/bundle.js +1 -1
  169. notebook/static/third-party-licenses.json +127 -133
  170. notebook/templates/consoles.html +1 -1
  171. notebook/templates/edit.html +1 -1
  172. notebook/templates/error.html +1 -1
  173. notebook/templates/notebooks.html +1 -1
  174. notebook/templates/terminals.html +1 -1
  175. notebook/templates/tree.html +1 -1
  176. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/package.json.orig +17 -17
  177. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/documentsearch-extension/package.json.orig +5 -5
  178. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/package.json.orig +6 -6
  179. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/package.json.orig +11 -11
  180. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/package.json.orig +18 -18
  181. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/widget.json +0 -1
  182. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/package.json +13 -13
  183. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/package.json.orig +12 -12
  184. notebook-7.3.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.6d49b092e49dc147dc54.js → notebook-7.3.0b0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.67f8b11d2af855286118.js +1 -1
  185. notebook-7.3.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/646.57a345a80ce9f0e64830.js → notebook-7.3.0b0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/907.767373e59d0c0e33ef12.js +1 -1
  186. notebook-7.3.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.7bcc163b9139ecb2b25b.js → notebook-7.3.0b0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.50419fa0a72e54064396.js +1 -1
  187. notebook-7.3.0b0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.fd0956ebf15f666a19f8.js +1 -0
  188. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/third-party-licenses.json +2 -2
  189. {notebook-7.3.0a0.dist-info → notebook-7.3.0b0.dist-info}/METADATA +2 -2
  190. {notebook-7.3.0a0.dist-info → notebook-7.3.0b0.dist-info}/RECORD +213 -222
  191. {notebook-7.3.0a0.dist-info → notebook-7.3.0b0.dist-info}/WHEEL +1 -1
  192. notebook/static/1226.bundle.js +0 -1
  193. notebook/static/1750.bundle.js +0 -1
  194. notebook/static/1884.bundle.js +0 -386
  195. notebook/static/4045.bundle.js +0 -1
  196. notebook/static/4434.bundle.js +0 -1
  197. notebook/static/5018.bundle.js +0 -1
  198. notebook/static/5712.bundle.js +0 -1
  199. notebook/static/6164.bundle.js +0 -1
  200. notebook/static/6318.bundle.js +0 -1
  201. notebook/static/6619.bundle.js +0 -1
  202. notebook/static/6898.bundle.js +0 -1
  203. notebook/static/7506.bundle.js +0 -703
  204. notebook/static/7579.bundle.js +0 -1
  205. notebook/static/8054.bundle.js +0 -1
  206. notebook/static/8647.bundle.js +0 -1
  207. notebook/static/8723.bundle.js +0 -1
  208. notebook/static/9092.bundle.js +0 -1
  209. notebook/static/9734.bundle.js +0 -1
  210. notebook/static/9906.bundle.js +0 -1
  211. notebook-7.3.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.9381fdb35e72f41d8af1.js +0 -1
  212. /notebook/static/{7506.bundle.js.LICENSE.txt → 4242.bundle.js.LICENSE.txt} +0 -0
  213. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/etc/jupyter/jupyter_server_config.d/notebook.json +0 -0
  214. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/applications/jupyter-notebook.desktop +0 -0
  215. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/icons/hicolor/scalable/apps/notebook.svg +0 -0
  216. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/menus.json +0 -0
  217. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/pages.json +0 -0
  218. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json +0 -0
  219. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/title.json +0 -0
  220. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/top.json +0 -0
  221. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/zen.json +0 -0
  222. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/open.json +0 -0
  223. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/checkpoints.json +0 -0
  224. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/edit-notebook-metadata.json +0 -0
  225. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/kernel-logo.json +0 -0
  226. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json +0 -0
  227. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/file-actions.json +0 -0
  228. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/interface-switcher.json +0 -0
  229. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/launch-tree.json +0 -0
  230. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/93.eae3497dd223d842d198.js +0 -0
  231. {notebook-7.3.0a0.data → notebook-7.3.0b0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/style.js +0 -0
  232. {notebook-7.3.0a0.dist-info → notebook-7.3.0b0.dist-info}/entry_points.txt +0 -0
  233. {notebook-7.3.0a0.dist-info → notebook-7.3.0b0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,79 @@
1
+ /*! For license information please see 4242.bundle.js.LICENSE.txt */
2
+ (self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[4242],{74242:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AddButton:()=>cr,Button:()=>u,Collapser:()=>_t,CommandPaletteSvg:()=>da,CommandToolbarButton:()=>Ro,CommandToolbarButtonComponent:()=>Lo,ContextMenuSvg:()=>ua,DEFAULT_STYLE_CLASS:()=>vr,DEFAULT_UI_OPTIONS:()=>or,DockPanelSvg:()=>ga,DropButton:()=>lr,FilenameSearcher:()=>Ko,FilterBox:()=>qo,FormComponent:()=>gr,FormRendererRegistry:()=>_a,HTMLSelect:()=>wr,HTML_SELECT_CLASS:()=>fr,HoverBox:()=>ya,IFormRendererRegistry:()=>ba,IFrame:()=>yr,ILabIconManager:()=>xa,IRankedMenu:()=>_r,InputGroup:()=>xr,LabIcon:()=>x,MenuSvg:()=>pa,MoveButton:()=>ar,PanelWithToolbar:()=>$o,RankedMenu:()=>jr,ReactWidget:()=>Co,ReactiveToolbar:()=>Ao,SidePanel:()=>Xo,Spinner:()=>Qo,Styling:()=>Jo,Switch:()=>ea,TABLE_CLASS:()=>ta,TabBarSvg:()=>ma,TabPanelSvg:()=>va,Table:()=>na,Toolbar:()=>Fo,ToolbarButton:()=>Bo,ToolbarButtonComponent:()=>zo,UseSignal:()=>Io,VDomModel:()=>Mo,VDomRenderer:()=>jo,WindowedLayout:()=>aa,WindowedList:()=>oa,WindowedListModel:()=>ra,addAboveIcon:()=>C,addBelowIcon:()=>j,addCommandToolbarButtonClass:()=>No,addIcon:()=>I,addToolbarButtonClass:()=>Do,badIcon:()=>_,bellIcon:()=>M,blankIcon:()=>S,bugDotIcon:()=>k,bugIcon:()=>E,buildIcon:()=>T,caretDownEmptyIcon:()=>F,caretDownEmptyThinIcon:()=>A,caretDownIcon:()=>z,caretLeftIcon:()=>D,caretRightIcon:()=>O,caretUpEmptyThinIcon:()=>B,caretUpIcon:()=>L,caseSensitiveIcon:()=>N,checkIcon:()=>R,circleEmptyIcon:()=>H,circleIcon:()=>P,classes:()=>a,classesDedupe:()=>l,cleaningIcon:()=>$,clearIcon:()=>V,closeIcon:()=>W,codeCheckIcon:()=>U,codeIcon:()=>q,collapseAllIcon:()=>K,collapseIcon:()=>G,consoleIcon:()=>Y,copyIcon:()=>J,copyrightIcon:()=>Z,cutIcon:()=>X,deleteIcon:()=>Q,downloadIcon:()=>ee,duplicateIcon:()=>te,editIcon:()=>ne,ellipsesIcon:()=>se,errorIcon:()=>ie,expandAllIcon:()=>re,expandIcon:()=>oe,extensionIcon:()=>ae,fastForwardIcon:()=>le,fileIcon:()=>ce,fileUploadIcon:()=>de,filterDotIcon:()=>he,filterIcon:()=>ue,filterListIcon:()=>pe,folderFavoriteIcon:()=>me,folderIcon:()=>ge,fuzzySearch:()=>Wo,getReactAttrs:()=>c,getTreeItemElement:()=>h,historyIcon:()=>ve,homeIcon:()=>fe,html5Icon:()=>we,imageIcon:()=>ye,infoIcon:()=>be,inspectorIcon:()=>xe,jsonIcon:()=>_e,juliaIcon:()=>Se,jupyterFaviconIcon:()=>Ce,jupyterIcon:()=>je,jupyterlabWordmarkIcon:()=>Ie,kernelIcon:()=>Me,keyboardIcon:()=>ke,launchIcon:()=>Ee,launcherIcon:()=>Te,lineFormIcon:()=>Fe,linkIcon:()=>Ae,listIcon:()=>ze,lockIcon:()=>De,markdownIcon:()=>Oe,mermaidIcon:()=>Be,moveDownIcon:()=>Le,moveUpIcon:()=>Ne,newFolderIcon:()=>Re,notTrustedIcon:()=>He,notebookIcon:()=>Pe,numberingIcon:()=>$e,offlineBoltIcon:()=>Ve,paletteIcon:()=>We,pasteIcon:()=>Ue,pdfIcon:()=>qe,pythonIcon:()=>Ke,rKernelIcon:()=>Ge,reactIcon:()=>Ye,redoIcon:()=>Je,refreshIcon:()=>Ze,regexIcon:()=>Xe,runIcon:()=>Qe,runningIcon:()=>et,saveIcon:()=>tt,searchIcon:()=>nt,settingsIcon:()=>st,shareIcon:()=>it,spreadsheetIcon:()=>rt,stopIcon:()=>ot,tabIcon:()=>at,tableRowsIcon:()=>lt,tagIcon:()=>ct,terminalIcon:()=>dt,textEditorIcon:()=>ht,tocIcon:()=>ut,treeViewIcon:()=>pt,trustedIcon:()=>mt,undoIcon:()=>gt,updateFilterFunction:()=>Uo,userIcon:()=>vt,usersIcon:()=>ft,vegaIcon:()=>wt,wordIcon:()=>yt,yamlIcon:()=>bt});var s=n(78156),i=n.n(s),r=n(20754);function o(e){return e.map((e=>e&&"object"==typeof e?Object.keys(e).map((t=>!!e[t]&&t)):"string"==typeof e?e.split(/\s+/):[])).reduce(((e,t)=>e.concat(t)),[]).filter((e=>!!e))}function a(...e){return o(e).join(" ")}function l(...e){return[...new Set(o(e))].join(" ")}function c(e,{ignore:t=[]}={}){return e.getAttributeNames().reduce(((n,s)=>("style"===s||t.includes(s)||(s.startsWith("data")?n[s]=e.getAttribute(s):n[r.Text.camelCase(s)]=e.getAttribute(s)),n)),{})}function d(e){return e instanceof HTMLElement&&"treeitem"===e.getAttribute("role")}function h(e){let t=e;for(;t&&!d(t);)t=t.parentElement;return d(t)?t:null}function u(e){const{minimal:t,small:n,children:s,...r}=e;return i().createElement("button",{...r,className:a(e.className,t?"jp-mod-minimal":"",n?"jp-mod-small":"","jp-Button")},s)}var p=n(2159),m=n(2260),g=n(21961),v=n(37634);const f='<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n <path fill="#616161" d="M9 13.5c-2.49 0-4.5-2.01-4.5-4.5S6.51 4.5 9 4.5c1.24 0 2.36.52 3.17 1.33L10 8h5V3l-1.76 1.76A6 6 0 0 0 9 3C5.69 3 3.01 5.69 3.01 9S5.69 15 9 15a5.98 5.98 0 0 0 5.9-5h-1.52c-.46 2-2.24 3.5-4.38 3.5" class="jp-icon3"/>\n</svg>\n';var w,y,b=n(73062);!function(e){const t={breadCrumb:{container:{$nest:{"&:first-child svg":{bottom:"1px",marginLeft:"0px",position:"relative"},"&:hover":{backgroundColor:"var(--jp-layout-color2)"},".jp-mod-dropTarget&":{backgroundColor:"var(--jp-brand-color2)",opacity:.7}}},element:{borderRadius:"var(--jp-border-radius)",cursor:"pointer",margin:"0px 2px",padding:"0px 2px",height:"16px",width:"16px",verticalAlign:"middle"}},commandPaletteHeader:{container:{height:"14px",margin:"0 14px 0 auto"},element:{height:"14px",width:"14px"},options:{elementPosition:"center"}},commandPaletteItem:{element:{height:"16px",width:"16px"},options:{elementPosition:"center"}},launcherCard:{container:{height:"52px",width:"52px"},element:{height:"52px",width:"52px"},options:{elementPosition:"center"}},launcherSection:{container:{boxSizing:"border-box",marginRight:"12px",height:"32px",width:"32px"},element:{height:"32px",width:"32px"},options:{elementPosition:"center"}},listing:{container:{flex:"0 0 20px",marginRight:"4px",position:"relative"},element:{height:"16px",width:"16px"},options:{elementPosition:"center"}},listingHeaderItem:{container:{display:"inline",height:"16px",width:"16px"},element:{height:"auto",margin:"-2px 0 0 0",width:"20px"},options:{elementPosition:"center"}},mainAreaTab:{container:{$nest:{".lm-DockPanel-tabBar &":{marginRight:"4px"}}},element:{$nest:{".lm-DockPanel-tabBar &":{height:"14px",width:"14px"}}},options:{elementPosition:"center"}},menuItem:{container:{display:"inline-block",verticalAlign:"middle"},element:{height:"16px",width:"16px"},options:{elementPosition:"center"}},runningItem:{container:{margin:"0px 4px 0px 4px"},element:{height:"16px",width:"16px"},options:{elementPosition:"center"}},select:{container:{pointerEvents:"none"},element:{position:"absolute",height:"auto",width:"16px"}},settingsEditor:{container:{display:"flex",flex:"0 0 20px",margin:"0 3px 0 0",position:"relative",height:"20px",width:"20px"},element:{height:"16px",width:"16px"},options:{elementPosition:"center"}},sideBar:{element:{height:"auto",width:"20px"},options:{elementPosition:"center"}},splash:{container:{animation:"0.3s fade-in linear forwards",height:"100%",width:"100%",zIndex:1},element:{width:"100px"},options:{elementPosition:"center"}},statusBar:{element:{left:"0px",top:"0px",height:"18px",width:"20px",position:"relative"}},toolbarButton:{container:{display:"inline-block",verticalAlign:"middle"},element:{height:"16px",width:"16px"},options:{elementPosition:"center"}}};function n(e){return{container:{alignItems:"center",display:"flex"},element:{display:"block",...e}}}const s={center:n({margin:"0 auto",width:"100%"}),top:n({margin:"0 0 auto 0"}),right:n({margin:"0 0 0 auto"}),bottom:n({margin:"auto 0 0 0"}),left:n({margin:"0 auto 0 0"}),"top right":n({margin:"0 0 auto auto"}),"bottom right":n({margin:"auto 0 0 auto"}),"bottom left":n({margin:"auto auto 0 0"}),"top left":n({margin:"0 auto 0 auto"})};function i(e){return{element:{height:e,width:e}}}const r={small:i("14px"),normal:i("16px"),large:i("20px"),xlarge:i("24px")};const o=new Map;e.styleClass=function(e){if(!e||0===Object.keys(e).length)return"";let{elementPosition:n,elementSize:i,stylesheet:a,...l}=e;const c={...n&&{elementPosition:n},...i&&{elementSize:i}},d="string"==typeof a&&0===Object.keys(l).length,h=d?[a,n,i].join(","):"";if(d&&o.has(h))return o.get(h);const u=function(e){return e?(Array.isArray(e)||(e=[e]),e.map((e=>"string"==typeof e?t[e]:e))):[]}(a);u.push({element:l,options:c});const p=function(e){var t;return(0,b.oB)({...e.container,$nest:{...null===(t=e.container)||void 0===t?void 0:t.$nest,svg:e.element}})}(function(e){const t=Object.assign({},...e.map((e=>e.options)));return t.elementPosition&&e.unshift(s[t.elementPosition]),t.elementSize&&e.unshift(r[t.elementSize]),function(e){return{container:Object.assign({},...e.map((e=>e.container))),element:Object.assign({},...e.map((e=>e.element)))}}(e)}(u));return d&&o.set(h,p),p}}(w||(w={}));class x{static remove(e){for(;e.firstChild;)e.firstChild.remove();return e.className="",e}static resolve({icon:e}){if(e instanceof x)return e;if("string"==typeof e){return x._instances.get(e)||(x._debug&&console.warn(`Lookup failed for icon, creating loading icon. icon: ${e}`),new x({name:e,svgstr:f,_loading:!0}))}return new x(e)}static resolveElement({icon:e,iconClass:t,fallback:n,...s}){return y.isResolvable(e)?x.resolve({icon:e}).element(s):!t&&n?n.element(s):(s.className=a(t,s.className),y.blankElement(s))}static resolveReact({icon:e,iconClass:t,fallback:n,...s}){if(!y.isResolvable(e))return!t&&n?i().createElement(n.react,{...s}):(s.className=a(t,s.className),i().createElement(y.blankReact,{...s}));const r=x.resolve({icon:e});return i().createElement(r.react,{...s})}static resolveSvg({name:e,svgstr:t}){const n=(new DOMParser).parseFromString(y.svgstrShim(t),"image/svg+xml"),s=n.querySelector("parsererror");if(s){const n=`SVG HTML was malformed for LabIcon instance.\nname: ${e}, svgstr: ${t}`;return x._debug?(console.error(n),s):(console.warn(n),null)}return n.documentElement}static toggleDebug(e){x._debug=null!=e?e:!x._debug}constructor({name:e,svgstr:t,render:n,unrender:s,_loading:i=!1}){if(this._props={},this._svgReplaced=new p.Signal(this),this._svgElement=void 0,this._svgInnerHTML=void 0,this._svgReactAttrs=void 0,!e||!t)return console.error(`When defining a new LabIcon, name and svgstr must both be non-empty strings. name: ${e}, svgstr: ${t}`),_;if(this._loading=i,x._instances.has(e)){const n=x._instances.get(e);return this._loading?(n.svgstr=t,this._loading=!1,n):(x._debug&&console.warn(`Redefining previously loaded icon svgstr. name: ${e}, svgstrOld: ${n.svgstr}, svgstr: ${t}`),n.svgstr=t,n)}this.name=e,this.react=this._initReact(e),this.svgstr=t,this._initRender({render:n,unrender:s}),x._instances.set(this.name,this)}bindprops(e){const t=Object.create(this);return t._props=e,t.react=t._initReact(t.name+"_bind"),t}element(e={}){var t;let{className:n,container:s,label:i,title:r,tag:o="div",...a}={...this._props,...e};const l=null==s?void 0:s.firstChild;if((null===(t=null==l?void 0:l.dataset)||void 0===t?void 0:t.iconId)===this._uuid)return l;if(!this.svgElement)return document.createElement("div");if(s)for(;s.firstChild;)s.firstChild.remove();else o&&(s=document.createElement(o));const c=this.svgElement.cloneNode(!0);return s?(null!=i&&(s.textContent=i),y.initContainer({container:s,className:n,styleProps:a,title:r}),s.appendChild(c),s):(i&&console.warn(),c)}render(e,t){var n;let s=null===(n=null==t?void 0:t.children)||void 0===n?void 0:n[0];"string"!=typeof s&&(s=void 0),this.element({container:e,label:s,...null==t?void 0:t.props})}get svgElement(){return void 0===this._svgElement&&(this._svgElement=this._initSvg({uuid:this._uuid})),this._svgElement}get svgInnerHTML(){return void 0===this._svgInnerHTML&&(null===this.svgElement?this._svgInnerHTML=null:this._svgInnerHTML=this.svgElement.innerHTML),this._svgInnerHTML}get svgReactAttrs(){return void 0===this._svgReactAttrs&&(null===this.svgElement?this._svgReactAttrs=null:this._svgReactAttrs=c(this.svgElement,{ignore:["data-icon-id"]})),this._svgReactAttrs}get svgstr(){return this._svgstr}set svgstr(e){this._svgstr=e;const t=g.UUID.uuid4(),n=this._uuid;this._uuid=t,this._svgElement=void 0,this._svgInnerHTML=void 0,this._svgReactAttrs=void 0,document.querySelectorAll(`[data-icon-id="${n}"]`).forEach((e=>{this.svgElement&&e.replaceWith(this.svgElement.cloneNode(!0))})),this._svgReplaced.emit()}_initReact(e){const t=i().forwardRef(((e={},t)=>{const{className:n,container:s,label:r,title:o,slot:l,tag:c="div",...d}={...this._props,...e},[,h]=i().useState(this._uuid);i().useEffect((()=>{const e=()=>{h(this._uuid)};return this._svgReplaced.connect(e),()=>{this._svgReplaced.disconnect(e)}}));const u=null!=c?c:i().Fragment;if(!this.svgInnerHTML||!this.svgReactAttrs)return i().createElement(i().Fragment,null);const p={...this.svgReactAttrs};c||Object.assign(p,{className:n||d?a(n,w.styleClass(d)):void 0,title:o,slot:l});const m=i().createElement("svg",{...p,...this.svgReactAttrs,dangerouslySetInnerHTML:{__html:this.svgInnerHTML},ref:t});if(s)return y.initContainer({container:s,className:n,styleProps:d,title:o}),i().createElement(i().Fragment,null,m,r);{let e={};return u!==i().Fragment&&(e={className:n||d?a(n,w.styleClass(d)):void 0,title:o,slot:l}),i().createElement(u,{...e},m,r)}}));return t.displayName=`LabIcon_${e}`,t}_initRender({render:e,unrender:t}){e?(this.render=e,t&&(this.unrender=t)):t&&console.warn("In _initRender, ignoring unrender arg since render is undefined")}_initSvg({title:e,uuid:t}={}){const n=x.resolveSvg(this);return n?("parsererror"!==n.tagName&&(n.dataset.icon=this.name,t&&(n.dataset.iconId=t),e&&y.setTitleSvg(n,e)),n):n}}x._debug=!1,x._instances=new Map,function(e){function t({container:e,className:t,styleProps:n,title:s}){null!=s&&(e.title=s);const i=w.styleClass(n);if(null!=t){const n=a(t,i);return e.className=n,n}return i?(e.classList.add(i),i):""}e.blankElement=function({className:t="",container:n,label:s,title:i,tag:r="div",slot:o,...a}){if((null==n?void 0:n.className)===t)return n;if(n)for(;n.firstChild;)n.firstChild.remove();else n=document.createElement(null!=r?r:"div");return null!=s&&(n.textContent=s),e.initContainer({container:n,className:t,styleProps:a,title:i}),n},e.blankReact=i().forwardRef((({className:e="",container:n,label:s,title:r,tag:o="div",...l},c)=>{const d=null!=o?o:"div";return n?(t({container:n,className:e,styleProps:l,title:r}),i().createElement(i().Fragment,null)):i().createElement(d,{className:a(e,w.styleClass(l))},c&&S.react({ref:c}),s)})),e.blankReact.displayName="BlankReact",e.initContainer=t,e.isResolvable=function(e){return!(!e||!("string"==typeof e||e.name&&e.svgstr))},e.setTitleSvg=function(e,t){const n=e.getElementsByTagName("title");if(n.length)n[0].textContent=t;else{const n=document.createElement("title");n.textContent=t,e.appendChild(n)}},e.svgstrShim=function(e,t=!0){const[,n,s]=decodeURIComponent(e).replace(/>\s*\n\s*</g,"><").replace(/\s*\n\s*/g," ").match(t?/^(?:data:.*?(;base64)?,)?(.*)/:/(?:(base64).*)?(<svg.*)/);return n?atob(s):s};class n{constructor(e,t){this._icon=e,this._rendererOptions=t}render(e,t){}}e.Renderer=n,e.ElementRenderer=class extends n{render(e,t){var n,s;let i=null===(n=null==t?void 0:t.children)||void 0===n?void 0:n[0];"string"!=typeof i&&(i=void 0),this._icon.element({container:e,label:i,...null===(s=this._rendererOptions)||void 0===s?void 0:s.props,...null==t?void 0:t.props})}},e.ReactRenderer=class extends n{constructor(){super(...arguments),this._rootDOM=null}render(e,t){var n,s;let r=null===(n=null==t?void 0:t.children)||void 0===n?void 0:n[0];"string"!=typeof r&&(r=void 0);const o=this._icon;null!==this._rootDOM&&this._rootDOM.unmount(),this._rootDOM=(0,v.s)(e),this._rootDOM.render(i().createElement(o.react,{container:e,label:r,...null===(s=this._rendererOptions)||void 0===s?void 0:s.props,...null==t?void 0:t.props}))}unrender(e){null!==this._rootDOM&&(this._rootDOM.unmount(),this._rootDOM=null)}}}(y||(y={}));const _=new x({name:"ui-components:bad",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <path\n class="jp-icon0"\n fill="#000"\n d="M24 20.188l-8.315-8.209 8.2-8.282-3.697-3.697-8.212 8.318-8.31-8.203-3.666 3.666 8.321 8.24-8.206 8.313 3.666 3.666 8.237-8.318 8.285 8.203z"\n />\n</svg>\n'}),S=new x({name:"ui-components:blank",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <path\n fill="#000"\n fill-opacity="0.0"\n d="M24 20.188l-8.315-8.209 8.2-8.282-3.697-3.697-8.212 8.318-8.31-8.203-3.666 3.666 8.321 8.24-8.206 8.313 3.666 3.666 8.237-8.318 8.285 8.203z"\n />\n</svg>\n'}),C=new x({name:"ui-components:add-above",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="none" viewBox="0 0 14 14">\n <g clip-path="url(#addabovea)">\n <path fill="#616161" stroke="#616161" stroke-width=".7" d="M4.75 4.93h1.875v1.876c0 .206.169.375.375.375a.376.376 0 0 0 .375-.375V4.93H9.25a.376.376 0 0 0 .375-.375.376.376 0 0 0-.375-.375H7.375V2.306A.376.376 0 0 0 7 1.93a.376.376 0 0 0-.375.375V4.18H4.75a.376.376 0 0 0-.375.375c0 .206.169.375.375.375Z" class="jp-icon3"/>\n </g>\n <path fill="#616161" fill-rule="evenodd" d="M11.5 9.5v2h-9v-2zM12 8a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z" class="jp-icon3" clip-rule="evenodd"/>\n <defs>\n <clipPath id="addabovea">\n <path fill="#fff" d="M10 1.556H4v6h6z" class="jp-icon3"/>\n </clipPath>\n </defs>\n</svg>\n'}),j=new x({name:"ui-components:add-below",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="none" viewBox="0 0 14 14">\n <g clip-path="url(#addbelowa)">\n <path fill="#616161" stroke="#616161" stroke-width=".7" d="M9.25 10.07H7.375V8.193A.376.376 0 0 0 7 7.82a.376.376 0 0 0-.375.375v1.875H4.75a.376.376 0 0 0-.375.375c0 .207.169.375.375.375h1.875v1.875c0 .207.169.375.375.375a.376.376 0 0 0 .375-.375V10.82H9.25a.376.376 0 0 0 .375-.375.376.376 0 0 0-.375-.375Z" class="jp-icon3"/>\n </g>\n <path fill="#616161" fill-rule="evenodd" d="M2.5 5.5v-2h9v2zM2 7a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1z" class="jp-icon3" clip-rule="evenodd"/>\n <defs>\n <clipPath id="addbelowa">\n <path fill="#fff" d="M4 13.444h6v-6H4z" class="jp-icon3"/>\n </clipPath>\n </defs>\n</svg>\n'}),I=new x({name:"ui-components:add",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z" class="jp-icon3"/>\n</svg>\n'}),M=new x({name:"ui-components:bell",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" version="1.1" viewBox="0 0 16 16">\n <path fill="#333" d="M8 .29c-1.4 0-2.7.73-3.6 1.8-1.2 1.5-1.4 3.4-1.5 5.2-.18 2.2-.44 4-2.3 5.3l.28 1.3h5c.026.66.32 1.1.71 1.5.84.61 2 .61 2.8 0 .52-.4.6-1 .71-1.5h5l.28-1.3c-1.9-.97-2.2-3.3-2.3-5.3-.13-1.8-.26-3.7-1.5-5.2-.85-1-2.2-1.8-3.6-1.8zm0 1.4c.88 0 1.9.55 2.5 1.3.88 1.1 1.1 2.7 1.2 4.4.13 1.7.23 3.6 1.3 5.2H3c1.1-1.6 1.2-3.4 1.3-5.2.13-1.7.3-3.3 1.2-4.4.59-.72 1.6-1.3 2.5-1.3m-.74 12h1.5c-.001.28.015.79-.74.79-.73.002-.72-.53-.74-.79z" class="jp-icon2 jp-icon-selectable"/>\n</svg>\n'}),k=new x({name:"ui-components:bug-dot",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">\n <g fill="#616161" class="jp-icon3 jp-icon-selectable">\n <path fill-rule="evenodd" d="M17.19 8H20v2h-2.09c.05.33.09.66.09 1v1h2v2h-2v.027a4.5 4.5 0 0 0-3.545 6.447A5.997 5.997 0 0 1 6.81 18H4v-2h2.09c-.05-.33-.09-.66-.09-1v-1H4v-2h2v-1c0-.34.04-.67.09-1H4V8h2.81c.45-.78 1.07-1.45 1.81-1.96L7 4.41 8.41 3l2.18 2.17c.45-.11.92-.17 1.41-.17s.96.06 1.42.17L15.59 3 17 4.41l-1.63 1.63c.75.51 1.37 1.18 1.82 1.96M10 16h4v-2h-4zm0-4h4v-2h-4z" clip-rule="evenodd"/>\n <path d="M22 18.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0"/>\n </g>\n</svg>\n'}),E=new x({name:"ui-components:bug",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M20 8h-2.81a6 6 0 0 0-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5s-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20zm-6 8h-4v-2h4zm0-4h-4v-2h4z" class="jp-icon3 jp-icon-selectable"/>\n</svg>\n'}),T=new x({name:"ui-components:build",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M14.9 17.45c1.35 0 2.45-1.1 2.45-2.45s-1.1-2.45-2.45-2.45c-1.36 0-2.45 1.1-2.45 2.45s1.09 2.45 2.45 2.45m5.2-1.77 1.48 1.16c.13.11.17.29.08.45l-1.4 2.42a.35.35 0 0 1-.43.15l-1.74-.7c-.36.28-.76.51-1.18.69l-.27 1.85c-.02.17-.17.3-.34.3h-2.8c-.18 0-.32-.13-.35-.3l-.26-1.85c-.43-.18-.82-.41-1.18-.69l-1.75.7c-.15.06-.34 0-.42-.15l-1.4-2.42a.35.35 0 0 1 .08-.45l1.48-1.16-.05-.68.05-.69-1.48-1.15a.35.35 0 0 1-.08-.45l1.4-2.42c.08-.16.27-.22.42-.16l1.75.71c.36-.28.75-.52 1.18-.69l.26-1.86c.03-.16.17-.29.35-.29h2.8c.17 0 .32.13.34.29l.27 1.86c.42.17.82.41 1.18.69l1.74-.71c.17-.06.34 0 .43.16l1.4 2.42c.09.15.05.34-.08.45l-1.48 1.15.05.69zM7.33 7.445A1.566 1.566 0 0 0 7.904 5.3a1.575 1.575 0 1 0-.574 2.145m2.327-2.65 1.21.157c.096.025.173.12.171.236v1.8a.214.214 0 0 1-.183.223l-1.195.17-.42.75.43 1.126c.037.106 0 .22-.096.275l-1.559.9a.23.23 0 0 1-.294-.05l-.734-.95-.878-.001-.762.96c-.058.08-.173.1-.275.043l-1.56-.901a.23.23 0 0 1-.101-.276l.452-1.116-.246-.366-.194-.396-1.192-.166a.23.23 0 0 1-.189-.226V5.186c.002-.117.077-.206.175-.217l1.204-.175.446-.766-.456-1.11a.23.23 0 0 1 .104-.28l1.56-.9a.225.225 0 0 1 .285.054l.76.936.86.01.745-.949a.214.214 0 0 1 .284-.048l1.56.9a.24.24 0 0 1 .118.267l-.47 1.126.246.366z" class="jp-icon3"/>\n</svg>\n'}),F=new x({name:"ui-components:caret-down-empty",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n <path fill="#616161" d="M5.2 5.9 9 9.7l3.8-3.8L14 7.1l-4.9 5-4.9-5z" class="jp-icon3" shape-rendering="geometricPrecision"/>\n</svg>\n'}),A=new x({name:"ui-components:caret-down-empty-thin",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 20 20">\n <path fill="#616161" d="M9.9 13.6 3.6 7.4l.8-.8 5.5 5.6 5.5-5.5.7.7z" class="jp-icon3" shape-rendering="geometricPrecision"/>\n</svg>\n'}),z=new x({name:"ui-components:caret-down",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n <path fill="#616161" d="M5.2 7.5 9 11.2l3.8-3.8H5.2z" class="jp-icon3" shape-rendering="geometricPrecision"/>\n</svg>\n'}),D=new x({name:"ui-components:caret-left",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n <path fill="#616161" d="M10.8 12.8 7.1 9l3.8-3.8v7.6z" class="jp-icon3" shape-rendering="geometricPrecision"/>\n</svg>\n'}),O=new x({name:"ui-components:caret-right",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n <path fill="#616161" d="M7.2 5.2 10.9 9l-3.8 3.8V5.2z" class="jp-icon3" shape-rendering="geometricPrecision"/>\n</svg>\n'}),B=new x({name:"ui-components:caret-up-empty-thin",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 20 20">\n <path fill="#616161" d="M15.4 13.3 9.9 7.7l-5.5 5.5-.8-.7 6.3-6.2 6.2 6.3z" class="jp-icon3" shape-rendering="geometricPrecision"/>\n</svg>\n'}),L=new x({name:"ui-components:caret-up",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n <path fill="#616161" d="M5.2 10.5 9 6.8l3.8 3.8H5.2z" class="jp-icon3" shape-rendering="geometricPrecision"/>\n</svg>\n'}),N=new x({name:"ui-components:case-sensitive",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 20 20">\n <path fill="#414141" d="M2 2h16v16H2z" class="jp-icon2"/>\n <path fill="#FFF" d="M7.6 8h.9l3.5 8h-1.1l-.9-2H6l-.9 2H4zM8 9.1 6.4 13h3.2zm8.6.7c-.2.1-.4.1-.7.1-.2 0-.4-.1-.6-.2-.1-.1-.2-.4-.2-.7-.3.3-.6.5-.9.7-.3.1-.7.2-1.1.2-.3 0-.5 0-.7-.1l-.6-.3c-.2-.1-.3-.3-.4-.5s-.1-.4-.1-.7.1-.6.2-.8.3-.4.4-.5c.1 0 .3-.1.6-.2.2-.1.5-.1.7-.2.3-.1.5-.1.7-.1s.4-.1.6-.1.3-.1.4-.2.2-.2.2-.4c0-1-1.1-1-1.3-1-.4 0-1.4 0-1.4 1.2h-.9c0-.4.1-.7.2-1 .1-.2.3-.4.5-.6s.5-.3.8-.3c.3-.1.6-.1.9-.1s.5 0 .8.1c.3 0 .5.1.7.2s.4.3.5.5.1.4.1.8V9c0 .1.1.2.3.2h.3zm-1.4-2.9c-1.2.6-3.1.2-3.1 1.4 0 1.4 3.1 1 3.1-.5z" class="jp-icon-accent2"/>\n</svg>\n'}),R=new x({name:"ui-components:check",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" class="jp-icon3 jp-icon-selectable"/>\n</svg>\n'}),H=new x({name:"ui-components:circle-empty",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8" class="jp-icon3"/>\n</svg>\n'}),P=new x({name:"ui-components:circle",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n <circle cx="9" cy="9" r="8" fill="#616161" class="jp-icon3"/>\n</svg>\n'}),$=new x({name:"ui-components:cleaning",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <path fill="#616161" d="M16 11h-1V3c0-1.1-.9-2-2-2h-2c-1.1 0-2 .9-2 2v8H8c-2.76 0-5 2.24-5 5v7h18v-7c0-2.76-2.24-5-5-5m3 10h-2v-3c0-.55-.45-1-1-1s-1 .45-1 1v3h-2v-3c0-.55-.45-1-1-1s-1 .45-1 1v3H9v-3c0-.55-.45-1-1-1s-1 .45-1 1v3H5v-5c0-1.65 1.35-3 3-3h8c1.65 0 3 1.35 3 3z" class="jp-icon3"/>\n</svg>\n'}),V=new x({name:"ui-components:clear",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <mask id="cleara">\n <path fill="#fff" d="M0 0h24v24H0z"/>\n <circle cx="12" cy="12" r="8" fill="#000"/>\n </mask>\n <g fill="#616161" class="jp-icon3">\n <path d="M4.929 6.343 6.343 4.93l12.728 12.728-1.414 1.414z"/>\n <circle cx="12" cy="12" r="10" mask="url(#cleara)"/>\n </g>\n</svg>\n'}),W=new x({name:"ui-components:close",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <circle cx="12" cy="12" r="11" fill="none" class="jp-icon-none jp-icon-selectable-inverse jp-icon3-hover"/>\n <path fill="#616161" d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" class="jp-icon3 jp-icon-selectable jp-icon-accent2-hover"/>\n <circle cx="12" cy="12" r="7" fill="none" class="jp-icon-none jp-icon-busy"/>\n</svg>\n'}),U=new x({name:"ui-components:code-check",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" viewBox="0 0 24 24">\n <path fill="#616161" d="M6.59 3.41 2 8l4.59 4.6L8 11.18 4.82 8 8 4.82zm5.82 0L11 4.82 14.18 8 11 11.18l1.41 1.42L17 8zm9.18 8.18-8.09 8.09L9.83 16l-1.41 1.41 5.08 5.09L23 13z" class="jp-icon3 jp-icon-selectable" shape-rendering="geometricPrecision"/>\n</svg>\n'}),q=new x({name:"ui-components:code",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28">\n <path fill="#616161" d="M11.4 18.6 6.8 14l4.6-4.6L10 8l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L18 8l6 6-6 6z" class="jp-icon3"/>\n</svg>\n'}),K=new x({name:"ui-components:collapse-all",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g fill="#616161" class="jp-icon3">\n <path d="M8 2h12c1 0 2 1 2 2v12c0 1 0 2-2 2V4H6c0-2 1-2 2-2"/>\n <path d="M18 8c0-1-1-2-2-2H4C3 6 2 7 2 8v12c0 1 1 2 2 2h12c1 0 2-1 2-2zm-2 0v12H4V8z"/>\n <path d="M6 13v2h8v-2z"/>\n </g>\n</svg>\n'}),G=new x({name:"ui-components:collapse",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 8.5 10.5">\n <g fill="#BDBDBD" class="jp-icon-output">\n <path d="M.019 0h8.458v1.064H.019zM0 9.52h8.491v1.059H0zm4.776-6.608H3.72V1.323h1.056z"/>\n <path d="m4.244 5.243-1.06-1.167-1.06-1.167h4.24l-1.06 1.167zm.528 4.014H3.716V7.665h1.056z"/>\n <path d="M4.242 5.332 5.302 6.5l1.06 1.167h-4.24L3.182 6.5z"/>\n </g>\n</svg>\n'}),Y=new x({name:"ui-components:console",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 200 200">\n <path fill="#0288D1" d="M20 19.8h160v159.9H20z" class="jp-console-icon-background-color jp-icon-selectable"/>\n <path fill="#fff" d="M105 127.3h40v12.8h-40zM51.1 77 74 99.9l-23.3 23.3 10.5 10.5 23.3-23.3L95 99.9 84.5 89.4 61.6 66.5z" class="jp-console-icon-color jp-icon-selectable-inverse"/>\n</svg>\n'}),J=new x({name:"ui-components:copy",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n <path fill="#616161" d="M11.9 1H3.2c-.8 0-1.5.7-1.5 1.5v10.2h1.5V2.5h8.7zm2.2 2.9h-8c-.8 0-1.5.7-1.5 1.5v10.2c0 .8.7 1.5 1.5 1.5h8c.8 0 1.5-.7 1.5-1.5V5.4c-.1-.8-.7-1.5-1.5-1.5m0 11.6h-8V5.4h8z" class="jp-icon3"/>\n</svg>\n'}),Z=new x({name:"ui-components:copyright",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <path fill="#616161" d="M11.88 9.14c1.28.06 1.61 1.15 1.63 1.66h1.79c-.08-1.98-1.49-3.19-3.45-3.19C9.64 7.61 8 9 8 12.14c0 1.94.93 4.24 3.84 4.24 2.22 0 3.41-1.65 3.44-2.95h-1.79c-.03.59-.45 1.38-1.63 1.44-1.31-.04-1.86-1.06-1.86-2.73 0-2.89 1.28-2.98 1.88-3M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8" class="jp-icon3"/>\n</svg>\n'}),X=new x({name:"ui-components:cut",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M9.64 7.64c.23-.5.36-1.05.36-1.64 0-2.21-1.79-4-4-4S2 3.79 2 6s1.79 4 4 4c.59 0 1.14-.13 1.64-.36L10 12l-2.36 2.36C7.14 14.13 6.59 14 6 14c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4c0-.59-.13-1.14-.36-1.64L12 14l7 7h3v-1zM6 8c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2m0 12c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2m6-7.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5M19 3l-6 6 2 2 7-7V3z" class="jp-icon3"/>\n</svg>\n'}),Q=new x({name:"ui-components:delete",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24">\n <path fill="#626262" d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z" class="jp-icon3"/>\n</svg>\n'}),ee=new x({name:"ui-components:download",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M19 9h-4V3H9v6H5l7 7zM5 18v2h14v-2z" class="jp-icon3"/>\n</svg>\n'}),te=new x({name:"ui-components:duplicate",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="none" viewBox="0 0 14 14">\n <path fill="#616161" fill-rule="evenodd" d="M2.8.875h6.096c.305 0 .554.264.554.587s-.25.587-.554.587H3.354c-.305 0-.554.264-.554.587V9.68c0 .322-.25.587-.554.587s-.554-.264-.554-.587V2.049c0-.646.498-1.174 1.108-1.174M5.367 11.9V4.55h5.716v7.35zM4.142 4.142c0-.451.365-.817.816-.817h6.534c.45 0 .816.366.816.817v8.166a.817.817 0 0 1-.816.817H4.958a.817.817 0 0 1-.816-.817z" class="jp-icon3" clip-rule="evenodd"/>\n <path fill="#616161" stroke="#616161" stroke-width=".5" d="M9.436 8.265H8.364v1.071a.215.215 0 0 1-.214.215.215.215 0 0 1-.214-.215v-1.07H6.864a.215.215 0 0 1-.214-.215c0-.118.096-.215.214-.215h1.072v-1.07a.214.214 0 1 1 .428-.001v1.072h1.072c.118 0 .214.096.214.214a.215.215 0 0 1-.214.214Z" class="jp-icon3"/>\n</svg>\n'}),ne=new x({name:"ui-components:edit",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z" class="jp-icon3"/>\n</svg>\n'}),se=new x({name:"ui-components:ellipses",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g fill="#616161" class="jp-icon3">\n <circle cx="5" cy="12" r="2"/>\n <circle cx="12" cy="12" r="2"/>\n <circle cx="19" cy="12" r="2"/>\n </g>\n</svg>\n'}),ie=new x({name:"ui-components:error",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g fill="#616161" class="jp-icon3">\n <circle cx="12" cy="19" r="2"/>\n <path d="M10 3h4v12h-4z"/>\n </g>\n</svg>\n'}),re=new x({name:"ui-components:expand-all",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g fill="#616161" class="jp-icon3">\n <path d="M8 2h12c1 0 2 1 2 2v12c0 1 0 2-2 2V4H6c0-2 1-2 2-2"/>\n <path d="M18 8c0-1-1-2-2-2H4C3 6 2 7 2 8v12c0 1 1 2 2 2h12c1 0 2-1 2-2zm-2 0v12H4V8z"/>\n <path d="M11 10H9v3H6v2h3v3h2v-3h3v-2h-3z"/>\n </g>\n</svg>\n'}),oe=new x({name:"ui-components:expand",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 8.5 10.5">\n <g fill="#BDBDBD" class="jp-icon-output">\n <path d="M.019 0h8.458v1.064H.019zM0 9.521h8.491v1.059H0zm3.712-5.822h1.056v1.589H3.712z"/>\n <path d="m4.244 1.368 1.06 1.167 1.06 1.167h-4.24l1.06-1.167zm-.532 3.92h1.056V6.88H3.712z"/>\n <path d="m4.242 9.213-1.06-1.167-1.06-1.167h4.24l-1.06 1.167z"/>\n </g>\n</svg>\n'}),ae=new x({name:"ui-components:extension",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M20.5 11H19V7c0-1.1-.9-2-2-2h-4V3.5a2.5 2.5 0 0 0-5 0V5H4c-1.1 0-1.99.9-1.99 2v3.8H3.5c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V20c0 1.1.9 2 2 2h3.8v-1.5c0-1.49 1.21-2.7 2.7-2.7s2.7 1.21 2.7 2.7V22H17c1.1 0 2-.9 2-2v-4h1.5a2.5 2.5 0 0 0 0-5" class="jp-icon3"/>\n</svg>\n'}),le=new x({name:"ui-components:fast-forward",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <path fill="#616161" d="m4 18 8.5-6L4 6zm9-12v12l8.5-6z" class="jp-icon3"/>\n</svg>\n'}),ce=new x({name:"ui-components:file",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <path fill="#616161" d="m19.3 8.2-5.5-5.5c-.3-.3-.7-.5-1.2-.5H3.9c-.8.1-1.6.9-1.6 1.8v14.1c0 .9.7 1.6 1.6 1.6h14.2c.9 0 1.6-.7 1.6-1.6V9.4c.1-.5-.1-.9-.4-1.2m-5.8-3.3 3.4 3.6h-3.4zm3.9 12.7H4.7c-.1 0-.2 0-.2-.2V4.7c0-.2.1-.3.2-.3h7.2v4.4s0 .8.3 1.1 1.1.3 1.1.3h4.3v7.2s-.1.2-.2.2" class="jp-icon3 jp-icon-selectable"/>\n</svg>\n'}),de=new x({name:"ui-components:file-upload",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z" class="jp-icon3"/>\n</svg>\n'}),he=new x({name:"ui-components:filter-dot",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#FFF" d="M14 12v7.88c.04.3-.06.62-.29.83a.996.996 0 0 1-1.41 0l-2.01-2.01a.99.99 0 0 1-.29-.83V12h-.03L4.21 4.62a1 1 0 0 1 .17-1.4c.19-.14.4-.22.62-.22h14c.22 0 .43.08.62.22a1 1 0 0 1 .17 1.4L14.03 12z" class="jp-icon3"/>\n <circle cx="18" cy="17" r="3" fill="#FFF" class="jp-icon-dot"/>\n</svg>\n'}),ue=new x({name:"ui-components:filter",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#FFF" d="M14 12v7.88c.04.3-.06.62-.29.83a.996.996 0 0 1-1.41 0l-2.01-2.01a.99.99 0 0 1-.29-.83V12h-.03L4.21 4.62a1 1 0 0 1 .17-1.4c.19-.14.4-.22.62-.22h14c.22 0 .43.08.62.22a1 1 0 0 1 .17 1.4L14.03 12z" class="jp-icon3"/>\n</svg>\n'}),pe=new x({name:"ui-components:filter-list",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z" class="jp-icon3"/>\n</svg>\n'}),me=new x({name:"ui-components:folder-favorite",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="#000" viewBox="0 0 24 24">\n <path fill="#616161" d="M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-2.06 11L15 15.28 12.06 17l.78-3.33-2.59-2.24 3.41-.29L15 8l1.34 3.14 3.41.29-2.59 2.24z" class="jp-icon3 jp-icon-selectable"/>\n</svg>\n'}),ge=new x({name:"ui-components:folder",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z" class="jp-icon3 jp-icon-selectable"/>\n</svg>\n'}),ve=new x({name:"ui-components:history",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M13.5 8H12v5l4.28 2.54.72-1.21-3.5-2.08zM13 3a9 9 0 0 0-9 9H1l3.96 4.03L9 12H6a7 7 0 0 1 7-7 7 7 0 0 1 7 7 7 7 0 0 1-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42A8.9 8.9 0 0 0 13 21a9 9 0 0 0 9-9 9 9 0 0 0-9-9" class="jp-icon3"/>\n</svg>\n'}),fe=new x({name:"ui-components:home",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="#000" viewBox="0 0 24 24">\n <path fill="#616161" d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z" class="jp-icon3 jp-icon-selectable"/>\n</svg>\n'}),we=new x({name:"ui-components:html5",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 512 512">\n <path fill="#000" d="M108.4 0h23v22.8h21.2V0h23v69h-23V46h-21v23h-23.2M206 23h-20.3V0h63.7v23H229v46h-23m53.5-69h24.1l14.8 24.3L313.2 0h24.1v69h-23V34.8l-16.1 24.8-16.1-24.8V69h-22.6m89.2-69h23v46.2h32.6V69h-55.6" class="jp-icon0 jp-icon-selectable"/>\n <path fill="#e44d26" d="m107.6 471-33-370.4h362.8l-33 370.2L255.7 512" class="jp-icon-selectable"/>\n <path fill="#f16529" d="M256 480.5V131h148.3L376 447" class="jp-icon-selectable"/>\n <path fill="#ebebeb" d="M142 176.3h114v45.4h-64.2l4.2 46.5h60v45.3H154.4m2 22.8H202l3.2 36.3 50.8 13.6v47.4l-93.2-26" class="jp-icon-selectable-inverse"/>\n <path fill="#fff" d="M369.6 176.3H255.8v45.4h109.6m-4.1 46.5H255.8v45.4h56l-5.3 59-50.7 13.6v47.2l93-25.8" class="jp-icon-selectable-inverse"/>\n</svg>\n'}),ye=new x({name:"ui-components:image",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <path fill="#FFF" d="M2.2 2.2h17.5v17.5H2.2z" class="jp-icon-brand4 jp-icon-selectable-inverse"/>\n <path fill="#3F51B5" d="M2.2 2.2v17.5h17.5l.1-17.5zm12.1 2.2c1.2 0 2.2 1 2.2 2.2s-1 2.2-2.2 2.2-2.2-1-2.2-2.2 1-2.2 2.2-2.2M4.4 17.6l3.3-8.8 3.3 6.6 2.2-3.2 4.4 5.4z" class="jp-icon-brand0 jp-icon-selectable"/>\n</svg>\n'}),be=new x({name:"ui-components:info",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 50.978 50.978">\n <g fill="#616161" class="jp-icon3">\n <path d="M43.52 7.458C38.711 2.648 32.307 0 25.489 0 18.67 0 12.266 2.648 7.458 7.458c-9.943 9.941-9.943 26.119 0 36.062 4.809 4.809 11.212 7.456 18.031 7.458h.002c6.816 0 13.221-2.648 18.029-7.458 4.809-4.809 7.457-11.212 7.457-18.03 0-6.82-2.649-13.224-7.457-18.032m-1.414 34.647c-4.432 4.431-10.332 6.872-16.615 6.872h-.002c-6.285-.001-12.187-2.441-16.617-6.872-9.162-9.163-9.162-24.071 0-33.233C13.303 4.44 19.204 2 25.489 2c6.284 0 12.186 2.44 16.617 6.872 4.431 4.431 6.871 10.332 6.871 16.617 0 6.283-2.441 12.186-6.871 16.616"/>\n <path d="M23.578 32.218q-.034-2.602.496-3.972t2.272-3.253q.702-.805 1.367-1.575.939-1.13 1.436-2.175.496-1.061.495-2.5 0-1.643-.779-2.979-.848-1.319-2.806-1.369-2.703.085-3.55 1.832a5.3 5.3 0 0 0-.607 1.814 11.3 11.3 0 0 0-.207 2.174h-2.937q-.136-3.312 1.493-5.719 1.593-2.459 5.378-2.527 3.24.034 5.141 1.758 1.918 1.74 1.95 4.811 0 1.712-.41 2.911a7.6 7.6 0 0 1-1.268 2.243 22 22 0 0 1-1.73 2.002 34 34 0 0 0-1.987 2.346 5.2 5.2 0 0 0-.565 1.199q-.24 1.438-.171 2.979zm0 6.002v-3.484h3.076v3.484z"/>\n </g>\n</svg>\n'}),xe=new x({name:"ui-components:inspector",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m-5 14H4v-4h11zm0-5H4V9h11zm5 5h-4V9h4z" class="jp-inspector-icon-color jp-icon-selectable"/>\n</svg>\n'}),_e=new x({name:"ui-components:json",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <g fill="#F9A825" class="jp-json-icon-color jp-icon-selectable">\n <path d="M20.2 11.8c-1.6 0-1.7.5-1.7 1 0 .4.1.9.1 1.3.1.5.1.9.1 1.3 0 1.7-1.4 2.3-3.5 2.3h-.9v-1.9h.5c1.1 0 1.4 0 1.4-.8 0-.3 0-.6-.1-1 0-.4-.1-.8-.1-1.2 0-1.3 0-1.8 1.3-2-1.3-.2-1.3-.7-1.3-2 0-.4.1-.8.1-1.2.1-.4.1-.7.1-1 0-.8-.4-.7-1.4-.8h-.5V4.1h.9c2.2 0 3.5.7 3.5 2.3 0 .4-.1.9-.1 1.3-.1.5-.1.9-.1 1.3 0 .5.2 1 1.7 1zM1.8 10.1c1.6 0 1.7-.5 1.7-1 0-.4-.1-.9-.1-1.3-.1-.5-.1-.9-.1-1.3 0-1.6 1.4-2.3 3.5-2.3h.9v1.9h-.5c-1 0-1.4 0-1.4.8 0 .3 0 .6.1 1 0 .2.1.6.1 1 0 1.3 0 1.8-1.3 2C6 11.2 6 11.7 6 13c0 .4-.1.8-.1 1.2-.1.3-.1.7-.1 1 0 .8.3.8 1.4.8h.5v1.9h-.9c-2.1 0-3.5-.6-3.5-2.3 0-.4.1-.9.1-1.3.1-.5.1-.9.1-1.3 0-.5-.2-1-1.7-1z"/>\n <circle cx="11" cy="13.8" r="2.1"/>\n <circle cx="11" cy="8.2" r="2.1"/>\n </g>\n</svg>\n'}),Se=new x({name:"ui-components:julia",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 325 300">\n <path fill="#cb3c33" d="M150.898 225c0 41.422-33.578 75-75 75s-75-33.578-75-75 33.579-75 75-75 75 33.578 75 75" class="jp-brand0 jp-icon-selectable"/>\n <path fill="#389826" d="M237.5 75c0 41.422-33.578 75-75 75s-75-33.578-75-75 33.578-75 75-75 75 33.578 75 75" class="jp-brand0 jp-icon-selectable"/>\n <path fill="#9558b2" d="M324.102 225c0 41.422-33.579 75-75 75s-75-33.578-75-75 33.578-75 75-75 75 33.578 75 75" class="jp-brand0 jp-icon-selectable"/>\n</svg>\n'}),Ce=new x({name:"ui-components:jupyter-favicon",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="152" height="165" version="1.1" viewBox="0 0 152 165">\n <path fill="#F37726" d="M76.021 140.163c-32.64 0-61.145-11.927-75.942-29.58 5.51 15.84 15.781 29.567 29.39 39.278a80.17 80.17 0 0 0 46.57 14.929 80.17 80.17 0 0 0 46.57-14.929c13.61-9.711 23.88-23.437 29.391-39.278-14.833 17.653-43.338 29.58-75.979 29.58m-.005-114.832c32.64 0 61.146 11.927 75.943 29.58a80.9 80.9 0 0 0-29.391-39.278A80.16 80.16 0 0 0 75.998.705a80.16 80.16 0 0 0-46.57 14.928A80.9 80.9 0 0 0 .038 54.912c14.832-17.617 43.338-29.58 75.978-29.58" class="jp-jupyter-icon-color"/>\n</svg>\n'}),je=new x({name:"ui-components:jupyter",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="39" height="51" viewBox="0 0 39 51">\n <path fill="#F37726" d="M20.005 38.114c-7.85 0-14.706-2.876-18.265-7.134a19.5 19.5 0 0 0 7.069 9.473 19.24 19.24 0 0 0 11.2 3.6c4.013 0 7.927-1.258 11.2-3.6a19.5 19.5 0 0 0 7.069-9.473c-3.567 4.258-10.423 7.134-18.273 7.134m-.002-27.694c7.85 0 14.706 2.876 18.265 7.133a19.5 19.5 0 0 0-7.069-9.473A19.24 19.24 0 0 0 20 4.48a19.24 19.24 0 0 0-11.2 3.6 19.5 19.5 0 0 0-7.069 9.473c3.567-4.248 10.423-7.134 18.273-7.134" class="jp-jupyter-icon-color"/>\n <path fill="#616161" d="M37.194 3.154a3 3 0 0 1-.426 1.672 2.96 2.96 0 0 1-1.275 1.153 2.93 2.93 0 0 1-3.238-.505 3 3 0 0 1-.776-3.21c.2-.553.558-1.033 1.029-1.38a2.93 2.93 0 0 1 3.733.209c.576.532.919 1.274.953 2.061M9.228 46.393a3.77 3.77 0 0 1-.536 2.11 3.73 3.73 0 0 1-1.608 1.452 3.69 3.69 0 0 1-4.082-.638 3.75 3.75 0 0 1-1.097-1.875 3.8 3.8 0 0 1 .122-2.173 3.74 3.74 0 0 1 1.299-1.739 3.696 3.696 0 0 1 4.704.268 3.76 3.76 0 0 1 1.198 2.595M2.635 9.456a2.17 2.17 0 0 1-1.227-.318 2.2 2.2 0 0 1-.845-.951A2.22 2.22 0 0 1 .935 5.77a2.16 2.16 0 0 1 2.356-.577c.405.15.757.418 1.011.77a2.21 2.21 0 0 1-.156 2.783 2.17 2.17 0 0 1-1.511.71" class="jp-icon3"/>\n</svg>\n'}),Ie=new x({name:"ui-components:jupyterlab-wordmark",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="200" viewBox="0 0 1860.8 475">\n <path fill="#4E4E4E" d="M53.324 293.087c0 48.7-3.7 64.7-13.6 76.4-10.8 10-25 15.5-39.7 15.5l3.7 29c22.8.3 44.8-7.9 61.9-23.1 17.8-18.5 24-44.1 24-83.3v-184.3h-36.4v170.1zm271.42-22.179c0 21 0 39.5 1.7 55.4h-31.8l-2.1-33.3h-.8c-6.7 11.6-16.4 21.3-28 27.9s-24.8 10-38.2 9.8c-31.4 0-69-17.7-69-89v-118.8h36.4v112.7c0 38.7 11.6 64.7 44.6 64.7 10.3-.2 20.4-3.5 28.9-9.4s15.1-14.3 18.9-23.9c2.2-6.1 3.3-12.5 3.3-18.9v-125h36.4v147.8zm68.512-81.525c0-26-.8-47-1.7-66.7h32.7l1.7 34.8h.8c7.1-12.5 17.5-22.8 30.1-29.7 12.5-7 26.7-10.3 41-9.8 48.3 0 84.7 41.7 84.7 103.3 0 73.1-43.7 109.2-91 109.2-12.1.5-24.2-2.2-35-7.8s-19.9-13.9-26.6-24.2h-.8v110.5h-36v-220zm36 54.2c.1 5.1.6 10.1 1.7 15.1 3 12.3 9.9 23.3 19.8 31.1s22.1 12.1 34.7 12.1c38.5 0 60.7-31.9 60.7-78.5 0-40.7-21.1-75.6-59.5-75.6-12.9.4-25.3 5.1-35.3 13.4-9.9 8.3-16.9 19.7-19.6 32.4-1.5 4.9-2.3 10-2.5 15.1zm217.572-120.485 43.7 120.1c4.5 13.4 9.5 29.4 12.8 41.7h.8c3.7-12.2 7.9-27.7 12.8-42.4l39.7-119.2h38.5l-54.4 144.8c-26 69.7-43.7 105.4-68.6 127.2-12.5 11.7-27.9 20-44.6 23.9l-9.1-31.1c11.7-3.9 22.5-10.1 31.8-18.1 13.2-11.1 23.7-25.2 30.6-41.2 1.5-2.8 2.5-5.7 2.9-8.8-.3-3.3-1.2-6.6-2.5-9.7l-73.8-187.1h39.7zM890.649 64.65v58.3h52v28.2h-52v109.5c0 25 7 39.5 27.3 39.5 7.1.1 14.2-.7 21.1-2.5l1.7 27.7c-10.3 3.7-21.3 5.4-32.2 5-7.3.4-14.6-.7-21.3-3.4-6.8-2.7-12.9-6.8-17.9-12.1-10.3-10.9-14.1-29-14.1-52.9v-110.8h-31v-28.2h31v-48.7zm119.111 166.711c.8 50 32.2 70.6 68.6 70.6 19 .6 37.9-3 55.3-10.5l6.2 26.4c-20.9 8.9-43.5 13.1-66.2 12.6-61.5 0-98.3-41.2-98.3-102.5 0-61.4 35.5-109.6 93.7-109.6 65.2 0 82.7 58.3 82.7 95.7-.1 5.8-.5 11.5-1.2 17.2h-140.8zm106.6-26.4c.4-23.5-9.5-60.1-50.4-60.1-36.8 0-52.8 34.4-55.7 60.1zm88.317-18.505c0-23.9-.4-44.5-1.7-63.4h31.8l1.2 39.9h1.7c9.1-27.3 31-44.5 55.3-44.5 3.5-.1 7 .4 10.3 1.2v34.8c-4.1-.9-8.2-1.3-12.4-1.2-25.6 0-43.7 19.7-48.7 47.4-1 5.7-1.6 11.5-1.7 17.2v108.3h-36v-139.7z" class="jp-icon2"/>\n <path fill="#F37726" d="M1352.3 326.2h37V28h-37zm252.5 0c-2.5-13.9-3.4-31.1-3.4-48.7v-76c0-40.7-15.1-83.1-77.3-83.1-25.6 0-50 7.1-66.8 18.1l8.4 24.4c14.3-9.2 34-15.1 53-15.1 41.6 0 46.2 30.2 46.2 47v4.2c-78.6-.4-122.3 26.5-122.3 75.6 0 29.4 21 58.4 62.2 58.4 29 0 50.9-14.3 62.2-30.2h1.3l2.9 25.6h33.6zm-39.1-68.5c0 3.8-.8 8-2.1 11.8-5.9 17.2-22.7 34-49.2 34-18.9 0-34.9-11.3-34.9-35.3 0-39.5 45.8-46.6 86.2-45.8zm132.8 68.5 1.7-33.6h1.3c15.1 26.9 38.7 38.2 68.1 38.2 45.4 0 91.2-36.1 91.2-108.8.4-61.7-35.3-103.7-85.7-103.7-32.8 0-56.3 14.7-69.3 37.4h-.8V28h-36.6v245.7c0 18.1-.8 38.6-1.7 52.5zm6.3-118c0-5.9 1.3-10.9 2.1-15.1 7.6-28.1 31.1-45.4 56.3-45.4 39.5 0 60.5 34.9 60.5 75.6 0 46.6-23.1 78.1-61.8 78.1-26.9 0-48.3-17.6-55.5-43.3-.8-4.2-1.7-8.8-1.7-13.4v-36.5z" class="jp-jupyter-icon-color"/>\n</svg>\n'}),Me=new x({name:"ui-components:kernel",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M15 9H9v6h6zm-2 4h-2v-2h2zm8-2V9h-2V7c0-1.1-.9-2-2-2h-2V3h-2v2h-2V3H9v2H7c-1.1 0-2 .9-2 2v2H3v2h2v2H3v2h2v2c0 1.1.9 2 2 2h2v2h2v-2h2v2h2v-2h2c1.1 0 2-.9 2-2v-2h2v-2h-2v-2zm-4 6H7V7h10z" class="jp-icon2"/>\n</svg>\n'}),ke=new x({name:"ui-components:keyboard",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m-9 3h2v2h-2zm0 3h2v2h-2zM8 8h2v2H8zm0 3h2v2H8zm-1 2H5v-2h2zm0-3H5V8h2zm9 7H8v-2h8zm0-4h-2v-2h2zm0-3h-2V8h2zm3 3h-2v-2h2zm0-3h-2V8h2z" class="jp-icon3 jp-icon-selectable"/>\n</svg>\n'}),Ee=new x({name:"ui-components:launch",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="32" viewBox="0 0 32 32">\n <g fill="#616161" class="jp-icon3 jp-icon-selectable">\n <path d="M26 28H6a2.003 2.003 0 0 1-2-2V6a2.003 2.003 0 0 1 2-2h10v2H6v20h20V16h2v10a2.003 2.003 0 0 1-2 2"/>\n <path d="M20 2v2h6.586L18 12.586 19.414 14 28 5.414V12h2V2z"/>\n </g>\n</svg>\n'}),Te=new x({name:"ui-components:launcher",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M19 19H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z" class="jp-icon3 jp-icon-selectable"/>\n</svg>\n'}),Fe=new x({name:"ui-components:line-form",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#fff" d="M5.88 4.12 13.76 12l-7.88 7.88L8 22l10-10L8 2z"/>\n</svg>\n'}),Ae=new x({name:"ui-components:link",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5" class="jp-icon3"/>\n</svg>\n'}),ze=new x({name:"ui-components:list",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M19 5v14H5V5zm1.1-2H3.9c-.5 0-.9.4-.9.9v16.2c0 .4.4.9.9.9h16.2c.4 0 .9-.5.9-.9V3.9c0-.5-.5-.9-.9-.9M11 7h6v2h-6zm0 4h6v2h-6zm0 4h6v2h-6zM7 7h2v2H7zm0 4h2v2H7zm0 4h2v2H7z" class="jp-icon2 jp-icon-selectable"/>\n</svg>\n'}),De=new x({name:"ui-components:lock",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 23">\n <path fill="#333" d="M12 17a2 2 0 0 0 2-2 2 2 0 0 0-2-2 2 2 0 0 0-2 2 2 2 0 0 0 2 2m6-9a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2h1V6a5 5 0 0 1 5-5 5 5 0 0 1 5 5v2zm-6-5a3 3 0 0 0-3 3v2h6V6a3 3 0 0 0-3-3" class="jp-icon4"/>\n</svg>\n'}),Oe=new x({name:"ui-components:markdown",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <path fill="#7B1FA2" d="M5 14.9h12l-6.1 6zm9.4-6.8c0-1.3-.1-2.9-.1-4.5-.4 1.4-.9 2.9-1.3 4.3l-1.3 4.3h-2L8.5 7.9c-.4-1.3-.7-2.9-1-4.3-.1 1.6-.1 3.2-.2 4.6L7 12.4H4.8l.7-11h3.3L10 5c.4 1.2.7 2.7 1 3.9.3-1.2.7-2.6 1-3.9l1.2-3.7h3.3l.6 11h-2.4z" class="jp-icon-contrast0 jp-icon-selectable"/>\n</svg>\n'}),Be=new x({name:"ui-components:mermaid",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" version="1.1" viewBox="0 0 491 675">\n <path fill="#ff3670" d="M85 92c-46 0-85 37-85 85v321c0 46 37 85 85 85h321c46 0 85-37 85-85V177c0-46-37-85-85-85zm-2 111c72-3.1 139 41 162 109 25-67 91-112 162-109 2.4 57-25 111-72 144-24 16-39 44-39 74v51H192v-51c.08-29-15-57-39-74-47-32-75-86-72-144z" class="jp-icon-contrast2 jp-icon-selectable"/>\n</svg>\n'}),Le=new x({name:"ui-components:move-down",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="none" viewBox="0 0 14 14">\n <path fill="#616161" d="M12.471 7.529a.748.748 0 0 0-1.057-1.058L7.75 10.127V1.75a.75.75 0 0 0-1.5 0v8.378l-3.653-3.66a.753.753 0 1 0-1.065 1.064l4.76 4.76a1 1 0 0 0 1.415 0z" class="jp-icon3"/>\n</svg>\n'}),Ne=new x({name:"ui-components:move-up",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="none" viewBox="0 0 14 14">\n <path fill="#616161" d="M1.529 6.471a.748.748 0 0 0 1.057 1.058L6.25 3.873v8.377a.75.75 0 0 0 1.5 0V3.873l3.653 3.659a.753.753 0 1 0 1.065-1.064l-4.76-4.76a1 1 0 0 0-1.415 0z" class="jp-icon3"/>\n</svg>\n'}),Re=new x({name:"ui-components:new-folder",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M20 6h-8l-2-2H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2m-1 8h-3v3h-2v-3h-3v-2h3V9h2v3h3z" class="jp-icon3"/>\n</svg>\n'}),He=new x({name:"ui-components:not-trusted",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" fill="none" viewBox="0 0 25 25">\n <path stroke="#333" stroke-width="2" d="M4.86 14.44c-1.034-2.67-.996-5.382-.61-7.24 1.232-.267 2.83-.797 4.351-1.355a92 92 0 0 0 4.387-1.75 68 68 0 0 0 4.23 1.748c1.532.57 3.182 1.11 4.536 1.37.382 1.859.417 4.564-.615 7.228-1.109 2.862-3.472 5.743-8.139 7.494-4.667-1.75-7.03-4.632-8.14-7.494Zm11.824-5.12-7.368 7.365m7.368-.001L9.316 9.319" class="jp-icon2"/>\n</svg>\n'}),Pe=new x({name:"ui-components:notebook",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <g fill="#EF6C00" class="jp-notebook-icon-color jp-icon-selectable">\n <path d="M18.7 3.3v15.4H3.3V3.3zm1.5-1.5H1.8v18.3h18.3z"/>\n <path d="m16.5 16.5-5.4-4.3-5.6 4.3v-11h11z"/>\n </g>\n</svg>\n'}),$e=new x({name:"ui-components:numbering",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28">\n <path fill="#616161" d="M4 19h2v.5H5v1h1v.5H4v1h3v-4H4zm1-9h1V6H4v1h1zm-1 3h1.8L4 15.1v.9h3v-1H5.2L7 12.9V12H4zm5-6v2h14V7zm0 14h14v-2H9zm0-6h14v-2H9z" class="jp-icon3"/>\n</svg>\n'}),Ve=new x({name:"ui-components:offline-bolt",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M12 2.02c-5.51 0-9.98 4.47-9.98 9.98s4.47 9.98 9.98 9.98 9.98-4.47 9.98-9.98S17.51 2.02 12 2.02M11.48 20v-6.26H8L13 4v6.26h3.35z" class="jp-icon3"/>\n</svg>\n'}),We=new x({name:"ui-components:palette",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g fill="#616161" class="jp-icon3">\n <path d="M18 13v7H4V6h5.02c.05-.71.22-1.38.48-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5zm1.3-4.11c.44-.7.7-1.51.7-2.39C20 4.01 17.99 2 15.5 2S11 4.01 11 6.5s2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21 13.42 22.42 12zM15.5 9a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5"/>\n <path fill-rule="evenodd" d="M4 6h5.019a6.5 6.5 0 0 0 3.015 6H9v2h7v-1.019c.57-.043 1.12-.16 1.64-.341L18 13v7H4zm4 2H6v2h2zm-2 4h2v2H6zm2 4H6v2h2zm1 0h7v2H9z" clip-rule="evenodd"/>\n </g>\n</svg>\n'}),Ue=new x({name:"ui-components:paste",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <path fill="#616161" d="M19 2h-4.18C14.4.84 13.3 0 12 0S9.6.84 9.18 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m7 18H5V4h2v3h10V4h2z" class="jp-icon3"/>\n</svg>\n'}),qe=new x({name:"ui-components:pdf",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <path fill="#FF2A2A" d="m17.933 13.667 3.987 3.987-1.117 1.117-2.51-2.51-1.066 1.067 2.36 2.36-1.117 1.117-2.36-2.36-2.43 2.429-1.477-1.478zm-6.163-3.93-3.496 3.496.53.53q.905.906 1.83.932.929.031 1.784-.825.852-.852.822-1.773t-.94-1.83zm-.36-2.594 1.557 1.558q1.305 1.305 1.754 2.13.456.825.468 1.727.015.79-.296 1.493-.31.702-.951 1.343-.649.648-1.355.963-.702.31-1.493.295-.905-.015-1.738-.472-.829-.46-2.118-1.75L5.68 12.874zm-5.76-5.76L8.1 3.835Q9.195 4.93 9.291 6q.103 1.07-.795 1.968-.901.902-1.976.802-1.067-.1-2.16-1.193l-.975-.975L1.397 8.59-.08 7.113Zm.406 2.548-1.6 1.6.817.818q.43.43.871.457.445.023.829-.361t.357-.825-.457-.871z" class="jp-icon-selectable"/>\n</svg>\n'}),Ke=new x({name:"ui-components:python",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="-10 -10 131.161 132.389">\n <path fill="#306998" d="M54.919 0c-4.584.022-8.961.413-12.813 1.095C30.76 3.099 28.7 7.295 28.7 15.032v10.219h26.813v3.406H18.638c-7.793 0-14.616 4.684-16.75 13.594-2.462 10.213-2.571 16.586 0 27.25 1.905 7.938 6.457 13.594 14.25 13.594h9.218v-12.25c0-8.85 7.657-16.657 16.75-16.657h26.782c7.454 0 13.406-6.138 13.406-13.625v-25.53c0-7.267-6.13-12.726-13.406-13.938C64.282.328 59.502-.02 54.918 0m-14.5 8.22c2.77 0 5.031 2.298 5.031 5.125 0 2.816-2.262 5.093-5.031 5.093-2.78 0-5.031-2.277-5.031-5.093 0-2.827 2.251-5.125 5.03-5.125" class="jp-icon-selectable"/>\n <path fill="#ffd43b" d="M85.638 28.657v11.906c0 9.231-7.826 17-16.75 17H42.106c-7.336 0-13.406 6.279-13.406 13.625V96.72c0 7.266 6.319 11.54 13.406 13.625 8.488 2.495 16.627 2.946 26.782 0 6.75-1.955 13.406-5.888 13.406-13.625V86.5H55.513v-3.405H95.7c7.793 0 10.696-5.436 13.406-13.594 2.8-8.399 2.68-16.476 0-27.25-1.925-7.758-5.604-13.594-13.406-13.594zM70.575 93.313c2.78 0 5.031 2.278 5.031 5.094 0 2.827-2.251 5.125-5.031 5.125-2.77 0-5.031-2.298-5.031-5.125 0-2.816 2.261-5.094 5.031-5.094" class="jp-icon-selectable"/>\n</svg>\n'}),Ge=new x({name:"ui-components:r-kernel",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <path fill="#2196F3" d="M4.4 2.5c1.2-.1 2.9-.3 4.9-.3 2.5 0 4.1.4 5.2 1.3 1 .7 1.5 1.9 1.5 3.5 0 2-1.4 3.5-2.9 4.1 1.2.4 1.7 1.6 2.2 3 .6 1.9 1 3.9 1.3 4.6h-3.8c-.3-.4-.8-1.7-1.2-3.7s-1.2-2.6-2.6-2.6h-.9v6.4H4.4zm3.7 6.9h1.4c1.9 0 2.9-.9 2.9-2.3s-1-2.3-2.8-2.3c-.7 0-1.3 0-1.6.2v4.5h.1z" class="jp-icon-contrast3 jp-icon-selectable"/>\n</svg>\n'}),Ye=new x({name:"ui-components:react",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="150 150 541.9 295.3">\n <g fill="#61DAFB" class="jp-icon-brand2 jp-icon-selectable">\n <path d="M666.3 296.5c0-32.5-40.7-63.3-103.1-82.4 14.4-63.6 8-114.2-20.2-130.4-6.5-3.8-14.1-5.6-22.4-5.6v22.3c4.6 0 8.3.9 11.4 2.6 13.6 7.8 19.5 37.5 14.9 75.7-1.1 9.4-2.9 19.3-5.1 29.4-19.6-4.8-41-8.5-63.5-10.9-13.5-18.5-27.5-35.3-41.6-50 32.6-30.3 63.2-46.9 84-46.9V78c-27.5 0-63.5 19.6-99.9 53.6-36.4-33.8-72.4-53.2-99.9-53.2v22.3c20.7 0 51.4 16.5 84 46.6-14 14.7-28 31.4-41.3 49.9-22.6 2.4-44 6.1-63.6 11-2.3-10-4-19.7-5.2-29-4.7-38.2 1.1-67.9 14.6-75.8 3-1.8 6.9-2.6 11.5-2.6V78.5c-8.4 0-16 1.8-22.6 5.6-28.1 16.2-34.4 66.7-19.9 130.1-62.2 19.2-102.7 49.9-102.7 82.3 0 32.5 40.7 63.3 103.1 82.4-14.4 63.6-8 114.2 20.2 130.4 6.5 3.8 14.1 5.6 22.5 5.6 27.5 0 63.5-19.6 99.9-53.6 36.4 33.8 72.4 53.2 99.9 53.2 8.4 0 16-1.8 22.6-5.6 28.1-16.2 34.4-66.7 19.9-130.1 62-19.1 102.5-49.9 102.5-82.3m-130.2-66.7c-3.7 12.9-8.3 26.2-13.5 39.5-4.1-8-8.4-16-13.1-24-4.6-8-9.5-15.8-14.4-23.4 14.2 2.1 27.9 4.7 41 7.9m-45.8 106.5c-7.8 13.5-15.8 26.3-24.1 38.2-14.9 1.3-30 2-45.2 2-15.1 0-30.2-.7-45-1.9-8.3-11.9-16.4-24.6-24.2-38-7.6-13.1-14.5-26.4-20.8-39.8 6.2-13.4 13.2-26.8 20.7-39.9 7.8-13.5 15.8-26.3 24.1-38.2 14.9-1.3 30-2 45.2-2 15.1 0 30.2.7 45 1.9 8.3 11.9 16.4 24.6 24.2 38 7.6 13.1 14.5 26.4 20.8 39.8-6.3 13.4-13.2 26.8-20.7 39.9m32.3-13c5.4 13.4 10 26.8 13.8 39.8-13.1 3.2-26.9 5.9-41.2 8 4.9-7.7 9.8-15.6 14.4-23.7 4.6-8 8.9-16.1 13-24.1M421.2 430c-9.3-9.6-18.6-20.3-27.8-32 9 .4 18.2.7 27.5.7 9.4 0 18.7-.2 27.8-.7-9 11.7-18.3 22.4-27.5 32m-74.4-58.9c-14.2-2.1-27.9-4.7-41-7.9 3.7-12.9 8.3-26.2 13.5-39.5 4.1 8 8.4 16 13.1 24q7.05 12 14.4 23.4M420.7 163c9.3 9.6 18.6 20.3 27.8 32-9-.4-18.2-.7-27.5-.7-9.4 0-18.7.2-27.8.7 9-11.7 18.3-22.4 27.5-32m-74 58.9c-4.9 7.7-9.8 15.6-14.4 23.7-4.6 8-8.9 16-13 24-5.4-13.4-10-26.8-13.8-39.8 13.1-3.1 26.9-5.8 41.2-7.9m-90.5 125.2c-35.4-15.1-58.3-34.9-58.3-50.6s22.9-35.6 58.3-50.6c8.6-3.7 18-7 27.7-10.1 5.7 19.6 13.2 40 22.5 60.9-9.2 20.8-16.6 41.1-22.2 60.6-9.9-3.1-19.3-6.5-28-10.2M310 490c-13.6-7.8-19.5-37.5-14.9-75.7 1.1-9.4 2.9-19.3 5.1-29.4 19.6 4.8 41 8.5 63.5 10.9 13.5 18.5 27.5 35.3 41.6 50-32.6 30.3-63.2 46.9-84 46.9-4.5-.1-8.3-1-11.3-2.7m237.2-76.2c4.7 38.2-1.1 67.9-14.6 75.8-3 1.8-6.9 2.6-11.5 2.6-20.7 0-51.4-16.5-84-46.6 14-14.7 28-31.4 41.3-49.9 22.6-2.4 44-6.1 63.6-11 2.3 10.1 4.1 19.8 5.2 29.1m38.5-66.7c-8.6 3.7-18 7-27.7 10.1-5.7-19.6-13.2-40-22.5-60.9 9.2-20.8 16.6-41.1 22.2-60.6 9.9 3.1 19.3 6.5 28.1 10.2 35.4 15.1 58.3 34.9 58.3 50.6-.1 15.7-23 35.6-58.4 50.6M320.8 78.4"/>\n <circle cx="420.9" cy="296.5" r="45.7"/>\n </g>\n</svg>\n'}),Je=new x({name:"ui-components:redo",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="24" viewBox="0 0 24 24">\n <path fill="#616161" d="M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16a8 8 0 0 1 7.6-5.5c1.95 0 3.73.72 5.12 1.88L13 16h9V7z" class="jp-icon3"/>\n</svg>\n'}),Ze=new x({name:"ui-components:refresh",svgstr:f}),Xe=new x({name:"ui-components:regex",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 20 20">\n <path fill="#414141" d="M2 2h16v16H2z" class="jp-icon2"/>\n <g fill="#FFF" class="jp-icon-accent2">\n <circle cx="5.5" cy="14.5" r="1.5"/>\n <path d="M12 4h1v8h-1z"/>\n <path d="m8.786 9.567 6.928-4 .5.866-6.928 4z"/>\n <path d="m8.786 6.433.5-.866 6.928 4-.5.866z"/>\n </g>\n</svg>\n'}),Qe=new x({name:"ui-components:run",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <path fill="#616161" d="M8 5v14l11-7z" class="jp-icon3"/>\n</svg>\n'}),et=new x({name:"ui-components:running",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 512 512">\n <path fill="#616161" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8m96 328c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h160c8.8 0 16 7.2 16 16z" class="jp-icon3"/>\n</svg>\n'}),tt=new x({name:"ui-components:save",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <path fill="#616161" d="M17 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z" class="jp-icon3"/>\n</svg>\n'}),nt=new x({name:"ui-components:search",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n <path fill="#616161" d="M12.1 10.9h-.7l-.2-.2c.8-.9 1.3-2.2 1.3-3.5 0-3-2.4-5.4-5.4-5.4S1.8 4.2 1.8 7.1s2.4 5.4 5.4 5.4c1.3 0 2.5-.5 3.5-1.3l.2.2v.7l4.1 4.1 1.2-1.2zm-5 0c-2.1 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7 3.7 1.7 3.7 3.7-1.6 3.7-3.7 3.7" class="jp-icon3"/>\n</svg>\n'}),st=new x({name:"ui-components:settings",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65A.49.49 0 0 0 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.23.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5" class="jp-icon3 jp-icon-selectable"/>\n</svg>\n'}),it=new x({name:"ui-components:share",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M18 2c-1.645 0-3 1.355-3 3 0 .191.022.377.057.559L7.922 9.72A2.97 2.97 0 0 0 6 9c-1.645 0-3 1.355-3 3s1.355 3 3 3c.732 0 1.399-.278 1.922-.72l7.135 4.16A3 3 0 0 0 15 19c0 1.645 1.355 3 3 3s3-1.355 3-3-1.355-3-3-3a2.97 2.97 0 0 0-1.922.723l-7.135-4.164C8.978 12.377 9 12.19 9 12s-.022-.377-.057-.559l7.135-4.162C16.601 7.722 17.268 8 18 8c1.645 0 3-1.355 3-3s-1.355-3-3-3m0 2c.564 0 1 .436 1 1s-.436 1-1 1-1-.436-1-1 .436-1 1-1M6 11c.564 0 1 .436 1 1s-.436 1-1 1-1-.436-1-1 .436-1 1-1m12 7c.564 0 1 .436 1 1s-.436 1-1 1-1-.436-1-1 .436-1 1-1" class="jp-icon3"/>\n</svg>\n'}),rt=new x({name:"ui-components:spreadsheet",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <path fill="#4CAF50" d="M2.2 2.2v17.6h17.6V2.2zm15.4 7.7h-5.5V4.4h5.5zM9.9 4.4v5.5H4.4V4.4zm-5.5 7.7h5.5v5.5H4.4zm7.7 5.5v-5.5h5.5v5.5z" class="jp-icon-contrast1 jp-icon-selectable"/>\n</svg>\n'}),ot=new x({name:"ui-components:stop",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <path fill="#616161" d="M6 6h12v12H6z" class="jp-icon3"/>\n</svg>\n'}),at=new x({name:"ui-components:tab",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H3V5h10v4h8z" class="jp-icon3"/>\n</svg>\n'}),lt=new x({name:"ui-components:table-rows",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <path fill="#616161" d="M21 8H3V4h18zm0 2H3v4h18zm0 6H3v4h18z" class="jp-icon3"/>\n</svg>\n'}),ct=new x({name:"ui-components:tag",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 43 28">\n <path fill="#616161" d="M28.833 12.334 33 16.501l4.166-4.167zM16.21 21.61c-.523.52-1.366.52-1.885 0l-7.342-6.885c-.41-.386-.9-1.115-.935-1.677-.095-1.52-.028-4.429.018-5.971A1.093 1.093 0 0 1 7.118 6.03c1.97-.046 6.146-.095 6.534.293l8.085 7.315c.519.52.048 1.833-.475 2.356zM9.775 8.265a1.126 1.126 0 1 0-1.593 1.592 1.126 1.126 0 0 0 1.593-1.592" class="jp-icon3"/>\n</svg>\n'}),dt=new x({name:"ui-components:terminal",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#333" d="M2 2h20v20H2z" class="jp-terminal-icon-background-color jp-icon-selectable"/>\n <path fill="#fff" d="M9.01 14.762q0-.246-.077-.434a.9.9 0 0 0-.234-.351 1.6 1.6 0 0 0-.422-.288 5 5 0 0 0-.627-.263q-.592-.211-1.078-.446a3.5 3.5 0 0 1-.832-.544 2.2 2.2 0 0 1-.528-.721 2.4 2.4 0 0 1-.187-.985q0-.498.17-.908a2.1 2.1 0 0 1 .48-.72q.31-.306.75-.493.44-.188.979-.24V7.11h.937v1.272q.527.07.95.287.421.217.714.568.3.345.457.82.165.47.164 1.055H8.998q0-.709-.323-1.072-.322-.37-.873-.37-.299 0-.521.083a.9.9 0 0 0-.358.223.9.9 0 0 0-.21.334q-.066.194-.065.421 0 .23.064.41a.9.9 0 0 0 .229.329q.165.152.428.293.263.134.656.275.591.223 1.072.463.48.235.82.55.346.312.528.727.187.41.187.973 0 .515-.17.932-.17.41-.486.709t-.762.48a3.7 3.7 0 0 1-.996.229v1.148h-.931V17.1a4 4 0 0 1-.967-.217 2.6 2.6 0 0 1-.832-.504 2.4 2.4 0 0 1-.574-.826q-.217-.505-.217-1.207h1.635q0 .421.123.709.123.281.316.45.2.165.451.235.252.07.516.07.627 0 .949-.292a.98.98 0 0 0 .322-.756m8.36 3.51h-5.343V17h5.344z" class="jp-terminal-icon-color jp-icon-selectable-inverse"/>\n</svg>\n'}),ht=new x({name:"ui-components:text-editor",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M15 15H3v2h12zm0-8H3v2h12zM3 13h18v-2H3zm0 8h18v-2H3zM3 3v2h18V3z" class="jp-text-editor-icon-color jp-icon-selectable"/>\n</svg>\n'}),ut=new x({name:"ui-components:toc",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <path fill="#616161" d="M7 5h14v2H7zm0 8v-2h14v2zM4 4.5A1.5 1.5 0 0 1 5.5 6 1.5 1.5 0 0 1 4 7.5 1.5 1.5 0 0 1 2.5 6 1.5 1.5 0 0 1 4 4.5m0 6A1.5 1.5 0 0 1 5.5 12 1.5 1.5 0 0 1 4 13.5 1.5 1.5 0 0 1 2.5 12 1.5 1.5 0 0 1 4 10.5M7 19v-2h14v2zm-3-2.5A1.5 1.5 0 0 1 5.5 18 1.5 1.5 0 0 1 4 19.5 1.5 1.5 0 0 1 2.5 18 1.5 1.5 0 0 1 4 16.5" class="jp-icon3 jp-icon-selectable"/>\n</svg>\n'}),pt=new x({name:"ui-components:tree-view",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <path fill="#616161" d="M22 11V3h-7v3H9V3H2v8h7V8h2v10h4v3h7v-8h-7v3h-2V8h2v3z" class="jp-icon3"/>\n</svg>\n'}),mt=new x({name:"ui-components:trusted",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" fill="none" viewBox="0 0 24 25">\n <path stroke="#333" stroke-width="2" d="M3.86 14.44c-1.034-2.67-.996-5.382-.61-7.24 1.232-.267 2.83-.797 4.351-1.355a92 92 0 0 0 4.387-1.75 68 68 0 0 0 4.23 1.748c1.532.57 3.182 1.11 4.536 1.37.382 1.859.417 4.564-.615 7.228-1.109 2.862-3.472 5.743-8.139 7.494-4.667-1.75-7.03-4.632-8.14-7.494Z" class="jp-icon2"/>\n <path fill="#333" stroke="#333" d="m10.86 14.733-2.133-1.866-.727.63L10.86 16 16 10.5l-.721-.632z" class="jp-icon2"/>\n</svg>\n'}),gt=new x({name:"ui-components:undo",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8" class="jp-icon3"/>\n</svg>\n'}),vt=new x({name:"ui-components:user",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="#616161" d="M16 7a4 4 0 1 1-8 0 4 4 0 0 1 8 0m-4 7a7 7 0 0 0-7 7h14a7 7 0 0 0-7-7" class="jp-icon3"/>\n</svg>\n'}),ft=new x({name:"ui-components:users",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" version="1.1" viewBox="0 0 36 24">\n <g fill="#616161" class="jp-icon3" transform="translate(-3.628 .1)scale(1.7327)">\n <path d="M18.279 5.265c-1.58 0-2.964.85-3.718 2.115a6.7 6.7 0 0 1 2.81 2.21h5.23a4.32 4.32 0 0 0-4.322-4.325m2.186-2.875a2.19 2.19 0 0 1-2.188 2.188 2.19 2.19 0 0 1-2.189-2.189A2.19 2.19 0 0 1 18.277.201a2.19 2.19 0 0 1 2.188 2.188M5.385 6.633a3.02 3.02 0 0 0-3.02 3.02h4.22a6.7 6.7 0 0 1 1.44-1.467 3.02 3.02 0 0 0-2.64-1.553m1.53-2.01a1.53 1.53 0 0 1-1.529 1.53 1.53 1.53 0 0 1-1.53-1.53 1.53 1.53 0 0 1 1.53-1.53 1.53 1.53 0 0 1 1.53 1.53m-.781 8.912a5.865 5.865 0 0 1 11.73 0z"/>\n <circle cx="12" cy="3.768" r="2.969"/>\n </g>\n</svg>\n'}),wt=new x({name:"ui-components:vega",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <g fill="#212121" class="jp-icon1 jp-icon-selectable">\n <path d="m10.6 5.4 2.2-3.2H2.2v7.3l4-6.6z"/>\n <path d="m15.8 2.2-4.4 6.6L7 6.3l-4.8 8v5.5h17.6V2.2zm-7 15.4H5.5v-4.4h3.3zm4.4 0H9.8V9.8h3.4zm4.4 0h-3.4V6.5h3.4z"/>\n </g>\n</svg>\n'}),yt=new x({name:"ui-components:word",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 20 20">\n <path fill="#414141" d="M2 2h16v16H2z" class="jp-icon2"/>\n <path fill="#fff" d="M4.57 8.8q.068-1.89 2.42-1.89 1.16 0 1.68.42.567.41.567 1.16v3.47q0 .462.514.462.103 0 .2-.023v.714q-.399.103-.651.103-.452 0-.693-.22-.231-.2-.284-.662-.956.872-2 .872-.903 0-1.47-.472-.525-.472-.525-1.26 0-.262.045-.472.057-.22.116-.378.068-.168.231-.304l.262-.242q.116-.091.368-.168.262-.091.4-.126.135-.045.471-.103t.504-.08l.567-.08q.556-.068.777-.22.22-.153.22-.442v-.252q0-.43-.357-.662-.336-.23-.976-.23-.662 0-.998.261-.336.252-.399.798zm1.89 3.68q.788 0 1.26-.41.504-.42.504-.903v-1.05q-.284.136-.861.231l-.987.158q-.42.068-.766.326-.336.252-.336.704t.304.704.861.252zm3.97-7.88h.945v3.15q.651-.976 1.89-.976 1.16 0 1.89.84.682.84.682 2.31t-.704 2.42q-.704.882-1.89.882-1.26 0-1.89-1.02v.766h-.85zm2.62 3.04q-.746 0-1.16.64-.452.63-.452 1.68t.452 1.68 1.16.63q.777 0 1.26-.63.494-.64.494-1.68 0-1.05-.472-1.68-.462-.64-1.26-.64zm-9.89 8.2 13.6.008c.007 0 0-2.6 0-2.6 0-.008-1.15 0-1.15 0-.007 0-.008 1.5-.008 1.5l-11.3-.001-.006-1.5c0-.008-1.17.001-1.17.001z" class="jp-icon-accent2"/>\n</svg>\n'}),bt=new x({name:"ui-components:yaml",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <g fill="#D81B60" class="jp-icon-contrast2 jp-icon-selectable">\n <path d="M7.2 18.6v-5.4L3 5.6h3.3l1.4 3.1c.3.9.6 1.6 1 2.5.3-.8.6-1.6 1-2.5l1.4-3.1h3.4l-4.4 7.6v5.5z"/>\n <circle cx="17.6" cy="16.5" r="2.1"/>\n <circle cx="17.6" cy="11" r="2.1"/>\n </g>\n</svg>\n'}),xt="jp-Collapse-header-collapsed";class _t extends m.Widget{constructor(e){super(e),this._collapseChanged=new p.Signal(this);const{widget:t,collapsed:n=!0}=e;this.addClass("jp-Collapse"),this._header=new m.Widget,this._header.addClass("jp-Collapse-header"),n&&this._header.addClass(xt),this._header.node.appendChild(z.element({className:"jp-Collapser-icon"}));const s=document.createElement("span");s.classList.add("jp-Collapser-title"),s.textContent=t.title.label,this._header.node.appendChild(s),this._content=new m.Panel,this._content.addClass("jp-Collapse-contents");const i=new m.PanelLayout;this.layout=i,i.addWidget(this._header),i.addWidget(this._content),this.widget=t,this.collapsed=n}get widget(){return this._widget}set widget(e){const t=this._widget;t&&(t.title.changed.disconnect(this._onTitleChanged,this),t.parent=null),this._widget=e,e.title.changed.connect(this._onTitleChanged,this),this._onTitleChanged(e.title),this._content.addWidget(e)}get collapsed(){return this._collapsed}set collapsed(e){e!==this._collapsed&&(e?this._collapse():this._uncollapse())}get collapseChanged(){return this._collapseChanged}toggle(){this.collapsed=!this.collapsed}dispose(){this.isDisposed||(this._header=null,this._widget=null,this._content=null,super.dispose())}handleEvent(e){"click"===e.type&&this._evtClick(e)}onAfterAttach(e){this._header.node.addEventListener("click",this)}onBeforeDetach(e){this._header.node.removeEventListener("click",this)}_collapse(){this._collapsed=!0,this._content&&this._content.hide(),this._setHeader(),this._collapseChanged.emit(void 0)}_uncollapse(){this._collapsed=!1,this._content&&this._content.show(),this._setHeader(),this._collapseChanged.emit(void 0)}_evtClick(e){this.toggle()}_onTitleChanged(e){this._setHeader()}_setHeader(){this._collapsed?this._header.addClass(xt):this._header.removeClass(xt)}}var St=n(93050),Ct=n(24246),jt=n(24885),It=n(99729),Mt=n.n(It),kt=n(90104),Et=n.n(kt),Tt=n(14648),Ft=n.n(Tt),At=n(40110),zt=n.n(At),Dt=n(30454),Ot=n.n(Dt),Bt=n(11611),Lt=n.n(Bt),Nt=n(47215),Rt=n.n(Nt);let Ht=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce(((e,t)=>e+((t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_")),"");function Pt(){return Ht()}function $t(e){return Array.isArray(e)?e.map((e=>({key:Pt(),item:e}))):[]}function Vt(e){return Array.isArray(e)?e.map((e=>e.item)):[]}class Wt extends s.Component{constructor(e){super(e),this._getNewFormDataRow=()=>{const{schema:e,registry:t}=this.props,{schemaUtils:n}=t;let s=e.items;return(0,jt.isFixedItems)(e)&&(0,jt.allowAdditionalItems)(e)&&(s=e.additionalItems),n.getDefaultFormState(s)},this.onAddClick=e=>{this._handleAddClick(e)},this.onAddIndexClick=e=>t=>{this._handleAddClick(t,e)},this.onCopyIndexClick=e=>t=>{t&&t.preventDefault();const{onChange:n,errorSchema:s}=this.props,{keyedFormData:i}=this.state;let r;if(s){r={};for(const t in s){const n=parseInt(t);n<=e?Rt()(r,[n],s[t]):n>e&&Rt()(r,[n+1],s[t])}}const o={key:Pt(),item:Ot()(i[e].item)},a=[...i];void 0!==e?a.splice(e+1,0,o):a.push(o),this.setState({keyedFormData:a,updatedKeyedFormData:!0},(()=>n(Vt(a),r)))},this.onDropIndexClick=e=>t=>{t&&t.preventDefault();const{onChange:n,errorSchema:s}=this.props,{keyedFormData:i}=this.state;let r;if(s){r={};for(const t in s){const n=parseInt(t);n<e?Rt()(r,[n],s[t]):n>e&&Rt()(r,[n-1],s[t])}}const o=i.filter(((t,n)=>n!==e));this.setState({keyedFormData:o,updatedKeyedFormData:!0},(()=>n(Vt(o),r)))},this.onReorderClick=(e,t)=>n=>{n&&(n.preventDefault(),n.currentTarget.blur());const{onChange:s,errorSchema:i}=this.props;let r;if(i){r={};for(const n in i){const s=parseInt(n);s==e?Rt()(r,[t],i[e]):s==t?Rt()(r,[e],i[t]):Rt()(r,[n],i[s])}}const{keyedFormData:o}=this.state,a=function(){const n=o.slice();return n.splice(e,1),n.splice(t,0,o[e]),n}();this.setState({keyedFormData:a},(()=>s(Vt(a),r)))},this.onChangeForIndex=e=>(t,n,s)=>{const{formData:i,onChange:r,errorSchema:o}=this.props,a=(Array.isArray(i)?i:[]).map(((n,s)=>e===s?void 0===t?null:t:n));r(a,o&&o&&{...o,[e]:n},s)},this.onSelectChange=e=>{const{onChange:t,idSchema:n}=this.props;t(e,void 0,n&&n.$id)};const{formData:t=[]}=e,n=$t(t);this.state={keyedFormData:n,updatedKeyedFormData:!1}}static getDerivedStateFromProps(e,t){if(t.updatedKeyedFormData)return{updatedKeyedFormData:!1};const n=Array.isArray(e.formData)?e.formData:[],s=t.keyedFormData||[];return{keyedFormData:n.length===s.length?s.map(((e,t)=>({key:e.key,item:n[t]}))):$t(n)}}get itemTitle(){const{schema:e,registry:t}=this.props,{translateString:n}=t;return Mt()(e,[jt.ITEMS_KEY,"title"],Mt()(e,[jt.ITEMS_KEY,"description"],n(jt.TranslatableString.ArrayItemTitle)))}isItemRequired(e){return Array.isArray(e.type)?!e.type.includes("null"):"null"!==e.type}canAddItem(e){const{schema:t,uiSchema:n,registry:s}=this.props;let{addable:i}=(0,jt.getUiOptions)(n,s.globalUiOptions);return!1!==i&&(i=void 0===t.maxItems||e.length<t.maxItems),i}_handleAddClick(e,t){e&&e.preventDefault();const{onChange:n,errorSchema:s}=this.props,{keyedFormData:i}=this.state;let r;if(s){r={};for(const e in s){const n=parseInt(e);void 0===t||n<t?Rt()(r,[n],s[e]):n>=t&&Rt()(r,[n+1],s[e])}}const o={key:Pt(),item:this._getNewFormDataRow()},a=[...i];void 0!==t?a.splice(t,0,o):a.push(o),this.setState({keyedFormData:a,updatedKeyedFormData:!0},(()=>n(Vt(a),r)))}render(){const{schema:e,uiSchema:t,idSchema:n,registry:s}=this.props,{schemaUtils:i,translateString:r}=s;if(!(jt.ITEMS_KEY in e)){const i=(0,jt.getUiOptions)(t),o=(0,jt.getTemplate)("UnsupportedFieldTemplate",s,i);return(0,Ct.jsx)(o,{schema:e,idSchema:n,reason:r(jt.TranslatableString.MissingItems),registry:s})}return i.isMultiSelect(e)?this.renderMultiSelect():(0,jt.isCustomWidget)(t)?this.renderCustomWidget():(0,jt.isFixedItems)(e)?this.renderFixedArray():i.isFilesArray(e,t)?this.renderFiles():this.renderNormalArray()}renderNormalArray(){const{schema:e,uiSchema:t={},errorSchema:n,idSchema:s,name:i,disabled:r=!1,readonly:o=!1,autofocus:a=!1,required:l=!1,registry:c,onBlur:d,onFocus:h,idPrefix:u,idSeparator:p="_",rawErrors:m}=this.props,{keyedFormData:g}=this.state,v=void 0===e.title?i:e.title,{schemaUtils:f,formContext:w}=c,y=(0,jt.getUiOptions)(t),b=Lt()(e.items)?e.items:{},x=f.retrieveSchema(b),_=Vt(this.state.keyedFormData),S=this.canAddItem(_),C={canAdd:S,items:g.map(((e,r)=>{const{key:o,item:l}=e,c=l,v=f.retrieveSchema(b,c),w=n?n[r]:void 0,y=s.$id+p+r,x=f.toIdSchema(v,y,c,u,p);return this.renderArrayFieldItem({key:o,index:r,name:i&&`${i}-${r}`,canAdd:S,canMoveUp:r>0,canMoveDown:r<_.length-1,itemSchema:v,itemIdSchema:x,itemErrorSchema:w,itemData:c,itemUiSchema:t.items,autofocus:a&&0===r,onBlur:d,onFocus:h,rawErrors:m,totalItems:g.length})})),className:`field field-array field-array-of-${x.type}`,disabled:r,idSchema:s,uiSchema:t,onAddClick:this.onAddClick,readonly:o,required:l,schema:e,title:v,formContext:w,formData:_,rawErrors:m,registry:c},j=(0,jt.getTemplate)("ArrayFieldTemplate",c,y);return(0,Ct.jsx)(j,{...C})}renderCustomWidget(){var e;const{schema:t,idSchema:n,uiSchema:s,disabled:i=!1,readonly:r=!1,autofocus:o=!1,required:a=!1,hideError:l,placeholder:c,onBlur:d,onFocus:h,formData:u=[],registry:p,rawErrors:m,name:g}=this.props,{widgets:v,formContext:f,globalUiOptions:w,schemaUtils:y}=p,{widget:b,title:x,..._}=(0,jt.getUiOptions)(s,w),S=(0,jt.getWidget)(t,b,v),C=null!==(e=null!=x?x:t.title)&&void 0!==e?e:g,j=y.getDisplayLabel(t,s,w);return(0,Ct.jsx)(S,{id:n.$id,name:g,multiple:!0,onChange:this.onSelectChange,onBlur:d,onFocus:h,options:_,schema:t,uiSchema:s,registry:p,value:u,disabled:i,readonly:r,hideError:l,required:a,label:C,hideLabel:!j,placeholder:c,formContext:f,autofocus:o,rawErrors:m})}renderMultiSelect(){var e;const{schema:t,idSchema:n,uiSchema:s,formData:i=[],disabled:r=!1,readonly:o=!1,autofocus:a=!1,required:l=!1,placeholder:c,onBlur:d,onFocus:h,registry:u,rawErrors:p,name:m}=this.props,{widgets:g,schemaUtils:v,formContext:f,globalUiOptions:w}=u,y=v.retrieveSchema(t.items,i),b=(0,jt.optionsList)(y),{widget:x="select",title:_,...S}=(0,jt.getUiOptions)(s,w),C=(0,jt.getWidget)(t,x,g),j=null!==(e=null!=_?_:t.title)&&void 0!==e?e:m,I=v.getDisplayLabel(t,s,w);return(0,Ct.jsx)(C,{id:n.$id,name:m,multiple:!0,onChange:this.onSelectChange,onBlur:d,onFocus:h,options:{...S,enumOptions:b},schema:t,uiSchema:s,registry:u,value:i,disabled:r,readonly:o,required:l,label:j,hideLabel:!I,placeholder:c,formContext:f,autofocus:a,rawErrors:p})}renderFiles(){var e;const{schema:t,uiSchema:n,idSchema:s,name:i,disabled:r=!1,readonly:o=!1,autofocus:a=!1,required:l=!1,onBlur:c,onFocus:d,registry:h,formData:u=[],rawErrors:p}=this.props,{widgets:m,formContext:g,globalUiOptions:v,schemaUtils:f}=h,{widget:w="files",title:y,...b}=(0,jt.getUiOptions)(n,v),x=(0,jt.getWidget)(t,w,m),_=null!==(e=null!=y?y:t.title)&&void 0!==e?e:i,S=f.getDisplayLabel(t,n,v);return(0,Ct.jsx)(x,{options:b,id:s.$id,name:i,multiple:!0,onChange:this.onSelectChange,onBlur:c,onFocus:d,schema:t,uiSchema:n,value:u,disabled:r,readonly:o,required:l,registry:h,formContext:g,autofocus:a,rawErrors:p,label:_,hideLabel:!S})}renderFixedArray(){const{schema:e,uiSchema:t={},formData:n=[],errorSchema:s,idPrefix:i,idSeparator:r="_",idSchema:o,name:a,disabled:l=!1,readonly:c=!1,autofocus:d=!1,required:h=!1,registry:u,onBlur:p,onFocus:m,rawErrors:g}=this.props,{keyedFormData:v}=this.state;let{formData:f=[]}=this.props;const w=e.title||a,y=(0,jt.getUiOptions)(t),{schemaUtils:b,formContext:x}=u,_=(Lt()(e.items)?e.items:[]).map(((e,t)=>b.retrieveSchema(e,n[t]))),S=Lt()(e.additionalItems)?b.retrieveSchema(e.additionalItems,n):null;(!f||f.length<_.length)&&(f=f||[],f=f.concat(new Array(_.length-f.length)));const C=this.canAddItem(f)&&!!S,j={canAdd:C,className:"field field-array field-array-fixed-items",disabled:l,idSchema:o,formData:n,items:v.map(((n,l)=>{const{key:c,item:h}=n,u=h,w=l>=_.length,y=(w&&Lt()(e.additionalItems)?b.retrieveSchema(e.additionalItems,u):_[l])||{},x=o.$id+r+l,S=b.toIdSchema(y,x,u,i,r),j=w?t.additionalItems||{}:Array.isArray(t.items)?t.items[l]:t.items||{},I=s?s[l]:void 0;return this.renderArrayFieldItem({key:c,index:l,name:a&&`${a}-${l}`,canAdd:C,canRemove:w,canMoveUp:l>=_.length+1,canMoveDown:w&&l<f.length-1,itemSchema:y,itemData:u,itemUiSchema:j,itemIdSchema:S,itemErrorSchema:I,autofocus:d&&0===l,onBlur:p,onFocus:m,rawErrors:g,totalItems:v.length})})),onAddClick:this.onAddClick,readonly:c,required:h,registry:u,schema:e,uiSchema:t,title:w,formContext:x,rawErrors:g},I=(0,jt.getTemplate)("ArrayFieldTemplate",u,y);return(0,Ct.jsx)(I,{...j})}renderArrayFieldItem(e){const{key:t,index:n,name:s,canAdd:i,canRemove:r=!0,canMoveUp:o,canMoveDown:a,itemSchema:l,itemData:c,itemUiSchema:d,itemIdSchema:h,itemErrorSchema:u,autofocus:p,onBlur:m,onFocus:g,rawErrors:v,totalItems:f}=e,{disabled:w,hideError:y,idPrefix:b,idSeparator:x,readonly:_,uiSchema:S,registry:C,formContext:j}=this.props,{fields:{ArraySchemaField:I,SchemaField:M},globalUiOptions:k}=C,E=I||M,{orderable:T=!0,removable:F=!0,copyable:A=!1}=(0,jt.getUiOptions)(S,k),z={moveUp:T&&o,moveDown:T&&a,copy:A&&i,remove:F&&r,toolbar:!1};return z.toolbar=Object.keys(z).some((e=>z[e])),{children:(0,Ct.jsx)(E,{name:s,index:n,schema:l,uiSchema:d,formData:c,formContext:j,errorSchema:u,idPrefix:b,idSeparator:x,idSchema:h,required:this.isItemRequired(l),onChange:this.onChangeForIndex(n),onBlur:m,onFocus:g,registry:C,disabled:w,readonly:_,hideError:y,autofocus:p,rawErrors:v}),className:"array-item",disabled:w,canAdd:i,hasCopy:z.copy,hasToolbar:z.toolbar,hasMoveUp:z.moveUp,hasMoveDown:z.moveDown,hasRemove:z.remove,index:n,totalItems:f,key:t,onAddIndexClick:this.onAddIndexClick,onCopyIndexClick:this.onCopyIndexClick,onDropIndexClick:this.onDropIndexClick,onReorderClick:this.onReorderClick,readonly:_,registry:C,schema:l,uiSchema:d}}}const Ut=Wt,qt=function(e){var t,n;const{schema:s,name:i,uiSchema:r,idSchema:o,formData:a,registry:l,required:c,disabled:d,readonly:h,hideError:u,autofocus:p,onChange:m,onFocus:g,onBlur:v,rawErrors:f}=e,{title:w}=s,{widgets:y,formContext:b,translateString:x,globalUiOptions:_}=l,{widget:S="checkbox",title:C,label:j=!0,...I}=(0,jt.getUiOptions)(r,_),M=(0,jt.getWidget)(s,S,y),k=x(jt.TranslatableString.YesLabel),E=x(jt.TranslatableString.NoLabel);let T;const F=null!==(t=null!=C?C:w)&&void 0!==t?t:i;if(Array.isArray(s.oneOf))T=(0,jt.optionsList)({oneOf:s.oneOf.map((e=>{if(Lt()(e))return{...e,title:e.title||(!0===e.const?k:E)}})).filter((e=>e))});else{const e=s,t=null!==(n=s.enum)&&void 0!==n?n:[!0,!1];T=!e.enumNames&&2===t.length&&t.every((e=>"boolean"==typeof e))?[{value:t[0],label:t[0]?k:E},{value:t[1],label:t[1]?k:E}]:(0,jt.optionsList)({enum:t,enumNames:e.enumNames})}return(0,Ct.jsx)(M,{options:{...I,enumOptions:T},schema:s,uiSchema:r,id:o.$id,name:i,onChange:m,onFocus:g,onBlur:v,label:F,hideLabel:!j,value:a,required:c,disabled:d,readonly:h,hideError:u,registry:l,formContext:b,autofocus:p,rawErrors:f})};var Kt=n(48159),Gt=n.n(Kt);class Yt extends s.Component{constructor(e){super(e),this.onOptionChange=e=>{const{selectedOption:t,retrievedOptions:n}=this.state,{formData:s,onChange:i,registry:r}=this.props,{schemaUtils:o}=r,a=void 0!==e?parseInt(e,10):-1;if(a===t)return;const l=a>=0?n[a]:void 0,c=t>=0?n[t]:void 0;let d=o.sanitizeDataForNewSchema(l,c,s);d&&l&&(d=o.getDefaultFormState(l,d,"excludeObjectChildren")),i(d,void 0,this.getFieldId()),this.setState({selectedOption:a})};const{formData:t,options:n,registry:{schemaUtils:s}}=this.props,i=n.map((e=>s.retrieveSchema(e,t)));this.state={retrievedOptions:i,selectedOption:this.getMatchingOption(0,t,i)}}componentDidUpdate(e,t){const{formData:n,options:s,idSchema:i}=this.props,{selectedOption:r}=this.state;let o=this.state;if(!(0,jt.deepEquals)(e.options,s)){const{registry:{schemaUtils:e}}=this.props;o={selectedOption:r,retrievedOptions:s.map((t=>e.retrieveSchema(t,n)))}}if(!(0,jt.deepEquals)(n,e.formData)&&i.$id===e.idSchema.$id){const{retrievedOptions:e}=o,s=this.getMatchingOption(r,n,e);t&&s!==r&&(o={selectedOption:s,retrievedOptions:e})}o!==this.state&&this.setState(o)}getMatchingOption(e,t,n){const{schema:s,registry:{schemaUtils:i}}=this.props,r=(0,jt.getDiscriminatorFieldFromSchema)(s);return i.getClosestMatchingOption(t,n,e,r)}getFieldId(){const{idSchema:e,schema:t}=this.props;return`${e.$id}${t.oneOf?"__oneof_select":"__anyof_select"}`}render(){const{name:e,disabled:t=!1,errorSchema:n={},formContext:s,onBlur:i,onFocus:r,registry:o,schema:a,uiSchema:l}=this.props,{widgets:c,fields:d,translateString:h,globalUiOptions:u,schemaUtils:p}=o,{SchemaField:m}=d,{selectedOption:g,retrievedOptions:v}=this.state,{widget:f="select",placeholder:w,autofocus:y,autocomplete:b,title:x=a.title,..._}=(0,jt.getUiOptions)(l,u),S=(0,jt.getWidget)({type:"number"},f,c),C=Mt()(n,jt.ERRORS_KEY,[]),j=Gt()(n,[jt.ERRORS_KEY]),I=p.getDisplayLabel(a,l,u),M=g>=0&&v[g]||null;let k;if(M){const{required:e}=a;k=e?(0,jt.mergeSchemas)({required:e},M):M}const E=x?jt.TranslatableString.TitleOptionPrefix:jt.TranslatableString.OptionPrefix,T=x?[x]:[],F=v.map(((e,t)=>({label:e.title||h(E,T.concat(String(t+1))),value:t})));return(0,Ct.jsxs)("div",{className:"panel panel-default panel-body",children:[(0,Ct.jsx)("div",{className:"form-group",children:(0,Ct.jsx)(S,{id:this.getFieldId(),name:`${e}${a.oneOf?"__oneof_select":"__anyof_select"}`,schema:{type:"number",default:0},onChange:this.onOptionChange,onBlur:i,onFocus:r,disabled:t||Et()(F),multiple:!1,rawErrors:C,errorSchema:j,value:g>=0?g:void 0,options:{enumOptions:F,..._},registry:o,formContext:s,placeholder:w,autocomplete:b,autofocus:y,label:null!=x?x:e,hideLabel:!I})}),null!==M&&(0,Ct.jsx)(m,{...this.props,schema:k})]})}}const Jt=Yt,Zt=/\.([0-9]*0)*$/,Xt=/[0.]0*$/,Qt=function(e){const{registry:t,onChange:n,formData:i,value:r}=e,[o,a]=(0,s.useState)(r),{StringField:l}=t.fields;let c=i;const d=(0,s.useCallback)((e=>{a(e),"."===`${e}`.charAt(0)&&(e=`0${e}`);const t="string"==typeof e&&e.match(Zt)?(0,jt.asNumber)(e.replace(Xt,"")):(0,jt.asNumber)(e);n(t)}),[n]);if("string"==typeof o&&"number"==typeof c){const e=new RegExp(`${c}`.replace(".","\\.")+"\\.?0*$");o.match(e)&&(c=o)}return(0,Ct.jsx)(l,{...e,formData:c,onChange:d})};function en(){return en=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},en.apply(this,arguments)}const tn=["children","options"],nn=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce(((e,t)=>(e[t.toLowerCase()]=t,e)),{for:"htmlFor"}),sn={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},rn=["style","script"],on=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,an=/mailto:/i,ln=/\n{2,}$/,cn=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,dn=/^ *> ?/gm,hn=/^ {2,}\n/,un=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,pn=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,mn=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,gn=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,vn=/^(?:\n *)*\n/,fn=/\r\n?/g,wn=/^\[\^([^\]]+)](:.*)\n/,yn=/^\[\^([^\]]+)]/,bn=/\f/g,xn=/^\s*?\[(x|\s)\]/,_n=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Sn=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Cn=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,jn=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,In=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,Mn=/^<!--[\s\S]*?(?:-->)/,kn=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,En=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,Tn=/^\{.*\}$/,Fn=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,An=/^<([^ >]+@[^ >]+)>/,zn=/^<([^ >]+:\/[^ >]+)>/,Dn=/-([a-z])?/gi,On=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,Bn=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,Ln=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,Nn=/^\[([^\]]*)\] ?\[([^\]]*)\]/,Rn=/(\[|\])/g,Hn=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,Pn=/\t/g,$n=/^ *\| */,Vn=/(^ *\||\| *$)/g,Wn=/ *$/,Un=/^ *:-+: *$/,qn=/^ *:-+ *$/,Kn=/^ *-+: *$/,Gn=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,Yn=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,Jn=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,Zn=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,Xn=/^\\([^0-9A-Za-z\s])/,Qn=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,es=/^\n+/,ts=/^([ \t]*)/,ns=/\\([^\\])/g,ss=/ *\n+$/,is=/(?:^|\n)( *)$/,rs="(?:\\d+\\.)",os="(?:[*+-])";function as(e){return"( *)("+(1===e?rs:os)+") +"}const ls=as(1),cs=as(2);function ds(e){return new RegExp("^"+(1===e?ls:cs))}const hs=ds(1),us=ds(2);function ps(e){return new RegExp("^"+(1===e?ls:cs)+"[^\\n]*(?:\\n(?!\\1"+(1===e?rs:os)+" )[^\\n]*)*(\\n|$)","gm")}const ms=ps(1),gs=ps(2);function vs(e){const t=1===e?rs:os;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const fs=vs(1),ws=vs(2);function ys(e,t){const n=1===t,s=n?fs:ws,i=n?ms:gs,r=n?hs:us;return{t(e,t,n){const i=is.exec(n);return i&&(t.o||!t._&&!t.u)?s.exec(e=i[1]+e):null},i:Ws.HIGH,l(e,t,s){const o=n?+e[2]:void 0,a=e[0].replace(ln,"\n").match(i);let l=!1;return{p:a.map((function(e,n){const i=r.exec(e)[0].length,o=new RegExp("^ {1,"+i+"}","gm"),c=e.replace(o,"").replace(r,""),d=n===a.length-1,h=-1!==c.indexOf("\n\n")||d&&l;l=h;const u=s._,p=s.o;let m;s.o=!0,h?(s._=!1,m=c.replace(ss,"\n\n")):(s._=!0,m=c.replace(ss,""));const g=t(m,s);return s._=u,s.o=p,g})),m:n,g:o}},h:(t,n,s)=>e(t.m?"ol":"ul",{key:s.k,start:t.g},t.p.map((function(t,i){return e("li",{key:i},n(t,s))})))}}const bs=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,xs=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,_s=[cn,pn,mn,_n,Cn,Sn,Mn,On,ms,fs,gs,ws],Ss=[..._s,/^[^\n]+(?: \n|\n{2,})/,jn,En];function Cs(e){return e.replace(/[ÀÁÂÃÄÅàáâãä忯]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function js(e){return Kn.test(e)?"right":Un.test(e)?"center":qn.test(e)?"left":null}function Is(e,t,n){const s=n.$;n.$=!0;const i=t(e.trim(),n);n.$=s;let r=[[]];return i.forEach((function(e,t){"tableSeparator"===e.type?0!==t&&t!==i.length-1&&r.push([]):("text"!==e.type||null!=i[t+1]&&"tableSeparator"!==i[t+1].type||(e.v=e.v.replace(Wn,"")),r[r.length-1].push(e))})),r}function Ms(e,t,n){n._=!0;const s=Is(e[1],t,n),i=e[2].replace(Vn,"").split("|").map(js),r=function(e,t,n){return e.trim().split("\n").map((function(e){return Is(e,t,n)}))}(e[3],t,n);return n._=!1,{S:i,A:r,L:s,type:"table"}}function ks(e,t){return null==e.S[t]?{}:{textAlign:e.S[t]}}function Es(e){return function(t,n){return n._?e.exec(t):null}}function Ts(e){return function(t,n){return n._||n.u?e.exec(t):null}}function Fs(e){return function(t,n){return n._||n.u?null:e.exec(t)}}function As(e){return function(t){return e.exec(t)}}function zs(e,t,n){if(t._||t.u)return null;if(n&&!n.endsWith("\n"))return null;let s="";e.split("\n").every((e=>!_s.some((t=>t.test(e)))&&(s+=e+"\n",e.trim())));const i=s.trimEnd();return""==i?null:[s,i]}function Ds(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch(e){return null}return e}function Os(e){return e.replace(ns,"$1")}function Bs(e,t,n){const s=n._||!1,i=n.u||!1;n._=!0,n.u=!0;const r=e(t,n);return n._=s,n.u=i,r}function Ls(e,t,n){const s=n._||!1,i=n.u||!1;n._=!1,n.u=!0;const r=e(t,n);return n._=s,n.u=i,r}function Ns(e,t,n){return n._=!1,e(t,n)}const Rs=(e,t,n)=>({v:Bs(t,e[1],n)});function Hs(){return{}}function Ps(){return null}function $s(...e){return e.filter(Boolean).join(" ")}function Vs(e,t,n){let s=e;const i=t.split(".");for(;i.length&&(s=s[i[0]],void 0!==s);)i.shift();return s||n}var Ws,Us;function qs(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||Cs,t.namedCodesToUnicode=t.namedCodesToUnicode?en({},sn,t.namedCodesToUnicode):sn;const n=t.createElement||s.createElement;function i(e,s,...i){const r=Vs(t.overrides,`${e}.props`,{});return n(function(e,t){const n=Vs(t,e);return n?"function"==typeof n||"object"==typeof n&&"render"in n?n:Vs(t,`${e}.component`,e):e}(e,t.overrides),en({},s,r,{className:$s(null==s?void 0:s.className,r.className)||void 0}),...i)}function r(e){let n=!1;t.forceInline?n=!0:t.forceBlock||(n=!1===Hn.test(e));const r=h(d(n?e:`${e.trimEnd().replace(es,"")}\n\n`,{_:n}));for(;"string"==typeof r[r.length-1]&&!r[r.length-1].trim();)r.pop();if(null===t.wrapper)return r;const o=t.wrapper||(n?"span":"div");let a;if(r.length>1||t.forceWrapper)a=r;else{if(1===r.length)return a=r[0],"string"==typeof a?i("span",{key:"outer"},a):a;a=null}return s.createElement(o,{key:"outer"},a)}function o(e){const t=e.match(on);return t?t.reduce((function(e,t,n){const i=t.indexOf("=");if(-1!==i){const a=(o=t.slice(0,i),-1!==o.indexOf("-")&&null===o.match(kn)&&(o=o.replace(Dn,(function(e,t){return t.toUpperCase()}))),o).trim(),l=function(e){const t=e[0];return('"'===t||"'"===t)&&e.length>=2&&e[e.length-1]===t?e.slice(1,-1):e}(t.slice(i+1).trim()),c=nn[a]||a,d=e[c]=function(e,t){return"style"===e?t.split(/;\s?/).reduce((function(e,t){const n=t.slice(0,t.indexOf(":"));return e[n.replace(/(-[a-z])/g,(e=>e[1].toUpperCase()))]=t.slice(n.length+1).trim(),e}),{}):"href"===e?Ds(t):(t.match(Tn)&&(t=t.slice(1,t.length-1)),"true"===t||"false"!==t&&t)}(a,l);"string"==typeof d&&(jn.test(d)||En.test(d))&&(e[c]=s.cloneElement(r(d.trim()),{key:n}))}else"style"!==t&&(e[nn[t]||t]=!0);var o;return e}),{}):null}const a=[],l={},c={blockQuote:{t:Fs(cn),i:Ws.HIGH,l:(e,t,n)=>({v:t(e[0].replace(dn,""),n)}),h:(e,t,n)=>i("blockquote",{key:n.k},t(e.v,n))},breakLine:{t:As(hn),i:Ws.HIGH,l:Hs,h:(e,t,n)=>i("br",{key:n.k})},breakThematic:{t:Fs(un),i:Ws.HIGH,l:Hs,h:(e,t,n)=>i("hr",{key:n.k})},codeBlock:{t:Fs(mn),i:Ws.MAX,l:e=>({v:e[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(e,t,n)=>i("pre",{key:n.k},i("code",en({},e.O,{className:e.M?`lang-${e.M}`:""}),e.v))},codeFenced:{t:Fs(pn),i:Ws.MAX,l:e=>({O:o(e[3]||""),v:e[4],M:e[2]||void 0,type:"codeBlock"})},codeInline:{t:Ts(gn),i:Ws.LOW,l:e=>({v:e[2]}),h:(e,t,n)=>i("code",{key:n.k},e.v)},footnote:{t:Fs(wn),i:Ws.MAX,l:e=>(a.push({I:e[2],j:e[1]}),{}),h:Ps},footnoteReference:{t:Es(yn),i:Ws.HIGH,l:e=>({v:e[1],B:`#${t.slugify(e[1])}`}),h:(e,t,n)=>i("a",{key:n.k,href:Ds(e.B)},i("sup",{key:n.k},e.v))},gfmTask:{t:Es(xn),i:Ws.HIGH,l:e=>({R:"x"===e[1].toLowerCase()}),h:(e,t,n)=>i("input",{checked:e.R,key:n.k,readOnly:!0,type:"checkbox"})},heading:{t:Fs(t.enforceAtxHeadings?Sn:_n),i:Ws.HIGH,l:(e,n,s)=>({v:Bs(n,e[2],s),T:t.slugify(e[2]),C:e[1].length}),h:(e,t,n)=>i(`h${e.C}`,{id:e.T,key:n.k},t(e.v,n))},headingSetext:{t:Fs(Cn),i:Ws.MAX,l:(e,t,n)=>({v:Bs(t,e[1],n),C:"="===e[2]?1:2,type:"heading"})},htmlComment:{t:As(Mn),i:Ws.HIGH,l:()=>({}),h:Ps},image:{t:Ts(xs),i:Ws.HIGH,l:e=>({D:e[1],B:Os(e[2]),F:e[3]}),h:(e,t,n)=>i("img",{key:n.k,alt:e.D||void 0,title:e.F||void 0,src:Ds(e.B)})},link:{t:Es(bs),i:Ws.LOW,l:(e,t,n)=>({v:Ls(t,e[1],n),B:Os(e[2]),F:e[3]}),h:(e,t,n)=>i("a",{key:n.k,href:Ds(e.B),title:e.F},t(e.v,n))},linkAngleBraceStyleDetector:{t:Es(zn),i:Ws.MAX,l:e=>({v:[{v:e[1],type:"text"}],B:e[1],type:"link"})},linkBareUrlDetector:{t:(e,t)=>t.N?null:Es(Fn)(e,t),i:Ws.MAX,l:e=>({v:[{v:e[1],type:"text"}],B:e[1],F:void 0,type:"link"})},linkMailtoDetector:{t:Es(An),i:Ws.MAX,l(e){let t=e[1],n=e[1];return an.test(n)||(n="mailto:"+n),{v:[{v:t.replace("mailto:",""),type:"text"}],B:n,type:"link"}}},orderedList:ys(i,1),unorderedList:ys(i,2),newlineCoalescer:{t:Fs(vn),i:Ws.LOW,l:Hs,h:()=>"\n"},paragraph:{t:zs,i:Ws.LOW,l:Rs,h:(e,t,n)=>i("p",{key:n.k},t(e.v,n))},ref:{t:Es(Bn),i:Ws.MAX,l:e=>(l[e[1]]={B:e[2],F:e[4]},{}),h:Ps},refImage:{t:Ts(Ln),i:Ws.MAX,l:e=>({D:e[1]||void 0,P:e[2]}),h:(e,t,n)=>i("img",{key:n.k,alt:e.D,src:Ds(l[e.P].B),title:l[e.P].F})},refLink:{t:Es(Nn),i:Ws.MAX,l:(e,t,n)=>({v:t(e[1],n),Z:t(e[0].replace(Rn,"\\$1"),n),P:e[2]}),h:(e,t,n)=>l[e.P]?i("a",{key:n.k,href:Ds(l[e.P].B),title:l[e.P].F},t(e.v,n)):i("span",{key:n.k},t(e.Z,n))},table:{t:Fs(On),i:Ws.HIGH,l:Ms,h:(e,t,n)=>i("table",{key:n.k},i("thead",null,i("tr",null,e.L.map((function(s,r){return i("th",{key:r,style:ks(e,r)},t(s,n))})))),i("tbody",null,e.A.map((function(s,r){return i("tr",{key:r},s.map((function(s,r){return i("td",{key:r,style:ks(e,r)},t(s,n))})))}))))},tableSeparator:{t:function(e,t){return t.$?(t._=!0,$n.exec(e)):null},i:Ws.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:As(Qn),i:Ws.MIN,l:e=>({v:e[0].replace(In,((e,n)=>t.namedCodesToUnicode[n]?t.namedCodesToUnicode[n]:e))}),h:e=>e.v},textBolded:{t:Ts(Gn),i:Ws.MED,l:(e,t,n)=>({v:t(e[2],n)}),h:(e,t,n)=>i("strong",{key:n.k},t(e.v,n))},textEmphasized:{t:Ts(Yn),i:Ws.LOW,l:(e,t,n)=>({v:t(e[2],n)}),h:(e,t,n)=>i("em",{key:n.k},t(e.v,n))},textEscaped:{t:Ts(Xn),i:Ws.HIGH,l:e=>({v:e[1],type:"text"})},textMarked:{t:Ts(Jn),i:Ws.LOW,l:Rs,h:(e,t,n)=>i("mark",{key:n.k},t(e.v,n))},textStrikethroughed:{t:Ts(Zn),i:Ws.LOW,l:Rs,h:(e,t,n)=>i("del",{key:n.k},t(e.v,n))}};!0!==t.disableParsingRawHTML&&(c.htmlBlock={t:As(jn),i:Ws.HIGH,l(e,t,n){const[,s]=e[3].match(ts),i=new RegExp(`^${s}`,"gm"),r=e[3].replace(i,""),a=(l=r,Ss.some((e=>e.test(l)))?Ns:Bs);var l;const c=e[1].toLowerCase(),d=-1!==rn.indexOf(c);n.N=n.N||"a"===c;const h=d?e[3]:a(t,r,n);return n.N=!1,{O:o(e[2]),v:h,G:d,H:d?c:e[1]}},h:(e,t,n)=>i(e.H,en({key:n.k},e.O),e.G?e.v:t(e.v,n))},c.htmlSelfClosing={t:As(En),i:Ws.HIGH,l:e=>({O:o(e[2]||""),H:e[1]}),h:(e,t,n)=>i(e.H,en({},e.O,{key:n.k}))});const d=function(e){let t=Object.keys(e);function n(s,i){let r=[],o="";for(;s;){let a=0;for(;a<t.length;){const l=t[a],c=e[l],d=c.t(s,i,o);if(d){const e=d[0];s=s.substring(e.length);const t=c.l(d,n,i);null==t.type&&(t.type=l),r.push(t),o=e;break}a++}}return r}return t.sort((function(t,n){let s=e[t].i,i=e[n].i;return s!==i?s-i:t<n?-1:1})),function(e,t){return n(function(e){return e.replace(fn,"\n").replace(bn,"").replace(Pn," ")}(e),t)}}(c),h=(u=c,p=function(e,t,n){return u[e.type].h(e,t,n)},function e(t,n={}){if(Array.isArray(t)){const s=n.k,i=[];let r=!1;for(let s=0;s<t.length;s++){n.k=s;const o=e(t[s],n),a="string"==typeof o;a&&r?i[i.length-1]+=o:null!==o&&i.push(o),r=a}return n.k=s,i}return p(t,e,n)});var u,p;const m=r(e);return a.length?i("div",null,m,i("footer",{key:"footer"},a.map((function(e){return i("div",{id:t.slugify(e.j),key:e.j},e.j,h(d(e.I,{_:!0})))})))):m}(Us=Ws||(Ws={}))[Us.MAX=0]="MAX",Us[Us.HIGH=1]="HIGH",Us[Us.MED=2]="MED",Us[Us.LOW=3]="LOW",Us[Us.MIN=4]="MIN";const Ks=e=>{let{children:t,options:n}=e,i=function(e,t){if(null==e)return{};var n,s,i={},r=Object.keys(e);for(s=0;s<r.length;s++)t.indexOf(n=r[s])>=0||(i[n]=e[n]);return i}(e,tn);return s.cloneElement(qs(t,n),i)};var Gs=n(73915),Ys=n.n(Gs),Js=n(43551),Zs=n.n(Js);class Xs extends s.Component{constructor(){super(...arguments),this.state={wasPropertyKeyModified:!1,additionalProperties:{}},this.onPropertyChange=(e,t=!1)=>(n,s,i)=>{const{formData:r,onChange:o,errorSchema:a}=this.props;void 0===n&&t&&(n=""),o({...r,[e]:n},a&&a&&{...a,[e]:s},i)},this.onDropPropertyClick=e=>t=>{t.preventDefault();const{onChange:n,formData:s}=this.props,i={...s};Zs()(i,e),n(i)},this.getAvailableKey=(e,t)=>{const{uiSchema:n,registry:s}=this.props,{duplicateKeySuffixSeparator:i="-"}=(0,jt.getUiOptions)(n,s.globalUiOptions);let r=0,o=e;for(;Ys()(t,o);)o=`${e}${i}${++r}`;return o},this.onKeyChange=e=>(t,n)=>{if(e===t)return;const{formData:s,onChange:i,errorSchema:r}=this.props;t=this.getAvailableKey(t,s);const o={...s},a={[e]:t},l=Object.keys(o).map((e=>({[a[e]||e]:o[e]}))),c=Object.assign({},...l);this.setState({wasPropertyKeyModified:!0}),i(c,r&&r&&{...r,[t]:n})},this.handleAddClick=e=>()=>{if(!e.additionalProperties)return;const{formData:t,onChange:n,registry:s}=this.props,i={...t};let r;if(Lt()(e.additionalProperties)){r=e.additionalProperties.type;let n=e.additionalProperties;if(jt.REF_KEY in n){const{schemaUtils:e}=s;n=e.retrieveSchema({$ref:n[jt.REF_KEY]},t),r=n.type}r||!(jt.ANY_OF_KEY in n)&&!(jt.ONE_OF_KEY in n)||(r="object")}const o=this.getAvailableKey("newKey",i);Rt()(i,o,this.getDefaultValue(r)),n(i)}}isRequired(e){const{schema:t}=this.props;return Array.isArray(t.required)&&-1!==t.required.indexOf(e)}getDefaultValue(e){const{registry:{translateString:t}}=this.props;switch(e){case"array":return[];case"boolean":return!1;case"null":return null;case"number":return 0;case"object":return{};default:return t(jt.TranslatableString.NewStringDefault)}}render(){var e,t,n;const{schema:s,uiSchema:i={},formData:r,errorSchema:o,idSchema:a,name:l,required:c=!1,disabled:d=!1,readonly:h=!1,hideError:u,idPrefix:p,idSeparator:m,onBlur:g,onFocus:v,registry:f}=this.props,{fields:w,formContext:y,schemaUtils:b,translateString:x,globalUiOptions:_}=f,{SchemaField:S}=w,C=b.retrieveSchema(s,r),j=(0,jt.getUiOptions)(i,_),{properties:I={}}=C,M=null!==(t=null!==(e=j.title)&&void 0!==e?e:C.title)&&void 0!==t?t:l,k=null!==(n=j.description)&&void 0!==n?n:C.description;let E;try{const e=Object.keys(I);E=(0,jt.orderProperties)(e,j.order)}catch(e){return(0,Ct.jsxs)("div",{children:[(0,Ct.jsx)("p",{className:"config-error",style:{color:"red"},children:(0,Ct.jsx)(Ks,{children:x(jt.TranslatableString.InvalidObjectField,[l||"root",e.message])})}),(0,Ct.jsx)("pre",{children:JSON.stringify(C)})]})}const T=(0,jt.getTemplate)("ObjectFieldTemplate",f,j),F={title:!1===j.label?"":M,description:!1===j.label?void 0:k,properties:E.map((e=>{const t=Ys()(C,[jt.PROPERTIES_KEY,e,jt.ADDITIONAL_PROPERTY_FLAG]),n=t?i.additionalProperties:i[e],s="hidden"===(0,jt.getUiOptions)(n).widget,l=Mt()(a,[e],{});return{content:(0,Ct.jsx)(S,{name:e,required:this.isRequired(e),schema:Mt()(C,[jt.PROPERTIES_KEY,e],{}),uiSchema:n,errorSchema:Mt()(o,e),idSchema:l,idPrefix:p,idSeparator:m,formData:Mt()(r,e),formContext:y,wasPropertyKeyModified:this.state.wasPropertyKeyModified,onKeyChange:this.onKeyChange(e),onChange:this.onPropertyChange(e,t),onBlur:g,onFocus:v,registry:f,disabled:d,readonly:h,hideError:u,onDropPropertyClick:this.onDropPropertyClick},e),name:e,readonly:h,disabled:d,required:c,hidden:s}})),readonly:h,disabled:d,required:c,idSchema:a,uiSchema:i,errorSchema:o,schema:C,formData:r,formContext:y,registry:f};return(0,Ct.jsx)(T,{...F,onAddClick:this.handleAddClick})}}const Qs=Xs,ei={array:"ArrayField",boolean:"BooleanField",integer:"NumberField",number:"NumberField",object:"ObjectField",string:"StringField",null:"NullField"};function ti(e){const{schema:t,idSchema:n,uiSchema:i,formData:r,errorSchema:o,idPrefix:a,idSeparator:l,name:c,onChange:d,onKeyChange:h,onDropPropertyClick:u,required:p,registry:m,wasPropertyKeyModified:g=!1}=e,{formContext:v,schemaUtils:f,globalUiOptions:w}=m,y=(0,jt.getUiOptions)(i,w),b=(0,jt.getTemplate)("FieldTemplate",m,y),x=(0,jt.getTemplate)("DescriptionFieldTemplate",m,y),_=(0,jt.getTemplate)("FieldHelpTemplate",m,y),S=(0,jt.getTemplate)("FieldErrorTemplate",m,y),C=f.retrieveSchema(t,r),j=n[jt.ID_KEY],I=(0,jt.mergeObjects)(f.toIdSchema(C,j,r,a,l),n),M=(0,s.useCallback)(((e,t,n)=>d(e,t,n||j)),[j,d]),k=function(e,t,n,s){const i=t.field,{fields:r,translateString:o}=s;if("function"==typeof i)return i;if("string"==typeof i&&i in r)return r[i];const a=(0,jt.getSchemaType)(e),l=Array.isArray(a)?a[0]:a||"",c=e.$id;let d=ei[l];return c&&c in r&&(d=c),d||!e.anyOf&&!e.oneOf?d in r?r[d]:()=>{const i=(0,jt.getTemplate)("UnsupportedFieldTemplate",s,t);return(0,Ct.jsx)(i,{schema:e,idSchema:n,reason:o(jt.TranslatableString.UnknownFieldType,[String(e.type)]),registry:s})}:()=>null}(C,y,I,m),E=Boolean(e.disabled||y.disabled),T=Boolean(e.readonly||y.readonly||e.schema.readOnly||C.readOnly),F=y.hideError,A=void 0===F?e.hideError:Boolean(F),z=Boolean(e.autofocus||y.autofocus);if(0===Object.keys(C).length)return null;const D=f.getDisplayLabel(C,i,w),{__errors:O,...B}=o||{},L=Gt()(i,["ui:classNames","classNames","ui:style"]);jt.UI_OPTIONS_KEY in L&&(L[jt.UI_OPTIONS_KEY]=Gt()(L[jt.UI_OPTIONS_KEY],["classNames","style"]));const N=(0,Ct.jsx)(k,{...e,onChange:M,idSchema:I,schema:C,uiSchema:L,disabled:E,readonly:T,hideError:A,autofocus:z,errorSchema:B,formContext:v,rawErrors:O}),R=I[jt.ID_KEY];let H;H=g||jt.ADDITIONAL_PROPERTY_FLAG in C?c:y.title||e.schema.title||C.title||c;const P=y.description||e.schema.description||C.description||"",$=y.enableMarkdownInDescription?(0,Ct.jsx)(Ks,{children:P}):P,V=y.help,W="hidden"===y.widget,U=["form-group","field",`field-${(0,jt.getSchemaType)(C)}`];!A&&O&&O.length>0&&U.push("field-error has-error has-danger"),(null==i?void 0:i.classNames)&&U.push(i.classNames),y.classNames&&U.push(y.classNames);const q=(0,Ct.jsx)(_,{help:V,idSchema:I,schema:C,uiSchema:i,hasErrors:!A&&O&&O.length>0,registry:m}),K=A||(C.anyOf||C.oneOf)&&!f.isSelect(C)?void 0:(0,Ct.jsx)(S,{errors:O,errorSchema:o,idSchema:I,schema:C,uiSchema:i,registry:m}),G={description:(0,Ct.jsx)(x,{id:(0,jt.descriptionId)(R),description:$,schema:C,uiSchema:i,registry:m}),rawDescription:P,help:q,rawHelp:"string"==typeof V?V:void 0,errors:K,rawErrors:A?void 0:O,id:R,label:H,hidden:W,onChange:d,onKeyChange:h,onDropPropertyClick:u,required:p,disabled:E,readonly:T,hideError:A,displayLabel:D,classNames:U.join(" ").trim(),style:y.style,formContext:v,formData:r,schema:C,uiSchema:i,registry:m},Y=m.fields.AnyOfField,J=m.fields.OneOfField,Z=(null==i?void 0:i["ui:field"])&&!0===(null==i?void 0:i["ui:fieldReplacesAnyOrOneOf"]);return(0,Ct.jsx)(b,{...G,children:(0,Ct.jsxs)(Ct.Fragment,{children:[N,C.anyOf&&!Z&&!f.isSelect(C)&&(0,Ct.jsx)(Y,{name:c,disabled:E,readonly:T,hideError:A,errorSchema:o,formData:r,formContext:v,idPrefix:a,idSchema:I,idSeparator:l,onBlur:e.onBlur,onChange:e.onChange,onFocus:e.onFocus,options:C.anyOf.map((e=>f.retrieveSchema(Lt()(e)?e:{},r))),registry:m,schema:C,uiSchema:i}),C.oneOf&&!Z&&!f.isSelect(C)&&(0,Ct.jsx)(J,{name:c,disabled:E,readonly:T,hideError:A,errorSchema:o,formData:r,formContext:v,idPrefix:a,idSchema:I,idSeparator:l,onBlur:e.onBlur,onChange:e.onChange,onFocus:e.onFocus,options:C.oneOf.map((e=>f.retrieveSchema(Lt()(e)?e:{},r))),registry:m,schema:C,uiSchema:i})]})})}class ni extends s.Component{shouldComponentUpdate(e){return!(0,jt.deepEquals)(this.props,e)}render(){return(0,Ct.jsx)(ti,{...this.props})}}const si=ni,ii=function(e){var t;const{schema:n,name:s,uiSchema:i,idSchema:r,formData:o,required:a,disabled:l=!1,readonly:c=!1,autofocus:d=!1,onChange:h,onBlur:u,onFocus:p,registry:m,rawErrors:g,hideError:v}=e,{title:f,format:w}=n,{widgets:y,formContext:b,schemaUtils:x,globalUiOptions:_}=m,S=x.isSelect(n)?(0,jt.optionsList)(n):void 0;let C=S?"select":"text";w&&(0,jt.hasWidget)(n,w,y)&&(C=w);const{widget:j=C,placeholder:I="",title:M,...k}=(0,jt.getUiOptions)(i),E=x.getDisplayLabel(n,i,_),T=null!==(t=null!=M?M:f)&&void 0!==t?t:s,F=(0,jt.getWidget)(n,j,y);return(0,Ct.jsx)(F,{options:{...k,enumOptions:S},schema:n,uiSchema:i,id:r.$id,name:s,label:T,hideLabel:!E,hideError:v,value:o,onChange:h,onBlur:u,onFocus:p,required:a,disabled:l,readonly:c,formContext:b,autofocus:d,registry:m,placeholder:I,rawErrors:g})},ri=function(e){const{formData:t,onChange:n}=e;return(0,s.useEffect)((()=>{void 0===t&&n(null)}),[t,n]),null};function oi(e){const{idSchema:t,description:n,registry:s,schema:i,uiSchema:r}=e,o=(0,jt.getUiOptions)(r,s.globalUiOptions),{label:a=!0}=o;if(!n||!a)return null;const l=(0,jt.getTemplate)("DescriptionFieldTemplate",s,o);return(0,Ct.jsx)(l,{id:(0,jt.descriptionId)(t),description:n,schema:i,uiSchema:r,registry:s})}function ai(e){const{children:t,className:n,disabled:s,hasToolbar:i,hasMoveDown:r,hasMoveUp:o,hasRemove:a,hasCopy:l,index:c,onCopyIndexClick:d,onDropIndexClick:h,onReorderClick:u,readonly:p,registry:m,uiSchema:g}=e,{CopyButton:v,MoveDownButton:f,MoveUpButton:w,RemoveButton:y}=m.templates.ButtonTemplates,b={flex:1,paddingLeft:6,paddingRight:6,fontWeight:"bold"};return(0,Ct.jsxs)("div",{className:n,children:[(0,Ct.jsx)("div",{className:i?"col-xs-9":"col-xs-12",children:t}),i&&(0,Ct.jsx)("div",{className:"col-xs-3 array-item-toolbox",children:(0,Ct.jsxs)("div",{className:"btn-group",style:{display:"flex",justifyContent:"space-around"},children:[(o||r)&&(0,Ct.jsx)(w,{style:b,disabled:s||p||!o,onClick:u(c,c-1),uiSchema:g,registry:m}),(o||r)&&(0,Ct.jsx)(f,{style:b,disabled:s||p||!r,onClick:u(c,c+1),uiSchema:g,registry:m}),l&&(0,Ct.jsx)(v,{style:b,disabled:s||p,onClick:d(c),uiSchema:g,registry:m}),a&&(0,Ct.jsx)(y,{style:b,disabled:s||p,onClick:h(c),uiSchema:g,registry:m})]})})]})}function li(e){const{canAdd:t,className:n,disabled:s,idSchema:i,uiSchema:r,items:o,onAddClick:a,readonly:l,registry:c,required:d,schema:h,title:u}=e,p=(0,jt.getUiOptions)(r),m=(0,jt.getTemplate)("ArrayFieldDescriptionTemplate",c,p),g=(0,jt.getTemplate)("ArrayFieldItemTemplate",c,p),v=(0,jt.getTemplate)("ArrayFieldTitleTemplate",c,p),{ButtonTemplates:{AddButton:f}}=c.templates;return(0,Ct.jsxs)("fieldset",{className:n,id:i.$id,children:[(0,Ct.jsx)(v,{idSchema:i,title:p.title||u,required:d,schema:h,uiSchema:r,registry:c}),(0,Ct.jsx)(m,{idSchema:i,description:p.description||h.description,schema:h,uiSchema:r,registry:c}),(0,Ct.jsx)("div",{className:"row array-item-list",children:o&&o.map((({key:e,...t})=>(0,Ct.jsx)(g,{...t},e)))}),t&&(0,Ct.jsx)(f,{className:"array-item-add",onClick:a,disabled:s||l,uiSchema:r,registry:c})]})}function ci(e){const{idSchema:t,title:n,schema:s,uiSchema:i,required:r,registry:o}=e,a=(0,jt.getUiOptions)(i,o.globalUiOptions),{label:l=!0}=a;if(!n||!l)return null;const c=(0,jt.getTemplate)("TitleFieldTemplate",o,a);return(0,Ct.jsx)(c,{id:(0,jt.titleId)(t),title:n,required:r,schema:s,uiSchema:i,registry:o})}function di(e){const{id:t,name:n,value:i,readonly:r,disabled:o,autofocus:a,onBlur:l,onFocus:c,onChange:d,onChangeOverride:h,options:u,schema:p,uiSchema:m,formContext:g,registry:v,rawErrors:f,type:w,hideLabel:y,hideError:b,...x}=e;if(!t)throw console.log("No id for",e),new Error(`no id for props ${JSON.stringify(e)}`);const _={...x,...(0,jt.getInputProps)(p,w,u)};let S;S="number"===_.type||"integer"===_.type?i||0===i?i:"":null==i?"":i;const C=(0,s.useCallback)((({target:{value:e}})=>d(""===e?u.emptyValue:e)),[d,u]),j=(0,s.useCallback)((({target:{value:e}})=>l(t,e)),[l,t]),I=(0,s.useCallback)((({target:{value:e}})=>c(t,e)),[c,t]);return(0,Ct.jsxs)(Ct.Fragment,{children:[(0,Ct.jsx)("input",{id:t,name:t,className:"form-control",readOnly:r,disabled:o,autoFocus:a,value:S,..._,list:p.examples?(0,jt.examplesId)(t):void 0,onChange:h||C,onBlur:j,onFocus:I,"aria-describedby":(0,jt.ariaDescribedByIds)(t,!!p.examples)}),Array.isArray(p.examples)&&(0,Ct.jsx)("datalist",{id:(0,jt.examplesId)(t),children:p.examples.concat(p.default&&!p.examples.includes(p.default)?[p.default]:[]).map((e=>(0,Ct.jsx)("option",{value:e},e)))},`datalist_${t}`)]})}function hi({uiSchema:e}){const{submitText:t,norender:n,props:s={}}=(0,jt.getSubmitButtonOptions)(e);return n?null:(0,Ct.jsx)("div",{children:(0,Ct.jsx)("button",{type:"submit",...s,className:`btn btn-info ${s.className||""}`,children:t})})}function ui(e){const{iconType:t="default",icon:n,className:s,uiSchema:i,registry:r,...o}=e;return(0,Ct.jsx)("button",{type:"button",className:`btn btn-${t} ${s}`,...o,children:(0,Ct.jsx)("i",{className:`glyphicon glyphicon-${n}`})})}function pi(e){const{registry:{translateString:t}}=e;return(0,Ct.jsx)(ui,{title:t(jt.TranslatableString.CopyButton),className:"array-item-copy",...e,icon:"copy"})}function mi(e){const{registry:{translateString:t}}=e;return(0,Ct.jsx)(ui,{title:t(jt.TranslatableString.MoveDownButton),className:"array-item-move-down",...e,icon:"arrow-down"})}function gi(e){const{registry:{translateString:t}}=e;return(0,Ct.jsx)(ui,{title:t(jt.TranslatableString.MoveUpButton),className:"array-item-move-up",...e,icon:"arrow-up"})}function vi(e){const{registry:{translateString:t}}=e;return(0,Ct.jsx)(ui,{title:t(jt.TranslatableString.RemoveButton),className:"array-item-remove",...e,iconType:"danger",icon:"remove"})}function fi({className:e,onClick:t,disabled:n,registry:s}){const{translateString:i}=s;return(0,Ct.jsx)("div",{className:"row",children:(0,Ct.jsx)("p",{className:`col-xs-3 col-xs-offset-9 text-right ${e}`,children:(0,Ct.jsx)(ui,{iconType:"info",icon:"plus",className:"btn-add col-xs-12",title:i(jt.TranslatableString.AddButton),onClick:t,disabled:n,registry:s})})})}function wi(e){const{id:t,description:n}=e;return n?"string"==typeof n?(0,Ct.jsx)("p",{id:t,className:"field-description",children:n}):(0,Ct.jsx)("div",{id:t,className:"field-description",children:n}):null}function yi({errors:e,registry:t}){const{translateString:n}=t;return(0,Ct.jsxs)("div",{className:"panel panel-danger errors",children:[(0,Ct.jsx)("div",{className:"panel-heading",children:(0,Ct.jsx)("h3",{className:"panel-title",children:n(jt.TranslatableString.ErrorsLabel)})}),(0,Ct.jsx)("ul",{className:"list-group",children:e.map(((e,t)=>(0,Ct.jsx)("li",{className:"list-group-item text-danger",children:e.stack},t)))})]})}const bi="*";function xi(e){const{label:t,required:n,id:s}=e;return t?(0,Ct.jsxs)("label",{className:"control-label",htmlFor:s,children:[t,n&&(0,Ct.jsx)("span",{className:"required",children:bi})]}):null}const _i=function(e){const{id:t,label:n,children:s,errors:i,help:r,description:o,hidden:a,required:l,displayLabel:c,registry:d,uiSchema:h}=e,u=(0,jt.getUiOptions)(h),p=(0,jt.getTemplate)("WrapIfAdditionalTemplate",d,u);return a?(0,Ct.jsx)("div",{className:"hidden",children:s}):(0,Ct.jsxs)(p,{...e,children:[c&&(0,Ct.jsx)(xi,{label:n,required:l,id:t}),c&&o?o:null,s,i,r]})};function Si(e){const{errors:t=[],idSchema:n}=e;if(0===t.length)return null;const s=(0,jt.errorId)(n);return(0,Ct.jsx)("div",{children:(0,Ct.jsx)("ul",{id:s,className:"error-detail bs-callout bs-callout-info",children:t.filter((e=>!!e)).map(((e,t)=>(0,Ct.jsx)("li",{className:"text-danger",children:e},t)))})})}function Ci(e){const{idSchema:t,help:n}=e;if(!n)return null;const s=(0,jt.helpId)(t);return"string"==typeof n?(0,Ct.jsx)("p",{id:s,className:"help-block",children:n}):(0,Ct.jsx)("div",{id:s,className:"help-block",children:n})}function ji(e){const{description:t,disabled:n,formData:s,idSchema:i,onAddClick:r,properties:o,readonly:a,registry:l,required:c,schema:d,title:h,uiSchema:u}=e,p=(0,jt.getUiOptions)(u),m=(0,jt.getTemplate)("TitleFieldTemplate",l,p),g=(0,jt.getTemplate)("DescriptionFieldTemplate",l,p),{ButtonTemplates:{AddButton:v}}=l.templates;return(0,Ct.jsxs)("fieldset",{id:i.$id,children:[h&&(0,Ct.jsx)(m,{id:(0,jt.titleId)(i),title:h,required:c,schema:d,uiSchema:u,registry:l}),t&&(0,Ct.jsx)(g,{id:(0,jt.descriptionId)(i),description:t,schema:d,uiSchema:u,registry:l}),o.map((e=>e.content)),(0,jt.canExpand)(d,u,s)&&(0,Ct.jsx)(v,{className:"object-property-expand",onClick:r(d),disabled:n||a,uiSchema:u,registry:l})]})}function Ii(e){const{id:t,title:n,required:s}=e;return(0,Ct.jsxs)("legend",{id:t,children:[n,s&&(0,Ct.jsx)("span",{className:"required",children:"*"})]})}const Mi=function(e){const{schema:t,idSchema:n,reason:s,registry:i}=e,{translateString:r}=i;let o=jt.TranslatableString.UnsupportedField;const a=[];return n&&n.$id&&(o=jt.TranslatableString.UnsupportedFieldWithId,a.push(n.$id)),s&&(o=o===jt.TranslatableString.UnsupportedField?jt.TranslatableString.UnsupportedFieldWithReason:jt.TranslatableString.UnsupportedFieldWithIdAndReason,a.push(s)),(0,Ct.jsxs)("div",{className:"unsupported-field",children:[(0,Ct.jsx)("p",{children:(0,Ct.jsx)(Ks,{children:r(o,a)})}),t&&(0,Ct.jsx)("pre",{children:JSON.stringify(t,null,2)})]})};function ki(e){const{id:t,classNames:n,style:s,disabled:i,label:r,onKeyChange:o,onDropPropertyClick:a,readonly:l,required:c,schema:d,children:h,uiSchema:u,registry:p}=e,{templates:m,translateString:g}=p,{RemoveButton:v}=m.ButtonTemplates,f=g(jt.TranslatableString.KeyLabel,[r]);return jt.ADDITIONAL_PROPERTY_FLAG in d?(0,Ct.jsx)("div",{className:n,style:s,children:(0,Ct.jsxs)("div",{className:"row",children:[(0,Ct.jsx)("div",{className:"col-xs-5 form-additional",children:(0,Ct.jsxs)("div",{className:"form-group",children:[(0,Ct.jsx)(xi,{label:f,required:c,id:`${t}-key`}),(0,Ct.jsx)("input",{className:"form-control",type:"text",id:`${t}-key`,onBlur:e=>o(e.target.value),defaultValue:r})]})}),(0,Ct.jsx)("div",{className:"form-additional form-group col-xs-5",children:h}),(0,Ct.jsx)("div",{className:"col-xs-2",children:(0,Ct.jsx)(v,{className:"array-item-remove btn-block",style:{border:"0"},disabled:i||l,onClick:a(r),uiSchema:u,registry:p})})]})}):(0,Ct.jsx)("div",{className:n,style:s,children:h})}function Ei(e,t){const n=[];for(let s=e;s<=t;s++)n.push({value:s,label:(0,jt.pad)(s,2)});return n}function Ti(e,t,n=[1900,(new Date).getFullYear()+2]){const{year:s,month:i,day:r,hour:o,minute:a,second:l}=e,c=[{type:"year",range:n,value:s},{type:"month",range:[1,12],value:i},{type:"day",range:[1,31],value:r}];return t&&c.push({type:"hour",range:[0,23],value:o},{type:"minute",range:[0,59],value:a},{type:"second",range:[0,59],value:l}),c}function Fi({type:e,range:t,value:n,select:s,rootId:i,name:r,disabled:o,readonly:a,autofocus:l,registry:c,onBlur:d,onFocus:h}){const u=i+"_"+e,{SelectWidget:p}=c.widgets;return(0,Ct.jsx)(p,{schema:{type:"integer"},id:u,name:r,className:"form-control",options:{enumOptions:Ei(t[0],t[1])},placeholder:e,value:n,disabled:o,readonly:a,autofocus:l,onChange:t=>s(e,t),onBlur:d,onFocus:h,registry:c,label:"","aria-describedby":(0,jt.ariaDescribedByIds)(i)})}const Ai=function({time:e=!1,disabled:t=!1,readonly:n=!1,autofocus:i=!1,options:r,id:o,name:a,registry:l,onBlur:c,onFocus:d,onChange:h,value:u}){const{translateString:p}=l,[m,g]=(0,s.useState)(u),[v,f]=(0,s.useReducer)(((e,t)=>({...e,...t})),(0,jt.parseDateString)(u,e));(0,s.useEffect)((()=>{const t=(0,jt.toDateString)(v,e);!function(e){return Object.values(e).every((e=>-1!==e))}(v)||t===u?m!==u&&(g(u),f((0,jt.parseDateString)(u,e))):h(t)}),[e,u,h,v,m]);const w=(0,s.useCallback)(((e,t)=>{f({[e]:t})}),[]),y=(0,s.useCallback)((s=>{if(s.preventDefault(),t||n)return;const i=(0,jt.parseDateString)((new Date).toJSON(),e);h((0,jt.toDateString)(i,e))}),[t,n,e]),b=(0,s.useCallback)((e=>{e.preventDefault(),t||n||h(void 0)}),[t,n,h]);return(0,Ct.jsxs)("ul",{className:"list-inline",children:[Ti(v,e,r.yearsRange).map(((e,s)=>(0,Ct.jsx)("li",{className:"list-inline-item",children:(0,Ct.jsx)(Fi,{rootId:o,name:a,select:w,...e,disabled:t,readonly:n,registry:l,onBlur:c,onFocus:d,autofocus:i&&0===s})},s))),("undefined"===r.hideNowButton||!r.hideNowButton)&&(0,Ct.jsx)("li",{className:"list-inline-item",children:(0,Ct.jsx)("a",{href:"#",className:"btn btn-info btn-now",onClick:y,children:p(jt.TranslatableString.NowLabel)})}),("undefined"===r.hideClearButton||!r.hideClearButton)&&(0,Ct.jsx)("li",{className:"list-inline-item",children:(0,Ct.jsx)("a",{href:"#",className:"btn btn-warning btn-clear",onClick:b,children:p(jt.TranslatableString.ClearLabel)})})]})},zi=function({time:e=!0,...t}){const{AltDateWidget:n}=t.registry.widgets;return(0,Ct.jsx)(n,{time:e,...t})},Di=function({schema:e,uiSchema:t,options:n,id:i,value:r,disabled:o,readonly:a,label:l,hideLabel:c,autofocus:d=!1,onBlur:h,onFocus:u,onChange:p,registry:m}){var g;const v=(0,jt.getTemplate)("DescriptionFieldTemplate",m,n),f=(0,jt.schemaRequiresTrueValue)(e),w=(0,s.useCallback)((e=>p(e.target.checked)),[p]),y=(0,s.useCallback)((e=>h(i,e.target.checked)),[h,i]),b=(0,s.useCallback)((e=>u(i,e.target.checked)),[u,i]),x=null!==(g=n.description)&&void 0!==g?g:e.description;return(0,Ct.jsxs)("div",{className:"checkbox "+(o||a?"disabled":""),children:[!c&&!!x&&(0,Ct.jsx)(v,{id:(0,jt.descriptionId)(i),description:x,schema:e,uiSchema:t,registry:m}),(0,Ct.jsxs)("label",{children:[(0,Ct.jsx)("input",{type:"checkbox",id:i,name:i,checked:void 0!==r&&r,required:f,disabled:o||a,autoFocus:d,onChange:w,onBlur:y,onFocus:b,"aria-describedby":(0,jt.ariaDescribedByIds)(i)}),(0,jt.labelValue)((0,Ct.jsx)("span",{children:l}),c)]})]})},Oi=function({id:e,disabled:t,options:{inline:n=!1,enumOptions:i,enumDisabled:r,emptyValue:o},value:a,autofocus:l=!1,readonly:c,onChange:d,onBlur:h,onFocus:u}){const p=Array.isArray(a)?a:[a],m=(0,s.useCallback)((({target:{value:t}})=>h(e,(0,jt.enumOptionsValueForIndex)(t,i,o))),[h,e]),g=(0,s.useCallback)((({target:{value:t}})=>u(e,(0,jt.enumOptionsValueForIndex)(t,i,o))),[u,e]);return(0,Ct.jsx)("div",{className:"checkboxes",id:e,children:Array.isArray(i)&&i.map(((s,o)=>{const a=(0,jt.enumOptionsIsSelected)(s.value,p),h=Array.isArray(r)&&-1!==r.indexOf(s.value),u=t||h||c?"disabled":"",v=(0,Ct.jsxs)("span",{children:[(0,Ct.jsx)("input",{type:"checkbox",id:(0,jt.optionId)(e,o),name:e,checked:a,value:String(o),disabled:t||h||c,autoFocus:l&&0===o,onChange:e=>{e.target.checked?d((0,jt.enumOptionsSelectValue)(o,p,i)):d((0,jt.enumOptionsDeselectValue)(o,p,i))},onBlur:m,onFocus:g,"aria-describedby":(0,jt.ariaDescribedByIds)(e)}),(0,Ct.jsx)("span",{children:s.label})]});return n?(0,Ct.jsx)("label",{className:`checkbox-inline ${u}`,children:v},o):(0,Ct.jsx)("div",{className:`checkbox ${u}`,children:(0,Ct.jsx)("label",{children:v})},o)}))})};function Bi(e){const{disabled:t,readonly:n,options:s,registry:i}=e,r=(0,jt.getTemplate)("BaseInputTemplate",i,s);return(0,Ct.jsx)(r,{type:"color",...e,disabled:t||n})}function Li(e){const{onChange:t,options:n,registry:i}=e,r=(0,jt.getTemplate)("BaseInputTemplate",i,n),o=(0,s.useCallback)((e=>t(e||void 0)),[t]);return(0,Ct.jsx)(r,{type:"date",...e,onChange:o})}function Ni(e){const{onChange:t,value:n,options:s,registry:i}=e,r=(0,jt.getTemplate)("BaseInputTemplate",i,s);return(0,Ct.jsx)(r,{type:"datetime-local",...e,value:(0,jt.utcToLocal)(n),onChange:e=>t((0,jt.localToUTC)(e))})}function Ri(e){const{options:t,registry:n}=e,s=(0,jt.getTemplate)("BaseInputTemplate",n,t);return(0,Ct.jsx)(s,{type:"email",...e})}function Hi(e,t){return null===e?null:e.replace(";base64",`;name=${encodeURIComponent(t)};base64`)}function Pi(e){const{name:t,size:n,type:s}=e;return new Promise(((i,r)=>{const o=new window.FileReader;o.onerror=r,o.onload=e=>{var r;"string"==typeof(null===(r=e.target)||void 0===r?void 0:r.result)?i({dataURL:Hi(e.target.result,t),name:t,size:n,type:s}):i({dataURL:null,name:t,size:n,type:s})},o.readAsDataURL(e)}))}function $i({fileInfo:e,registry:t}){const{translateString:n}=t,{dataURL:s,type:i,name:r}=e;return s?-1!==i.indexOf("image")?(0,Ct.jsx)("img",{src:s,style:{maxWidth:"100%"},className:"file-preview"}):(0,Ct.jsxs)(Ct.Fragment,{children:[" ",(0,Ct.jsx)("a",{download:`preview-${r}`,href:s,className:"file-download",children:n(jt.TranslatableString.PreviewLabel)})]}):null}function Vi({filesInfo:e,registry:t,preview:n}){if(0===e.length)return null;const{translateString:s}=t;return(0,Ct.jsx)("ul",{className:"file-info",children:e.map(((e,i)=>{const{name:r,size:o,type:a}=e;return(0,Ct.jsxs)("li",{children:[(0,Ct.jsx)(Ks,{children:s(jt.TranslatableString.FilesInfo,[r,a,String(o)])}),n&&(0,Ct.jsx)($i,{fileInfo:e,registry:t})]},i)}))})}function Wi(e){return e.filter((e=>e)).map((e=>{const{blob:t,name:n}=(0,jt.dataURItoBlob)(e);return{dataURL:e,name:n,size:t.size,type:t.type}}))}const Ui=function(e){const{disabled:t,readonly:n,required:i,multiple:r,onChange:o,value:a,options:l,registry:c}=e,d=(0,jt.getTemplate)("BaseInputTemplate",c,l),[h,u]=(0,s.useState)(Array.isArray(a)?Wi(a):Wi([a])),p=(0,s.useCallback)((e=>{var t;e.target.files&&(t=e.target.files,Promise.all(Array.from(t).map(Pi))).then((e=>{const t=e.map((e=>e.dataURL));r?(u(h.concat(e[0])),o(a.concat(t[0]))):(u(e),o(t[0]))}))}),[r,a,h,o]);return(0,Ct.jsxs)("div",{children:[(0,Ct.jsx)(d,{...e,disabled:t||n,type:"file",required:!a&&i,onChangeOverride:p,value:"",accept:l.accept?String(l.accept):void 0}),(0,Ct.jsx)(Vi,{filesInfo:h,registry:c,preview:l.filePreview})]})},qi=function({id:e,value:t}){return(0,Ct.jsx)("input",{type:"hidden",id:e,name:e,value:void 0===t?"":t})};function Ki(e){const{options:t,registry:n}=e,s=(0,jt.getTemplate)("BaseInputTemplate",n,t);return(0,Ct.jsx)(s,{type:"password",...e})}const Gi=function({options:e,value:t,required:n,disabled:i,readonly:r,autofocus:o=!1,onBlur:a,onFocus:l,onChange:c,id:d}){const{enumOptions:h,enumDisabled:u,inline:p,emptyValue:m}=e,g=(0,s.useCallback)((({target:{value:e}})=>a(d,(0,jt.enumOptionsValueForIndex)(e,h,m))),[a,d]),v=(0,s.useCallback)((({target:{value:e}})=>l(d,(0,jt.enumOptionsValueForIndex)(e,h,m))),[l,d]);return(0,Ct.jsx)("div",{className:"field-radio-group",id:d,children:Array.isArray(h)&&h.map(((e,s)=>{const a=(0,jt.enumOptionsIsSelected)(e.value,t),l=Array.isArray(u)&&-1!==u.indexOf(e.value),h=i||l||r?"disabled":"",m=(0,Ct.jsxs)("span",{children:[(0,Ct.jsx)("input",{type:"radio",id:(0,jt.optionId)(d,s),checked:a,name:d,required:n,value:String(s),disabled:i||l||r,autoFocus:o&&0===s,onChange:()=>c(e.value),onBlur:g,onFocus:v,"aria-describedby":(0,jt.ariaDescribedByIds)(d)}),(0,Ct.jsx)("span",{children:e.label})]});return p?(0,Ct.jsx)("label",{className:`radio-inline ${h}`,children:m},s):(0,Ct.jsx)("div",{className:`radio ${h}`,children:(0,Ct.jsx)("label",{children:m})},s)}))})};function Yi(e){const{value:t,registry:{templates:{BaseInputTemplate:n}}}=e;return(0,Ct.jsxs)("div",{className:"field-range-wrapper",children:[(0,Ct.jsx)(n,{type:"range",...e}),(0,Ct.jsx)("span",{className:"range-view",children:t})]})}function Ji(e,t){return t?Array.from(e.target.options).slice().filter((e=>e.selected)).map((e=>e.value)):e.target.value}const Zi=function({schema:e,id:t,options:n,value:i,required:r,disabled:o,readonly:a,multiple:l=!1,autofocus:c=!1,onChange:d,onBlur:h,onFocus:u,placeholder:p}){const{enumOptions:m,enumDisabled:g,emptyValue:v}=n,f=l?[]:"",w=(0,s.useCallback)((e=>{const n=Ji(e,l);return u(t,(0,jt.enumOptionsValueForIndex)(n,m,v))}),[u,t,e,l,n]),y=(0,s.useCallback)((e=>{const n=Ji(e,l);return h(t,(0,jt.enumOptionsValueForIndex)(n,m,v))}),[h,t,e,l,n]),b=(0,s.useCallback)((e=>{const t=Ji(e,l);return d((0,jt.enumOptionsValueForIndex)(t,m,v))}),[d,e,l,n]),x=(0,jt.enumOptionsIndexForValue)(i,m,l);return(0,Ct.jsxs)("select",{id:t,name:t,multiple:l,className:"form-control",value:void 0===x?f:x,required:r,disabled:o||a,autoFocus:c,onBlur:y,onFocus:w,onChange:b,"aria-describedby":(0,jt.ariaDescribedByIds)(t),children:[!l&&void 0===e.default&&(0,Ct.jsx)("option",{value:"",children:p}),Array.isArray(m)&&m.map((({value:e,label:t},n)=>{const s=g&&-1!==g.indexOf(e);return(0,Ct.jsx)("option",{value:String(n),disabled:s,children:t},n)}))]})};function Xi({id:e,options:t={},placeholder:n,value:i,required:r,disabled:o,readonly:a,autofocus:l=!1,onChange:c,onBlur:d,onFocus:h}){const u=(0,s.useCallback)((({target:{value:e}})=>c(""===e?t.emptyValue:e)),[c,t.emptyValue]),p=(0,s.useCallback)((({target:{value:t}})=>d(e,t)),[d,e]),m=(0,s.useCallback)((({target:{value:t}})=>h(e,t)),[e,h]);return(0,Ct.jsx)("textarea",{id:e,name:e,className:"form-control",value:i||"",placeholder:n,required:r,disabled:o,readOnly:a,autoFocus:l,rows:t.rows,onBlur:p,onFocus:m,onChange:u,"aria-describedby":(0,jt.ariaDescribedByIds)(e)})}Xi.defaultProps={autofocus:!1,options:{}};const Qi=Xi;function er(e){const{options:t,registry:n}=e,s=(0,jt.getTemplate)("BaseInputTemplate",n,t);return(0,Ct.jsx)(s,{...e})}function tr(e){const{onChange:t,options:n,registry:i}=e,r=(0,jt.getTemplate)("BaseInputTemplate",i,n),o=(0,s.useCallback)((e=>t(e?`${e}:00`:void 0)),[t]);return(0,Ct.jsx)(r,{type:"time",...e,onChange:o})}function nr(e){const{options:t,registry:n}=e,s=(0,jt.getTemplate)("BaseInputTemplate",n,t);return(0,Ct.jsx)(s,{type:"url",...e})}function sr(e){const{options:t,registry:n}=e,s=(0,jt.getTemplate)("BaseInputTemplate",n,t);return(0,Ct.jsx)(s,{type:"number",...e})}class ir extends s.Component{constructor(e){if(super(e),this.getUsedFormData=(e,t)=>{if(0===t.length&&"object"!=typeof e)return e;const n=Ft()(e,t);return Array.isArray(e)?Object.keys(n).map((e=>n[e])):n},this.getFieldNames=(e,t)=>{const n=(e,s=[],i=[[]])=>(Object.keys(e).forEach((r=>{if("object"==typeof e[r]){const t=i.map((e=>[...e,r]));e[r][jt.RJSF_ADDITONAL_PROPERTIES_FLAG]&&""!==e[r][jt.NAME_KEY]?s.push(e[r][jt.NAME_KEY]):n(e[r],s,t)}else r===jt.NAME_KEY&&""!==e[r]&&i.forEach((e=>{const n=Mt()(t,e);("object"!=typeof n||Et()(n)||Array.isArray(n)&&n.every((e=>"object"!=typeof e)))&&s.push(e)}))})),s);return n(e)},this.onChange=(e,t,n)=>{const{extraErrors:s,omitExtraData:i,liveOmit:r,noValidate:o,liveValidate:a,onChange:l}=this.props,{schemaUtils:c,schema:d,retrievedSchema:h}=this.state;((0,jt.isObject)(e)||Array.isArray(e))&&(e=this.getStateFromProps(this.props,e,h).formData);const u=!o&&a;let p,m={formData:e,schema:d},g=e;if(!0===i&&!0===r){p=c.retrieveSchema(d,e);const t=c.toPathSchema(p,"",e),n=this.getFieldNames(t,e);g=this.getUsedFormData(e,n),m={formData:g}}if(u){const e=this.validate(g,d,c,h);let t=e.errors,n=e.errorSchema;const i=t,r=n;if(s){const i=(0,jt.validationDataMerge)(e,s);n=i.errorSchema,t=i.errors}m={formData:g,errors:t,errorSchema:n,schemaValidationErrors:i,schemaValidationErrorSchema:r}}else if(!o&&t){const e=s?(0,jt.mergeObjects)(t,s,"preventDuplicates"):t;m={formData:g,errorSchema:e,errors:(0,jt.toErrorList)(e)}}p&&(m.retrievedSchema=p),this.setState(m,(()=>l&&l({...this.state,...m},n)))},this.reset=()=>{const{onChange:e}=this.props,t={formData:this.getStateFromProps(this.props,void 0).formData,errorSchema:{},errors:[],schemaValidationErrors:[],schemaValidationErrorSchema:{}};this.setState(t,(()=>e&&e({...this.state,...t})))},this.onBlur=(e,t)=>{const{onBlur:n}=this.props;n&&n(e,t)},this.onFocus=(e,t)=>{const{onFocus:n}=this.props;n&&n(e,t)},this.onSubmit=e=>{if(e.preventDefault(),e.target!==e.currentTarget)return;e.persist();const{omitExtraData:t,extraErrors:n,noValidate:s,onSubmit:i}=this.props;let{formData:r}=this.state;const{schema:o,schemaUtils:a}=this.state;if(!0===t){const e=a.retrieveSchema(o,r),t=a.toPathSchema(e,"",r),n=this.getFieldNames(t,r);r=this.getUsedFormData(r,n)}if(s||this.validateForm()){const t=n||{},s=n?(0,jt.toErrorList)(n):[];this.setState({formData:r,errors:s,errorSchema:t,schemaValidationErrors:[],schemaValidationErrorSchema:{}},(()=>{i&&i({...this.state,formData:r,status:"submitted"},e)}))}},!e.validator)throw new Error("A validator is required for Form functionality to work");this.state=this.getStateFromProps(e,e.formData),this.props.onChange&&!(0,jt.deepEquals)(this.state.formData,this.props.formData)&&this.props.onChange(this.state),this.formElement=(0,s.createRef)()}getSnapshotBeforeUpdate(e,t){if(!(0,jt.deepEquals)(this.props,e)){const n=this.getStateFromProps(this.props,this.props.formData,e.schema!==this.props.schema?void 0:this.state.retrievedSchema);return{nextState:n,shouldUpdate:!(0,jt.deepEquals)(n,t)}}return{shouldUpdate:!1}}componentDidUpdate(e,t,n){if(n.shouldUpdate){const{nextState:e}=n;(0,jt.deepEquals)(e.formData,this.props.formData)||(0,jt.deepEquals)(e.formData,t.formData)||!this.props.onChange||this.props.onChange(e),this.setState(e)}}getStateFromProps(e,t,n){const s=this.state||{},i="schema"in e?e.schema:this.props.schema,r=("uiSchema"in e?e.uiSchema:this.props.uiSchema)||{},o=void 0!==t,a="liveValidate"in e?e.liveValidate:this.props.liveValidate,l=o&&!e.noValidate&&a,c=i,d="experimental_defaultFormStateBehavior"in e?e.experimental_defaultFormStateBehavior:this.props.experimental_defaultFormStateBehavior;let h=s.schemaUtils;h&&!h.doesSchemaUtilsDiffer(e.validator,c,d)||(h=(0,jt.createSchemaUtils)(e.validator,c,d));const u=h.getDefaultFormState(i,t),p=null!=n?n:h.retrieveSchema(i,u);let m,g,v=s.schemaValidationErrors,f=s.schemaValidationErrorSchema;if(l){const e=this.validate(u,i,h,p);m=e.errors,g=e.errorSchema,v=m,f=g}else{const t=e.noValidate?{errors:[],errorSchema:{}}:e.liveValidate?{errors:s.errors||[],errorSchema:s.errorSchema||{}}:{errors:s.schemaValidationErrors||[],errorSchema:s.schemaValidationErrorSchema||{}};m=t.errors,g=t.errorSchema}if(e.extraErrors){const t=(0,jt.validationDataMerge)({errorSchema:g,errors:m},e.extraErrors);g=t.errorSchema,m=t.errors}const w=h.toIdSchema(p,r["ui:rootFieldId"],u,e.idPrefix,e.idSeparator);return{schemaUtils:h,schema:i,uiSchema:r,idSchema:w,formData:u,edit:o,errors:m,errorSchema:g,schemaValidationErrors:v,schemaValidationErrorSchema:f,retrievedSchema:p}}shouldComponentUpdate(e,t){return(0,jt.shouldRender)(this,e,t)}validate(e,t=this.props.schema,n,s){const i=n||this.state.schemaUtils,{customValidate:r,transformErrors:o,uiSchema:a}=this.props,l=null!=s?s:i.retrieveSchema(t,e);return i.getValidator().validateFormData(e,l,r,o,a)}renderErrors(e){const{errors:t,errorSchema:n,schema:s,uiSchema:i}=this.state,{formContext:r}=this.props,o=(0,jt.getUiOptions)(i),a=(0,jt.getTemplate)("ErrorListTemplate",e,o);return t&&t.length?(0,Ct.jsx)(a,{errors:t,errorSchema:n||{},schema:s,uiSchema:i,formContext:r,registry:e}):null}getRegistry(){var e;const{translateString:t,uiSchema:n={}}=this.props,{schemaUtils:s}=this.state,{fields:i,templates:r,widgets:o,formContext:a,translateString:l}={fields:{AnyOfField:Jt,ArrayField:Ut,BooleanField:qt,NumberField:Qt,ObjectField:Qs,OneOfField:Jt,SchemaField:si,StringField:ii,NullField:ri},templates:{ArrayFieldDescriptionTemplate:oi,ArrayFieldItemTemplate:ai,ArrayFieldTemplate:li,ArrayFieldTitleTemplate:ci,ButtonTemplates:{SubmitButton:hi,AddButton:fi,CopyButton:pi,MoveDownButton:mi,MoveUpButton:gi,RemoveButton:vi},BaseInputTemplate:di,DescriptionFieldTemplate:wi,ErrorListTemplate:yi,FieldTemplate:_i,FieldErrorTemplate:Si,FieldHelpTemplate:Ci,ObjectFieldTemplate:ji,TitleFieldTemplate:Ii,UnsupportedFieldTemplate:Mi,WrapIfAdditionalTemplate:ki},widgets:{AltDateWidget:Ai,AltDateTimeWidget:zi,CheckboxWidget:Di,CheckboxesWidget:Oi,ColorWidget:Bi,DateWidget:Li,DateTimeWidget:Ni,EmailWidget:Ri,FileWidget:Ui,HiddenWidget:qi,PasswordWidget:Ki,RadioWidget:Gi,RangeWidget:Yi,SelectWidget:Zi,TextWidget:er,TextareaWidget:Qi,TimeWidget:tr,UpDownWidget:sr,URLWidget:nr},rootSchema:{},formContext:{},translateString:jt.englishStringTranslator};return{fields:{...i,...this.props.fields},templates:{...r,...this.props.templates,ButtonTemplates:{...r.ButtonTemplates,...null===(e=this.props.templates)||void 0===e?void 0:e.ButtonTemplates}},widgets:{...o,...this.props.widgets},rootSchema:this.props.schema,formContext:this.props.formContext||a,schemaUtils:s,translateString:t||l,globalUiOptions:n[jt.UI_GLOBAL_OPTIONS_KEY]}}submit(){this.formElement.current&&(this.formElement.current.dispatchEvent(new CustomEvent("submit",{cancelable:!0})),this.formElement.current.requestSubmit())}focusOnError(e){const{idPrefix:t="root",idSeparator:n="_"}=this.props,{property:s}=e,i=zt()(s);""===i[0]?i[0]=t:i.unshift(t);const r=i.join(n);let o=this.formElement.current.elements[r];o||(o=this.formElement.current.querySelector(`input[id^=${r}`)),o&&o.length&&(o=o[0]),o&&o.focus()}validateForm(){const{extraErrors:e,extraErrorsBlockSubmit:t,focusOnFirstError:n,onError:s}=this.props,{formData:i,errors:r}=this.state,o=this.validate(i);let a=o.errors,l=o.errorSchema;const c=a,d=l,h=a.length>0||e&&t;if(h){if(e){const t=(0,jt.validationDataMerge)(o,e);l=t.errorSchema,a=t.errors}n&&("function"==typeof n?n(a[0]):this.focusOnError(a[0])),this.setState({errors:a,errorSchema:l,schemaValidationErrors:c,schemaValidationErrorSchema:d},(()=>{s?s(a):console.error("Form validation failed",a)}))}else r.length>0&&this.setState({errors:[],errorSchema:{},schemaValidationErrors:[],schemaValidationErrorSchema:{}});return!h}render(){const{children:e,id:t,idPrefix:n,idSeparator:s,className:i="",tagName:r,name:o,method:a,target:l,action:c,autoComplete:d,enctype:h,acceptcharset:u,noHtml5Validate:p=!1,disabled:m=!1,readonly:g=!1,formContext:v,showErrorList:f="top",_internalFormWrapper:w}=this.props,{schema:y,uiSchema:b,formData:x,errorSchema:_,idSchema:S}=this.state,C=this.getRegistry(),{SchemaField:j}=C.fields,{SubmitButton:I}=C.templates.ButtonTemplates,M=w?r:void 0,k=w||r||"form";let{[jt.SUBMIT_BTN_OPTIONS_KEY]:E={}}=(0,jt.getUiOptions)(b);m&&(E={...E,props:{...E.props,disabled:!0}});const T={[jt.UI_OPTIONS_KEY]:{[jt.SUBMIT_BTN_OPTIONS_KEY]:E}};return(0,Ct.jsxs)(k,{className:i||"rjsf",id:t,name:o,method:a,target:l,action:c,autoComplete:d,encType:h,acceptCharset:u,noValidate:p,onSubmit:this.onSubmit,as:M,ref:this.formElement,children:["top"===f&&this.renderErrors(C),(0,Ct.jsx)(j,{name:"",schema:y,uiSchema:b,errorSchema:_,idSchema:S,idPrefix:n,idSeparator:s,formContext:v,formData:x,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,registry:C,disabled:m,readonly:g}),e||(0,Ct.jsx)(I,{uiSchema:T,registry:C}),"bottom"===f&&this.renderErrors(C)]})}}const rr=ir,or={submitButtonOptions:{norender:!0}},ar=e=>{var t;const n=(null!==(t=e.translator)&&void 0!==t?t:St.nullTranslator).load("jupyterlab");let s;if("icons"===e.buttonStyle){const t={tag:"span",elementSize:"xlarge",elementPosition:"center"};s="up"===e.direction?i().createElement(L.react,{...t}):i().createElement(z.react,{...t})}else s="up"===e.direction?n.__("Move up"):n.__("Move down");const r="up"===e.direction?e.item.index-1:e.item.index+1;return i().createElement("button",{className:"jp-mod-styled jp-mod-reject jp-ArrayOperationsButton",onClick:e.item.onReorderClick(e.item.index,r),disabled:"up"===e.direction?!e.item.hasMoveUp:!e.item.hasMoveDown},s)},lr=e=>{var t;const n=(null!==(t=e.translator)&&void 0!==t?t:St.nullTranslator).load("jupyterlab");let s;return s="icons"===e.buttonStyle?i().createElement(W.react,{tag:"span",elementSize:"xlarge",elementPosition:"center"}):n.__("Remove"),i().createElement("button",{className:"jp-mod-styled jp-mod-warn jp-ArrayOperationsButton",onClick:e.item.onDropIndexClick(e.item.index)},s)},cr=e=>{var t;const n=(null!==(t=e.translator)&&void 0!==t?t:St.nullTranslator).load("jupyterlab");let s;return s="icons"===e.buttonStyle?i().createElement(I.react,{tag:"span",elementSize:"xlarge",elementPosition:"center"}):n.__("Add"),i().createElement("button",{className:"jp-mod-styled jp-mod-reject jp-ArrayOperationsButton",onClick:e.onAddClick},s)};function dr(e){const{component:t,name:n,buttonStyle:s,compact:i,showModifiedFromDefault:r,translator:o}=e,a=null!=i&&i,l=null!=s?s:a?"icons":"text",c=e=>t({...e,buttonStyle:l,compact:a,showModifiedFromDefault:null==r||r,translator:null!=o?o:St.nullTranslator});return n&&(c.displayName=n),c}function hr(e,t){return{TitleField:(0,jt.getTemplate)("TitleFieldTemplate",e,t),DescriptionField:(0,jt.getTemplate)("DescriptionFieldTemplate",e,t)}}const ur=e=>dr({...e,name:"JupyterLabArrayTemplate",component:e=>{var t;const{schema:n,registry:s,uiSchema:r,required:o}=e,a={schema:n,registry:s,uiSchema:r,required:o},{TitleField:l,DescriptionField:c}=hr(s,r);return i().createElement("div",{className:e.className},e.compact?i().createElement("div",{className:"jp-FormGroup-compactTitle"},i().createElement("div",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem",id:`${e.idSchema.$id}__title`},e.title||""),i().createElement("div",{className:"jp-FormGroup-description",id:`${e.idSchema.$id}-description`},e.schema.description||"")):i().createElement(i().Fragment,null,e.title&&i().createElement(l,{...a,title:e.title,id:`${e.idSchema.$id}-title`}),i().createElement(c,{...a,id:`${e.idSchema.$id}-description`,description:null!==(t=e.schema.description)&&void 0!==t?t:""})),e.items.map((t=>i().createElement("div",{key:t.key,className:t.className},t.children,i().createElement("div",{className:"jp-ArrayOperations"},i().createElement(ar,{buttonStyle:e.buttonStyle,translator:e.translator,item:t,direction:"up"}),i().createElement(ar,{buttonStyle:e.buttonStyle,translator:e.translator,item:t,direction:"down"}),i().createElement(lr,{buttonStyle:e.buttonStyle,translator:e.translator,item:t}))))),e.canAdd&&i().createElement(cr,{onAddClick:e.onAddClick,buttonStyle:e.buttonStyle,translator:e.translator}))}}),pr=e=>dr({...e,name:"JupyterLabObjectTemplate",component:e=>{var t;const{schema:n,registry:s,uiSchema:r,required:o}=e,a={schema:n,registry:s,uiSchema:r,required:o},{TitleField:l,DescriptionField:c}=hr(s,r);return i().createElement("fieldset",{id:e.idSchema.$id},e.compact?i().createElement("div",{className:"jp-FormGroup-compactTitle"},i().createElement("div",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem",id:`${e.idSchema.$id}__title`},e.title||""),i().createElement("div",{className:"jp-FormGroup-description",id:`${e.idSchema.$id}__description`},e.schema.description||"")):i().createElement(i().Fragment,null,(e.title||(e.uiSchema||g.JSONExt.emptyObject)["ui:title"])&&i().createElement(l,{...a,id:`${e.idSchema.$id}__title`,title:e.title||`${(e.uiSchema||g.JSONExt.emptyObject)["ui:title"]}`||""}),i().createElement(c,{...a,id:`${e.idSchema.$id}__description`,description:null!==(t=e.schema.description)&&void 0!==t?t:""})),e.properties.map((e=>e.content)),(0,jt.canExpand)(e.schema,e.uiSchema,e.formData)&&i().createElement(cr,{onAddClick:e.onAddClick(e.schema),buttonStyle:e.buttonStyle,translator:e.translator}))}}),mr=e=>dr({...e,name:"JupyterLabFieldTemplate",component:e=>{var t;const n=(null!==(t=e.translator)&&void 0!==t?t:St.nullTranslator).load("jupyterlab");let s,r=!1;const{formData:o,schema:a,label:l,displayLabel:c,id:d,formContext:h,errors:u,rawErrors:p,children:m,onKeyChange:v,onDropPropertyClick:f}=e,{defaultFormData:w}=h,y=d.split("_");y.shift();const b=y.join("."),x=""===b,_=b===(e.uiSchema||g.JSONExt.emptyObject)["ui:field"];e.showModifiedFromDefault&&(s=y.reduce(((e,t)=>null==e?void 0:e[t]),w),r=!x&&void 0!==o&&void 0!==s&&!a.properties&&"array"!==a.type&&!g.JSONExt.deepEqual(o,s));const S=!x&&"object"!=a.type&&"jp-SettingsEditor-@jupyterlab/shortcuts-extension:shortcuts_shortcuts"!=d,C=a.hasOwnProperty(jt.ADDITIONAL_PROPERTY_FLAG),j=!("object"===a.type||"array"===a.type);return i().createElement("div",{className:"form-group "+(c||"boolean"===a.type?"small-field":"")},!_&&((null==p?void 0:p.length)?i().createElement("div",{className:"jp-modifiedIndicator jp-errorIndicator"}):r&&i().createElement("div",{className:"jp-modifiedIndicator"})),i().createElement("div",{className:"jp-FormGroup-content "+(e.compact?"jp-FormGroup-contentCompact":"jp-FormGroup-contentNormal")},j&&c&&!x&&l&&!C?e.compact?i().createElement("div",{className:"jp-FormGroup-compactTitle"},i().createElement("div",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem"},l),j&&a.description&&S&&i().createElement("div",{className:"jp-FormGroup-description"},a.description)):i().createElement("h3",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem"},l):i().createElement(i().Fragment,null),C&&i().createElement("input",{className:"jp-FormGroup-contentItem jp-mod-styled",type:"text",onBlur:e=>v(e.target.value),defaultValue:l}),i().createElement("div",{className:x?"jp-root":"object"===a.type?"jp-objectFieldWrapper":"array"===a.type?"jp-arrayFieldWrapper":"jp-inputFieldWrapper jp-FormGroup-contentItem"},m),C&&i().createElement("button",{className:"jp-FormGroup-contentItem jp-mod-styled jp-mod-warn jp-FormGroup-removeButton",onClick:f(l)},n.__("Remove")),!e.compact&&a.description&&S&&i().createElement("div",{className:"jp-FormGroup-description"},a.description),r&&void 0!==s&&"object"!==a.type&&i().createElement("div",{className:"jp-FormGroup-default"},n.__("Default: %1",null!==s?s.toLocaleString():"null")),i().createElement("div",{className:"validationErrors"},u)))}});function gr(e){const{buttonStyle:t,compact:n,showModifiedFromDefault:s,translator:r,formContext:o,...a}=e,l={...a.uiSchema||g.JSONExt.emptyObject};l["ui:options"]={...or,...l["ui:options"]},a.uiSchema=l;const{FieldTemplate:c,ArrayFieldTemplate:d,ObjectFieldTemplate:h}=e.templates||g.JSONExt.emptyObject,u={buttonStyle:t,compact:n,showModifiedFromDefault:s,translator:r},p={FieldTemplate:i().useMemo((()=>null!=c?c:mr(u)),[c,t,n,s,r]),ArrayFieldTemplate:i().useMemo((()=>null!=d?d:ur(u)),[d,t,n,s,r]),ObjectFieldTemplate:i().useMemo((()=>null!=h?h:pr(u)),[h,t,n,s,r])};return i().createElement(rr,{templates:p,formContext:o,...a})}const vr="jp-DefaultStyle",fr="jp-HTMLSelect";class wr extends s.Component{render(){const{className:e,defaultStyle:t=!0,disabled:n,elementRef:i,iconProps:r,icon:o=F,options:l=[],...c}=this.props,d=a(fr,{[vr]:t},e),h=l.map((e=>{const t="object"==typeof e?e:{value:e};return s.createElement("option",{...t,key:t.value},t.label||t.value)}));return s.createElement("div",{className:d},s.createElement("select",{onFocus:e=>{e.stopPropagation()},disabled:n,ref:i,...c,multiple:!1},h,c.children),s.createElement(o.react,{tag:"span",stylesheet:"select",right:"4px",top:"8px",...r}))}}class yr extends m.Widget{constructor(e={}){super({node:br.createNode()}),this._sandbox=[],this.addClass("jp-IFrame"),this.sandbox=e.sandbox||[],this.referrerPolicy=e.referrerPolicy||"no-referrer",this.loading=e.loading||"eager"}get referrerPolicy(){return this._referrerPolicy}set referrerPolicy(e){this._referrerPolicy!==e&&(this._referrerPolicy=e,this.node.querySelector("iframe").setAttribute("referrerpolicy",e))}get loading(){return this._loading}set loading(e){this._loading!==e&&(this._loading=e,this.node.querySelector("iframe").setAttribute("loading",e))}get sandbox(){return this._sandbox.slice()}set sandbox(e){this._sandbox=e.slice();const t=this.node.querySelector("iframe"),n=e.length?e.join(" "):"";t.setAttribute("sandbox",n)}get url(){return this.node.querySelector("iframe").getAttribute("src")||""}set url(e){this.node.querySelector("iframe").setAttribute("src",e)}}var br;function xr(e){const{className:t,inputRef:n,rightIcon:s,...r}=e;return i().createElement("div",{className:a("jp-InputGroup",t)},i().createElement("input",{ref:n,...r}),s&&i().createElement("span",{className:"jp-InputGroupAction"},"string"==typeof s?i().createElement(x.resolveReact,{icon:s,elementPosition:"center",tag:"span"}):i().createElement(s.react,{elementPosition:"center",tag:"span"})))}!function(e){e.createNode=function(){const e=document.createElement("div"),t=document.createElement("iframe");return t.setAttribute("sandbox",""),t.style.height="100%",t.style.width="100%",e.appendChild(t),e}}(br||(br={}));var _r,Sr=n(14931),Cr=n(49901);!function(e){e.DEFAULT_RANK=100}(_r||(_r={}));class jr extends m.Menu{constructor(e){var t;super(e),this._ranks=[],this.addClass("jp-ThemedContainer"),this._rank=e.rank,this._includeSeparators=null===(t=e.includeSeparators)||void 0===t||t}get rank(){return this._rank}addGroup(e,t){if(0===e.length)return new Cr.DisposableDelegate((()=>{}));const n=null!=t?t:_r.DEFAULT_RANK,s=e.map((e=>{var t;return{...e,rank:null!==(t=e.rank)&&void 0!==t?t:n}})).sort(((e,t)=>e.rank-t.rank));let i=this._ranks.findIndex((e=>s[0].rank<e));i<0&&(i=this._ranks.length);const r=[];return this._includeSeparators&&r.push(this.insertItem(i++,{type:"separator",rank:n})),r.push(...s.map((e=>this.insertItem(i++,e)))),this._includeSeparators&&r.push(this.insertItem(i++,{type:"separator",rank:n})),new Cr.DisposableDelegate((()=>{r.forEach((e=>e.dispose()))}))}addItem(e){let t=-1;return e.rank&&(t=this._ranks.findIndex((t=>e.rank<t))),t<0&&(t=this._ranks.length),this.insertItem(t,e)}clearItems(){this._ranks.length=0,super.clearItems()}dispose(){this._ranks.length=0,super.dispose()}getRankAt(e){return this._ranks[e]}insertItem(e,t){var n,s;const i=Math.max(0,Math.min(e,this._ranks.length));Sr.ArrayExt.insert(this._ranks,i,null!==(n=t.rank)&&void 0!==n?n:Math.max(_r.DEFAULT_RANK,null!==(s=this._ranks[this._ranks.length-1])&&void 0!==s?s:_r.DEFAULT_RANK));const r=super.insertItem(i,t);return new Ir(r,this)}removeItemAt(e){Sr.ArrayExt.removeAt(this._ranks,e),super.removeItemAt(e)}}class Ir{constructor(e,t){this._item=new WeakRef(e),this._menu=t;const n=e=>{e.disposed.disconnect(n,this),this.dispose()};this._menu.disposed.connect(n,this)}get isDisposed(){return this._isDisposed}get type(){return this._item.deref().type}get command(){return this._item.deref().command}get args(){return this._item.deref().args}get submenu(){return this._item.deref().submenu}get label(){return this._item.deref().label}get mnemonic(){return this._item.deref().mnemonic}get icon(){return this._item.deref().icon}get iconClass(){return this._item.deref().iconClass}get iconLabel(){return this._item.deref().iconLabel}get caption(){return this._item.deref().caption}get className(){return this._item.deref().className}get dataset(){return this._item.deref().dataset}get isEnabled(){return this._item.deref().isEnabled}get isToggled(){return this._item.deref().isToggled}get isVisible(){return this._item.deref().isVisible}get keyBinding(){return this._item.deref().keyBinding}dispose(){if(this._isDisposed)return;this._isDisposed=!0;const e=this._item.deref();e&&!this._menu.isDisposed&&this._menu.removeItem(e),p.Signal.clearData(this)}}var Mr=n(85430),kr=n(68866),Er=n(69765),Tr=n(82616),Fr=n(92221),Ar=n(98332),zr=n(50755),Dr=n(6618),Or=n(89155),Br=n(14869),Lr=n(52865),Nr=n(75494),Rr=n(25269),Hr=n(58545),Pr=n(41681),$r=n(17832),Vr=n(27081);const Wr="horizontal",Ur="vertical";var qr="undefined"==typeof Element,Kr=qr?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Gr=!qr&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},Yr=function(e){var t=e.getBoundingClientRect(),n=t.width,s=t.height;return 0===n&&0===s},Jr=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"].concat("iframe").join(","),Zr=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==Kr.call(e,Jr)&&function(e,t){return!(t.disabled||function(e){return function(e){return"INPUT"===e.tagName}(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,s=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var i=Kr.call(e,"details>summary:first-of-type")?e.parentElement:e;if(Kr.call(i,"details:not([open]) *"))return!0;var r=Gr(e).host,o=(null==r?void 0:r.ownerDocument.contains(r))||e.ownerDocument.contains(e);if(n&&"full"!==n){if("non-zero-area"===n)return Yr(e)}else{if("function"==typeof s){for(var a=e;e;){var l=e.parentElement,c=Gr(e);if(l&&!l.shadowRoot&&!0===s(l))return Yr(e);e=e.assignedSlot?e.assignedSlot:l||c===e.ownerDocument?l:c.host}e=a}if(o)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var s=t.children.item(n);if("LEGEND"===s.tagName)return!!Kr.call(t,"fieldset[disabled] *")||!s.contains(e)}return!0}t=t.parentElement}return!1}(t))}(t,e)},Xr=n(87206),Qr=n(12634),eo=n(21601),to=n(58201),no=n(98242),so=n(30550);const io=Object.freeze({[Vr.uf.ArrowUp]:{[Ur]:-1},[Vr.uf.ArrowDown]:{[Ur]:1},[Vr.uf.ArrowLeft]:{[Wr]:{[Dr.N.ltr]:-1,[Dr.N.rtl]:1}},[Vr.uf.ArrowRight]:{[Wr]:{[Dr.N.ltr]:1,[Dr.N.rtl]:-1}}});class ro extends zr.I{constructor(){super(...arguments),this._activeIndex=0,this.direction=Dr.N.ltr,this.orientation=Wr}get activeIndex(){return Fr.y$.track(this,"activeIndex"),this._activeIndex}set activeIndex(e){this.$fastController.isConnected&&(this._activeIndex=function(e,t,n){return Math.min(Math.max(n,0),t)}(0,this.focusableElements.length-1,e),Fr.y$.notify(this,"activeIndex"))}slottedItemsChanged(){this.$fastController.isConnected&&this.reduceFocusableElements()}mouseDownHandler(e){var t;const n=null===(t=this.focusableElements)||void 0===t?void 0:t.findIndex((t=>t.contains(e.target)));return n>-1&&this.activeIndex!==n&&this.setFocusedElement(n),!0}childItemsChanged(e,t){this.$fastController.isConnected&&this.reduceFocusableElements()}connectedCallback(){super.connectedCallback(),this.direction=(e=>{const t=this.closest("[dir]");return null!==t&&"rtl"===t.dir?Dr.N.rtl:Dr.N.ltr})()}focusinHandler(e){const t=e.relatedTarget;t&&!this.contains(t)&&this.setFocusedElement()}getDirectionalIncrementer(e){var t,n,s,i,r;return null!==(r=null!==(s=null===(n=null===(t=io[e])||void 0===t?void 0:t[this.orientation])||void 0===n?void 0:n[this.direction])&&void 0!==s?s:null===(i=io[e])||void 0===i?void 0:i[this.orientation])&&void 0!==r?r:0}keydownHandler(e){const t=e.key;if(!(t in Vr.uf)||e.defaultPrevented||e.shiftKey)return!0;const n=this.getDirectionalIncrementer(t);if(!n)return!e.target.closest("[role=radiogroup]");const s=this.activeIndex+n;return this.focusableElements[s]&&e.preventDefault(),this.setFocusedElement(s),!0}get allSlottedItems(){return[...this.start.assignedElements(),...this.slottedItems,...this.end.assignedElements()]}reduceFocusableElements(){var e;const t=null===(e=this.focusableElements)||void 0===e?void 0:e[this.activeIndex];this.focusableElements=this.allSlottedItems.reduce(ro.reduceFocusableItems,[]);const n=this.focusableElements.indexOf(t);this.activeIndex=Math.max(0,n),this.setFocusableElements()}setFocusedElement(e=this.activeIndex){this.activeIndex=e,this.setFocusableElements(),this.focusableElements[this.activeIndex]&&this.contains(document.activeElement)&&this.focusableElements[this.activeIndex].focus()}static reduceFocusableItems(e,t){var n,s,i,r;const o="radio"===t.getAttribute("role"),a=null===(s=null===(n=t.$fastController)||void 0===n?void 0:n.definition.shadowOptions)||void 0===s?void 0:s.delegatesFocus,l=Array.from(null!==(r=null===(i=t.shadowRoot)||void 0===i?void 0:i.querySelectorAll("*"))&&void 0!==r?r:[]).some((e=>Zr(e)));return t.hasAttribute("disabled")||t.hasAttribute("hidden")||!(Zr(t)||o||a||l)?t.childElementCount?e.concat(Array.from(t.children).reduce(ro.reduceFocusableItems,[])):e:(e.push(t),e)}setFocusableElements(){this.$fastController.isConnected&&this.focusableElements.length>0&&this.focusableElements.forEach(((e,t)=>{e.tabIndex=this.activeIndex===t?0:-1}))}}(0,Tr.gn)([Fr.LO],ro.prototype,"direction",void 0),(0,Tr.gn)([Ar.Lj],ro.prototype,"orientation",void 0),(0,Tr.gn)([Fr.LO],ro.prototype,"slottedItems",void 0),(0,Tr.gn)([Fr.LO],ro.prototype,"slottedLabel",void 0),(0,Tr.gn)([Fr.LO],ro.prototype,"childItems",void 0);class oo{}(0,Tr.gn)([(0,Ar.Lj)({attribute:"aria-labelledby"})],oo.prototype,"ariaLabelledby",void 0),(0,Tr.gn)([(0,Ar.Lj)({attribute:"aria-label"})],oo.prototype,"ariaLabel",void 0),(0,Or.e)(oo,Br.v),(0,Or.e)(ro,Lr.hW,oo);const ao=class extends ro{connectedCallback(){super.connectedCallback();const e=(0,Nr.T)(this);e&&Xr.If.setValueFor(this,(t=>Xr.ab.getValueFor(t).evaluate(t,Xr.If.getValueFor(e))))}}.compose({baseName:"toolbar",baseClass:ro,template:(e,t)=>Rr.d`
3
+ <template
4
+ aria-label="${e=>e.ariaLabel}"
5
+ aria-labelledby="${e=>e.ariaLabelledby}"
6
+ aria-orientation="${e=>e.orientation}"
7
+ orientation="${e=>e.orientation}"
8
+ role="toolbar"
9
+ @mousedown="${(e,t)=>e.mouseDownHandler(t.event)}"
10
+ @focusin="${(e,t)=>e.focusinHandler(t.event)}"
11
+ @keydown="${(e,t)=>e.keydownHandler(t.event)}"
12
+ ${(0,Hr.p)({property:"childItems",attributeFilter:["disabled","hidden"],filter:(0,Pr.R)(),subtree:!0})}
13
+ >
14
+ <slot name="label"></slot>
15
+ <div class="positioning-region" part="positioning-region">
16
+ ${(0,Lr.m9)(e,t)}
17
+ <slot
18
+ ${(0,$r.Q)({filter:(0,Pr.R)(),property:"slottedItems"})}
19
+ ></slot>
20
+ ${(0,Lr.LC)(e,t)}
21
+ </div>
22
+ </template>
23
+ `,styles:(e,t)=>Qr.i`
24
+ ${(0,eo.j)("inline-flex")} :host {
25
+ --toolbar-item-gap: calc(
26
+ (var(--design-unit) + calc(var(--density) + 2)) * 1px
27
+ );
28
+ background-color: ${Xr.If};
29
+ border-radius: calc(${Xr.UW} * 1px);
30
+ fill: currentcolor;
31
+ padding: var(--toolbar-item-gap);
32
+ }
33
+
34
+ :host(${to.b}) {
35
+ outline: calc(${Xr.H} * 1px) solid ${Xr.D8};
36
+ }
37
+
38
+ .positioning-region {
39
+ align-items: flex-start;
40
+ display: inline-flex;
41
+ flex-flow: row wrap;
42
+ justify-content: flex-start;
43
+ width: 100%;
44
+ height: 100%;
45
+ }
46
+
47
+ :host([orientation='vertical']) .positioning-region {
48
+ flex-direction: column;
49
+ }
50
+
51
+ ::slotted(:not([slot])) {
52
+ flex: 0 0 auto;
53
+ margin: 0 var(--toolbar-item-gap);
54
+ }
55
+
56
+ :host([orientation='vertical']) ::slotted(:not([slot])) {
57
+ margin: var(--toolbar-item-gap) 0;
58
+ }
59
+
60
+ .start,
61
+ .end {
62
+ display: flex;
63
+ margin: auto;
64
+ margin-inline: 0;
65
+ }
66
+
67
+ ::slotted(svg) {
68
+ /* TODO: adaptive typography https://github.com/microsoft/fast/issues/2432 */
69
+ width: 16px;
70
+ height: 16px;
71
+ }
72
+ `.withBehaviors((0,no.vF)(Qr.i`
73
+ :host(:${to.b}) {
74
+ box-shadow: 0 0 0 calc(${Xr.vx} * 1px)
75
+ ${so.H.Highlight};
76
+ color: ${so.H.ButtonText};
77
+ forced-color-adjust: none;
78
+ }
79
+ `)),shadowOptions:{delegatesFocus:!0}});var lo=n(93484),co=n(76962),ho=n(77727),uo=n(83571),po=n(79892),mo=n(90859);const go="--jp-layout-color1";let vo=!1;const fo=e=>{const t=parseInt(e,10);return isNaN(t)?null:t},wo={"--jp-border-width":{converter:fo,token:Xr.H},"--jp-border-radius":{converter:fo,token:Xr.UW},[go]:{converter:(e,t)=>{const n=(0,lo.lu)(e);if(n){const e=(0,co.lw)(n),t=ho.H.fromObject({h:e.h,s:e.s,l:.5}),s=(0,co.hP)(t);return uo.w.create(s.r,s.g,s.b)}return null},token:Xr.z4},"--jp-brand-color1":{converter:(e,t)=>{const n=(0,lo.lu)(e);if(n){const e=(0,co.lw)(n),s=t?1:-1,i=ho.H.fromObject({h:e.h,s:e.s,l:e.l+s*Xr.B2.getValueFor(document.body)/94}),r=(0,co.hP)(i);return uo.w.create(r.r,r.g,r.b)}return null},token:Xr.z},"--jp-error-color1":{converter:(e,t)=>{const n=(0,lo.lu)(e);if(n){const e=(0,co.lw)(n),s=t?1:-1,i=ho.H.fromObject({h:e.h,s:e.s,l:e.l+s*Xr.B2.getValueFor(document.body)/94}),r=(0,co.hP)(i);return uo.w.create(r.r,r.g,r.b)}return null},token:Xr.S_},"--jp-ui-font-family":{token:Xr.SV},"--jp-ui-font-size1":{token:Xr.cS}};function yo(){var e;const t=getComputedStyle(document.body),n=document.body.getAttribute("data-jp-theme-light");let s=!1;if(n)s="false"===n;else{const e=t.getPropertyValue(go).toString();if(e){const t=(0,lo.lu)(e);t&&(s=(0,mo._)(uo.w.create(t.r,t.g,t.b)),console.debug(`Theme is ${s?"dark":"light"} based on '${go}' value: ${e}.`))}}Xr.q2.setValueFor(document.body,s?po.h.DarkMode:po.h.LightMode);for(const n in wo){const i=wo[n],r=t.getPropertyValue(n).toString();if(document.body&&""!==r){const t=(null!==(e=i.converter)&&void 0!==e?e:e=>e)(r.trim(),s);null!==t?i.token.setValueFor(document.body,t):console.error(`Fail to parse value '${r}' for '${n}' as FAST design token.`)}}}var bo=n(86072),xo=n(62633),_o=n(80480),So=n(32406);class Co extends m.Widget{constructor(){super(),this._rootDOM=null}static create(e){return new class extends Co{render(){return e}}}onUpdateRequest(e){this.renderPromise=this.renderDOM()}onAfterAttach(e){xo.MessageLoop.sendMessage(this,m.Widget.Msg.UpdateRequest)}onBeforeDetach(e){null!==this._rootDOM&&(this._rootDOM.unmount(),this._rootDOM=null)}renderDOM(){return new Promise((e=>{const t=this.render();null===this._rootDOM&&(this._rootDOM=(0,v.s)(this.node)),Array.isArray(t)||t?(this._rootDOM.render(t),requestIdleCallback((()=>e()))):(this._rootDOM.unmount(),this._rootDOM=null,requestIdleCallback((()=>e())))}))}}class jo extends Co{constructor(e){super(),this._modelChanged=new p.Signal(this),this.model=null!=e?e:null}get modelChanged(){return this._modelChanged}set model(e){this._model!==e&&(this._model&&this._model.stateChanged.disconnect(this.update,this),this._model=e,e&&e.stateChanged.connect(this.update,this),this.update(),this._modelChanged.emit(void 0))}get model(){return this._model}dispose(){this.isDisposed||(this._model=null,super.dispose())}}class Io extends s.Component{constructor(e){super(e),this.slot=(e,t)=>{this.props.shouldUpdate&&!this.props.shouldUpdate(e,t)||this.setState({value:[e,t]})},this.state={value:[this.props.initialSender,this.props.initialArgs]}}componentDidMount(){this.props.signal.connect(this.slot)}componentWillUnmount(){this.props.signal.disconnect(this.slot)}render(){return this.props.children(...this.state.value)}}class Mo{constructor(){this.stateChanged=new p.Signal(this),this._isDisposed=!1}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,p.Signal.clearData(this))}}(0,kr.W)().register([(0,Er.Vd)(),ao()]),vo||(vo=!0,function(){const e=()=>{new MutationObserver((()=>{yo()})).observe(document.body,{attributes:!0,attributeFilter:["data-jp-theme-name"],childList:!1,characterData:!1}),yo()};"complete"===document.readyState?e():window.addEventListener("load",e)}());const ko="toolbar-popup-opener",Eo="jp-Toolbar-spacer";class To extends m.PanelLayout{constructor(){super(...arguments),this._dirty=!1}onFitRequest(e){super.onFitRequest(e),this.parent.isAttached&&((0,Sr.some)(this.widgets,(e=>!e.isHidden))?(this.parent.node.style.minHeight="var(--jp-private-toolbar-height)",this.parent.removeClass("jp-Toolbar-micro")):(this.parent.node.style.minHeight="",this.parent.addClass("jp-Toolbar-micro"))),this._dirty=!0,this.parent.parent&&xo.MessageLoop.sendMessage(this.parent.parent,m.Widget.Msg.FitRequest),this._dirty&&xo.MessageLoop.sendMessage(this.parent,m.Widget.Msg.UpdateRequest)}onUpdateRequest(e){super.onUpdateRequest(e),this.parent.isVisible&&(this._dirty=!1)}onChildShown(e){super.onChildShown(e),this.parent.fit()}onChildHidden(e){super.onChildHidden(e),this.parent.fit()}onBeforeAttach(e){super.onBeforeAttach(e),this.parent.fit()}attachWidget(e,t){super.attachWidget(e,t),this.parent.fit()}detachWidget(e,t){super.detachWidget(e,t),this.parent.fit()}}class Fo extends m.Widget{constructor(e={}){var t,n;super({node:document.createElement("jp-toolbar")}),this.addClass("jp-Toolbar"),this.layout=null!==(t=e.layout)&&void 0!==t?t:new To,this.noFocusOnClick=null!==(n=e.noFocusOnClick)&&void 0!==n&&n}names(){const e=this.layout;return(0,Sr.map)(e.widgets,(e=>Oo.nameProperty.get(e)))}addItem(e,t){const n=this.layout;return this.insertItem(n.widgets.length,e,t)}insertItem(e,t,n){if((0,Sr.find)(this.names(),(e=>e===t)))return!1;n.addClass("jp-Toolbar-item");const s=this.layout,i=Math.max(0,Math.min(e,s.widgets.length));return s.insertWidget(i,n),Oo.nameProperty.set(n,t),n.node.dataset.jpItemName=t,this.noFocusOnClick&&(n.node.dataset.noFocusOnClick="true"),!0}insertAfter(e,t,n){return this.insertRelative(e,1,t,n)}insertBefore(e,t,n){return this.insertRelative(e,0,t,n)}insertRelative(e,t,n,s){const i=(0,Sr.map)(this.names(),((e,t)=>({name:e,index:t}))),r=(0,Sr.find)(i,(t=>t.name===e));return!!r&&this.insertItem(r.index+t,n,s)}handleEvent(e){"click"===e.type&&this.handleClick(e)}handleClick(e){if(e.stopPropagation(),e.target instanceof HTMLLabelElement){const t=e.target.getAttribute("for");if(t&&this.node.querySelector(`#${t}`))return}this.node.contains(document.activeElement)||this.parent&&this.parent.activate()}onAfterAttach(e){this.node.addEventListener("click",this)}onBeforeDetach(e){this.node.removeEventListener("click",this)}}class Ao extends Fo{constructor(e={}){super(e),this.popupOpener=new Po,this._widgetWidths=new Map,this._widgetPositions=new Map,this._zoomChanged=!0,this.insertItem(0,ko,this.popupOpener),this.popupOpener.hide(),this._resizer=new So.Throttler((async(e=!1)=>{await this._onResize(e)}),500)}dispose(){this.isDisposed||(this._resizer&&this._resizer.dispose(),super.dispose())}insertAfter(e,t,n){return e!==ko&&super.insertAfter(e,t,n)}insertRelative(e,t,n,s){const i=this._widgetPositions.get(e),r=(null!=i?i:0)+t;return this.insertItem(r,n,s)}insertItem(e,t,n){var s;let i;if(n instanceof Po)i=super.insertItem(e,t,n);else{const s=Math.max(0,Math.min(e,this.layout.widgets.length-1));i=super.insertItem(s,t,n),s!==e&&(e=Math.max(0,Math.min(e,this._widgetPositions.size)))}if(t!==ko&&this._widgetPositions.get(t)!==e){const n=null!==(s=this._widgetPositions.get(t))&&void 0!==s?s:this._widgetPositions.size;this._widgetPositions.forEach(((t,s)=>{s!==ko&&(t>=e&&t<n?this._widgetPositions.set(s,t+1):t<=e&&t>n&&this._widgetPositions.set(s,t-1))})),this._widgetPositions.set(t,e),this.isVisible&&this._resizer.invoke()}return i}onAfterShow(e){this._resizer.invoke(!0)}onBeforeHide(e){this.popupOpener.hidePopup(),super.onBeforeHide(e)}onResize(e){super.onResize(e);const t=Math.round(window.outerWidth/window.innerWidth*100);t!==this._zoom&&(this._zoomChanged=!0,this._zoom=t),e.width>0&&this._resizer&&this._resizer.invoke()}async _onResize(e=!1){if(!this.parent||!this.parent.isAttached)return;const t=this.node.clientWidth,n=this.popupOpener;let s=n.isHidden?7:39;return this._getWidgetsToRemove(s,t,32).then((async s=>{var i,r;let{width:o,widgetsToRemove:a}=s;for(;a.length>0;){const e=a.pop(),t=Oo.nameProperty.get(e);o-=this._widgetWidths.get(t)||0;const s=null!==(i=this._widgetPositions.get(t))&&void 0!==i?i:0;let l=this._widgetPositions.size;const c=n.widgetAt(0);if(c){const e=Oo.nameProperty.get(c);l=null!==(r=this._widgetPositions.get(e))&&void 0!==r?r:l}const d=s-l;n.insertWidget(d,e)}if(n.widgetCount()>0){const e=[];let s=0;const i=n.widgetCount();for(;s<i;){let r=n.widgetAt(s);if(!r)break;if(o+=this._getWidgetWidth(r),i-e.length==1&&(o-=32),!(o<t))break;e.push(r),s++}for(;e.length>0;){const t=e.shift(),n=Oo.nameProperty.get(t);this._widgetPositions.has(n)?this.insertItem(this._widgetPositions.get(n),n,t):this.addItem(n,t)}}n.widgetCount()>0?(n.updatePopup(),n.show()):n.hide(),e&&await this._onResize()})).catch((e=>{console.error("Error while computing the ReactiveToolbar",e)}))}async _getWidgetsToRemove(e,t,n){var s;const i=this.popupOpener,r=[...this.layout.widgets],o=r.length-1,a=[];let l=0;for(;l<o;){const o=r[l],c=Oo.nameProperty.get(o);let d;d=this._zoomChanged?await this._saveWidgetWidth(c,o):this._getWidgetWidth(o)||await this._saveWidgetWidth(c,o),e+=d,0===a.length&&i.isHidden&&e+n>t&&(e+=n),(e>t||(null!==(s=this._widgetPositions.get(c))&&void 0!==s?s:0)>l)&&a.push(o),l++}return this._zoomChanged=!1,{width:e,widgetsToRemove:a}}async _saveWidgetWidth(e,t){t instanceof Co&&await t.renderPromise;const n=t.hasClass(Eo)?2:t.node.clientWidth;return this._widgetWidths.set(e,n),n}_getWidgetWidth(e){const t=Oo.nameProperty.get(e);return this._widgetWidths.get(t)||0}}function zo(e){var t,n,i;const r=null!==(t=e.noFocusOnClick)&&void 0!==t&&t?void 0:t=>{var n;0===t.button&&(null===(n=e.onClick)||void 0===n||n.call(e),t.target.focus())},o=null!==(n=e.noFocusOnClick)&&void 0!==n&&n?t=>{var n;0===t.button&&(t.preventDefault(),null===(n=e.onClick)||void 0===n||n.call(e))}:void 0,l=!1===e.enabled&&e.disabledTooltip?e.disabledTooltip:e.pressed&&e.pressedTooltip?e.pressedTooltip:e.tooltip||e.iconLabel,c=!1===e.enabled;return s.createElement(Mr.z,{appearance:"stealth",className:e.className?e.className+" jp-ToolbarButtonComponent":"jp-ToolbarButtonComponent","aria-disabled":c,"aria-label":e.label||l,"aria-pressed":e.pressed,...e.dataset,disabled:c,onClick:r,onMouseDown:o,onKeyDown:t=>{var n;const{key:s}=t;"Enter"!==s&&" "!==s||null===(n=e.onClick)||void 0===n||n.call(e)},title:l},(e.icon||e.iconClass)&&s.createElement(x.resolveReact,{icon:e.pressed&&null!==(i=e.pressedIcon)&&void 0!==i?i:e.icon,iconClass:a(e.iconClass,"jp-Icon"),tag:null}),e.label&&s.createElement("span",{className:"jp-ToolbarButtonComponent-label"},e.label))}function Do(e){return e.addClass("jp-ToolbarButton"),e}var Oo;(Fo||(Fo={})).createSpacerItem=function(){return new Oo.Spacer};class Bo extends Co{constructor(e={}){var t,n;super(),this.props=e,Do(this),this._enabled=null===(t=e.enabled)||void 0===t||t,this._pressed=this._enabled&&null!==(n=e.pressed)&&void 0!==n&&n,this._onClick=e.onClick}set pressed(e){this.enabled&&e!==this._pressed&&(this._pressed=e,this.update())}get pressed(){return this._pressed}set enabled(e){e!=this._enabled&&(this._enabled=e,this._enabled||(this._pressed=!1),this.update())}get enabled(){return this._enabled}set onClick(e){e!==this._onClick&&(this._onClick=e,this.update())}get onClick(){return this._onClick}render(){return s.createElement(zo,{...this.props,noFocusOnClick:this.props.noFocusOnClick,pressed:this.pressed,enabled:this.enabled,onClick:this.onClick})}}function Lo(e){return s.createElement(Io,{signal:e.commands.commandChanged,shouldUpdate:(t,n)=>n.id===e.id&&"changed"===n.type||"many-changed"===n.type},(()=>e.commands.listCommands().includes(e.id)?s.createElement(zo,{...Oo.propsFromCommand(e)}):null))}function No(e){return e.addClass("jp-CommandToolbarButton"),e}class Ro extends Co{constructor(e){super(),this.props=e;const{commands:t,id:n,args:s}=e;No(this),this.setCommandAttributes(t,n,s),t.commandChanged.connect(((i,r)=>{r.id===e.id&&this.setCommandAttributes(t,n,s)}),this)}setCommandAttributes(e,t,n){e.isToggled(t,n)?this.addClass("lm-mod-toggled"):this.removeClass("lm-mod-toggled"),e.isVisible(t,n)?this.removeClass("lm-mod-hidden"):this.addClass("lm-mod-hidden"),e.isEnabled(t,n)?"disabled"in this.node&&(this.node.disabled=!1):"disabled"in this.node&&(this.node.disabled=!0)}render(){return s.createElement(Lo,{...this.props})}get commandId(){return this.props.id}}class Ho extends m.Widget{constructor(){super({node:document.createElement("jp-toolbar")}),this.width=0,this.addClass("jp-Toolbar"),this.addClass("jp-Toolbar-responsive-popup"),this.addClass("jp-ThemedContainer"),this.layout=new m.PanelLayout,m.Widget.attach(this,document.body),this.hide()}updateWidth(e){e>0&&(this.width=e,this.node.style.width=`${e}px`)}alignTo(e){const{height:t,width:n,x:s,y:i}=e.node.getBoundingClientRect(),r=this.width;this.node.style.left=s+n-r+1+"px",this.node.style.top=`${i+t+1}px`}insertWidget(e,t){this.layout.insertWidget(e,t)}widgetCount(){return this.layout.widgets.length}widgetAt(e){return this.layout.widgets[e]}}class Po extends Bo{constructor(e={}){const t=(e.translator||St.nullTranslator).load("jupyterlab");super({icon:se,onClick:()=>{this.handleClick()},tooltip:t.__("More commands")}),this.addClass("jp-Toolbar-responsive-opener"),this.popup=new Ho}addWidget(e){this.popup.insertWidget(0,e)}insertWidget(e,t){this.popup.insertWidget(e,t)}dispose(){this.isDisposed||(this.popup.dispose(),super.dispose())}hide(){super.hide(),this.hidePopup()}hidePopup(){this.popup.hide()}updatePopup(){this.popup.updateWidth(this.parent.node.clientWidth),this.popup.alignTo(this.parent)}widgetAt(e){return this.popup.widgetAt(e)}widgetCount(){return this.popup.widgetCount()}handleClick(){this.updatePopup(),this.popup.setHidden(!this.popup.isHidden)}}!function(e){e.propsFromCommand=function(e){var t,n;const{commands:s,id:i,args:r}=e,o=s.iconClass(i,r),a=s.iconLabel(i,r),l=null!==(t=e.icon)&&void 0!==t?t:s.icon(i,r),c=s.label(i,r);let d,h=s.className(i,r);s.isToggleable(i,r)&&(d=s.isToggled(i,r),d&&(h+=" lm-mod-toggled")),s.isVisible(i,r)||(h+=" lm-mod-hidden");const u="function"==typeof e.label?e.label(null!=r?r:{}):e.label;let p=s.caption(i,r)||u||c||a;const m=s.keyBindings.find((e=>e.command===i));m&&(p=`${p} (${m.keys.map(bo.CommandRegistry.formatKeystroke).join(", ")})`);const g=s.isEnabled(i,r);return{className:h,dataset:{"data-command":e.id},noFocusOnClick:e.noFocusOnClick,icon:l,iconClass:o,tooltip:null!==(n=e.caption)&&void 0!==n?n:p,onClick:()=>{s.execute(i,r)},enabled:g,label:null!=u?u:c,pressed:d}},e.nameProperty=new _o.AttachedProperty({name:"name",create:()=>""});class t extends m.Widget{constructor(){super(),this.addClass(Eo)}}e.Spacer=t}(Oo||(Oo={}));class $o extends m.Panel{constructor(e={}){super(e),this._toolbar=new Fo}get toolbar(){return this._toolbar}}var Vo=n(99672);function Wo(e,t){let n=1/0,s=null;const i=/[\p{L}\p{N}\p{M}]+/gu;for(;;){let r=i.exec(e);if(!r)break;let o=Sr.StringExt.matchSumOfDeltas(e,t,r.index);if(!o)break;o&&o.score<=n&&(n=o.score,s=o.indices)}return s&&n!==1/0?{score:n,indices:s}:null}const Uo=(e,t,n)=>s=>t?Wo(s,e.toLowerCase()):(n||(s=s.toLocaleLowerCase(),e=e.toLocaleLowerCase()),-1===s.indexOf(e)?null:{indices:[...Array(s.length).keys()].map((e=>e+1))}),qo=e=>{var t,n;const[r,o]=(0,s.useState)(null!==(t=e.initialQuery)&&void 0!==t?t:"");e.forceRefresh&&(0,s.useEffect)((()=>{e.updateFilter((e=>({})))}),[]),(0,s.useEffect)((()=>{void 0!==e.initialQuery&&e.updateFilter(Uo(e.initialQuery,e.useFuzzyFilter,e.caseSensitive),e.initialQuery)}),[]);const a=(0,s.useCallback)((t=>{const n=t.target;o(n.value),e.updateFilter(Uo(n.value,e.useFuzzyFilter,e.caseSensitive),n.value)}),[e.updateFilter,e.useFuzzyFilter,e.caseSensitive]),l=null===(n=e.showIcon)||void 0===n||n;return i().createElement(Vo.o,{className:"jp-FilterBox",ref:e.inputRef,value:r,onChange:a,onInput:a,placeholder:e.placeholder,disabled:e.disabled},l&&i().createElement(nt.react,{slot:"end",tag:null}))},Ko=e=>Co.create(i().createElement(qo,{...e}));class Go extends m.AccordionLayout{constructor(){super(...arguments),this._toolbars=new WeakMap}insertWidget(e,t){t.toolbar&&(this._toolbars.set(t,t.toolbar),t.toolbar.addClass("jp-AccordionPanel-toolbar")),super.insertWidget(e,t)}removeWidgetAt(e){const t=this.widgets[e];super.removeWidgetAt(e),t&&this._toolbars.has(t)&&this._toolbars.delete(t)}updateTitle(e,t){super.updateTitle(e,t),this._addToolbar(e,t)}attachWidget(e,t){super.attachWidget(e,t),this._addToolbar(e,t)}detachWidget(e,t){const n=this._toolbars.get(t);n&&(this.parent.isAttached&&xo.MessageLoop.sendMessage(n,m.Widget.Msg.BeforeDetach),this.titles[e].removeChild(n.node),this.parent.isAttached&&xo.MessageLoop.sendMessage(n,m.Widget.Msg.AfterDetach)),super.detachWidget(e,t)}onBeforeAttach(e){this.notifyToolbars(e),super.onBeforeAttach(e)}onAfterAttach(e){super.onAfterAttach(e),this.notifyToolbars(e)}onBeforeDetach(e){this.notifyToolbars(e),super.onBeforeDetach(e)}onAfterDetach(e){super.onAfterDetach(e),this.notifyToolbars(e)}_addToolbar(e,t){const n=this._toolbars.get(t);n&&(this.parent.isAttached&&xo.MessageLoop.sendMessage(n,m.Widget.Msg.BeforeAttach),this.titles[e].appendChild(n.node),this.parent.isAttached&&xo.MessageLoop.sendMessage(n,m.Widget.Msg.AfterAttach))}notifyToolbars(e){this.widgets.forEach((t=>{const n=this._toolbars.get(t);n&&n.processMessage(e)}))}}var Yo,Jo,Zo;!function(e){class t extends m.AccordionPanel.Renderer{createCollapseIcon(e){const t=document.createElement("div");return z.element({container:t}),t}createSectionTitle(e){const t=super.createSectionTitle(e);return t.classList.add("jp-AccordionPanel-title"),t}}e.Renderer=t,e.defaultRenderer=new t,e.createLayout=function(t){var n;return t.layout||new Go({renderer:t.renderer||e.defaultRenderer,orientation:t.orientation,alignment:t.alignment,spacing:t.spacing,titleSpace:null!==(n=t.titleSpace)&&void 0!==n?n:32})}}(Yo||(Yo={}));class Xo extends m.Widget{constructor(e={}){var t;super();const n=this.layout=new m.PanelLayout;this.addClass("jp-SidePanel");const s=this._trans=(e.translator||St.nullTranslator).load("jupyterlab");e.header&&this.addHeader(e.header);const i=this._content=null!==(t=e.content)&&void 0!==t?t:new m.AccordionPanel({...e,layout:Yo.createLayout(e)});i.node.setAttribute("role","region"),i.node.setAttribute("aria-label",s.__("side panel content")),i.addClass("jp-SidePanel-content"),n.addWidget(i),e.toolbar&&this.addToolbar(e.toolbar)}get content(){return this._content}get header(){return this._header||this.addHeader(),this._header}get toolbar(){return this._toolbar||this.addToolbar(),this._toolbar}get widgets(){return this.content.widgets}addWidget(e){this.content.addWidget(e)}insertWidget(e,t){this.content.insertWidget(e,t)}addHeader(e){const t=this._header=e||new m.Panel;t.addClass("jp-SidePanel-header"),this.layout.insertWidget(0,t)}addToolbar(e){const t=this._toolbar=null!=e?e:new Fo;t.addClass("jp-SidePanel-toolbar"),t.node.setAttribute("aria-label",this._trans.__("side panel actions")),this.layout.insertWidget(this.layout.widgets.length-1,t)}}class Qo extends m.Widget{constructor(){super(),this.addClass("jp-Spinner"),this.node.tabIndex=-1;const e=document.createElement("div");e.className="jp-SpinnerContent",this.node.appendChild(e)}onActivateRequest(e){this.node.focus()}}!function(e){function t(e,t,s=""){if(e.localName===t&&e.classList.add("jp-mod-styled"),"select"===e.localName){const t=e.hasAttribute("multiple");n(e,t)}const i=e.getElementsByTagName(t);for(let e=0;e<i.length;e++){const r=i[e];if(r.classList.add("jp-mod-styled"),s&&r.classList.add(s),"select"===t){const e=r.hasAttribute("multiple");n(r,e)}}}function n(e,t){const n=document.createElement("div");return n.classList.add("jp-select-wrapper"),e.addEventListener("focus",Zo.onFocus),e.addEventListener("blur",Zo.onFocus),e.classList.add("jp-mod-styled"),e.parentElement&&e.parentElement.replaceChild(n,e),n.appendChild(e),t?n.classList.add("multiple"):n.appendChild(F.element({tag:"span",stylesheet:"select",right:"8px",top:"5px",width:"18px"})),n}e.styleNode=function(e,n=""){t(e,"select",n),t(e,"textarea",n),t(e,"input",n),t(e,"button",n)},e.styleNodeByTag=t,e.wrapSelect=n}(Jo||(Jo={})),function(e){e.onFocus=function(e){const t=e.target.parentElement;t&&("focus"===e.type?t.classList.add("jp-mod-focused"):t.classList.remove("jp-mod-focused"))}}(Zo||(Zo={}));class ea extends m.Widget{constructor(){super(),this._button=document.createElement("button"),this._label=document.createElement("label"),this._valueChanged=new p.Signal(this),this._button.className="jp-switch",this._button.setAttribute("role","switch"),this._label.className="jp-switch-label";const e=document.createElement("div");e.className="jp-switch-track",e.setAttribute("aria-hidden","true"),this._button.appendChild(this._label),this._button.appendChild(e),this.node.appendChild(this._button)}get value(){return this._value}set value(e){const t=this._value;t!==e&&(this._button.setAttribute("aria-checked",e.toString()),this._value=e,this._valueChanged.emit({name:"value",oldValue:t,newValue:e}))}get valueChanged(){return this._valueChanged}get label(){var e;return null!==(e=this._label.textContent)&&void 0!==e?e:""}set label(e){this._label.textContent=e}get caption(){return this._button.title}set caption(e){this._button.title=e,this._label.title=e}handleEvent(e){"click"===e.type&&(this.value=!this.value)}onAfterAttach(){this._button.addEventListener("click",this)}onBeforeDetach(){this._button.removeEventListener("click",this)}}const ta="jp-sortable-table";function na(e){const[t,n]=(0,s.useState)({sortKey:e.sortKey,sortDirection:e.sortDirection||1});let r=e.rows;const o=e.columns.filter((e=>e.id===t.sortKey))[0];if(o){const n=o.sort.bind(o);r=e.rows.sort(((e,s)=>n(e.data,s.data)*t.sortDirection))}const a=e.columns.filter((e=>(!e.isAvailable||e.isAvailable())&&!e.isHidden)),l=r.map((t=>{const n=a.map((e=>i().createElement("td",{key:e.id+"-"+t.key},e.renderCell(t.data))));return i().createElement("tr",{key:t.key,"data-key":t.key,onClick:e.onRowClick,className:"jp-sortable-table-tr"},n)})),c=a.map((e=>i().createElement(sa,{label:e.label,id:e.id,state:t,key:e.id,onSort:()=>{var s;(s=e.id)===t.sortKey?n({sortKey:s,sortDirection:-1*t.sortDirection}):n({sortKey:s,sortDirection:1})}})));return i().createElement("table",{className:ta},i().createElement("thead",null,i().createElement("tr",{className:"jp-sortable-table-tr"},c)),i().createElement("tbody",null,l))}function sa(e){const t=e.id===e.state.sortKey,n=t&&1!==e.state.sortDirection?z:L;return i().createElement("th",{key:e.id,onClick:()=>e.onSort(),className:t?"jp-sorted-header":void 0,"data-id":e.id},i().createElement("div",{className:"jp-sortable-table-th-wrapper"},i().createElement("label",null,e.label),i().createElement(n.react,{tag:"span",className:"jp-sort-icon"})))}let ia=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){ia={passive:!0}}}))}catch(e){}class ra{constructor(e={}){var t,n,s,i,r,o;this.scrollDownThreshold=1,this.scrollUpThreshold=0,this.paddingTop=0,this._estimatedWidgetSize=oa.DEFAULT_WIDGET_SIZE,this._stateChanged=new p.Signal(this),this._currentWindow=[-1,-1,-1,-1],this._height=0,this._isDisposed=!1,this._itemsList=null,this._lastMeasuredIndex=-1,this._overscanCount=1,this._scrollOffset=0,this._widgetCount=0,this._widgetSizers=[],this._windowingActive=!0,this._widgetCount=null!==(s=null!==(n=null===(t=e.itemsList)||void 0===t?void 0:t.length)&&void 0!==n?n:e.count)&&void 0!==s?s:0,this._overscanCount=null!==(i=e.overscanCount)&&void 0!==i?i:1,this._windowingActive=null===(r=e.windowingActive)||void 0===r||r,this.itemsList=null!==(o=e.itemsList)&&void 0!==o?o:null}get height(){return this._height}set height(e){this._height=e}get isDisposed(){return this._isDisposed}get itemsList(){return this._itemsList}set itemsList(e){var t,n,s;if(this._itemsList!==e){this._itemsList&&this._itemsList.changed.disconnect(this.onListChanged,this);const i=this._itemsList;this._itemsList=e,this._itemsList?this._itemsList.changed.connect(this.onListChanged,this):this._widgetCount=0,this._stateChanged.emit({name:"list",newValue:this._itemsList,oldValue:i}),this._stateChanged.emit({name:"count",newValue:null!==(n=null===(t=this._itemsList)||void 0===t?void 0:t.length)&&void 0!==n?n:0,oldValue:null!==(s=null==i?void 0:i.length)&&void 0!==s?s:0})}}get overscanCount(){return this._overscanCount}set overscanCount(e){if(e>=1){if(this._overscanCount!==e){const t=this._overscanCount;this._overscanCount=e,this._stateChanged.emit({name:"overscanCount",newValue:e,oldValue:t})}}else console.error(`Forbidden non-positive overscan count: got ${e}`)}get scrollOffset(){return this._scrollOffset}set scrollOffset(e){this._scrollOffset=e}get widgetCount(){return this._itemsList?this._itemsList.length:this._widgetCount}set widgetCount(e){if(this.itemsList)console.error("It is not allow to change the widgets count of a windowed list if a items list is used.");else if(e>=0){if(this._widgetCount!==e){const t=this._widgetCount;this._widgetCount=e,this._stateChanged.emit({name:"count",newValue:e,oldValue:t})}}else console.error(`Forbidden negative widget count: got ${e}`)}get windowingActive(){return this._windowingActive}set windowingActive(e){if(e!==this._windowingActive){const t=this._windowingActive;this._windowingActive=e,this._currentWindow=[-1,-1,-1,-1],this._lastMeasuredIndex=-1,this._widgetSizers=[],this._stateChanged.emit({name:"windowingActive",newValue:e,oldValue:t})}}get stateChanged(){return this._stateChanged}dispose(){this.isDisposed||(this._isDisposed=!0,p.Signal.clearData(this))}getEstimatedTotalSize(){let e=0;if(this._lastMeasuredIndex>=this.widgetCount&&(this._lastMeasuredIndex=this.widgetCount-1),this._lastMeasuredIndex>=0){const t=this._widgetSizers[this._lastMeasuredIndex];e=t.offset+t.size}let t=0;for(let e=this._lastMeasuredIndex+1;e<this.widgetCount;e++)t+=this.estimateWidgetSize(e);return e+t}getOffsetForIndexAndAlignment(e,t="auto",n=0,s,i){const r=Math.min(Math.max(0,n),1),o=this._height,a=s?s.itemMetadata:this._getItemMetadata(e),l=this.scrollDownThreshold<=1?a.size*this.scrollDownThreshold:this.scrollDownThreshold,c=this.scrollUpThreshold<=1?a.size*this.scrollUpThreshold:this.scrollUpThreshold,d=s?s.totalSize:this.getEstimatedTotalSize(),h=Math.max(0,Math.min(d-o,a.offset)),u=Math.max(0,a.offset-o+a.size),p=s?s.currentOffset:this._scrollOffset,m=this._windowingActive?this.paddingTop:0,g=a.offset,v=a.offset+a.size,f=p-m+o,w=p-m,y=f>g&&f<v,b=f>v&&w<g;if("smart"===t){if(b||y&&f-g>=l||w>g&&w<v&&w-g<c)return p;t=p>=u-o&&p<=h+o?"auto":a.size>o?"top-center":"center"}if("auto"===t){if(b)return p;t=void 0!==i?i:y||f<=v?"end":"start"}switch(t){case"start":return Math.max(0,h-r*o)+m;case"end":return u+r*o+m;case"center":return u+(h-u)/2;case"top-center":return h-o/2}}getRangeToRender(){let e=[0,Math.max(this.widgetCount-1,-1),0,Math.max(this.widgetCount-1,-1)];const t=this._lastMeasuredIndex;this.windowingActive&&(e=this._getRangeToRender());const[n,s]=e;return t<=s||this._currentWindow[0]!==n||this._currentWindow[1]!==s?(this._currentWindow=e,e):null}getSpan(e,t){const n=this._getItemMetadata(e),s=n.offset,i=this._getItemMetadata(t);return[s,i.offset-n.offset+i.size]}resetAfterIndex(e){const t=this._lastMeasuredIndex;this._lastMeasuredIndex=Math.min(e,this._lastMeasuredIndex),this._lastMeasuredIndex!==t&&this._stateChanged.emit({name:"index",newValue:e,oldValue:t})}setWidgetSize(e){if(this._currentWindow[0]>=0){let t=1/0;for(const n of e){const e=n.index,s=n.size;this._widgetSizers[e].size!=s&&(this._widgetSizers[e].size=s,t=Math.min(t,e)),this._widgetSizers[e].measured=!0}if(t!=1/0)return this._lastMeasuredIndex=Math.min(this._lastMeasuredIndex,t),!0}return!1}onListChanged(e,t){switch(t.type){case"add":this._widgetSizers.splice(t.newIndex,0,...new Array(t.newValues.length).map(((e,t)=>({offset:0,size:this.estimateWidgetSize(t)})))),this.resetAfterIndex(t.newIndex-1);break;case"move":Sr.ArrayExt.move(this._widgetSizers,t.oldIndex,t.newIndex),this.resetAfterIndex(Math.min(t.newIndex,t.oldIndex)-1);break;case"remove":this._widgetSizers.splice(t.oldIndex,t.oldValues.length),this.resetAfterIndex(t.oldIndex-1);break;case"set":this.resetAfterIndex(t.newIndex-1)}}_getItemMetadata(e){var t,n;if(e>this._lastMeasuredIndex){let s=0;if(this._lastMeasuredIndex>=0){const e=this._widgetSizers[this._lastMeasuredIndex];s=e.offset+e.size}for(let i=this._lastMeasuredIndex+1;i<=e;i++){let e=(null===(t=this._widgetSizers[i])||void 0===t?void 0:t.measured)?this._widgetSizers[i].size:this.estimateWidgetSize(i);this._widgetSizers[i]={offset:s,size:e,measured:null===(n=this._widgetSizers[i])||void 0===n?void 0:n.measured},s+=e}this._lastMeasuredIndex=e}for(let e=0;e<=this._lastMeasuredIndex;e++){const t=this._widgetSizers[e];if(0===e){if(0!==t.offset)throw new Error("First offset is not null")}else{const n=this._widgetSizers[e-1];if(t.offset!==n.offset+n.size)throw new Error(`Sizer ${e} has incorrect offset.`)}}return this._widgetSizers[e]}_findNearestItem(e){return(this._lastMeasuredIndex>0?this._widgetSizers[this._lastMeasuredIndex].offset:0)>=e?this._findNearestItemBinarySearch(this._lastMeasuredIndex,0,e):this._findNearestItemExponentialSearch(Math.max(0,this._lastMeasuredIndex),e)}_findNearestItemBinarySearch(e,t,n){for(;t<=e;){const s=t+Math.floor((e-t)/2),i=this._getItemMetadata(s).offset;if(i===n)return s;i<n?t=s+1:i>n&&(e=s-1)}return t>0?t-1:0}_findNearestItemExponentialSearch(e,t){let n=1;for(;e<this.widgetCount&&this._getItemMetadata(e).offset<t;)e+=n,n*=2;return this._findNearestItemBinarySearch(Math.min(e,this.widgetCount-1),Math.floor(e/2),t)}_getRangeToRender(){const e=this.widgetCount;if(0===e)return[-1,-1,-1,-1];const t=this._getStartIndexForOffset(this._scrollOffset),n=this._getStopIndexForStartIndex(t,this._scrollOffset),s=Math.max(1,this.overscanCount),i=Math.max(1,this.overscanCount);return[Math.max(0,t-s),Math.max(0,Math.min(e-1,n+i)),t,n]}_getStartIndexForOffset(e){return this._findNearestItem(e)}_getStopIndexForStartIndex(e,t){const n=this._height,s=this._getItemMetadata(e),i=t+n;let r=s.offset+s.size,o=e;for(;o<this.widgetCount-1&&r<i;)o++,r+=this._getItemMetadata(o).size;return o}}class oa extends m.Widget{constructor(e){var t,n;const s=null!==(t=e.renderer)&&void 0!==t?t:oa.defaultRenderer,i=document.createElement("div");i.className="jp-WindowedPanel";const r=i.appendChild(document.createElement("div"));r.classList.add("jp-WindowedPanel-scrollbar");const o=r.appendChild(s.createScrollbarViewportIndicator?s.createScrollbarViewportIndicator():oa.defaultRenderer.createScrollbarViewportIndicator());o.classList.add("jp-WindowedPanel-scrollbar-viewportIndicator"),r.appendChild(s.createScrollbar()).classList.add("jp-WindowedPanel-scrollbar-content");const a=i.appendChild(s.createOuter());a.classList.add("jp-WindowedPanel-outer");const l=a.appendChild(document.createElement("div"));l.className="jp-WindowedPanel-inner";const c=l.appendChild(s.createViewport());c.classList.add("jp-WindowedPanel-viewport"),super({node:i}),this.jumped=new p.Signal(this),this._scrollbarItems={},this._viewportPaddingTop=0,this._viewportPaddingBottom=0,this._needsUpdate=!1,super.layout=null!==(n=e.layout)&&void 0!==n?n:new aa,this.renderer=s,this._viewportIndicator=o,this._innerElement=l,this._isScrolling=null,this._outerElement=a,this._itemsResizeObserver=null,this._scrollbarElement=r,this._scrollToItem=null,this._scrollRepaint=null,this._scrollUpdateWasRequested=!1,this._updater=new So.Throttler((()=>this.update()),50),this._viewModel=e.model,this._viewport=c,e.scrollbar&&i.classList.add("jp-mod-virtual-scrollbar"),this.viewModel.stateChanged.connect(this.onStateChanged,this)}get isParentHidden(){return this._isParentHidden}set isParentHidden(e){this._isParentHidden=e}get layout(){return super.layout}get outerNode(){return this._outerElement}get viewportNode(){return this._viewport}get scrollbar(){return this.node.classList.contains("jp-mod-virtual-scrollbar")}set scrollbar(e){e?this.node.classList.add("jp-mod-virtual-scrollbar"):this.node.classList.remove("jp-mod-virtual-scrollbar"),this._adjustDimensionsForScrollbar(),this.update()}get viewModel(){return this._viewModel}dispose(){this._updater.dispose(),super.dispose()}handleEvent(e){switch(e.type){case"pointerdown":e.preventDefault(),e.stopPropagation(),this._evtPointerDown(e);break;case"scroll":this.onScroll(e)}}scrollTo(e){this.viewModel.windowingActive?(e=Math.max(0,e))!==this.viewModel.scrollOffset&&(this.viewModel.scrollOffset=e,this._scrollUpdateWasRequested=!0,this.update()):this._outerElement.scrollTo({top:e})}scrollToItem(e,t="auto",n=.25,s){let i;if(this._isScrolling&&null!==this._scrollToItem&&this._scrollToItem[0]===e&&this._scrollToItem[1]===t||(this._isScrolling&&this._isScrolling.reject("Scrolling to a new item is requested."),this._isScrolling=new g.PromiseDelegate,this._isScrolling.promise.catch(console.debug)),this._scrollToItem=[e,t,n,s],this._resetScrollToItem(),!this.viewModel.windowingActive){const t=this._innerElement.querySelector(`[data-windowed-list-index="${e}"]`);if(!(t&&t instanceof HTMLElement))return console.debug(`Element with index ${e} not found`),Promise.resolve();i={totalSize:this._outerElement.scrollHeight,itemMetadata:{offset:t.offsetTop,size:t.clientHeight},currentOffset:this._outerElement.scrollTop}}return this.scrollTo(this.viewModel.getOffsetForIndexAndAlignment(Math.max(0,Math.min(e,this.viewModel.widgetCount-1)),t,n,i,s)),this._isScrolling.promise}onAfterAttach(e){super.onAfterAttach(e),this.viewModel.windowingActive?this._applyWindowingStyles():this._applyNoWindowingStyles(),this._addListeners(),this.viewModel.height=this.node.getBoundingClientRect().height;const t=window.getComputedStyle(this._viewport);this.viewModel.paddingTop=parseFloat(t.paddingTop),this._viewportPaddingTop=this.viewModel.paddingTop,this._viewportPaddingBottom=parseFloat(t.paddingBottom),this._scrollbarElement.addEventListener("pointerdown",this)}onBeforeDetach(e){this._removeListeners(),this._scrollbarElement.removeEventListener("pointerdown",this),super.onBeforeDetach(e)}onScroll(e){const{clientHeight:t,scrollHeight:n,scrollTop:s}=e.currentTarget;if(!this._scrollUpdateWasRequested&&Math.abs(this.viewModel.scrollOffset-s)>1){const e=Math.max(0,Math.min(s,n-t));this.viewModel.scrollOffset=e,this._scrollUpdateWasRequested=!1,this.update()}}onResize(e){const t=this.viewModel.height;this.viewModel.height=e.height>=0?e.height:this.node.getBoundingClientRect().height,this.viewModel.height!==t&&this._updater.invoke(),super.onResize(e),this._updater.invoke()}onStateChanged(e,t){switch(t.name){case"windowingActive":if(this._removeListeners(),this.viewModel.windowingActive)return this._applyWindowingStyles(),this.onScroll({currentTarget:this.node}),void this._addListeners();this._applyNoWindowingStyles(),this._addListeners();break;case"estimatedWidgetSize":return void this._updateTotalSize()}this.update()}onUpdateRequest(e){this.viewModel.windowingActive?null===this._scrollRepaint?(this._needsUpdate=!1,this._scrollRepaint=window.requestAnimationFrame((()=>{this._scrollRepaint=null,this._update(),this._needsUpdate&&this.update()}))):this._needsUpdate=!0:this._update()}_adjustDimensionsForScrollbar(){const e=this._outerElement,t=this._scrollbarElement;if(this.scrollbar){let n=e.offsetWidth-e.clientWidth;0==n?(n=1e3,e.style.paddingRight=`${n}px`,e.style.boxSizing="border-box"):e.style.paddingRight="0",e.style.width=`calc(100% + ${n}px)`,this._innerElement.style.marginRight=`${t.offsetWidth}px`}else e.style.width="100%",this._innerElement.style.marginRight="",e.style.paddingRight="0",e.style.boxSizing=""}_addListeners(){if(this.viewModel.windowingActive){this._itemsResizeObserver||(this._itemsResizeObserver=new ResizeObserver(this._onItemResize.bind(this)));for(const e of this.layout.widgets)this._itemsResizeObserver.observe(e.node),e.disposed.connect((()=>{var t;return null===(t=this._itemsResizeObserver)||void 0===t?void 0:t.unobserve(e.node)}));this._outerElement.addEventListener("scroll",this,ia),this._scrollbarResizeObserver=new ResizeObserver(this._adjustDimensionsForScrollbar.bind(this)),this._scrollbarResizeObserver.observe(this._outerElement),this._scrollbarResizeObserver.observe(this._scrollbarElement)}else this._areaResizeObserver||(this._areaResizeObserver=new ResizeObserver(this._onAreaResize.bind(this)),this._areaResizeObserver.observe(this._innerElement))}_applyNoWindowingStyles(){this._viewport.style.position="relative",this._viewport.style.top="0px",this._innerElement.style.height=""}_applyWindowingStyles(){this._viewport.style.position="absolute"}_removeListeners(){var e,t,n;this._outerElement.removeEventListener("scroll",this),null===(e=this._areaResizeObserver)||void 0===e||e.disconnect(),this._areaResizeObserver=null,null===(t=this._itemsResizeObserver)||void 0===t||t.disconnect(),this._itemsResizeObserver=null,null===(n=this._scrollbarResizeObserver)||void 0===n||n.disconnect(),this._scrollbarResizeObserver=null}_update(){var e;if(this.isDisposed||!this.layout)return;const t=this.viewModel.getRangeToRender();if(null!==t){const[n,s,i,r]=t;if(this.scrollbar){const e=this._renderScrollbar(),t=e[i],n=e[r];this._viewportIndicator.style.top=t.offsetTop-1+"px",this._viewportIndicator.style.height=n.offsetTop-t.offsetTop+n.offsetHeight+"px"}const o=[];if(s>=0)for(let e=n;e<=s;e++){const t=this.viewModel.widgetRenderer(e);t.dataset.windowedListIndex=`${e}`,o.push(t)}for(let t=this.layout.widgets.length-1;t>=0;t--)o.includes(this.layout.widgets[t])||(null===(e=this._itemsResizeObserver)||void 0===e||e.unobserve(this.layout.widgets[t].node),this.layout.removeWidget(this.layout.widgets[t]));for(let e=0;e<o.length;e++){const t=o[e];this._itemsResizeObserver&&!this.layout.widgets.includes(t)&&(this._itemsResizeObserver.observe(t.node),t.disposed.connect((()=>{var e;return null===(e=this._itemsResizeObserver)||void 0===e?void 0:e.unobserve(t.node)}))),this.layout.insertWidget(e,t)}if(this.viewModel.windowingActive){if(s>=0){this._updateTotalSize();const[e,t]=this.viewModel.getSpan(n,s);this._viewport.style.top=`${e}px`,this._viewport.style.minHeight=`${t}px`}else this._innerElement.style.height="0px",this._viewport.style.top="0px",this._viewport.style.minHeight="0px";this._scrollUpdateWasRequested&&(this._outerElement.scrollTop=this.viewModel.scrollOffset,this._scrollUpdateWasRequested=!1)}}let n=-1;for(const e of this._viewport.children){const t=parseInt(e.dataset.windowedListIndex,10);if(t<n)throw new Error("Inconsistent dataset index");n=t}}_onAreaResize(e){this._scrollBackToItemOnResize()}_onItemResize(e){if(this._resetScrollToItem(),this.isHidden||this.isParentHidden)return;const t=[];for(let n of e)n.target.isConnected&&t.push({index:parseInt(n.target.dataset.windowedListIndex,10),size:n.borderBoxSize[0].blockSize});this.viewModel.setWidgetSize(t)&&(this._scrollBackToItemOnResize(),this.update())}_scrollBackToItemOnResize(){this._scrollToItem&&this.scrollToItem(...this._scrollToItem).catch((e=>{console.log(e)}))}_resetScrollToItem(){this._resetScrollToItemTimeout&&clearTimeout(this._resetScrollToItemTimeout),this._scrollToItem&&(this._resetScrollToItemTimeout=window.setTimeout((()=>{this._scrollToItem=null,this._isScrolling&&(this._isScrolling.resolve(),this._isScrolling=null)}),100))}_renderScrollbar(){var e,t;const{node:n,renderer:s,viewModel:i}=this,r=n.querySelector(".jp-WindowedPanel-scrollbar-content"),o=[],a=(e,t)=>{if(e instanceof HTMLElement)return e;{d.add(e.key);const n={index:t},s=this._scrollbarItems[e.key];return s&&!s.isDisposed?s.render(n):(this._scrollbarItems[e.key]=e,e.render(n))}},l=i.itemsList,c=null!==(e=null==l?void 0:l.length)&&void 0!==e?e:i.widgetCount,d=new Set;for(let e=0;e<c;e+=1){const n=null===(t=null==l?void 0:l.get)||void 0===t?void 0:t.call(l,e),i=a(s.createScrollbarItem(this,e,n),e);i.classList.add("jp-WindowedPanel-scrollbar-item"),i.dataset.index=`${e}`,o.push(i)}const h=Object.keys(this._scrollbarItems).filter((e=>!d.has(e)));for(const e of h)this._scrollbarItems[e].dispose(),delete this._scrollbarItems[e];const u=[...r.childNodes];return u.length===o.length&&u.every(((e,t)=>o[t]===e))||r.replaceChildren(...o),o}_evtPointerDown(e){let t=e.target;for(;t&&t.parentElement;){if(t.hasAttribute("data-index")){const e=parseInt(t.getAttribute("data-index"),10);return void(async()=>{await this.scrollToItem(e),this.jumped.emit(e)})()}t=t.parentElement}}_updateTotalSize(){if(this.viewModel.windowingActive){const e=this.viewModel.getEstimatedTotalSize()+this._viewportPaddingTop+this._viewportPaddingBottom;this._innerElement.style.height=`${e}px`}}}oa.DEFAULT_WIDGET_SIZE=50;class aa extends m.PanelLayout{constructor(){super({fitPolicy:"set-no-constraint"})}get parent(){return super.parent}set parent(e){super.parent=e}attachWidget(e,t){let n=this.parent.viewportNode.children[e];this.parent.isAttached&&xo.MessageLoop.sendMessage(t,m.Widget.Msg.BeforeAttach),this.parent.viewportNode.insertBefore(t.node,n),this.parent.isAttached&&xo.MessageLoop.sendMessage(t,m.Widget.Msg.AfterAttach)}detachWidget(e,t){this.parent.isAttached&&xo.MessageLoop.sendMessage(t,m.Widget.Msg.BeforeDetach),this.parent.viewportNode.removeChild(t.node),this.parent.isAttached&&xo.MessageLoop.sendMessage(t,m.Widget.Msg.AfterDetach)}moveWidget(e,t,n){let s=this.parent.viewportNode.children[t];e<t?s.insertAdjacentElement("afterend",n.node):s.insertAdjacentElement("beforebegin",n.node)}onUpdateRequest(e){}}!function(e){class t{createOuter(){return document.createElement("div")}createScrollbar(){return document.createElement("ol")}createScrollbarViewportIndicator(){return document.createElement("div")}createScrollbarItem(e,t){const n=document.createElement("li");return n.appendChild(document.createTextNode(`${t}`)),n}createViewport(){return document.createElement("div")}}e.Renderer=t,e.defaultRenderer=new t}(oa||(oa={}));var la=n(47087);const ca=pe.bindprops({stylesheet:"commandPaletteHeader",className:"jp-icon-hoverShow-content"});var da;!function(e){class t extends m.CommandPalette.Renderer{renderHeader(e){const t=this.formatHeader(e);return la.h.li({className:a("lm-CommandPalette-header","jp-icon-hoverShow")},t,la.h.span(ca))}renderItemIcon(e){const t=this.createIconClass(e);return e.item.isToggled?la.h.div({className:t},R,e.item.iconLabel):la.h.div({className:t},e.item.icon,e.item.iconLabel)}createIconClass(e){return a(w.styleClass({stylesheet:"commandPaletteItem"}),e.item.iconClass,"lm-CommandPalette-itemIcon")}}e.Renderer=t,e.defaultRenderer=new t}(da||(da={}));const ha=O.bindprops({stylesheet:"menuItem"});class ua extends m.ContextMenu{constructor(e){super(e),this._isDisposed=!1,this._opened=new p.Signal(this),this.menu=new pa(e)}get isDisposed(){return this._isDisposed}get opened(){return this._opened}dispose(){this._isDisposed||(this._isDisposed=!0,this.menu.dispose(),p.Signal.disconnectSender(this))}open(e){if(this._isDisposed)return!1;const t=super.open(e);return t&&this._opened.emit(),t}}class pa extends m.Menu{constructor(e){e.renderer=e.renderer||pa.defaultRenderer,super(e),this.addClass("jp-ThemedContainer")}insertItem(e,t){return t.submenu&&pa.overrideDefaultRenderer(t.submenu),super.insertItem(e,t)}}!function(e){e.overrideDefaultRenderer=function t(n){n.renderer===m.Menu.defaultRenderer&&(n.renderer=e.defaultRenderer);const s=n.insertItem.bind(n);n.insertItem=(t,n)=>(n.submenu&&e.overrideDefaultRenderer(n.submenu),s(t,n));for(const e of n._items)e.submenu&&t(e.submenu)};class t extends m.Menu.Renderer{renderIcon(e){const t=this.createIconClass(e);return e.item.isToggled?la.h.div({className:t},R,e.item.iconLabel):la.h.div({className:t},e.item.icon,e.item.iconLabel)}createIconClass(e){let t="lm-Menu-itemIcon";return"separator"===e.item.type?a(e.item.iconClass,t):a(w.styleClass({stylesheet:"menuItem"}),e.item.iconClass,t)}renderSubmenu(e){const t="lm-Menu-itemSubmenuIcon";return"submenu"===e.item.type?la.h.div({className:t},ha):la.h.div({className:t})}}e.Renderer=t,e.defaultRenderer=new t}(pa||(pa={}));class ma extends m.TabBar{constructor(e={}){var t;super({renderer:ma.defaultRenderer,...e});const n=(null!==(t=ma.translator)&&void 0!==t?t:St.nullTranslator).load("jupyterlab");I.element({container:this.addButtonNode,title:n.__("New Launcher")})}}ma.translator=null,function(e){class t extends m.TabBar.Renderer{renderCloseIcon(t){var n;const s=(null!==(n=e.translator)&&void 0!==n?n:St.nullTranslator).load("jupyterlab"),i=t.title.label?s.__("Close %1",t.title.label):s.__("Close tab"),r=a("jp-icon-hover lm-TabBar-tabCloseIcon",w.styleClass({elementPosition:"center",height:"16px",width:"16px"}));return(0,la.hpass)("div",{className:r,title:i},W)}}e.Renderer=t,e.defaultRenderer=new t}(ma||(ma={}));class ga extends m.DockPanel{constructor(e={}){super({renderer:ga.defaultRenderer,...e})}}!function(e){class t extends m.DockPanel.Renderer{createTabBar(){const e=new ma;return e.addClass("lm-DockPanel-tabBar"),e}}e.Renderer=t,e.defaultRenderer=new t}(ga||(ga={}));class va extends m.TabPanel{constructor(e={}){e.renderer=e.renderer||ma.defaultRenderer,super(e)}}const fa="jp-HoverBox",wa="-1000";var ya;!function(e){e.setGeometry=function(e){const{anchor:t,host:n,node:s,privilege:i,outOfViewDisplay:r}=e,o=n.getBoundingClientRect();s.classList.contains(fa)||s.classList.add(fa),s.style.visibility&&(s.style.visibility=""),""===s.style.zIndex&&(s.style.zIndex=""),s.style.maxHeight="",s.style.marginTop="";const a=e.style||window.getComputedStyle(s),l=t.top-o.top,c=o.bottom-t.bottom,d=parseInt(a.marginTop,10)||0,h=parseInt(a.marginLeft,10)||0,u=parseInt(a.minHeight,10)||e.minHeight;let p=parseInt(a.maxHeight,10)||e.maxHeight;const m="forceAbove"!==i&&("forceBelow"===i||("above"===i?l<p&&l<c:c>=p||c>=l));if(m?p=Math.min(c-d,p):(p=Math.min(l,p),s.style.marginTop="0px"),s.style.maxHeight=`${p}px`,!(p>=u&&(c>=u||l>=u)))return s.style.zIndex=wa,void(s.style.visibility="hidden");e.size?(s.style.width=`${e.size.width}px`,s.style.height=`${e.size.height}px`,s.style.contain="strict"):(s.style.contain="",s.style.width="auto",s.style.height="");const g=e.size?e.size.height:s.getBoundingClientRect().height,v=e.offset&&e.offset.vertical&&e.offset.vertical.above||0,f=e.offset&&e.offset.vertical&&e.offset.vertical.below||0;let w=m?o.bottom-c+f:o.top+l-g+v;s.style.top=`${Math.floor(w)}px`;const y=e.offset&&e.offset.horizontal||0;let b=t.left+y;s.style.left=`${Math.ceil(b)}px`;let x=s.getBoundingClientRect(),_=x.right;_>window.innerWidth&&(b-=_-window.innerWidth,_=window.innerWidth,s.style.left=`${Math.ceil(b)}px`),b<y-h&&(b=y-h,s.style.left=`${Math.ceil(b)}px`),s.style.zIndex="-1000";const S=x.bottom,C=n.contains(document.elementFromPoint(b,w)),j=n.contains(document.elementFromPoint(_,w)),I=n.contains(document.elementFromPoint(_,S)),M=n.contains(document.elementFromPoint(b,S));s.style.zIndex="";const k=C||j,E=M||I,T=C||M,F=I||j,A=S-w,z=_-b,D=w<o.top,O=S>o.bottom,B=b+h<o.left,L=_>o.right;let N=!1,R=!1,H=!1;if(D)switch((null==r?void 0:r.top)||"hidden-inside"){case"hidden-inside":k||(N=!0);break;case"hidden-outside":E||(N=!0);break;case"stick-inside":o.top>w&&(w=o.top,H=!0);break;case"stick-outside":o.top>S&&(w=o.top-A,H=!0)}if(O)switch((null==r?void 0:r.bottom)||"hidden-outside"){case"hidden-inside":E||(N=!0);break;case"hidden-outside":k||(N=!0);break;case"stick-inside":o.bottom<S&&(w=o.bottom-A,H=!0);break;case"stick-outside":o.bottom<w&&(w=o.bottom,H=!0)}if(B)switch((null==r?void 0:r.left)||"hidden-inside"){case"hidden-inside":T||(N=!0);break;case"hidden-outside":F||(N=!0);break;case"stick-inside":o.left>b+h&&(b=o.left-h,R=!0);break;case"stick-outside":o.left>_&&(b=o.left-h-z,R=!0)}if(L)switch((null==r?void 0:r.right)||"hidden-outside"){case"hidden-inside":F||(N=!0);break;case"hidden-outside":T||(N=!0);break;case"stick-inside":o.right<_&&(b=o.right-z,R=!0);break;case"stick-outside":o.right<b&&(b=o.right,R=!0)}N&&(s.style.zIndex=wa,s.style.visibility="hidden"),R&&(s.style.left=`${Math.ceil(b)}px`),H&&(s.style.top=`${Math.ceil(w)}px`)}}(ya||(ya={}));const ba=new g.Token("@jupyterlab/ui-components:IFormRendererRegistry","A service for settings form renderer registration."),xa=new g.Token("@jupyterlab/ui-components:ILabIconManager","A service to register and request icons.");class _a{constructor(){this._renderers={}}addRenderer(e,t){if(this._renderers[e])throw new Error(`A renderer with id '${e}' is already registered.`);if(!t.fieldRenderer&&!t.widgetRenderer)throw new Error(`The component for '${e}' cannot be registered as it does not define 'fieldRenderer' nor 'widgetRenderer'.`);const n=e.lastIndexOf("."),s=e.substring(0,n),i=e.substring(n+1);if(0==s.length||0==i.length)throw new Error(`Form renderer id must follows the structure '<ISettingRegistry.IPlugin.id>.<propertyName>'; got ${e}.`);this._renderers[e]=t}get renderers(){return this._renderers}getRenderer(e){return this._renderers[e]}}},8843:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Cache:()=>m,FreeStyle:()=>y,Rule:()=>f,Selector:()=>g,Style:()=>v,create:()=>b});let s=0;const i=Object.create(null),r=["animation-iteration-count","border-image-outset","border-image-slice","border-image-width","box-flex","box-flex-group","box-ordinal-group","column-count","columns","counter-increment","counter-reset","flex","flex-grow","flex-positive","flex-shrink","flex-negative","flex-order","font-weight","grid-area","grid-column","grid-column-end","grid-column-span","grid-column-start","grid-row","grid-row-end","grid-row-span","grid-row-start","line-clamp","line-height","opacity","order","orphans","tab-size","widows","z-index","zoom","fill-opacity","flood-opacity","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","stroke-opacity","stroke-width"];for(const e of r)for(const t of["-webkit-","-ms-","-moz-","-o-",""])i[t+e]=!0;function o(e,t){return t&&"number"==typeof t&&!i[e]?`${e}:${t}px`:`${e}:${t}`}function a(e){return e.sort(((e,t)=>e[0]>t[0]?1:-1))}function l(e){return e.map((([e,t])=>Array.isArray(t)?t.map((t=>o(e,t))).join(";"):o(e,t))).join(";")}function c(e,t){return-1===e.indexOf("&")?`${t} ${e}`:e.replace(/&/g,t)}function d(e,t,n,s,i){const{style:r,nested:o,isUnique:h}=function(e,t){const n=[],s=[];for(const t of Object.keys(e)){const r=t.trim(),o=e[t];36!==r.charCodeAt(0)&&null!=o&&("object"!=typeof o||Array.isArray(o)?n.push([(i=r,i.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace(/^ms-/,"-ms-")),o]):s.push([r,o]))}var i;return{style:l(a(n)),nested:t?s:a(s),isUnique:!!e.$unique}}(t,""!==e);let u=r;if(64===e.charCodeAt(0)){const t={selector:e,styles:[],rules:[],style:i?"":r};n.push(t),r&&i&&t.styles.push({selector:i,style:r,isUnique:h});for(const[e,n]of o)u+=e+d(e,n,t.rules,t.styles,i)}else{const t=i?c(e,i):e;r&&s.push({selector:t,style:r,isUnique:h});for(const[e,i]of o)u+=e+d(e,i,n,s,t)}return u}function h(e,t,n,i,r,o){for(const{selector:n,style:a,isUnique:l}of i){const i=o?c(n,r):n,d=l?`u\0${(++s).toString(36)}`:`s\0${t}\0${a}`,h=new v(a,d);h.add(new g(i,`k\0${t}\0${i}`)),e.add(h)}for(const{selector:s,style:i,rules:a,styles:l}of n){const n=new f(s,i,`r\0${t}\0${s}\0${i}`);h(n,t,a,l,r,o),e.add(n)}}function u(e){let t="";for(let n=0;n<e.length;n++)t+=e[n];return t}const p={add:()=>{},change:()=>{},remove:()=>{}};class m{constructor(e=p){this.changes=e,this.sheet=[],this.changeId=0,this._keys=[],this._children=Object.create(null),this._counters=Object.create(null)}add(e){const t=this._counters[e.id]||0,n=this._children[e.id]||e.clone();if(this._counters[e.id]=t+1,0===t)this._children[n.id]=n,this._keys.push(n.id),this.sheet.push(n.getStyles()),this.changeId++,this.changes.add(n,this._keys.length-1);else if(n instanceof m&&e instanceof m){const t=this._keys.indexOf(e.id),s=n.changeId;n.merge(e),n.changeId!==s&&(this.sheet.splice(t,1,n.getStyles()),this.changeId++,this.changes.change(n,t,t))}}remove(e){const t=this._counters[e.id];if(t){this._counters[e.id]=t-1;const n=this._children[e.id],s=this._keys.indexOf(n.id);if(1===t)delete this._counters[e.id],delete this._children[e.id],this._keys.splice(s,1),this.sheet.splice(s,1),this.changeId++,this.changes.remove(n,s);else if(n instanceof m&&e instanceof m){const t=n.changeId;n.unmerge(e),n.changeId!==t&&(this.sheet.splice(s,1,n.getStyles()),this.changeId++,this.changes.change(n,s,s))}}}values(){return this._keys.map((e=>this._children[e]))}merge(e){for(const t of e.values())this.add(t);return this}unmerge(e){for(const t of e.values())this.remove(t);return this}clone(){return(new m).merge(this)}}class g{constructor(e,t){this.selector=e,this.id=t}getStyles(){return this.selector}clone(){return this}}class v extends m{constructor(e,t){super(),this.style=e,this.id=t}getStyles(){return`${this.sheet.join(",")}{${this.style}}`}clone(){return new v(this.style,this.id).merge(this)}}class f extends m{constructor(e,t,n){super(),this.rule=e,this.style=t,this.id=n}getStyles(){return`${this.rule}{${this.style}${u(this.sheet)}}`}clone(){return new f(this.rule,this.style,this.id).merge(this)}}function w(e,t){return`f${function(e){let t=5381,n=e.length;for(;n--;)t=33*t^e.charCodeAt(n);return(t>>>0).toString(36)}(e)}`}class y extends m{constructor(e,t){super(t),this.id=e}registerStyle(e){const t=[],n=[],s=d("&",e,t,n),i=w(s);return h(this,s,t,n,`.${i}`,!0),i}registerKeyframes(e){return this.registerHashRule("@keyframes",e)}registerHashRule(e,t){const n=[],s=[],i=d("",t,n,s),r=w(i),o=new f(`${e} ${r}`,"",`h\0${i}\0${e}`);return h(o,i,n,s,"",!1),this.add(o),r}registerRule(e,t){const n=[],s=[];h(this,d(e,t,n,s),n,s,"",!1)}registerCss(e){return this.registerRule("",e)}getStyles(){return u(this.sheet)}clone(){return new y(this.id,this.changes).merge(this)}}function b(e){return new y(`f${(++s).toString(36)}`,e)}},63005:(e,t,n)=>{var s=n(10228),i=n(79749);e.exports=function(e,t){return s(e,t,(function(t,n){return i(e,n)}))}},10228:(e,t,n)=>{var s=n(79867),i=n(78859),r=n(76747);e.exports=function(e,t,n){for(var o=-1,a=t.length,l={};++o<a;){var c=t[o],d=s(e,c);n(d,c)&&i(l,r(c,e),d)}return l}},14648:(e,t,n)=>{var s=n(63005),i=n(24288)((function(e,t){return null==e?{}:s(e,t)}));e.exports=i},43551:(e,t,n)=>{var s=n(70830);e.exports=function(e,t){return null==e||s(e,t)}},37634:(e,t,n)=>{"use strict";var s=n(38005);t.s=s.createRoot,s.hydrateRoot},73062:(e,t,n)=>{"use strict";var s=n(53861);s.TypeStyle,n(66720);var i=n(51833);i.extend,i.classes,i.media;var r=new s.TypeStyle({autoGenerateTag:!0});r.setStylesTarget,r.cssRaw,r.cssRule,r.forceRenderStyles,r.fontFace,r.getStyles,r.keyframes,r.reinit,t.oB=r.style,r.stylesheet},62034:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertToStyles=function e(t){var n={};for(var s in t){var i=t[s];if("$nest"===s){var r=i;for(var o in r){var a=r[o];n[o]=e(a)}}else"$debugName"===s?n.$displayName=i:n[s]=i}return n},t.convertToKeyframes=function(e){var t={};for(var n in e)"$debugName"!==n&&(t[n]=e[n]);return e.$debugName&&(t.$displayName=e.$debugName),t}},53861:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(8843),i=n(62034),r=n(51833),o=function(){return s.create()},a=function(){function e(e){var t=this,n=e.autoGenerateTag;this.cssRaw=function(e){e&&(t._raw+=e||"",t._pendingRawChange=!0,t._styleUpdated())},this.cssRule=function(e){for(var n=[],s=1;s<arguments.length;s++)n[s-1]=arguments[s];var o=i.convertToStyles(r.extend.apply(void 0,n));t._freeStyle.registerRule(e,o),t._styleUpdated()},this.forceRenderStyles=function(){var e=t._getTag();e&&(e.textContent=t.getStyles())},this.fontFace=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var s=t._freeStyle,i=0,r=e;i<r.length;i++){var o=r[i];s.registerRule("@font-face",o)}t._styleUpdated()},this.getStyles=function(){return(t._raw||"")+t._freeStyle.getStyles()},this.keyframes=function(e){var n=i.convertToKeyframes(e),s=t._freeStyle.registerKeyframes(n);return t._styleUpdated(),s},this.reinit=function(){var e=o();t._freeStyle=e,t._lastFreeStyleChangeId=e.changeId,t._raw="",t._pendingRawChange=!1;var n=t._getTag();n&&(n.textContent="")},this.setStylesTarget=function(e){t._tag&&(t._tag.textContent=""),t._tag=e,t.forceRenderStyles()},this.stylesheet=function(e){for(var n={},s=0,i=Object.getOwnPropertyNames(e);s<i.length;s++){var r=i[s],o=e[r];o&&(o.$debugName=r,n[r]=t.style(o))}return n};var s=o();this._autoGenerateTag=n,this._freeStyle=s,this._lastFreeStyleChangeId=s.changeId,this._pending=0,this._pendingRawChange=!1,this._raw="",this._tag=void 0,this.style=this.style.bind(this)}return e.prototype._afterAllSync=function(e){var t=this;this._pending++;var n=this._pending;r.raf((function(){n===t._pending&&e()}))},e.prototype._getTag=function(){if(this._tag)return this._tag;if(this._autoGenerateTag){var e="undefined"==typeof window?{textContent:""}:document.createElement("style");return"undefined"!=typeof document&&document.head.appendChild(e),this._tag=e,e}},e.prototype._styleUpdated=function(){var e=this,t=this._freeStyle.changeId,n=this._lastFreeStyleChangeId;(this._pendingRawChange||t!==n)&&(this._lastFreeStyleChangeId=t,this._pendingRawChange=!1,this._afterAllSync((function(){return e.forceRenderStyles()})))},e.prototype.style=function(){var e=this._freeStyle.registerStyle(i.convertToStyles(r.extend.apply(void 0,arguments)));return this._styleUpdated(),e},e}();t.TypeStyle=a},51833:(e,t)=>{"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var s={},i=0,r=e;i<r.length;i++){var o=r[i];if(null!=o&&!1!==o)for(var a in o){var l=o[a];(l||0===l)&&("$nest"===a&&l?s[a]=s.$nest?n(s.$nest,l):l:-1!==a.indexOf("&")||0===a.indexOf("@media")?s[a]=s[a]?n(s[a],l):l:s[a]=l)}}return s}Object.defineProperty(t,"__esModule",{value:!0}),t.raf="undefined"==typeof requestAnimationFrame?function(e){return setTimeout(e)}:"undefined"==typeof window?requestAnimationFrame:requestAnimationFrame.bind(window),t.classes=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.map((function(e){return e&&"object"==typeof e?Object.keys(e).map((function(t){return!!e[t]&&t})):[e]})).reduce((function(e,t){return e.concat(t)}),[]).filter((function(e){return!!e})).join(" ")},t.extend=n,t.media=function(e){for(var t,i=[],r=1;r<arguments.length;r++)i[r-1]=arguments[r];var o=[];return e.type&&o.push(e.type),e.orientation&&o.push("(orientation: "+e.orientation+")"),e.minWidth&&o.push("(min-width: "+s(e.minWidth)+")"),e.maxWidth&&o.push("(max-width: "+s(e.maxWidth)+")"),e.minHeight&&o.push("(min-height: "+s(e.minHeight)+")"),e.maxHeight&&o.push("(max-height: "+s(e.maxHeight)+")"),e.prefersColorScheme&&o.push("(prefers-color-scheme: "+e.prefersColorScheme+")"),{$nest:(t={},t["@media "+o.join(" and ")]=n.apply(void 0,i),t)}};var s=function(e){return"string"==typeof e?e:e+"px"}},66720:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})}}]);