notebook 7.0.0b4__py3-none-any.whl → 7.0.0rc0__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.
- notebook/_version.py +1 -1
- notebook/app.py +17 -13
- notebook/static/1018.bundle.js +1 -1
- notebook/static/1198.bundle.js +1 -1
- notebook/static/1337.bundle.js +1 -1
- notebook/static/134.bundle.js +1 -0
- notebook/static/1408.bundle.js +1 -1
- notebook/static/1584.bundle.js +1 -1
- notebook/static/162.bundle.js +1 -1
- notebook/static/1647.bundle.js +1 -1
- notebook/static/1650.bundle.js +1 -1
- notebook/static/1682.bundle.js +1 -1
- notebook/static/1684.bundle.js +1 -1
- notebook/static/1809.bundle.js +1 -1
- notebook/static/1827.bundle.js +1 -1
- notebook/static/1833.bundle.js +1 -1
- notebook/static/1835.bundle.js +1 -1
- notebook/static/1950.bundle.js +1 -1
- notebook/static/1958.bundle.js +1 -1
- notebook/static/2007.bundle.js +1 -1
- notebook/static/2067.bundle.js +1 -1
- notebook/static/2088.bundle.js +1 -1
- notebook/static/2089.bundle.js +1 -1
- notebook/static/2122.bundle.js +1 -1
- notebook/static/2167.bundle.js +1 -1
- notebook/static/2184.bundle.js +1 -1
- notebook/static/2251.bundle.js +1 -1
- notebook/static/2311.bundle.js +1 -1
- notebook/static/2323.bundle.js +1 -1
- notebook/static/2330.bundle.js +1 -1
- notebook/static/2401.bundle.js +1 -1
- notebook/static/2479.bundle.js +1 -0
- notebook/static/2512.bundle.js +1 -1
- notebook/static/2607.bundle.js +1 -1
- notebook/static/2913.bundle.js +1 -1
- notebook/static/2924.bundle.js +1 -1
- notebook/static/2955.bundle.js +1 -0
- notebook/static/2979.bundle.js +1 -1
- notebook/static/3146.bundle.js +1 -1
- notebook/static/3213.bundle.js +1 -1
- notebook/static/3340.bundle.js +1 -1
- notebook/static/3360.bundle.js +1 -1
- notebook/static/3466.bundle.js +1 -1
- notebook/static/35.bundle.js +1 -1
- notebook/static/3676.bundle.js +1 -1
- notebook/static/3680.bundle.js +1 -1
- notebook/static/3768.bundle.js +1 -1
- notebook/static/377.bundle.js +1 -1
- notebook/static/3797.bundle.js +1 -1
- notebook/static/3863.bundle.js +1 -1
- notebook/static/3881.bundle.js +1 -1
- notebook/static/4042.bundle.js +1 -0
- notebook/static/4131.bundle.js +1 -1
- notebook/static/4205.bundle.js +1 -1
- notebook/static/4212.bundle.js +1 -1
- notebook/static/4234.bundle.js +1 -1
- notebook/static/4382.bundle.js +1 -1
- notebook/static/4558.bundle.js +1 -1
- notebook/static/4645.bundle.js +1 -1
- notebook/static/4746.bundle.js +1 -0
- notebook/static/4785.bundle.js +1 -1
- notebook/static/4810.bundle.js +1 -1
- notebook/static/4811.bundle.js +1 -1
- notebook/static/4837.bundle.js +1 -0
- notebook/static/5016.bundle.js +1 -1
- notebook/static/5088.bundle.js +1 -1
- notebook/static/5099.bundle.js +1 -1
- notebook/static/5125.bundle.js +2 -0
- notebook/static/5135.bundle.js +1 -1
- notebook/static/5261.bundle.js +1 -0
- notebook/static/5313.bundle.js +1 -1
- notebook/static/5325.bundle.js +1 -1
- notebook/static/5346.bundle.js +1 -1
- notebook/static/5426.bundle.js +1 -1
- notebook/static/5573.bundle.js +1 -1
- notebook/static/5601.bundle.js +1 -1
- notebook/static/5678.bundle.js +1 -1
- notebook/static/5733.bundle.js +1 -1
- notebook/static/5765.bundle.js +1 -1
- notebook/static/5777.bundle.js +1 -1
- notebook/static/5828.bundle.js +1 -1
- notebook/static/5912.bundle.js +1 -1
- notebook/static/5921.bundle.js +1 -1
- notebook/static/6017.bundle.js +1 -1
- notebook/static/6027.bundle.js +1 -1
- notebook/static/6139.bundle.js +1 -1
- notebook/static/62.bundle.js +1 -1
- notebook/static/6256.bundle.js +1 -1
- notebook/static/6271.bundle.js +1 -1
- notebook/static/6345.bundle.js +1 -1
- notebook/static/6604.bundle.js +1 -1
- notebook/static/6621.bundle.js +1 -1
- notebook/static/6627.bundle.js +1 -1
- notebook/static/6774.bundle.js +1 -0
- notebook/static/6815.bundle.js +1 -1
- notebook/static/6853.bundle.js +1 -1
- notebook/static/6893.bundle.js +1 -1
- notebook/static/690.bundle.js +1 -0
- notebook/static/6919.bundle.js +3 -3
- notebook/static/6962.bundle.js +1 -1
- notebook/static/6999.bundle.js +1 -1
- notebook/static/7226.bundle.js +1 -1
- notebook/static/7252.bundle.js +1 -0
- notebook/static/7302.bundle.js +1 -1
- notebook/static/7369.bundle.js +1 -1
- notebook/static/7386.bundle.js +1 -1
- notebook/static/7391.bundle.js +1 -1
- notebook/static/7394.bundle.js +1 -1
- notebook/static/7427.bundle.js +1 -0
- notebook/static/7439.bundle.js +1 -1
- notebook/static/7450.bundle.js +1 -1
- notebook/static/7603.bundle.js +1 -1
- notebook/static/7639.bundle.js +1 -1
- notebook/static/7679.bundle.js +1 -0
- notebook/static/7684.bundle.js +1 -1
- notebook/static/7819.bundle.js +1 -1
- notebook/static/7900.bundle.js +1 -0
- notebook/static/7906.bundle.js +1 -1
- notebook/static/7957.bundle.js +1 -1
- notebook/static/7997.bundle.js +1 -1
- notebook/static/8010.bundle.js +1 -1
- notebook/static/8136.bundle.js +1 -1
- notebook/static/8578.bundle.js +1 -1
- notebook/static/8579.bundle.js +1 -1
- notebook/static/8633.bundle.js +1 -1
- notebook/static/8771.bundle.js +1 -1
- notebook/static/880.bundle.js +1 -1
- notebook/static/8845.bundle.js +1 -1
- notebook/static/8845.bundle.js.LICENSE.txt +2 -2
- notebook/static/8875.bundle.js +1 -1
- notebook/static/8907.bundle.js +1 -1
- notebook/static/8914.bundle.js +1 -1
- notebook/static/8928.bundle.js +1 -0
- notebook/static/893.bundle.js +1 -1
- notebook/static/901.bundle.js +1 -1
- notebook/static/9068.bundle.js +1 -1
- notebook/static/9086.bundle.js +1 -1
- notebook/static/9151.bundle.js +1 -1
- notebook/static/9268.bundle.js +1 -1
- notebook/static/9335.bundle.js +1 -1
- notebook/static/9341.bundle.js +1 -1
- notebook/static/9380.bundle.js +1 -1
- notebook/static/9605.bundle.js +1 -1
- notebook/static/9609.bundle.js +1 -1
- notebook/static/9638.bundle.js +1 -1
- notebook/static/9680.bundle.js +1 -0
- notebook/static/9685.bundle.js +1 -0
- notebook/static/9752.bundle.js +1 -1
- notebook/static/9799.bundle.js +1 -1
- notebook/static/9852.bundle.js +1 -1
- notebook/static/9854.bundle.js +2 -0
- notebook/static/bundle.js +1 -1
- notebook/static/third-party-licenses.json +151 -127
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/package.json.orig +14 -14
- notebook-7.0.0rc0.data/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json +34 -0
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/documentsearch-extension/package.json.orig +4 -4
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/package.json.orig +6 -6
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/package.json.orig +9 -9
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/package.json.orig +15 -15
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/package.json +11 -11
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/package.json.orig +10 -10
- notebook-7.0.0b4.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.a7e9e50b675118021681.js → notebook-7.0.0rc0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.1b31bd587bea2c1816b1.js +1 -1
- notebook-7.0.0rc0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/7.d4d2f899a93808dccf3d.js +1 -0
- notebook-7.0.0b4.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.2aa8888b3e6b5670842f.js → notebook-7.0.0rc0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.a832439d17633285a072.js +1 -1
- notebook-7.0.0rc0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.b00379f3c5b2b5eb657f.js +1 -0
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/third-party-licenses.json +2 -2
- {notebook-7.0.0b4.dist-info → notebook-7.0.0rc0.dist-info}/METADATA +2 -2
- notebook-7.0.0rc0.dist-info/RECORD +389 -0
- {notebook-7.0.0b4.dist-info → notebook-7.0.0rc0.dist-info}/WHEEL +1 -1
- notebook/static/2274.bundle.js +0 -1
- notebook/static/3063.bundle.js +0 -2
- notebook/static/3344.bundle.js +0 -1
- notebook/static/4190.bundle.js +0 -1
- notebook/static/435.bundle.js +0 -1
- notebook/static/4964.bundle.js +0 -1
- notebook/static/5282.bundle.js +0 -1
- notebook/static/5975.bundle.js +0 -1
- notebook/static/6695.bundle.js +0 -1
- notebook/static/771.bundle.js +0 -1
- notebook/static/7827.bundle.js +0 -2
- notebook-7.0.0b4.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/7.9bd87123f72aaa959984.js +0 -1
- notebook-7.0.0b4.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.ed19884b54327368a389.js +0 -1
- notebook-7.0.0b4.dist-info/RECORD +0 -381
- /notebook/static/{3063.bundle.js.LICENSE.txt → 5125.bundle.js.LICENSE.txt} +0 -0
- /notebook/static/{7827.bundle.js.LICENSE.txt → 9854.bundle.js.LICENSE.txt} +0 -0
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/etc/jupyter/jupyter_server_config.d/notebook.json +0 -0
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/applications/jupyter-notebook.desktop +0 -0
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/icons/hicolor/scalable/apps/notebook.svg +0 -0
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/menus.json +0 -0
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/pages.json +0 -0
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/title.json +0 -0
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/top.json +0 -0
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/zen.json +0 -0
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/open.json +0 -0
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/checkpoints.json +0 -0
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/kernel-logo.json +0 -0
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json +0 -0
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/file-actions.json +0 -0
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/widget.json +0 -0
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/interface-switcher.json +0 -0
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/launch-tree.json +0 -0
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/776.c7baadfaddfd4518c935.js +0 -0
- {notebook-7.0.0b4.data → notebook-7.0.0rc0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/style.js +0 -0
- {notebook-7.0.0b4.dist-info → notebook-7.0.0rc0.dist-info}/entry_points.txt +0 -0
- {notebook-7.0.0b4.dist-info → notebook-7.0.0rc0.dist-info}/licenses/LICENSE +0 -0
notebook/static/1018.bundle.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[1018],{41018:(e,t,n)=>{n.r(t),n.d(t,{AddButton:()=>ar,Button:()=>d,Collapser:()=>mt,CommandPaletteSvg:()=>uo,CommandToolbarButton:()=>Wr,CommandToolbarButtonComponent:()=>Rr,ContextMenuSvg:()=>mo,DEFAULT_STYLE_CLASS:()=>mr,DEFAULT_UI_OPTIONS:()=>sr,DockPanelSvg:()=>fo,DropButton:()=>or,FilenameSearcher:()=>Jr,FilterBox:()=>Yr,FormComponent:()=>pr,FormRendererRegistry:()=>So,HTMLSelect:()=>vr,HTML_SELECT_CLASS:()=>gr,HoverBox:()=>bo,IFormRendererRegistry:()=>Co,IFrame:()=>fr,ILabIconManager:()=>_o,IRankedMenu:()=>xr,InputGroup:()=>yr,LabIcon:()=>y,MenuSvg:()=>go,MoveButton:()=>rr,PanelWithToolbar:()=>Zr,RankedMenu:()=>_r,ReactWidget:()=>kr,ReactiveToolbar:()=>Hr,SidePanel:()=>no,Spinner:()=>io,Styling:()=>eo,Switch:()=>so,TabBarSvg:()=>vo,TabPanelSvg:()=>wo,Toolbar:()=>Dr,ToolbarButton:()=>Nr,ToolbarButtonComponent:()=>Br,UseSignal:()=>Tr,VDomModel:()=>Ar,VDomRenderer:()=>Er,WindowedLayout:()=>lo,WindowedList:()=>ao,WindowedListModel:()=>oo,addAboveIcon:()=>C,addBelowIcon:()=>_,addCommandToolbarButtonClass:()=>Pr,addIcon:()=>S,addToolbarButtonClass:()=>Vr,badIcon:()=>x,bellIcon:()=>j,blankIcon:()=>b,bugDotIcon:()=>I,bugIcon:()=>M,buildIcon:()=>L,caretDownEmptyIcon:()=>k,caretDownEmptyThinIcon:()=>E,caretDownIcon:()=>T,caretLeftIcon:()=>A,caretRightIcon:()=>F,caretUpEmptyThinIcon:()=>z,caretUpIcon:()=>O,caseSensitiveIcon:()=>D,checkIcon:()=>H,circleEmptyIcon:()=>B,circleIcon:()=>V,classes:()=>a,classesDedupe:()=>l,clearIcon:()=>N,closeIcon:()=>R,codeCheckIcon:()=>P,codeIcon:()=>W,collapseAllIcon:()=>$,consoleIcon:()=>U,copyIcon:()=>q,copyrightIcon:()=>Z,cutIcon:()=>G,deleteIcon:()=>K,downloadIcon:()=>Y,duplicateIcon:()=>J,editIcon:()=>X,ellipsesIcon:()=>Q,errorIcon:()=>ee,expandAllIcon:()=>te,extensionIcon:()=>ne,fastForwardIcon:()=>ie,fileIcon:()=>se,fileUploadIcon:()=>re,filterDotIcon:()=>oe,filterIcon:()=>ae,filterListIcon:()=>le,folderFavoriteIcon:()=>ce,folderIcon:()=>de,fuzzySearch:()=>Gr,getReactAttrs:()=>c,homeIcon:()=>he,html5Icon:()=>ue,imageIcon:()=>pe,infoIcon:()=>me,inspectorIcon:()=>ge,jsonIcon:()=>ve,juliaIcon:()=>fe,jupyterFaviconIcon:()=>we,jupyterIcon:()=>ye,jupyterlabWordmarkIcon:()=>xe,kernelIcon:()=>be,keyboardIcon:()=>Ce,launchIcon:()=>_e,launcherIcon:()=>Se,lineFormIcon:()=>je,linkIcon:()=>Ie,listIcon:()=>Me,markdownIcon:()=>Le,moveDownIcon:()=>ke,moveUpIcon:()=>Ee,newFolderIcon:()=>Te,notTrustedIcon:()=>Ae,notebookIcon:()=>Fe,numberingIcon:()=>ze,offlineBoltIcon:()=>Oe,paletteIcon:()=>De,pasteIcon:()=>He,pdfIcon:()=>Be,pythonIcon:()=>Ve,rKernelIcon:()=>Ne,reactIcon:()=>Re,redoIcon:()=>Pe,refreshIcon:()=>We,regexIcon:()=>$e,runIcon:()=>Ue,runningIcon:()=>qe,saveIcon:()=>Ze,searchIcon:()=>Ge,settingsIcon:()=>Ke,shareIcon:()=>Ye,spreadsheetIcon:()=>Je,stopIcon:()=>Xe,tabIcon:()=>Qe,tableRowsIcon:()=>et,tagIcon:()=>tt,terminalIcon:()=>nt,textEditorIcon:()=>it,tocIcon:()=>st,treeViewIcon:()=>rt,trustedIcon:()=>ot,undoIcon:()=>at,updateFilterFunction:()=>Kr,userIcon:()=>lt,usersIcon:()=>ct,vegaIcon:()=>dt,wordIcon:()=>ht,yamlIcon:()=>ut});var i=n(78156),s=n.n(i),r=n(79452);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,i)=>("style"===i||t.includes(i)||(i.startsWith("data")?n[i]=e.getAttribute(i):n[r.Text.camelCase(i)]=e.getAttribute(i)),n)),{})}function d(e){const{minimal:t,small:n,children:i,...r}=e;return s().createElement("button",{...r,className:a(e.className,t?"jp-mod-minimal":"",n?"jp-mod-small":"","jp-Button")},i)}var h=n(47479),u=n(46947),p=n(49501),m=n(37634);const g='<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n <g class="jp-icon3" fill="#616161">\n <path 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.76C12.15 3.68 10.66 3 9 3 5.69 3 3.01 5.69 3.01 9S5.69 15 9 15c2.97 0 5.43-2.16 5.9-5h-1.52c-.46 2-2.24 3.5-4.38 3.5z"/>\n </g>\n</svg>\n';var v,f,w=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 i={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 s(e){return{element:{height:e,width:e}}}const r={small:s("14px"),normal:s("16px"),large:s("20px"),xlarge:s("24px")};const o=new Map;e.styleClass=function(e){if(!e||0===Object.keys(e).length)return"";let{elementPosition:n,elementSize:s,stylesheet:a,...l}=e;const c={...n&&{elementPosition:n},...s&&{elementSize:s}},d="string"==typeof a&&0===Object.keys(l).length,h=d?[a,n,s].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,w.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(i[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}}(v||(v={}));class y{static remove(e){for(;e.firstChild;)e.firstChild.remove();return e.className="",e}static resolve({icon:e}){if(e instanceof y)return e;if("string"==typeof e){return y._instances.get(e)||(y._debug&&console.warn(`Lookup failed for icon, creating loading icon. icon: ${e}`),new y({name:e,svgstr:g,_loading:!0}))}return new y(e)}static resolveElement({icon:e,iconClass:t,fallback:n,...i}){return f.isResolvable(e)?y.resolve({icon:e}).element(i):!t&&n?n.element(i):(i.className=a(t,i.className),f.blankElement(i))}static resolveReact({icon:e,iconClass:t,fallback:n,...i}){if(!f.isResolvable(e))return!t&&n?s().createElement(n.react,{...i}):(i.className=a(t,i.className),s().createElement(f.blankReact,{...i}));const r=y.resolve({icon:e});return s().createElement(r.react,{...i})}static resolveSvg({name:e,svgstr:t}){const n=(new DOMParser).parseFromString(f.svgstrShim(t),"image/svg+xml"),i=n.querySelector("parsererror");if(i){const n=`SVG HTML was malformed for LabIcon instance.\nname: ${e}, svgstr: ${t}`;return y._debug?(console.error(n),i):(console.warn(n),null)}return n.documentElement}static toggleDebug(e){y._debug=null!=e?e:!y._debug}constructor({name:e,svgstr:t,render:n,unrender:i,_loading:s=!1}){if(this._props={},this._svgReplaced=new h.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}`),x;if(this._loading=s,y._instances.has(e)){const n=y._instances.get(e);return this._loading?(n.svgstr=t,this._loading=!1,n):(y._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:i}),y._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:i,label:s,title:r,tag:o="div",...a}={...this._props,...e};const l=null==i?void 0:i.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");let c=!0;if(i)for(;i.firstChild;)i.firstChild.remove();else i=document.createElement(o),c=!1;null!=s&&(i.textContent=s),f.initContainer({container:i,className:n,styleProps:a,title:r});const d=this.svgElement.cloneNode(!0);return i.appendChild(d),c?d:i}render(e,t){var n;let i=null===(n=null==t?void 0:t.children)||void 0===n?void 0:n[0];"string"!=typeof i&&(i=void 0),this.element({container:e,label:i,...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=p.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=s().forwardRef(((e={},t)=>{const{className:n,container:i,label:r,title:o,tag:l="div",...c}={...this._props,...e},[,d]=s().useState(this._uuid);s().useEffect((()=>{const e=()=>{d(this._uuid)};return this._svgReplaced.connect(e),()=>{this._svgReplaced.disconnect(e)}}));const h=l;if(!this.svgInnerHTML||!this.svgReactAttrs)return s().createElement(s().Fragment,null);const u=s().createElement("svg",{...this.svgReactAttrs,dangerouslySetInnerHTML:{__html:this.svgInnerHTML},ref:t});return i?(f.initContainer({container:i,className:n,styleProps:c,title:o}),s().createElement(s().Fragment,null,u,r)):s().createElement(h,{className:n||c?a(n,v.styleClass(c)):void 0,title:o},u,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=y.resolveSvg(this);return n?("parsererror"!==n.tagName&&(n.dataset.icon=this.name,t&&(n.dataset.iconId=t),e&&f.setTitleSvg(n,e)),n):n}}y._debug=!1,y._instances=new Map,function(e){function t({container:e,className:t,styleProps:n,title:i}){null!=i&&(e.title=i);const s=v.styleClass(n);if(null!=t){const n=a(t,s);return e.className=n,n}return s?(e.classList.add(s),s):""}e.blankElement=function({className:t="",container:n,label:i,title:s,tag:r="div",...o}){if((null==n?void 0:n.className)===t)return n;if(n)for(;n.firstChild;)n.firstChild.remove();else n=document.createElement(r);return null!=i&&(n.textContent=i),e.initContainer({container:n,className:t,styleProps:o,title:s}),n},e.blankReact=s().forwardRef((({className:e="",container:n,label:i,title:r,tag:o="div",...l},c)=>{const d=o;return n?(t({container:n,className:e,styleProps:l,title:r}),s().createElement(s().Fragment,null)):s().createElement(d,{className:a(e,v.styleClass(l))},c&&b.react({ref:c}),i)})),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,i]=decodeURIComponent(e).replace(/>\s*\n\s*</g,"><").replace(/\s*\n\s*/g," ").match(t?/^(?:data:.*?(;base64)?,)?(.*)/:/(?:(base64).*)?(<svg.*)/);return n?atob(i):i};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,i;let s=null===(n=null==t?void 0:t.children)||void 0===n?void 0:n[0];"string"!=typeof s&&(s=void 0),this._icon.element({container:e,label:s,...null===(i=this._rendererOptions)||void 0===i?void 0:i.props,...null==t?void 0:t.props})}},e.ReactRenderer=class extends n{constructor(){super(...arguments),this._rootDOM=null}render(e,t){var n,i;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,m.s)(e),this._rootDOM.render(s().createElement(o.react,{container:e,label:r,...{...null===(i=this._rendererOptions)||void 0===i?void 0:i.props,...null==t?void 0:t.props}}))}unrender(e){null!==this._rootDOM&&(this._rootDOM.unmount(),this._rootDOM=null)}}}(f||(f={}));const x=new y({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'}),b=new y({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 y({name:"ui-components:add-above",svgstr:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g clip-path="url(#clip0_137_19492)">\n<path class="jp-icon3" d="M4.75 4.93066H6.625V6.80566C6.625 7.01191 6.79375 7.18066 7 7.18066C7.20625 7.18066 7.375 7.01191 7.375 6.80566V4.93066H9.25C9.45625 4.93066 9.625 4.76191 9.625 4.55566C9.625 4.34941 9.45625 4.18066 9.25 4.18066H7.375V2.30566C7.375 2.09941 7.20625 1.93066 7 1.93066C6.79375 1.93066 6.625 2.09941 6.625 2.30566V4.18066H4.75C4.54375 4.18066 4.375 4.34941 4.375 4.55566C4.375 4.76191 4.54375 4.93066 4.75 4.93066Z" fill="#616161" stroke="#616161" stroke-width="0.7"/>\n</g>\n<path class="jp-icon3" fill-rule="evenodd" clip-rule="evenodd" d="M11.5 9.5V11.5L2.5 11.5V9.5L11.5 9.5ZM12 8C12.5523 8 13 8.44772 13 9V12C13 12.5523 12.5523 13 12 13L2 13C1.44772 13 1 12.5523 1 12V9C1 8.44772 1.44771 8 2 8L12 8Z" fill="#616161"/>\n<defs>\n<clipPath id="clip0_137_19492">\n<rect class="jp-icon3" width="6" height="6" fill="white" transform="matrix(-1 0 0 1 10 1.55566)"/>\n</clipPath>\n</defs>\n</svg>\n'}),_=new y({name:"ui-components:add-below",svgstr:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g clip-path="url(#clip0_137_19498)">\n<path class="jp-icon3" d="M9.25 10.0693L7.375 10.0693L7.375 8.19434C7.375 7.98809 7.20625 7.81934 7 7.81934C6.79375 7.81934 6.625 7.98809 6.625 8.19434L6.625 10.0693L4.75 10.0693C4.54375 10.0693 4.375 10.2381 4.375 10.4443C4.375 10.6506 4.54375 10.8193 4.75 10.8193L6.625 10.8193L6.625 12.6943C6.625 12.9006 6.79375 13.0693 7 13.0693C7.20625 13.0693 7.375 12.9006 7.375 12.6943L7.375 10.8193L9.25 10.8193C9.45625 10.8193 9.625 10.6506 9.625 10.4443C9.625 10.2381 9.45625 10.0693 9.25 10.0693Z" fill="#616161" stroke="#616161" stroke-width="0.7"/>\n</g>\n<path class="jp-icon3" fill-rule="evenodd" clip-rule="evenodd" d="M2.5 5.5L2.5 3.5L11.5 3.5L11.5 5.5L2.5 5.5ZM2 7C1.44772 7 1 6.55228 1 6L1 3C1 2.44772 1.44772 2 2 2L12 2C12.5523 2 13 2.44772 13 3L13 6C13 6.55229 12.5523 7 12 7L2 7Z" fill="#616161"/>\n<defs>\n<clipPath id="clip0_137_19498">\n<rect class="jp-icon3" width="6" height="6" fill="white" transform="matrix(1 1.74846e-07 1.74846e-07 -1 4 13.4443)"/>\n</clipPath>\n</defs>\n</svg>\n'}),S=new y({name:"ui-components:add",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>\n </g>\n</svg>\n'}),j=new y({name:"ui-components:bell",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 16 16" version="1.1">\n <path class="jp-icon2 jp-icon-selectable" fill="#333333"\n d="m8 0.29c-1.4 0-2.7 0.73-3.6 1.8-1.2 1.5-1.4 3.4-1.5 5.2-0.18 2.2-0.44 4-2.3 5.3l0.28 1.3h5c0.026 0.66 0.32 1.1 0.71 1.5 0.84 0.61 2 0.61 2.8 0 0.52-0.4 0.6-1 0.71-1.5h5l0.28-1.3c-1.9-0.97-2.2-3.3-2.3-5.3-0.13-1.8-0.26-3.7-1.5-5.2-0.85-1-2.2-1.8-3.6-1.8zm0 1.4c0.88 0 1.9 0.55 2.5 1.3 0.88 1.1 1.1 2.7 1.2 4.4 0.13 1.7 0.23 3.6 1.3 5.2h-10c1.1-1.6 1.2-3.4 1.3-5.2 0.13-1.7 0.3-3.3 1.2-4.4 0.59-0.72 1.6-1.3 2.5-1.3zm-0.74 12h1.5c-0.0015 0.28 0.015 0.79-0.74 0.79-0.73 0.0016-0.72-0.53-0.74-0.79z" />\n</svg>\n'}),I=new y({name:"ui-components:bug-dot",svgstr:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3 jp-icon-selectable" fill="#616161">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M17.19 8H20V10H17.91C17.96 10.33 18 10.66 18 11V12H20V14H18.5H18V14.0275C15.75 14.2762 14 16.1837 14 18.5C14 19.208 14.1635 19.8779 14.4549 20.4739C13.7063 20.8117 12.8757 21 12 21C9.78 21 7.85 19.79 6.81 18H4V16H6.09C6.04 15.67 6 15.34 6 15V14H4V12H6V11C6 10.66 6.04 10.33 6.09 10H4V8H6.81C7.26 7.22 7.88 6.55 8.62 6.04L7 4.41L8.41 3L10.59 5.17C11.04 5.06 11.51 5 12 5C12.49 5 12.96 5.06 13.42 5.17L15.59 3L17 4.41L15.37 6.04C16.12 6.55 16.74 7.22 17.19 8ZM10 16H14V14H10V16ZM10 12H14V10H10V12Z" fill="#616161"/>\n <path d="M22 18.5C22 20.433 20.433 22 18.5 22C16.567 22 15 20.433 15 18.5C15 16.567 16.567 15 18.5 15C20.433 15 22 16.567 22 18.5Z" fill="#616161"/>\n </g>\n</svg>\n'}),M=new y({name:"ui-components:bug",svgstr:'<svg viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3 jp-icon-selectable" fill="#616161">\n <path d="M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.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-1H20V8zm-6 8h-4v-2h4v2zm0-4h-4v-2h4v2z"/>\n </g>\n</svg>\n'}),L=new y({name:"ui-components:build",svgstr:'<svg width="16" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M14.9 17.45C16.25 17.45 17.35 16.35 17.35 15C17.35 13.65 16.25 12.55 14.9 12.55C13.54 12.55 12.45 13.65 12.45 15C12.45 16.35 13.54 17.45 14.9 17.45ZM20.1 15.68L21.58 16.84C21.71 16.95 21.75 17.13 21.66 17.29L20.26 19.71C20.17 19.86 20 19.92 19.83 19.86L18.09 19.16C17.73 19.44 17.33 19.67 16.91 19.85L16.64 21.7C16.62 21.87 16.47 22 16.3 22H13.5C13.32 22 13.18 21.87 13.15 21.7L12.89 19.85C12.46 19.67 12.07 19.44 11.71 19.16L9.96002 19.86C9.81002 19.92 9.62002 19.86 9.54002 19.71L8.14002 17.29C8.05002 17.13 8.09002 16.95 8.22002 16.84L9.70002 15.68L9.65001 15L9.70002 14.31L8.22002 13.16C8.09002 13.05 8.05002 12.86 8.14002 12.71L9.54002 10.29C9.62002 10.13 9.81002 10.07 9.96002 10.13L11.71 10.84C12.07 10.56 12.46 10.32 12.89 10.15L13.15 8.28998C13.18 8.12998 13.32 7.99998 13.5 7.99998H16.3C16.47 7.99998 16.62 8.12998 16.64 8.28998L16.91 10.15C17.33 10.32 17.73 10.56 18.09 10.84L19.83 10.13C20 10.07 20.17 10.13 20.26 10.29L21.66 12.71C21.75 12.86 21.71 13.05 21.58 13.16L20.1 14.31L20.15 15L20.1 15.68Z"/>\n <path d="M7.32966 7.44454C8.0831 7.00954 8.33932 6.05332 7.90432 5.29988C7.46932 4.54643 6.5081 4.28156 5.75466 4.71656C5.39176 4.92608 5.12695 5.27118 5.01849 5.67594C4.91004 6.08071 4.96682 6.51198 5.17634 6.87488C5.61134 7.62832 6.57622 7.87954 7.32966 7.44454ZM9.65718 4.79593L10.8672 4.95179C10.9628 4.97741 11.0402 5.07133 11.0382 5.18793L11.0388 6.98893C11.0455 7.10054 10.9616 7.19518 10.855 7.21054L9.66001 7.38083L9.23915 8.13188L9.66961 9.25745C9.70729 9.36271 9.66934 9.47699 9.57408 9.53199L8.01523 10.432C7.91131 10.492 7.79337 10.4677 7.72105 10.3824L6.98748 9.43188L6.10931 9.43083L5.34704 10.3905C5.28909 10.4702 5.17383 10.4905 5.07187 10.4339L3.51245 9.53293C3.41049 9.47633 3.37647 9.35741 3.41075 9.25679L3.86347 8.14093L3.61749 7.77488L3.42347 7.37883L2.23075 7.21297C2.12647 7.19235 2.04049 7.10342 2.04245 6.98682L2.04187 5.18582C2.04383 5.06922 2.11909 4.97958 2.21704 4.96922L3.42065 4.79393L3.86749 4.02788L3.41105 2.91731C3.37337 2.81204 3.41131 2.69776 3.51523 2.63776L5.07408 1.73776C5.16934 1.68276 5.28729 1.70704 5.35961 1.79231L6.11915 2.72788L6.98001 2.73893L7.72496 1.78922C7.79156 1.70458 7.91548 1.67922 8.00879 1.74082L9.56821 2.64182C9.67017 2.69842 9.71285 2.81234 9.68723 2.90797L9.21718 4.03383L9.46316 4.39988L9.65718 4.79593Z"/>\n </g>\n</svg>\n'}),k=new y({name:"ui-components:caret-down-empty",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n <g class="jp-icon3" fill="#616161" shape-rendering="geometricPrecision">\n <path d="M5.2,5.9L9,9.7l3.8-3.8l1.2,1.2l-4.9,5l-4.9-5L5.2,5.9z"/>\n </g>\n</svg>\n'}),E=new y({name:"ui-components:caret-down-empty-thin",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 20 20">\n\t<g class="jp-icon3" fill="#616161" shape-rendering="geometricPrecision">\n\t\t<polygon class="st1" points="9.9,13.6 3.6,7.4 4.4,6.6 9.9,12.2 15.4,6.7 16.1,7.4 "/>\n\t</g>\n</svg>\n'}),T=new y({name:"ui-components:caret-down",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n <g class="jp-icon3" fill="#616161" shape-rendering="geometricPrecision">\n <path d="M5.2,7.5L9,11.2l3.8-3.8H5.2z"/>\n </g>\n</svg>\n'}),A=new y({name:"ui-components:caret-left",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n\t<g class="jp-icon3" fill="#616161" shape-rendering="geometricPrecision">\n\t\t<path d="M10.8,12.8L7.1,9l3.8-3.8l0,7.6H10.8z"/>\n </g>\n</svg>\n'}),F=new y({name:"ui-components:caret-right",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n <g class="jp-icon3" fill="#616161" shape-rendering="geometricPrecision">\n <path d="M7.2,5.2L10.9,9l-3.8,3.8V5.2H7.2z"/>\n </g>\n</svg>\n'}),z=new y({name:"ui-components:caret-up-empty-thin",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 20 20">\n\t<g class="jp-icon3" fill="#616161" shape-rendering="geometricPrecision">\n\t\t<polygon class="st1" points="15.4,13.3 9.9,7.7 4.4,13.2 3.6,12.5 9.9,6.3 16.1,12.6 "/>\n\t</g>\n</svg>\n'}),O=new y({name:"ui-components:caret-up",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n\t<g class="jp-icon3" fill="#616161" shape-rendering="geometricPrecision">\n\t\t<path d="M5.2,10.5L9,6.8l3.8,3.8H5.2z"/>\n </g>\n</svg>\n'}),D=new y({name:"ui-components:case-sensitive",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 20 20">\n <g class="jp-icon2" fill="#414141">\n <rect x="2" y="2" width="16" height="16"/>\n </g>\n <g class="jp-icon-accent2" fill="#FFF">\n <path d="M7.6,8h0.9l3.5,8h-1.1L10,14H6l-0.9,2H4L7.6,8z M8,9.1L6.4,13h3.2L8,9.1z"/>\n <path d="M16.6,9.8c-0.2,0.1-0.4,0.1-0.7,0.1c-0.2,0-0.4-0.1-0.6-0.2c-0.1-0.1-0.2-0.4-0.2-0.7 c-0.3,0.3-0.6,0.5-0.9,0.7c-0.3,0.1-0.7,0.2-1.1,0.2c-0.3,0-0.5,0-0.7-0.1c-0.2-0.1-0.4-0.2-0.6-0.3c-0.2-0.1-0.3-0.3-0.4-0.5 c-0.1-0.2-0.1-0.4-0.1-0.7c0-0.3,0.1-0.6,0.2-0.8c0.1-0.2,0.3-0.4,0.4-0.5C12,7,12.2,6.9,12.5,6.8c0.2-0.1,0.5-0.1,0.7-0.2 c0.3-0.1,0.5-0.1,0.7-0.1c0.2,0,0.4-0.1,0.6-0.1c0.2,0,0.3-0.1,0.4-0.2c0.1-0.1,0.2-0.2,0.2-0.4c0-1-1.1-1-1.3-1 c-0.4,0-1.4,0-1.4,1.2h-0.9c0-0.4,0.1-0.7,0.2-1c0.1-0.2,0.3-0.4,0.5-0.6c0.2-0.2,0.5-0.3,0.8-0.3C13.3,4,13.6,4,13.9,4 c0.3,0,0.5,0,0.8,0.1c0.3,0,0.5,0.1,0.7,0.2c0.2,0.1,0.4,0.3,0.5,0.5C16,5,16,5.2,16,5.6v2.9c0,0.2,0,0.4,0,0.5 c0,0.1,0.1,0.2,0.3,0.2c0.1,0,0.2,0,0.3,0V9.8z M15.2,6.9c-1.2,0.6-3.1,0.2-3.1,1.4c0,1.4,3.1,1,3.1-0.5V6.9z"/>\n </g>\n</svg>\n'}),H=new y({name:"ui-components:check",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3 jp-icon-selectable" fill="#616161">\n <path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/>\n </g>\n</svg>\n'}),B=new y({name:"ui-components:circle-empty",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>\n </g>\n</svg>\n'}),V=new y({name:"ui-components:circle",svgstr:'<svg viewBox="0 0 18 18" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <circle cx="9" cy="9" r="8"/>\n </g>\n</svg>\n'}),N=new y({name:"ui-components:clear",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <mask id="donutHole">\n <rect width="24" height="24" fill="white" />\n <circle cx="12" cy="12" r="8" fill="black"/>\n </mask>\n\n <g class="jp-icon3" fill="#616161">\n <rect height="18" width="2" x="11" y="3" transform="rotate(315, 12, 12)"/>\n <circle cx="12" cy="12" r="10" mask="url(#donutHole)"/>\n </g>\n</svg>\n'}),R=new y({name:"ui-components:close",svgstr:'<svg viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon-none jp-icon-selectable-inverse jp-icon3-hover" fill="none">\n <circle cx="12" cy="12" r="11"/>\n </g>\n\n <g class="jp-icon3 jp-icon-selectable jp-icon-accent2-hover" fill="#616161">\n <path d="M19 6.41L17.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"/>\n </g>\n\n <g class="jp-icon-none jp-icon-busy" fill="none">\n <circle cx="12" cy="12" r="7"/>\n </g>\n</svg>\n'}),P=new y({name:"ui-components:code-check",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" viewBox="0 0 24 24">\n <g class="jp-icon3 jp-icon-selectable" fill="#616161" shape-rendering="geometricPrecision">\n <path d="M6.59,3.41L2,8L6.59,12.6L8,11.18L4.82,8L8,4.82L6.59,3.41M12.41,3.41L11,4.82L14.18,8L11,11.18L12.41,12.6L17,8L12.41,3.41M21.59,11.59L13.5,19.68L9.83,16L8.42,17.41L13.5,22.5L23,13L21.59,11.59Z" />\n </g>\n</svg>\n'}),W=new y({name:"ui-components:code",svgstr:'<svg width="22" height="22" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg">\n\t<g class="jp-icon3" fill="#616161">\n\t\t<path d="M11.4 18.6L6.8 14L11.4 9.4L10 8L4 14L10 20L11.4 18.6ZM16.6 18.6L21.2 14L16.6 9.4L18 8L24 14L18 20L16.6 18.6V18.6Z"/>\n\t</g>\n</svg>\n'}),$=new y({name:"ui-components:collapse-all",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path\n d="M8 2c1 0 11 0 12 0s2 1 2 2c0 1 0 11 0 12s0 2-2 2C20 14 20 4 20 4S10 4 6 4c0-2 1-2 2-2z" />\n <path\n d="M18 8c0-1-1-2-2-2S5 6 4 6s-2 1-2 2c0 1 0 11 0 12s1 2 2 2c1 0 11 0 12 0s2-1 2-2c0-1 0-11 0-12zm-2 0v12H4V8z" />\n <path d="M6 13v2h8v-2z" />\n </g>\n</svg>\n'}),U=new y({name:"ui-components:console",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 200 200">\n <g class="jp-console-icon-background-color jp-icon-selectable" fill="#0288D1">\n <path d="M20 19.8h160v159.9H20z"/>\n </g>\n <g class="jp-console-icon-color jp-icon-selectable-inverse" fill="#fff">\n <path d="M105 127.3h40v12.8h-40zM51.1 77L74 99.9l-23.3 23.3 10.5 10.5 23.3-23.3L95 99.9 84.5 89.4 61.6 66.5z"/>\n </g>\n</svg>\n'}),q=new y({name:"ui-components:copy",svgstr:'<svg viewBox="0 0 18 18" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M11.9,1H3.2C2.4,1,1.7,1.7,1.7,2.5v10.2h1.5V2.5h8.7V1z M14.1,3.9h-8c-0.8,0-1.5,0.7-1.5,1.5v10.2c0,0.8,0.7,1.5,1.5,1.5h8 c0.8,0,1.5-0.7,1.5-1.5V5.4C15.5,4.6,14.9,3.9,14.1,3.9z M14.1,15.5h-8V5.4h8V15.5z"/>\n </g>\n</svg>\n'}),Z=new y({name:"ui-components:copyright",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24">\n <g class="jp-icon3" fill="#616161">\n <path d="M11.88,9.14c1.28,0.06,1.61,1.15,1.63,1.66h1.79c-0.08-1.98-1.49-3.19-3.45-3.19C9.64,7.61,8,9,8,12.14 c0,1.94,0.93,4.24,3.84,4.24c2.22,0,3.41-1.65,3.44-2.95h-1.79c-0.03,0.59-0.45,1.38-1.63,1.44C10.55,14.83,10,13.81,10,12.14 C10,9.25,11.28,9.16,11.88,9.14z M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z M12,20c-4.41,0-8-3.59-8-8 s3.59-8,8-8s8,3.59,8,8S16.41,20,12,20z"/>\n </g>\n</svg>\n'}),G=new y({name:"ui-components:cut",svgstr:'<svg viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path 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-1L9.64 7.64zM6 8c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm0 12c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm6-7.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5zM19 3l-6 6 2 2 7-7V3z"/>\n </g>\n</svg>\n'}),K=new y({name:"ui-components:delete",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16px" height="16px">\n <path d="M0 0h24v24H0z" fill="none" />\n <path class="jp-icon3" fill="#626262" d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z" />\n</svg>\n'}),Y=new y({name:"ui-components:download",svgstr:'<svg viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"/>\n </g>\n</svg>\n'}),J=new y({name:"ui-components:duplicate",svgstr:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path class="jp-icon3" fill-rule="evenodd" clip-rule="evenodd" d="M2.79998 0.875H8.89582C9.20061 0.875 9.44998 1.13914 9.44998 1.46198C9.44998 1.78482 9.20061 2.04896 8.89582 2.04896H3.35415C3.04936 2.04896 2.79998 2.3131 2.79998 2.63594V9.67969C2.79998 10.0025 2.55061 10.2667 2.24582 10.2667C1.94103 10.2667 1.69165 10.0025 1.69165 9.67969V2.04896C1.69165 1.40328 2.1904 0.875 2.79998 0.875ZM5.36665 11.9V4.55H11.0833V11.9H5.36665ZM4.14165 4.14167C4.14165 3.69063 4.50728 3.325 4.95832 3.325H11.4917C11.9427 3.325 12.3083 3.69063 12.3083 4.14167V12.3083C12.3083 12.7594 11.9427 13.125 11.4917 13.125H4.95832C4.50728 13.125 4.14165 12.7594 4.14165 12.3083V4.14167Z" fill="#616161"/>\n<path class="jp-icon3" d="M9.43574 8.26507H8.36431V9.3365C8.36431 9.45435 8.26788 9.55078 8.15002 9.55078C8.03217 9.55078 7.93574 9.45435 7.93574 9.3365V8.26507H6.86431C6.74645 8.26507 6.65002 8.16864 6.65002 8.05078C6.65002 7.93292 6.74645 7.8365 6.86431 7.8365H7.93574V6.76507C7.93574 6.64721 8.03217 6.55078 8.15002 6.55078C8.26788 6.55078 8.36431 6.64721 8.36431 6.76507V7.8365H9.43574C9.5536 7.8365 9.65002 7.93292 9.65002 8.05078C9.65002 8.16864 9.5536 8.26507 9.43574 8.26507Z" fill="#616161" stroke="#616161" stroke-width="0.5"/>\n</svg>\n'}),X=new y({name:"ui-components:edit",svgstr:'<svg viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/>\n </g>\n</svg>\n'}),Q=new y({name:"ui-components:ellipses",svgstr:'<svg viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\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'}),ee=new y({name:"ui-components:error",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n<g class="jp-icon3" fill="#616161"><circle cx="12" cy="19" r="2"/><path d="M10 3h4v12h-4z"/></g>\n<path fill="none" d="M0 0h24v24H0z"/>\n</svg>\n'}),te=new y({name:"ui-components:expand-all",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path\n d="M8 2c1 0 11 0 12 0s2 1 2 2c0 1 0 11 0 12s0 2-2 2C20 14 20 4 20 4S10 4 6 4c0-2 1-2 2-2z" />\n <path\n d="M18 8c0-1-1-2-2-2S5 6 4 6s-2 1-2 2c0 1 0 11 0 12s1 2 2 2c1 0 11 0 12 0s2-1 2-2c0-1 0-11 0-12zm-2 0v12H4V8z" />\n <path d="M11 10H9v3H6v2h3v3h2v-3h3v-2h-3z" />\n </g>\n</svg>\n'}),ne=new y({name:"ui-components:extension",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path d="M20.5 11H19V7c0-1.1-.9-2-2-2h-4V3.5C13 2.12 11.88 1 10.5 1S8 2.12 8 3.5V5H4c-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.7 1.49 0 2.7 1.21 2.7 2.7V22H17c1.1 0 2-.9 2-2v-4h1.5c1.38 0 2.5-1.12 2.5-2.5S21.88 11 20.5 11z"/>\n </g>\n</svg>\n'}),ie=new y({name:"ui-components:fast-forward",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path d="M4 18l8.5-6L4 6v12zm9-12v12l8.5-6L13 6z"/>\n </g>\n</svg>\n'}),se=new y({name:"ui-components:file",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <path class="jp-icon3 jp-icon-selectable" fill="#616161" d="M19.3 8.2l-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.2zm-5.8-3.3l3.4 3.6h-3.4V4.9zm3.9 12.7H4.7c-.1 0-.2 0-.2-.2V4.7c0-.2.1-.3.2-.3h7.2v4.4s0 .8.3 1.1c.3.3 1.1.3 1.1.3h4.3v7.2s-.1.2-.2.2z"/>\n</svg>\n'}),re=new y({name:"ui-components:file-upload",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path d="M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"/>\n </g>\n</svg>\n'}),oe=new y({name:"ui-components:filter-dot",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#FFF">\n <path d="M14,12V19.88C14.04,20.18 13.94,20.5 13.71,20.71C13.32,21.1 12.69,21.1 12.3,20.71L10.29,18.7C10.06,18.47 9.96,18.16 10,17.87V12H9.97L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L14.03,12H14Z" />\n </g>\n <g class="jp-icon-dot" fill="#FFF">\n <circle cx="18" cy="17" r="3"></circle>\n </g>\n</svg>\n'}),ae=new y({name:"ui-components:filter",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#FFF">\n <path d="M14,12V19.88C14.04,20.18 13.94,20.5 13.71,20.71C13.32,21.1 12.69,21.1 12.3,20.71L10.29,18.7C10.06,18.47 9.96,18.16 10,17.87V12H9.97L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L14.03,12H14Z" />\n </g>\n</svg>\n'}),le=new y({name:"ui-components:filter-list",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"/>\n </g>\n</svg>\n'}),ce=new y({name:"ui-components:folder-favorite",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000">\n <path d="M0 0h24v24H0V0z" fill="none"/><path class="jp-icon3 jp-icon-selectable" 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-2zm-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.24.78 3.33z"/>\n</svg>\n'}),de=new y({name:"ui-components:folder",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path class="jp-icon3 jp-icon-selectable" 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-8l-2-2z"/>\n</svg>\n'}),he=new y({name:"ui-components:home",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000">\n <path d="M0 0h24v24H0z" fill="none"/><path class="jp-icon3 jp-icon-selectable" fill="#616161" d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>\n</svg>\n'}),ue=new y({name:"ui-components:html5",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 512 512">\n <path class="jp-icon0 jp-icon-selectable" 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"/>\n <path class="jp-icon-selectable" fill="#e44d26" d="M107.6 471l-33-370.4h362.8l-33 370.2L255.7 512"/>\n <path class="jp-icon-selectable" fill="#f16529" d="M256 480.5V131h148.3L376 447"/>\n <path class="jp-icon-selectable-inverse" 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"/>\n <path class="jp-icon-selectable-inverse" 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"/>\n</svg>\n'}),pe=new y({name:"ui-components:image",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <path class="jp-icon-brand4 jp-icon-selectable-inverse" fill="#FFF" d="M2.2 2.2h17.5v17.5H2.2z"/>\n <path class="jp-icon-brand0 jp-icon-selectable" fill="#3F51B5" d="M2.2 2.2v17.5h17.5l.1-17.5H2.2zm12.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.2zM4.4 17.6l3.3-8.8 3.3 6.6 2.2-3.2 4.4 5.4H4.4z"/>\n</svg>\n'}),me=new y({name:"ui-components:info",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 50.978 50.978">\n\t<g class="jp-icon3" fill="#616161">\n\t\t<path d="M43.52,7.458C38.711,2.648,32.307,0,25.489,0C18.67,0,12.266,2.648,7.458,7.458\n\t\t\tc-9.943,9.941-9.943,26.119,0,36.062c4.809,4.809,11.212,7.456,18.031,7.458c0,0,0.001,0,0.002,0\n\t\t\tc6.816,0,13.221-2.648,18.029-7.458c4.809-4.809,7.457-11.212,7.457-18.03C50.977,18.67,48.328,12.266,43.52,7.458z\n\t\t\t M42.106,42.105c-4.432,4.431-10.332,6.872-16.615,6.872h-0.002c-6.285-0.001-12.187-2.441-16.617-6.872\n\t\t\tc-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\n\t\t\tc4.431,4.431,6.871,10.332,6.871,16.617C48.977,31.772,46.536,37.675,42.106,42.105z"/>\n\t\t<path d="M23.578,32.218c-0.023-1.734,0.143-3.059,0.496-3.972c0.353-0.913,1.11-1.997,2.272-3.253\n\t\t\tc0.468-0.536,0.923-1.062,1.367-1.575c0.626-0.753,1.104-1.478,1.436-2.175c0.331-0.707,0.495-1.541,0.495-2.5\n\t\t\tc0-1.096-0.26-2.088-0.779-2.979c-0.565-0.879-1.501-1.336-2.806-1.369c-1.802,0.057-2.985,0.667-3.55,1.832\n\t\t\tc-0.301,0.535-0.503,1.141-0.607,1.814c-0.139,0.707-0.207,1.432-0.207,2.174h-2.937c-0.091-2.208,0.407-4.114,1.493-5.719\n\t\t\tc1.062-1.64,2.855-2.481,5.378-2.527c2.16,0.023,3.874,0.608,5.141,1.758c1.278,1.16,1.929,2.764,1.95,4.811\n\t\t\tc0,1.142-0.137,2.111-0.41,2.911c-0.309,0.845-0.731,1.593-1.268,2.243c-0.492,0.65-1.068,1.318-1.73,2.002\n\t\t\tc-0.65,0.697-1.313,1.479-1.987,2.346c-0.239,0.377-0.429,0.777-0.565,1.199c-0.16,0.959-0.217,1.951-0.171,2.979\n\t\t\tC26.589,32.218,23.578,32.218,23.578,32.218z M23.578,38.22v-3.484h3.076v3.484H23.578z"/>\n\t</g>\n</svg>\n'}),ge=new y({name:"ui-components:inspector",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path class="jp-inspector-icon-color jp-icon-selectable" 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-2zm-5 14H4v-4h11v4zm0-5H4V9h11v4zm5 5h-4V9h4v9z"/>\n</svg>\n'}),ve=new y({name:"ui-components:json",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <g class="jp-json-icon-color jp-icon-selectable" fill="#F9A825">\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 1v1.8zM1.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-1v-1.9z"/>\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'}),fe=new y({name:"ui-components:julia",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 325 300">\n <g class="jp-brand0 jp-icon-selectable" fill="#cb3c33">\n <path d="M 150.898438 225 C 150.898438 266.421875 117.320312 300 75.898438 300 C 34.476562 300 0.898438 266.421875 0.898438 225 C 0.898438 183.578125 34.476562 150 75.898438 150 C 117.320312 150 150.898438 183.578125 150.898438 225"/>\n </g>\n <g class="jp-brand0 jp-icon-selectable" fill="#389826">\n <path d="M 237.5 75 C 237.5 116.421875 203.921875 150 162.5 150 C 121.078125 150 87.5 116.421875 87.5 75 C 87.5 33.578125 121.078125 0 162.5 0 C 203.921875 0 237.5 33.578125 237.5 75"/>\n </g>\n <g class="jp-brand0 jp-icon-selectable" fill="#9558b2">\n <path d="M 324.101562 225 C 324.101562 266.421875 290.523438 300 249.101562 300 C 207.679688 300 174.101562 266.421875 174.101562 225 C 174.101562 183.578125 207.679688 150 249.101562 150 C 290.523438 150 324.101562 183.578125 324.101562 225"/>\n </g>\n</svg>\n'}),we=new y({name:"ui-components:jupyter-favicon",svgstr:'<svg width="152" height="165" viewBox="0 0 152 165" version="1.1" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-jupyter-icon-color" fill="#F37726">\n <path transform="translate(0.078947, 110.582927)" d="M75.9422842,29.5804561 C43.3023947,29.5804561 14.7967832,17.6534634 0,0 C5.51083211,15.8406829 15.7815389,29.5667732 29.3904947,39.2784171 C42.9997,48.9898537 59.2737,54.2067805 75.9605789,54.2067805 C92.6474579,54.2067805 108.921458,48.9898537 122.530663,39.2784171 C136.139453,29.5667732 146.410284,15.8406829 151.921158,0 C137.087868,17.6534634 108.582589,29.5804561 75.9422842,29.5804561 L75.9422842,29.5804561 Z" />\n <path transform="translate(0.037368, 0.704878)" d="M75.9784579,24.6264073 C108.618763,24.6264073 137.124458,36.5534415 151.921158,54.2067805 C146.410284,38.366222 136.139453,24.6401317 122.530663,14.9284878 C108.921458,5.2168439 92.6474579,0 75.9605789,0 C59.2737,0 42.9997,5.2168439 29.3904947,14.9284878 C15.7815389,24.6401317 5.51083211,38.366222 0,54.2067805 C14.8330816,36.5899293 43.3385684,24.6264073 75.9784579,24.6264073 L75.9784579,24.6264073 Z" />\n </g>\n</svg>\n'}),ye=new y({name:"ui-components:jupyter",svgstr:'<svg width="39" height="51" viewBox="0 0 39 51" xmlns="http://www.w3.org/2000/svg">\n <g transform="translate(-1638 -2281)">\n <g class="jp-jupyter-icon-color" fill="#F37726">\n <path transform="translate(1639.74 2311.98)" d="M 18.2646 7.13411C 10.4145 7.13411 3.55872 4.2576 0 0C 1.32539 3.8204 3.79556 7.13081 7.0686 9.47303C 10.3417 11.8152 14.2557 13.0734 18.269 13.0734C 22.2823 13.0734 26.1963 11.8152 29.4694 9.47303C 32.7424 7.13081 35.2126 3.8204 36.538 0C 32.9705 4.2576 26.1148 7.13411 18.2646 7.13411Z"/>\n <path transform="translate(1639.73 2285.48)" d="M 18.2733 5.93931C 26.1235 5.93931 32.9793 8.81583 36.538 13.0734C 35.2126 9.25303 32.7424 5.94262 29.4694 3.6004C 26.1963 1.25818 22.2823 0 18.269 0C 14.2557 0 10.3417 1.25818 7.0686 3.6004C 3.79556 5.94262 1.32539 9.25303 0 13.0734C 3.56745 8.82463 10.4232 5.93931 18.2733 5.93931Z"/>\n </g>\n <g class="jp-icon3" fill="#616161">\n <path transform="translate(1669.3 2281.31)" d="M 5.89353 2.844C 5.91889 3.43165 5.77085 4.01367 5.46815 4.51645C 5.16545 5.01922 4.72168 5.42015 4.19299 5.66851C 3.6643 5.91688 3.07444 6.00151 2.49805 5.91171C 1.92166 5.8219 1.38463 5.5617 0.954898 5.16401C 0.52517 4.76633 0.222056 4.24903 0.0839037 3.67757C -0.0542483 3.10611 -0.02123 2.50617 0.178781 1.95364C 0.378793 1.4011 0.736809 0.920817 1.20754 0.573538C 1.67826 0.226259 2.24055 0.0275919 2.82326 0.00267229C 3.60389 -0.0307115 4.36573 0.249789 4.94142 0.782551C 5.51711 1.31531 5.85956 2.05676 5.89353 2.844Z"/>\n <path transform="translate(1639.8 2323.81)" d="M 7.42789 3.58338C 7.46008 4.3243 7.27355 5.05819 6.89193 5.69213C 6.51031 6.32607 5.95075 6.83156 5.28411 7.1446C 4.61747 7.45763 3.87371 7.56414 3.14702 7.45063C 2.42032 7.33712 1.74336 7.0087 1.20184 6.50695C 0.660328 6.0052 0.27861 5.35268 0.105017 4.63202C -0.0685757 3.91135 -0.0262361 3.15494 0.226675 2.45856C 0.479587 1.76217 0.931697 1.15713 1.52576 0.720033C 2.11983 0.282935 2.82914 0.0334395 3.56389 0.00313344C 4.54667 -0.0374033 5.50529 0.316706 6.22961 0.987835C 6.95393 1.65896 7.38484 2.59235 7.42789 3.58338L 7.42789 3.58338Z"/>\n <path transform="translate(1638.36 2286.06)" d="M 2.27471 4.39629C 1.84363 4.41508 1.41671 4.30445 1.04799 4.07843C 0.679268 3.8524 0.385328 3.52114 0.203371 3.12656C 0.0214136 2.73198 -0.0403798 2.29183 0.0258116 1.86181C 0.0920031 1.4318 0.283204 1.03126 0.575213 0.710883C 0.867222 0.39051 1.24691 0.164708 1.66622 0.0620592C 2.08553 -0.0405897 2.52561 -0.0154714 2.93076 0.134235C 3.33591 0.283941 3.68792 0.551505 3.94222 0.90306C 4.19652 1.25462 4.34169 1.67436 4.35935 2.10916C 4.38299 2.69107 4.17678 3.25869 3.78597 3.68746C 3.39516 4.11624 2.85166 4.37116 2.27471 4.39629L 2.27471 4.39629Z"/>\n </g>\n </g>>\n</svg>\n'}),xe=new y({name:"ui-components:jupyterlab-wordmark",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="200" viewBox="0 0 1860.8 475">\n <g class="jp-icon2" fill="#4E4E4E" transform="translate(480.136401, 64.271493)">\n <g transform="translate(0.000000, 58.875566)">\n <g transform="translate(0.087603, 0.140294)">\n <path d="M-426.9,169.8c0,48.7-3.7,64.7-13.6,76.4c-10.8,10-25,15.5-39.7,15.5l3.7,29 c22.8,0.3,44.8-7.9,61.9-23.1c17.8-18.5,24-44.1,24-83.3V0H-427v170.1L-426.9,169.8L-426.9,169.8z"/>\n </g>\n </g>\n <g transform="translate(155.045296, 56.837104)">\n <g transform="translate(1.562453, 1.799842)">\n <path d="M-312,148c0,21,0,39.5,1.7,55.4h-31.8l-2.1-33.3h-0.8c-6.7,11.6-16.4,21.3-28,27.9 c-11.6,6.6-24.8,10-38.2,9.8c-31.4,0-69-17.7-69-89V0h36.4v112.7c0,38.7,11.6,64.7,44.6,64.7c10.3-0.2,20.4-3.5,28.9-9.4 c8.5-5.9,15.1-14.3,18.9-23.9c2.2-6.1,3.3-12.5,3.3-18.9V0.2h36.4V148H-312L-312,148z"/>\n </g>\n </g>\n <g transform="translate(390.013322, 53.479638)">\n <g transform="translate(1.706458, 0.231425)">\n <path d="M-478.6,71.4c0-26-0.8-47-1.7-66.7h32.7l1.7,34.8h0.8c7.1-12.5,17.5-22.8,30.1-29.7 c12.5-7,26.7-10.3,41-9.8c48.3,0,84.7,41.7,84.7,103.3c0,73.1-43.7,109.2-91,109.2c-12.1,0.5-24.2-2.2-35-7.8 c-10.8-5.6-19.9-13.9-26.6-24.2h-0.8V291h-36v-220L-478.6,71.4L-478.6,71.4z M-442.6,125.6c0.1,5.1,0.6,10.1,1.7,15.1 c3,12.3,9.9,23.3,19.8,31.1c9.9,7.8,22.1,12.1,34.7,12.1c38.5,0,60.7-31.9,60.7-78.5c0-40.7-21.1-75.6-59.5-75.6 c-12.9,0.4-25.3,5.1-35.3,13.4c-9.9,8.3-16.9,19.7-19.6,32.4c-1.5,4.9-2.3,10-2.5,15.1V125.6L-442.6,125.6L-442.6,125.6z"/>\n </g>\n </g>\n <g transform="translate(606.740726, 56.837104)">\n <g transform="translate(0.751226, 1.989299)">\n <path d="M-440.8,0l43.7,120.1c4.5,13.4,9.5,29.4,12.8,41.7h0.8c3.7-12.2,7.9-27.7,12.8-42.4 l39.7-119.2h38.5L-346.9,145c-26,69.7-43.7,105.4-68.6,127.2c-12.5,11.7-27.9,20-44.6,23.9l-9.1-31.1 c11.7-3.9,22.5-10.1,31.8-18.1c13.2-11.1,23.7-25.2,30.6-41.2c1.5-2.8,2.5-5.7,2.9-8.8c-0.3-3.3-1.2-6.6-2.5-9.7L-480.2,0.1 h39.7L-440.8,0L-440.8,0z"/>\n </g>\n </g>\n <g transform="translate(822.748104, 0.000000)">\n <g transform="translate(1.464050, 0.378914)">\n <path d="M-413.7,0v58.3h52v28.2h-52V196c0,25,7,39.5,27.3,39.5c7.1,0.1,14.2-0.7,21.1-2.5 l1.7,27.7c-10.3,3.7-21.3,5.4-32.2,5c-7.3,0.4-14.6-0.7-21.3-3.4c-6.8-2.7-12.9-6.8-17.9-12.1c-10.3-10.9-14.1-29-14.1-52.9 V86.5h-31V58.3h31V9.6L-413.7,0L-413.7,0z"/>\n </g>\n </g>\n <g transform="translate(974.433286, 53.479638)">\n <g transform="translate(0.990034, 0.610339)">\n <path d="M-445.8,113c0.8,50,32.2,70.6,68.6,70.6c19,0.6,37.9-3,55.3-10.5l6.2,26.4 c-20.9,8.9-43.5,13.1-66.2,12.6c-61.5,0-98.3-41.2-98.3-102.5C-480.2,48.2-444.7,0-386.5,0c65.2,0,82.7,58.3,82.7,95.7 c-0.1,5.8-0.5,11.5-1.2,17.2h-140.6H-445.8L-445.8,113z M-339.2,86.6c0.4-23.5-9.5-60.1-50.4-60.1 c-36.8,0-52.8,34.4-55.7,60.1H-339.2L-339.2,86.6L-339.2,86.6z"/>\n </g>\n </g>\n <g transform="translate(1201.961058, 53.479638)">\n <g transform="translate(1.179640, 0.705068)">\n <path d="M-478.6,68c0-23.9-0.4-44.5-1.7-63.4h31.8l1.2,39.9h1.7c9.1-27.3,31-44.5,55.3-44.5 c3.5-0.1,7,0.4,10.3,1.2v34.8c-4.1-0.9-8.2-1.3-12.4-1.2c-25.6,0-43.7,19.7-48.7,47.4c-1,5.7-1.6,11.5-1.7,17.2v108.3h-36V68 L-478.6,68z"/>\n </g>\n </g>\n </g>\n\n <g class="jp-icon-warn0" fill="#F37726">\n <path d="M1352.3,326.2h37V28h-37V326.2z M1604.8,326.2c-2.5-13.9-3.4-31.1-3.4-48.7v-76 c0-40.7-15.1-83.1-77.3-83.1c-25.6,0-50,7.1-66.8,18.1l8.4,24.4c14.3-9.2,34-15.1,53-15.1c41.6,0,46.2,30.2,46.2,47v4.2 c-78.6-0.4-122.3,26.5-122.3,75.6c0,29.4,21,58.4,62.2,58.4c29,0,50.9-14.3,62.2-30.2h1.3l2.9,25.6H1604.8z M1565.7,257.7 c0,3.8-0.8,8-2.1,11.8c-5.9,17.2-22.7,34-49.2,34c-18.9,0-34.9-11.3-34.9-35.3c0-39.5,45.8-46.6,86.2-45.8V257.7z M1698.5,326.2 l1.7-33.6h1.3c15.1,26.9,38.7,38.2,68.1,38.2c45.4,0,91.2-36.1,91.2-108.8c0.4-61.7-35.3-103.7-85.7-103.7 c-32.8,0-56.3,14.7-69.3,37.4h-0.8V28h-36.6v245.7c0,18.1-0.8,38.6-1.7,52.5H1698.5z M1704.8,208.2c0-5.9,1.3-10.9,2.1-15.1 c7.6-28.1,31.1-45.4,56.3-45.4c39.5,0,60.5,34.9,60.5,75.6c0,46.6-23.1,78.1-61.8,78.1c-26.9,0-48.3-17.6-55.5-43.3 c-0.8-4.2-1.7-8.8-1.7-13.4V208.2z"/>\n </g>\n</svg>\n'}),be=new y({name:"ui-components:kernel",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path class="jp-icon2" fill="#616161" d="M15 9H9v6h6V9zm-2 4h-2v-2h2v2zm8-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-2h2zm-4 6H7V7h10v10z"/>\n</svg>\n'}),Ce=new y({name:"ui-components:keyboard",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path class="jp-icon3 jp-icon-selectable" 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-2zm-9 3h2v2h-2V8zm0 3h2v2h-2v-2zM8 8h2v2H8V8zm0 3h2v2H8v-2zm-1 2H5v-2h2v2zm0-3H5V8h2v2zm9 7H8v-2h8v2zm0-4h-2v-2h2v2zm0-3h-2V8h2v2zm3 3h-2v-2h2v2zm0-3h-2V8h2v2z"/>\n</svg>\n'}),_e=new y({name:"ui-components:launch",svgstr:'<svg viewBox="0 0 32 32" width="32" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3 jp-icon-selectable" fill="#616161">\n <path d="M26,28H6a2.0027,2.0027,0,0,1-2-2V6A2.0027,2.0027,0,0,1,6,4H16V6H6V26H26V16h2V26A2.0027,2.0027,0,0,1,26,28Z"/>\n <polygon points="20 2 20 4 26.586 4 18 12.586 19.414 14 28 5.414 28 12 30 12 30 2 20 2"/>\n </g>\n</svg>\n'}),Se=new y({name:"ui-components:launcher",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path class="jp-icon3 jp-icon-selectable" fill="#616161" d="M19 19H5V5h7V3H5a2 2 0 00-2 2v14a2 2 0 002 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/>\n</svg>\n'}),je=new y({name:"ui-components:line-form",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="white" d="M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z"/>\n</svg>\n'}),Ie=new y({name:"ui-components:link",svgstr:'<svg viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path 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.1zM8 13h8v-2H8v2zm9-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-5z"/>\n </g>\n</svg>\n'}),Me=new y({name:"ui-components:list",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path class="jp-icon2 jp-icon-selectable" fill="#616161" d="M19 5v14H5V5h14m1.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-.9zM11 7h6v2h-6V7zm0 4h6v2h-6v-2zm0 4h6v2h-6zM7 7h2v2H7zm0 4h2v2H7zm0 4h2v2H7z"/>\n</svg>\n'}),Le=new y({name:"ui-components:markdown",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <path class="jp-icon-contrast0 jp-icon-selectable" 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.4l-.3-4.2z"/>\n</svg>\n'}),ke=new y({name:"ui-components:move-down",svgstr:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path class="jp-icon3" d="M12.471 7.52899C12.7632 7.23684 12.7632 6.76316 12.471 6.47101V6.47101C12.179 6.17905 11.7057 6.17884 11.4135 6.47054L7.75 10.1275V1.75C7.75 1.33579 7.41421 1 7 1V1C6.58579 1 6.25 1.33579 6.25 1.75V10.1275L2.59726 6.46822C2.30338 6.17381 1.82641 6.17359 1.53226 6.46774V6.46774C1.2383 6.7617 1.2383 7.2383 1.53226 7.53226L6.29289 12.2929C6.68342 12.6834 7.31658 12.6834 7.70711 12.2929L12.471 7.52899Z" fill="#616161"/>\n</svg>\n'}),Ee=new y({name:"ui-components:move-up",svgstr:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path class="jp-icon3" d="M1.52899 6.47101C1.23684 6.76316 1.23684 7.23684 1.52899 7.52899V7.52899C1.82095 7.82095 2.29426 7.82116 2.58649 7.52946L6.25 3.8725V12.25C6.25 12.6642 6.58579 13 7 13V13C7.41421 13 7.75 12.6642 7.75 12.25V3.8725L11.4027 7.53178C11.6966 7.82619 12.1736 7.82641 12.4677 7.53226V7.53226C12.7617 7.2383 12.7617 6.7617 12.4677 6.46774L7.70711 1.70711C7.31658 1.31658 6.68342 1.31658 6.29289 1.70711L1.52899 6.47101Z" fill="#616161"/>\n</svg>\n'}),Te=new y({name:"ui-components:new-folder",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path 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-2zm-1 8h-3v3h-2v-3h-3v-2h3V9h2v3h3v2z"/>\n </g>\n</svg>\n'}),Ae=new y({name:"ui-components:not-trusted",svgstr:'<svg fill="none" xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 25 25">\n <path class="jp-icon2" stroke="#333333" stroke-width="2" transform="translate(3 3)" d="M1.86094 11.4409C0.826448 8.77027 0.863779 6.05764 1.24907 4.19932C2.48206 3.93347 4.08068 3.40347 5.60102 2.8449C7.23549 2.2444 8.85666 1.5815 9.9876 1.09539C11.0597 1.58341 12.6094 2.2444 14.218 2.84339C15.7503 3.41394 17.3995 3.95258 18.7539 4.21385C19.1364 6.07177 19.1709 8.77722 18.139 11.4409C17.0303 14.3032 14.6668 17.1844 9.99999 18.9354C5.33319 17.1844 2.96968 14.3032 1.86094 11.4409Z"/>\n <path class="jp-icon2" stroke="#333333" stroke-width="2" transform="translate(9.31592 9.32031)" d="M7.36842 0L0 7.36479"/>\n <path class="jp-icon2" stroke="#333333" stroke-width="2" transform="translate(9.31592 16.6836) scale(1 -1)" d="M7.36842 0L0 7.36479"/>\n</svg>\n'}),Fe=new y({name:"ui-components:notebook",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <g class="jp-notebook-icon-color jp-icon-selectable" fill="#EF6C00">\n <path d="M18.7 3.3v15.4H3.3V3.3h15.4m1.5-1.5H1.8v18.3h18.3l.1-18.3z"/>\n <path d="M16.5 16.5l-5.4-4.3-5.6 4.3v-11h11z"/>\n </g>\n</svg>\n'}),ze=new y({name:"ui-components:numbering",svgstr:'<svg width="22" height="22" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg">\n\t<g class="jp-icon3" fill="#616161">\n\t\t<path d="M4 19H6V19.5H5V20.5H6V21H4V22H7V18H4V19ZM5 10H6V6H4V7H5V10ZM4 13H5.8L4 15.1V16H7V15H5.2L7 12.9V12H4V13ZM9 7V9H23V7H9ZM9 21H23V19H9V21ZM9 15H23V13H9V15Z"/>\n\t</g>\n</svg>\n'}),Oe=new y({name:"ui-components:offline-bolt",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16">\n <g class="jp-icon3" fill="#616161">\n <path 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.02zM11.48 20v-6.26H8L13 4v6.26h3.35L11.48 20z"/>\n </g>\n</svg>\n'}),De=new y({name:"ui-components:palette",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path d="M18 13V20H4V6H9.02C9.07 5.29 9.24 4.62 9.5 4H4C2.9 4 2 4.9 2 6V20C2 21.1 2.9 22 4 22H18C19.1 22 20 21.1 20 20V15L18 13ZM19.3 8.89C19.74 8.19 20 7.38 20 6.5C20 4.01 17.99 2 15.5 2C13.01 2 11 4.01 11 6.5C11 8.99 13.01 11 15.49 11C16.37 11 17.19 10.74 17.88 10.3L21 13.42L22.42 12L19.3 8.89ZM15.5 9C14.12 9 13 7.88 13 6.5C13 5.12 14.12 4 15.5 4C16.88 4 18 5.12 18 6.5C18 7.88 16.88 9 15.5 9Z"/>\n <path fill-rule="evenodd" clip-rule="evenodd" d="M4 6H9.01894C9.00639 6.16502 9 6.33176 9 6.5C9 8.81577 10.211 10.8487 12.0343 12H9V14H16V12.9811C16.5703 12.9377 17.12 12.8207 17.6396 12.6396L18 13V20H4V6ZM8 8H6V10H8V8ZM6 12H8V14H6V12ZM8 16H6V18H8V16ZM9 16H16V18H9V16Z"/>\n </g>\n</svg>\n'}),He=new y({name:"ui-components:paste",svgstr:'<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 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-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"/>\n </g>\n</svg>\n'}),Be=new y({name:"ui-components:pdf",svgstr:'<svg\n xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22" width="16">\n <path transform="rotate(45)" class="jp-icon-selectable" fill="#FF2A2A"\n d="m 22.344369,-3.0163642 h 5.638604 v 1.5792433 h -3.549227 v 1.50869299 h 3.337576 V 1.6508154 h -3.337576 v 3.4352613 h -2.089377 z m -7.136444,1.5792433 v 4.9439543 h 0.74892 q 1.280761,0 1.953703,-0.6349535 0.678369,-0.6349535 0.678369,-1.8451641 0,-1.20478355 -0.672942,-1.83431011 -0.672942,-0.62952659 -1.95913,-0.62952659 z m -2.089377,-1.5792433 h 2.203343 q 1.845164,0 2.746039,0.2659207 0.906301,0.2604937 1.552108,0.8900203 0.56983,0.5481223 0.846605,1.26448006 0.276774,0.71635781 0.276774,1.62265894 0,0.9171551 -0.276774,1.6389399 -0.276775,0.7163578 -0.846605,1.26448 -0.651234,0.6295266 -1.562962,0.8954473 -0.911728,0.2604937 -2.735185,0.2604937 h -2.203343 z m -8.1458565,0 h 3.467823 q 1.5466816,0 2.3715785,0.689223 0.830324,0.6837961 0.830324,1.95370314 0,1.27533397 -0.830324,1.96455706 Q 9.9871961,2.274915 8.4405145,2.274915 H 7.0620684 V 5.0860767 H 4.9726915 Z m 2.0893769,1.5141199 v 2.26303943 h 1.155941 q 0.6078188,0 0.9388629,-0.29305547 0.3310441,-0.29848241 0.3310441,-0.84117772 0,-0.54269531 -0.3310441,-0.83575074 -0.3310441,-0.2930555 -0.9388629,-0.2930555 z"\n/>\n</svg>\n'}),Ve=new y({name:"ui-components:python",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="-10 -10 131.16136169433594 132.38899993896484">\n <path class="jp-icon-selectable" fill="#306998" d="M 54.918785,9.1927421e-4 C 50.335132,0.02221727 45.957846,0.41313697 42.106285,1.0946693 30.760069,3.0991731 28.700036,7.2947714 28.700035,15.032169 v 10.21875 h 26.8125 v 3.40625 h -26.8125 -10.0625 c -7.792459,0 -14.6157588,4.683717 -16.7499998,13.59375 -2.46181998,10.212966 -2.57101508,16.586023 0,27.25 1.9059283,7.937852 6.4575432,13.593748 14.2499998,13.59375 h 9.21875 v -12.25 c 0,-8.849902 7.657144,-16.656248 16.75,-16.65625 h 26.78125 c 7.454951,0 13.406253,-6.138164 13.40625,-13.625 v -25.53125 c 0,-7.2663386 -6.12998,-12.7247771 -13.40625,-13.9374997 C 64.281548,0.32794397 59.502438,-0.02037903 54.918785,9.1927421e-4 Z m -14.5,8.21875012579 c 2.769547,0 5.03125,2.2986456 5.03125,5.1249996 -2e-6,2.816336 -2.261703,5.09375 -5.03125,5.09375 -2.779476,-1e-6 -5.03125,-2.277415 -5.03125,-5.09375 -10e-7,-2.826353 2.251774,-5.1249996 5.03125,-5.1249996 z"/>\n <path class="jp-icon-selectable" fill="#ffd43b" d="m 85.637535,28.657169 v 11.90625 c 0,9.230755 -7.825895,16.999999 -16.75,17 h -26.78125 c -7.335833,0 -13.406249,6.278483 -13.40625,13.625 v 25.531247 c 0,7.266344 6.318588,11.540324 13.40625,13.625004 8.487331,2.49561 16.626237,2.94663 26.78125,0 6.750155,-1.95439 13.406253,-5.88761 13.40625,-13.625004 V 86.500919 h -26.78125 v -3.40625 h 26.78125 13.406254 c 7.792461,0 10.696251,-5.435408 13.406241,-13.59375 2.79933,-8.398886 2.68022,-16.475776 0,-27.25 -1.92578,-7.757441 -5.60387,-13.59375 -13.406241,-13.59375 z m -15.0625,64.65625 c 2.779478,3e-6 5.03125,2.277417 5.03125,5.093747 -2e-6,2.826354 -2.251775,5.125004 -5.03125,5.125004 -2.76955,0 -5.03125,-2.29865 -5.03125,-5.125004 2e-6,-2.81633 2.261697,-5.093747 5.03125,-5.093747 z"/>\n</svg>\n'}),Ne=new y({name:"ui-components:r-kernel",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <path class="jp-icon-contrast3 jp-icon-selectable" 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.4V2.5zm3.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.1v-.1z"/>\n</svg>\n'}),Re=new y({name:"ui-components:react",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="150 150 541.9 295.3">\n <g class="jp-icon-brand2 jp-icon-selectable" fill="#61DAFB">\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.3zm-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.9zm-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.9zm32.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.1zM421.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 32zm-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 24 4.7 8 9.5 15.8 14.4 23.4zM420.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-32zm-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.9zm-90.5 125.2c-35.4-15.1-58.3-34.9-58.3-50.6 0-15.7 22.9-35.6 58.3-50.6 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-10.2zM310 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.7zm237.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.1zm38.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.6zM320.8 78.4z"/>\n <circle cx="420.9" cy="296.5" r="45.7"/>\n </g>\n</svg>\n'}),Pe=new y({name:"ui-components:redo",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="16">\n <g class="jp-icon3" fill="#616161">\n <path d="M0 0h24v24H0z" fill="none"/><path 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 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/>\n </g>\n</svg>\n'}),We=new y({name:"ui-components:refresh",svgstr:g}),$e=new y({name:"ui-components:regex",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 20 20">\n <g class="jp-icon2" fill="#414141">\n <rect x="2" y="2" width="16" height="16"/>\n </g>\n\n <g class="jp-icon-accent2" fill="#FFF">\n <circle class="st2" cx="5.5" cy="14.5" r="1.5"/>\n <rect x="12" y="4" class="st2" width="1" height="8"/>\n <rect x="8.5" y="7.5" transform="matrix(0.866 -0.5 0.5 0.866 -2.3255 7.3219)" class="st2" width="8" height="1"/>\n <rect x="12" y="4" transform="matrix(0.5 -0.866 0.866 0.5 -0.6779 14.8252)" class="st2" width="1" height="8"/>\n </g>\n</svg>\n'}),Ue=new y({name:"ui-components:run",svgstr:'<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M8 5v14l11-7z"/>\n </g>\n</svg>\n'}),qe=new y({name:"ui-components:running",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 512 512">\n <g class="jp-icon3" fill="#616161">\n <path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm96 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 16v160z"/>\n </g>\n</svg>\n'}),Ze=new y({name:"ui-components:save",svgstr:'<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z"/>\n </g>\n</svg>\n'}),Ge=new y({name:"ui-components:search",svgstr:'<svg viewBox="0 0 18 18" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M12.1,10.9h-0.7l-0.2-0.2c0.8-0.9,1.3-2.2,1.3-3.5c0-3-2.4-5.4-5.4-5.4S1.8,4.2,1.8,7.1s2.4,5.4,5.4,5.4 c1.3,0,2.5-0.5,3.5-1.3l0.2,0.2v0.7l4.1,4.1l1.2-1.2L12.1,10.9z M7.1,10.9c-2.1,0-3.7-1.7-3.7-3.7s1.7-3.7,3.7-3.7s3.7,1.7,3.7,3.7 S9.2,10.9,7.1,10.9z"/>\n </g>\n</svg>\n'}),Ke=new y({name:"ui-components:settings",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path class="jp-icon3 jp-icon-selectable" 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.488.488 0 0014 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-.64l-2.11-1.65zM12 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.5z"/>\n</svg>\n'}),Ye=new y({name:"ui-components:share",svgstr:'<svg width="16" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M 18 2 C 16.35499 2 15 3.3549904 15 5 C 15 5.1909529 15.021791 5.3771224 15.056641 5.5585938 L 7.921875 9.7207031 C 7.3985399 9.2778539 6.7320771 9 6 9 C 4.3549904 9 3 10.35499 3 12 C 3 13.64501 4.3549904 15 6 15 C 6.7320771 15 7.3985399 14.722146 7.921875 14.279297 L 15.056641 18.439453 C 15.021555 18.621514 15 18.808386 15 19 C 15 20.64501 16.35499 22 18 22 C 19.64501 22 21 20.64501 21 19 C 21 17.35499 19.64501 16 18 16 C 17.26748 16 16.601593 16.279328 16.078125 16.722656 L 8.9433594 12.558594 C 8.9782095 12.377122 9 12.190953 9 12 C 9 11.809047 8.9782095 11.622878 8.9433594 11.441406 L 16.078125 7.2792969 C 16.60146 7.7221461 17.267923 8 18 8 C 19.64501 8 21 6.6450096 21 5 C 21 3.3549904 19.64501 2 18 2 z M 18 4 C 18.564129 4 19 4.4358706 19 5 C 19 5.5641294 18.564129 6 18 6 C 17.435871 6 17 5.5641294 17 5 C 17 4.4358706 17.435871 4 18 4 z M 6 11 C 6.5641294 11 7 11.435871 7 12 C 7 12.564129 6.5641294 13 6 13 C 5.4358706 13 5 12.564129 5 12 C 5 11.435871 5.4358706 11 6 11 z M 18 18 C 18.564129 18 19 18.435871 19 19 C 19 19.564129 18.564129 20 18 20 C 17.435871 20 17 19.564129 17 19 C 17 18.435871 17.435871 18 18 18 z"/>\n </g>\n</svg>\n'}),Je=new y({name:"ui-components:spreadsheet",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <path class="jp-icon-contrast1 jp-icon-selectable" fill="#4CAF50" d="M2.2 2.2v17.6h17.6V2.2H2.2zm15.4 7.7h-5.5V4.4h5.5v5.5zM9.9 4.4v5.5H4.4V4.4h5.5zm-5.5 7.7h5.5v5.5H4.4v-5.5zm7.7 5.5v-5.5h5.5v5.5h-5.5z"/>\n</svg>\n'}),Xe=new y({name:"ui-components:stop",svgstr:'<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M0 0h24v24H0z" fill="none"/>\n <path d="M6 6h12v12H6z"/>\n </g>\n</svg>\n'}),Qe=new y({name:"ui-components:tab",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path 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-2zm0 16H3V5h10v4h8v10z"/>\n </g>\n</svg>\n'}),et=new y({name:"ui-components:table-rows",svgstr:'<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M0 0h24v24H0z" fill="none"/>\n <path d="M21,8H3V4h18V8z M21,10H3v4h18V10z M21,16H3v4h18V16z"/>\n </g>\n</svg>\n'}),tt=new y({name:"ui-components:tag",svgstr:'<svg width="28" height="28" viewBox="0 0 43 28" xmlns="http://www.w3.org/2000/svg">\n\t<g class="jp-icon3" fill="#616161">\n\t\t<path d="M28.8332 12.334L32.9998 16.5007L37.1665 12.334H28.8332Z"/>\n\t\t<path d="M16.2095 21.6104C15.6873 22.1299 14.8443 22.1299 14.3248 21.6104L6.9829 14.7245C6.5724 14.3394 6.08313 13.6098 6.04786 13.0482C5.95347 11.5288 6.02002 8.61944 6.06621 7.07695C6.08281 6.51477 6.55548 6.04347 7.11804 6.03055C9.08863 5.98473 13.2638 5.93579 13.6518 6.32425L21.7369 13.639C22.256 14.1585 21.7851 15.4724 21.262 15.9946L16.2095 21.6104ZM9.77585 8.265C9.33551 7.82566 8.62351 7.82566 8.1828 8.265C7.74346 8.70571 7.74346 9.41733 8.1828 9.85667C8.62382 10.2964 9.33582 10.2964 9.77585 9.85667C10.2156 9.41733 10.2156 8.70533 9.77585 8.265Z"/>\n\t</g>\n</svg>\n'}),nt=new y({name:"ui-components:terminal",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24" >\n <rect class="jp-terminal-icon-background-color jp-icon-selectable" width="20" height="20" transform="translate(2 2)" fill="#333333"/>\n <path class="jp-terminal-icon-color jp-icon-selectable-inverse" d="M5.05664 8.76172C5.05664 8.59766 5.03125 8.45312 4.98047 8.32812C4.93359 8.19922 4.85547 8.08203 4.74609 7.97656C4.64062 7.87109 4.5 7.77539 4.32422 7.68945C4.15234 7.59961 3.94336 7.51172 3.69727 7.42578C3.30273 7.28516 2.94336 7.13672 2.61914 6.98047C2.29492 6.82422 2.01758 6.64258 1.78711 6.43555C1.56055 6.22852 1.38477 5.98828 1.25977 5.71484C1.13477 5.4375 1.07227 5.10938 1.07227 4.73047C1.07227 4.39844 1.12891 4.0957 1.24219 3.82227C1.35547 3.54492 1.51562 3.30469 1.72266 3.10156C1.92969 2.89844 2.17969 2.73437 2.47266 2.60938C2.76562 2.48438 3.0918 2.4043 3.45117 2.36914V1.10938H4.38867V2.38086C4.74023 2.42773 5.05664 2.52344 5.33789 2.66797C5.61914 2.8125 5.85742 3.00195 6.05273 3.23633C6.25195 3.4668 6.4043 3.74023 6.50977 4.05664C6.61914 4.36914 6.67383 4.7207 6.67383 5.11133H5.04492C5.04492 4.63867 4.9375 4.28125 4.72266 4.03906C4.50781 3.79297 4.2168 3.66992 3.84961 3.66992C3.65039 3.66992 3.47656 3.69727 3.32812 3.75195C3.18359 3.80273 3.06445 3.87695 2.9707 3.97461C2.87695 4.06836 2.80664 4.17969 2.75977 4.30859C2.7168 4.4375 2.69531 4.57812 2.69531 4.73047C2.69531 4.88281 2.7168 5.01953 2.75977 5.14062C2.80664 5.25781 2.88281 5.36719 2.98828 5.46875C3.09766 5.57031 3.24023 5.66797 3.41602 5.76172C3.5918 5.85156 3.81055 5.94336 4.07227 6.03711C4.4668 6.18555 4.82422 6.33984 5.14453 6.5C5.46484 6.65625 5.73828 6.83984 5.96484 7.05078C6.19531 7.25781 6.37109 7.5 6.49219 7.77734C6.61719 8.05078 6.67969 8.375 6.67969 8.75C6.67969 9.09375 6.62305 9.4043 6.50977 9.68164C6.39648 9.95508 6.23438 10.1914 6.02344 10.3906C5.8125 10.5898 5.55859 10.75 5.26172 10.8711C4.96484 10.9883 4.63281 11.0645 4.26562 11.0996V12.248H3.33398V11.0996C3.00195 11.0684 2.67969 10.9961 2.36719 10.8828C2.05469 10.7656 1.77734 10.5977 1.53516 10.3789C1.29688 10.1602 1.10547 9.88477 0.960938 9.55273C0.816406 9.2168 0.744141 8.81445 0.744141 8.3457H2.37891C2.37891 8.62695 2.41992 8.86328 2.50195 9.05469C2.58398 9.24219 2.68945 9.39258 2.81836 9.50586C2.95117 9.61523 3.10156 9.69336 3.26953 9.74023C3.4375 9.78711 3.60938 9.81055 3.78516 9.81055C4.20312 9.81055 4.51953 9.71289 4.73438 9.51758C4.94922 9.32227 5.05664 9.07031 5.05664 8.76172ZM13.418 12.2715H8.07422V11H13.418V12.2715Z" transform="translate(3.95264 6)" fill="white"/>\n</svg>\n'}),it=new y({name:"ui-components:text-editor",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path class="jp-text-editor-icon-color jp-icon-selectable" fill="#616161" d="M15 15H3v2h12v-2zm0-8H3v2h12V7zM3 13h18v-2H3v2zm0 8h18v-2H3v2zM3 3v2h18V3H3z"/>\n</svg>\n'}),st=new y({name:"ui-components:toc",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <g class="jp-icon3 jp-icon-selectable" fill="#616161">\n <path d="M7,5H21V7H7V5M7,13V11H21V13H7M4,4.5A1.5,1.5 0 0,1 5.5,6A1.5,1.5 0 0,1 4,7.5A1.5,1.5 0 0,1 2.5,6A1.5,1.5 0 0,1 4,4.5M4,10.5A1.5,1.5 0 0,1 5.5,12A1.5,1.5 0 0,1 4,13.5A1.5,1.5 0 0,1 2.5,12A1.5,1.5 0 0,1 4,10.5M7,19V17H21V19H7M4,16.5A1.5,1.5 0 0,1 5.5,18A1.5,1.5 0 0,1 4,19.5A1.5,1.5 0 0,1 2.5,18A1.5,1.5 0 0,1 4,16.5Z" />\n </g>\n</svg>\n'}),rt=new y({name:"ui-components:tree-view",svgstr:'<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M0 0h24v24H0z" fill="none"/>\n <path d="M22 11V3h-7v3H9V3H2v8h7V8h2v10h4v3h7v-8h-7v3h-2V8h2v3z"/>\n </g>\n</svg>\n'}),ot=new y({name:"ui-components:trusted",svgstr:'<svg fill="none" xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 25">\n <path class="jp-icon2" stroke="#333333" stroke-width="2" transform="translate(2 3)" d="M1.86094 11.4409C0.826448 8.77027 0.863779 6.05764 1.24907 4.19932C2.48206 3.93347 4.08068 3.40347 5.60102 2.8449C7.23549 2.2444 8.85666 1.5815 9.9876 1.09539C11.0597 1.58341 12.6094 2.2444 14.218 2.84339C15.7503 3.41394 17.3995 3.95258 18.7539 4.21385C19.1364 6.07177 19.1709 8.77722 18.139 11.4409C17.0303 14.3032 14.6668 17.1844 9.99999 18.9354C5.3332 17.1844 2.96968 14.3032 1.86094 11.4409Z"/>\n <path class="jp-icon2" fill="#333333" stroke="#333333" transform="translate(8 9.86719)" d="M2.86015 4.86535L0.726549 2.99959L0 3.63045L2.86015 6.13157L8 0.630872L7.27857 0L2.86015 4.86535Z"/>\n</svg>\n'}),at=new y({name:"ui-components:undo",svgstr:'<svg viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path 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 8z"/>\n </g>\n</svg>\n'}),lt=new y({name:"ui-components:user",svgstr:'<svg width="16" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"/>\n </g>\n</svg>\n'}),ct=new y({name:"ui-components:users",svgstr:'<svg width="24" height="24" version="1.1" viewBox="0 0 36 24" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" transform="matrix(1.7327 0 0 1.7327 -3.6282 .099577)" fill="#616161">\n <path transform="matrix(1.5,0,0,1.5,0,-6)" d="m12.186 7.5098c-1.0535 0-1.9757 0.5665-2.4785 1.4102 0.75061 0.31277 1.3974 0.82648 1.873 1.4727h3.4863c0-1.592-1.2889-2.8828-2.8809-2.8828z"/>\n <path d="m20.465 2.3895a2.1885 2.1885 0 0 1-2.1884 2.1885 2.1885 2.1885 0 0 1-2.1885-2.1885 2.1885 2.1885 0 0 1 2.1885-2.1885 2.1885 2.1885 0 0 1 2.1884 2.1885z"/>\n <path transform="matrix(1.5,0,0,1.5,0,-6)" d="m3.5898 8.4219c-1.1126 0-2.0137 0.90111-2.0137 2.0137h2.8145c0.26797-0.37309 0.5907-0.70435 0.95898-0.97852-0.34433-0.61688-1.0031-1.0352-1.7598-1.0352z"/>\n <path d="m6.9154 4.623a1.5294 1.5294 0 0 1-1.5294 1.5294 1.5294 1.5294 0 0 1-1.5294-1.5294 1.5294 1.5294 0 0 1 1.5294-1.5294 1.5294 1.5294 0 0 1 1.5294 1.5294z"/>\n <path d="m6.135 13.535c0-3.2392 2.6259-5.865 5.865-5.865 3.2392 0 5.865 2.6259 5.865 5.865z"/>\n <circle cx="12" cy="3.7685" r="2.9685"/>\n </g>\n</svg>\n'}),dt=new y({name:"ui-components:vega",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <g class="jp-icon1 jp-icon-selectable" fill="#212121">\n <path d="M10.6 5.4l2.2-3.2H2.2v7.3l4-6.6z"/>\n <path d="M15.8 2.2l-4.4 6.6L7 6.3l-4.8 8v5.5h17.6V2.2h-4zm-7 15.4H5.5v-4.4h3.3v4.4zm4.4 0H9.8V9.8h3.4v7.8zm4.4 0h-3.4V6.5h3.4v11.1z"/>\n </g>\n</svg>\n'}),ht=new y({name:"ui-components:word",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 20 20">\n <g class="jp-icon2" fill="#414141">\n <rect x="2" y="2" width="16" height="16"/>\n </g>\n <g class="jp-icon-accent2" transform="translate(.43 .0401)" fill="#fff">\n <path d="m4.14 8.76q0.0682-1.89 2.42-1.89 1.16 0 1.68 0.42 0.567 0.41 0.567 1.16v3.47q0 0.462 0.514 0.462 0.103 0 0.2-0.0231v0.714q-0.399 0.103-0.651 0.103-0.452 0-0.693-0.22-0.231-0.2-0.284-0.662-0.956 0.872-2 0.872-0.903 0-1.47-0.472-0.525-0.472-0.525-1.26 0-0.262 0.0452-0.472 0.0567-0.22 0.116-0.378 0.0682-0.168 0.231-0.304 0.158-0.147 0.262-0.242 0.116-0.0914 0.368-0.168 0.262-0.0914 0.399-0.126 0.136-0.0452 0.472-0.103 0.336-0.0578 0.504-0.0798 0.158-0.0231 0.567-0.0798 0.556-0.0682 0.777-0.221 0.22-0.152 0.22-0.441v-0.252q0-0.43-0.357-0.662-0.336-0.231-0.976-0.231-0.662 0-0.998 0.262-0.336 0.252-0.399 0.798zm1.89 3.68q0.788 0 1.26-0.41 0.504-0.42 0.504-0.903v-1.05q-0.284 0.136-0.861 0.231-0.567 0.0914-0.987 0.158-0.42 0.0682-0.766 0.326-0.336 0.252-0.336 0.704t0.304 0.704 0.861 0.252z" stroke-width="1.05"/>\n <path d="m10 4.56h0.945v3.15q0.651-0.976 1.89-0.976 1.16 0 1.89 0.84 0.682 0.84 0.682 2.31 0 1.47-0.704 2.42-0.704 0.882-1.89 0.882-1.26 0-1.89-1.02v0.766h-0.85zm2.62 3.04q-0.746 0-1.16 0.64-0.452 0.63-0.452 1.68 0 1.05 0.452 1.68t1.16 0.63q0.777 0 1.26-0.63 0.494-0.64 0.494-1.68 0-1.05-0.472-1.68-0.462-0.64-1.26-0.64z" stroke-width="1.05"/>\n <path d="m2.73 15.8 13.6 0.0081c0.0069 0 0-2.6 0-2.6 0-0.0078-1.15 0-1.15 0-0.0069 0-0.0083 1.5-0.0083 1.5-2e-3 -0.0014-11.3-0.0014-11.3-0.0014l-0.00592-1.5c0-0.0078-1.17 0.0013-1.17 0.0013z" stroke-width=".975"/>\n </g>\n</svg>\n'}),ut=new y({name:"ui-components:yaml",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <g class="jp-icon-contrast2 jp-icon-selectable" fill="#D81B60">\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.5l-2.9-.1z"/>\n <circle class="st0" cx="17.6" cy="16.5" r="2.1"/>\n <circle class="st0" cx="17.6" cy="11" r="2.1"/>\n </g>\n</svg>\n'}),pt="jp-Collapse-header-collapsed";class mt extends u.Widget{constructor(e){super(e),this._collapseChanged=new h.Signal(this);const{widget:t,collapsed:n=!0}=e;this.addClass("jp-Collapse"),this._header=new u.Widget,this._header.addClass("jp-Collapse-header"),n&&this._header.addClass(pt),this._header.node.appendChild(T.element({className:"jp-Collapser-icon"}));const i=document.createElement("span");i.classList.add("jp-Collapser-title"),i.textContent=t.title.label,this._header.node.appendChild(i),this._content=new u.Panel,this._content.addClass("jp-Collapse-contents");const s=new u.PanelLayout;this.layout=s,s.addWidget(this._header),s.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(pt):this._header.removeClass(pt)}}var gt=n(80259),vt=n(24246),ft=n(630),wt=n(44964),yt=n(66400),xt=n(78402),bt=n(80322),Ct=n(79148);var _t=n(94180);const St=function(e,t){return function(e,t,n){for(var i=-1,s=t.length,r={};++i<s;){var o=t[i],a=(0,xt.Z)(e,o);n(a,o)&&(0,bt.Z)(r,(0,Ct.Z)(o,e),a)}return r}(e,t,(function(t,n){return(0,_t.Z)(e,n)}))},jt=(0,n(73703).Z)((function(e,t){return null==e?{}:St(e,t)}));var It=n(81810),Mt=n(86908),Lt=n(60417),kt=n(24787);let Et=(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?"-":"_")),"");var Tt=n(75732),At=n(44733);function Ft(){return Ft=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Ft.apply(this,arguments)}const zt=["children","options"],Ot=["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"}),Dt={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},Ht=["style","script"],Bt=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,Vt=/mailto:/i,Nt=/\n{2,}$/,Rt=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,Pt=/^ *> ?/gm,Wt=/^ {2,}\n/,$t=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,Ut=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,qt=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,Zt=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,Gt=/^(?:\n *)*\n/,Kt=/\r\n?/g,Yt=/^\[\^([^\]]+)](:.*)\n/,Jt=/^\[\^([^\]]+)]/,Xt=/\f/g,Qt=/^\s*?\[(x|\s)\]/,en=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,tn=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,nn=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,sn=/&([a-zA-Z]+);/g,rn=/^<!--[\s\S]*?(?:-->)/,on=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,an=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,ln=/^\{.*\}$/,cn=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,dn=/^<([^ >]+@[^ >]+)>/,hn=/^<([^ >]+:\/[^ >]+)>/,un=/-([a-z])?/gi,pn=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,mn=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,gn=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,vn=/^\[([^\]]*)\] ?\[([^\]]*)\]/,fn=/(\[|\])/g,wn=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,yn=/\t/g,xn=/^ *\| */,bn=/(^ *\||\| *$)/g,Cn=/ *$/,_n=/^ *:-+: *$/,Sn=/^ *:-+ *$/,jn=/^ *-+: *$/,In=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,Mn=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,Ln=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,kn=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,En=/^\\([^0-9A-Za-z\s])/,Tn=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,An=/^\n+/,Fn=/^([ \t]*)/,zn=/\\([^\\])/g,On=/ *\n+$/,Dn=/(?:^|\n)( *)$/,Hn="(?:\\d+\\.)",Bn="(?:[*+-])";function Vn(e){return"( *)("+(1===e?Hn:Bn)+") +"}const Nn=Vn(1),Rn=Vn(2);function Pn(e){return new RegExp("^"+(1===e?Nn:Rn))}const Wn=Pn(1),$n=Pn(2);function Un(e){return new RegExp("^"+(1===e?Nn:Rn)+"[^\\n]*(?:\\n(?!\\1"+(1===e?Hn:Bn)+" )[^\\n]*)*(\\n|$)","gm")}const qn=Un(1),Zn=Un(2);function Gn(e){const t=1===e?Hn:Bn;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const Kn=Gn(1),Yn=Gn(2);function Jn(e,t){const n=1===t,i=n?Kn:Yn,s=n?qn:Zn,r=n?Wn:$n;return{t(e,t,n){const s=Dn.exec(n);return s&&(t.o||!t._&&!t.u)?i.exec(e=s[1]+e):null},i:Ci.HIGH,l(e,t,i){const o=n?+e[2]:void 0,a=e[0].replace(Nt,"\n").match(s);let l=!1;return{p:a.map((function(e,n){const s=r.exec(e)[0].length,o=new RegExp("^ {1,"+s+"}","gm"),c=e.replace(o,"").replace(r,""),d=n===a.length-1,h=-1!==c.indexOf("\n\n")||d&&l;l=h;const u=i._,p=i.o;let m;i.o=!0,h?(i._=!1,m=c.replace(On,"\n\n")):(i._=!0,m=c.replace(On,""));const g=t(m,i);return i._=u,i.o=p,g})),m:n,g:o}},h:(t,n,i)=>e(t.m?"ol":"ul",{key:i.k,start:t.g},t.p.map((function(t,s){return e("li",{key:s},n(t,i))})))}}const Xn=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,Qn=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,ei=[Rt,Ut,qt,en,tn,rn,pn,qn,Kn,Zn,Yn],ti=[...ei,/^[^\n]+(?: \n|\n{2,})/,nn,an];function ni(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 ii(e){return jn.test(e)?"right":_n.test(e)?"center":Sn.test(e)?"left":null}function si(e,t,n){const i=n.v;n.v=!0;const s=t(e.trim(),n);n.v=i;let r=[[]];return s.forEach((function(e,t){"tableSeparator"===e.type?0!==t&&t!==s.length-1&&r.push([]):("text"!==e.type||null!=s[t+1]&&"tableSeparator"!==s[t+1].type||(e.$=e.$.replace(Cn,"")),r[r.length-1].push(e))})),r}function ri(e,t,n){n._=!0;const i=si(e[1],t,n),s=e[2].replace(bn,"").split("|").map(ii),r=function(e,t,n){return e.trim().split("\n").map((function(e){return si(e,t,n)}))}(e[3],t,n);return n._=!1,{S:s,A:r,L:i,type:"table"}}function oi(e,t){return null==e.S[t]?{}:{textAlign:e.S[t]}}function ai(e){return function(t,n){return n._?e.exec(t):null}}function li(e){return function(t,n){return n._||n.u?e.exec(t):null}}function ci(e){return function(t,n){return n._||n.u?null:e.exec(t)}}function di(e){return function(t){return e.exec(t)}}function hi(e,t,n){if(t._||t.u)return null;if(n&&!n.endsWith("\n"))return null;let i="";e.split("\n").every((e=>!ei.some((t=>t.test(e)))&&(i+=e+"\n",e.trim())));const s=i.trimEnd();return""==s?null:[i,s]}function ui(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return null}catch(e){return null}return e}function pi(e){return e.replace(zn,"$1")}function mi(e,t,n){const i=n._||!1,s=n.u||!1;n._=!0,n.u=!0;const r=e(t,n);return n._=i,n.u=s,r}function gi(e,t,n){const i=n._||!1,s=n.u||!1;n._=!1,n.u=!0;const r=e(t,n);return n._=i,n.u=s,r}function vi(e,t,n){return n._=!1,e(t+"\n\n",n)}const fi=(e,t,n)=>({$:mi(t,e[1],n)});function wi(){return{}}function yi(){return null}function xi(...e){return e.filter(Boolean).join(" ")}function bi(e,t,n){let i=e;const s=t.split(".");for(;s.length&&(i=i[s[0]],void 0!==i);)s.shift();return i||n}var Ci,_i;function Si(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||ni,t.namedCodesToUnicode=t.namedCodesToUnicode?Ft({},Dt,t.namedCodesToUnicode):Dt;const n=t.createElement||i.createElement;function s(e,i,...s){const r=bi(t.overrides,`${e}.props`,{});return n(function(e,t){const n=bi(t,e);return n?"function"==typeof n||"object"==typeof n&&"render"in n?n:bi(t,`${e}.component`,e):e}(e,t.overrides),Ft({},i,r,{className:xi(null==i?void 0:i.className,r.className)||void 0}),...s)}function r(e){let n=!1;t.forceInline?n=!0:t.forceBlock||(n=!1===wn.test(e));const r=h(d(n?e:`${e.trimEnd().replace(An,"")}\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?s("span",{key:"outer"},a):a;a=null}return i.createElement(o,{key:"outer"},a)}function o(e){const t=e.match(Bt);return t?t.reduce((function(e,t,n){const s=t.indexOf("=");if(-1!==s){const a=(o=t.slice(0,s),-1!==o.indexOf("-")&&null===o.match(on)&&(o=o.replace(un,(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(s+1).trim()),c=Ot[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?ui(t):(t.match(ln)&&(t=t.slice(1,t.length-1)),"true"===t||"false"!==t&&t)}(a,l);"string"==typeof d&&(nn.test(d)||an.test(d))&&(e[c]=i.cloneElement(r(d.trim()),{key:n}))}else"style"!==t&&(e[Ot[t]||t]=!0);var o;return e}),{}):null}const a=[],l={},c={blockQuote:{t:ci(Rt),i:Ci.HIGH,l:(e,t,n)=>({$:t(e[0].replace(Pt,""),n)}),h:(e,t,n)=>s("blockquote",{key:n.k},t(e.$,n))},breakLine:{t:di(Wt),i:Ci.HIGH,l:wi,h:(e,t,n)=>s("br",{key:n.k})},breakThematic:{t:ci($t),i:Ci.HIGH,l:wi,h:(e,t,n)=>s("hr",{key:n.k})},codeBlock:{t:ci(qt),i:Ci.MAX,l:e=>({$:e[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(e,t,n)=>s("pre",{key:n.k},s("code",Ft({},e.I,{className:e.M?`lang-${e.M}`:""}),e.$))},codeFenced:{t:ci(Ut),i:Ci.MAX,l:e=>({I:o(e[3]||""),$:e[4],M:e[2]||void 0,type:"codeBlock"})},codeInline:{t:li(Zt),i:Ci.LOW,l:e=>({$:e[2]}),h:(e,t,n)=>s("code",{key:n.k},e.$)},footnote:{t:ci(Yt),i:Ci.MAX,l:e=>(a.push({O:e[2],B:e[1]}),{}),h:yi},footnoteReference:{t:ai(Jt),i:Ci.HIGH,l:e=>({$:e[1],R:`#${t.slugify(e[1])}`}),h:(e,t,n)=>s("a",{key:n.k,href:ui(e.R)},s("sup",{key:n.k},e.$))},gfmTask:{t:ai(Qt),i:Ci.HIGH,l:e=>({T:"x"===e[1].toLowerCase()}),h:(e,t,n)=>s("input",{checked:e.T,key:n.k,readOnly:!0,type:"checkbox"})},heading:{t:ci(en),i:Ci.HIGH,l:(e,n,i)=>({$:mi(n,e[2],i),j:t.slugify(e[2]),C:e[1].length}),h:(e,t,n)=>s(`h${e.C}`,{id:e.j,key:n.k},t(e.$,n))},headingSetext:{t:ci(tn),i:Ci.MAX,l:(e,t,n)=>({$:mi(t,e[1],n),C:"="===e[2]?1:2,type:"heading"})},htmlComment:{t:di(rn),i:Ci.HIGH,l:()=>({}),h:yi},image:{t:li(Qn),i:Ci.HIGH,l:e=>({D:e[1],R:pi(e[2]),N:e[3]}),h:(e,t,n)=>s("img",{key:n.k,alt:e.D||void 0,title:e.N||void 0,src:ui(e.R)})},link:{t:ai(Xn),i:Ci.LOW,l:(e,t,n)=>({$:gi(t,e[1],n),R:pi(e[2]),N:e[3]}),h:(e,t,n)=>s("a",{key:n.k,href:ui(e.R),title:e.N},t(e.$,n))},linkAngleBraceStyleDetector:{t:ai(hn),i:Ci.MAX,l:e=>({$:[{$:e[1],type:"text"}],R:e[1],type:"link"})},linkBareUrlDetector:{t:(e,t)=>t.Z?null:ai(cn)(e,t),i:Ci.MAX,l:e=>({$:[{$:e[1],type:"text"}],R:e[1],N:void 0,type:"link"})},linkMailtoDetector:{t:ai(dn),i:Ci.MAX,l(e){let t=e[1],n=e[1];return Vt.test(n)||(n="mailto:"+n),{$:[{$:t.replace("mailto:",""),type:"text"}],R:n,type:"link"}}},orderedList:Jn(s,1),unorderedList:Jn(s,2),newlineCoalescer:{t:ci(Gt),i:Ci.LOW,l:wi,h:()=>"\n"},paragraph:{t:hi,i:Ci.LOW,l:fi,h:(e,t,n)=>s("p",{key:n.k},t(e.$,n))},ref:{t:ai(mn),i:Ci.MAX,l:e=>(l[e[1]]={R:e[2],N:e[4]},{}),h:yi},refImage:{t:li(gn),i:Ci.MAX,l:e=>({D:e[1]||void 0,F:e[2]}),h:(e,t,n)=>s("img",{key:n.k,alt:e.D,src:ui(l[e.F].R),title:l[e.F].N})},refLink:{t:ai(vn),i:Ci.MAX,l:(e,t,n)=>({$:t(e[1],n),P:t(e[0].replace(fn,"\\$1"),n),F:e[2]}),h:(e,t,n)=>l[e.F]?s("a",{key:n.k,href:ui(l[e.F].R),title:l[e.F].N},t(e.$,n)):s("span",{key:n.k},t(e.P,n))},table:{t:ci(pn),i:Ci.HIGH,l:ri,h:(e,t,n)=>s("table",{key:n.k},s("thead",null,s("tr",null,e.L.map((function(i,r){return s("th",{key:r,style:oi(e,r)},t(i,n))})))),s("tbody",null,e.A.map((function(i,r){return s("tr",{key:r},i.map((function(i,r){return s("td",{key:r,style:oi(e,r)},t(i,n))})))}))))},tableSeparator:{t:function(e,t){return t.v?xn.exec(e):null},i:Ci.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:di(Tn),i:Ci.MIN,l:e=>({$:e[0].replace(sn,((e,n)=>t.namedCodesToUnicode[n]?t.namedCodesToUnicode[n]:e))}),h:e=>e.$},textBolded:{t:li(In),i:Ci.MED,l:(e,t,n)=>({$:t(e[2],n)}),h:(e,t,n)=>s("strong",{key:n.k},t(e.$,n))},textEmphasized:{t:li(Mn),i:Ci.LOW,l:(e,t,n)=>({$:t(e[2],n)}),h:(e,t,n)=>s("em",{key:n.k},t(e.$,n))},textEscaped:{t:li(En),i:Ci.HIGH,l:e=>({$:e[1],type:"text"})},textMarked:{t:li(Ln),i:Ci.LOW,l:fi,h:(e,t,n)=>s("mark",{key:n.k},t(e.$,n))},textStrikethroughed:{t:li(kn),i:Ci.LOW,l:fi,h:(e,t,n)=>s("del",{key:n.k},t(e.$,n))}};!0!==t.disableParsingRawHTML&&(c.htmlBlock={t:di(nn),i:Ci.HIGH,l(e,t,n){const[,i]=e[3].match(Fn),s=new RegExp(`^${i}`,"gm"),r=e[3].replace(s,""),a=(l=r,ti.some((e=>e.test(l)))?vi:mi);var l;const c=e[1].toLowerCase(),d=-1!==Ht.indexOf(c);n.Z=n.Z||"a"===c;const h=d?e[3]:a(t,r,n);return n.Z=!1,{I:o(e[2]),$:h,G:d,H:d?c:e[1]}},h:(e,t,n)=>s(e.H,Ft({key:n.k},e.I),e.G?e.$:t(e.$,n))},c.htmlSelfClosing={t:di(an),i:Ci.HIGH,l:e=>({I:o(e[2]||""),H:e[1]}),h:(e,t,n)=>s(e.H,Ft({},e.I,{key:n.k}))});const d=function(e){let t=Object.keys(e);function n(i,s){let r=[],o="";for(;i;){let a=0;for(;a<t.length;){const l=t[a],c=e[l],d=c.t(i,s,o);if(d){const e=d[0];i=i.substring(e.length);const t=c.l(d,n,s);null==t.type&&(t.type=l),r.push(t),o=e;break}a++}}return r}return t.sort((function(t,n){let i=e[t].i,s=e[n].i;return i!==s?i-s:t<n?-1:1})),function(e,t){return n(function(e){return e.replace(Kt,"\n").replace(Xt,"").replace(yn," ")}(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 i=n.k,s=[];let r=!1;for(let i=0;i<t.length;i++){n.k=i;const o=e(t[i],n),a="string"==typeof o;a&&r?s[s.length-1]+=o:null!==o&&s.push(o),r=a}return n.k=i,s}return p(t,e,n)});var u,p;const m=r(e);return a.length?s("div",null,m,s("footer",{key:"footer"},a.map((function(e){return s("div",{id:t.slugify(e.B),key:e.B},e.B,h(d(e.O,{_:!0})))})))):m}(_i=Ci||(Ci={}))[_i.MAX=0]="MAX",_i[_i.HIGH=1]="HIGH",_i[_i.MED=2]="MED",_i[_i.LOW=3]="LOW",_i[_i.MIN=4]="MIN";const ji=e=>{let{children:t,options:n}=e,s=function(e,t){if(null==e)return{};var n,i,s={},r=Object.keys(e);for(i=0;i<r.length;i++)t.indexOf(n=r[i])>=0||(s[n]=e[n]);return s}(e,zt);return i.cloneElement(Si(t,n),s)};var Ii=n(36004),Mi=n(38423);function Li(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(void 0,"symbol"==typeof(s=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i.key))?s:String(s)),i)}var s}function ki(){return ki=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ki.apply(this,arguments)}function Ei(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ti(e,t)}function Ti(e,t){return Ti=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ti(e,t)}function Ai(e,t){if(null==e)return{};var n,i,s={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(s[n]=e[n]);return s}var Fi=["widget","title"],zi=["widget","title"],Oi=["widget","title"];function Di(){return Et()}function Hi(e){return Array.isArray(e)?e.map((function(e){return{key:Di(),item:e}})):[]}function Bi(e){return Array.isArray(e)?e.map((function(e){return e.item})):[]}var Vi=function(e){function t(t){var n;(n=e.call(this,t)||this)._getNewFormDataRow=function(){var e=n.props,t=e.schema,i=e.registry.schemaUtils,s=t.items;return(0,ft.isFixedItems)(t)&&(0,ft.allowAdditionalItems)(t)&&(s=t.additionalItems),i.getDefaultFormState(s)},n.onAddClick=function(e){n._handleAddClick(e)},n.onAddIndexClick=function(e){return function(t){n._handleAddClick(t,e)}},n.onCopyIndexClick=function(e){return function(t){t&&t.preventDefault();var i=n.props.onChange,s=n.state.keyedFormData,r={key:Di(),item:(0,Mt.Z)(s[e].item)},o=[].concat(s);void 0!==e?o.splice(e+1,0,r):o.push(r),n.setState({keyedFormData:o,updatedKeyedFormData:!0},(function(){return i(Bi(o))}))}},n.onDropIndexClick=function(e){return function(t){t&&t.preventDefault();var i,s=n.props,r=s.onChange,o=s.errorSchema,a=n.state.keyedFormData;if(o)for(var l in i={},o){var c=parseInt(l);c<e?(0,kt.Z)(i,[c],o[l]):c>e&&(0,kt.Z)(i,[c-1],o[l])}var d=a.filter((function(t,n){return n!==e}));n.setState({keyedFormData:d,updatedKeyedFormData:!0},(function(){return r(Bi(d),i)}))}},n.onReorderClick=function(e,t){return function(i){i&&(i.preventDefault(),i.currentTarget.blur());var s,r=n.props,o=r.onChange,a=r.errorSchema;if(a)for(var l in s={},a){var c=parseInt(l);c==e?(0,kt.Z)(s,[t],a[e]):c==t?(0,kt.Z)(s,[e],a[t]):(0,kt.Z)(s,[l],a[c])}var d,h=n.state.keyedFormData,u=((d=h.slice()).splice(e,1),d.splice(t,0,h[e]),d);n.setState({keyedFormData:u},(function(){return o(Bi(u),s)}))}},n.onChangeForIndex=function(e){return function(t,i,s){var r,o=n.props,a=o.formData,l=o.onChange,c=o.errorSchema,d=(Array.isArray(a)?a:[]).map((function(n,i){return e===i?void 0===t?null:t:n}));l(d,c&&c&&ki({},c,((r={})[e]=i,r)),s)}},n.onSelectChange=function(e){var t=n.props,i=t.onChange,s=t.idSchema;i(e,void 0,s&&s.$id)};var i=t.formData,s=Hi(void 0===i?[]:i);return n.state={keyedFormData:s,updatedKeyedFormData:!1},n}Ei(t,e),t.getDerivedStateFromProps=function(e,t){if(t.updatedKeyedFormData)return{updatedKeyedFormData:!1};var n=Array.isArray(e.formData)?e.formData:[],i=t.keyedFormData||[];return{keyedFormData:n.length===i.length?i.map((function(e,t){return{key:e.key,item:n[t]}})):Hi(n)}};var n,i,s=t.prototype;return s.isItemRequired=function(e){return Array.isArray(e.type)?!e.type.includes("null"):"null"!==e.type},s.canAddItem=function(e){var t=this.props,n=t.schema,i=t.uiSchema,s=t.registry,r=(0,ft.getUiOptions)(i,s.globalUiOptions).addable;return!1!==r&&(r=void 0===n.maxItems||e.length<n.maxItems),r},s._handleAddClick=function(e,t){e&&e.preventDefault();var n=this.props.onChange,i=this.state.keyedFormData,s={key:Di(),item:this._getNewFormDataRow()},r=[].concat(i);void 0!==t?r.splice(t,0,s):r.push(s),this.setState({keyedFormData:r,updatedKeyedFormData:!0},(function(){return n(Bi(r))}))},s.render=function(){var e=this.props,t=e.schema,n=e.uiSchema,i=e.idSchema,s=e.registry,r=s.schemaUtils,o=s.translateString;if(!(ft.ITEMS_KEY in t)){var a=(0,ft.getUiOptions)(n),l=(0,ft.getTemplate)("UnsupportedFieldTemplate",s,a);return(0,vt.jsx)(l,{schema:t,idSchema:i,reason:o(ft.TranslatableString.MissingItems),registry:s})}return r.isMultiSelect(t)?this.renderMultiSelect():(0,ft.isCustomWidget)(n)?this.renderCustomWidget():(0,ft.isFixedItems)(t)?this.renderFixedArray():r.isFilesArray(t,n)?this.renderFiles():this.renderNormalArray()},s.renderNormalArray=function(){var e=this,t=this.props,n=t.schema,i=t.uiSchema,s=void 0===i?{}:i,r=t.errorSchema,o=t.idSchema,a=t.name,l=t.disabled,c=void 0!==l&&l,d=t.readonly,h=void 0!==d&&d,u=t.autofocus,p=void 0!==u&&u,m=t.required,g=void 0!==m&&m,v=t.registry,f=t.onBlur,w=t.onFocus,y=t.idPrefix,x=t.idSeparator,b=void 0===x?"_":x,C=t.rawErrors,_=this.state.keyedFormData,S=void 0===n.title?a:n.title,j=v.schemaUtils,I=v.formContext,M=(0,ft.getUiOptions)(s),L=(0,Lt.Z)(n.items)?n.items:{},k=j.retrieveSchema(L),E=Bi(this.state.keyedFormData),T=this.canAddItem(E),A={canAdd:T,items:_.map((function(t,n){var i=t.key,l=t.item,c=j.retrieveSchema(L,l),d=r?r[n]:void 0,h=o.$id+b+n,u=j.toIdSchema(c,h,l,y,b);return e.renderArrayFieldItem({key:i,index:n,name:a&&a+"-"+n,canAdd:T,canMoveUp:n>0,canMoveDown:n<E.length-1,itemSchema:c,itemIdSchema:u,itemErrorSchema:d,itemData:l,itemUiSchema:s.items,autofocus:p&&0===n,onBlur:f,onFocus:w,rawErrors:C,totalItems:_.length})})),className:"field field-array field-array-of-"+k.type,disabled:c,idSchema:o,uiSchema:s,onAddClick:this.onAddClick,readonly:h,required:g,schema:n,title:S,formContext:I,formData:E,rawErrors:C,registry:v},F=(0,ft.getTemplate)("ArrayFieldTemplate",v,M);return(0,vt.jsx)(F,ki({},A))},s.renderCustomWidget=function(){var e,t=this.props,n=t.schema,i=t.idSchema,s=t.uiSchema,r=t.disabled,o=void 0!==r&&r,a=t.readonly,l=void 0!==a&&a,c=t.autofocus,d=void 0!==c&&c,h=t.required,u=void 0!==h&&h,p=t.hideError,m=t.placeholder,g=t.onBlur,v=t.onFocus,f=t.formData,w=void 0===f?[]:f,y=t.registry,x=t.rawErrors,b=t.name,C=y.widgets,_=y.formContext,S=y.globalUiOptions,j=y.schemaUtils,I=(0,ft.getUiOptions)(s,S),M=I.widget,L=I.title,k=Ai(I,Fi),E=(0,ft.getWidget)(n,M,C),T=null!=(e=null!=L?L:n.title)?e:b,A=j.getDisplayLabel(n,s,S);return(0,vt.jsx)(E,{id:i.$id,name:b,multiple:!0,onChange:this.onSelectChange,onBlur:g,onFocus:v,options:k,schema:n,uiSchema:s,registry:y,value:w,disabled:o,readonly:l,hideError:p,required:u,label:T,hideLabel:!A,placeholder:m,formContext:_,autofocus:d,rawErrors:x})},s.renderMultiSelect=function(){var e,t=this.props,n=t.schema,i=t.idSchema,s=t.uiSchema,r=t.formData,o=void 0===r?[]:r,a=t.disabled,l=void 0!==a&&a,c=t.readonly,d=void 0!==c&&c,h=t.autofocus,u=void 0!==h&&h,p=t.required,m=void 0!==p&&p,g=t.placeholder,v=t.onBlur,f=t.onFocus,w=t.registry,y=t.rawErrors,x=t.name,b=w.widgets,C=w.schemaUtils,_=w.formContext,S=w.globalUiOptions,j=C.retrieveSchema(n.items,o),I=(0,ft.optionsList)(j),M=(0,ft.getUiOptions)(s,S),L=M.widget,k=void 0===L?"select":L,E=M.title,T=Ai(M,zi),A=(0,ft.getWidget)(n,k,b),F=null!=(e=null!=E?E:n.title)?e:x,z=C.getDisplayLabel(n,s,S);return(0,vt.jsx)(A,{id:i.$id,name:x,multiple:!0,onChange:this.onSelectChange,onBlur:v,onFocus:f,options:ki({},T,{enumOptions:I}),schema:n,uiSchema:s,registry:w,value:o,disabled:l,readonly:d,required:m,label:F,hideLabel:!z,placeholder:g,formContext:_,autofocus:u,rawErrors:y})},s.renderFiles=function(){var e,t=this.props,n=t.schema,i=t.uiSchema,s=t.idSchema,r=t.name,o=t.disabled,a=void 0!==o&&o,l=t.readonly,c=void 0!==l&&l,d=t.autofocus,h=void 0!==d&&d,u=t.required,p=void 0!==u&&u,m=t.onBlur,g=t.onFocus,v=t.registry,f=t.formData,w=void 0===f?[]:f,y=t.rawErrors,x=v.widgets,b=v.formContext,C=v.globalUiOptions,_=v.schemaUtils,S=(0,ft.getUiOptions)(i,C),j=S.widget,I=void 0===j?"files":j,M=S.title,L=Ai(S,Oi),k=(0,ft.getWidget)(n,I,x),E=null!=(e=null!=M?M:n.title)?e:r,T=_.getDisplayLabel(n,i,C);return(0,vt.jsx)(k,{options:L,id:s.$id,name:r,multiple:!0,onChange:this.onSelectChange,onBlur:m,onFocus:g,schema:n,uiSchema:i,value:w,disabled:a,readonly:c,required:p,registry:v,formContext:b,autofocus:h,rawErrors:y,label:E,hideLabel:!T})},s.renderFixedArray=function(){var e=this,t=this.props,n=t.schema,i=t.uiSchema,s=void 0===i?{}:i,r=t.formData,o=void 0===r?[]:r,a=t.errorSchema,l=t.idPrefix,c=t.idSeparator,d=void 0===c?"_":c,h=t.idSchema,u=t.name,p=t.disabled,m=void 0!==p&&p,g=t.readonly,v=void 0!==g&&g,f=t.autofocus,w=void 0!==f&&f,y=t.required,x=void 0!==y&&y,b=t.registry,C=t.onBlur,_=t.onFocus,S=t.rawErrors,j=this.state.keyedFormData,I=this.props.formData,M=void 0===I?[]:I,L=n.title||u,k=(0,ft.getUiOptions)(s),E=b.schemaUtils,T=b.formContext,A=((0,Lt.Z)(n.items)?n.items:[]).map((function(e,t){return E.retrieveSchema(e,o[t])})),F=(0,Lt.Z)(n.additionalItems)?E.retrieveSchema(n.additionalItems,o):null;(!M||M.length<A.length)&&(M=(M=M||[]).concat(new Array(A.length-M.length)));var z=this.canAddItem(M)&&!!F,O={canAdd:z,className:"field field-array field-array-fixed-items",disabled:m,idSchema:h,formData:o,items:j.map((function(t,i){var r=t.key,o=t.item,c=i>=A.length,p=c&&(0,Lt.Z)(n.additionalItems)?E.retrieveSchema(n.additionalItems,o):A[i],m=h.$id+d+i,g=E.toIdSchema(p,m,o,l,d),v=c?s.additionalItems||{}:Array.isArray(s.items)?s.items[i]:s.items||{},f=a?a[i]:void 0;return e.renderArrayFieldItem({key:r,index:i,name:u&&u+"-"+i,canAdd:z,canRemove:c,canMoveUp:i>=A.length+1,canMoveDown:c&&i<M.length-1,itemSchema:p,itemData:o,itemUiSchema:v,itemIdSchema:g,itemErrorSchema:f,autofocus:w&&0===i,onBlur:C,onFocus:_,rawErrors:S,totalItems:j.length})})),onAddClick:this.onAddClick,readonly:v,required:x,registry:b,schema:n,uiSchema:s,title:L,formContext:T,rawErrors:S},D=(0,ft.getTemplate)("ArrayFieldTemplate",b,k);return(0,vt.jsx)(D,ki({},O))},s.renderArrayFieldItem=function(e){var t=e.key,n=e.index,i=e.name,s=e.canAdd,r=e.canRemove,o=void 0===r||r,a=e.canMoveUp,l=e.canMoveDown,c=e.itemSchema,d=e.itemData,h=e.itemUiSchema,u=e.itemIdSchema,p=e.itemErrorSchema,m=e.autofocus,g=e.onBlur,v=e.onFocus,f=e.rawErrors,w=e.totalItems,y=this.props,x=y.disabled,b=y.hideError,C=y.idPrefix,_=y.idSeparator,S=y.readonly,j=y.uiSchema,I=y.registry,M=y.formContext,L=I.fields,k=L.ArraySchemaField,E=L.SchemaField,T=I.globalUiOptions,A=k||E,F=(0,ft.getUiOptions)(j,T),z=F.orderable,O=void 0===z||z,D=F.removable,H=void 0===D||D,B=F.copyable,V={moveUp:O&&a,moveDown:O&&l,copy:void 0!==B&&B&&s,remove:H&&o,toolbar:!1};return V.toolbar=Object.keys(V).some((function(e){return V[e]})),{children:(0,vt.jsx)(A,{name:i,index:n,schema:c,uiSchema:h,formData:d,formContext:M,errorSchema:p,idPrefix:C,idSeparator:_,idSchema:u,required:this.isItemRequired(c),onChange:this.onChangeForIndex(n),onBlur:g,onFocus:v,registry:I,disabled:x,readonly:S,hideError:b,autofocus:m,rawErrors:f}),className:"array-item",disabled:x,canAdd:s,hasCopy:V.copy,hasToolbar:V.toolbar,hasMoveUp:V.moveUp,hasMoveDown:V.moveDown,hasRemove:V.remove,index:n,totalItems:w,key:t,onAddIndexClick:this.onAddIndexClick,onCopyIndexClick:this.onCopyIndexClick,onDropIndexClick:this.onDropIndexClick,onReorderClick:this.onReorderClick,readonly:S,registry:I,schema:c,uiSchema:h}},n=t,(i=[{key:"itemTitle",get:function(){var e=this.props,t=e.schema,n=e.registry.translateString;return(0,wt.Z)(t,[ft.ITEMS_KEY,"title"],(0,wt.Z)(t,[ft.ITEMS_KEY,"description"],n(ft.TranslatableString.ArrayItemTitle)))}}])&&Li(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(i.Component),Ni=["widget","title","label"];function Ri(e){var t,n,i=e.schema,s=e.name,r=e.uiSchema,o=e.idSchema,a=e.formData,l=e.registry,c=e.required,d=e.disabled,h=e.readonly,u=e.autofocus,p=e.onChange,m=e.onFocus,g=e.onBlur,v=e.rawErrors,f=i.title,w=l.widgets,y=l.formContext,x=l.translateString,b=l.globalUiOptions,C=(0,ft.getUiOptions)(r,b),_=C.widget,S=void 0===_?"checkbox":_,j=C.title,I=C.label,M=void 0===I||I,L=Ai(C,Ni),k=(0,ft.getWidget)(i,S,w),E=x(ft.TranslatableString.YesLabel),T=x(ft.TranslatableString.NoLabel),A=null!=(t=null!=j?j:f)?t:s;if(Array.isArray(i.oneOf))n=(0,ft.optionsList)({oneOf:i.oneOf.map((function(e){if((0,Lt.Z)(e))return ki({},e,{title:e.title||(!0===e.const?E:T)})})).filter((function(e){return e}))});else{var F,z=i,O=null!=(F=i.enum)?F:[!0,!1];n=!z.enumNames&&2===O.length&&O.every((function(e){return"boolean"==typeof e}))?[{value:O[0],label:O[0]?E:T},{value:O[1],label:O[1]?E:T}]:(0,ft.optionsList)({enum:O,enumNames:z.enumNames})}return(0,vt.jsx)(k,{options:ki({},L,{enumOptions:n}),schema:i,uiSchema:r,id:o.$id,name:s,onChange:p,onFocus:m,onBlur:g,label:A,hideLabel:!M,value:a,required:c,disabled:d,readonly:h,registry:l,formContext:y,autofocus:u,rawErrors:v})}var Pi=["widget","placeholder","autofocus","autocomplete","title"],Wi=function(e){function t(t){var n;(n=e.call(this,t)||this).onOptionChange=function(e){var t=n.state,i=t.selectedOption,s=t.retrievedOptions,r=n.props,o=r.formData,a=r.onChange,l=r.registry.schemaUtils,c=void 0!==e?parseInt(e,10):-1;if(c!==i){var d=c>=0?s[c]:void 0,h=i>=0?s[i]:void 0,u=l.sanitizeDataForNewSchema(d,h,o);u&&d&&(u=l.getDefaultFormState(d,u,"excludeObjectChildren")),a(u,void 0,n.getFieldId()),n.setState({selectedOption:c})}};var i=n.props,s=i.formData,r=i.options,o=i.registry.schemaUtils,a=r.map((function(e){return o.retrieveSchema(e,s)}));return n.state={retrievedOptions:a,selectedOption:n.getMatchingOption(0,s,a)},n}Ei(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){var n=this.props,i=n.formData,s=n.options,r=n.idSchema,o=this.state.selectedOption,a=this.state;if(!(0,ft.deepEquals)(e.options,s)){var l=this.props.registry.schemaUtils;a={selectedOption:o,retrievedOptions:s.map((function(e){return l.retrieveSchema(e,i)}))}}if(!(0,ft.deepEquals)(i,e.formData)&&r.$id===e.idSchema.$id){var c=a.retrievedOptions,d=this.getMatchingOption(o,i,c);t&&d!==o&&(a={selectedOption:d,retrievedOptions:c})}a!==this.state&&this.setState(a)},n.getMatchingOption=function(e,t,n){var i,s=this.props,r=s.schema,o=s.registry.schemaUtils,a=(0,wt.Z)(r,"discriminator.propertyName",void 0);(0,Tt.Z)(a)?i=a:void 0!==a&&console.warn('Expecting discriminator to be a string, got "'+typeof a+'" instead');var l=o.getClosestMatchingOption(t,n,e,i);return l>0?l:e||0},n.getFieldId=function(){var e=this.props,t=e.idSchema,n=e.schema;return t.$id+(n.oneOf?"__oneof_select":"__anyof_select")},n.render=function(){var e,t=this.props,n=t.name,i=t.baseType,s=t.disabled,r=void 0!==s&&s,o=t.errorSchema,a=void 0===o?{}:o,l=t.formContext,c=t.onBlur,d=t.onFocus,h=t.registry,u=t.schema,p=t.uiSchema,m=h.widgets,g=h.fields,v=h.translateString,f=h.globalUiOptions,w=h.schemaUtils,y=g.SchemaField,x=this.state,b=x.selectedOption,C=x.retrievedOptions,_=(0,ft.getUiOptions)(p,f),S=_.widget,j=void 0===S?"select":S,I=_.placeholder,M=_.autofocus,L=_.autocomplete,k=_.title,E=void 0===k?u.title:k,T=Ai(_,Pi),A=(0,ft.getWidget)({type:"number"},j,m),F=(0,wt.Z)(a,ft.ERRORS_KEY,[]),z=(0,At.Z)(a,[ft.ERRORS_KEY]),O=w.getDisplayLabel(u,p,f),D=b>=0&&C[b]||null;D&&(e=D.type?D:Object.assign({},D,{type:i}));var H=E?ft.TranslatableString.TitleOptionPrefix:ft.TranslatableString.OptionPrefix,B=E?[E]:[],V=C.map((function(e,t){return{label:e.title||v(H,B.concat(String(t+1))),value:t}}));return(0,vt.jsxs)("div",{className:"panel panel-default panel-body",children:[(0,vt.jsx)("div",{className:"form-group",children:(0,vt.jsx)(A,{id:this.getFieldId(),name:n+(u.oneOf?"__oneof_select":"__anyof_select"),schema:{type:"number",default:0},onChange:this.onOptionChange,onBlur:c,onFocus:d,disabled:r||(0,yt.Z)(V),multiple:!1,rawErrors:F,errorSchema:z,value:b>=0?b:void 0,options:ki({enumOptions:V},T),registry:h,formContext:l,placeholder:I,autocomplete:L,autofocus:M,label:null!=E?E:n,hideLabel:!O})}),null!==D&&(0,vt.jsx)(y,ki({},this.props,{schema:e}))]})},t}(i.Component),$i=/\.([0-9]*0)*$/,Ui=/[0.]0*$/;function qi(e){var t=e.registry,n=e.onChange,s=e.formData,r=e.value,o=(0,i.useState)(r),a=o[0],l=o[1],c=t.fields.StringField,d=s,h=(0,i.useCallback)((function(e){l(e),"."===(""+e).charAt(0)&&(e="0"+e);var t="string"==typeof e&&e.match($i)?(0,ft.asNumber)(e.replace(Ui,"")):(0,ft.asNumber)(e);n(t)}),[n]);if("string"==typeof a&&"number"==typeof d){var u=new RegExp((""+d).replace(".","\\.")+"\\.?0*$");a.match(u)&&(d=a)}return(0,vt.jsx)(c,ki({},e,{formData:d,onChange:h}))}var Zi=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return(t=e.call.apply(e,[this].concat(i))||this).state={wasPropertyKeyModified:!1,additionalProperties:{}},t.onPropertyChange=function(e,n){return void 0===n&&(n=!1),function(i,s,r){var o,a,l=t.props,c=l.formData,d=l.onChange,h=l.errorSchema;void 0===i&&n&&(i=""),d(ki({},c,((o={})[e]=i,o)),h&&h&&ki({},h,((a={})[e]=s,a)),r)}},t.onDropPropertyClick=function(e){return function(n){n.preventDefault();var i,s,r=t.props,o=r.onChange,a=ki({},r.formData);s=e,null==(i=a)||(0,Mi.Z)(i,s),o(a)}},t.getAvailableKey=function(e,n){for(var i=t.props,s=i.uiSchema,r=i.registry,o=(0,ft.getUiOptions)(s,r.globalUiOptions).duplicateKeySuffixSeparator,a=void 0===o?"-":o,l=0,c=e;(0,Ii.Z)(n,c);)c=""+e+a+ ++l;return c},t.onKeyChange=function(e){return function(n,i){var s,r;if(e!==n){var o=t.props,a=o.formData,l=o.onChange,c=o.errorSchema;n=t.getAvailableKey(n,a);var d=ki({},a),h=((s={})[e]=n,s),u=Object.keys(d).map((function(e){var t;return(t={})[h[e]||e]=d[e],t})),p=Object.assign.apply(Object,[{}].concat(u));t.setState({wasPropertyKeyModified:!0}),l(p,c&&c&&ki({},c,((r={})[n]=i,r)))}}},t.handleAddClick=function(e){return function(){if(e.additionalProperties){var n=t.props,i=n.formData,s=n.onChange,r=n.registry,o=ki({},i),a=void 0;if((0,Lt.Z)(e.additionalProperties)){a=e.additionalProperties.type;var l=e.additionalProperties;ft.REF_KEY in l&&(a=(l=r.schemaUtils.retrieveSchema({$ref:l[ft.REF_KEY]},i)).type),a||!(ft.ANY_OF_KEY in l)&&!(ft.ONE_OF_KEY in l)||(a="object")}var c=t.getAvailableKey("newKey",o);(0,kt.Z)(o,c,t.getDefaultValue(a)),s(o)}}},t}Ei(t,e);var n=t.prototype;return n.isRequired=function(e){var t=this.props.schema;return Array.isArray(t.required)&&-1!==t.required.indexOf(e)},n.getDefaultValue=function(e){var t=this.props.registry.translateString;switch(e){case"array":return[];case"boolean":return!1;case"null":return null;case"number":return 0;case"object":return{};default:return t(ft.TranslatableString.NewStringDefault)}},n.render=function(){var e,t,n,i,s=this,r=this.props,o=r.schema,a=r.uiSchema,l=void 0===a?{}:a,c=r.formData,d=r.errorSchema,h=r.idSchema,u=r.name,p=r.required,m=void 0!==p&&p,g=r.disabled,v=void 0!==g&&g,f=r.readonly,w=void 0!==f&&f,y=r.hideError,x=r.idPrefix,b=r.idSeparator,C=r.onBlur,_=r.onFocus,S=r.registry,j=S.fields,I=S.formContext,M=S.schemaUtils,L=S.translateString,k=S.globalUiOptions,E=j.SchemaField,T=M.retrieveSchema(o,c),A=(0,ft.getUiOptions)(l,k),F=T.properties,z=void 0===F?{}:F,O=null!=(e=null!=(t=A.title)?t:T.title)?e:u,D=null!=(n=A.description)?n:T.description;try{var H=Object.keys(z);i=(0,ft.orderProperties)(H,A.order)}catch(e){return(0,vt.jsxs)("div",{children:[(0,vt.jsx)("p",{className:"config-error",style:{color:"red"},children:(0,vt.jsx)(ji,{children:L(ft.TranslatableString.InvalidObjectField,[u||"root",e.message])})}),(0,vt.jsx)("pre",{children:JSON.stringify(T)})]})}var B=(0,ft.getTemplate)("ObjectFieldTemplate",S,A),V={title:!1===A.label?"":O,description:!1===A.label?void 0:D,properties:i.map((function(e){var t=(0,Ii.Z)(T,[ft.PROPERTIES_KEY,e,ft.ADDITIONAL_PROPERTY_FLAG]),n=t?l.additionalProperties:l[e],i="hidden"===(0,ft.getUiOptions)(n).widget,r=(0,wt.Z)(h,[e],{});return{content:(0,vt.jsx)(E,{name:e,required:s.isRequired(e),schema:(0,wt.Z)(T,[ft.PROPERTIES_KEY,e],{}),uiSchema:n,errorSchema:(0,wt.Z)(d,e),idSchema:r,idPrefix:x,idSeparator:b,formData:(0,wt.Z)(c,e),formContext:I,wasPropertyKeyModified:s.state.wasPropertyKeyModified,onKeyChange:s.onKeyChange(e),onChange:s.onPropertyChange(e,t),onBlur:C,onFocus:_,registry:S,disabled:v,readonly:w,hideError:y,onDropPropertyClick:s.onDropPropertyClick},e),name:e,readonly:w,disabled:v,required:m,hidden:i}})),readonly:w,disabled:v,required:m,idSchema:h,uiSchema:l,errorSchema:d,schema:T,formData:c,formContext:I,registry:S};return(0,vt.jsx)(B,ki({},V,{onAddClick:this.handleAddClick}))},t}(i.Component),Gi=["__errors"],Ki={array:"ArrayField",boolean:"BooleanField",integer:"NumberField",number:"NumberField",object:"ObjectField",string:"StringField",null:"NullField"};function Yi(e){var t=e.schema,n=e.idSchema,s=e.uiSchema,r=e.formData,o=e.errorSchema,a=e.idPrefix,l=e.idSeparator,c=e.name,d=e.onChange,h=e.onKeyChange,u=e.onDropPropertyClick,p=e.required,m=e.registry,g=e.wasPropertyKeyModified,v=void 0!==g&&g,f=m.formContext,w=m.schemaUtils,y=m.globalUiOptions,x=(0,ft.getUiOptions)(s,y),b=(0,ft.getTemplate)("FieldTemplate",m,x),C=(0,ft.getTemplate)("DescriptionFieldTemplate",m,x),_=(0,ft.getTemplate)("FieldHelpTemplate",m,x),S=(0,ft.getTemplate)("FieldErrorTemplate",m,x),j=w.retrieveSchema(t,r),I=n[ft.ID_KEY],M=(0,ft.mergeObjects)(w.toIdSchema(j,I,r,a,l),n),L=(0,i.useCallback)((function(e,t,n){return d(e,t,n||I)}),[I,d]),k=function(e,t,n,i){var s=t.field,r=i.fields,o=i.translateString;if("function"==typeof s)return s;if("string"==typeof s&&s in r)return r[s];var a=(0,ft.getSchemaType)(e),l=Array.isArray(a)?a[0]:a||"",c=Ki[l];return c||!e.anyOf&&!e.oneOf?c in r?r[c]:function(){var s=(0,ft.getTemplate)("UnsupportedFieldTemplate",i,t);return(0,vt.jsx)(s,{schema:e,idSchema:n,reason:o(ft.TranslatableString.UnknownFieldType,[String(e.type)]),registry:i})}:function(){return null}}(j,x,M,m),E=Boolean(e.disabled||x.disabled),T=Boolean(e.readonly||x.readonly||e.schema.readOnly||j.readOnly),A=x.hideError,F=void 0===A?e.hideError:Boolean(A),z=Boolean(e.autofocus||x.autofocus);if(0===Object.keys(j).length)return null;var O=w.getDisplayLabel(j,s,y),D=o||{},H=D.__errors,B=Ai(D,Gi),V=(0,At.Z)(s,["ui:classNames","classNames","ui:style"]);ft.UI_OPTIONS_KEY in V&&(V[ft.UI_OPTIONS_KEY]=(0,At.Z)(V[ft.UI_OPTIONS_KEY],["classNames","style"]));var N,R=(0,vt.jsx)(k,ki({},e,{onChange:L,idSchema:M,schema:j,uiSchema:V,disabled:E,readonly:T,hideError:F,autofocus:z,errorSchema:B,formContext:f,rawErrors:H})),P=M[ft.ID_KEY];N=v||ft.ADDITIONAL_PROPERTY_FLAG in j?c:x.title||e.schema.title||j.title||c;var W=x.description||e.schema.description||j.description||"",$=x.help,U="hidden"===x.widget,q=["form-group","field","field-"+(0,ft.getSchemaType)(j)];!F&&H&&H.length>0&&q.push("field-error has-error has-danger"),null!=s&&s.classNames&&q.push(s.classNames),x.classNames&&q.push(x.classNames);var Z=(0,vt.jsx)(_,{help:$,idSchema:M,schema:j,uiSchema:s,hasErrors:!F&&H&&H.length>0,registry:m}),G=F?void 0:(0,vt.jsx)(S,{errors:H,errorSchema:o,idSchema:M,schema:j,uiSchema:s,registry:m}),K={description:(0,vt.jsx)(C,{id:(0,ft.descriptionId)(P),description:W,schema:j,uiSchema:s,registry:m}),rawDescription:W,help:Z,rawHelp:"string"==typeof $?$:void 0,errors:G,rawErrors:F?void 0:H,id:P,label:N,hidden:U,onChange:d,onKeyChange:h,onDropPropertyClick:u,required:p,disabled:E,readonly:T,hideError:F,displayLabel:O,classNames:q.join(" ").trim(),style:x.style,formContext:f,formData:r,schema:j,uiSchema:s,registry:m},Y=m.fields.AnyOfField,J=m.fields.OneOfField,X=(null==s?void 0:s["ui:field"])&&!0===(null==s?void 0:s["ui:fieldReplacesAnyOrOneOf"]);return(0,vt.jsx)(b,ki({},K,{children:(0,vt.jsxs)(vt.Fragment,{children:[R,j.anyOf&&!X&&!w.isSelect(j)&&(0,vt.jsx)(Y,{name:c,disabled:E,readonly:T,hideError:F,errorSchema:o,formData:r,formContext:f,idPrefix:a,idSchema:M,idSeparator:l,onBlur:e.onBlur,onChange:e.onChange,onFocus:e.onFocus,options:j.anyOf.map((function(e){return w.retrieveSchema((0,Lt.Z)(e)?e:{},r)})),baseType:j.type,registry:m,schema:j,uiSchema:s}),j.oneOf&&!X&&!w.isSelect(j)&&(0,vt.jsx)(J,{name:c,disabled:E,readonly:T,hideError:F,errorSchema:o,formData:r,formContext:f,idPrefix:a,idSchema:M,idSeparator:l,onBlur:e.onBlur,onChange:e.onChange,onFocus:e.onFocus,options:j.oneOf.map((function(e){return w.retrieveSchema((0,Lt.Z)(e)?e:{},r)})),baseType:j.type,registry:m,schema:j,uiSchema:s})]})}))}var Ji=function(e){function t(){return e.apply(this,arguments)||this}Ei(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!(0,ft.deepEquals)(this.props,e)},n.render=function(){return(0,vt.jsx)(Yi,ki({},this.props))},t}(i.Component),Xi=["widget","placeholder","title"];function Qi(e){var t,n=e.schema,i=e.name,s=e.uiSchema,r=e.idSchema,o=e.formData,a=e.required,l=e.disabled,c=void 0!==l&&l,d=e.readonly,h=void 0!==d&&d,u=e.autofocus,p=void 0!==u&&u,m=e.onChange,g=e.onBlur,v=e.onFocus,f=e.registry,w=e.rawErrors,y=n.title,x=n.format,b=f.widgets,C=f.formContext,_=f.schemaUtils,S=f.globalUiOptions,j=_.isSelect(n)?(0,ft.optionsList)(n):void 0,I=j?"select":"text";x&&(0,ft.hasWidget)(n,x,b)&&(I=x);var M=(0,ft.getUiOptions)(s),L=M.widget,k=void 0===L?I:L,E=M.placeholder,T=void 0===E?"":E,A=M.title,F=Ai(M,Xi),z=_.getDisplayLabel(n,s,S),O=null!=(t=null!=A?A:y)?t:i,D=(0,ft.getWidget)(n,k,b);return(0,vt.jsx)(D,{options:ki({},F,{enumOptions:j}),schema:n,uiSchema:s,id:r.$id,name:i,label:O,hideLabel:!z,value:o,onChange:m,onBlur:g,onFocus:v,required:a,disabled:c,readonly:h,formContext:C,autofocus:p,registry:f,placeholder:T,rawErrors:w})}function es(e){var t=e.formData,n=e.onChange;return(0,i.useEffect)((function(){void 0===t&&n(null)}),[t,n]),null}function ts(e){var t=e.idSchema,n=e.description,i=e.registry,s=e.schema,r=e.uiSchema,o=(0,ft.getUiOptions)(r,i.globalUiOptions),a=o.label;if(!n||void 0!==a&&!a)return null;var l=(0,ft.getTemplate)("DescriptionFieldTemplate",i,o);return(0,vt.jsx)(l,{id:(0,ft.descriptionId)(t),description:n,schema:s,uiSchema:r,registry:i})}function ns(e){var t=e.children,n=e.className,i=e.disabled,s=e.hasToolbar,r=e.hasMoveDown,o=e.hasMoveUp,a=e.hasRemove,l=e.hasCopy,c=e.index,d=e.onCopyIndexClick,h=e.onDropIndexClick,u=e.onReorderClick,p=e.readonly,m=e.registry,g=e.uiSchema,v=m.templates.ButtonTemplates,f=v.CopyButton,w=v.MoveDownButton,y=v.MoveUpButton,x=v.RemoveButton,b={flex:1,paddingLeft:6,paddingRight:6,fontWeight:"bold"};return(0,vt.jsxs)("div",{className:n,children:[(0,vt.jsx)("div",{className:s?"col-xs-9":"col-xs-12",children:t}),s&&(0,vt.jsx)("div",{className:"col-xs-3 array-item-toolbox",children:(0,vt.jsxs)("div",{className:"btn-group",style:{display:"flex",justifyContent:"space-around"},children:[(o||r)&&(0,vt.jsx)(y,{style:b,disabled:i||p||!o,onClick:u(c,c-1),uiSchema:g,registry:m}),(o||r)&&(0,vt.jsx)(w,{style:b,disabled:i||p||!r,onClick:u(c,c+1),uiSchema:g,registry:m}),l&&(0,vt.jsx)(f,{style:b,disabled:i||p,onClick:d(c),uiSchema:g,registry:m}),a&&(0,vt.jsx)(x,{style:b,disabled:i||p,onClick:h(c),uiSchema:g,registry:m})]})})]})}var is=["key"];function ss(e){var t=e.canAdd,n=e.className,i=e.disabled,s=e.idSchema,r=e.uiSchema,o=e.items,a=e.onAddClick,l=e.readonly,c=e.registry,d=e.required,h=e.schema,u=e.title,p=(0,ft.getUiOptions)(r),m=(0,ft.getTemplate)("ArrayFieldDescriptionTemplate",c,p),g=(0,ft.getTemplate)("ArrayFieldItemTemplate",c,p),v=(0,ft.getTemplate)("ArrayFieldTitleTemplate",c,p),f=c.templates.ButtonTemplates.AddButton;return(0,vt.jsxs)("fieldset",{className:n,id:s.$id,children:[(0,vt.jsx)(v,{idSchema:s,title:p.title||u,required:d,schema:h,uiSchema:r,registry:c}),(0,vt.jsx)(m,{idSchema:s,description:p.description||h.description,schema:h,uiSchema:r,registry:c}),(0,vt.jsx)("div",{className:"row array-item-list",children:o&&o.map((function(e){var t=e.key,n=Ai(e,is);return(0,vt.jsx)(g,ki({},n),t)}))}),t&&(0,vt.jsx)(f,{className:"array-item-add",onClick:a,disabled:i||l,uiSchema:r,registry:c})]})}function rs(e){var t=e.idSchema,n=e.title,i=e.schema,s=e.uiSchema,r=e.required,o=e.registry,a=(0,ft.getUiOptions)(s,o.globalUiOptions),l=a.label;if(!n||void 0!==l&&!l)return null;var c=(0,ft.getTemplate)("TitleFieldTemplate",o,a);return(0,vt.jsx)(c,{id:(0,ft.titleId)(t),title:n,required:r,schema:i,uiSchema:s,registry:o})}var os=["id","name","value","readonly","disabled","autofocus","onBlur","onFocus","onChange","onChangeOverride","options","schema","uiSchema","formContext","registry","rawErrors","type","hideLabel","hideError"];function as(e){var t=e.id,n=e.value,s=e.readonly,r=e.disabled,o=e.autofocus,a=e.onBlur,l=e.onFocus,c=e.onChange,d=e.onChangeOverride,h=e.options,u=e.schema,p=e.type,m=Ai(e,os);if(!t)throw console.log("No id for",e),new Error("no id for props "+JSON.stringify(e));var g,v=ki({},m,(0,ft.getInputProps)(u,p,h));g="number"===v.type||"integer"===v.type?n||0===n?n:"":null==n?"":n;var f=(0,i.useCallback)((function(e){var t=e.target.value;return c(""===t?h.emptyValue:t)}),[c,h]),w=(0,i.useCallback)((function(e){var n=e.target.value;return a(t,n)}),[a,t]),y=(0,i.useCallback)((function(e){var n=e.target.value;return l(t,n)}),[l,t]);return(0,vt.jsxs)(vt.Fragment,{children:[(0,vt.jsx)("input",ki({id:t,name:t,className:"form-control",readOnly:s,disabled:r,autoFocus:o,value:g},v,{list:u.examples?(0,ft.examplesId)(t):void 0,onChange:d||f,onBlur:w,onFocus:y,"aria-describedby":(0,ft.ariaDescribedByIds)(t,!!u.examples)})),Array.isArray(u.examples)&&(0,vt.jsx)("datalist",{id:(0,ft.examplesId)(t),children:u.examples.concat(u.default&&!u.examples.includes(u.default)?[u.default]:[]).map((function(e){return(0,vt.jsx)("option",{value:e},e)}))},"datalist_"+t)]})}function ls(e){var t=e.uiSchema,n=(0,ft.getSubmitButtonOptions)(t),i=n.submitText,s=n.norender,r=n.props,o=void 0===r?{}:r;return s?null:(0,vt.jsx)("div",{children:(0,vt.jsx)("button",ki({type:"submit"},o,{className:"btn btn-info "+(o.className||""),children:i}))})}var cs=["iconType","icon","className","uiSchema","registry"];function ds(e){var t=e.iconType,n=void 0===t?"default":t,i=e.icon,s=e.className,r=Ai(e,cs);return(0,vt.jsx)("button",ki({type:"button",className:"btn btn-"+n+" "+s},r,{children:(0,vt.jsx)("i",{className:"glyphicon glyphicon-"+i})}))}function hs(e){var t=e.registry.translateString;return(0,vt.jsx)(ds,ki({title:t(ft.TranslatableString.CopyButton),className:"array-item-copy"},e,{icon:"copy"}))}function us(e){var t=e.registry.translateString;return(0,vt.jsx)(ds,ki({title:t(ft.TranslatableString.MoveDownButton),className:"array-item-move-down"},e,{icon:"arrow-down"}))}function ps(e){var t=e.registry.translateString;return(0,vt.jsx)(ds,ki({title:t(ft.TranslatableString.MoveUpButton),className:"array-item-move-up"},e,{icon:"arrow-up"}))}function ms(e){var t=e.registry.translateString;return(0,vt.jsx)(ds,ki({title:t(ft.TranslatableString.RemoveButton),className:"array-item-remove"},e,{iconType:"danger",icon:"remove"}))}function gs(e){var t=e.className,n=e.onClick,i=e.disabled,s=e.registry,r=s.translateString;return(0,vt.jsx)("div",{className:"row",children:(0,vt.jsx)("p",{className:"col-xs-3 col-xs-offset-9 text-right "+t,children:(0,vt.jsx)(ds,{iconType:"info",icon:"plus",className:"btn-add col-xs-12",title:r(ft.TranslatableString.AddButton),onClick:n,disabled:i,registry:s})})})}function vs(e){var t=e.id,n=e.description;return n?"string"==typeof n?(0,vt.jsx)("p",{id:t,className:"field-description",children:n}):(0,vt.jsx)("div",{id:t,className:"field-description",children:n}):null}function fs(e){var t=e.errors,n=e.registry.translateString;return(0,vt.jsxs)("div",{className:"panel panel-danger errors",children:[(0,vt.jsx)("div",{className:"panel-heading",children:(0,vt.jsx)("h3",{className:"panel-title",children:n(ft.TranslatableString.ErrorsLabel)})}),(0,vt.jsx)("ul",{className:"list-group",children:t.map((function(e,t){return(0,vt.jsx)("li",{className:"list-group-item text-danger",children:e.stack},t)}))})]})}var ws="*";function ys(e){var t=e.label,n=e.required,i=e.id;return t?(0,vt.jsxs)("label",{className:"control-label",htmlFor:i,children:[t,n&&(0,vt.jsx)("span",{className:"required",children:ws})]}):null}function xs(e){var t=e.id,n=e.label,i=e.children,s=e.errors,r=e.help,o=e.description,a=e.hidden,l=e.required,c=e.displayLabel,d=e.registry,h=e.uiSchema,u=(0,ft.getUiOptions)(h),p=(0,ft.getTemplate)("WrapIfAdditionalTemplate",d,u);return a?(0,vt.jsx)("div",{className:"hidden",children:i}):(0,vt.jsxs)(p,ki({},e,{children:[c&&(0,vt.jsx)(ys,{label:n,required:l,id:t}),c&&o?o:null,i,s,r]}))}function bs(e){var t=e.errors,n=void 0===t?[]:t,i=e.idSchema;if(0===n.length)return null;var s=(0,ft.errorId)(i);return(0,vt.jsx)("div",{children:(0,vt.jsx)("ul",{id:s,className:"error-detail bs-callout bs-callout-info",children:n.filter((function(e){return!!e})).map((function(e,t){return(0,vt.jsx)("li",{className:"text-danger",children:e},t)}))})})}function Cs(e){var t=e.idSchema,n=e.help;if(!n)return null;var i=(0,ft.helpId)(t);return"string"==typeof n?(0,vt.jsx)("p",{id:i,className:"help-block",children:n}):(0,vt.jsx)("div",{id:i,className:"help-block",children:n})}function _s(e){var t=e.description,n=e.disabled,i=e.formData,s=e.idSchema,r=e.onAddClick,o=e.properties,a=e.readonly,l=e.registry,c=e.required,d=e.schema,h=e.title,u=e.uiSchema,p=(0,ft.getUiOptions)(u),m=(0,ft.getTemplate)("TitleFieldTemplate",l,p),g=(0,ft.getTemplate)("DescriptionFieldTemplate",l,p),v=l.templates.ButtonTemplates.AddButton;return(0,vt.jsxs)("fieldset",{id:s.$id,children:[h&&(0,vt.jsx)(m,{id:(0,ft.titleId)(s),title:h,required:c,schema:d,uiSchema:u,registry:l}),t&&(0,vt.jsx)(g,{id:(0,ft.descriptionId)(s),description:t,schema:d,uiSchema:u,registry:l}),o.map((function(e){return e.content})),(0,ft.canExpand)(d,u,i)&&(0,vt.jsx)(v,{className:"object-property-expand",onClick:r(d),disabled:n||a,uiSchema:u,registry:l})]})}var Ss="*";function js(e){var t=e.id,n=e.title,i=e.required;return(0,vt.jsxs)("legend",{id:t,children:[n,i&&(0,vt.jsx)("span",{className:"required",children:Ss})]})}function Is(e){var t=e.schema,n=e.idSchema,i=e.reason,s=e.registry.translateString,r=ft.TranslatableString.UnsupportedField,o=[];return n&&n.$id&&(r=ft.TranslatableString.UnsupportedFieldWithId,o.push(n.$id)),i&&(r=r===ft.TranslatableString.UnsupportedField?ft.TranslatableString.UnsupportedFieldWithReason:ft.TranslatableString.UnsupportedFieldWithIdAndReason,o.push(i)),(0,vt.jsxs)("div",{className:"unsupported-field",children:[(0,vt.jsx)("p",{children:(0,vt.jsx)(ji,{children:s(r,o)})}),t&&(0,vt.jsx)("pre",{children:JSON.stringify(t,null,2)})]})}function Ms(e){var t=e.id,n=e.classNames,i=e.style,s=e.disabled,r=e.label,o=e.onKeyChange,a=e.onDropPropertyClick,l=e.readonly,c=e.required,d=e.schema,h=e.children,u=e.uiSchema,p=e.registry,m=p.templates,g=p.translateString,v=m.ButtonTemplates.RemoveButton,f=g(ft.TranslatableString.KeyLabel,[r]);return ft.ADDITIONAL_PROPERTY_FLAG in d?(0,vt.jsx)("div",{className:n,style:i,children:(0,vt.jsxs)("div",{className:"row",children:[(0,vt.jsx)("div",{className:"col-xs-5 form-additional",children:(0,vt.jsxs)("div",{className:"form-group",children:[(0,vt.jsx)(ys,{label:f,required:c,id:t+"-key"}),(0,vt.jsx)("input",{className:"form-control",type:"text",id:t+"-key",onBlur:function(e){return o(e.target.value)},defaultValue:r})]})}),(0,vt.jsx)("div",{className:"form-additional form-group col-xs-5",children:h}),(0,vt.jsx)("div",{className:"col-xs-2",children:(0,vt.jsx)(v,{className:"array-item-remove btn-block",style:{border:"0"},disabled:s||l,onClick:a(r),uiSchema:u,registry:p})})]})}):(0,vt.jsx)("div",{className:n,style:i,children:h})}function Ls(e,t){for(var n=[],i=e;i<=t;i++)n.push({value:i,label:(0,ft.pad)(i,2)});return n}function ks(e,t,n){void 0===n&&(n=[1900,(new Date).getFullYear()+2]);var i=e.year,s=e.month,r=e.day,o=e.hour,a=e.minute,l=e.second,c=[{type:"year",range:n,value:i},{type:"month",range:[1,12],value:s},{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 Es(e){var t=e.type,n=e.range,i=e.value,s=e.select,r=e.rootId,o=e.name,a=e.disabled,l=e.readonly,c=e.autofocus,d=e.registry,h=e.onBlur,u=e.onFocus,p=r+"_"+t,m=d.widgets.SelectWidget;return(0,vt.jsx)(m,{schema:{type:"integer"},id:p,name:o,className:"form-control",options:{enumOptions:Ls(n[0],n[1])},placeholder:t,value:i,disabled:a,readonly:l,autofocus:c,onChange:function(e){return s(t,e)},onBlur:h,onFocus:u,registry:d,label:"","aria-describedby":(0,ft.ariaDescribedByIds)(r)})}function Ts(e){var t=e.time,n=void 0!==t&&t,s=e.disabled,r=void 0!==s&&s,o=e.readonly,a=void 0!==o&&o,l=e.autofocus,c=void 0!==l&&l,d=e.options,h=e.id,u=e.name,p=e.registry,m=e.onBlur,g=e.onFocus,v=e.onChange,f=e.value,w=p.translateString,y=(0,i.useState)(f),x=y[0],b=y[1],C=(0,i.useReducer)((function(e,t){return ki({},e,t)}),(0,ft.parseDateString)(f,n)),_=C[0],S=C[1];(0,i.useEffect)((function(){var e=(0,ft.toDateString)(_,n);!function(e){return Object.values(e).every((function(e){return-1!==e}))}(_)||e===f?x!==f&&(b(f),S((0,ft.parseDateString)(f,n))):v(e)}),[n,f,v,_,x]);var j=(0,i.useCallback)((function(e,t){var n;S(((n={})[e]=t,n))}),[]),I=(0,i.useCallback)((function(e){if(e.preventDefault(),!r&&!a){var t=(0,ft.parseDateString)((new Date).toJSON(),n);v((0,ft.toDateString)(t,n))}}),[r,a,n]),M=(0,i.useCallback)((function(e){e.preventDefault(),r||a||v(void 0)}),[r,a,v]);return(0,vt.jsxs)("ul",{className:"list-inline",children:[ks(_,n,d.yearsRange).map((function(e,t){return(0,vt.jsx)("li",{className:"list-inline-item",children:(0,vt.jsx)(Es,ki({rootId:h,name:u,select:j},e,{disabled:r,readonly:a,registry:p,onBlur:m,onFocus:g,autofocus:c&&0===t}))},t)})),("undefined"===d.hideNowButton||!d.hideNowButton)&&(0,vt.jsx)("li",{className:"list-inline-item",children:(0,vt.jsx)("a",{href:"#",className:"btn btn-info btn-now",onClick:I,children:w(ft.TranslatableString.NowLabel)})}),("undefined"===d.hideClearButton||!d.hideClearButton)&&(0,vt.jsx)("li",{className:"list-inline-item",children:(0,vt.jsx)("a",{href:"#",className:"btn btn-warning btn-clear",onClick:M,children:w(ft.TranslatableString.ClearLabel)})})]})}var As=["time"];function Fs(e){var t=e.time,n=void 0===t||t,i=Ai(e,As),s=i.registry.widgets.AltDateWidget;return(0,vt.jsx)(s,ki({time:n},i))}function zs(e){var t,n=e.schema,s=e.uiSchema,r=e.options,o=e.id,a=e.value,l=e.disabled,c=e.readonly,d=e.label,h=e.hideLabel,u=e.autofocus,p=void 0!==u&&u,m=e.onBlur,g=e.onFocus,v=e.onChange,f=e.registry,w=(0,ft.getTemplate)("DescriptionFieldTemplate",f,r),y=(0,ft.schemaRequiresTrueValue)(n),x=(0,i.useCallback)((function(e){return v(e.target.checked)}),[v]),b=(0,i.useCallback)((function(e){return m(o,e.target.checked)}),[m,o]),C=(0,i.useCallback)((function(e){return g(o,e.target.checked)}),[g,o]),_=null!=(t=r.description)?t:n.description;return(0,vt.jsxs)("div",{className:"checkbox "+(l||c?"disabled":""),children:[!h&&!!_&&(0,vt.jsx)(w,{id:(0,ft.descriptionId)(o),description:_,schema:n,uiSchema:s,registry:f}),(0,vt.jsxs)("label",{children:[(0,vt.jsx)("input",{type:"checkbox",id:o,name:o,checked:void 0!==a&&a,required:y,disabled:l||c,autoFocus:p,onChange:x,onBlur:b,onFocus:C,"aria-describedby":(0,ft.ariaDescribedByIds)(o)}),(0,ft.labelValue)((0,vt.jsx)("span",{children:d}),h)]})]})}function Os(e){var t=e.id,n=e.disabled,s=e.options,r=s.inline,o=void 0!==r&&r,a=s.enumOptions,l=s.enumDisabled,c=s.emptyValue,d=e.value,h=e.autofocus,u=void 0!==h&&h,p=e.readonly,m=e.onChange,g=e.onBlur,v=e.onFocus,f=Array.isArray(d)?d:[d],w=(0,i.useCallback)((function(e){var n=e.target.value;return g(t,(0,ft.enumOptionsValueForIndex)(n,a,c))}),[g,t]),y=(0,i.useCallback)((function(e){var n=e.target.value;return v(t,(0,ft.enumOptionsValueForIndex)(n,a,c))}),[v,t]);return(0,vt.jsx)("div",{className:"checkboxes",id:t,children:Array.isArray(a)&&a.map((function(e,i){var s=(0,ft.enumOptionsIsSelected)(e.value,f),r=Array.isArray(l)&&-1!==l.indexOf(e.value),c=n||r||p?"disabled":"",d=(0,vt.jsxs)("span",{children:[(0,vt.jsx)("input",{type:"checkbox",id:(0,ft.optionId)(t,i),name:t,checked:s,value:String(i),disabled:n||r||p,autoFocus:u&&0===i,onChange:function(e){e.target.checked?m((0,ft.enumOptionsSelectValue)(i,f,a)):m((0,ft.enumOptionsDeselectValue)(i,f,a))},onBlur:w,onFocus:y,"aria-describedby":(0,ft.ariaDescribedByIds)(t)}),(0,vt.jsx)("span",{children:e.label})]});return o?(0,vt.jsx)("label",{className:"checkbox-inline "+c,children:d},i):(0,vt.jsx)("div",{className:"checkbox "+c,children:(0,vt.jsx)("label",{children:d})},i)}))})}function Ds(e){var t=e.disabled,n=e.readonly,i=e.options,s=e.registry,r=(0,ft.getTemplate)("BaseInputTemplate",s,i);return(0,vt.jsx)(r,ki({type:"color"},e,{disabled:t||n}))}function Hs(e){var t=e.onChange,n=e.options,s=e.registry,r=(0,ft.getTemplate)("BaseInputTemplate",s,n),o=(0,i.useCallback)((function(e){return t(e||void 0)}),[t]);return(0,vt.jsx)(r,ki({type:"date"},e,{onChange:o}))}function Bs(e){var t=e.onChange,n=e.value,i=e.options,s=e.registry,r=(0,ft.getTemplate)("BaseInputTemplate",s,i);return(0,vt.jsx)(r,ki({type:"datetime-local"},e,{value:(0,ft.utcToLocal)(n),onChange:function(e){return t((0,ft.localToUTC)(e))}}))}function Vs(e){var t=e.options,n=e.registry,i=(0,ft.getTemplate)("BaseInputTemplate",n,t);return(0,vt.jsx)(i,ki({type:"email"},e))}function Ns(e,t){return null===e?null:e.replace(";base64",";name="+encodeURIComponent(t)+";base64")}function Rs(e){var t=e.name,n=e.size,i=e.type;return new Promise((function(s,r){var o=new window.FileReader;o.onerror=r,o.onload=function(e){var r;"string"==typeof(null===(r=e.target)||void 0===r?void 0:r.result)?s({dataURL:Ns(e.target.result,t),name:t,size:n,type:i}):s({dataURL:null,name:t,size:n,type:i})},o.readAsDataURL(e)}))}function Ps(e){var t=e.fileInfo,n=e.registry.translateString,i=t.dataURL,s=t.type,r=t.name;return i?-1!==s.indexOf("image")?(0,vt.jsx)("img",{src:i,style:{maxWidth:"100%"},className:"file-preview"}):(0,vt.jsxs)(vt.Fragment,{children:[" ",(0,vt.jsx)("a",{download:"preview-"+r,href:i,className:"file-download",children:n(ft.TranslatableString.PreviewLabel)})]}):null}function Ws(e){var t=e.filesInfo,n=e.registry,i=e.preview;if(0===t.length)return null;var s=n.translateString;return(0,vt.jsx)("ul",{className:"file-info",children:t.map((function(e,t){var r=e.name,o=e.size,a=e.type;return(0,vt.jsxs)("li",{children:[(0,vt.jsx)(ji,{children:s(ft.TranslatableString.FilesInfo,[r,a,String(o)])}),i&&(0,vt.jsx)(Ps,{fileInfo:e,registry:n})]},t)}))})}function $s(e){return e.filter((function(e){return e})).map((function(e){var t=(0,ft.dataURItoBlob)(e),n=t.blob;return{dataURL:e,name:t.name,size:n.size,type:n.type}}))}function Us(e){var t=e.disabled,n=e.readonly,s=e.required,r=e.multiple,o=e.onChange,a=e.value,l=e.options,c=e.registry,d=(0,ft.getTemplate)("BaseInputTemplate",c,l),h=(0,i.useMemo)((function(){return Array.isArray(a)?$s(a):$s([a])}),[a]),u=(0,i.useState)(h),p=u[0],m=u[1],g=(0,i.useCallback)((function(e){var t;e.target.files&&(t=e.target.files,Promise.all(Array.from(t).map(Rs))).then((function(e){m(e);var t=e.map((function(e){return e.dataURL}));o(r?t:t[0])}))}),[r,o]);return(0,vt.jsxs)("div",{children:[(0,vt.jsx)(d,ki({},e,{disabled:t||n,type:"file",required:!a&&s,onChangeOverride:g,value:"",accept:l.accept?String(l.accept):void 0})),(0,vt.jsx)(Ws,{filesInfo:p,registry:c,preview:l.filePreview})]})}function qs(e){var t=e.id,n=e.value;return(0,vt.jsx)("input",{type:"hidden",id:t,name:t,value:void 0===n?"":n})}function Zs(e){var t=e.options,n=e.registry,i=(0,ft.getTemplate)("BaseInputTemplate",n,t);return(0,vt.jsx)(i,ki({type:"password"},e))}function Gs(e){var t=e.options,n=e.value,s=e.required,r=e.disabled,o=e.readonly,a=e.autofocus,l=void 0!==a&&a,c=e.onBlur,d=e.onFocus,h=e.onChange,u=e.id,p=t.enumOptions,m=t.enumDisabled,g=t.inline,v=t.emptyValue,f=(0,i.useCallback)((function(e){var t=e.target.value;return c(u,(0,ft.enumOptionsValueForIndex)(t,p,v))}),[c,u]),w=(0,i.useCallback)((function(e){var t=e.target.value;return d(u,(0,ft.enumOptionsValueForIndex)(t,p,v))}),[d,u]);return(0,vt.jsx)("div",{className:"field-radio-group",id:u,children:Array.isArray(p)&&p.map((function(e,t){var i=(0,ft.enumOptionsIsSelected)(e.value,n),a=Array.isArray(m)&&-1!==m.indexOf(e.value),c=r||a||o?"disabled":"",d=(0,vt.jsxs)("span",{children:[(0,vt.jsx)("input",{type:"radio",id:(0,ft.optionId)(u,t),checked:i,name:u,required:s,value:String(t),disabled:r||a||o,autoFocus:l&&0===t,onChange:function(){return h(e.value)},onBlur:f,onFocus:w,"aria-describedby":(0,ft.ariaDescribedByIds)(u)}),(0,vt.jsx)("span",{children:e.label})]});return g?(0,vt.jsx)("label",{className:"radio-inline "+c,children:d},t):(0,vt.jsx)("div",{className:"radio "+c,children:(0,vt.jsx)("label",{children:d})},t)}))})}function Ks(e){var t=e.value,n=e.registry.templates.BaseInputTemplate;return(0,vt.jsxs)("div",{className:"field-range-wrapper",children:[(0,vt.jsx)(n,ki({type:"range"},e)),(0,vt.jsx)("span",{className:"range-view",children:t})]})}function Ys(e,t){return t?Array.from(e.target.options).slice().filter((function(e){return e.selected})).map((function(e){return e.value})):e.target.value}function Js(e){var t=e.schema,n=e.id,s=e.options,r=e.value,o=e.required,a=e.disabled,l=e.readonly,c=e.multiple,d=void 0!==c&&c,h=e.autofocus,u=void 0!==h&&h,p=e.onChange,m=e.onBlur,g=e.onFocus,v=e.placeholder,f=s.enumOptions,w=s.enumDisabled,y=s.emptyValue,x=d?[]:"",b=(0,i.useCallback)((function(e){var t=Ys(e,d);return g(n,(0,ft.enumOptionsValueForIndex)(t,f,y))}),[g,n,t,d,s]),C=(0,i.useCallback)((function(e){var t=Ys(e,d);return m(n,(0,ft.enumOptionsValueForIndex)(t,f,y))}),[m,n,t,d,s]),_=(0,i.useCallback)((function(e){var t=Ys(e,d);return p((0,ft.enumOptionsValueForIndex)(t,f,y))}),[p,t,d,s]),S=(0,ft.enumOptionsIndexForValue)(r,f,d);return(0,vt.jsxs)("select",{id:n,name:n,multiple:d,className:"form-control",value:void 0===S?x:S,required:o,disabled:a||l,autoFocus:u,onBlur:C,onFocus:b,onChange:_,"aria-describedby":(0,ft.ariaDescribedByIds)(n),children:[!d&&void 0===t.default&&(0,vt.jsx)("option",{value:"",children:v}),Array.isArray(f)&&f.map((function(e,t){var n=e.value,i=e.label,s=w&&-1!==w.indexOf(n);return(0,vt.jsx)("option",{value:String(t),disabled:s,children:i},t)}))]})}function Xs(e){var t=e.id,n=e.options,s=void 0===n?{}:n,r=e.placeholder,o=e.value,a=e.required,l=e.disabled,c=e.readonly,d=e.autofocus,h=void 0!==d&&d,u=e.onChange,p=e.onBlur,m=e.onFocus,g=(0,i.useCallback)((function(e){var t=e.target.value;return u(""===t?s.emptyValue:t)}),[u,s.emptyValue]),v=(0,i.useCallback)((function(e){var n=e.target.value;return p(t,n)}),[p,t]),f=(0,i.useCallback)((function(e){var n=e.target.value;return m(t,n)}),[t,m]);return(0,vt.jsx)("textarea",{id:t,name:t,className:"form-control",value:o||"",placeholder:r,required:a,disabled:l,readOnly:c,autoFocus:h,rows:s.rows,onBlur:v,onFocus:f,onChange:g,"aria-describedby":(0,ft.ariaDescribedByIds)(t)})}function Qs(e){var t=e.options,n=e.registry,i=(0,ft.getTemplate)("BaseInputTemplate",n,t);return(0,vt.jsx)(i,ki({},e))}function er(e){var t=e.onChange,n=e.options,s=e.registry,r=(0,ft.getTemplate)("BaseInputTemplate",s,n),o=(0,i.useCallback)((function(e){return t(e?e+":00":void 0)}),[t]);return(0,vt.jsx)(r,ki({type:"time"},e,{onChange:o}))}function tr(e){var t=e.options,n=e.registry,i=(0,ft.getTemplate)("BaseInputTemplate",n,t);return(0,vt.jsx)(i,ki({type:"url"},e))}function nr(e){var t=e.options,n=e.registry,i=(0,ft.getTemplate)("BaseInputTemplate",n,t);return(0,vt.jsx)(i,ki({type:"number"},e))}Xs.defaultProps={autofocus:!1,options:{}};var ir=function(e){function t(t){var n;if((n=e.call(this,t)||this).formElement=void 0,n.getUsedFormData=function(e,t){if(0===t.length&&"object"!=typeof e)return e;var n=jt(e,t);return Array.isArray(e)?Object.keys(n).map((function(e){return n[e]})):n},n.getFieldNames=function(e,t){return function e(n,i,s){return void 0===i&&(i=[]),void 0===s&&(s=[[]]),Object.keys(n).forEach((function(r){if("object"==typeof n[r]){var o=s.map((function(e){return[].concat(e,[r])}));n[r][ft.RJSF_ADDITONAL_PROPERTIES_FLAG]&&""!==n[r][ft.NAME_KEY]?i.push(n[r][ft.NAME_KEY]):e(n[r],i,o)}else r===ft.NAME_KEY&&""!==n[r]&&s.forEach((function(e){var n=(0,wt.Z)(t,e);("object"!=typeof n||(0,yt.Z)(n))&&i.push(e)}))})),i}(e)},n.onChange=function(e,t,i){var s=n.props,r=s.extraErrors,o=s.omitExtraData,a=s.liveOmit,l=s.noValidate,c=s.liveValidate,d=s.onChange,h=n.state,u=h.schemaUtils,p=h.schema;((0,ft.isObject)(e)||Array.isArray(e))&&(e=n.getStateFromProps(n.props,e).formData);var m=!l&&c,g={formData:e,schema:p},v=e;if(!0===o&&!0===a){var f=u.retrieveSchema(p,e),w=u.toPathSchema(f,"",e),y=n.getFieldNames(w,e);v=n.getUsedFormData(e,y),g={formData:v}}if(m){var x=n.validate(v),b=x.errors,C=x.errorSchema,_=b,S=C;if(r){var j=(0,ft.validationDataMerge)(x,r);C=j.errorSchema,b=j.errors}g={formData:v,errors:b,errorSchema:C,schemaValidationErrors:_,schemaValidationErrorSchema:S}}else if(!l&&t){var I=r?(0,ft.mergeObjects)(t,r,"preventDuplicates"):t;g={formData:v,errorSchema:I,errors:(0,ft.toErrorList)(I)}}n.setState(g,(function(){return d&&d(ki({},n.state,g),i)}))},n.reset=function(){var e=n.props.onChange,t={formData:n.getStateFromProps(n.props,void 0).formData,errorSchema:{},errors:[],schemaValidationErrors:[],schemaValidationErrorSchema:{}};n.setState(t,(function(){return e&&e(ki({},n.state,t))}))},n.onBlur=function(e,t){var i=n.props.onBlur;i&&i(e,t)},n.onFocus=function(e,t){var i=n.props.onFocus;i&&i(e,t)},n.onSubmit=function(e){if(e.preventDefault(),e.target===e.currentTarget){e.persist();var t=n.props,i=t.omitExtraData,s=t.extraErrors,r=t.noValidate,o=t.onSubmit,a=n.state.formData,l=n.state,c=l.schema,d=l.schemaUtils;if(!0===i){var h=d.retrieveSchema(c,a),u=d.toPathSchema(h,"",a),p=n.getFieldNames(u,a);a=n.getUsedFormData(a,p)}if(r||n.validateForm()){var m=s||{},g=s?(0,ft.toErrorList)(s):[];n.setState({formData:a,errors:g,errorSchema:m,schemaValidationErrors:[],schemaValidationErrorSchema:{}},(function(){o&&o(ki({},n.state,{formData:a,status:"submitted"}),e)}))}}},!t.validator)throw new Error("A validator is required for Form functionality to work");return n.state=n.getStateFromProps(t,t.formData),n.props.onChange&&!(0,ft.deepEquals)(n.state.formData,n.props.formData)&&n.props.onChange(n.state),n.formElement=(0,i.createRef)(),n}Ei(t,e);var n=t.prototype;return n.UNSAFE_componentWillReceiveProps=function(e){var t=this.getStateFromProps(e,e.formData);(0,ft.deepEquals)(t.formData,e.formData)||(0,ft.deepEquals)(t.formData,this.state.formData)||!e.onChange||e.onChange(t),this.setState(t)},n.getStateFromProps=function(e,t){var n=this.state||{},i="schema"in e?e.schema:this.props.schema,s=("uiSchema"in e?e.uiSchema:this.props.uiSchema)||{},r=void 0!==t,o="liveValidate"in e?e.liveValidate:this.props.liveValidate,a=r&&!e.noValidate&&o,l=i,c=n.schemaUtils;c&&!c.doesSchemaUtilsDiffer(e.validator,l)||(c=(0,ft.createSchemaUtils)(e.validator,l));var d,h,u=c.getDefaultFormState(i,t),p=c.retrieveSchema(i,u),m=n.schemaValidationErrors,g=n.schemaValidationErrorSchema;if(a){var v=this.validate(u,i,c);m=d=v.errors,g=h=v.errorSchema}else{var f=e.noValidate?{errors:[],errorSchema:{}}:e.liveValidate?{errors:n.errors||[],errorSchema:n.errorSchema||{}}:{errors:n.schemaValidationErrors||[],errorSchema:n.schemaValidationErrorSchema||{}};d=f.errors,h=f.errorSchema}if(e.extraErrors){var w=(0,ft.validationDataMerge)({errorSchema:h,errors:d},e.extraErrors);h=w.errorSchema,d=w.errors}var y=c.toIdSchema(p,s["ui:rootFieldId"],u,e.idPrefix,e.idSeparator);return{schemaUtils:c,schema:i,uiSchema:s,idSchema:y,formData:u,edit:r,errors:d,errorSchema:h,schemaValidationErrors:m,schemaValidationErrorSchema:g}},n.shouldComponentUpdate=function(e,t){return(0,ft.shouldRender)(this,e,t)},n.validate=function(e,t,n){void 0===t&&(t=this.props.schema);var i=n||this.state.schemaUtils,s=this.props,r=s.customValidate,o=s.transformErrors,a=s.uiSchema,l=i.retrieveSchema(t,e);return i.getValidator().validateFormData(e,l,r,o,a)},n.renderErrors=function(e){var t=this.state,n=t.errors,i=t.errorSchema,s=t.schema,r=t.uiSchema,o=this.props.formContext,a=(0,ft.getUiOptions)(r),l=(0,ft.getTemplate)("ErrorListTemplate",e,a);return n&&n.length?(0,vt.jsx)(l,{errors:n,errorSchema:i||{},schema:s,uiSchema:r,formContext:o,registry:e}):null},n.getRegistry=function(){var e,t=this.props,n=t.translateString,i=t.uiSchema,s=void 0===i?{}:i,r=this.state.schemaUtils,o={fields:{AnyOfField:Wi,ArrayField:Vi,BooleanField:Ri,NumberField:qi,ObjectField:Zi,OneOfField:Wi,SchemaField:Ji,StringField:Qi,NullField:es},templates:{ArrayFieldDescriptionTemplate:ts,ArrayFieldItemTemplate:ns,ArrayFieldTemplate:ss,ArrayFieldTitleTemplate:rs,ButtonTemplates:{SubmitButton:ls,AddButton:gs,CopyButton:hs,MoveDownButton:us,MoveUpButton:ps,RemoveButton:ms},BaseInputTemplate:as,DescriptionFieldTemplate:vs,ErrorListTemplate:fs,FieldTemplate:xs,FieldErrorTemplate:bs,FieldHelpTemplate:Cs,ObjectFieldTemplate:_s,TitleFieldTemplate:js,UnsupportedFieldTemplate:Is,WrapIfAdditionalTemplate:Ms},widgets:{AltDateWidget:Ts,AltDateTimeWidget:Fs,CheckboxWidget:zs,CheckboxesWidget:Os,ColorWidget:Ds,DateWidget:Hs,DateTimeWidget:Bs,EmailWidget:Vs,FileWidget:Us,HiddenWidget:qs,PasswordWidget:Zs,RadioWidget:Gs,RangeWidget:Ks,SelectWidget:Js,TextWidget:Qs,TextareaWidget:Xs,TimeWidget:er,UpDownWidget:nr,URLWidget:tr},rootSchema:{},formContext:{},translateString:ft.englishStringTranslator},a=o.templates,l=o.widgets,c=o.formContext,d=o.translateString;return{fields:ki({},o.fields,this.props.fields),templates:ki({},a,this.props.templates,{ButtonTemplates:ki({},a.ButtonTemplates,null===(e=this.props.templates)||void 0===e?void 0:e.ButtonTemplates)}),widgets:ki({},l,this.props.widgets),rootSchema:this.props.schema,formContext:this.props.formContext||c,schemaUtils:r,translateString:n||d,globalUiOptions:s[ft.UI_GLOBAL_OPTIONS_KEY]}},n.submit=function(){this.formElement.current&&(this.formElement.current.dispatchEvent(new CustomEvent("submit",{cancelable:!0})),this.formElement.current.requestSubmit())},n.focusOnError=function(e){var t=this.props,n=t.idPrefix,i=void 0===n?"root":n,s=t.idSeparator,r=void 0===s?"_":s,o=e.property,a=(0,It.Z)(o);""===a[0]?a[0]=i:a.unshift(i);var l=a.join(r),c=this.formElement.current.elements[l];c||(c=this.formElement.current.querySelector("input[id^="+l)),c.length&&(c=c[0]),c&&c.focus()},n.validateForm=function(){var e=this.props,t=e.extraErrors,n=e.focusOnFirstError,i=e.onError,s=this.state.formData,r=this.validate(s),o=r.errors,a=r.errorSchema,l=o,c=a;if(o.length>0){if(t){var d=(0,ft.validationDataMerge)(r,t);a=d.errorSchema,o=d.errors}return n&&("function"==typeof n?n(r.errors[0]):this.focusOnError(r.errors[0])),this.setState({errors:o,errorSchema:a,schemaValidationErrors:l,schemaValidationErrorSchema:c},(function(){i?i(o):console.error("Form validation failed",o)})),!1}return!0},n.render=function(){var e,t,n=this.props,i=n.children,s=n.id,r=n.idPrefix,o=n.idSeparator,a=n.className,l=void 0===a?"":a,c=n.tagName,d=n.name,h=n.method,u=n.target,p=n.action,m=n.autoComplete,g=n.enctype,v=n.acceptcharset,f=n.noHtml5Validate,w=void 0!==f&&f,y=n.disabled,x=void 0!==y&&y,b=n.readonly,C=void 0!==b&&b,_=n.formContext,S=n.showErrorList,j=void 0===S?"top":S,I=n._internalFormWrapper,M=this.state,L=M.schema,k=M.uiSchema,E=M.formData,T=M.errorSchema,A=M.idSchema,F=this.getRegistry(),z=F.fields.SchemaField,O=F.templates.ButtonTemplates.SubmitButton,D=I?c:void 0,H=I||c||"form",B=(0,ft.getUiOptions)(k)[ft.SUBMIT_BTN_OPTIONS_KEY],V=void 0===B?{}:B;x&&(V=ki({},V,{props:ki({},V.props,{disabled:!0})}));var N=((t={})[ft.UI_OPTIONS_KEY]=((e={})[ft.SUBMIT_BTN_OPTIONS_KEY]=V,e),t);return(0,vt.jsxs)(H,{className:l||"rjsf",id:s,name:d,method:h,target:u,action:p,autoComplete:m,encType:g,acceptCharset:v,noValidate:w,onSubmit:this.onSubmit,as:D,ref:this.formElement,children:["top"===j&&this.renderErrors(F),(0,vt.jsx)(z,{name:"",schema:L,uiSchema:k,errorSchema:T,idSchema:A,idPrefix:r,idSeparator:o,formContext:_,formData:E,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,registry:F,disabled:x,readonly:C}),i||(0,vt.jsx)(O,{uiSchema:N,registry:F}),"bottom"===j&&this.renderErrors(F)]})},t}(i.Component);const sr={submitButtonOptions:{norender:!0}},rr=e=>{var t;const n=(null!==(t=e.translator)&&void 0!==t?t:gt.nullTranslator).load("jupyterlab");let i;if("icons"===e.buttonStyle){const t={tag:"span",elementSize:"xlarge",elementPosition:"center"};i="up"===e.direction?s().createElement(O.react,{...t}):s().createElement(T.react,{...t})}else i="up"===e.direction?n.__("Move up"):n.__("Move down");const r="up"===e.direction?e.item.index-1:e.item.index+1;return s().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},i)},or=e=>{var t;const n=(null!==(t=e.translator)&&void 0!==t?t:gt.nullTranslator).load("jupyterlab");let i;return i="icons"===e.buttonStyle?s().createElement(R.react,{tag:"span",elementSize:"xlarge",elementPosition:"center"}):n.__("Remove"),s().createElement("button",{className:"jp-mod-styled jp-mod-warn jp-ArrayOperationsButton",onClick:e.item.onDropIndexClick(e.item.index)},i)},ar=e=>{var t;const n=(null!==(t=e.translator)&&void 0!==t?t:gt.nullTranslator).load("jupyterlab");let i;return i="icons"===e.buttonStyle?s().createElement(S.react,{tag:"span",elementSize:"xlarge",elementPosition:"center"}):n.__("Add"),s().createElement("button",{className:"jp-mod-styled jp-mod-reject jp-ArrayOperationsButton",onClick:e.onAddClick},i)};function lr(e){const{component:t,name:n,buttonStyle:i,compact:s,showModifiedFromDefault:r,translator:o}=e,a=null!=s&&s,l=null!=i?i:a?"icons":"text",c=e=>t({...e,buttonStyle:l,compact:a,showModifiedFromDefault:null==r||r,translator:null!=o?o:gt.nullTranslator});return n&&(c.displayName=n),c}function cr(e,t){return{TitleField:(0,ft.getTemplate)("TitleFieldTemplate",e,t),DescriptionField:(0,ft.getTemplate)("DescriptionFieldTemplate",e,t)}}const dr=e=>lr({...e,name:"JupyterLabArrayTemplate",component:e=>{var t;const{schema:n,registry:i,uiSchema:r,required:o}=e,a={schema:n,registry:i,uiSchema:r,required:o},{TitleField:l,DescriptionField:c}=cr(i,r);return s().createElement("div",{className:e.className},e.compact?s().createElement("div",{className:"jp-FormGroup-compactTitle"},s().createElement("div",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem",id:`${e.idSchema.$id}__title`},e.title||""),s().createElement("div",{className:"jp-FormGroup-description",id:`${e.idSchema.$id}-description`},e.schema.description||"")):s().createElement(s().Fragment,null,e.title&&s().createElement(l,{...a,title:e.title,id:`${e.idSchema.$id}-title`}),s().createElement(c,{...a,id:`${e.idSchema.$id}-description`,description:null!==(t=e.schema.description)&&void 0!==t?t:""})),e.items.map((t=>s().createElement("div",{key:t.key,className:t.className},t.children,s().createElement("div",{className:"jp-ArrayOperations"},s().createElement(rr,{buttonStyle:e.buttonStyle,translator:e.translator,item:t,direction:"up"}),s().createElement(rr,{buttonStyle:e.buttonStyle,translator:e.translator,item:t,direction:"down"}),s().createElement(or,{buttonStyle:e.buttonStyle,translator:e.translator,item:t}))))),e.canAdd&&s().createElement(ar,{onAddClick:e.onAddClick,buttonStyle:e.buttonStyle,translator:e.translator}))}}),hr=e=>lr({...e,name:"JupyterLabObjectTemplate",component:e=>{var t;const{schema:n,registry:i,uiSchema:r,required:o}=e,a={schema:n,registry:i,uiSchema:r,required:o},{TitleField:l,DescriptionField:c}=cr(i,r);return s().createElement("fieldset",{id:e.idSchema.$id},e.compact?s().createElement("div",{className:"jp-FormGroup-compactTitle"},s().createElement("div",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem",id:`${e.idSchema.$id}__title`},e.title||""),s().createElement("div",{className:"jp-FormGroup-description",id:`${e.idSchema.$id}__description`},e.schema.description||"")):s().createElement(s().Fragment,null,(e.title||(e.uiSchema||p.JSONExt.emptyObject)["ui:title"])&&s().createElement(l,{...a,id:`${e.idSchema.$id}__title`,title:e.title||`${(e.uiSchema||p.JSONExt.emptyObject)["ui:title"]}`||""}),s().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,ft.canExpand)(e.schema,e.uiSchema,e.formData)&&s().createElement(ar,{onAddClick:e.onAddClick(e.schema),buttonStyle:e.buttonStyle,translator:e.translator}))}}),ur=e=>lr({...e,name:"JupyterLabFieldTemplate",component:e=>{var t;const n=(null!==(t=e.translator)&&void 0!==t?t:gt.nullTranslator).load("jupyterlab");let i,r=!1;const{formData:o,schema:a,label:l,displayLabel:c,id:d,formContext:h,errors:u,rawErrors:m,children:g,onKeyChange:v,onDropPropertyClick:f}=e,{defaultFormData:w}=h,y=d.split("_");y.shift();const x=y.join("."),b=""===x,C=x===(e.uiSchema||p.JSONExt.emptyObject)["ui:field"];e.showModifiedFromDefault&&(i=y.reduce(((e,t)=>null==e?void 0:e[t]),w),r=!b&&void 0!==o&&void 0!==i&&!a.properties&&"array"!==a.type&&!p.JSONExt.deepEqual(o,i));const _=!b&&"object"!=a.type&&"jp-SettingsEditor-@jupyterlab/shortcuts-extension:shortcuts_shortcuts"!=d,S=a.hasOwnProperty(ft.ADDITIONAL_PROPERTY_FLAG),j=!("object"===a.type||"array"===a.type);return s().createElement("div",{className:"form-group "+(c||"boolean"===a.type?"small-field":"")},!C&&(m?s().createElement("div",{className:"jp-modifiedIndicator jp-errorIndicator"}):r&&s().createElement("div",{className:"jp-modifiedIndicator"})),s().createElement("div",{className:"jp-FormGroup-content "+(e.compact?"jp-FormGroup-contentCompact":"jp-FormGroup-contentNormal")},j&&c&&!b&&l&&!S?e.compact?s().createElement("div",{className:"jp-FormGroup-compactTitle"},s().createElement("div",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem"},l),j&&a.description&&_&&s().createElement("div",{className:"jp-FormGroup-description"},a.description)):s().createElement("h3",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem"},l):s().createElement(s().Fragment,null),S&&s().createElement("input",{className:"jp-FormGroup-contentItem jp-mod-styled",type:"text",onBlur:e=>v(e.target.value),defaultValue:l}),s().createElement("div",{className:b?"jp-root":"object"===a.type?"jp-objectFieldWrapper":"array"===a.type?"jp-arrayFieldWrapper":"jp-inputFieldWrapper jp-FormGroup-contentItem"},g),S&&s().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().createElement("div",{className:"jp-FormGroup-description"},a.description),r&&void 0!==i&&s().createElement("div",{className:"jp-FormGroup-default"},n.__("Default: %1",null!==i?i.toLocaleString():"null")),s().createElement("div",{className:"validationErrors"},u)))}});function pr(e){const{buttonStyle:t,compact:n,showModifiedFromDefault:i,translator:r,formContext:o,...a}=e,l={...a.uiSchema||p.JSONExt.emptyObject};l["ui:options"]={...sr,...l["ui:options"]},a.uiSchema=l;const{FieldTemplate:c,ArrayFieldTemplate:d,ObjectFieldTemplate:h}=e.templates||p.JSONExt.emptyObject,u={buttonStyle:t,compact:n,showModifiedFromDefault:i,translator:r},m={FieldTemplate:s().useMemo((()=>null!=c?c:ur(u)),[c,t,n,i,r]),ArrayFieldTemplate:s().useMemo((()=>null!=d?d:dr(u)),[d,t,n,i,r]),ObjectFieldTemplate:s().useMemo((()=>null!=h?h:hr(u)),[h,t,n,i,r])};return s().createElement(ir,{templates:m,formContext:o,...a})}const mr="jp-DefaultStyle",gr="jp-HTMLSelect";class vr extends i.Component{render(){const{className:e,defaultStyle:t=!0,disabled:n,elementRef:s,iconProps:r,icon:o=k,options:l=[],...c}=this.props,d=a(gr,{[mr]:t},e),h=l.map((e=>{const t="object"==typeof e?e:{value:e};return i.createElement("option",{...t,key:t.value},t.label||t.value)}));return i.createElement("div",{className:d},i.createElement("select",{disabled:n,ref:s,...c,multiple:!1},h,c.children),i.createElement(o.react,{...{tag:"span",stylesheet:"select",right:"7px",top:"5px",...r}}))}}class fr extends u.Widget{constructor(e={}){super({node:wr.createNode()}),this._sandbox=[],this.addClass("jp-IFrame"),this.sandbox=e.sandbox||[],this.referrerPolicy=e.referrerPolicy||"no-referrer"}get referrerPolicy(){return this._referrerPolicy}set referrerPolicy(e){this._referrerPolicy!==e&&(this._referrerPolicy=e,this.node.querySelector("iframe").setAttribute("referrerpolicy",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 wr;function yr(e){const{className:t,inputRef:n,rightIcon:i,...r}=e;return s().createElement("div",{className:a("jp-InputGroup",t)},s().createElement("input",{ref:n,...r}),i&&s().createElement("span",{className:"jp-InputGroupAction"},"string"==typeof i?s().createElement(y.resolveReact,{icon:i,elementPosition:"center",tag:"span"}):s().createElement(i.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}}(wr||(wr={}));var xr,br=n(20882),Cr=n(73701);!function(e){e.DEFAULT_RANK=100}(xr||(xr={}));class _r extends u.Menu{constructor(e){var t;super(e),this._ranks=[],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:xr.DEFAULT_RANK,i=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 s=this._ranks.findIndex((e=>i[0].rank<e));s<0&&(s=this._ranks.length);const r=[];return this._includeSeparators&&r.push(this.insertItem(s++,{type:"separator",rank:n})),r.push(...i.map((e=>this.insertItem(s++,e)))),this._includeSeparators&&r.push(this.insertItem(s++,{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,i;const s=Math.max(0,Math.min(e,this._ranks.length));br.ArrayExt.insert(this._ranks,s,null!==(n=t.rank)&&void 0!==n?n:Math.max(xr.DEFAULT_RANK,null!==(i=this._ranks[this._ranks.length-1])&&void 0!==i?i:xr.DEFAULT_RANK));const r=super.insertItem(s,t);return new Sr(r,this)}removeItemAt(e){br.ArrayExt.removeAt(this._ranks,e),super.removeItemAt(e)}}class Sr{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),h.Signal.clearData(this)}}var jr=n(79737),Ir=n(30807),Mr=n(12004),Lr=n(70176);class kr extends u.Widget{constructor(){super(),this._rootDOM=null}static create(e){return new class extends kr{render(){return e}}}onUpdateRequest(e){this.renderPromise=this.renderDOM()}onAfterAttach(e){Ir.MessageLoop.sendMessage(this,u.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,m.s)(this.node)),Array.isArray(t)||t?(this._rootDOM.render(t),requestIdleCallback((()=>e()))):(this._rootDOM.unmount(),this._rootDOM=null,requestIdleCallback((()=>e())))}))}}class Er extends kr{constructor(e){super(),this._modelChanged=new h.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 Tr extends i.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 Ar{constructor(){this.stateChanged=new h.Signal(this),this._isDisposed=!1}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,h.Signal.clearData(this))}}const Fr="toolbar-popup-opener",zr="jp-Toolbar-spacer";class Or extends u.PanelLayout{constructor(){super(...arguments),this._dirty=!1}onFitRequest(e){super.onFitRequest(e),this.parent.isAttached&&((0,br.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&&Ir.MessageLoop.sendMessage(this.parent.parent,u.Widget.Msg.FitRequest),this._dirty&&Ir.MessageLoop.sendMessage(this.parent,u.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 Dr extends u.Widget{constructor(e={}){var t;super(),this.addClass("jp-Toolbar"),this.layout=null!==(t=e.layout)&&void 0!==t?t:new Or}names(){const e=this.layout;return(0,br.map)(e.widgets,(e=>qr.nameProperty.get(e)))}addItem(e,t){const n=this.layout;return this.insertItem(n.widgets.length,e,t)}insertItem(e,t,n){if((0,br.find)(this.names(),(e=>e===t)))return!1;n.addClass("jp-Toolbar-item");const i=this.layout,s=Math.max(0,Math.min(e,i.widgets.length));return i.insertWidget(s,n),qr.nameProperty.set(n,t),!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,i){const s=(0,br.map)(this.names(),((e,t)=>({name:e,index:t}))),r=(0,br.find)(s,(t=>t.name===e));return!!r&&this.insertItem(r.index+t,n,i)}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 Hr extends Dr{constructor(){super(),this.popupOpener=new Ur,this._widgetWidths={},this.insertItem(0,Fr,this.popupOpener),this.popupOpener.hide(),this._resizer=new Lr.Throttler(this._onResize.bind(this),500)}dispose(){this.isDisposed||(this._resizer&&this._resizer.dispose(),super.dispose())}insertAfter(e,t,n){return e!==Fr&&super.insertAfter(e,t,n)}insertItem(e,t,n){if(n instanceof Ur)return super.insertItem(e,t,n);{const i=Math.max(0,Math.min(e,this.layout.widgets.length-1));return super.insertItem(i,t,n)}}onBeforeHide(e){this.popupOpener.hidePopup(),super.onBeforeHide(e)}onResize(e){super.onResize(e),e.width>0&&this._resizer&&this._resizer.invoke()}_onResize(){if(this.parent&&this.parent.isAttached){const e=this.node.clientWidth,t=this.popupOpener,n=30,i=2,s=this.layout;let r=t.isHidden?i:i+n,o=0;const a=[],l=s.widgets.length-1;for(;o<l;){const i=s.widgets[o];this._saveWidgetWidth(i),r+=this._getWidgetWidth(i),0===a.length&&t.isHidden&&r+n>e&&(r+=n),r>e&&a.push(i),o++}for(;a.length>0;){const e=a.pop();r-=this._getWidgetWidth(e),t.addWidget(e)}if(t.widgetCount()>0){const i=[];let s=0,o=t.widgetAt(s);const a=t.widgetCount();for(r+=this._getWidgetWidth(o),1===a&&r-n<=e&&(r-=n);r<e&&s<a&&(i.push(o),s++,o=t.widgetAt(s),o);)r+=this._getWidgetWidth(o);for(;i.length>0;){const e=i.shift();this.addItem(qr.nameProperty.get(e),e)}}t.widgetCount()>0?(t.updatePopup(),t.show()):t.hide()}}_saveWidgetWidth(e){const t=qr.nameProperty.get(e);this._widgetWidths[t]=e.hasClass(zr)?2:e.node.clientWidth}_getWidgetWidth(e){const t=qr.nameProperty.get(e);return this._widgetWidths[t]}}function Br(e){var t,n;return i.createElement(d,{className:e.className?e.className+" jp-ToolbarButtonComponent":"jp-ToolbarButtonComponent","aria-pressed":e.pressed,"aria-disabled":!1===e.enabled,...e.dataset,disabled:!1===e.enabled,onClick:null!==(t=e.actualOnClick)&&void 0!==t&&t?t=>{var n;0===t.button&&(null===(n=e.onClick)||void 0===n||n.call(e))}:void 0,onMouseDown:null!==(n=e.actualOnClick)&&void 0!==n&&n?void 0:t=>{var n;0===t.button&&(t.preventDefault(),null===(n=e.onClick)||void 0===n||n.call(e))},onKeyDown:t=>{var n;const{key:i}=t;"Enter"!==i&&" "!==i||null===(n=e.onClick)||void 0===n||n.call(e)},title:!1===e.enabled&&e.disabledTooltip?e.disabledTooltip:e.pressed&&e.pressedTooltip?e.pressedTooltip:e.tooltip||e.iconLabel,minimal:!0},(e.icon||e.iconClass)&&i.createElement(y.resolveReact,{icon:e.pressed?e.pressedIcon:e.icon,iconClass:a(e.iconClass,"jp-Icon"),className:"jp-ToolbarButtonComponent-icon",tag:"span",stylesheet:"toolbarButton"}),e.label&&i.createElement("span",{className:"jp-ToolbarButtonComponent-label"},e.label))}function Vr(e){return e.addClass("jp-ToolbarButton"),e}!function(e){e.createSpacerItem=function(){return new qr.Spacer}}(Dr||(Dr={}));class Nr extends kr{constructor(e={}){var t,n;super(),this.props=e,Vr(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 i.createElement(Br,{...this.props,pressed:this.pressed,enabled:this.enabled,onClick:this.onClick})}}function Rr(e){return i.createElement(Tr,{signal:e.commands.commandChanged,shouldUpdate:(t,n)=>n.id===e.id&&"changed"===n.type||"many-changed"===n.type},(()=>i.createElement(Br,{...qr.propsFromCommand(e)})))}function Pr(e){return e.addClass("jp-CommandToolbarButton"),e}class Wr extends kr{constructor(e){super(),this.props=e,Pr(this)}render(){return i.createElement(Rr,{...this.props})}}class $r extends u.Widget{constructor(){super(),this.width=0,this.addClass("jp-Toolbar-responsive-popup"),this.layout=new u.PanelLayout,u.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:i,y:s}=e.node.getBoundingClientRect(),r=this.width;this.node.style.left=i+n-r+1+"px",this.node.style.top=`${s+t+1}px`}insertWidget(e,t){this.layout.insertWidget(0,t)}widgetCount(){return this.layout.widgets.length}widgetAt(e){return this.layout.widgets[e]}}class Ur extends Nr{constructor(e={}){const t=(e.translator||gt.nullTranslator).load("jupyterlab");super({icon:Q,onClick:()=>{this.handleClick()},tooltip:t.__("More commands")}),this.addClass("jp-Toolbar-responsive-opener"),this.popup=new $r}addWidget(e){this.popup.insertWidget(0,e)}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)}}var qr;!function(e){e.propsFromCommand=function(e){var t,n;const{commands:i,id:s,args:r}=e,o=i.iconClass(s,r),a=i.iconLabel(s,r),l=null!==(t=e.icon)&&void 0!==t?t:i.icon(s,r),c=i.label(s,r);let d=i.className(s,r);i.isToggled(s,r)&&(d+=" lm-mod-toggled"),i.isVisible(s,r)||(d+=" lm-mod-hidden");let h=i.caption(s,r)||e.label||c||a;const u=i.keyBindings.find((e=>e.command===s));u&&(h=`${h} (${u.keys.map(jr.CommandRegistry.formatKeystroke).join(", ")})`);const p=i.isEnabled(s,r);return{className:d,dataset:{"data-command":e.id},icon:l,iconClass:o,tooltip:h,onClick:()=>{i.execute(s,r)},enabled:p,label:null!==(n=e.label)&&void 0!==n?n:c}},e.nameProperty=new Mr.AttachedProperty({name:"name",create:()=>""});class t extends u.Widget{constructor(){super(),this.addClass(zr)}}e.Spacer=t}(qr||(qr={}));class Zr extends u.Panel{constructor(e={}){super(e),this._toolbar=new Dr}get toolbar(){return this._toolbar}}function Gr(e,t){let n=1/0,i=null;const s=/\b\w/g;for(;;){let r=s.exec(e);if(!r)break;let o=br.StringExt.matchSumOfDeltas(e,t,r.index);if(!o)break;o&&o.score<=n&&(n=o.score,i=o.indices)}return i&&n!==1/0?{score:n,indices:i}:null}const Kr=(e,t,n)=>i=>t?Gr(i,e.toLowerCase()):(n||(i=i.toLocaleLowerCase(),e=e.toLocaleLowerCase()),-1===i.indexOf(e)?null:{indices:[...Array(i.length).keys()].map((e=>e+1))}),Yr=e=>{var t;const[n,r]=(0,i.useState)(null!==(t=e.initialQuery)&&void 0!==t?t:"");return e.forceRefresh&&(0,i.useEffect)((()=>{e.updateFilter((e=>({})))}),[]),(0,i.useEffect)((()=>{void 0!==e.initialQuery&&e.updateFilter(Kr(e.initialQuery,e.useFuzzyFilter,e.caseSensitive),e.initialQuery)}),[]),s().createElement(yr,{className:"jp-FilterBox",inputRef:e.inputRef,type:"text",disabled:e.disabled,rightIcon:"ui-components:search",placeholder:e.placeholder,onChange:t=>{const n=t.target;r(n.value),e.updateFilter(Kr(n.value,e.useFuzzyFilter,e.caseSensitive),n.value)},value:n})},Jr=e=>kr.create(s().createElement(Yr,{updateFilter:e.updateFilter,useFuzzyFilter:e.useFuzzyFilter,placeholder:e.placeholder,forceRefresh:e.forceRefresh,caseSensitive:e.caseSensitive}));class Xr extends u.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)}attachWidget(e,t){super.attachWidget(e,t);const n=this._toolbars.get(t);n&&(this.parent.isAttached&&Ir.MessageLoop.sendMessage(n,u.Widget.Msg.BeforeAttach),this.titles[e].appendChild(n.node),this.parent.isAttached&&Ir.MessageLoop.sendMessage(n,u.Widget.Msg.AfterAttach))}detachWidget(e,t){const n=this._toolbars.get(t);n&&(this.parent.isAttached&&Ir.MessageLoop.sendMessage(n,u.Widget.Msg.BeforeDetach),this.titles[e].removeChild(n.node),this.parent.isAttached&&Ir.MessageLoop.sendMessage(n,u.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)}notifyToolbars(e){this.widgets.forEach((t=>{const n=this._toolbars.get(t);n&&n.processMessage(e)}))}}var Qr,eo,to;!function(e){class t extends u.AccordionPanel.Renderer{createCollapseIcon(e){const t=document.createElement("div");return T.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 Xr({renderer:t.renderer||e.defaultRenderer,orientation:t.orientation,alignment:t.alignment,spacing:t.spacing,titleSpace:null!==(n=t.titleSpace)&&void 0!==n?n:29})}}(Qr||(Qr={}));class no extends u.Widget{constructor(e={}){var t;super();const n=this.layout=new u.PanelLayout;this.addClass("jp-SidePanel");const i=this._trans=(e.translator||gt.nullTranslator).load("jupyterlab");e.header&&this.addHeader(e.header);const s=this._content=null!==(t=e.content)&&void 0!==t?t:new u.AccordionPanel({...e,layout:Qr.createLayout(e)});s.node.setAttribute("role","region"),s.node.setAttribute("aria-label",i.__("side panel content")),s.addClass("jp-SidePanel-content"),n.addWidget(s),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 u.Panel;t.addClass("jp-SidePanel-header"),this.layout.insertWidget(0,t)}addToolbar(e){const t=this._toolbar=null!=e?e:new Dr;t.addClass("jp-SidePanel-toolbar"),t.node.setAttribute("role","navigation"),t.node.setAttribute("aria-label",this._trans.__("side panel actions")),this.layout.insertWidget(this.layout.widgets.length-1,t)}}class io extends u.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,i=""){if(e.localName===t&&e.classList.add("jp-mod-styled"),"select"===e.localName){const t=e.hasAttribute("multiple");n(e,t)}const s=e.getElementsByTagName(t);for(let e=0;e<s.length;e++){const r=s[e];if(r.classList.add("jp-mod-styled"),i&&r.classList.add(i),"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",to.onFocus),e.addEventListener("blur",to.onFocus),e.classList.add("jp-mod-styled"),e.parentElement&&e.parentElement.replaceChild(n,e),n.appendChild(e),t?n.classList.add("multiple"):n.appendChild(k.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}(eo||(eo={})),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"))}}(to||(to={}));class so extends u.Widget{constructor(){super(),this._button=document.createElement("button"),this._label=document.createElement("label"),this._valueChanged=new h.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)}}let ro=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){ro={passive:!0}}}))}catch(e){}class oo{constructor(e={}){var t,n,i,s,r,o;this._estimatedWidgetSize=ao.DEFAULT_WIDGET_SIZE,this._stateChanged=new h.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!==(i=null!==(n=null===(t=e.itemsList)||void 0===t?void 0:t.length)&&void 0!==n?n:e.count)&&void 0!==i?i:0,this._overscanCount=null!==(s=e.overscanCount)&&void 0!==s?s: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,i;if(this._itemsList!==e){this._itemsList&&this._itemsList.changed.disconnect(this.onListChanged,this);const s=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:s}),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!==(i=null==s?void 0:s.length)&&void 0!==i?i: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,h.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}return e+(this.widgetCount-this._lastMeasuredIndex-1)*this._estimatedWidgetSize}getOffsetForIndexAndAlignment(e,t="auto",n=.25){const i="smart"===t?Math.min(Math.max(0,n),1):0,s=this._height,r=this._getItemMetadata(e),o=this.getEstimatedTotalSize(),a=Math.max(0,Math.min(o-s,r.offset)),l=Math.max(0,r.offset-s+r.size);switch("smart"===t&&(t=this._scrollOffset>=l-s&&this._scrollOffset<=a+s?"auto":"center"),t){case"start":return a;case"end":return l;case"center":return Math.round(l+(a-l)/2);default:return this._scrollOffset>=l&&this._scrollOffset<=r.offset?this._scrollOffset:this._scrollOffset<l?l+i*s:Math.max(0,a-i*s)}}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,i]=e;return t<=i||this._currentWindow[0]!==n||this._currentWindow[1]!==i?(this._currentWindow=e,e):null}getSpan(e,t){const n=this._getItemMetadata(e),i=n.offset,s=this._getItemMetadata(t);return[i,s.offset-n.offset+s.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,i=n.size;this._widgetSizers[e].size!=i&&(this._widgetSizers[e].size=i,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((()=>({offset:0,size:this._estimatedWidgetSize})))),this.resetAfterIndex(t.newIndex-1);break;case"move":br.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 i=0;if(this._lastMeasuredIndex>=0){const e=this._widgetSizers[this._lastMeasuredIndex];i=e.offset+e.size}for(let s=this._lastMeasuredIndex+1;s<=e;s++){let e=(null===(t=this._widgetSizers[s])||void 0===t?void 0:t.measured)?this._widgetSizers[s].size:this.estimateWidgetSize(s);this._widgetSizers[s]={offset:i,size:e,measured:null===(n=this._widgetSizers[s])||void 0===n?void 0:n.measured},i+=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 i=t+Math.floor((e-t)/2),s=this._getItemMetadata(i).offset;if(s===n)return i;s<n?t=i+1:s>n&&(e=i-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),i=Math.max(1,this.overscanCount),s=Math.max(1,this.overscanCount);return[Math.max(0,t-i),Math.max(0,Math.min(e-1,n+s)),t,n]}_getStartIndexForOffset(e){return this._findNearestItem(e)}_getStopIndexForStartIndex(e,t){const n=this._height,i=this._getItemMetadata(e),s=t+n;let r=i.offset+i.size,o=e;for(;o<this.widgetCount-1&&r<s;)o++,r+=this._getItemMetadata(o).size;return o}}class ao extends u.Widget{constructor(e){var t;const n=document.createElement("div");n.className="jp-WindowedPanel-outer";const i=n.appendChild(document.createElement("div"));i.className="jp-WindowedPanel-inner";const s=i.appendChild(document.createElement("div"));s.className="jp-WindowedPanel-window",super({node:n}),this._needsUpdate=!1,super.layout=null!==(t=e.layout)&&void 0!==t?t:new lo,this._viewModel=e.model,this._innerElement=i,this._isScrolling=null,this._windowElement=s,this._scrollToItem=null,this._scrollRepaint=null,this._scrollUpdateWasRequested=!1,this._resizeObserver=null,this._viewModel.stateChanged.connect(this.onStateChanged,this)}get isParentHidden(){return this._isParentHidden}set isParentHidden(e){this._isParentHidden=e}get layout(){return super.layout}get viewportNode(){return this._windowElement}get viewModel(){return this._viewModel}handleEvent(e){"scroll"===e.type&&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.node.scrollTo({top:e})}scrollToItem(e,t="auto",n=.25){if(!this.viewModel.windowingActive){const n=this.layout.widgets[e];return(null==n?void 0:n.node.scrollIntoView)&&n.node.scrollIntoView({block:["auto","smart"].includes(t)?"nearest":t}),Promise.resolve()}return 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 p.PromiseDelegate),this._scrollToItem=[e,t],this._resetScrollToItem(),this.scrollTo(this.viewModel.getOffsetForIndexAndAlignment(Math.max(0,Math.min(e,this._viewModel.widgetCount-1)),t,n)),this._isScrolling.promise}onAfterAttach(e){super.onAfterAttach(e),this._viewModel.windowingActive?this._addListeners():this._applyNoWindowingStyles(),this.viewModel.height=this.node.getBoundingClientRect().height}onBeforeDetach(e){this._viewModel.windowingActive&&this._removeListeners()}onScroll(e){const{clientHeight:t,scrollHeight:n,scrollTop:i}=e.currentTarget;if(!this._scrollUpdateWasRequested&&Math.abs(this.viewModel.scrollOffset-i)>1){const e=Math.max(0,Math.min(i,n-t));this.viewModel.scrollOffset=e,this._scrollUpdateWasRequested=!1,this.update()}}onResize(e){this.viewModel.height=e.height>=0?e.height:this.node.getBoundingClientRect().height,super.onResize(e)}onStateChanged(e,t){if("windowingActive"===t.name){if(this.viewModel.windowingActive)return this._addListeners(),void this.onScroll({currentTarget:this.node});this._removeListeners()}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()}_addListeners(){this._resizeObserver||(this._resizeObserver=new ResizeObserver(this._onWidgetResize.bind(this)));for(const e of this.layout.widgets)this._resizeObserver.observe(e.node),e.disposed.connect((()=>{var t;return null===(t=this._resizeObserver)||void 0===t?void 0:t.unobserve(e.node)}));this.node.addEventListener("scroll",this,ro),this._windowElement.style.position="absolute"}_applyNoWindowingStyles(){this._windowElement.style.position="relative",this._windowElement.style.top="0px"}_removeListeners(){var e;this.node.removeEventListener("scroll",this),null===(e=this._resizeObserver)||void 0===e||e.disconnect(),this._resizeObserver=null,this._applyNoWindowingStyles()}_update(){var e;if(this.isDisposed||!this.layout)return;const t=this.viewModel.getRangeToRender();if(null!==t){const[n,i]=t,s=[];if(i>=0)for(let e=n;e<=i;e++){const t=this.viewModel.widgetRenderer(e);t.dataset.windowedListIndex=`${e}`,s.push(t)}for(let t=this.layout.widgets.length-1;t>=0;t--)s.includes(this.layout.widgets[t])||(null===(e=this._resizeObserver)||void 0===e||e.unobserve(this.layout.widgets[t].node),this.layout.removeWidget(this.layout.widgets[t]));for(let e=0;e<s.length;e++){const t=s[e];this._resizeObserver&&!this.layout.widgets.includes(t)&&(this._resizeObserver.observe(t.node),t.disposed.connect((()=>{var e;return null===(e=this._resizeObserver)||void 0===e?void 0:e.unobserve(t.node)}))),this.layout.insertWidget(e,t)}if(this.viewModel.windowingActive){if(i>=0){const e=this.viewModel.getEstimatedTotalSize();this._innerElement.style.height=`${e}px`;const[t,s]=this.viewModel.getSpan(n,i);this._windowElement.style.top=`${t}px`,this._windowElement.style.minHeight=`${s}px`}else this._innerElement.style.height="0px",this._windowElement.style.top="0px",this._windowElement.style.minHeight="0px";this._scrollUpdateWasRequested&&(this.node.scrollTop=this.viewModel.scrollOffset,this._scrollUpdateWasRequested=!1)}}let n=-1;for(const e of this.viewportNode.children){const t=parseInt(e.dataset.windowedListIndex,10);if(t<n)throw new Error("Inconsistent dataset index");n=t}}_onWidgetResize(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._scrollToItem&&this.scrollToItem(...this._scrollToItem).catch((e=>{console.log(e)})),this.update())}_resetScrollToItem(){this._resetScrollToItemTimeout&&clearTimeout(this._resetScrollToItemTimeout),this._scrollToItem&&(this._resetScrollToItemTimeout=window.setTimeout((()=>{this._scrollToItem=null,this._isScrolling&&(this._isScrolling.resolve(),this._isScrolling=null)}),50))}}ao.DEFAULT_WIDGET_SIZE=50;class lo extends u.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&&Ir.MessageLoop.sendMessage(t,u.Widget.Msg.BeforeAttach),this.parent.viewportNode.insertBefore(t.node,n),this.parent.isAttached&&Ir.MessageLoop.sendMessage(t,u.Widget.Msg.AfterAttach)}detachWidget(e,t){this.parent.isAttached&&Ir.MessageLoop.sendMessage(t,u.Widget.Msg.BeforeDetach),this.parent.viewportNode.removeChild(t.node),this.parent.isAttached&&Ir.MessageLoop.sendMessage(t,u.Widget.Msg.AfterDetach)}moveWidget(e,t,n){let i=this.parent.viewportNode.children[t];e<t?i.insertAdjacentElement("afterend",n.node):i.insertAdjacentElement("beforebegin",n.node)}onUpdateRequest(e){}}var co=n(98215);const ho=le.bindprops({stylesheet:"commandPaletteHeader",className:"jp-icon-hoverShow-content"});var uo;!function(e){class t extends u.CommandPalette.Renderer{renderHeader(e){const t=this.formatHeader(e);return co.h.li({className:a("lm-CommandPalette-header","jp-icon-hoverShow")},t,co.h.span(ho))}renderItemIcon(e){const t=this.createIconClass(e);return e.item.isToggled?co.h.div({className:t},H,e.item.iconLabel):co.h.div({className:t},e.item.icon,e.item.iconLabel)}createIconClass(e){return a(v.styleClass({stylesheet:"commandPaletteItem"}),e.item.iconClass,"lm-CommandPalette-itemIcon")}}e.Renderer=t,e.defaultRenderer=new t}(uo||(uo={}));const po=F.bindprops({stylesheet:"menuItem"});class mo extends u.ContextMenu{constructor(e){super(e),this._isDisposed=!1,this._opened=new h.Signal(this),this.menu=new go(e)}get isDisposed(){return this._isDisposed}get opened(){return this._opened}dispose(){this._isDisposed||(this._isDisposed=!0,this.menu.dispose(),h.Signal.disconnectSender(this))}open(e){if(this._isDisposed)return!1;const t=super.open(e);return t&&this._opened.emit(),t}}class go extends u.Menu{constructor(e){e.renderer=e.renderer||go.defaultRenderer,super(e)}insertItem(e,t){return t.submenu&&go.overrideDefaultRenderer(t.submenu),super.insertItem(e,t)}}!function(e){e.overrideDefaultRenderer=function t(n){n.renderer===u.Menu.defaultRenderer&&(n.renderer=e.defaultRenderer);const i=n.insertItem.bind(n);n.insertItem=(t,n)=>(n.submenu&&e.overrideDefaultRenderer(n.submenu),i(t,n));for(const e of n._items)e.submenu&&t(e.submenu)};class t extends u.Menu.Renderer{renderIcon(e){const t=this.createIconClass(e);return e.item.isToggled?co.h.div({className:t},H,e.item.iconLabel):co.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(v.styleClass({stylesheet:"menuItem"}),e.item.iconClass,t)}renderSubmenu(e){const t="lm-Menu-itemSubmenuIcon";return"submenu"===e.item.type?co.h.div({className:t},po):co.h.div({className:t})}}e.Renderer=t,e.defaultRenderer=new t}(go||(go={}));class vo extends u.TabBar{constructor(e={}){var t;super({renderer:vo.defaultRenderer,...e});const n=(null!==(t=vo.translator)&&void 0!==t?t:gt.nullTranslator).load("jupyterlab");S.element({container:this.addButtonNode,title:n.__("New Launcher")})}}vo.translator=null,function(e){class t extends u.TabBar.Renderer{renderCloseIcon(e){const t=a("jp-icon-hover lm-TabBar-tabCloseIcon",v.styleClass({elementPosition:"center",height:"16px",width:"16px"}));return(0,co.hpass)("div",{className:t},R)}}e.Renderer=t,e.defaultRenderer=new t}(vo||(vo={}));class fo extends u.DockPanel{constructor(e={}){super({renderer:fo.defaultRenderer,...e})}}!function(e){class t extends u.DockPanel.Renderer{createTabBar(){const e=new vo;return e.addClass("lm-DockPanel-tabBar"),e}}e.Renderer=t,e.defaultRenderer=new t}(fo||(fo={}));class wo extends u.TabPanel{constructor(e={}){e.renderer=e.renderer||vo.defaultRenderer,super(e)}}const yo="jp-HoverBox",xo="-1000";var bo;!function(e){e.setGeometry=function(e){const{anchor:t,host:n,node:i,privilege:s,outOfViewDisplay:r}=e,o=n.getBoundingClientRect();i.classList.contains(yo)||i.classList.add(yo),i.style.visibility&&(i.style.visibility=""),""===i.style.zIndex&&(i.style.zIndex=""),i.style.maxHeight="",i.style.marginTop="";const a=e.style||window.getComputedStyle(i),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"!==s&&("forceBelow"===s||("above"===s?l<p&&l<c:c>=p||c>=l));if(m?p=Math.min(c-d,p):(p=Math.min(l,p),i.style.marginTop="0px"),i.style.maxHeight=`${p}px`,!(p>=u&&(c>=u||l>=u)))return i.style.zIndex=xo,void(i.style.visibility="hidden");e.size?(i.style.width=`${e.size.width}px`,i.style.height=`${e.size.height}px`,i.style.contain="strict"):(i.style.contain="",i.style.width="auto",i.style.height="");const g=e.size?e.size.height:i.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;i.style.top=`${Math.floor(w)}px`;const y=e.offset&&e.offset.horizontal||0;let x=t.left+y;i.style.left=`${Math.ceil(x)}px`;let b=i.getBoundingClientRect();const C=b.right;C>window.innerWidth&&(x-=C-window.innerWidth,i.style.left=`${Math.ceil(x)}px`),x<y-h&&(x=y-h,i.style.left=`${Math.ceil(x)}px`),i.style.zIndex="-1000";const _=b.bottom,S=n.contains(document.elementFromPoint(x,w)),j=n.contains(document.elementFromPoint(C,w)),I=n.contains(document.elementFromPoint(C,_)),M=n.contains(document.elementFromPoint(x,_));i.style.zIndex="";const L=S||j,k=M||I,E=S||M,T=I||j,A=_-w,F=C-x,z=w<o.top,O=_>o.bottom,D=x+h<o.left,H=C>o.right;let B=!1,V=!1,N=!1;if(z)switch((null==r?void 0:r.top)||"hidden-inside"){case"hidden-inside":L||(B=!0);break;case"hidden-outside":k||(B=!0);break;case"stick-inside":o.top>w&&(w=o.top,N=!0);break;case"stick-outside":o.top>_&&(w=o.top-A,N=!0)}if(O)switch((null==r?void 0:r.bottom)||"hidden-outside"){case"hidden-inside":k||(B=!0);break;case"hidden-outside":L||(B=!0);break;case"stick-inside":o.bottom<_&&(w=o.bottom-A,N=!0);break;case"stick-outside":o.bottom<w&&(w=o.bottom,N=!0)}if(D)switch((null==r?void 0:r.left)||"hidden-inside"){case"hidden-inside":E||(B=!0);break;case"hidden-outside":T||(B=!0);break;case"stick-inside":o.left>x+h&&(x=o.left-h,V=!0);break;case"stick-outside":o.left>C&&(x=o.left-h-F,V=!0)}if(H)switch((null==r?void 0:r.right)||"hidden-outside"){case"hidden-inside":T||(B=!0);break;case"hidden-outside":E||(B=!0);break;case"stick-inside":o.right<C&&(x=o.right-F,V=!0);break;case"stick-outside":o.right<x&&(x=o.right,V=!0)}B&&(i.style.zIndex=xo,i.style.visibility="hidden"),V&&(i.style.left=`${Math.ceil(x)}px`),N&&(i.style.top=`${Math.ceil(w)}px`)}}(bo||(bo={}));const Co=new p.Token("@jupyterlab/ui-components:IFormRendererRegistry","A service for settings form renderer registration."),_o=new p.Token("@jupyterlab/ui-components:ILabIconManager","A service to register and request icons.");class So{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("."),i=e.substring(0,n),s=e.substring(n+1);if(0==i.length||0==s.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)=>{n.r(t),n.d(t,{Cache:()=>m,FreeStyle:()=>y,Rule:()=>f,Selector:()=>g,Style:()=>v,create:()=>x});let i=0;const s=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-",""])s[t+e]=!0;function o(e,t){return t&&"number"==typeof t&&!s[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,i,s){const{style:r,nested:o,isUnique:h}=function(e,t){const n=[],i=[];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([(s=r,s.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace(/^ms-/,"-ms-")),o]):i.push([r,o]))}var s;return{style:l(a(n)),nested:t?i:a(i),isUnique:!!e.$unique}}(t,""!==e);let u=r;if(64===e.charCodeAt(0)){const t={selector:e,styles:[],rules:[],style:s?"":r};n.push(t),r&&s&&t.styles.push({selector:s,style:r,isUnique:h});for(const[e,n]of o)u+=e+d(e,n,t.rules,t.styles,s)}else{const t=s?c(e,s):e;r&&i.push({selector:t,style:r,isUnique:h});for(const[e,s]of o)u+=e+d(e,s,n,i,t)}return u}function h(e,t,n,s,r,o){for(const{selector:n,style:a,isUnique:l}of s){const s=o?c(n,r):n,d=l?`u\0${(++i).toString(36)}`:`s\0${t}\0${a}`,h=new v(a,d);h.add(new g(s,`k\0${t}\0${s}`)),e.add(h)}for(const{selector:i,style:s,rules:a,styles:l}of n){const n=new f(i,s,`r\0${t}\0${i}\0${s}`);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),i=n.changeId;n.merge(e),n.changeId!==i&&(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],i=this._keys.indexOf(n.id);if(1===t)delete this._counters[e.id],delete this._children[e.id],this._keys.splice(i,1),this.sheet.splice(i,1),this.changeId++,this.changes.remove(n,i);else if(n instanceof m&&e instanceof m){const t=n.changeId;n.unmerge(e),n.changeId!==t&&(this.sheet.splice(i,1,n.getStyles()),this.changeId++,this.changes.change(n,i,i))}}}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=[],i=d("&",e,t,n),s=w(i);return h(this,i,t,n,`.${s}`,!0),s}registerKeyframes(e){return this.registerHashRule("@keyframes",e)}registerHashRule(e,t){const n=[],i=[],s=d("",t,n,i),r=w(s),o=new f(`${e} ${r}`,"",`h\0${s}\0${e}`);return h(o,s,n,i,"",!1),this.add(o),r}registerRule(e,t){const n=[],i=[];h(this,d(e,t,n,i),n,i,"",!1)}registerCss(e){return this.registerRule("",e)}getStyles(){return u(this.sheet)}clone(){return new y(this.id,this.changes).merge(this)}}function x(e){return new y(`f${(++i).toString(36)}`,e)}},37634:(e,t,n)=>{var i=n(38005);t.s=i.createRoot,i.hydrateRoot},73062:(e,t,n)=>{var i=n(53861);i.TypeStyle,n(66720);var s=n(51833);s.extend,s.classes,s.media;var r=new i.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)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.convertToStyles=function e(t){var n={};for(var i in t){var s=t[i];if("$nest"===i){var r=s;for(var o in r){var a=r[o];n[o]=e(a)}}else"$debugName"===i?n.$displayName=s:n[i]=s}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)=>{Object.defineProperty(t,"__esModule",{value:!0});var i=n(8843),s=n(62034),r=n(51833),o=function(){return i.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=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var o=s.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 i=t._freeStyle,s=0,r=e;s<r.length;s++){var o=r[s];i.registerRule("@font-face",o)}t._styleUpdated()},this.getStyles=function(){return(t._raw||"")+t._freeStyle.getStyles()},this.keyframes=function(e){var n=s.convertToKeyframes(e),i=t._freeStyle.registerKeyframes(n);return t._styleUpdated(),i},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={},i=0,s=Object.getOwnPropertyNames(e);i<s.length;i++){var r=s[i],o=e[r];o&&(o.$debugName=r,n[r]=t.style(o))}return n};var i=o();this._autoGenerateTag=n,this._freeStyle=i,this._lastFreeStyleChangeId=i.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(s.convertToStyles(r.extend.apply(void 0,arguments)));return this._styleUpdated(),e},e}();t.TypeStyle=a},51833:(e,t)=>{function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i={},s=0,r=e;s<r.length;s++){var o=r[s];if(null!=o&&!1!==o)for(var a in o){var l=o[a];(l||0===l)&&("$nest"===a&&l?i[a]=i.$nest?n(i.$nest,l):l:-1!==a.indexOf("&")||0===a.indexOf("@media")?i[a]=i[a]?n(i[a],l):l:i[a]=l)}}return i}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,s=[],r=1;r<arguments.length;r++)s[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: "+i(e.minWidth)+")"),e.maxWidth&&o.push("(max-width: "+i(e.maxWidth)+")"),e.minHeight&&o.push("(min-height: "+i(e.minHeight)+")"),e.maxHeight&&o.push("(max-height: "+i(e.maxHeight)+")"),e.prefersColorScheme&&o.push("(prefers-color-scheme: "+e.prefersColorScheme+")"),{$nest:(t={},t["@media "+o.join(" and ")]=n.apply(void 0,s),t)}};var i=function(e){return"string"==typeof e?e:e+"px"}},66720:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[1018],{41018:(e,t,n)=>{n.r(t),n.d(t,{AddButton:()=>or,Button:()=>d,Collapser:()=>mt,CommandPaletteSvg:()=>ho,CommandToolbarButton:()=>Pr,CommandToolbarButtonComponent:()=>Nr,ContextMenuSvg:()=>po,DEFAULT_STYLE_CLASS:()=>pr,DEFAULT_UI_OPTIONS:()=>ir,DockPanelSvg:()=>vo,DropButton:()=>rr,FilenameSearcher:()=>Yr,FilterBox:()=>Kr,FormComponent:()=>ur,FormRendererRegistry:()=>_o,HTMLSelect:()=>gr,HTML_SELECT_CLASS:()=>mr,HoverBox:()=>xo,IFormRendererRegistry:()=>bo,IFrame:()=>vr,ILabIconManager:()=>Co,IRankedMenu:()=>yr,InputGroup:()=>wr,LabIcon:()=>y,MenuSvg:()=>mo,MoveButton:()=>sr,PanelWithToolbar:()=>qr,RankedMenu:()=>Cr,ReactWidget:()=>Lr,ReactiveToolbar:()=>Dr,SidePanel:()=>to,Spinner:()=>no,Styling:()=>Qr,Switch:()=>io,TabBarSvg:()=>go,TabPanelSvg:()=>fo,Toolbar:()=>Or,ToolbarButton:()=>Vr,ToolbarButtonComponent:()=>Br,UseSignal:()=>Er,VDomModel:()=>Tr,VDomRenderer:()=>kr,WindowedLayout:()=>ao,WindowedList:()=>oo,WindowedListModel:()=>ro,addAboveIcon:()=>C,addBelowIcon:()=>_,addCommandToolbarButtonClass:()=>Rr,addIcon:()=>S,addToolbarButtonClass:()=>Hr,badIcon:()=>x,bellIcon:()=>j,blankIcon:()=>b,bugDotIcon:()=>I,bugIcon:()=>M,buildIcon:()=>L,caretDownEmptyIcon:()=>k,caretDownEmptyThinIcon:()=>E,caretDownIcon:()=>T,caretLeftIcon:()=>F,caretRightIcon:()=>A,caretUpEmptyThinIcon:()=>z,caretUpIcon:()=>O,caseSensitiveIcon:()=>D,checkIcon:()=>B,circleEmptyIcon:()=>H,circleIcon:()=>V,classes:()=>a,classesDedupe:()=>l,clearIcon:()=>N,closeIcon:()=>R,codeCheckIcon:()=>P,codeIcon:()=>W,collapseAllIcon:()=>$,consoleIcon:()=>U,copyIcon:()=>q,copyrightIcon:()=>Z,cutIcon:()=>G,deleteIcon:()=>K,downloadIcon:()=>Y,duplicateIcon:()=>J,editIcon:()=>X,ellipsesIcon:()=>Q,errorIcon:()=>ee,expandAllIcon:()=>te,extensionIcon:()=>ne,fastForwardIcon:()=>ie,fileIcon:()=>se,fileUploadIcon:()=>re,filterDotIcon:()=>oe,filterIcon:()=>ae,filterListIcon:()=>le,folderFavoriteIcon:()=>ce,folderIcon:()=>de,fuzzySearch:()=>Zr,getReactAttrs:()=>c,homeIcon:()=>he,html5Icon:()=>ue,imageIcon:()=>pe,infoIcon:()=>me,inspectorIcon:()=>ge,jsonIcon:()=>ve,juliaIcon:()=>fe,jupyterFaviconIcon:()=>we,jupyterIcon:()=>ye,jupyterlabWordmarkIcon:()=>xe,kernelIcon:()=>be,keyboardIcon:()=>Ce,launchIcon:()=>_e,launcherIcon:()=>Se,lineFormIcon:()=>je,linkIcon:()=>Ie,listIcon:()=>Me,markdownIcon:()=>Le,moveDownIcon:()=>ke,moveUpIcon:()=>Ee,newFolderIcon:()=>Te,notTrustedIcon:()=>Fe,notebookIcon:()=>Ae,numberingIcon:()=>ze,offlineBoltIcon:()=>Oe,paletteIcon:()=>De,pasteIcon:()=>Be,pdfIcon:()=>He,pythonIcon:()=>Ve,rKernelIcon:()=>Ne,reactIcon:()=>Re,redoIcon:()=>Pe,refreshIcon:()=>We,regexIcon:()=>$e,runIcon:()=>Ue,runningIcon:()=>qe,saveIcon:()=>Ze,searchIcon:()=>Ge,settingsIcon:()=>Ke,shareIcon:()=>Ye,spreadsheetIcon:()=>Je,stopIcon:()=>Xe,tabIcon:()=>Qe,tableRowsIcon:()=>et,tagIcon:()=>tt,terminalIcon:()=>nt,textEditorIcon:()=>it,tocIcon:()=>st,treeViewIcon:()=>rt,trustedIcon:()=>ot,undoIcon:()=>at,updateFilterFunction:()=>Gr,userIcon:()=>lt,usersIcon:()=>ct,vegaIcon:()=>dt,wordIcon:()=>ht,yamlIcon:()=>ut});var i=n(78156),s=n.n(i),r=n(8630);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,i)=>("style"===i||t.includes(i)||(i.startsWith("data")?n[i]=e.getAttribute(i):n[r.Text.camelCase(i)]=e.getAttribute(i)),n)),{})}function d(e){const{minimal:t,small:n,children:i,...r}=e;return s().createElement("button",{...r,className:a(e.className,t?"jp-mod-minimal":"",n?"jp-mod-small":"","jp-Button")},i)}var h=n(47479),u=n(46947),p=n(49501),m=n(37634);const g='<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n <g class="jp-icon3" fill="#616161">\n <path 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.76C12.15 3.68 10.66 3 9 3 5.69 3 3.01 5.69 3.01 9S5.69 15 9 15c2.97 0 5.43-2.16 5.9-5h-1.52c-.46 2-2.24 3.5-4.38 3.5z"/>\n </g>\n</svg>\n';var v,f,w=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 i={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 s(e){return{element:{height:e,width:e}}}const r={small:s("14px"),normal:s("16px"),large:s("20px"),xlarge:s("24px")};const o=new Map;e.styleClass=function(e){if(!e||0===Object.keys(e).length)return"";let{elementPosition:n,elementSize:s,stylesheet:a,...l}=e;const c={...n&&{elementPosition:n},...s&&{elementSize:s}},d="string"==typeof a&&0===Object.keys(l).length,h=d?[a,n,s].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,w.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(i[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}}(v||(v={}));class y{static remove(e){for(;e.firstChild;)e.firstChild.remove();return e.className="",e}static resolve({icon:e}){if(e instanceof y)return e;if("string"==typeof e){return y._instances.get(e)||(y._debug&&console.warn(`Lookup failed for icon, creating loading icon. icon: ${e}`),new y({name:e,svgstr:g,_loading:!0}))}return new y(e)}static resolveElement({icon:e,iconClass:t,fallback:n,...i}){return f.isResolvable(e)?y.resolve({icon:e}).element(i):!t&&n?n.element(i):(i.className=a(t,i.className),f.blankElement(i))}static resolveReact({icon:e,iconClass:t,fallback:n,...i}){if(!f.isResolvable(e))return!t&&n?s().createElement(n.react,{...i}):(i.className=a(t,i.className),s().createElement(f.blankReact,{...i}));const r=y.resolve({icon:e});return s().createElement(r.react,{...i})}static resolveSvg({name:e,svgstr:t}){const n=(new DOMParser).parseFromString(f.svgstrShim(t),"image/svg+xml"),i=n.querySelector("parsererror");if(i){const n=`SVG HTML was malformed for LabIcon instance.\nname: ${e}, svgstr: ${t}`;return y._debug?(console.error(n),i):(console.warn(n),null)}return n.documentElement}static toggleDebug(e){y._debug=null!=e?e:!y._debug}constructor({name:e,svgstr:t,render:n,unrender:i,_loading:s=!1}){if(this._props={},this._svgReplaced=new h.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}`),x;if(this._loading=s,y._instances.has(e)){const n=y._instances.get(e);return this._loading?(n.svgstr=t,this._loading=!1,n):(y._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:i}),y._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:i,label:s,title:r,tag:o="div",...a}={...this._props,...e};const l=null==i?void 0:i.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");let c=!0;if(i)for(;i.firstChild;)i.firstChild.remove();else i=document.createElement(o),c=!1;null!=s&&(i.textContent=s),f.initContainer({container:i,className:n,styleProps:a,title:r});const d=this.svgElement.cloneNode(!0);return i.appendChild(d),c?d:i}render(e,t){var n;let i=null===(n=null==t?void 0:t.children)||void 0===n?void 0:n[0];"string"!=typeof i&&(i=void 0),this.element({container:e,label:i,...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=p.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=s().forwardRef(((e={},t)=>{const{className:n,container:i,label:r,title:o,tag:l="div",...c}={...this._props,...e},[,d]=s().useState(this._uuid);s().useEffect((()=>{const e=()=>{d(this._uuid)};return this._svgReplaced.connect(e),()=>{this._svgReplaced.disconnect(e)}}));const h=l;if(!this.svgInnerHTML||!this.svgReactAttrs)return s().createElement(s().Fragment,null);const u=s().createElement("svg",{...this.svgReactAttrs,dangerouslySetInnerHTML:{__html:this.svgInnerHTML},ref:t});return i?(f.initContainer({container:i,className:n,styleProps:c,title:o}),s().createElement(s().Fragment,null,u,r)):s().createElement(h,{className:n||c?a(n,v.styleClass(c)):void 0,title:o},u,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=y.resolveSvg(this);return n?("parsererror"!==n.tagName&&(n.dataset.icon=this.name,t&&(n.dataset.iconId=t),e&&f.setTitleSvg(n,e)),n):n}}y._debug=!1,y._instances=new Map,function(e){function t({container:e,className:t,styleProps:n,title:i}){null!=i&&(e.title=i);const s=v.styleClass(n);if(null!=t){const n=a(t,s);return e.className=n,n}return s?(e.classList.add(s),s):""}e.blankElement=function({className:t="",container:n,label:i,title:s,tag:r="div",...o}){if((null==n?void 0:n.className)===t)return n;if(n)for(;n.firstChild;)n.firstChild.remove();else n=document.createElement(r);return null!=i&&(n.textContent=i),e.initContainer({container:n,className:t,styleProps:o,title:s}),n},e.blankReact=s().forwardRef((({className:e="",container:n,label:i,title:r,tag:o="div",...l},c)=>{const d=o;return n?(t({container:n,className:e,styleProps:l,title:r}),s().createElement(s().Fragment,null)):s().createElement(d,{className:a(e,v.styleClass(l))},c&&b.react({ref:c}),i)})),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,i]=decodeURIComponent(e).replace(/>\s*\n\s*</g,"><").replace(/\s*\n\s*/g," ").match(t?/^(?:data:.*?(;base64)?,)?(.*)/:/(?:(base64).*)?(<svg.*)/);return n?atob(i):i};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,i;let s=null===(n=null==t?void 0:t.children)||void 0===n?void 0:n[0];"string"!=typeof s&&(s=void 0),this._icon.element({container:e,label:s,...null===(i=this._rendererOptions)||void 0===i?void 0:i.props,...null==t?void 0:t.props})}},e.ReactRenderer=class extends n{constructor(){super(...arguments),this._rootDOM=null}render(e,t){var n,i;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,m.s)(e),this._rootDOM.render(s().createElement(o.react,{container:e,label:r,...{...null===(i=this._rendererOptions)||void 0===i?void 0:i.props,...null==t?void 0:t.props}}))}unrender(e){null!==this._rootDOM&&(this._rootDOM.unmount(),this._rootDOM=null)}}}(f||(f={}));const x=new y({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'}),b=new y({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 y({name:"ui-components:add-above",svgstr:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g clip-path="url(#clip0_137_19492)">\n<path class="jp-icon3" d="M4.75 4.93066H6.625V6.80566C6.625 7.01191 6.79375 7.18066 7 7.18066C7.20625 7.18066 7.375 7.01191 7.375 6.80566V4.93066H9.25C9.45625 4.93066 9.625 4.76191 9.625 4.55566C9.625 4.34941 9.45625 4.18066 9.25 4.18066H7.375V2.30566C7.375 2.09941 7.20625 1.93066 7 1.93066C6.79375 1.93066 6.625 2.09941 6.625 2.30566V4.18066H4.75C4.54375 4.18066 4.375 4.34941 4.375 4.55566C4.375 4.76191 4.54375 4.93066 4.75 4.93066Z" fill="#616161" stroke="#616161" stroke-width="0.7"/>\n</g>\n<path class="jp-icon3" fill-rule="evenodd" clip-rule="evenodd" d="M11.5 9.5V11.5L2.5 11.5V9.5L11.5 9.5ZM12 8C12.5523 8 13 8.44772 13 9V12C13 12.5523 12.5523 13 12 13L2 13C1.44772 13 1 12.5523 1 12V9C1 8.44772 1.44771 8 2 8L12 8Z" fill="#616161"/>\n<defs>\n<clipPath id="clip0_137_19492">\n<rect class="jp-icon3" width="6" height="6" fill="white" transform="matrix(-1 0 0 1 10 1.55566)"/>\n</clipPath>\n</defs>\n</svg>\n'}),_=new y({name:"ui-components:add-below",svgstr:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g clip-path="url(#clip0_137_19498)">\n<path class="jp-icon3" d="M9.25 10.0693L7.375 10.0693L7.375 8.19434C7.375 7.98809 7.20625 7.81934 7 7.81934C6.79375 7.81934 6.625 7.98809 6.625 8.19434L6.625 10.0693L4.75 10.0693C4.54375 10.0693 4.375 10.2381 4.375 10.4443C4.375 10.6506 4.54375 10.8193 4.75 10.8193L6.625 10.8193L6.625 12.6943C6.625 12.9006 6.79375 13.0693 7 13.0693C7.20625 13.0693 7.375 12.9006 7.375 12.6943L7.375 10.8193L9.25 10.8193C9.45625 10.8193 9.625 10.6506 9.625 10.4443C9.625 10.2381 9.45625 10.0693 9.25 10.0693Z" fill="#616161" stroke="#616161" stroke-width="0.7"/>\n</g>\n<path class="jp-icon3" fill-rule="evenodd" clip-rule="evenodd" d="M2.5 5.5L2.5 3.5L11.5 3.5L11.5 5.5L2.5 5.5ZM2 7C1.44772 7 1 6.55228 1 6L1 3C1 2.44772 1.44772 2 2 2L12 2C12.5523 2 13 2.44772 13 3L13 6C13 6.55229 12.5523 7 12 7L2 7Z" fill="#616161"/>\n<defs>\n<clipPath id="clip0_137_19498">\n<rect class="jp-icon3" width="6" height="6" fill="white" transform="matrix(1 1.74846e-07 1.74846e-07 -1 4 13.4443)"/>\n</clipPath>\n</defs>\n</svg>\n'}),S=new y({name:"ui-components:add",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>\n </g>\n</svg>\n'}),j=new y({name:"ui-components:bell",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 16 16" version="1.1">\n <path class="jp-icon2 jp-icon-selectable" fill="#333333"\n d="m8 0.29c-1.4 0-2.7 0.73-3.6 1.8-1.2 1.5-1.4 3.4-1.5 5.2-0.18 2.2-0.44 4-2.3 5.3l0.28 1.3h5c0.026 0.66 0.32 1.1 0.71 1.5 0.84 0.61 2 0.61 2.8 0 0.52-0.4 0.6-1 0.71-1.5h5l0.28-1.3c-1.9-0.97-2.2-3.3-2.3-5.3-0.13-1.8-0.26-3.7-1.5-5.2-0.85-1-2.2-1.8-3.6-1.8zm0 1.4c0.88 0 1.9 0.55 2.5 1.3 0.88 1.1 1.1 2.7 1.2 4.4 0.13 1.7 0.23 3.6 1.3 5.2h-10c1.1-1.6 1.2-3.4 1.3-5.2 0.13-1.7 0.3-3.3 1.2-4.4 0.59-0.72 1.6-1.3 2.5-1.3zm-0.74 12h1.5c-0.0015 0.28 0.015 0.79-0.74 0.79-0.73 0.0016-0.72-0.53-0.74-0.79z" />\n</svg>\n'}),I=new y({name:"ui-components:bug-dot",svgstr:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3 jp-icon-selectable" fill="#616161">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M17.19 8H20V10H17.91C17.96 10.33 18 10.66 18 11V12H20V14H18.5H18V14.0275C15.75 14.2762 14 16.1837 14 18.5C14 19.208 14.1635 19.8779 14.4549 20.4739C13.7063 20.8117 12.8757 21 12 21C9.78 21 7.85 19.79 6.81 18H4V16H6.09C6.04 15.67 6 15.34 6 15V14H4V12H6V11C6 10.66 6.04 10.33 6.09 10H4V8H6.81C7.26 7.22 7.88 6.55 8.62 6.04L7 4.41L8.41 3L10.59 5.17C11.04 5.06 11.51 5 12 5C12.49 5 12.96 5.06 13.42 5.17L15.59 3L17 4.41L15.37 6.04C16.12 6.55 16.74 7.22 17.19 8ZM10 16H14V14H10V16ZM10 12H14V10H10V12Z" fill="#616161"/>\n <path d="M22 18.5C22 20.433 20.433 22 18.5 22C16.567 22 15 20.433 15 18.5C15 16.567 16.567 15 18.5 15C20.433 15 22 16.567 22 18.5Z" fill="#616161"/>\n </g>\n</svg>\n'}),M=new y({name:"ui-components:bug",svgstr:'<svg viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3 jp-icon-selectable" fill="#616161">\n <path d="M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.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-1H20V8zm-6 8h-4v-2h4v2zm0-4h-4v-2h4v2z"/>\n </g>\n</svg>\n'}),L=new y({name:"ui-components:build",svgstr:'<svg width="16" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M14.9 17.45C16.25 17.45 17.35 16.35 17.35 15C17.35 13.65 16.25 12.55 14.9 12.55C13.54 12.55 12.45 13.65 12.45 15C12.45 16.35 13.54 17.45 14.9 17.45ZM20.1 15.68L21.58 16.84C21.71 16.95 21.75 17.13 21.66 17.29L20.26 19.71C20.17 19.86 20 19.92 19.83 19.86L18.09 19.16C17.73 19.44 17.33 19.67 16.91 19.85L16.64 21.7C16.62 21.87 16.47 22 16.3 22H13.5C13.32 22 13.18 21.87 13.15 21.7L12.89 19.85C12.46 19.67 12.07 19.44 11.71 19.16L9.96002 19.86C9.81002 19.92 9.62002 19.86 9.54002 19.71L8.14002 17.29C8.05002 17.13 8.09002 16.95 8.22002 16.84L9.70002 15.68L9.65001 15L9.70002 14.31L8.22002 13.16C8.09002 13.05 8.05002 12.86 8.14002 12.71L9.54002 10.29C9.62002 10.13 9.81002 10.07 9.96002 10.13L11.71 10.84C12.07 10.56 12.46 10.32 12.89 10.15L13.15 8.28998C13.18 8.12998 13.32 7.99998 13.5 7.99998H16.3C16.47 7.99998 16.62 8.12998 16.64 8.28998L16.91 10.15C17.33 10.32 17.73 10.56 18.09 10.84L19.83 10.13C20 10.07 20.17 10.13 20.26 10.29L21.66 12.71C21.75 12.86 21.71 13.05 21.58 13.16L20.1 14.31L20.15 15L20.1 15.68Z"/>\n <path d="M7.32966 7.44454C8.0831 7.00954 8.33932 6.05332 7.90432 5.29988C7.46932 4.54643 6.5081 4.28156 5.75466 4.71656C5.39176 4.92608 5.12695 5.27118 5.01849 5.67594C4.91004 6.08071 4.96682 6.51198 5.17634 6.87488C5.61134 7.62832 6.57622 7.87954 7.32966 7.44454ZM9.65718 4.79593L10.8672 4.95179C10.9628 4.97741 11.0402 5.07133 11.0382 5.18793L11.0388 6.98893C11.0455 7.10054 10.9616 7.19518 10.855 7.21054L9.66001 7.38083L9.23915 8.13188L9.66961 9.25745C9.70729 9.36271 9.66934 9.47699 9.57408 9.53199L8.01523 10.432C7.91131 10.492 7.79337 10.4677 7.72105 10.3824L6.98748 9.43188L6.10931 9.43083L5.34704 10.3905C5.28909 10.4702 5.17383 10.4905 5.07187 10.4339L3.51245 9.53293C3.41049 9.47633 3.37647 9.35741 3.41075 9.25679L3.86347 8.14093L3.61749 7.77488L3.42347 7.37883L2.23075 7.21297C2.12647 7.19235 2.04049 7.10342 2.04245 6.98682L2.04187 5.18582C2.04383 5.06922 2.11909 4.97958 2.21704 4.96922L3.42065 4.79393L3.86749 4.02788L3.41105 2.91731C3.37337 2.81204 3.41131 2.69776 3.51523 2.63776L5.07408 1.73776C5.16934 1.68276 5.28729 1.70704 5.35961 1.79231L6.11915 2.72788L6.98001 2.73893L7.72496 1.78922C7.79156 1.70458 7.91548 1.67922 8.00879 1.74082L9.56821 2.64182C9.67017 2.69842 9.71285 2.81234 9.68723 2.90797L9.21718 4.03383L9.46316 4.39988L9.65718 4.79593Z"/>\n </g>\n</svg>\n'}),k=new y({name:"ui-components:caret-down-empty",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n <g class="jp-icon3" fill="#616161" shape-rendering="geometricPrecision">\n <path d="M5.2,5.9L9,9.7l3.8-3.8l1.2,1.2l-4.9,5l-4.9-5L5.2,5.9z"/>\n </g>\n</svg>\n'}),E=new y({name:"ui-components:caret-down-empty-thin",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 20 20">\n\t<g class="jp-icon3" fill="#616161" shape-rendering="geometricPrecision">\n\t\t<polygon class="st1" points="9.9,13.6 3.6,7.4 4.4,6.6 9.9,12.2 15.4,6.7 16.1,7.4 "/>\n\t</g>\n</svg>\n'}),T=new y({name:"ui-components:caret-down",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n <g class="jp-icon3" fill="#616161" shape-rendering="geometricPrecision">\n <path d="M5.2,7.5L9,11.2l3.8-3.8H5.2z"/>\n </g>\n</svg>\n'}),F=new y({name:"ui-components:caret-left",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n\t<g class="jp-icon3" fill="#616161" shape-rendering="geometricPrecision">\n\t\t<path d="M10.8,12.8L7.1,9l3.8-3.8l0,7.6H10.8z"/>\n </g>\n</svg>\n'}),A=new y({name:"ui-components:caret-right",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n <g class="jp-icon3" fill="#616161" shape-rendering="geometricPrecision">\n <path d="M7.2,5.2L10.9,9l-3.8,3.8V5.2H7.2z"/>\n </g>\n</svg>\n'}),z=new y({name:"ui-components:caret-up-empty-thin",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 20 20">\n\t<g class="jp-icon3" fill="#616161" shape-rendering="geometricPrecision">\n\t\t<polygon class="st1" points="15.4,13.3 9.9,7.7 4.4,13.2 3.6,12.5 9.9,6.3 16.1,12.6 "/>\n\t</g>\n</svg>\n'}),O=new y({name:"ui-components:caret-up",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 18 18">\n\t<g class="jp-icon3" fill="#616161" shape-rendering="geometricPrecision">\n\t\t<path d="M5.2,10.5L9,6.8l3.8,3.8H5.2z"/>\n </g>\n</svg>\n'}),D=new y({name:"ui-components:case-sensitive",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 20 20">\n <g class="jp-icon2" fill="#414141">\n <rect x="2" y="2" width="16" height="16"/>\n </g>\n <g class="jp-icon-accent2" fill="#FFF">\n <path d="M7.6,8h0.9l3.5,8h-1.1L10,14H6l-0.9,2H4L7.6,8z M8,9.1L6.4,13h3.2L8,9.1z"/>\n <path d="M16.6,9.8c-0.2,0.1-0.4,0.1-0.7,0.1c-0.2,0-0.4-0.1-0.6-0.2c-0.1-0.1-0.2-0.4-0.2-0.7 c-0.3,0.3-0.6,0.5-0.9,0.7c-0.3,0.1-0.7,0.2-1.1,0.2c-0.3,0-0.5,0-0.7-0.1c-0.2-0.1-0.4-0.2-0.6-0.3c-0.2-0.1-0.3-0.3-0.4-0.5 c-0.1-0.2-0.1-0.4-0.1-0.7c0-0.3,0.1-0.6,0.2-0.8c0.1-0.2,0.3-0.4,0.4-0.5C12,7,12.2,6.9,12.5,6.8c0.2-0.1,0.5-0.1,0.7-0.2 c0.3-0.1,0.5-0.1,0.7-0.1c0.2,0,0.4-0.1,0.6-0.1c0.2,0,0.3-0.1,0.4-0.2c0.1-0.1,0.2-0.2,0.2-0.4c0-1-1.1-1-1.3-1 c-0.4,0-1.4,0-1.4,1.2h-0.9c0-0.4,0.1-0.7,0.2-1c0.1-0.2,0.3-0.4,0.5-0.6c0.2-0.2,0.5-0.3,0.8-0.3C13.3,4,13.6,4,13.9,4 c0.3,0,0.5,0,0.8,0.1c0.3,0,0.5,0.1,0.7,0.2c0.2,0.1,0.4,0.3,0.5,0.5C16,5,16,5.2,16,5.6v2.9c0,0.2,0,0.4,0,0.5 c0,0.1,0.1,0.2,0.3,0.2c0.1,0,0.2,0,0.3,0V9.8z M15.2,6.9c-1.2,0.6-3.1,0.2-3.1,1.4c0,1.4,3.1,1,3.1-0.5V6.9z"/>\n </g>\n</svg>\n'}),B=new y({name:"ui-components:check",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3 jp-icon-selectable" fill="#616161">\n <path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/>\n </g>\n</svg>\n'}),H=new y({name:"ui-components:circle-empty",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>\n </g>\n</svg>\n'}),V=new y({name:"ui-components:circle",svgstr:'<svg viewBox="0 0 18 18" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <circle cx="9" cy="9" r="8"/>\n </g>\n</svg>\n'}),N=new y({name:"ui-components:clear",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <mask id="donutHole">\n <rect width="24" height="24" fill="white" />\n <circle cx="12" cy="12" r="8" fill="black"/>\n </mask>\n\n <g class="jp-icon3" fill="#616161">\n <rect height="18" width="2" x="11" y="3" transform="rotate(315, 12, 12)"/>\n <circle cx="12" cy="12" r="10" mask="url(#donutHole)"/>\n </g>\n</svg>\n'}),R=new y({name:"ui-components:close",svgstr:'<svg viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon-none jp-icon-selectable-inverse jp-icon3-hover" fill="none">\n <circle cx="12" cy="12" r="11"/>\n </g>\n\n <g class="jp-icon3 jp-icon-selectable jp-icon-accent2-hover" fill="#616161">\n <path d="M19 6.41L17.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"/>\n </g>\n\n <g class="jp-icon-none jp-icon-busy" fill="none">\n <circle cx="12" cy="12" r="7"/>\n </g>\n</svg>\n'}),P=new y({name:"ui-components:code-check",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" viewBox="0 0 24 24">\n <g class="jp-icon3 jp-icon-selectable" fill="#616161" shape-rendering="geometricPrecision">\n <path d="M6.59,3.41L2,8L6.59,12.6L8,11.18L4.82,8L8,4.82L6.59,3.41M12.41,3.41L11,4.82L14.18,8L11,11.18L12.41,12.6L17,8L12.41,3.41M21.59,11.59L13.5,19.68L9.83,16L8.42,17.41L13.5,22.5L23,13L21.59,11.59Z" />\n </g>\n</svg>\n'}),W=new y({name:"ui-components:code",svgstr:'<svg width="22" height="22" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg">\n\t<g class="jp-icon3" fill="#616161">\n\t\t<path d="M11.4 18.6L6.8 14L11.4 9.4L10 8L4 14L10 20L11.4 18.6ZM16.6 18.6L21.2 14L16.6 9.4L18 8L24 14L18 20L16.6 18.6V18.6Z"/>\n\t</g>\n</svg>\n'}),$=new y({name:"ui-components:collapse-all",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path\n d="M8 2c1 0 11 0 12 0s2 1 2 2c0 1 0 11 0 12s0 2-2 2C20 14 20 4 20 4S10 4 6 4c0-2 1-2 2-2z" />\n <path\n d="M18 8c0-1-1-2-2-2S5 6 4 6s-2 1-2 2c0 1 0 11 0 12s1 2 2 2c1 0 11 0 12 0s2-1 2-2c0-1 0-11 0-12zm-2 0v12H4V8z" />\n <path d="M6 13v2h8v-2z" />\n </g>\n</svg>\n'}),U=new y({name:"ui-components:console",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 200 200">\n <g class="jp-console-icon-background-color jp-icon-selectable" fill="#0288D1">\n <path d="M20 19.8h160v159.9H20z"/>\n </g>\n <g class="jp-console-icon-color jp-icon-selectable-inverse" fill="#fff">\n <path d="M105 127.3h40v12.8h-40zM51.1 77L74 99.9l-23.3 23.3 10.5 10.5 23.3-23.3L95 99.9 84.5 89.4 61.6 66.5z"/>\n </g>\n</svg>\n'}),q=new y({name:"ui-components:copy",svgstr:'<svg viewBox="0 0 18 18" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M11.9,1H3.2C2.4,1,1.7,1.7,1.7,2.5v10.2h1.5V2.5h8.7V1z M14.1,3.9h-8c-0.8,0-1.5,0.7-1.5,1.5v10.2c0,0.8,0.7,1.5,1.5,1.5h8 c0.8,0,1.5-0.7,1.5-1.5V5.4C15.5,4.6,14.9,3.9,14.1,3.9z M14.1,15.5h-8V5.4h8V15.5z"/>\n </g>\n</svg>\n'}),Z=new y({name:"ui-components:copyright",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24">\n <g class="jp-icon3" fill="#616161">\n <path d="M11.88,9.14c1.28,0.06,1.61,1.15,1.63,1.66h1.79c-0.08-1.98-1.49-3.19-3.45-3.19C9.64,7.61,8,9,8,12.14 c0,1.94,0.93,4.24,3.84,4.24c2.22,0,3.41-1.65,3.44-2.95h-1.79c-0.03,0.59-0.45,1.38-1.63,1.44C10.55,14.83,10,13.81,10,12.14 C10,9.25,11.28,9.16,11.88,9.14z M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z M12,20c-4.41,0-8-3.59-8-8 s3.59-8,8-8s8,3.59,8,8S16.41,20,12,20z"/>\n </g>\n</svg>\n'}),G=new y({name:"ui-components:cut",svgstr:'<svg viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path 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-1L9.64 7.64zM6 8c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm0 12c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm6-7.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5zM19 3l-6 6 2 2 7-7V3z"/>\n </g>\n</svg>\n'}),K=new y({name:"ui-components:delete",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16px" height="16px">\n <path d="M0 0h24v24H0z" fill="none" />\n <path class="jp-icon3" fill="#626262" d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z" />\n</svg>\n'}),Y=new y({name:"ui-components:download",svgstr:'<svg viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"/>\n </g>\n</svg>\n'}),J=new y({name:"ui-components:duplicate",svgstr:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path class="jp-icon3" fill-rule="evenodd" clip-rule="evenodd" d="M2.79998 0.875H8.89582C9.20061 0.875 9.44998 1.13914 9.44998 1.46198C9.44998 1.78482 9.20061 2.04896 8.89582 2.04896H3.35415C3.04936 2.04896 2.79998 2.3131 2.79998 2.63594V9.67969C2.79998 10.0025 2.55061 10.2667 2.24582 10.2667C1.94103 10.2667 1.69165 10.0025 1.69165 9.67969V2.04896C1.69165 1.40328 2.1904 0.875 2.79998 0.875ZM5.36665 11.9V4.55H11.0833V11.9H5.36665ZM4.14165 4.14167C4.14165 3.69063 4.50728 3.325 4.95832 3.325H11.4917C11.9427 3.325 12.3083 3.69063 12.3083 4.14167V12.3083C12.3083 12.7594 11.9427 13.125 11.4917 13.125H4.95832C4.50728 13.125 4.14165 12.7594 4.14165 12.3083V4.14167Z" fill="#616161"/>\n<path class="jp-icon3" d="M9.43574 8.26507H8.36431V9.3365C8.36431 9.45435 8.26788 9.55078 8.15002 9.55078C8.03217 9.55078 7.93574 9.45435 7.93574 9.3365V8.26507H6.86431C6.74645 8.26507 6.65002 8.16864 6.65002 8.05078C6.65002 7.93292 6.74645 7.8365 6.86431 7.8365H7.93574V6.76507C7.93574 6.64721 8.03217 6.55078 8.15002 6.55078C8.26788 6.55078 8.36431 6.64721 8.36431 6.76507V7.8365H9.43574C9.5536 7.8365 9.65002 7.93292 9.65002 8.05078C9.65002 8.16864 9.5536 8.26507 9.43574 8.26507Z" fill="#616161" stroke="#616161" stroke-width="0.5"/>\n</svg>\n'}),X=new y({name:"ui-components:edit",svgstr:'<svg viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/>\n </g>\n</svg>\n'}),Q=new y({name:"ui-components:ellipses",svgstr:'<svg viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\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'}),ee=new y({name:"ui-components:error",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n<g class="jp-icon3" fill="#616161"><circle cx="12" cy="19" r="2"/><path d="M10 3h4v12h-4z"/></g>\n<path fill="none" d="M0 0h24v24H0z"/>\n</svg>\n'}),te=new y({name:"ui-components:expand-all",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path\n d="M8 2c1 0 11 0 12 0s2 1 2 2c0 1 0 11 0 12s0 2-2 2C20 14 20 4 20 4S10 4 6 4c0-2 1-2 2-2z" />\n <path\n d="M18 8c0-1-1-2-2-2S5 6 4 6s-2 1-2 2c0 1 0 11 0 12s1 2 2 2c1 0 11 0 12 0s2-1 2-2c0-1 0-11 0-12zm-2 0v12H4V8z" />\n <path d="M11 10H9v3H6v2h3v3h2v-3h3v-2h-3z" />\n </g>\n</svg>\n'}),ne=new y({name:"ui-components:extension",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path d="M20.5 11H19V7c0-1.1-.9-2-2-2h-4V3.5C13 2.12 11.88 1 10.5 1S8 2.12 8 3.5V5H4c-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.7 1.49 0 2.7 1.21 2.7 2.7V22H17c1.1 0 2-.9 2-2v-4h1.5c1.38 0 2.5-1.12 2.5-2.5S21.88 11 20.5 11z"/>\n </g>\n</svg>\n'}),ie=new y({name:"ui-components:fast-forward",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path d="M4 18l8.5-6L4 6v12zm9-12v12l8.5-6L13 6z"/>\n </g>\n</svg>\n'}),se=new y({name:"ui-components:file",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <path class="jp-icon3 jp-icon-selectable" fill="#616161" d="M19.3 8.2l-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.2zm-5.8-3.3l3.4 3.6h-3.4V4.9zm3.9 12.7H4.7c-.1 0-.2 0-.2-.2V4.7c0-.2.1-.3.2-.3h7.2v4.4s0 .8.3 1.1c.3.3 1.1.3 1.1.3h4.3v7.2s-.1.2-.2.2z"/>\n</svg>\n'}),re=new y({name:"ui-components:file-upload",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path d="M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"/>\n </g>\n</svg>\n'}),oe=new y({name:"ui-components:filter-dot",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#FFF">\n <path d="M14,12V19.88C14.04,20.18 13.94,20.5 13.71,20.71C13.32,21.1 12.69,21.1 12.3,20.71L10.29,18.7C10.06,18.47 9.96,18.16 10,17.87V12H9.97L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L14.03,12H14Z" />\n </g>\n <g class="jp-icon-dot" fill="#FFF">\n <circle cx="18" cy="17" r="3"></circle>\n </g>\n</svg>\n'}),ae=new y({name:"ui-components:filter",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#FFF">\n <path d="M14,12V19.88C14.04,20.18 13.94,20.5 13.71,20.71C13.32,21.1 12.69,21.1 12.3,20.71L10.29,18.7C10.06,18.47 9.96,18.16 10,17.87V12H9.97L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L14.03,12H14Z" />\n </g>\n</svg>\n'}),le=new y({name:"ui-components:filter-list",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"/>\n </g>\n</svg>\n'}),ce=new y({name:"ui-components:folder-favorite",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000">\n <path d="M0 0h24v24H0V0z" fill="none"/><path class="jp-icon3 jp-icon-selectable" 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-2zm-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.24.78 3.33z"/>\n</svg>\n'}),de=new y({name:"ui-components:folder",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path class="jp-icon3 jp-icon-selectable" 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-8l-2-2z"/>\n</svg>\n'}),he=new y({name:"ui-components:home",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000">\n <path d="M0 0h24v24H0z" fill="none"/><path class="jp-icon3 jp-icon-selectable" fill="#616161" d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>\n</svg>\n'}),ue=new y({name:"ui-components:html5",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 512 512">\n <path class="jp-icon0 jp-icon-selectable" 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"/>\n <path class="jp-icon-selectable" fill="#e44d26" d="M107.6 471l-33-370.4h362.8l-33 370.2L255.7 512"/>\n <path class="jp-icon-selectable" fill="#f16529" d="M256 480.5V131h148.3L376 447"/>\n <path class="jp-icon-selectable-inverse" 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"/>\n <path class="jp-icon-selectable-inverse" 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"/>\n</svg>\n'}),pe=new y({name:"ui-components:image",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <path class="jp-icon-brand4 jp-icon-selectable-inverse" fill="#FFF" d="M2.2 2.2h17.5v17.5H2.2z"/>\n <path class="jp-icon-brand0 jp-icon-selectable" fill="#3F51B5" d="M2.2 2.2v17.5h17.5l.1-17.5H2.2zm12.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.2zM4.4 17.6l3.3-8.8 3.3 6.6 2.2-3.2 4.4 5.4H4.4z"/>\n</svg>\n'}),me=new y({name:"ui-components:info",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 50.978 50.978">\n\t<g class="jp-icon3" fill="#616161">\n\t\t<path d="M43.52,7.458C38.711,2.648,32.307,0,25.489,0C18.67,0,12.266,2.648,7.458,7.458\n\t\t\tc-9.943,9.941-9.943,26.119,0,36.062c4.809,4.809,11.212,7.456,18.031,7.458c0,0,0.001,0,0.002,0\n\t\t\tc6.816,0,13.221-2.648,18.029-7.458c4.809-4.809,7.457-11.212,7.457-18.03C50.977,18.67,48.328,12.266,43.52,7.458z\n\t\t\t M42.106,42.105c-4.432,4.431-10.332,6.872-16.615,6.872h-0.002c-6.285-0.001-12.187-2.441-16.617-6.872\n\t\t\tc-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\n\t\t\tc4.431,4.431,6.871,10.332,6.871,16.617C48.977,31.772,46.536,37.675,42.106,42.105z"/>\n\t\t<path d="M23.578,32.218c-0.023-1.734,0.143-3.059,0.496-3.972c0.353-0.913,1.11-1.997,2.272-3.253\n\t\t\tc0.468-0.536,0.923-1.062,1.367-1.575c0.626-0.753,1.104-1.478,1.436-2.175c0.331-0.707,0.495-1.541,0.495-2.5\n\t\t\tc0-1.096-0.26-2.088-0.779-2.979c-0.565-0.879-1.501-1.336-2.806-1.369c-1.802,0.057-2.985,0.667-3.55,1.832\n\t\t\tc-0.301,0.535-0.503,1.141-0.607,1.814c-0.139,0.707-0.207,1.432-0.207,2.174h-2.937c-0.091-2.208,0.407-4.114,1.493-5.719\n\t\t\tc1.062-1.64,2.855-2.481,5.378-2.527c2.16,0.023,3.874,0.608,5.141,1.758c1.278,1.16,1.929,2.764,1.95,4.811\n\t\t\tc0,1.142-0.137,2.111-0.41,2.911c-0.309,0.845-0.731,1.593-1.268,2.243c-0.492,0.65-1.068,1.318-1.73,2.002\n\t\t\tc-0.65,0.697-1.313,1.479-1.987,2.346c-0.239,0.377-0.429,0.777-0.565,1.199c-0.16,0.959-0.217,1.951-0.171,2.979\n\t\t\tC26.589,32.218,23.578,32.218,23.578,32.218z M23.578,38.22v-3.484h3.076v3.484H23.578z"/>\n\t</g>\n</svg>\n'}),ge=new y({name:"ui-components:inspector",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path class="jp-inspector-icon-color jp-icon-selectable" 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-2zm-5 14H4v-4h11v4zm0-5H4V9h11v4zm5 5h-4V9h4v9z"/>\n</svg>\n'}),ve=new y({name:"ui-components:json",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <g class="jp-json-icon-color jp-icon-selectable" fill="#F9A825">\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 1v1.8zM1.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-1v-1.9z"/>\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'}),fe=new y({name:"ui-components:julia",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 325 300">\n <g class="jp-brand0 jp-icon-selectable" fill="#cb3c33">\n <path d="M 150.898438 225 C 150.898438 266.421875 117.320312 300 75.898438 300 C 34.476562 300 0.898438 266.421875 0.898438 225 C 0.898438 183.578125 34.476562 150 75.898438 150 C 117.320312 150 150.898438 183.578125 150.898438 225"/>\n </g>\n <g class="jp-brand0 jp-icon-selectable" fill="#389826">\n <path d="M 237.5 75 C 237.5 116.421875 203.921875 150 162.5 150 C 121.078125 150 87.5 116.421875 87.5 75 C 87.5 33.578125 121.078125 0 162.5 0 C 203.921875 0 237.5 33.578125 237.5 75"/>\n </g>\n <g class="jp-brand0 jp-icon-selectable" fill="#9558b2">\n <path d="M 324.101562 225 C 324.101562 266.421875 290.523438 300 249.101562 300 C 207.679688 300 174.101562 266.421875 174.101562 225 C 174.101562 183.578125 207.679688 150 249.101562 150 C 290.523438 150 324.101562 183.578125 324.101562 225"/>\n </g>\n</svg>\n'}),we=new y({name:"ui-components:jupyter-favicon",svgstr:'<svg width="152" height="165" viewBox="0 0 152 165" version="1.1" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-jupyter-icon-color" fill="#F37726">\n <path transform="translate(0.078947, 110.582927)" d="M75.9422842,29.5804561 C43.3023947,29.5804561 14.7967832,17.6534634 0,0 C5.51083211,15.8406829 15.7815389,29.5667732 29.3904947,39.2784171 C42.9997,48.9898537 59.2737,54.2067805 75.9605789,54.2067805 C92.6474579,54.2067805 108.921458,48.9898537 122.530663,39.2784171 C136.139453,29.5667732 146.410284,15.8406829 151.921158,0 C137.087868,17.6534634 108.582589,29.5804561 75.9422842,29.5804561 L75.9422842,29.5804561 Z" />\n <path transform="translate(0.037368, 0.704878)" d="M75.9784579,24.6264073 C108.618763,24.6264073 137.124458,36.5534415 151.921158,54.2067805 C146.410284,38.366222 136.139453,24.6401317 122.530663,14.9284878 C108.921458,5.2168439 92.6474579,0 75.9605789,0 C59.2737,0 42.9997,5.2168439 29.3904947,14.9284878 C15.7815389,24.6401317 5.51083211,38.366222 0,54.2067805 C14.8330816,36.5899293 43.3385684,24.6264073 75.9784579,24.6264073 L75.9784579,24.6264073 Z" />\n </g>\n</svg>\n'}),ye=new y({name:"ui-components:jupyter",svgstr:'<svg width="39" height="51" viewBox="0 0 39 51" xmlns="http://www.w3.org/2000/svg">\n <g transform="translate(-1638 -2281)">\n <g class="jp-jupyter-icon-color" fill="#F37726">\n <path transform="translate(1639.74 2311.98)" d="M 18.2646 7.13411C 10.4145 7.13411 3.55872 4.2576 0 0C 1.32539 3.8204 3.79556 7.13081 7.0686 9.47303C 10.3417 11.8152 14.2557 13.0734 18.269 13.0734C 22.2823 13.0734 26.1963 11.8152 29.4694 9.47303C 32.7424 7.13081 35.2126 3.8204 36.538 0C 32.9705 4.2576 26.1148 7.13411 18.2646 7.13411Z"/>\n <path transform="translate(1639.73 2285.48)" d="M 18.2733 5.93931C 26.1235 5.93931 32.9793 8.81583 36.538 13.0734C 35.2126 9.25303 32.7424 5.94262 29.4694 3.6004C 26.1963 1.25818 22.2823 0 18.269 0C 14.2557 0 10.3417 1.25818 7.0686 3.6004C 3.79556 5.94262 1.32539 9.25303 0 13.0734C 3.56745 8.82463 10.4232 5.93931 18.2733 5.93931Z"/>\n </g>\n <g class="jp-icon3" fill="#616161">\n <path transform="translate(1669.3 2281.31)" d="M 5.89353 2.844C 5.91889 3.43165 5.77085 4.01367 5.46815 4.51645C 5.16545 5.01922 4.72168 5.42015 4.19299 5.66851C 3.6643 5.91688 3.07444 6.00151 2.49805 5.91171C 1.92166 5.8219 1.38463 5.5617 0.954898 5.16401C 0.52517 4.76633 0.222056 4.24903 0.0839037 3.67757C -0.0542483 3.10611 -0.02123 2.50617 0.178781 1.95364C 0.378793 1.4011 0.736809 0.920817 1.20754 0.573538C 1.67826 0.226259 2.24055 0.0275919 2.82326 0.00267229C 3.60389 -0.0307115 4.36573 0.249789 4.94142 0.782551C 5.51711 1.31531 5.85956 2.05676 5.89353 2.844Z"/>\n <path transform="translate(1639.8 2323.81)" d="M 7.42789 3.58338C 7.46008 4.3243 7.27355 5.05819 6.89193 5.69213C 6.51031 6.32607 5.95075 6.83156 5.28411 7.1446C 4.61747 7.45763 3.87371 7.56414 3.14702 7.45063C 2.42032 7.33712 1.74336 7.0087 1.20184 6.50695C 0.660328 6.0052 0.27861 5.35268 0.105017 4.63202C -0.0685757 3.91135 -0.0262361 3.15494 0.226675 2.45856C 0.479587 1.76217 0.931697 1.15713 1.52576 0.720033C 2.11983 0.282935 2.82914 0.0334395 3.56389 0.00313344C 4.54667 -0.0374033 5.50529 0.316706 6.22961 0.987835C 6.95393 1.65896 7.38484 2.59235 7.42789 3.58338L 7.42789 3.58338Z"/>\n <path transform="translate(1638.36 2286.06)" d="M 2.27471 4.39629C 1.84363 4.41508 1.41671 4.30445 1.04799 4.07843C 0.679268 3.8524 0.385328 3.52114 0.203371 3.12656C 0.0214136 2.73198 -0.0403798 2.29183 0.0258116 1.86181C 0.0920031 1.4318 0.283204 1.03126 0.575213 0.710883C 0.867222 0.39051 1.24691 0.164708 1.66622 0.0620592C 2.08553 -0.0405897 2.52561 -0.0154714 2.93076 0.134235C 3.33591 0.283941 3.68792 0.551505 3.94222 0.90306C 4.19652 1.25462 4.34169 1.67436 4.35935 2.10916C 4.38299 2.69107 4.17678 3.25869 3.78597 3.68746C 3.39516 4.11624 2.85166 4.37116 2.27471 4.39629L 2.27471 4.39629Z"/>\n </g>\n </g>>\n</svg>\n'}),xe=new y({name:"ui-components:jupyterlab-wordmark",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="200" viewBox="0 0 1860.8 475">\n <g class="jp-icon2" fill="#4E4E4E" transform="translate(480.136401, 64.271493)">\n <g transform="translate(0.000000, 58.875566)">\n <g transform="translate(0.087603, 0.140294)">\n <path d="M-426.9,169.8c0,48.7-3.7,64.7-13.6,76.4c-10.8,10-25,15.5-39.7,15.5l3.7,29 c22.8,0.3,44.8-7.9,61.9-23.1c17.8-18.5,24-44.1,24-83.3V0H-427v170.1L-426.9,169.8L-426.9,169.8z"/>\n </g>\n </g>\n <g transform="translate(155.045296, 56.837104)">\n <g transform="translate(1.562453, 1.799842)">\n <path d="M-312,148c0,21,0,39.5,1.7,55.4h-31.8l-2.1-33.3h-0.8c-6.7,11.6-16.4,21.3-28,27.9 c-11.6,6.6-24.8,10-38.2,9.8c-31.4,0-69-17.7-69-89V0h36.4v112.7c0,38.7,11.6,64.7,44.6,64.7c10.3-0.2,20.4-3.5,28.9-9.4 c8.5-5.9,15.1-14.3,18.9-23.9c2.2-6.1,3.3-12.5,3.3-18.9V0.2h36.4V148H-312L-312,148z"/>\n </g>\n </g>\n <g transform="translate(390.013322, 53.479638)">\n <g transform="translate(1.706458, 0.231425)">\n <path d="M-478.6,71.4c0-26-0.8-47-1.7-66.7h32.7l1.7,34.8h0.8c7.1-12.5,17.5-22.8,30.1-29.7 c12.5-7,26.7-10.3,41-9.8c48.3,0,84.7,41.7,84.7,103.3c0,73.1-43.7,109.2-91,109.2c-12.1,0.5-24.2-2.2-35-7.8 c-10.8-5.6-19.9-13.9-26.6-24.2h-0.8V291h-36v-220L-478.6,71.4L-478.6,71.4z M-442.6,125.6c0.1,5.1,0.6,10.1,1.7,15.1 c3,12.3,9.9,23.3,19.8,31.1c9.9,7.8,22.1,12.1,34.7,12.1c38.5,0,60.7-31.9,60.7-78.5c0-40.7-21.1-75.6-59.5-75.6 c-12.9,0.4-25.3,5.1-35.3,13.4c-9.9,8.3-16.9,19.7-19.6,32.4c-1.5,4.9-2.3,10-2.5,15.1V125.6L-442.6,125.6L-442.6,125.6z"/>\n </g>\n </g>\n <g transform="translate(606.740726, 56.837104)">\n <g transform="translate(0.751226, 1.989299)">\n <path d="M-440.8,0l43.7,120.1c4.5,13.4,9.5,29.4,12.8,41.7h0.8c3.7-12.2,7.9-27.7,12.8-42.4 l39.7-119.2h38.5L-346.9,145c-26,69.7-43.7,105.4-68.6,127.2c-12.5,11.7-27.9,20-44.6,23.9l-9.1-31.1 c11.7-3.9,22.5-10.1,31.8-18.1c13.2-11.1,23.7-25.2,30.6-41.2c1.5-2.8,2.5-5.7,2.9-8.8c-0.3-3.3-1.2-6.6-2.5-9.7L-480.2,0.1 h39.7L-440.8,0L-440.8,0z"/>\n </g>\n </g>\n <g transform="translate(822.748104, 0.000000)">\n <g transform="translate(1.464050, 0.378914)">\n <path d="M-413.7,0v58.3h52v28.2h-52V196c0,25,7,39.5,27.3,39.5c7.1,0.1,14.2-0.7,21.1-2.5 l1.7,27.7c-10.3,3.7-21.3,5.4-32.2,5c-7.3,0.4-14.6-0.7-21.3-3.4c-6.8-2.7-12.9-6.8-17.9-12.1c-10.3-10.9-14.1-29-14.1-52.9 V86.5h-31V58.3h31V9.6L-413.7,0L-413.7,0z"/>\n </g>\n </g>\n <g transform="translate(974.433286, 53.479638)">\n <g transform="translate(0.990034, 0.610339)">\n <path d="M-445.8,113c0.8,50,32.2,70.6,68.6,70.6c19,0.6,37.9-3,55.3-10.5l6.2,26.4 c-20.9,8.9-43.5,13.1-66.2,12.6c-61.5,0-98.3-41.2-98.3-102.5C-480.2,48.2-444.7,0-386.5,0c65.2,0,82.7,58.3,82.7,95.7 c-0.1,5.8-0.5,11.5-1.2,17.2h-140.6H-445.8L-445.8,113z M-339.2,86.6c0.4-23.5-9.5-60.1-50.4-60.1 c-36.8,0-52.8,34.4-55.7,60.1H-339.2L-339.2,86.6L-339.2,86.6z"/>\n </g>\n </g>\n <g transform="translate(1201.961058, 53.479638)">\n <g transform="translate(1.179640, 0.705068)">\n <path d="M-478.6,68c0-23.9-0.4-44.5-1.7-63.4h31.8l1.2,39.9h1.7c9.1-27.3,31-44.5,55.3-44.5 c3.5-0.1,7,0.4,10.3,1.2v34.8c-4.1-0.9-8.2-1.3-12.4-1.2c-25.6,0-43.7,19.7-48.7,47.4c-1,5.7-1.6,11.5-1.7,17.2v108.3h-36V68 L-478.6,68z"/>\n </g>\n </g>\n </g>\n\n <g class="jp-icon-warn0" fill="#F37726">\n <path d="M1352.3,326.2h37V28h-37V326.2z M1604.8,326.2c-2.5-13.9-3.4-31.1-3.4-48.7v-76 c0-40.7-15.1-83.1-77.3-83.1c-25.6,0-50,7.1-66.8,18.1l8.4,24.4c14.3-9.2,34-15.1,53-15.1c41.6,0,46.2,30.2,46.2,47v4.2 c-78.6-0.4-122.3,26.5-122.3,75.6c0,29.4,21,58.4,62.2,58.4c29,0,50.9-14.3,62.2-30.2h1.3l2.9,25.6H1604.8z M1565.7,257.7 c0,3.8-0.8,8-2.1,11.8c-5.9,17.2-22.7,34-49.2,34c-18.9,0-34.9-11.3-34.9-35.3c0-39.5,45.8-46.6,86.2-45.8V257.7z M1698.5,326.2 l1.7-33.6h1.3c15.1,26.9,38.7,38.2,68.1,38.2c45.4,0,91.2-36.1,91.2-108.8c0.4-61.7-35.3-103.7-85.7-103.7 c-32.8,0-56.3,14.7-69.3,37.4h-0.8V28h-36.6v245.7c0,18.1-0.8,38.6-1.7,52.5H1698.5z M1704.8,208.2c0-5.9,1.3-10.9,2.1-15.1 c7.6-28.1,31.1-45.4,56.3-45.4c39.5,0,60.5,34.9,60.5,75.6c0,46.6-23.1,78.1-61.8,78.1c-26.9,0-48.3-17.6-55.5-43.3 c-0.8-4.2-1.7-8.8-1.7-13.4V208.2z"/>\n </g>\n</svg>\n'}),be=new y({name:"ui-components:kernel",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path class="jp-icon2" fill="#616161" d="M15 9H9v6h6V9zm-2 4h-2v-2h2v2zm8-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-2h2zm-4 6H7V7h10v10z"/>\n</svg>\n'}),Ce=new y({name:"ui-components:keyboard",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path class="jp-icon3 jp-icon-selectable" 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-2zm-9 3h2v2h-2V8zm0 3h2v2h-2v-2zM8 8h2v2H8V8zm0 3h2v2H8v-2zm-1 2H5v-2h2v2zm0-3H5V8h2v2zm9 7H8v-2h8v2zm0-4h-2v-2h2v2zm0-3h-2V8h2v2zm3 3h-2v-2h2v2zm0-3h-2V8h2v2z"/>\n</svg>\n'}),_e=new y({name:"ui-components:launch",svgstr:'<svg viewBox="0 0 32 32" width="32" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3 jp-icon-selectable" fill="#616161">\n <path d="M26,28H6a2.0027,2.0027,0,0,1-2-2V6A2.0027,2.0027,0,0,1,6,4H16V6H6V26H26V16h2V26A2.0027,2.0027,0,0,1,26,28Z"/>\n <polygon points="20 2 20 4 26.586 4 18 12.586 19.414 14 28 5.414 28 12 30 12 30 2 20 2"/>\n </g>\n</svg>\n'}),Se=new y({name:"ui-components:launcher",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path class="jp-icon3 jp-icon-selectable" fill="#616161" d="M19 19H5V5h7V3H5a2 2 0 00-2 2v14a2 2 0 002 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/>\n</svg>\n'}),je=new y({name:"ui-components:line-form",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path fill="white" d="M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z"/>\n</svg>\n'}),Ie=new y({name:"ui-components:link",svgstr:'<svg viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path 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.1zM8 13h8v-2H8v2zm9-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-5z"/>\n </g>\n</svg>\n'}),Me=new y({name:"ui-components:list",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path class="jp-icon2 jp-icon-selectable" fill="#616161" d="M19 5v14H5V5h14m1.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-.9zM11 7h6v2h-6V7zm0 4h6v2h-6v-2zm0 4h6v2h-6zM7 7h2v2H7zm0 4h2v2H7zm0 4h2v2H7z"/>\n</svg>\n'}),Le=new y({name:"ui-components:markdown",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <path class="jp-icon-contrast0 jp-icon-selectable" 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.4l-.3-4.2z"/>\n</svg>\n'}),ke=new y({name:"ui-components:move-down",svgstr:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path class="jp-icon3" d="M12.471 7.52899C12.7632 7.23684 12.7632 6.76316 12.471 6.47101V6.47101C12.179 6.17905 11.7057 6.17884 11.4135 6.47054L7.75 10.1275V1.75C7.75 1.33579 7.41421 1 7 1V1C6.58579 1 6.25 1.33579 6.25 1.75V10.1275L2.59726 6.46822C2.30338 6.17381 1.82641 6.17359 1.53226 6.46774V6.46774C1.2383 6.7617 1.2383 7.2383 1.53226 7.53226L6.29289 12.2929C6.68342 12.6834 7.31658 12.6834 7.70711 12.2929L12.471 7.52899Z" fill="#616161"/>\n</svg>\n'}),Ee=new y({name:"ui-components:move-up",svgstr:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path class="jp-icon3" d="M1.52899 6.47101C1.23684 6.76316 1.23684 7.23684 1.52899 7.52899V7.52899C1.82095 7.82095 2.29426 7.82116 2.58649 7.52946L6.25 3.8725V12.25C6.25 12.6642 6.58579 13 7 13V13C7.41421 13 7.75 12.6642 7.75 12.25V3.8725L11.4027 7.53178C11.6966 7.82619 12.1736 7.82641 12.4677 7.53226V7.53226C12.7617 7.2383 12.7617 6.7617 12.4677 6.46774L7.70711 1.70711C7.31658 1.31658 6.68342 1.31658 6.29289 1.70711L1.52899 6.47101Z" fill="#616161"/>\n</svg>\n'}),Te=new y({name:"ui-components:new-folder",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path 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-2zm-1 8h-3v3h-2v-3h-3v-2h3V9h2v3h3v2z"/>\n </g>\n</svg>\n'}),Fe=new y({name:"ui-components:not-trusted",svgstr:'<svg fill="none" xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 25 25">\n <path class="jp-icon2" stroke="#333333" stroke-width="2" transform="translate(3 3)" d="M1.86094 11.4409C0.826448 8.77027 0.863779 6.05764 1.24907 4.19932C2.48206 3.93347 4.08068 3.40347 5.60102 2.8449C7.23549 2.2444 8.85666 1.5815 9.9876 1.09539C11.0597 1.58341 12.6094 2.2444 14.218 2.84339C15.7503 3.41394 17.3995 3.95258 18.7539 4.21385C19.1364 6.07177 19.1709 8.77722 18.139 11.4409C17.0303 14.3032 14.6668 17.1844 9.99999 18.9354C5.33319 17.1844 2.96968 14.3032 1.86094 11.4409Z"/>\n <path class="jp-icon2" stroke="#333333" stroke-width="2" transform="translate(9.31592 9.32031)" d="M7.36842 0L0 7.36479"/>\n <path class="jp-icon2" stroke="#333333" stroke-width="2" transform="translate(9.31592 16.6836) scale(1 -1)" d="M7.36842 0L0 7.36479"/>\n</svg>\n'}),Ae=new y({name:"ui-components:notebook",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <g class="jp-notebook-icon-color jp-icon-selectable" fill="#EF6C00">\n <path d="M18.7 3.3v15.4H3.3V3.3h15.4m1.5-1.5H1.8v18.3h18.3l.1-18.3z"/>\n <path d="M16.5 16.5l-5.4-4.3-5.6 4.3v-11h11z"/>\n </g>\n</svg>\n'}),ze=new y({name:"ui-components:numbering",svgstr:'<svg width="22" height="22" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg">\n\t<g class="jp-icon3" fill="#616161">\n\t\t<path d="M4 19H6V19.5H5V20.5H6V21H4V22H7V18H4V19ZM5 10H6V6H4V7H5V10ZM4 13H5.8L4 15.1V16H7V15H5.2L7 12.9V12H4V13ZM9 7V9H23V7H9ZM9 21H23V19H9V21ZM9 15H23V13H9V15Z"/>\n\t</g>\n</svg>\n'}),Oe=new y({name:"ui-components:offline-bolt",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16">\n <g class="jp-icon3" fill="#616161">\n <path 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.02zM11.48 20v-6.26H8L13 4v6.26h3.35L11.48 20z"/>\n </g>\n</svg>\n'}),De=new y({name:"ui-components:palette",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path d="M18 13V20H4V6H9.02C9.07 5.29 9.24 4.62 9.5 4H4C2.9 4 2 4.9 2 6V20C2 21.1 2.9 22 4 22H18C19.1 22 20 21.1 20 20V15L18 13ZM19.3 8.89C19.74 8.19 20 7.38 20 6.5C20 4.01 17.99 2 15.5 2C13.01 2 11 4.01 11 6.5C11 8.99 13.01 11 15.49 11C16.37 11 17.19 10.74 17.88 10.3L21 13.42L22.42 12L19.3 8.89ZM15.5 9C14.12 9 13 7.88 13 6.5C13 5.12 14.12 4 15.5 4C16.88 4 18 5.12 18 6.5C18 7.88 16.88 9 15.5 9Z"/>\n <path fill-rule="evenodd" clip-rule="evenodd" d="M4 6H9.01894C9.00639 6.16502 9 6.33176 9 6.5C9 8.81577 10.211 10.8487 12.0343 12H9V14H16V12.9811C16.5703 12.9377 17.12 12.8207 17.6396 12.6396L18 13V20H4V6ZM8 8H6V10H8V8ZM6 12H8V14H6V12ZM8 16H6V18H8V16ZM9 16H16V18H9V16Z"/>\n </g>\n</svg>\n'}),Be=new y({name:"ui-components:paste",svgstr:'<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 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-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"/>\n </g>\n</svg>\n'}),He=new y({name:"ui-components:pdf",svgstr:'<svg\n xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22" width="16">\n <path transform="rotate(45)" class="jp-icon-selectable" fill="#FF2A2A"\n d="m 22.344369,-3.0163642 h 5.638604 v 1.5792433 h -3.549227 v 1.50869299 h 3.337576 V 1.6508154 h -3.337576 v 3.4352613 h -2.089377 z m -7.136444,1.5792433 v 4.9439543 h 0.74892 q 1.280761,0 1.953703,-0.6349535 0.678369,-0.6349535 0.678369,-1.8451641 0,-1.20478355 -0.672942,-1.83431011 -0.672942,-0.62952659 -1.95913,-0.62952659 z m -2.089377,-1.5792433 h 2.203343 q 1.845164,0 2.746039,0.2659207 0.906301,0.2604937 1.552108,0.8900203 0.56983,0.5481223 0.846605,1.26448006 0.276774,0.71635781 0.276774,1.62265894 0,0.9171551 -0.276774,1.6389399 -0.276775,0.7163578 -0.846605,1.26448 -0.651234,0.6295266 -1.562962,0.8954473 -0.911728,0.2604937 -2.735185,0.2604937 h -2.203343 z m -8.1458565,0 h 3.467823 q 1.5466816,0 2.3715785,0.689223 0.830324,0.6837961 0.830324,1.95370314 0,1.27533397 -0.830324,1.96455706 Q 9.9871961,2.274915 8.4405145,2.274915 H 7.0620684 V 5.0860767 H 4.9726915 Z m 2.0893769,1.5141199 v 2.26303943 h 1.155941 q 0.6078188,0 0.9388629,-0.29305547 0.3310441,-0.29848241 0.3310441,-0.84117772 0,-0.54269531 -0.3310441,-0.83575074 -0.3310441,-0.2930555 -0.9388629,-0.2930555 z"\n/>\n</svg>\n'}),Ve=new y({name:"ui-components:python",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="-10 -10 131.16136169433594 132.38899993896484">\n <path class="jp-icon-selectable" fill="#306998" d="M 54.918785,9.1927421e-4 C 50.335132,0.02221727 45.957846,0.41313697 42.106285,1.0946693 30.760069,3.0991731 28.700036,7.2947714 28.700035,15.032169 v 10.21875 h 26.8125 v 3.40625 h -26.8125 -10.0625 c -7.792459,0 -14.6157588,4.683717 -16.7499998,13.59375 -2.46181998,10.212966 -2.57101508,16.586023 0,27.25 1.9059283,7.937852 6.4575432,13.593748 14.2499998,13.59375 h 9.21875 v -12.25 c 0,-8.849902 7.657144,-16.656248 16.75,-16.65625 h 26.78125 c 7.454951,0 13.406253,-6.138164 13.40625,-13.625 v -25.53125 c 0,-7.2663386 -6.12998,-12.7247771 -13.40625,-13.9374997 C 64.281548,0.32794397 59.502438,-0.02037903 54.918785,9.1927421e-4 Z m -14.5,8.21875012579 c 2.769547,0 5.03125,2.2986456 5.03125,5.1249996 -2e-6,2.816336 -2.261703,5.09375 -5.03125,5.09375 -2.779476,-1e-6 -5.03125,-2.277415 -5.03125,-5.09375 -10e-7,-2.826353 2.251774,-5.1249996 5.03125,-5.1249996 z"/>\n <path class="jp-icon-selectable" fill="#ffd43b" d="m 85.637535,28.657169 v 11.90625 c 0,9.230755 -7.825895,16.999999 -16.75,17 h -26.78125 c -7.335833,0 -13.406249,6.278483 -13.40625,13.625 v 25.531247 c 0,7.266344 6.318588,11.540324 13.40625,13.625004 8.487331,2.49561 16.626237,2.94663 26.78125,0 6.750155,-1.95439 13.406253,-5.88761 13.40625,-13.625004 V 86.500919 h -26.78125 v -3.40625 h 26.78125 13.406254 c 7.792461,0 10.696251,-5.435408 13.406241,-13.59375 2.79933,-8.398886 2.68022,-16.475776 0,-27.25 -1.92578,-7.757441 -5.60387,-13.59375 -13.406241,-13.59375 z m -15.0625,64.65625 c 2.779478,3e-6 5.03125,2.277417 5.03125,5.093747 -2e-6,2.826354 -2.251775,5.125004 -5.03125,5.125004 -2.76955,0 -5.03125,-2.29865 -5.03125,-5.125004 2e-6,-2.81633 2.261697,-5.093747 5.03125,-5.093747 z"/>\n</svg>\n'}),Ne=new y({name:"ui-components:r-kernel",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <path class="jp-icon-contrast3 jp-icon-selectable" 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.4V2.5zm3.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.1v-.1z"/>\n</svg>\n'}),Re=new y({name:"ui-components:react",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="150 150 541.9 295.3">\n <g class="jp-icon-brand2 jp-icon-selectable" fill="#61DAFB">\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.3zm-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.9zm-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.9zm32.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.1zM421.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 32zm-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 24 4.7 8 9.5 15.8 14.4 23.4zM420.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-32zm-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.9zm-90.5 125.2c-35.4-15.1-58.3-34.9-58.3-50.6 0-15.7 22.9-35.6 58.3-50.6 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-10.2zM310 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.7zm237.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.1zm38.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.6zM320.8 78.4z"/>\n <circle cx="420.9" cy="296.5" r="45.7"/>\n </g>\n</svg>\n'}),Pe=new y({name:"ui-components:redo",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="16">\n <g class="jp-icon3" fill="#616161">\n <path d="M0 0h24v24H0z" fill="none"/><path 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 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/>\n </g>\n</svg>\n'}),We=new y({name:"ui-components:refresh",svgstr:g}),$e=new y({name:"ui-components:regex",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 20 20">\n <g class="jp-icon2" fill="#414141">\n <rect x="2" y="2" width="16" height="16"/>\n </g>\n\n <g class="jp-icon-accent2" fill="#FFF">\n <circle class="st2" cx="5.5" cy="14.5" r="1.5"/>\n <rect x="12" y="4" class="st2" width="1" height="8"/>\n <rect x="8.5" y="7.5" transform="matrix(0.866 -0.5 0.5 0.866 -2.3255 7.3219)" class="st2" width="8" height="1"/>\n <rect x="12" y="4" transform="matrix(0.5 -0.866 0.866 0.5 -0.6779 14.8252)" class="st2" width="1" height="8"/>\n </g>\n</svg>\n'}),Ue=new y({name:"ui-components:run",svgstr:'<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M8 5v14l11-7z"/>\n </g>\n</svg>\n'}),qe=new y({name:"ui-components:running",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 512 512">\n <g class="jp-icon3" fill="#616161">\n <path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm96 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 16v160z"/>\n </g>\n</svg>\n'}),Ze=new y({name:"ui-components:save",svgstr:'<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z"/>\n </g>\n</svg>\n'}),Ge=new y({name:"ui-components:search",svgstr:'<svg viewBox="0 0 18 18" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M12.1,10.9h-0.7l-0.2-0.2c0.8-0.9,1.3-2.2,1.3-3.5c0-3-2.4-5.4-5.4-5.4S1.8,4.2,1.8,7.1s2.4,5.4,5.4,5.4 c1.3,0,2.5-0.5,3.5-1.3l0.2,0.2v0.7l4.1,4.1l1.2-1.2L12.1,10.9z M7.1,10.9c-2.1,0-3.7-1.7-3.7-3.7s1.7-3.7,3.7-3.7s3.7,1.7,3.7,3.7 S9.2,10.9,7.1,10.9z"/>\n </g>\n</svg>\n'}),Ke=new y({name:"ui-components:settings",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path class="jp-icon3 jp-icon-selectable" 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.488.488 0 0014 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-.64l-2.11-1.65zM12 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.5z"/>\n</svg>\n'}),Ye=new y({name:"ui-components:share",svgstr:'<svg width="16" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M 18 2 C 16.35499 2 15 3.3549904 15 5 C 15 5.1909529 15.021791 5.3771224 15.056641 5.5585938 L 7.921875 9.7207031 C 7.3985399 9.2778539 6.7320771 9 6 9 C 4.3549904 9 3 10.35499 3 12 C 3 13.64501 4.3549904 15 6 15 C 6.7320771 15 7.3985399 14.722146 7.921875 14.279297 L 15.056641 18.439453 C 15.021555 18.621514 15 18.808386 15 19 C 15 20.64501 16.35499 22 18 22 C 19.64501 22 21 20.64501 21 19 C 21 17.35499 19.64501 16 18 16 C 17.26748 16 16.601593 16.279328 16.078125 16.722656 L 8.9433594 12.558594 C 8.9782095 12.377122 9 12.190953 9 12 C 9 11.809047 8.9782095 11.622878 8.9433594 11.441406 L 16.078125 7.2792969 C 16.60146 7.7221461 17.267923 8 18 8 C 19.64501 8 21 6.6450096 21 5 C 21 3.3549904 19.64501 2 18 2 z M 18 4 C 18.564129 4 19 4.4358706 19 5 C 19 5.5641294 18.564129 6 18 6 C 17.435871 6 17 5.5641294 17 5 C 17 4.4358706 17.435871 4 18 4 z M 6 11 C 6.5641294 11 7 11.435871 7 12 C 7 12.564129 6.5641294 13 6 13 C 5.4358706 13 5 12.564129 5 12 C 5 11.435871 5.4358706 11 6 11 z M 18 18 C 18.564129 18 19 18.435871 19 19 C 19 19.564129 18.564129 20 18 20 C 17.435871 20 17 19.564129 17 19 C 17 18.435871 17.435871 18 18 18 z"/>\n </g>\n</svg>\n'}),Je=new y({name:"ui-components:spreadsheet",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <path class="jp-icon-contrast1 jp-icon-selectable" fill="#4CAF50" d="M2.2 2.2v17.6h17.6V2.2H2.2zm15.4 7.7h-5.5V4.4h5.5v5.5zM9.9 4.4v5.5H4.4V4.4h5.5zm-5.5 7.7h5.5v5.5H4.4v-5.5zm7.7 5.5v-5.5h5.5v5.5h-5.5z"/>\n</svg>\n'}),Xe=new y({name:"ui-components:stop",svgstr:'<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M0 0h24v24H0z" fill="none"/>\n <path d="M6 6h12v12H6z"/>\n </g>\n</svg>\n'}),Qe=new y({name:"ui-components:tab",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <g class="jp-icon3" fill="#616161">\n <path 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-2zm0 16H3V5h10v4h8v10z"/>\n </g>\n</svg>\n'}),et=new y({name:"ui-components:table-rows",svgstr:'<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M0 0h24v24H0z" fill="none"/>\n <path d="M21,8H3V4h18V8z M21,10H3v4h18V10z M21,16H3v4h18V16z"/>\n </g>\n</svg>\n'}),tt=new y({name:"ui-components:tag",svgstr:'<svg width="28" height="28" viewBox="0 0 43 28" xmlns="http://www.w3.org/2000/svg">\n\t<g class="jp-icon3" fill="#616161">\n\t\t<path d="M28.8332 12.334L32.9998 16.5007L37.1665 12.334H28.8332Z"/>\n\t\t<path d="M16.2095 21.6104C15.6873 22.1299 14.8443 22.1299 14.3248 21.6104L6.9829 14.7245C6.5724 14.3394 6.08313 13.6098 6.04786 13.0482C5.95347 11.5288 6.02002 8.61944 6.06621 7.07695C6.08281 6.51477 6.55548 6.04347 7.11804 6.03055C9.08863 5.98473 13.2638 5.93579 13.6518 6.32425L21.7369 13.639C22.256 14.1585 21.7851 15.4724 21.262 15.9946L16.2095 21.6104ZM9.77585 8.265C9.33551 7.82566 8.62351 7.82566 8.1828 8.265C7.74346 8.70571 7.74346 9.41733 8.1828 9.85667C8.62382 10.2964 9.33582 10.2964 9.77585 9.85667C10.2156 9.41733 10.2156 8.70533 9.77585 8.265Z"/>\n\t</g>\n</svg>\n'}),nt=new y({name:"ui-components:terminal",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24" >\n <rect class="jp-terminal-icon-background-color jp-icon-selectable" width="20" height="20" transform="translate(2 2)" fill="#333333"/>\n <path class="jp-terminal-icon-color jp-icon-selectable-inverse" d="M5.05664 8.76172C5.05664 8.59766 5.03125 8.45312 4.98047 8.32812C4.93359 8.19922 4.85547 8.08203 4.74609 7.97656C4.64062 7.87109 4.5 7.77539 4.32422 7.68945C4.15234 7.59961 3.94336 7.51172 3.69727 7.42578C3.30273 7.28516 2.94336 7.13672 2.61914 6.98047C2.29492 6.82422 2.01758 6.64258 1.78711 6.43555C1.56055 6.22852 1.38477 5.98828 1.25977 5.71484C1.13477 5.4375 1.07227 5.10938 1.07227 4.73047C1.07227 4.39844 1.12891 4.0957 1.24219 3.82227C1.35547 3.54492 1.51562 3.30469 1.72266 3.10156C1.92969 2.89844 2.17969 2.73437 2.47266 2.60938C2.76562 2.48438 3.0918 2.4043 3.45117 2.36914V1.10938H4.38867V2.38086C4.74023 2.42773 5.05664 2.52344 5.33789 2.66797C5.61914 2.8125 5.85742 3.00195 6.05273 3.23633C6.25195 3.4668 6.4043 3.74023 6.50977 4.05664C6.61914 4.36914 6.67383 4.7207 6.67383 5.11133H5.04492C5.04492 4.63867 4.9375 4.28125 4.72266 4.03906C4.50781 3.79297 4.2168 3.66992 3.84961 3.66992C3.65039 3.66992 3.47656 3.69727 3.32812 3.75195C3.18359 3.80273 3.06445 3.87695 2.9707 3.97461C2.87695 4.06836 2.80664 4.17969 2.75977 4.30859C2.7168 4.4375 2.69531 4.57812 2.69531 4.73047C2.69531 4.88281 2.7168 5.01953 2.75977 5.14062C2.80664 5.25781 2.88281 5.36719 2.98828 5.46875C3.09766 5.57031 3.24023 5.66797 3.41602 5.76172C3.5918 5.85156 3.81055 5.94336 4.07227 6.03711C4.4668 6.18555 4.82422 6.33984 5.14453 6.5C5.46484 6.65625 5.73828 6.83984 5.96484 7.05078C6.19531 7.25781 6.37109 7.5 6.49219 7.77734C6.61719 8.05078 6.67969 8.375 6.67969 8.75C6.67969 9.09375 6.62305 9.4043 6.50977 9.68164C6.39648 9.95508 6.23438 10.1914 6.02344 10.3906C5.8125 10.5898 5.55859 10.75 5.26172 10.8711C4.96484 10.9883 4.63281 11.0645 4.26562 11.0996V12.248H3.33398V11.0996C3.00195 11.0684 2.67969 10.9961 2.36719 10.8828C2.05469 10.7656 1.77734 10.5977 1.53516 10.3789C1.29688 10.1602 1.10547 9.88477 0.960938 9.55273C0.816406 9.2168 0.744141 8.81445 0.744141 8.3457H2.37891C2.37891 8.62695 2.41992 8.86328 2.50195 9.05469C2.58398 9.24219 2.68945 9.39258 2.81836 9.50586C2.95117 9.61523 3.10156 9.69336 3.26953 9.74023C3.4375 9.78711 3.60938 9.81055 3.78516 9.81055C4.20312 9.81055 4.51953 9.71289 4.73438 9.51758C4.94922 9.32227 5.05664 9.07031 5.05664 8.76172ZM13.418 12.2715H8.07422V11H13.418V12.2715Z" transform="translate(3.95264 6)" fill="white"/>\n</svg>\n'}),it=new y({name:"ui-components:text-editor",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24">\n <path class="jp-text-editor-icon-color jp-icon-selectable" fill="#616161" d="M15 15H3v2h12v-2zm0-8H3v2h12V7zM3 13h18v-2H3v2zm0 8h18v-2H3v2zM3 3v2h18V3H3z"/>\n</svg>\n'}),st=new y({name:"ui-components:toc",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <g class="jp-icon3 jp-icon-selectable" fill="#616161">\n <path d="M7,5H21V7H7V5M7,13V11H21V13H7M4,4.5A1.5,1.5 0 0,1 5.5,6A1.5,1.5 0 0,1 4,7.5A1.5,1.5 0 0,1 2.5,6A1.5,1.5 0 0,1 4,4.5M4,10.5A1.5,1.5 0 0,1 5.5,12A1.5,1.5 0 0,1 4,13.5A1.5,1.5 0 0,1 2.5,12A1.5,1.5 0 0,1 4,10.5M7,19V17H21V19H7M4,16.5A1.5,1.5 0 0,1 5.5,18A1.5,1.5 0 0,1 4,19.5A1.5,1.5 0 0,1 2.5,18A1.5,1.5 0 0,1 4,16.5Z" />\n </g>\n</svg>\n'}),rt=new y({name:"ui-components:tree-view",svgstr:'<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M0 0h24v24H0z" fill="none"/>\n <path d="M22 11V3h-7v3H9V3H2v8h7V8h2v10h4v3h7v-8h-7v3h-2V8h2v3z"/>\n </g>\n</svg>\n'}),ot=new y({name:"ui-components:trusted",svgstr:'<svg fill="none" xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 25">\n <path class="jp-icon2" stroke="#333333" stroke-width="2" transform="translate(2 3)" d="M1.86094 11.4409C0.826448 8.77027 0.863779 6.05764 1.24907 4.19932C2.48206 3.93347 4.08068 3.40347 5.60102 2.8449C7.23549 2.2444 8.85666 1.5815 9.9876 1.09539C11.0597 1.58341 12.6094 2.2444 14.218 2.84339C15.7503 3.41394 17.3995 3.95258 18.7539 4.21385C19.1364 6.07177 19.1709 8.77722 18.139 11.4409C17.0303 14.3032 14.6668 17.1844 9.99999 18.9354C5.3332 17.1844 2.96968 14.3032 1.86094 11.4409Z"/>\n <path class="jp-icon2" fill="#333333" stroke="#333333" transform="translate(8 9.86719)" d="M2.86015 4.86535L0.726549 2.99959L0 3.63045L2.86015 6.13157L8 0.630872L7.27857 0L2.86015 4.86535Z"/>\n</svg>\n'}),at=new y({name:"ui-components:undo",svgstr:'<svg viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path 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 8z"/>\n </g>\n</svg>\n'}),lt=new y({name:"ui-components:user",svgstr:'<svg width="16" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" fill="#616161">\n <path d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"/>\n </g>\n</svg>\n'}),ct=new y({name:"ui-components:users",svgstr:'<svg width="24" height="24" version="1.1" viewBox="0 0 36 24" xmlns="http://www.w3.org/2000/svg">\n <g class="jp-icon3" transform="matrix(1.7327 0 0 1.7327 -3.6282 .099577)" fill="#616161">\n <path transform="matrix(1.5,0,0,1.5,0,-6)" d="m12.186 7.5098c-1.0535 0-1.9757 0.5665-2.4785 1.4102 0.75061 0.31277 1.3974 0.82648 1.873 1.4727h3.4863c0-1.592-1.2889-2.8828-2.8809-2.8828z"/>\n <path d="m20.465 2.3895a2.1885 2.1885 0 0 1-2.1884 2.1885 2.1885 2.1885 0 0 1-2.1885-2.1885 2.1885 2.1885 0 0 1 2.1885-2.1885 2.1885 2.1885 0 0 1 2.1884 2.1885z"/>\n <path transform="matrix(1.5,0,0,1.5,0,-6)" d="m3.5898 8.4219c-1.1126 0-2.0137 0.90111-2.0137 2.0137h2.8145c0.26797-0.37309 0.5907-0.70435 0.95898-0.97852-0.34433-0.61688-1.0031-1.0352-1.7598-1.0352z"/>\n <path d="m6.9154 4.623a1.5294 1.5294 0 0 1-1.5294 1.5294 1.5294 1.5294 0 0 1-1.5294-1.5294 1.5294 1.5294 0 0 1 1.5294-1.5294 1.5294 1.5294 0 0 1 1.5294 1.5294z"/>\n <path d="m6.135 13.535c0-3.2392 2.6259-5.865 5.865-5.865 3.2392 0 5.865 2.6259 5.865 5.865z"/>\n <circle cx="12" cy="3.7685" r="2.9685"/>\n </g>\n</svg>\n'}),dt=new y({name:"ui-components:vega",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <g class="jp-icon1 jp-icon-selectable" fill="#212121">\n <path d="M10.6 5.4l2.2-3.2H2.2v7.3l4-6.6z"/>\n <path d="M15.8 2.2l-4.4 6.6L7 6.3l-4.8 8v5.5h17.6V2.2h-4zm-7 15.4H5.5v-4.4h3.3v4.4zm4.4 0H9.8V9.8h3.4v7.8zm4.4 0h-3.4V6.5h3.4v11.1z"/>\n </g>\n</svg>\n'}),ht=new y({name:"ui-components:word",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 20 20">\n <g class="jp-icon2" fill="#414141">\n <rect x="2" y="2" width="16" height="16"/>\n </g>\n <g class="jp-icon-accent2" transform="translate(.43 .0401)" fill="#fff">\n <path d="m4.14 8.76q0.0682-1.89 2.42-1.89 1.16 0 1.68 0.42 0.567 0.41 0.567 1.16v3.47q0 0.462 0.514 0.462 0.103 0 0.2-0.0231v0.714q-0.399 0.103-0.651 0.103-0.452 0-0.693-0.22-0.231-0.2-0.284-0.662-0.956 0.872-2 0.872-0.903 0-1.47-0.472-0.525-0.472-0.525-1.26 0-0.262 0.0452-0.472 0.0567-0.22 0.116-0.378 0.0682-0.168 0.231-0.304 0.158-0.147 0.262-0.242 0.116-0.0914 0.368-0.168 0.262-0.0914 0.399-0.126 0.136-0.0452 0.472-0.103 0.336-0.0578 0.504-0.0798 0.158-0.0231 0.567-0.0798 0.556-0.0682 0.777-0.221 0.22-0.152 0.22-0.441v-0.252q0-0.43-0.357-0.662-0.336-0.231-0.976-0.231-0.662 0-0.998 0.262-0.336 0.252-0.399 0.798zm1.89 3.68q0.788 0 1.26-0.41 0.504-0.42 0.504-0.903v-1.05q-0.284 0.136-0.861 0.231-0.567 0.0914-0.987 0.158-0.42 0.0682-0.766 0.326-0.336 0.252-0.336 0.704t0.304 0.704 0.861 0.252z" stroke-width="1.05"/>\n <path d="m10 4.56h0.945v3.15q0.651-0.976 1.89-0.976 1.16 0 1.89 0.84 0.682 0.84 0.682 2.31 0 1.47-0.704 2.42-0.704 0.882-1.89 0.882-1.26 0-1.89-1.02v0.766h-0.85zm2.62 3.04q-0.746 0-1.16 0.64-0.452 0.63-0.452 1.68 0 1.05 0.452 1.68t1.16 0.63q0.777 0 1.26-0.63 0.494-0.64 0.494-1.68 0-1.05-0.472-1.68-0.462-0.64-1.26-0.64z" stroke-width="1.05"/>\n <path d="m2.73 15.8 13.6 0.0081c0.0069 0 0-2.6 0-2.6 0-0.0078-1.15 0-1.15 0-0.0069 0-0.0083 1.5-0.0083 1.5-2e-3 -0.0014-11.3-0.0014-11.3-0.0014l-0.00592-1.5c0-0.0078-1.17 0.0013-1.17 0.0013z" stroke-width=".975"/>\n </g>\n</svg>\n'}),ut=new y({name:"ui-components:yaml",svgstr:'<svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 22 22">\n <g class="jp-icon-contrast2 jp-icon-selectable" fill="#D81B60">\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.5l-2.9-.1z"/>\n <circle class="st0" cx="17.6" cy="16.5" r="2.1"/>\n <circle class="st0" cx="17.6" cy="11" r="2.1"/>\n </g>\n</svg>\n'}),pt="jp-Collapse-header-collapsed";class mt extends u.Widget{constructor(e){super(e),this._collapseChanged=new h.Signal(this);const{widget:t,collapsed:n=!0}=e;this.addClass("jp-Collapse"),this._header=new u.Widget,this._header.addClass("jp-Collapse-header"),n&&this._header.addClass(pt),this._header.node.appendChild(T.element({className:"jp-Collapser-icon"}));const i=document.createElement("span");i.classList.add("jp-Collapser-title"),i.textContent=t.title.label,this._header.node.appendChild(i),this._content=new u.Panel,this._content.addClass("jp-Collapse-contents");const s=new u.PanelLayout;this.layout=s,s.addWidget(this._header),s.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(pt):this._header.removeClass(pt)}}var gt=n(6614),vt=n(24246),ft=n(630),wt=n(44964),yt=n(66400),xt=n(78402),bt=n(80322),Ct=n(79148);var _t=n(94180);const St=function(e,t){return function(e,t,n){for(var i=-1,s=t.length,r={};++i<s;){var o=t[i],a=(0,xt.Z)(e,o);n(a,o)&&(0,bt.Z)(r,(0,Ct.Z)(o,e),a)}return r}(e,t,(function(t,n){return(0,_t.Z)(e,n)}))},jt=(0,n(73703).Z)((function(e,t){return null==e?{}:St(e,t)}));var It=n(81810),Mt=n(86908),Lt=n(60417),kt=n(24787);let Et=(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?"-":"_")),"");var Tt=n(44733);function Ft(){return Ft=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Ft.apply(this,arguments)}const At=["children","options"],zt=["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"}),Ot={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},Dt=["style","script"],Bt=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,Ht=/mailto:/i,Vt=/\n{2,}$/,Nt=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,Rt=/^ *> ?/gm,Pt=/^ {2,}\n/,Wt=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,$t=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,Ut=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,qt=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,Zt=/^(?:\n *)*\n/,Gt=/\r\n?/g,Kt=/^\[\^([^\]]+)](:.*)\n/,Yt=/^\[\^([^\]]+)]/,Jt=/\f/g,Xt=/^\s*?\[(x|\s)\]/,Qt=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,en=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,tn=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,nn=/&([a-zA-Z]+);/g,sn=/^<!--[\s\S]*?(?:-->)/,rn=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,on=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,an=/^\{.*\}$/,ln=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,cn=/^<([^ >]+@[^ >]+)>/,dn=/^<([^ >]+:\/[^ >]+)>/,hn=/-([a-z])?/gi,un=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,pn=/^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,mn=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,gn=/^\[([^\]]*)\] ?\[([^\]]*)\]/,vn=/(\[|\])/g,fn=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,wn=/\t/g,yn=/^ *\| */,xn=/(^ *\||\| *$)/g,bn=/ *$/,Cn=/^ *:-+: *$/,_n=/^ *:-+ *$/,Sn=/^ *-+: *$/,jn=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,In=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,Mn=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,Ln=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,kn=/^\\([^0-9A-Za-z\s])/,En=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,Tn=/^\n+/,Fn=/^([ \t]*)/,An=/\\([^\\])/g,zn=/ *\n+$/,On=/(?:^|\n)( *)$/,Dn="(?:\\d+\\.)",Bn="(?:[*+-])";function Hn(e){return"( *)("+(1===e?Dn:Bn)+") +"}const Vn=Hn(1),Nn=Hn(2);function Rn(e){return new RegExp("^"+(1===e?Vn:Nn))}const Pn=Rn(1),Wn=Rn(2);function $n(e){return new RegExp("^"+(1===e?Vn:Nn)+"[^\\n]*(?:\\n(?!\\1"+(1===e?Dn:Bn)+" )[^\\n]*)*(\\n|$)","gm")}const Un=$n(1),qn=$n(2);function Zn(e){const t=1===e?Dn:Bn;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const Gn=Zn(1),Kn=Zn(2);function Yn(e,t){const n=1===t,i=n?Gn:Kn,s=n?Un:qn,r=n?Pn:Wn;return{t(e,t,n){const s=On.exec(n);return s&&(t.o||!t._&&!t.u)?i.exec(e=s[1]+e):null},i:bi.HIGH,l(e,t,i){const o=n?+e[2]:void 0,a=e[0].replace(Vt,"\n").match(s);let l=!1;return{p:a.map((function(e,n){const s=r.exec(e)[0].length,o=new RegExp("^ {1,"+s+"}","gm"),c=e.replace(o,"").replace(r,""),d=n===a.length-1,h=-1!==c.indexOf("\n\n")||d&&l;l=h;const u=i._,p=i.o;let m;i.o=!0,h?(i._=!1,m=c.replace(zn,"\n\n")):(i._=!0,m=c.replace(zn,""));const g=t(m,i);return i._=u,i.o=p,g})),m:n,g:o}},h:(t,n,i)=>e(t.m?"ol":"ul",{key:i.k,start:t.g},t.p.map((function(t,s){return e("li",{key:s},n(t,i))})))}}const Jn=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,Xn=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,Qn=[Nt,$t,Ut,Qt,en,sn,un,Un,Gn,qn,Kn],ei=[...Qn,/^[^\n]+(?: \n|\n{2,})/,tn,on];function ti(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 ni(e){return Sn.test(e)?"right":Cn.test(e)?"center":_n.test(e)?"left":null}function ii(e,t,n){const i=n.v;n.v=!0;const s=t(e.trim(),n);n.v=i;let r=[[]];return s.forEach((function(e,t){"tableSeparator"===e.type?0!==t&&t!==s.length-1&&r.push([]):("text"!==e.type||null!=s[t+1]&&"tableSeparator"!==s[t+1].type||(e.$=e.$.replace(bn,"")),r[r.length-1].push(e))})),r}function si(e,t,n){n._=!0;const i=ii(e[1],t,n),s=e[2].replace(xn,"").split("|").map(ni),r=function(e,t,n){return e.trim().split("\n").map((function(e){return ii(e,t,n)}))}(e[3],t,n);return n._=!1,{S:s,A:r,L:i,type:"table"}}function ri(e,t){return null==e.S[t]?{}:{textAlign:e.S[t]}}function oi(e){return function(t,n){return n._?e.exec(t):null}}function ai(e){return function(t,n){return n._||n.u?e.exec(t):null}}function li(e){return function(t,n){return n._||n.u?null:e.exec(t)}}function ci(e){return function(t){return e.exec(t)}}function di(e,t,n){if(t._||t.u)return null;if(n&&!n.endsWith("\n"))return null;let i="";e.split("\n").every((e=>!Qn.some((t=>t.test(e)))&&(i+=e+"\n",e.trim())));const s=i.trimEnd();return""==s?null:[i,s]}function hi(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return null}catch(e){return null}return e}function ui(e){return e.replace(An,"$1")}function pi(e,t,n){const i=n._||!1,s=n.u||!1;n._=!0,n.u=!0;const r=e(t,n);return n._=i,n.u=s,r}function mi(e,t,n){const i=n._||!1,s=n.u||!1;n._=!1,n.u=!0;const r=e(t,n);return n._=i,n.u=s,r}function gi(e,t,n){return n._=!1,e(t+"\n\n",n)}const vi=(e,t,n)=>({$:pi(t,e[1],n)});function fi(){return{}}function wi(){return null}function yi(...e){return e.filter(Boolean).join(" ")}function xi(e,t,n){let i=e;const s=t.split(".");for(;s.length&&(i=i[s[0]],void 0!==i);)s.shift();return i||n}var bi,Ci;function _i(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||ti,t.namedCodesToUnicode=t.namedCodesToUnicode?Ft({},Ot,t.namedCodesToUnicode):Ot;const n=t.createElement||i.createElement;function s(e,i,...s){const r=xi(t.overrides,`${e}.props`,{});return n(function(e,t){const n=xi(t,e);return n?"function"==typeof n||"object"==typeof n&&"render"in n?n:xi(t,`${e}.component`,e):e}(e,t.overrides),Ft({},i,r,{className:yi(null==i?void 0:i.className,r.className)||void 0}),...s)}function r(e){let n=!1;t.forceInline?n=!0:t.forceBlock||(n=!1===fn.test(e));const r=h(d(n?e:`${e.trimEnd().replace(Tn,"")}\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?s("span",{key:"outer"},a):a;a=null}return i.createElement(o,{key:"outer"},a)}function o(e){const t=e.match(Bt);return t?t.reduce((function(e,t,n){const s=t.indexOf("=");if(-1!==s){const a=(o=t.slice(0,s),-1!==o.indexOf("-")&&null===o.match(rn)&&(o=o.replace(hn,(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(s+1).trim()),c=zt[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?hi(t):(t.match(an)&&(t=t.slice(1,t.length-1)),"true"===t||"false"!==t&&t)}(a,l);"string"==typeof d&&(tn.test(d)||on.test(d))&&(e[c]=i.cloneElement(r(d.trim()),{key:n}))}else"style"!==t&&(e[zt[t]||t]=!0);var o;return e}),{}):null}const a=[],l={},c={blockQuote:{t:li(Nt),i:bi.HIGH,l:(e,t,n)=>({$:t(e[0].replace(Rt,""),n)}),h:(e,t,n)=>s("blockquote",{key:n.k},t(e.$,n))},breakLine:{t:ci(Pt),i:bi.HIGH,l:fi,h:(e,t,n)=>s("br",{key:n.k})},breakThematic:{t:li(Wt),i:bi.HIGH,l:fi,h:(e,t,n)=>s("hr",{key:n.k})},codeBlock:{t:li(Ut),i:bi.MAX,l:e=>({$:e[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(e,t,n)=>s("pre",{key:n.k},s("code",Ft({},e.I,{className:e.M?`lang-${e.M}`:""}),e.$))},codeFenced:{t:li($t),i:bi.MAX,l:e=>({I:o(e[3]||""),$:e[4],M:e[2]||void 0,type:"codeBlock"})},codeInline:{t:ai(qt),i:bi.LOW,l:e=>({$:e[2]}),h:(e,t,n)=>s("code",{key:n.k},e.$)},footnote:{t:li(Kt),i:bi.MAX,l:e=>(a.push({O:e[2],B:e[1]}),{}),h:wi},footnoteReference:{t:oi(Yt),i:bi.HIGH,l:e=>({$:e[1],R:`#${t.slugify(e[1])}`}),h:(e,t,n)=>s("a",{key:n.k,href:hi(e.R)},s("sup",{key:n.k},e.$))},gfmTask:{t:oi(Xt),i:bi.HIGH,l:e=>({T:"x"===e[1].toLowerCase()}),h:(e,t,n)=>s("input",{checked:e.T,key:n.k,readOnly:!0,type:"checkbox"})},heading:{t:li(Qt),i:bi.HIGH,l:(e,n,i)=>({$:pi(n,e[2],i),j:t.slugify(e[2]),C:e[1].length}),h:(e,t,n)=>s(`h${e.C}`,{id:e.j,key:n.k},t(e.$,n))},headingSetext:{t:li(en),i:bi.MAX,l:(e,t,n)=>({$:pi(t,e[1],n),C:"="===e[2]?1:2,type:"heading"})},htmlComment:{t:ci(sn),i:bi.HIGH,l:()=>({}),h:wi},image:{t:ai(Xn),i:bi.HIGH,l:e=>({D:e[1],R:ui(e[2]),N:e[3]}),h:(e,t,n)=>s("img",{key:n.k,alt:e.D||void 0,title:e.N||void 0,src:hi(e.R)})},link:{t:oi(Jn),i:bi.LOW,l:(e,t,n)=>({$:mi(t,e[1],n),R:ui(e[2]),N:e[3]}),h:(e,t,n)=>s("a",{key:n.k,href:hi(e.R),title:e.N},t(e.$,n))},linkAngleBraceStyleDetector:{t:oi(dn),i:bi.MAX,l:e=>({$:[{$:e[1],type:"text"}],R:e[1],type:"link"})},linkBareUrlDetector:{t:(e,t)=>t.Z?null:oi(ln)(e,t),i:bi.MAX,l:e=>({$:[{$:e[1],type:"text"}],R:e[1],N:void 0,type:"link"})},linkMailtoDetector:{t:oi(cn),i:bi.MAX,l(e){let t=e[1],n=e[1];return Ht.test(n)||(n="mailto:"+n),{$:[{$:t.replace("mailto:",""),type:"text"}],R:n,type:"link"}}},orderedList:Yn(s,1),unorderedList:Yn(s,2),newlineCoalescer:{t:li(Zt),i:bi.LOW,l:fi,h:()=>"\n"},paragraph:{t:di,i:bi.LOW,l:vi,h:(e,t,n)=>s("p",{key:n.k},t(e.$,n))},ref:{t:oi(pn),i:bi.MAX,l:e=>(l[e[1]]={R:e[2],N:e[4]},{}),h:wi},refImage:{t:ai(mn),i:bi.MAX,l:e=>({D:e[1]||void 0,F:e[2]}),h:(e,t,n)=>s("img",{key:n.k,alt:e.D,src:hi(l[e.F].R),title:l[e.F].N})},refLink:{t:oi(gn),i:bi.MAX,l:(e,t,n)=>({$:t(e[1],n),P:t(e[0].replace(vn,"\\$1"),n),F:e[2]}),h:(e,t,n)=>l[e.F]?s("a",{key:n.k,href:hi(l[e.F].R),title:l[e.F].N},t(e.$,n)):s("span",{key:n.k},t(e.P,n))},table:{t:li(un),i:bi.HIGH,l:si,h:(e,t,n)=>s("table",{key:n.k},s("thead",null,s("tr",null,e.L.map((function(i,r){return s("th",{key:r,style:ri(e,r)},t(i,n))})))),s("tbody",null,e.A.map((function(i,r){return s("tr",{key:r},i.map((function(i,r){return s("td",{key:r,style:ri(e,r)},t(i,n))})))}))))},tableSeparator:{t:function(e,t){return t.v?yn.exec(e):null},i:bi.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:ci(En),i:bi.MIN,l:e=>({$:e[0].replace(nn,((e,n)=>t.namedCodesToUnicode[n]?t.namedCodesToUnicode[n]:e))}),h:e=>e.$},textBolded:{t:ai(jn),i:bi.MED,l:(e,t,n)=>({$:t(e[2],n)}),h:(e,t,n)=>s("strong",{key:n.k},t(e.$,n))},textEmphasized:{t:ai(In),i:bi.LOW,l:(e,t,n)=>({$:t(e[2],n)}),h:(e,t,n)=>s("em",{key:n.k},t(e.$,n))},textEscaped:{t:ai(kn),i:bi.HIGH,l:e=>({$:e[1],type:"text"})},textMarked:{t:ai(Mn),i:bi.LOW,l:vi,h:(e,t,n)=>s("mark",{key:n.k},t(e.$,n))},textStrikethroughed:{t:ai(Ln),i:bi.LOW,l:vi,h:(e,t,n)=>s("del",{key:n.k},t(e.$,n))}};!0!==t.disableParsingRawHTML&&(c.htmlBlock={t:ci(tn),i:bi.HIGH,l(e,t,n){const[,i]=e[3].match(Fn),s=new RegExp(`^${i}`,"gm"),r=e[3].replace(s,""),a=(l=r,ei.some((e=>e.test(l)))?gi:pi);var l;const c=e[1].toLowerCase(),d=-1!==Dt.indexOf(c);n.Z=n.Z||"a"===c;const h=d?e[3]:a(t,r,n);return n.Z=!1,{I:o(e[2]),$:h,G:d,H:d?c:e[1]}},h:(e,t,n)=>s(e.H,Ft({key:n.k},e.I),e.G?e.$:t(e.$,n))},c.htmlSelfClosing={t:ci(on),i:bi.HIGH,l:e=>({I:o(e[2]||""),H:e[1]}),h:(e,t,n)=>s(e.H,Ft({},e.I,{key:n.k}))});const d=function(e){let t=Object.keys(e);function n(i,s){let r=[],o="";for(;i;){let a=0;for(;a<t.length;){const l=t[a],c=e[l],d=c.t(i,s,o);if(d){const e=d[0];i=i.substring(e.length);const t=c.l(d,n,s);null==t.type&&(t.type=l),r.push(t),o=e;break}a++}}return r}return t.sort((function(t,n){let i=e[t].i,s=e[n].i;return i!==s?i-s:t<n?-1:1})),function(e,t){return n(function(e){return e.replace(Gt,"\n").replace(Jt,"").replace(wn," ")}(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 i=n.k,s=[];let r=!1;for(let i=0;i<t.length;i++){n.k=i;const o=e(t[i],n),a="string"==typeof o;a&&r?s[s.length-1]+=o:null!==o&&s.push(o),r=a}return n.k=i,s}return p(t,e,n)});var u,p;const m=r(e);return a.length?s("div",null,m,s("footer",{key:"footer"},a.map((function(e){return s("div",{id:t.slugify(e.B),key:e.B},e.B,h(d(e.O,{_:!0})))})))):m}(Ci=bi||(bi={}))[Ci.MAX=0]="MAX",Ci[Ci.HIGH=1]="HIGH",Ci[Ci.MED=2]="MED",Ci[Ci.LOW=3]="LOW",Ci[Ci.MIN=4]="MIN";const Si=e=>{let{children:t,options:n}=e,s=function(e,t){if(null==e)return{};var n,i,s={},r=Object.keys(e);for(i=0;i<r.length;i++)t.indexOf(n=r[i])>=0||(s[n]=e[n]);return s}(e,At);return i.cloneElement(_i(t,n),s)};var ji=n(36004),Ii=n(38423);function Mi(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(void 0,"symbol"==typeof(s=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i.key))?s:String(s)),i)}var s}function Li(){return Li=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Li.apply(this,arguments)}function ki(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ei(e,t)}function Ei(e,t){return Ei=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ei(e,t)}function Ti(e,t){if(null==e)return{};var n,i,s={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(s[n]=e[n]);return s}var Fi=["widget","title"],Ai=["widget","title"],zi=["widget","title"];function Oi(){return Et()}function Di(e){return Array.isArray(e)?e.map((function(e){return{key:Oi(),item:e}})):[]}function Bi(e){return Array.isArray(e)?e.map((function(e){return e.item})):[]}var Hi=function(e){function t(t){var n;(n=e.call(this,t)||this)._getNewFormDataRow=function(){var e=n.props,t=e.schema,i=e.registry.schemaUtils,s=t.items;return(0,ft.isFixedItems)(t)&&(0,ft.allowAdditionalItems)(t)&&(s=t.additionalItems),i.getDefaultFormState(s)},n.onAddClick=function(e){n._handleAddClick(e)},n.onAddIndexClick=function(e){return function(t){n._handleAddClick(t,e)}},n.onCopyIndexClick=function(e){return function(t){t&&t.preventDefault();var i=n.props.onChange,s=n.state.keyedFormData,r={key:Oi(),item:(0,Mt.Z)(s[e].item)},o=[].concat(s);void 0!==e?o.splice(e+1,0,r):o.push(r),n.setState({keyedFormData:o,updatedKeyedFormData:!0},(function(){return i(Bi(o))}))}},n.onDropIndexClick=function(e){return function(t){t&&t.preventDefault();var i,s=n.props,r=s.onChange,o=s.errorSchema,a=n.state.keyedFormData;if(o)for(var l in i={},o){var c=parseInt(l);c<e?(0,kt.Z)(i,[c],o[l]):c>e&&(0,kt.Z)(i,[c-1],o[l])}var d=a.filter((function(t,n){return n!==e}));n.setState({keyedFormData:d,updatedKeyedFormData:!0},(function(){return r(Bi(d),i)}))}},n.onReorderClick=function(e,t){return function(i){i&&(i.preventDefault(),i.currentTarget.blur());var s,r=n.props,o=r.onChange,a=r.errorSchema;if(a)for(var l in s={},a){var c=parseInt(l);c==e?(0,kt.Z)(s,[t],a[e]):c==t?(0,kt.Z)(s,[e],a[t]):(0,kt.Z)(s,[l],a[c])}var d,h=n.state.keyedFormData,u=((d=h.slice()).splice(e,1),d.splice(t,0,h[e]),d);n.setState({keyedFormData:u},(function(){return o(Bi(u),s)}))}},n.onChangeForIndex=function(e){return function(t,i,s){var r,o=n.props,a=o.formData,l=o.onChange,c=o.errorSchema,d=(Array.isArray(a)?a:[]).map((function(n,i){return e===i?void 0===t?null:t:n}));l(d,c&&c&&Li({},c,((r={})[e]=i,r)),s)}},n.onSelectChange=function(e){var t=n.props,i=t.onChange,s=t.idSchema;i(e,void 0,s&&s.$id)};var i=t.formData,s=Di(void 0===i?[]:i);return n.state={keyedFormData:s,updatedKeyedFormData:!1},n}ki(t,e),t.getDerivedStateFromProps=function(e,t){if(t.updatedKeyedFormData)return{updatedKeyedFormData:!1};var n=Array.isArray(e.formData)?e.formData:[],i=t.keyedFormData||[];return{keyedFormData:n.length===i.length?i.map((function(e,t){return{key:e.key,item:n[t]}})):Di(n)}};var n,i,s=t.prototype;return s.isItemRequired=function(e){return Array.isArray(e.type)?!e.type.includes("null"):"null"!==e.type},s.canAddItem=function(e){var t=this.props,n=t.schema,i=t.uiSchema,s=t.registry,r=(0,ft.getUiOptions)(i,s.globalUiOptions).addable;return!1!==r&&(r=void 0===n.maxItems||e.length<n.maxItems),r},s._handleAddClick=function(e,t){e&&e.preventDefault();var n=this.props.onChange,i=this.state.keyedFormData,s={key:Oi(),item:this._getNewFormDataRow()},r=[].concat(i);void 0!==t?r.splice(t,0,s):r.push(s),this.setState({keyedFormData:r,updatedKeyedFormData:!0},(function(){return n(Bi(r))}))},s.render=function(){var e=this.props,t=e.schema,n=e.uiSchema,i=e.idSchema,s=e.registry,r=s.schemaUtils,o=s.translateString;if(!(ft.ITEMS_KEY in t)){var a=(0,ft.getUiOptions)(n),l=(0,ft.getTemplate)("UnsupportedFieldTemplate",s,a);return(0,vt.jsx)(l,{schema:t,idSchema:i,reason:o(ft.TranslatableString.MissingItems),registry:s})}return r.isMultiSelect(t)?this.renderMultiSelect():(0,ft.isCustomWidget)(n)?this.renderCustomWidget():(0,ft.isFixedItems)(t)?this.renderFixedArray():r.isFilesArray(t,n)?this.renderFiles():this.renderNormalArray()},s.renderNormalArray=function(){var e=this,t=this.props,n=t.schema,i=t.uiSchema,s=void 0===i?{}:i,r=t.errorSchema,o=t.idSchema,a=t.name,l=t.disabled,c=void 0!==l&&l,d=t.readonly,h=void 0!==d&&d,u=t.autofocus,p=void 0!==u&&u,m=t.required,g=void 0!==m&&m,v=t.registry,f=t.onBlur,w=t.onFocus,y=t.idPrefix,x=t.idSeparator,b=void 0===x?"_":x,C=t.rawErrors,_=this.state.keyedFormData,S=void 0===n.title?a:n.title,j=v.schemaUtils,I=v.formContext,M=(0,ft.getUiOptions)(s),L=(0,Lt.Z)(n.items)?n.items:{},k=j.retrieveSchema(L),E=Bi(this.state.keyedFormData),T=this.canAddItem(E),F={canAdd:T,items:_.map((function(t,n){var i=t.key,l=t.item,c=j.retrieveSchema(L,l),d=r?r[n]:void 0,h=o.$id+b+n,u=j.toIdSchema(c,h,l,y,b);return e.renderArrayFieldItem({key:i,index:n,name:a&&a+"-"+n,canAdd:T,canMoveUp:n>0,canMoveDown:n<E.length-1,itemSchema:c,itemIdSchema:u,itemErrorSchema:d,itemData:l,itemUiSchema:s.items,autofocus:p&&0===n,onBlur:f,onFocus:w,rawErrors:C,totalItems:_.length})})),className:"field field-array field-array-of-"+k.type,disabled:c,idSchema:o,uiSchema:s,onAddClick:this.onAddClick,readonly:h,required:g,schema:n,title:S,formContext:I,formData:E,rawErrors:C,registry:v},A=(0,ft.getTemplate)("ArrayFieldTemplate",v,M);return(0,vt.jsx)(A,Li({},F))},s.renderCustomWidget=function(){var e,t=this.props,n=t.schema,i=t.idSchema,s=t.uiSchema,r=t.disabled,o=void 0!==r&&r,a=t.readonly,l=void 0!==a&&a,c=t.autofocus,d=void 0!==c&&c,h=t.required,u=void 0!==h&&h,p=t.hideError,m=t.placeholder,g=t.onBlur,v=t.onFocus,f=t.formData,w=void 0===f?[]:f,y=t.registry,x=t.rawErrors,b=t.name,C=y.widgets,_=y.formContext,S=y.globalUiOptions,j=y.schemaUtils,I=(0,ft.getUiOptions)(s,S),M=I.widget,L=I.title,k=Ti(I,Fi),E=(0,ft.getWidget)(n,M,C),T=null!=(e=null!=L?L:n.title)?e:b,F=j.getDisplayLabel(n,s,S);return(0,vt.jsx)(E,{id:i.$id,name:b,multiple:!0,onChange:this.onSelectChange,onBlur:g,onFocus:v,options:k,schema:n,uiSchema:s,registry:y,value:w,disabled:o,readonly:l,hideError:p,required:u,label:T,hideLabel:!F,placeholder:m,formContext:_,autofocus:d,rawErrors:x})},s.renderMultiSelect=function(){var e,t=this.props,n=t.schema,i=t.idSchema,s=t.uiSchema,r=t.formData,o=void 0===r?[]:r,a=t.disabled,l=void 0!==a&&a,c=t.readonly,d=void 0!==c&&c,h=t.autofocus,u=void 0!==h&&h,p=t.required,m=void 0!==p&&p,g=t.placeholder,v=t.onBlur,f=t.onFocus,w=t.registry,y=t.rawErrors,x=t.name,b=w.widgets,C=w.schemaUtils,_=w.formContext,S=w.globalUiOptions,j=C.retrieveSchema(n.items,o),I=(0,ft.optionsList)(j),M=(0,ft.getUiOptions)(s,S),L=M.widget,k=void 0===L?"select":L,E=M.title,T=Ti(M,Ai),F=(0,ft.getWidget)(n,k,b),A=null!=(e=null!=E?E:n.title)?e:x,z=C.getDisplayLabel(n,s,S);return(0,vt.jsx)(F,{id:i.$id,name:x,multiple:!0,onChange:this.onSelectChange,onBlur:v,onFocus:f,options:Li({},T,{enumOptions:I}),schema:n,uiSchema:s,registry:w,value:o,disabled:l,readonly:d,required:m,label:A,hideLabel:!z,placeholder:g,formContext:_,autofocus:u,rawErrors:y})},s.renderFiles=function(){var e,t=this.props,n=t.schema,i=t.uiSchema,s=t.idSchema,r=t.name,o=t.disabled,a=void 0!==o&&o,l=t.readonly,c=void 0!==l&&l,d=t.autofocus,h=void 0!==d&&d,u=t.required,p=void 0!==u&&u,m=t.onBlur,g=t.onFocus,v=t.registry,f=t.formData,w=void 0===f?[]:f,y=t.rawErrors,x=v.widgets,b=v.formContext,C=v.globalUiOptions,_=v.schemaUtils,S=(0,ft.getUiOptions)(i,C),j=S.widget,I=void 0===j?"files":j,M=S.title,L=Ti(S,zi),k=(0,ft.getWidget)(n,I,x),E=null!=(e=null!=M?M:n.title)?e:r,T=_.getDisplayLabel(n,i,C);return(0,vt.jsx)(k,{options:L,id:s.$id,name:r,multiple:!0,onChange:this.onSelectChange,onBlur:m,onFocus:g,schema:n,uiSchema:i,value:w,disabled:a,readonly:c,required:p,registry:v,formContext:b,autofocus:h,rawErrors:y,label:E,hideLabel:!T})},s.renderFixedArray=function(){var e=this,t=this.props,n=t.schema,i=t.uiSchema,s=void 0===i?{}:i,r=t.formData,o=void 0===r?[]:r,a=t.errorSchema,l=t.idPrefix,c=t.idSeparator,d=void 0===c?"_":c,h=t.idSchema,u=t.name,p=t.disabled,m=void 0!==p&&p,g=t.readonly,v=void 0!==g&&g,f=t.autofocus,w=void 0!==f&&f,y=t.required,x=void 0!==y&&y,b=t.registry,C=t.onBlur,_=t.onFocus,S=t.rawErrors,j=this.state.keyedFormData,I=this.props.formData,M=void 0===I?[]:I,L=n.title||u,k=(0,ft.getUiOptions)(s),E=b.schemaUtils,T=b.formContext,F=((0,Lt.Z)(n.items)?n.items:[]).map((function(e,t){return E.retrieveSchema(e,o[t])})),A=(0,Lt.Z)(n.additionalItems)?E.retrieveSchema(n.additionalItems,o):null;(!M||M.length<F.length)&&(M=(M=M||[]).concat(new Array(F.length-M.length)));var z=this.canAddItem(M)&&!!A,O={canAdd:z,className:"field field-array field-array-fixed-items",disabled:m,idSchema:h,formData:o,items:j.map((function(t,i){var r=t.key,o=t.item,c=i>=F.length,p=c&&(0,Lt.Z)(n.additionalItems)?E.retrieveSchema(n.additionalItems,o):F[i],m=h.$id+d+i,g=E.toIdSchema(p,m,o,l,d),v=c?s.additionalItems||{}:Array.isArray(s.items)?s.items[i]:s.items||{},f=a?a[i]:void 0;return e.renderArrayFieldItem({key:r,index:i,name:u&&u+"-"+i,canAdd:z,canRemove:c,canMoveUp:i>=F.length+1,canMoveDown:c&&i<M.length-1,itemSchema:p,itemData:o,itemUiSchema:v,itemIdSchema:g,itemErrorSchema:f,autofocus:w&&0===i,onBlur:C,onFocus:_,rawErrors:S,totalItems:j.length})})),onAddClick:this.onAddClick,readonly:v,required:x,registry:b,schema:n,uiSchema:s,title:L,formContext:T,rawErrors:S},D=(0,ft.getTemplate)("ArrayFieldTemplate",b,k);return(0,vt.jsx)(D,Li({},O))},s.renderArrayFieldItem=function(e){var t=e.key,n=e.index,i=e.name,s=e.canAdd,r=e.canRemove,o=void 0===r||r,a=e.canMoveUp,l=e.canMoveDown,c=e.itemSchema,d=e.itemData,h=e.itemUiSchema,u=e.itemIdSchema,p=e.itemErrorSchema,m=e.autofocus,g=e.onBlur,v=e.onFocus,f=e.rawErrors,w=e.totalItems,y=this.props,x=y.disabled,b=y.hideError,C=y.idPrefix,_=y.idSeparator,S=y.readonly,j=y.uiSchema,I=y.registry,M=y.formContext,L=I.fields,k=L.ArraySchemaField,E=L.SchemaField,T=I.globalUiOptions,F=k||E,A=(0,ft.getUiOptions)(j,T),z=A.orderable,O=void 0===z||z,D=A.removable,B=void 0===D||D,H=A.copyable,V={moveUp:O&&a,moveDown:O&&l,copy:void 0!==H&&H&&s,remove:B&&o,toolbar:!1};return V.toolbar=Object.keys(V).some((function(e){return V[e]})),{children:(0,vt.jsx)(F,{name:i,index:n,schema:c,uiSchema:h,formData:d,formContext:M,errorSchema:p,idPrefix:C,idSeparator:_,idSchema:u,required:this.isItemRequired(c),onChange:this.onChangeForIndex(n),onBlur:g,onFocus:v,registry:I,disabled:x,readonly:S,hideError:b,autofocus:m,rawErrors:f}),className:"array-item",disabled:x,canAdd:s,hasCopy:V.copy,hasToolbar:V.toolbar,hasMoveUp:V.moveUp,hasMoveDown:V.moveDown,hasRemove:V.remove,index:n,totalItems:w,key:t,onAddIndexClick:this.onAddIndexClick,onCopyIndexClick:this.onCopyIndexClick,onDropIndexClick:this.onDropIndexClick,onReorderClick:this.onReorderClick,readonly:S,registry:I,schema:c,uiSchema:h}},n=t,(i=[{key:"itemTitle",get:function(){var e=this.props,t=e.schema,n=e.registry.translateString;return(0,wt.Z)(t,[ft.ITEMS_KEY,"title"],(0,wt.Z)(t,[ft.ITEMS_KEY,"description"],n(ft.TranslatableString.ArrayItemTitle)))}}])&&Mi(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(i.Component),Vi=["widget","title","label"];function Ni(e){var t,n,i=e.schema,s=e.name,r=e.uiSchema,o=e.idSchema,a=e.formData,l=e.registry,c=e.required,d=e.disabled,h=e.readonly,u=e.autofocus,p=e.onChange,m=e.onFocus,g=e.onBlur,v=e.rawErrors,f=i.title,w=l.widgets,y=l.formContext,x=l.translateString,b=l.globalUiOptions,C=(0,ft.getUiOptions)(r,b),_=C.widget,S=void 0===_?"checkbox":_,j=C.title,I=C.label,M=void 0===I||I,L=Ti(C,Vi),k=(0,ft.getWidget)(i,S,w),E=x(ft.TranslatableString.YesLabel),T=x(ft.TranslatableString.NoLabel),F=null!=(t=null!=j?j:f)?t:s;if(Array.isArray(i.oneOf))n=(0,ft.optionsList)({oneOf:i.oneOf.map((function(e){if((0,Lt.Z)(e))return Li({},e,{title:e.title||(!0===e.const?E:T)})})).filter((function(e){return e}))});else{var A,z=i,O=null!=(A=i.enum)?A:[!0,!1];n=!z.enumNames&&2===O.length&&O.every((function(e){return"boolean"==typeof e}))?[{value:O[0],label:O[0]?E:T},{value:O[1],label:O[1]?E:T}]:(0,ft.optionsList)({enum:O,enumNames:z.enumNames})}return(0,vt.jsx)(k,{options:Li({},L,{enumOptions:n}),schema:i,uiSchema:r,id:o.$id,name:s,onChange:p,onFocus:m,onBlur:g,label:F,hideLabel:!M,value:a,required:c,disabled:d,readonly:h,registry:l,formContext:y,autofocus:u,rawErrors:v})}var Ri=["widget","placeholder","autofocus","autocomplete","title"],Pi=function(e){function t(t){var n;(n=e.call(this,t)||this).onOptionChange=function(e){var t=n.state,i=t.selectedOption,s=t.retrievedOptions,r=n.props,o=r.formData,a=r.onChange,l=r.registry.schemaUtils,c=void 0!==e?parseInt(e,10):-1;if(c!==i){var d=c>=0?s[c]:void 0,h=i>=0?s[i]:void 0,u=l.sanitizeDataForNewSchema(d,h,o);u&&d&&(u=l.getDefaultFormState(d,u,"excludeObjectChildren")),a(u,void 0,n.getFieldId()),n.setState({selectedOption:c})}};var i=n.props,s=i.formData,r=i.options,o=i.registry.schemaUtils,a=r.map((function(e){return o.retrieveSchema(e,s)}));return n.state={retrievedOptions:a,selectedOption:n.getMatchingOption(0,s,a)},n}ki(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){var n=this.props,i=n.formData,s=n.options,r=n.idSchema,o=this.state.selectedOption,a=this.state;if(!(0,ft.deepEquals)(e.options,s)){var l=this.props.registry.schemaUtils;a={selectedOption:o,retrievedOptions:s.map((function(e){return l.retrieveSchema(e,i)}))}}if(!(0,ft.deepEquals)(i,e.formData)&&r.$id===e.idSchema.$id){var c=a.retrievedOptions,d=this.getMatchingOption(o,i,c);t&&d!==o&&(a={selectedOption:d,retrievedOptions:c})}a!==this.state&&this.setState(a)},n.getMatchingOption=function(e,t,n){var i=this.props,s=i.schema,r=i.registry.schemaUtils,o=(0,ft.getDiscriminatorFieldFromSchema)(s);return r.getClosestMatchingOption(t,n,e,o)},n.getFieldId=function(){var e=this.props,t=e.idSchema,n=e.schema;return t.$id+(n.oneOf?"__oneof_select":"__anyof_select")},n.render=function(){var e,t=this.props,n=t.name,i=t.baseType,s=t.disabled,r=void 0!==s&&s,o=t.errorSchema,a=void 0===o?{}:o,l=t.formContext,c=t.onBlur,d=t.onFocus,h=t.registry,u=t.schema,p=t.uiSchema,m=h.widgets,g=h.fields,v=h.translateString,f=h.globalUiOptions,w=h.schemaUtils,y=g.SchemaField,x=this.state,b=x.selectedOption,C=x.retrievedOptions,_=(0,ft.getUiOptions)(p,f),S=_.widget,j=void 0===S?"select":S,I=_.placeholder,M=_.autofocus,L=_.autocomplete,k=_.title,E=void 0===k?u.title:k,T=Ti(_,Ri),F=(0,ft.getWidget)({type:"number"},j,m),A=(0,wt.Z)(a,ft.ERRORS_KEY,[]),z=(0,Tt.Z)(a,[ft.ERRORS_KEY]),O=w.getDisplayLabel(u,p,f),D=b>=0&&C[b]||null;D&&(e=D.type?D:Object.assign({},D,{type:i}));var B=E?ft.TranslatableString.TitleOptionPrefix:ft.TranslatableString.OptionPrefix,H=E?[E]:[],V=C.map((function(e,t){return{label:e.title||v(B,H.concat(String(t+1))),value:t}}));return(0,vt.jsxs)("div",{className:"panel panel-default panel-body",children:[(0,vt.jsx)("div",{className:"form-group",children:(0,vt.jsx)(F,{id:this.getFieldId(),name:n+(u.oneOf?"__oneof_select":"__anyof_select"),schema:{type:"number",default:0},onChange:this.onOptionChange,onBlur:c,onFocus:d,disabled:r||(0,yt.Z)(V),multiple:!1,rawErrors:A,errorSchema:z,value:b>=0?b:void 0,options:Li({enumOptions:V},T),registry:h,formContext:l,placeholder:I,autocomplete:L,autofocus:M,label:null!=E?E:n,hideLabel:!O})}),null!==D&&(0,vt.jsx)(y,Li({},this.props,{schema:e}))]})},t}(i.Component),Wi=/\.([0-9]*0)*$/,$i=/[0.]0*$/;function Ui(e){var t=e.registry,n=e.onChange,s=e.formData,r=e.value,o=(0,i.useState)(r),a=o[0],l=o[1],c=t.fields.StringField,d=s,h=(0,i.useCallback)((function(e){l(e),"."===(""+e).charAt(0)&&(e="0"+e);var t="string"==typeof e&&e.match(Wi)?(0,ft.asNumber)(e.replace($i,"")):(0,ft.asNumber)(e);n(t)}),[n]);if("string"==typeof a&&"number"==typeof d){var u=new RegExp((""+d).replace(".","\\.")+"\\.?0*$");a.match(u)&&(d=a)}return(0,vt.jsx)(c,Li({},e,{formData:d,onChange:h}))}var qi=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return(t=e.call.apply(e,[this].concat(i))||this).state={wasPropertyKeyModified:!1,additionalProperties:{}},t.onPropertyChange=function(e,n){return void 0===n&&(n=!1),function(i,s,r){var o,a,l=t.props,c=l.formData,d=l.onChange,h=l.errorSchema;void 0===i&&n&&(i=""),d(Li({},c,((o={})[e]=i,o)),h&&h&&Li({},h,((a={})[e]=s,a)),r)}},t.onDropPropertyClick=function(e){return function(n){n.preventDefault();var i,s,r=t.props,o=r.onChange,a=Li({},r.formData);s=e,null==(i=a)||(0,Ii.Z)(i,s),o(a)}},t.getAvailableKey=function(e,n){for(var i=t.props,s=i.uiSchema,r=i.registry,o=(0,ft.getUiOptions)(s,r.globalUiOptions).duplicateKeySuffixSeparator,a=void 0===o?"-":o,l=0,c=e;(0,ji.Z)(n,c);)c=""+e+a+ ++l;return c},t.onKeyChange=function(e){return function(n,i){var s,r;if(e!==n){var o=t.props,a=o.formData,l=o.onChange,c=o.errorSchema;n=t.getAvailableKey(n,a);var d=Li({},a),h=((s={})[e]=n,s),u=Object.keys(d).map((function(e){var t;return(t={})[h[e]||e]=d[e],t})),p=Object.assign.apply(Object,[{}].concat(u));t.setState({wasPropertyKeyModified:!0}),l(p,c&&c&&Li({},c,((r={})[n]=i,r)))}}},t.handleAddClick=function(e){return function(){if(e.additionalProperties){var n=t.props,i=n.formData,s=n.onChange,r=n.registry,o=Li({},i),a=void 0;if((0,Lt.Z)(e.additionalProperties)){a=e.additionalProperties.type;var l=e.additionalProperties;ft.REF_KEY in l&&(a=(l=r.schemaUtils.retrieveSchema({$ref:l[ft.REF_KEY]},i)).type),a||!(ft.ANY_OF_KEY in l)&&!(ft.ONE_OF_KEY in l)||(a="object")}var c=t.getAvailableKey("newKey",o);(0,kt.Z)(o,c,t.getDefaultValue(a)),s(o)}}},t}ki(t,e);var n=t.prototype;return n.isRequired=function(e){var t=this.props.schema;return Array.isArray(t.required)&&-1!==t.required.indexOf(e)},n.getDefaultValue=function(e){var t=this.props.registry.translateString;switch(e){case"array":return[];case"boolean":return!1;case"null":return null;case"number":return 0;case"object":return{};default:return t(ft.TranslatableString.NewStringDefault)}},n.render=function(){var e,t,n,i,s=this,r=this.props,o=r.schema,a=r.uiSchema,l=void 0===a?{}:a,c=r.formData,d=r.errorSchema,h=r.idSchema,u=r.name,p=r.required,m=void 0!==p&&p,g=r.disabled,v=void 0!==g&&g,f=r.readonly,w=void 0!==f&&f,y=r.hideError,x=r.idPrefix,b=r.idSeparator,C=r.onBlur,_=r.onFocus,S=r.registry,j=S.fields,I=S.formContext,M=S.schemaUtils,L=S.translateString,k=S.globalUiOptions,E=j.SchemaField,T=M.retrieveSchema(o,c),F=(0,ft.getUiOptions)(l,k),A=T.properties,z=void 0===A?{}:A,O=null!=(e=null!=(t=F.title)?t:T.title)?e:u,D=null!=(n=F.description)?n:T.description;try{var B=Object.keys(z);i=(0,ft.orderProperties)(B,F.order)}catch(e){return(0,vt.jsxs)("div",{children:[(0,vt.jsx)("p",{className:"config-error",style:{color:"red"},children:(0,vt.jsx)(Si,{children:L(ft.TranslatableString.InvalidObjectField,[u||"root",e.message])})}),(0,vt.jsx)("pre",{children:JSON.stringify(T)})]})}var H=(0,ft.getTemplate)("ObjectFieldTemplate",S,F),V={title:!1===F.label?"":O,description:!1===F.label?void 0:D,properties:i.map((function(e){var t=(0,ji.Z)(T,[ft.PROPERTIES_KEY,e,ft.ADDITIONAL_PROPERTY_FLAG]),n=t?l.additionalProperties:l[e],i="hidden"===(0,ft.getUiOptions)(n).widget,r=(0,wt.Z)(h,[e],{});return{content:(0,vt.jsx)(E,{name:e,required:s.isRequired(e),schema:(0,wt.Z)(T,[ft.PROPERTIES_KEY,e],{}),uiSchema:n,errorSchema:(0,wt.Z)(d,e),idSchema:r,idPrefix:x,idSeparator:b,formData:(0,wt.Z)(c,e),formContext:I,wasPropertyKeyModified:s.state.wasPropertyKeyModified,onKeyChange:s.onKeyChange(e),onChange:s.onPropertyChange(e,t),onBlur:C,onFocus:_,registry:S,disabled:v,readonly:w,hideError:y,onDropPropertyClick:s.onDropPropertyClick},e),name:e,readonly:w,disabled:v,required:m,hidden:i}})),readonly:w,disabled:v,required:m,idSchema:h,uiSchema:l,errorSchema:d,schema:T,formData:c,formContext:I,registry:S};return(0,vt.jsx)(H,Li({},V,{onAddClick:this.handleAddClick}))},t}(i.Component),Zi=["__errors"],Gi={array:"ArrayField",boolean:"BooleanField",integer:"NumberField",number:"NumberField",object:"ObjectField",string:"StringField",null:"NullField"};function Ki(e){var t=e.schema,n=e.idSchema,s=e.uiSchema,r=e.formData,o=e.errorSchema,a=e.idPrefix,l=e.idSeparator,c=e.name,d=e.onChange,h=e.onKeyChange,u=e.onDropPropertyClick,p=e.required,m=e.registry,g=e.wasPropertyKeyModified,v=void 0!==g&&g,f=m.formContext,w=m.schemaUtils,y=m.globalUiOptions,x=(0,ft.getUiOptions)(s,y),b=(0,ft.getTemplate)("FieldTemplate",m,x),C=(0,ft.getTemplate)("DescriptionFieldTemplate",m,x),_=(0,ft.getTemplate)("FieldHelpTemplate",m,x),S=(0,ft.getTemplate)("FieldErrorTemplate",m,x),j=w.retrieveSchema(t,r),I=n[ft.ID_KEY],M=(0,ft.mergeObjects)(w.toIdSchema(j,I,r,a,l),n),L=(0,i.useCallback)((function(e,t,n){return d(e,t,n||I)}),[I,d]),k=function(e,t,n,i){var s=t.field,r=i.fields,o=i.translateString;if("function"==typeof s)return s;if("string"==typeof s&&s in r)return r[s];var a=(0,ft.getSchemaType)(e),l=Array.isArray(a)?a[0]:a||"",c=Gi[l];return c||!e.anyOf&&!e.oneOf?c in r?r[c]:function(){var s=(0,ft.getTemplate)("UnsupportedFieldTemplate",i,t);return(0,vt.jsx)(s,{schema:e,idSchema:n,reason:o(ft.TranslatableString.UnknownFieldType,[String(e.type)]),registry:i})}:function(){return null}}(j,x,M,m),E=Boolean(e.disabled||x.disabled),T=Boolean(e.readonly||x.readonly||e.schema.readOnly||j.readOnly),F=x.hideError,A=void 0===F?e.hideError:Boolean(F),z=Boolean(e.autofocus||x.autofocus);if(0===Object.keys(j).length)return null;var O=w.getDisplayLabel(j,s,y),D=o||{},B=D.__errors,H=Ti(D,Zi),V=(0,Tt.Z)(s,["ui:classNames","classNames","ui:style"]);ft.UI_OPTIONS_KEY in V&&(V[ft.UI_OPTIONS_KEY]=(0,Tt.Z)(V[ft.UI_OPTIONS_KEY],["classNames","style"]));var N,R=(0,vt.jsx)(k,Li({},e,{onChange:L,idSchema:M,schema:j,uiSchema:V,disabled:E,readonly:T,hideError:A,autofocus:z,errorSchema:H,formContext:f,rawErrors:B})),P=M[ft.ID_KEY];N=v||ft.ADDITIONAL_PROPERTY_FLAG in j?c:x.title||e.schema.title||j.title||c;var W=x.description||e.schema.description||j.description||"",$=x.enableMarkdownInDescription?(0,vt.jsx)(Si,{children:W}):W,U=x.help,q="hidden"===x.widget,Z=["form-group","field","field-"+(0,ft.getSchemaType)(j)];!A&&B&&B.length>0&&Z.push("field-error has-error has-danger"),null!=s&&s.classNames&&Z.push(s.classNames),x.classNames&&Z.push(x.classNames);var G=(0,vt.jsx)(_,{help:U,idSchema:M,schema:j,uiSchema:s,hasErrors:!A&&B&&B.length>0,registry:m}),K=A?void 0:(0,vt.jsx)(S,{errors:B,errorSchema:o,idSchema:M,schema:j,uiSchema:s,registry:m}),Y={description:(0,vt.jsx)(C,{id:(0,ft.descriptionId)(P),description:$,schema:j,uiSchema:s,registry:m}),rawDescription:W,help:G,rawHelp:"string"==typeof U?U:void 0,errors:K,rawErrors:A?void 0:B,id:P,label:N,hidden:q,onChange:d,onKeyChange:h,onDropPropertyClick:u,required:p,disabled:E,readonly:T,hideError:A,displayLabel:O,classNames:Z.join(" ").trim(),style:x.style,formContext:f,formData:r,schema:j,uiSchema:s,registry:m},J=m.fields.AnyOfField,X=m.fields.OneOfField,Q=(null==s?void 0:s["ui:field"])&&!0===(null==s?void 0:s["ui:fieldReplacesAnyOrOneOf"]);return(0,vt.jsx)(b,Li({},Y,{children:(0,vt.jsxs)(vt.Fragment,{children:[R,j.anyOf&&!Q&&!w.isSelect(j)&&(0,vt.jsx)(J,{name:c,disabled:E,readonly:T,hideError:A,errorSchema:o,formData:r,formContext:f,idPrefix:a,idSchema:M,idSeparator:l,onBlur:e.onBlur,onChange:e.onChange,onFocus:e.onFocus,options:j.anyOf.map((function(e){return w.retrieveSchema((0,Lt.Z)(e)?e:{},r)})),baseType:j.type,registry:m,schema:j,uiSchema:s}),j.oneOf&&!Q&&!w.isSelect(j)&&(0,vt.jsx)(X,{name:c,disabled:E,readonly:T,hideError:A,errorSchema:o,formData:r,formContext:f,idPrefix:a,idSchema:M,idSeparator:l,onBlur:e.onBlur,onChange:e.onChange,onFocus:e.onFocus,options:j.oneOf.map((function(e){return w.retrieveSchema((0,Lt.Z)(e)?e:{},r)})),baseType:j.type,registry:m,schema:j,uiSchema:s})]})}))}var Yi=function(e){function t(){return e.apply(this,arguments)||this}ki(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!(0,ft.deepEquals)(this.props,e)},n.render=function(){return(0,vt.jsx)(Ki,Li({},this.props))},t}(i.Component),Ji=["widget","placeholder","title"];function Xi(e){var t,n=e.schema,i=e.name,s=e.uiSchema,r=e.idSchema,o=e.formData,a=e.required,l=e.disabled,c=void 0!==l&&l,d=e.readonly,h=void 0!==d&&d,u=e.autofocus,p=void 0!==u&&u,m=e.onChange,g=e.onBlur,v=e.onFocus,f=e.registry,w=e.rawErrors,y=n.title,x=n.format,b=f.widgets,C=f.formContext,_=f.schemaUtils,S=f.globalUiOptions,j=_.isSelect(n)?(0,ft.optionsList)(n):void 0,I=j?"select":"text";x&&(0,ft.hasWidget)(n,x,b)&&(I=x);var M=(0,ft.getUiOptions)(s),L=M.widget,k=void 0===L?I:L,E=M.placeholder,T=void 0===E?"":E,F=M.title,A=Ti(M,Ji),z=_.getDisplayLabel(n,s,S),O=null!=(t=null!=F?F:y)?t:i,D=(0,ft.getWidget)(n,k,b);return(0,vt.jsx)(D,{options:Li({},A,{enumOptions:j}),schema:n,uiSchema:s,id:r.$id,name:i,label:O,hideLabel:!z,value:o,onChange:m,onBlur:g,onFocus:v,required:a,disabled:c,readonly:h,formContext:C,autofocus:p,registry:f,placeholder:T,rawErrors:w})}function Qi(e){var t=e.formData,n=e.onChange;return(0,i.useEffect)((function(){void 0===t&&n(null)}),[t,n]),null}function es(e){var t=e.idSchema,n=e.description,i=e.registry,s=e.schema,r=e.uiSchema,o=(0,ft.getUiOptions)(r,i.globalUiOptions),a=o.label;if(!n||void 0!==a&&!a)return null;var l=(0,ft.getTemplate)("DescriptionFieldTemplate",i,o);return(0,vt.jsx)(l,{id:(0,ft.descriptionId)(t),description:n,schema:s,uiSchema:r,registry:i})}function ts(e){var t=e.children,n=e.className,i=e.disabled,s=e.hasToolbar,r=e.hasMoveDown,o=e.hasMoveUp,a=e.hasRemove,l=e.hasCopy,c=e.index,d=e.onCopyIndexClick,h=e.onDropIndexClick,u=e.onReorderClick,p=e.readonly,m=e.registry,g=e.uiSchema,v=m.templates.ButtonTemplates,f=v.CopyButton,w=v.MoveDownButton,y=v.MoveUpButton,x=v.RemoveButton,b={flex:1,paddingLeft:6,paddingRight:6,fontWeight:"bold"};return(0,vt.jsxs)("div",{className:n,children:[(0,vt.jsx)("div",{className:s?"col-xs-9":"col-xs-12",children:t}),s&&(0,vt.jsx)("div",{className:"col-xs-3 array-item-toolbox",children:(0,vt.jsxs)("div",{className:"btn-group",style:{display:"flex",justifyContent:"space-around"},children:[(o||r)&&(0,vt.jsx)(y,{style:b,disabled:i||p||!o,onClick:u(c,c-1),uiSchema:g,registry:m}),(o||r)&&(0,vt.jsx)(w,{style:b,disabled:i||p||!r,onClick:u(c,c+1),uiSchema:g,registry:m}),l&&(0,vt.jsx)(f,{style:b,disabled:i||p,onClick:d(c),uiSchema:g,registry:m}),a&&(0,vt.jsx)(x,{style:b,disabled:i||p,onClick:h(c),uiSchema:g,registry:m})]})})]})}var ns=["key"];function is(e){var t=e.canAdd,n=e.className,i=e.disabled,s=e.idSchema,r=e.uiSchema,o=e.items,a=e.onAddClick,l=e.readonly,c=e.registry,d=e.required,h=e.schema,u=e.title,p=(0,ft.getUiOptions)(r),m=(0,ft.getTemplate)("ArrayFieldDescriptionTemplate",c,p),g=(0,ft.getTemplate)("ArrayFieldItemTemplate",c,p),v=(0,ft.getTemplate)("ArrayFieldTitleTemplate",c,p),f=c.templates.ButtonTemplates.AddButton;return(0,vt.jsxs)("fieldset",{className:n,id:s.$id,children:[(0,vt.jsx)(v,{idSchema:s,title:p.title||u,required:d,schema:h,uiSchema:r,registry:c}),(0,vt.jsx)(m,{idSchema:s,description:p.description||h.description,schema:h,uiSchema:r,registry:c}),(0,vt.jsx)("div",{className:"row array-item-list",children:o&&o.map((function(e){var t=e.key,n=Ti(e,ns);return(0,vt.jsx)(g,Li({},n),t)}))}),t&&(0,vt.jsx)(f,{className:"array-item-add",onClick:a,disabled:i||l,uiSchema:r,registry:c})]})}function ss(e){var t=e.idSchema,n=e.title,i=e.schema,s=e.uiSchema,r=e.required,o=e.registry,a=(0,ft.getUiOptions)(s,o.globalUiOptions),l=a.label;if(!n||void 0!==l&&!l)return null;var c=(0,ft.getTemplate)("TitleFieldTemplate",o,a);return(0,vt.jsx)(c,{id:(0,ft.titleId)(t),title:n,required:r,schema:i,uiSchema:s,registry:o})}var rs=["id","name","value","readonly","disabled","autofocus","onBlur","onFocus","onChange","onChangeOverride","options","schema","uiSchema","formContext","registry","rawErrors","type","hideLabel","hideError"];function os(e){var t=e.id,n=e.value,s=e.readonly,r=e.disabled,o=e.autofocus,a=e.onBlur,l=e.onFocus,c=e.onChange,d=e.onChangeOverride,h=e.options,u=e.schema,p=e.type,m=Ti(e,rs);if(!t)throw console.log("No id for",e),new Error("no id for props "+JSON.stringify(e));var g,v=Li({},m,(0,ft.getInputProps)(u,p,h));g="number"===v.type||"integer"===v.type?n||0===n?n:"":null==n?"":n;var f=(0,i.useCallback)((function(e){var t=e.target.value;return c(""===t?h.emptyValue:t)}),[c,h]),w=(0,i.useCallback)((function(e){var n=e.target.value;return a(t,n)}),[a,t]),y=(0,i.useCallback)((function(e){var n=e.target.value;return l(t,n)}),[l,t]);return(0,vt.jsxs)(vt.Fragment,{children:[(0,vt.jsx)("input",Li({id:t,name:t,className:"form-control",readOnly:s,disabled:r,autoFocus:o,value:g},v,{list:u.examples?(0,ft.examplesId)(t):void 0,onChange:d||f,onBlur:w,onFocus:y,"aria-describedby":(0,ft.ariaDescribedByIds)(t,!!u.examples)})),Array.isArray(u.examples)&&(0,vt.jsx)("datalist",{id:(0,ft.examplesId)(t),children:u.examples.concat(u.default&&!u.examples.includes(u.default)?[u.default]:[]).map((function(e){return(0,vt.jsx)("option",{value:e},e)}))},"datalist_"+t)]})}function as(e){var t=e.uiSchema,n=(0,ft.getSubmitButtonOptions)(t),i=n.submitText,s=n.norender,r=n.props,o=void 0===r?{}:r;return s?null:(0,vt.jsx)("div",{children:(0,vt.jsx)("button",Li({type:"submit"},o,{className:"btn btn-info "+(o.className||""),children:i}))})}var ls=["iconType","icon","className","uiSchema","registry"];function cs(e){var t=e.iconType,n=void 0===t?"default":t,i=e.icon,s=e.className,r=Ti(e,ls);return(0,vt.jsx)("button",Li({type:"button",className:"btn btn-"+n+" "+s},r,{children:(0,vt.jsx)("i",{className:"glyphicon glyphicon-"+i})}))}function ds(e){var t=e.registry.translateString;return(0,vt.jsx)(cs,Li({title:t(ft.TranslatableString.CopyButton),className:"array-item-copy"},e,{icon:"copy"}))}function hs(e){var t=e.registry.translateString;return(0,vt.jsx)(cs,Li({title:t(ft.TranslatableString.MoveDownButton),className:"array-item-move-down"},e,{icon:"arrow-down"}))}function us(e){var t=e.registry.translateString;return(0,vt.jsx)(cs,Li({title:t(ft.TranslatableString.MoveUpButton),className:"array-item-move-up"},e,{icon:"arrow-up"}))}function ps(e){var t=e.registry.translateString;return(0,vt.jsx)(cs,Li({title:t(ft.TranslatableString.RemoveButton),className:"array-item-remove"},e,{iconType:"danger",icon:"remove"}))}function ms(e){var t=e.className,n=e.onClick,i=e.disabled,s=e.registry,r=s.translateString;return(0,vt.jsx)("div",{className:"row",children:(0,vt.jsx)("p",{className:"col-xs-3 col-xs-offset-9 text-right "+t,children:(0,vt.jsx)(cs,{iconType:"info",icon:"plus",className:"btn-add col-xs-12",title:r(ft.TranslatableString.AddButton),onClick:n,disabled:i,registry:s})})})}function gs(e){var t=e.id,n=e.description;return n?"string"==typeof n?(0,vt.jsx)("p",{id:t,className:"field-description",children:n}):(0,vt.jsx)("div",{id:t,className:"field-description",children:n}):null}function vs(e){var t=e.errors,n=e.registry.translateString;return(0,vt.jsxs)("div",{className:"panel panel-danger errors",children:[(0,vt.jsx)("div",{className:"panel-heading",children:(0,vt.jsx)("h3",{className:"panel-title",children:n(ft.TranslatableString.ErrorsLabel)})}),(0,vt.jsx)("ul",{className:"list-group",children:t.map((function(e,t){return(0,vt.jsx)("li",{className:"list-group-item text-danger",children:e.stack},t)}))})]})}var fs="*";function ws(e){var t=e.label,n=e.required,i=e.id;return t?(0,vt.jsxs)("label",{className:"control-label",htmlFor:i,children:[t,n&&(0,vt.jsx)("span",{className:"required",children:fs})]}):null}function ys(e){var t=e.id,n=e.label,i=e.children,s=e.errors,r=e.help,o=e.description,a=e.hidden,l=e.required,c=e.displayLabel,d=e.registry,h=e.uiSchema,u=(0,ft.getUiOptions)(h),p=(0,ft.getTemplate)("WrapIfAdditionalTemplate",d,u);return a?(0,vt.jsx)("div",{className:"hidden",children:i}):(0,vt.jsxs)(p,Li({},e,{children:[c&&(0,vt.jsx)(ws,{label:n,required:l,id:t}),c&&o?o:null,i,s,r]}))}function xs(e){var t=e.errors,n=void 0===t?[]:t,i=e.idSchema;if(0===n.length)return null;var s=(0,ft.errorId)(i);return(0,vt.jsx)("div",{children:(0,vt.jsx)("ul",{id:s,className:"error-detail bs-callout bs-callout-info",children:n.filter((function(e){return!!e})).map((function(e,t){return(0,vt.jsx)("li",{className:"text-danger",children:e},t)}))})})}function bs(e){var t=e.idSchema,n=e.help;if(!n)return null;var i=(0,ft.helpId)(t);return"string"==typeof n?(0,vt.jsx)("p",{id:i,className:"help-block",children:n}):(0,vt.jsx)("div",{id:i,className:"help-block",children:n})}function Cs(e){var t=e.description,n=e.disabled,i=e.formData,s=e.idSchema,r=e.onAddClick,o=e.properties,a=e.readonly,l=e.registry,c=e.required,d=e.schema,h=e.title,u=e.uiSchema,p=(0,ft.getUiOptions)(u),m=(0,ft.getTemplate)("TitleFieldTemplate",l,p),g=(0,ft.getTemplate)("DescriptionFieldTemplate",l,p),v=l.templates.ButtonTemplates.AddButton;return(0,vt.jsxs)("fieldset",{id:s.$id,children:[h&&(0,vt.jsx)(m,{id:(0,ft.titleId)(s),title:h,required:c,schema:d,uiSchema:u,registry:l}),t&&(0,vt.jsx)(g,{id:(0,ft.descriptionId)(s),description:t,schema:d,uiSchema:u,registry:l}),o.map((function(e){return e.content})),(0,ft.canExpand)(d,u,i)&&(0,vt.jsx)(v,{className:"object-property-expand",onClick:r(d),disabled:n||a,uiSchema:u,registry:l})]})}var _s="*";function Ss(e){var t=e.id,n=e.title,i=e.required;return(0,vt.jsxs)("legend",{id:t,children:[n,i&&(0,vt.jsx)("span",{className:"required",children:_s})]})}function js(e){var t=e.schema,n=e.idSchema,i=e.reason,s=e.registry.translateString,r=ft.TranslatableString.UnsupportedField,o=[];return n&&n.$id&&(r=ft.TranslatableString.UnsupportedFieldWithId,o.push(n.$id)),i&&(r=r===ft.TranslatableString.UnsupportedField?ft.TranslatableString.UnsupportedFieldWithReason:ft.TranslatableString.UnsupportedFieldWithIdAndReason,o.push(i)),(0,vt.jsxs)("div",{className:"unsupported-field",children:[(0,vt.jsx)("p",{children:(0,vt.jsx)(Si,{children:s(r,o)})}),t&&(0,vt.jsx)("pre",{children:JSON.stringify(t,null,2)})]})}function Is(e){var t=e.id,n=e.classNames,i=e.style,s=e.disabled,r=e.label,o=e.onKeyChange,a=e.onDropPropertyClick,l=e.readonly,c=e.required,d=e.schema,h=e.children,u=e.uiSchema,p=e.registry,m=p.templates,g=p.translateString,v=m.ButtonTemplates.RemoveButton,f=g(ft.TranslatableString.KeyLabel,[r]);return ft.ADDITIONAL_PROPERTY_FLAG in d?(0,vt.jsx)("div",{className:n,style:i,children:(0,vt.jsxs)("div",{className:"row",children:[(0,vt.jsx)("div",{className:"col-xs-5 form-additional",children:(0,vt.jsxs)("div",{className:"form-group",children:[(0,vt.jsx)(ws,{label:f,required:c,id:t+"-key"}),(0,vt.jsx)("input",{className:"form-control",type:"text",id:t+"-key",onBlur:function(e){return o(e.target.value)},defaultValue:r})]})}),(0,vt.jsx)("div",{className:"form-additional form-group col-xs-5",children:h}),(0,vt.jsx)("div",{className:"col-xs-2",children:(0,vt.jsx)(v,{className:"array-item-remove btn-block",style:{border:"0"},disabled:s||l,onClick:a(r),uiSchema:u,registry:p})})]})}):(0,vt.jsx)("div",{className:n,style:i,children:h})}function Ms(e,t){for(var n=[],i=e;i<=t;i++)n.push({value:i,label:(0,ft.pad)(i,2)});return n}function Ls(e,t,n){void 0===n&&(n=[1900,(new Date).getFullYear()+2]);var i=e.year,s=e.month,r=e.day,o=e.hour,a=e.minute,l=e.second,c=[{type:"year",range:n,value:i},{type:"month",range:[1,12],value:s},{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 ks(e){var t=e.type,n=e.range,i=e.value,s=e.select,r=e.rootId,o=e.name,a=e.disabled,l=e.readonly,c=e.autofocus,d=e.registry,h=e.onBlur,u=e.onFocus,p=r+"_"+t,m=d.widgets.SelectWidget;return(0,vt.jsx)(m,{schema:{type:"integer"},id:p,name:o,className:"form-control",options:{enumOptions:Ms(n[0],n[1])},placeholder:t,value:i,disabled:a,readonly:l,autofocus:c,onChange:function(e){return s(t,e)},onBlur:h,onFocus:u,registry:d,label:"","aria-describedby":(0,ft.ariaDescribedByIds)(r)})}function Es(e){var t=e.time,n=void 0!==t&&t,s=e.disabled,r=void 0!==s&&s,o=e.readonly,a=void 0!==o&&o,l=e.autofocus,c=void 0!==l&&l,d=e.options,h=e.id,u=e.name,p=e.registry,m=e.onBlur,g=e.onFocus,v=e.onChange,f=e.value,w=p.translateString,y=(0,i.useState)(f),x=y[0],b=y[1],C=(0,i.useReducer)((function(e,t){return Li({},e,t)}),(0,ft.parseDateString)(f,n)),_=C[0],S=C[1];(0,i.useEffect)((function(){var e=(0,ft.toDateString)(_,n);!function(e){return Object.values(e).every((function(e){return-1!==e}))}(_)||e===f?x!==f&&(b(f),S((0,ft.parseDateString)(f,n))):v(e)}),[n,f,v,_,x]);var j=(0,i.useCallback)((function(e,t){var n;S(((n={})[e]=t,n))}),[]),I=(0,i.useCallback)((function(e){if(e.preventDefault(),!r&&!a){var t=(0,ft.parseDateString)((new Date).toJSON(),n);v((0,ft.toDateString)(t,n))}}),[r,a,n]),M=(0,i.useCallback)((function(e){e.preventDefault(),r||a||v(void 0)}),[r,a,v]);return(0,vt.jsxs)("ul",{className:"list-inline",children:[Ls(_,n,d.yearsRange).map((function(e,t){return(0,vt.jsx)("li",{className:"list-inline-item",children:(0,vt.jsx)(ks,Li({rootId:h,name:u,select:j},e,{disabled:r,readonly:a,registry:p,onBlur:m,onFocus:g,autofocus:c&&0===t}))},t)})),("undefined"===d.hideNowButton||!d.hideNowButton)&&(0,vt.jsx)("li",{className:"list-inline-item",children:(0,vt.jsx)("a",{href:"#",className:"btn btn-info btn-now",onClick:I,children:w(ft.TranslatableString.NowLabel)})}),("undefined"===d.hideClearButton||!d.hideClearButton)&&(0,vt.jsx)("li",{className:"list-inline-item",children:(0,vt.jsx)("a",{href:"#",className:"btn btn-warning btn-clear",onClick:M,children:w(ft.TranslatableString.ClearLabel)})})]})}var Ts=["time"];function Fs(e){var t=e.time,n=void 0===t||t,i=Ti(e,Ts),s=i.registry.widgets.AltDateWidget;return(0,vt.jsx)(s,Li({time:n},i))}function As(e){var t,n=e.schema,s=e.uiSchema,r=e.options,o=e.id,a=e.value,l=e.disabled,c=e.readonly,d=e.label,h=e.hideLabel,u=e.autofocus,p=void 0!==u&&u,m=e.onBlur,g=e.onFocus,v=e.onChange,f=e.registry,w=(0,ft.getTemplate)("DescriptionFieldTemplate",f,r),y=(0,ft.schemaRequiresTrueValue)(n),x=(0,i.useCallback)((function(e){return v(e.target.checked)}),[v]),b=(0,i.useCallback)((function(e){return m(o,e.target.checked)}),[m,o]),C=(0,i.useCallback)((function(e){return g(o,e.target.checked)}),[g,o]),_=null!=(t=r.description)?t:n.description;return(0,vt.jsxs)("div",{className:"checkbox "+(l||c?"disabled":""),children:[!h&&!!_&&(0,vt.jsx)(w,{id:(0,ft.descriptionId)(o),description:_,schema:n,uiSchema:s,registry:f}),(0,vt.jsxs)("label",{children:[(0,vt.jsx)("input",{type:"checkbox",id:o,name:o,checked:void 0!==a&&a,required:y,disabled:l||c,autoFocus:p,onChange:x,onBlur:b,onFocus:C,"aria-describedby":(0,ft.ariaDescribedByIds)(o)}),(0,ft.labelValue)((0,vt.jsx)("span",{children:d}),h)]})]})}function zs(e){var t=e.id,n=e.disabled,s=e.options,r=s.inline,o=void 0!==r&&r,a=s.enumOptions,l=s.enumDisabled,c=s.emptyValue,d=e.value,h=e.autofocus,u=void 0!==h&&h,p=e.readonly,m=e.onChange,g=e.onBlur,v=e.onFocus,f=Array.isArray(d)?d:[d],w=(0,i.useCallback)((function(e){var n=e.target.value;return g(t,(0,ft.enumOptionsValueForIndex)(n,a,c))}),[g,t]),y=(0,i.useCallback)((function(e){var n=e.target.value;return v(t,(0,ft.enumOptionsValueForIndex)(n,a,c))}),[v,t]);return(0,vt.jsx)("div",{className:"checkboxes",id:t,children:Array.isArray(a)&&a.map((function(e,i){var s=(0,ft.enumOptionsIsSelected)(e.value,f),r=Array.isArray(l)&&-1!==l.indexOf(e.value),c=n||r||p?"disabled":"",d=(0,vt.jsxs)("span",{children:[(0,vt.jsx)("input",{type:"checkbox",id:(0,ft.optionId)(t,i),name:t,checked:s,value:String(i),disabled:n||r||p,autoFocus:u&&0===i,onChange:function(e){e.target.checked?m((0,ft.enumOptionsSelectValue)(i,f,a)):m((0,ft.enumOptionsDeselectValue)(i,f,a))},onBlur:w,onFocus:y,"aria-describedby":(0,ft.ariaDescribedByIds)(t)}),(0,vt.jsx)("span",{children:e.label})]});return o?(0,vt.jsx)("label",{className:"checkbox-inline "+c,children:d},i):(0,vt.jsx)("div",{className:"checkbox "+c,children:(0,vt.jsx)("label",{children:d})},i)}))})}function Os(e){var t=e.disabled,n=e.readonly,i=e.options,s=e.registry,r=(0,ft.getTemplate)("BaseInputTemplate",s,i);return(0,vt.jsx)(r,Li({type:"color"},e,{disabled:t||n}))}function Ds(e){var t=e.onChange,n=e.options,s=e.registry,r=(0,ft.getTemplate)("BaseInputTemplate",s,n),o=(0,i.useCallback)((function(e){return t(e||void 0)}),[t]);return(0,vt.jsx)(r,Li({type:"date"},e,{onChange:o}))}function Bs(e){var t=e.onChange,n=e.value,i=e.options,s=e.registry,r=(0,ft.getTemplate)("BaseInputTemplate",s,i);return(0,vt.jsx)(r,Li({type:"datetime-local"},e,{value:(0,ft.utcToLocal)(n),onChange:function(e){return t((0,ft.localToUTC)(e))}}))}function Hs(e){var t=e.options,n=e.registry,i=(0,ft.getTemplate)("BaseInputTemplate",n,t);return(0,vt.jsx)(i,Li({type:"email"},e))}function Vs(e,t){return null===e?null:e.replace(";base64",";name="+encodeURIComponent(t)+";base64")}function Ns(e){var t=e.name,n=e.size,i=e.type;return new Promise((function(s,r){var o=new window.FileReader;o.onerror=r,o.onload=function(e){var r;"string"==typeof(null===(r=e.target)||void 0===r?void 0:r.result)?s({dataURL:Vs(e.target.result,t),name:t,size:n,type:i}):s({dataURL:null,name:t,size:n,type:i})},o.readAsDataURL(e)}))}function Rs(e){var t=e.fileInfo,n=e.registry.translateString,i=t.dataURL,s=t.type,r=t.name;return i?-1!==s.indexOf("image")?(0,vt.jsx)("img",{src:i,style:{maxWidth:"100%"},className:"file-preview"}):(0,vt.jsxs)(vt.Fragment,{children:[" ",(0,vt.jsx)("a",{download:"preview-"+r,href:i,className:"file-download",children:n(ft.TranslatableString.PreviewLabel)})]}):null}function Ps(e){var t=e.filesInfo,n=e.registry,i=e.preview;if(0===t.length)return null;var s=n.translateString;return(0,vt.jsx)("ul",{className:"file-info",children:t.map((function(e,t){var r=e.name,o=e.size,a=e.type;return(0,vt.jsxs)("li",{children:[(0,vt.jsx)(Si,{children:s(ft.TranslatableString.FilesInfo,[r,a,String(o)])}),i&&(0,vt.jsx)(Rs,{fileInfo:e,registry:n})]},t)}))})}function Ws(e){return e.filter((function(e){return e})).map((function(e){var t=(0,ft.dataURItoBlob)(e),n=t.blob;return{dataURL:e,name:t.name,size:n.size,type:n.type}}))}function $s(e){var t=e.disabled,n=e.readonly,s=e.required,r=e.multiple,o=e.onChange,a=e.value,l=e.options,c=e.registry,d=(0,ft.getTemplate)("BaseInputTemplate",c,l),h=(0,i.useState)(Array.isArray(a)?Ws(a):Ws([a])),u=h[0],p=h[1],m=(0,i.useCallback)((function(e){var t;e.target.files&&(t=e.target.files,Promise.all(Array.from(t).map(Ns))).then((function(e){var t=e.map((function(e){return e.dataURL}));r?(p(u.concat(e[0])),o(a.concat(t[0]))):(p(e),o(t[0]))}))}),[r,a,u,o]);return(0,vt.jsxs)("div",{children:[(0,vt.jsx)(d,Li({},e,{disabled:t||n,type:"file",required:!a&&s,onChangeOverride:m,value:"",accept:l.accept?String(l.accept):void 0})),(0,vt.jsx)(Ps,{filesInfo:u,registry:c,preview:l.filePreview})]})}function Us(e){var t=e.id,n=e.value;return(0,vt.jsx)("input",{type:"hidden",id:t,name:t,value:void 0===n?"":n})}function qs(e){var t=e.options,n=e.registry,i=(0,ft.getTemplate)("BaseInputTemplate",n,t);return(0,vt.jsx)(i,Li({type:"password"},e))}function Zs(e){var t=e.options,n=e.value,s=e.required,r=e.disabled,o=e.readonly,a=e.autofocus,l=void 0!==a&&a,c=e.onBlur,d=e.onFocus,h=e.onChange,u=e.id,p=t.enumOptions,m=t.enumDisabled,g=t.inline,v=t.emptyValue,f=(0,i.useCallback)((function(e){var t=e.target.value;return c(u,(0,ft.enumOptionsValueForIndex)(t,p,v))}),[c,u]),w=(0,i.useCallback)((function(e){var t=e.target.value;return d(u,(0,ft.enumOptionsValueForIndex)(t,p,v))}),[d,u]);return(0,vt.jsx)("div",{className:"field-radio-group",id:u,children:Array.isArray(p)&&p.map((function(e,t){var i=(0,ft.enumOptionsIsSelected)(e.value,n),a=Array.isArray(m)&&-1!==m.indexOf(e.value),c=r||a||o?"disabled":"",d=(0,vt.jsxs)("span",{children:[(0,vt.jsx)("input",{type:"radio",id:(0,ft.optionId)(u,t),checked:i,name:u,required:s,value:String(t),disabled:r||a||o,autoFocus:l&&0===t,onChange:function(){return h(e.value)},onBlur:f,onFocus:w,"aria-describedby":(0,ft.ariaDescribedByIds)(u)}),(0,vt.jsx)("span",{children:e.label})]});return g?(0,vt.jsx)("label",{className:"radio-inline "+c,children:d},t):(0,vt.jsx)("div",{className:"radio "+c,children:(0,vt.jsx)("label",{children:d})},t)}))})}function Gs(e){var t=e.value,n=e.registry.templates.BaseInputTemplate;return(0,vt.jsxs)("div",{className:"field-range-wrapper",children:[(0,vt.jsx)(n,Li({type:"range"},e)),(0,vt.jsx)("span",{className:"range-view",children:t})]})}function Ks(e,t){return t?Array.from(e.target.options).slice().filter((function(e){return e.selected})).map((function(e){return e.value})):e.target.value}function Ys(e){var t=e.schema,n=e.id,s=e.options,r=e.value,o=e.required,a=e.disabled,l=e.readonly,c=e.multiple,d=void 0!==c&&c,h=e.autofocus,u=void 0!==h&&h,p=e.onChange,m=e.onBlur,g=e.onFocus,v=e.placeholder,f=s.enumOptions,w=s.enumDisabled,y=s.emptyValue,x=d?[]:"",b=(0,i.useCallback)((function(e){var t=Ks(e,d);return g(n,(0,ft.enumOptionsValueForIndex)(t,f,y))}),[g,n,t,d,s]),C=(0,i.useCallback)((function(e){var t=Ks(e,d);return m(n,(0,ft.enumOptionsValueForIndex)(t,f,y))}),[m,n,t,d,s]),_=(0,i.useCallback)((function(e){var t=Ks(e,d);return p((0,ft.enumOptionsValueForIndex)(t,f,y))}),[p,t,d,s]),S=(0,ft.enumOptionsIndexForValue)(r,f,d);return(0,vt.jsxs)("select",{id:n,name:n,multiple:d,className:"form-control",value:void 0===S?x:S,required:o,disabled:a||l,autoFocus:u,onBlur:C,onFocus:b,onChange:_,"aria-describedby":(0,ft.ariaDescribedByIds)(n),children:[!d&&void 0===t.default&&(0,vt.jsx)("option",{value:"",children:v}),Array.isArray(f)&&f.map((function(e,t){var n=e.value,i=e.label,s=w&&-1!==w.indexOf(n);return(0,vt.jsx)("option",{value:String(t),disabled:s,children:i},t)}))]})}function Js(e){var t=e.id,n=e.options,s=void 0===n?{}:n,r=e.placeholder,o=e.value,a=e.required,l=e.disabled,c=e.readonly,d=e.autofocus,h=void 0!==d&&d,u=e.onChange,p=e.onBlur,m=e.onFocus,g=(0,i.useCallback)((function(e){var t=e.target.value;return u(""===t?s.emptyValue:t)}),[u,s.emptyValue]),v=(0,i.useCallback)((function(e){var n=e.target.value;return p(t,n)}),[p,t]),f=(0,i.useCallback)((function(e){var n=e.target.value;return m(t,n)}),[t,m]);return(0,vt.jsx)("textarea",{id:t,name:t,className:"form-control",value:o||"",placeholder:r,required:a,disabled:l,readOnly:c,autoFocus:h,rows:s.rows,onBlur:v,onFocus:f,onChange:g,"aria-describedby":(0,ft.ariaDescribedByIds)(t)})}function Xs(e){var t=e.options,n=e.registry,i=(0,ft.getTemplate)("BaseInputTemplate",n,t);return(0,vt.jsx)(i,Li({},e))}function Qs(e){var t=e.onChange,n=e.options,s=e.registry,r=(0,ft.getTemplate)("BaseInputTemplate",s,n),o=(0,i.useCallback)((function(e){return t(e?e+":00":void 0)}),[t]);return(0,vt.jsx)(r,Li({type:"time"},e,{onChange:o}))}function er(e){var t=e.options,n=e.registry,i=(0,ft.getTemplate)("BaseInputTemplate",n,t);return(0,vt.jsx)(i,Li({type:"url"},e))}function tr(e){var t=e.options,n=e.registry,i=(0,ft.getTemplate)("BaseInputTemplate",n,t);return(0,vt.jsx)(i,Li({type:"number"},e))}Js.defaultProps={autofocus:!1,options:{}};var nr=function(e){function t(t){var n;if((n=e.call(this,t)||this).formElement=void 0,n.getUsedFormData=function(e,t){if(0===t.length&&"object"!=typeof e)return e;var n=jt(e,t);return Array.isArray(e)?Object.keys(n).map((function(e){return n[e]})):n},n.getFieldNames=function(e,t){return function e(n,i,s){return void 0===i&&(i=[]),void 0===s&&(s=[[]]),Object.keys(n).forEach((function(r){if("object"==typeof n[r]){var o=s.map((function(e){return[].concat(e,[r])}));n[r][ft.RJSF_ADDITONAL_PROPERTIES_FLAG]&&""!==n[r][ft.NAME_KEY]?i.push(n[r][ft.NAME_KEY]):e(n[r],i,o)}else r===ft.NAME_KEY&&""!==n[r]&&s.forEach((function(e){var n=(0,wt.Z)(t,e);("object"!=typeof n||(0,yt.Z)(n))&&i.push(e)}))})),i}(e)},n.onChange=function(e,t,i){var s=n.props,r=s.extraErrors,o=s.omitExtraData,a=s.liveOmit,l=s.noValidate,c=s.liveValidate,d=s.onChange,h=n.state,u=h.schemaUtils,p=h.schema;((0,ft.isObject)(e)||Array.isArray(e))&&(e=n.getStateFromProps(n.props,e).formData);var m=!l&&c,g={formData:e,schema:p},v=e;if(!0===o&&!0===a){var f=u.retrieveSchema(p,e),w=u.toPathSchema(f,"",e),y=n.getFieldNames(w,e);v=n.getUsedFormData(e,y),g={formData:v}}if(m){var x=n.validate(v),b=x.errors,C=x.errorSchema,_=b,S=C;if(r){var j=(0,ft.validationDataMerge)(x,r);C=j.errorSchema,b=j.errors}g={formData:v,errors:b,errorSchema:C,schemaValidationErrors:_,schemaValidationErrorSchema:S}}else if(!l&&t){var I=r?(0,ft.mergeObjects)(t,r,"preventDuplicates"):t;g={formData:v,errorSchema:I,errors:(0,ft.toErrorList)(I)}}n.setState(g,(function(){return d&&d(Li({},n.state,g),i)}))},n.reset=function(){var e=n.props.onChange,t={formData:n.getStateFromProps(n.props,void 0).formData,errorSchema:{},errors:[],schemaValidationErrors:[],schemaValidationErrorSchema:{}};n.setState(t,(function(){return e&&e(Li({},n.state,t))}))},n.onBlur=function(e,t){var i=n.props.onBlur;i&&i(e,t)},n.onFocus=function(e,t){var i=n.props.onFocus;i&&i(e,t)},n.onSubmit=function(e){if(e.preventDefault(),e.target===e.currentTarget){e.persist();var t=n.props,i=t.omitExtraData,s=t.extraErrors,r=t.noValidate,o=t.onSubmit,a=n.state.formData,l=n.state,c=l.schema,d=l.schemaUtils;if(!0===i){var h=d.retrieveSchema(c,a),u=d.toPathSchema(h,"",a),p=n.getFieldNames(u,a);a=n.getUsedFormData(a,p)}if(r||n.validateForm()){var m=s||{},g=s?(0,ft.toErrorList)(s):[];n.setState({formData:a,errors:g,errorSchema:m,schemaValidationErrors:[],schemaValidationErrorSchema:{}},(function(){o&&o(Li({},n.state,{formData:a,status:"submitted"}),e)}))}}},!t.validator)throw new Error("A validator is required for Form functionality to work");return n.state=n.getStateFromProps(t,t.formData),n.props.onChange&&!(0,ft.deepEquals)(n.state.formData,n.props.formData)&&n.props.onChange(n.state),n.formElement=(0,i.createRef)(),n}ki(t,e);var n=t.prototype;return n.UNSAFE_componentWillReceiveProps=function(e){var t=this.getStateFromProps(e,e.formData);(0,ft.deepEquals)(t.formData,e.formData)||(0,ft.deepEquals)(t.formData,this.state.formData)||!e.onChange||e.onChange(t),this.setState(t)},n.getStateFromProps=function(e,t){var n=this.state||{},i="schema"in e?e.schema:this.props.schema,s=("uiSchema"in e?e.uiSchema:this.props.uiSchema)||{},r=void 0!==t,o="liveValidate"in e?e.liveValidate:this.props.liveValidate,a=r&&!e.noValidate&&o,l=i,c="experimental_defaultFormStateBehavior"in e?e.experimental_defaultFormStateBehavior:this.props.experimental_defaultFormStateBehavior,d=n.schemaUtils;d&&!d.doesSchemaUtilsDiffer(e.validator,l,c)||(d=(0,ft.createSchemaUtils)(e.validator,l,c));var h,u,p=d.getDefaultFormState(i,t),m=d.retrieveSchema(i,p),g=n.schemaValidationErrors,v=n.schemaValidationErrorSchema;if(a){var f=this.validate(p,i,d);g=h=f.errors,v=u=f.errorSchema}else{var w=e.noValidate?{errors:[],errorSchema:{}}:e.liveValidate?{errors:n.errors||[],errorSchema:n.errorSchema||{}}:{errors:n.schemaValidationErrors||[],errorSchema:n.schemaValidationErrorSchema||{}};h=w.errors,u=w.errorSchema}if(e.extraErrors){var y=(0,ft.validationDataMerge)({errorSchema:u,errors:h},e.extraErrors);u=y.errorSchema,h=y.errors}var x=d.toIdSchema(m,s["ui:rootFieldId"],p,e.idPrefix,e.idSeparator);return{schemaUtils:d,schema:i,uiSchema:s,idSchema:x,formData:p,edit:r,errors:h,errorSchema:u,schemaValidationErrors:g,schemaValidationErrorSchema:v}},n.shouldComponentUpdate=function(e,t){return(0,ft.shouldRender)(this,e,t)},n.validate=function(e,t,n){void 0===t&&(t=this.props.schema);var i=n||this.state.schemaUtils,s=this.props,r=s.customValidate,o=s.transformErrors,a=s.uiSchema,l=i.retrieveSchema(t,e);return i.getValidator().validateFormData(e,l,r,o,a)},n.renderErrors=function(e){var t=this.state,n=t.errors,i=t.errorSchema,s=t.schema,r=t.uiSchema,o=this.props.formContext,a=(0,ft.getUiOptions)(r),l=(0,ft.getTemplate)("ErrorListTemplate",e,a);return n&&n.length?(0,vt.jsx)(l,{errors:n,errorSchema:i||{},schema:s,uiSchema:r,formContext:o,registry:e}):null},n.getRegistry=function(){var e,t=this.props,n=t.translateString,i=t.uiSchema,s=void 0===i?{}:i,r=this.state.schemaUtils,o={fields:{AnyOfField:Pi,ArrayField:Hi,BooleanField:Ni,NumberField:Ui,ObjectField:qi,OneOfField:Pi,SchemaField:Yi,StringField:Xi,NullField:Qi},templates:{ArrayFieldDescriptionTemplate:es,ArrayFieldItemTemplate:ts,ArrayFieldTemplate:is,ArrayFieldTitleTemplate:ss,ButtonTemplates:{SubmitButton:as,AddButton:ms,CopyButton:ds,MoveDownButton:hs,MoveUpButton:us,RemoveButton:ps},BaseInputTemplate:os,DescriptionFieldTemplate:gs,ErrorListTemplate:vs,FieldTemplate:ys,FieldErrorTemplate:xs,FieldHelpTemplate:bs,ObjectFieldTemplate:Cs,TitleFieldTemplate:Ss,UnsupportedFieldTemplate:js,WrapIfAdditionalTemplate:Is},widgets:{AltDateWidget:Es,AltDateTimeWidget:Fs,CheckboxWidget:As,CheckboxesWidget:zs,ColorWidget:Os,DateWidget:Ds,DateTimeWidget:Bs,EmailWidget:Hs,FileWidget:$s,HiddenWidget:Us,PasswordWidget:qs,RadioWidget:Zs,RangeWidget:Gs,SelectWidget:Ys,TextWidget:Xs,TextareaWidget:Js,TimeWidget:Qs,UpDownWidget:tr,URLWidget:er},rootSchema:{},formContext:{},translateString:ft.englishStringTranslator},a=o.templates,l=o.widgets,c=o.formContext,d=o.translateString;return{fields:Li({},o.fields,this.props.fields),templates:Li({},a,this.props.templates,{ButtonTemplates:Li({},a.ButtonTemplates,null===(e=this.props.templates)||void 0===e?void 0:e.ButtonTemplates)}),widgets:Li({},l,this.props.widgets),rootSchema:this.props.schema,formContext:this.props.formContext||c,schemaUtils:r,translateString:n||d,globalUiOptions:s[ft.UI_GLOBAL_OPTIONS_KEY]}},n.submit=function(){this.formElement.current&&(this.formElement.current.dispatchEvent(new CustomEvent("submit",{cancelable:!0})),this.formElement.current.requestSubmit())},n.focusOnError=function(e){var t=this.props,n=t.idPrefix,i=void 0===n?"root":n,s=t.idSeparator,r=void 0===s?"_":s,o=e.property,a=(0,It.Z)(o);""===a[0]?a[0]=i:a.unshift(i);var l=a.join(r),c=this.formElement.current.elements[l];c||(c=this.formElement.current.querySelector("input[id^="+l)),c&&c.length&&(c=c[0]),c&&c.focus()},n.validateForm=function(){var e=this.props,t=e.extraErrors,n=e.focusOnFirstError,i=e.onError,s=this.state.formData,r=this.validate(s),o=r.errors,a=r.errorSchema,l=o,c=a;if(o.length>0){if(t){var d=(0,ft.validationDataMerge)(r,t);a=d.errorSchema,o=d.errors}return n&&("function"==typeof n?n(r.errors[0]):this.focusOnError(r.errors[0])),this.setState({errors:o,errorSchema:a,schemaValidationErrors:l,schemaValidationErrorSchema:c},(function(){i?i(o):console.error("Form validation failed",o)})),!1}return!0},n.render=function(){var e,t,n=this.props,i=n.children,s=n.id,r=n.idPrefix,o=n.idSeparator,a=n.className,l=void 0===a?"":a,c=n.tagName,d=n.name,h=n.method,u=n.target,p=n.action,m=n.autoComplete,g=n.enctype,v=n.acceptcharset,f=n.noHtml5Validate,w=void 0!==f&&f,y=n.disabled,x=void 0!==y&&y,b=n.readonly,C=void 0!==b&&b,_=n.formContext,S=n.showErrorList,j=void 0===S?"top":S,I=n._internalFormWrapper,M=this.state,L=M.schema,k=M.uiSchema,E=M.formData,T=M.errorSchema,F=M.idSchema,A=this.getRegistry(),z=A.fields.SchemaField,O=A.templates.ButtonTemplates.SubmitButton,D=I?c:void 0,B=I||c||"form",H=(0,ft.getUiOptions)(k)[ft.SUBMIT_BTN_OPTIONS_KEY],V=void 0===H?{}:H;x&&(V=Li({},V,{props:Li({},V.props,{disabled:!0})}));var N=((t={})[ft.UI_OPTIONS_KEY]=((e={})[ft.SUBMIT_BTN_OPTIONS_KEY]=V,e),t);return(0,vt.jsxs)(B,{className:l||"rjsf",id:s,name:d,method:h,target:u,action:p,autoComplete:m,encType:g,acceptCharset:v,noValidate:w,onSubmit:this.onSubmit,as:D,ref:this.formElement,children:["top"===j&&this.renderErrors(A),(0,vt.jsx)(z,{name:"",schema:L,uiSchema:k,errorSchema:T,idSchema:F,idPrefix:r,idSeparator:o,formContext:_,formData:E,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,registry:A,disabled:x,readonly:C}),i||(0,vt.jsx)(O,{uiSchema:N,registry:A}),"bottom"===j&&this.renderErrors(A)]})},t}(i.Component);const ir={submitButtonOptions:{norender:!0}},sr=e=>{var t;const n=(null!==(t=e.translator)&&void 0!==t?t:gt.nullTranslator).load("jupyterlab");let i;if("icons"===e.buttonStyle){const t={tag:"span",elementSize:"xlarge",elementPosition:"center"};i="up"===e.direction?s().createElement(O.react,{...t}):s().createElement(T.react,{...t})}else i="up"===e.direction?n.__("Move up"):n.__("Move down");const r="up"===e.direction?e.item.index-1:e.item.index+1;return s().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},i)},rr=e=>{var t;const n=(null!==(t=e.translator)&&void 0!==t?t:gt.nullTranslator).load("jupyterlab");let i;return i="icons"===e.buttonStyle?s().createElement(R.react,{tag:"span",elementSize:"xlarge",elementPosition:"center"}):n.__("Remove"),s().createElement("button",{className:"jp-mod-styled jp-mod-warn jp-ArrayOperationsButton",onClick:e.item.onDropIndexClick(e.item.index)},i)},or=e=>{var t;const n=(null!==(t=e.translator)&&void 0!==t?t:gt.nullTranslator).load("jupyterlab");let i;return i="icons"===e.buttonStyle?s().createElement(S.react,{tag:"span",elementSize:"xlarge",elementPosition:"center"}):n.__("Add"),s().createElement("button",{className:"jp-mod-styled jp-mod-reject jp-ArrayOperationsButton",onClick:e.onAddClick},i)};function ar(e){const{component:t,name:n,buttonStyle:i,compact:s,showModifiedFromDefault:r,translator:o}=e,a=null!=s&&s,l=null!=i?i:a?"icons":"text",c=e=>t({...e,buttonStyle:l,compact:a,showModifiedFromDefault:null==r||r,translator:null!=o?o:gt.nullTranslator});return n&&(c.displayName=n),c}function lr(e,t){return{TitleField:(0,ft.getTemplate)("TitleFieldTemplate",e,t),DescriptionField:(0,ft.getTemplate)("DescriptionFieldTemplate",e,t)}}const cr=e=>ar({...e,name:"JupyterLabArrayTemplate",component:e=>{var t;const{schema:n,registry:i,uiSchema:r,required:o}=e,a={schema:n,registry:i,uiSchema:r,required:o},{TitleField:l,DescriptionField:c}=lr(i,r);return s().createElement("div",{className:e.className},e.compact?s().createElement("div",{className:"jp-FormGroup-compactTitle"},s().createElement("div",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem",id:`${e.idSchema.$id}__title`},e.title||""),s().createElement("div",{className:"jp-FormGroup-description",id:`${e.idSchema.$id}-description`},e.schema.description||"")):s().createElement(s().Fragment,null,e.title&&s().createElement(l,{...a,title:e.title,id:`${e.idSchema.$id}-title`}),s().createElement(c,{...a,id:`${e.idSchema.$id}-description`,description:null!==(t=e.schema.description)&&void 0!==t?t:""})),e.items.map((t=>s().createElement("div",{key:t.key,className:t.className},t.children,s().createElement("div",{className:"jp-ArrayOperations"},s().createElement(sr,{buttonStyle:e.buttonStyle,translator:e.translator,item:t,direction:"up"}),s().createElement(sr,{buttonStyle:e.buttonStyle,translator:e.translator,item:t,direction:"down"}),s().createElement(rr,{buttonStyle:e.buttonStyle,translator:e.translator,item:t}))))),e.canAdd&&s().createElement(or,{onAddClick:e.onAddClick,buttonStyle:e.buttonStyle,translator:e.translator}))}}),dr=e=>ar({...e,name:"JupyterLabObjectTemplate",component:e=>{var t;const{schema:n,registry:i,uiSchema:r,required:o}=e,a={schema:n,registry:i,uiSchema:r,required:o},{TitleField:l,DescriptionField:c}=lr(i,r);return s().createElement("fieldset",{id:e.idSchema.$id},e.compact?s().createElement("div",{className:"jp-FormGroup-compactTitle"},s().createElement("div",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem",id:`${e.idSchema.$id}__title`},e.title||""),s().createElement("div",{className:"jp-FormGroup-description",id:`${e.idSchema.$id}__description`},e.schema.description||"")):s().createElement(s().Fragment,null,(e.title||(e.uiSchema||p.JSONExt.emptyObject)["ui:title"])&&s().createElement(l,{...a,id:`${e.idSchema.$id}__title`,title:e.title||`${(e.uiSchema||p.JSONExt.emptyObject)["ui:title"]}`||""}),s().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,ft.canExpand)(e.schema,e.uiSchema,e.formData)&&s().createElement(or,{onAddClick:e.onAddClick(e.schema),buttonStyle:e.buttonStyle,translator:e.translator}))}}),hr=e=>ar({...e,name:"JupyterLabFieldTemplate",component:e=>{var t;const n=(null!==(t=e.translator)&&void 0!==t?t:gt.nullTranslator).load("jupyterlab");let i,r=!1;const{formData:o,schema:a,label:l,displayLabel:c,id:d,formContext:h,errors:u,rawErrors:m,children:g,onKeyChange:v,onDropPropertyClick:f}=e,{defaultFormData:w}=h,y=d.split("_");y.shift();const x=y.join("."),b=""===x,C=x===(e.uiSchema||p.JSONExt.emptyObject)["ui:field"];e.showModifiedFromDefault&&(i=y.reduce(((e,t)=>null==e?void 0:e[t]),w),r=!b&&void 0!==o&&void 0!==i&&!a.properties&&"array"!==a.type&&!p.JSONExt.deepEqual(o,i));const _=!b&&"object"!=a.type&&"jp-SettingsEditor-@jupyterlab/shortcuts-extension:shortcuts_shortcuts"!=d,S=a.hasOwnProperty(ft.ADDITIONAL_PROPERTY_FLAG),j=!("object"===a.type||"array"===a.type);return s().createElement("div",{className:"form-group "+(c||"boolean"===a.type?"small-field":"")},!C&&(m?s().createElement("div",{className:"jp-modifiedIndicator jp-errorIndicator"}):r&&s().createElement("div",{className:"jp-modifiedIndicator"})),s().createElement("div",{className:"jp-FormGroup-content "+(e.compact?"jp-FormGroup-contentCompact":"jp-FormGroup-contentNormal")},j&&c&&!b&&l&&!S?e.compact?s().createElement("div",{className:"jp-FormGroup-compactTitle"},s().createElement("div",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem"},l),j&&a.description&&_&&s().createElement("div",{className:"jp-FormGroup-description"},a.description)):s().createElement("h3",{className:"jp-FormGroup-fieldLabel jp-FormGroup-contentItem"},l):s().createElement(s().Fragment,null),S&&s().createElement("input",{className:"jp-FormGroup-contentItem jp-mod-styled",type:"text",onBlur:e=>v(e.target.value),defaultValue:l}),s().createElement("div",{className:b?"jp-root":"object"===a.type?"jp-objectFieldWrapper":"array"===a.type?"jp-arrayFieldWrapper":"jp-inputFieldWrapper jp-FormGroup-contentItem"},g),S&&s().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().createElement("div",{className:"jp-FormGroup-description"},a.description),r&&void 0!==i&&s().createElement("div",{className:"jp-FormGroup-default"},n.__("Default: %1",null!==i?i.toLocaleString():"null")),s().createElement("div",{className:"validationErrors"},u)))}});function ur(e){const{buttonStyle:t,compact:n,showModifiedFromDefault:i,translator:r,formContext:o,...a}=e,l={...a.uiSchema||p.JSONExt.emptyObject};l["ui:options"]={...ir,...l["ui:options"]},a.uiSchema=l;const{FieldTemplate:c,ArrayFieldTemplate:d,ObjectFieldTemplate:h}=e.templates||p.JSONExt.emptyObject,u={buttonStyle:t,compact:n,showModifiedFromDefault:i,translator:r},m={FieldTemplate:s().useMemo((()=>null!=c?c:hr(u)),[c,t,n,i,r]),ArrayFieldTemplate:s().useMemo((()=>null!=d?d:cr(u)),[d,t,n,i,r]),ObjectFieldTemplate:s().useMemo((()=>null!=h?h:dr(u)),[h,t,n,i,r])};return s().createElement(nr,{templates:m,formContext:o,...a})}const pr="jp-DefaultStyle",mr="jp-HTMLSelect";class gr extends i.Component{render(){const{className:e,defaultStyle:t=!0,disabled:n,elementRef:s,iconProps:r,icon:o=k,options:l=[],...c}=this.props,d=a(mr,{[pr]:t},e),h=l.map((e=>{const t="object"==typeof e?e:{value:e};return i.createElement("option",{...t,key:t.value},t.label||t.value)}));return i.createElement("div",{className:d},i.createElement("select",{disabled:n,ref:s,...c,multiple:!1},h,c.children),i.createElement(o.react,{...{tag:"span",stylesheet:"select",right:"7px",top:"5px",...r}}))}}class vr extends u.Widget{constructor(e={}){super({node:fr.createNode()}),this._sandbox=[],this.addClass("jp-IFrame"),this.sandbox=e.sandbox||[],this.referrerPolicy=e.referrerPolicy||"no-referrer"}get referrerPolicy(){return this._referrerPolicy}set referrerPolicy(e){this._referrerPolicy!==e&&(this._referrerPolicy=e,this.node.querySelector("iframe").setAttribute("referrerpolicy",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 fr;function wr(e){const{className:t,inputRef:n,rightIcon:i,...r}=e;return s().createElement("div",{className:a("jp-InputGroup",t)},s().createElement("input",{ref:n,...r}),i&&s().createElement("span",{className:"jp-InputGroupAction"},"string"==typeof i?s().createElement(y.resolveReact,{icon:i,elementPosition:"center",tag:"span"}):s().createElement(i.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}}(fr||(fr={}));var yr,xr=n(20882),br=n(73701);!function(e){e.DEFAULT_RANK=100}(yr||(yr={}));class Cr extends u.Menu{constructor(e){var t;super(e),this._ranks=[],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 br.DisposableDelegate((()=>{}));const n=null!=t?t:yr.DEFAULT_RANK,i=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 s=this._ranks.findIndex((e=>i[0].rank<e));s<0&&(s=this._ranks.length);const r=[];return this._includeSeparators&&r.push(this.insertItem(s++,{type:"separator",rank:n})),r.push(...i.map((e=>this.insertItem(s++,e)))),this._includeSeparators&&r.push(this.insertItem(s++,{type:"separator",rank:n})),new br.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,i;const s=Math.max(0,Math.min(e,this._ranks.length));xr.ArrayExt.insert(this._ranks,s,null!==(n=t.rank)&&void 0!==n?n:Math.max(yr.DEFAULT_RANK,null!==(i=this._ranks[this._ranks.length-1])&&void 0!==i?i:yr.DEFAULT_RANK));const r=super.insertItem(s,t);return new _r(r,this)}removeItemAt(e){xr.ArrayExt.removeAt(this._ranks,e),super.removeItemAt(e)}}class _r{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),h.Signal.clearData(this)}}var Sr=n(79737),jr=n(30807),Ir=n(12004),Mr=n(70176);class Lr extends u.Widget{constructor(){super(),this._rootDOM=null}static create(e){return new class extends Lr{render(){return e}}}onUpdateRequest(e){this.renderPromise=this.renderDOM()}onAfterAttach(e){jr.MessageLoop.sendMessage(this,u.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,m.s)(this.node)),Array.isArray(t)||t?(this._rootDOM.render(t),requestIdleCallback((()=>e()))):(this._rootDOM.unmount(),this._rootDOM=null,requestIdleCallback((()=>e())))}))}}class kr extends Lr{constructor(e){super(),this._modelChanged=new h.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 Er extends i.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 Tr{constructor(){this.stateChanged=new h.Signal(this),this._isDisposed=!1}get isDisposed(){return this._isDisposed}dispose(){this.isDisposed||(this._isDisposed=!0,h.Signal.clearData(this))}}const Fr="toolbar-popup-opener",Ar="jp-Toolbar-spacer";class zr extends u.PanelLayout{constructor(){super(...arguments),this._dirty=!1}onFitRequest(e){super.onFitRequest(e),this.parent.isAttached&&((0,xr.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&&jr.MessageLoop.sendMessage(this.parent.parent,u.Widget.Msg.FitRequest),this._dirty&&jr.MessageLoop.sendMessage(this.parent,u.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 Or extends u.Widget{constructor(e={}){var t;super(),this.addClass("jp-Toolbar"),this.layout=null!==(t=e.layout)&&void 0!==t?t:new zr}names(){const e=this.layout;return(0,xr.map)(e.widgets,(e=>Ur.nameProperty.get(e)))}addItem(e,t){const n=this.layout;return this.insertItem(n.widgets.length,e,t)}insertItem(e,t,n){if((0,xr.find)(this.names(),(e=>e===t)))return!1;n.addClass("jp-Toolbar-item");const i=this.layout,s=Math.max(0,Math.min(e,i.widgets.length));return i.insertWidget(s,n),Ur.nameProperty.set(n,t),!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,i){const s=(0,xr.map)(this.names(),((e,t)=>({name:e,index:t}))),r=(0,xr.find)(s,(t=>t.name===e));return!!r&&this.insertItem(r.index+t,n,i)}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 Dr extends Or{constructor(){super(),this.popupOpener=new $r,this._widgetWidths={},this.insertItem(0,Fr,this.popupOpener),this.popupOpener.hide(),this._resizer=new Mr.Throttler(this._onResize.bind(this),500)}dispose(){this.isDisposed||(this._resizer&&this._resizer.dispose(),super.dispose())}insertAfter(e,t,n){return e!==Fr&&super.insertAfter(e,t,n)}insertItem(e,t,n){if(n instanceof $r)return super.insertItem(e,t,n);{const i=Math.max(0,Math.min(e,this.layout.widgets.length-1));return super.insertItem(i,t,n)}}onBeforeHide(e){this.popupOpener.hidePopup(),super.onBeforeHide(e)}onResize(e){super.onResize(e),e.width>0&&this._resizer&&this._resizer.invoke()}_onResize(){if(this.parent&&this.parent.isAttached){const e=this.node.clientWidth,t=this.popupOpener,n=30,i=2,s=this.layout;let r=t.isHidden?i:i+n,o=0;const a=[],l=s.widgets.length-1;for(;o<l;){const i=s.widgets[o];this._saveWidgetWidth(i),r+=this._getWidgetWidth(i),0===a.length&&t.isHidden&&r+n>e&&(r+=n),r>e&&a.push(i),o++}for(;a.length>0;){const e=a.pop();r-=this._getWidgetWidth(e),t.addWidget(e)}if(t.widgetCount()>0){const i=[];let s=0,o=t.widgetAt(s);const a=t.widgetCount();for(r+=this._getWidgetWidth(o),1===a&&r-n<=e&&(r-=n);r<e&&s<a&&(i.push(o),s++,o=t.widgetAt(s),o);)r+=this._getWidgetWidth(o);for(;i.length>0;){const e=i.shift();this.addItem(Ur.nameProperty.get(e),e)}}t.widgetCount()>0?(t.updatePopup(),t.show()):t.hide()}}_saveWidgetWidth(e){const t=Ur.nameProperty.get(e);this._widgetWidths[t]=e.hasClass(Ar)?2:e.node.clientWidth}_getWidgetWidth(e){const t=Ur.nameProperty.get(e);return this._widgetWidths[t]}}function Br(e){var t,n;return i.createElement(d,{className:e.className?e.className+" jp-ToolbarButtonComponent":"jp-ToolbarButtonComponent","aria-pressed":e.pressed,"aria-disabled":!1===e.enabled,...e.dataset,disabled:!1===e.enabled,onClick:null!==(t=e.actualOnClick)&&void 0!==t&&t?t=>{var n;0===t.button&&(null===(n=e.onClick)||void 0===n||n.call(e))}:void 0,onMouseDown:null!==(n=e.actualOnClick)&&void 0!==n&&n?void 0:t=>{var n;0===t.button&&(t.preventDefault(),null===(n=e.onClick)||void 0===n||n.call(e))},onKeyDown:t=>{var n;const{key:i}=t;"Enter"!==i&&" "!==i||null===(n=e.onClick)||void 0===n||n.call(e)},title:!1===e.enabled&&e.disabledTooltip?e.disabledTooltip:e.pressed&&e.pressedTooltip?e.pressedTooltip:e.tooltip||e.iconLabel,minimal:!0},(e.icon||e.iconClass)&&i.createElement(y.resolveReact,{icon:e.pressed?e.pressedIcon:e.icon,iconClass:a(e.iconClass,"jp-Icon"),className:"jp-ToolbarButtonComponent-icon",tag:"span",stylesheet:"toolbarButton"}),e.label&&i.createElement("span",{className:"jp-ToolbarButtonComponent-label"},e.label))}function Hr(e){return e.addClass("jp-ToolbarButton"),e}!function(e){e.createSpacerItem=function(){return new Ur.Spacer}}(Or||(Or={}));class Vr extends Lr{constructor(e={}){var t,n;super(),this.props=e,Hr(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 i.createElement(Br,{...this.props,pressed:this.pressed,enabled:this.enabled,onClick:this.onClick})}}function Nr(e){return i.createElement(Er,{signal:e.commands.commandChanged,shouldUpdate:(t,n)=>n.id===e.id&&"changed"===n.type||"many-changed"===n.type},(()=>i.createElement(Br,{...Ur.propsFromCommand(e)})))}function Rr(e){return e.addClass("jp-CommandToolbarButton"),e}class Pr extends Lr{constructor(e){super(),this.props=e,Rr(this)}render(){return i.createElement(Nr,{...this.props})}}class Wr extends u.Widget{constructor(){super(),this.width=0,this.addClass("jp-Toolbar-responsive-popup"),this.layout=new u.PanelLayout,u.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:i,y:s}=e.node.getBoundingClientRect(),r=this.width;this.node.style.left=i+n-r+1+"px",this.node.style.top=`${s+t+1}px`}insertWidget(e,t){this.layout.insertWidget(0,t)}widgetCount(){return this.layout.widgets.length}widgetAt(e){return this.layout.widgets[e]}}class $r extends Vr{constructor(e={}){const t=(e.translator||gt.nullTranslator).load("jupyterlab");super({icon:Q,onClick:()=>{this.handleClick()},tooltip:t.__("More commands")}),this.addClass("jp-Toolbar-responsive-opener"),this.popup=new Wr}addWidget(e){this.popup.insertWidget(0,e)}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)}}var Ur;!function(e){e.propsFromCommand=function(e){var t,n;const{commands:i,id:s,args:r}=e,o=i.iconClass(s,r),a=i.iconLabel(s,r),l=null!==(t=e.icon)&&void 0!==t?t:i.icon(s,r),c=i.label(s,r);let d=i.className(s,r);i.isToggled(s,r)&&(d+=" lm-mod-toggled"),i.isVisible(s,r)||(d+=" lm-mod-hidden");let h=i.caption(s,r)||e.label||c||a;const u=i.keyBindings.find((e=>e.command===s));u&&(h=`${h} (${u.keys.map(Sr.CommandRegistry.formatKeystroke).join(", ")})`);const p=i.isEnabled(s,r);return{className:d,dataset:{"data-command":e.id},icon:l,iconClass:o,tooltip:h,onClick:()=>{i.execute(s,r)},enabled:p,label:null!==(n=e.label)&&void 0!==n?n:c}},e.nameProperty=new Ir.AttachedProperty({name:"name",create:()=>""});class t extends u.Widget{constructor(){super(),this.addClass(Ar)}}e.Spacer=t}(Ur||(Ur={}));class qr extends u.Panel{constructor(e={}){super(e),this._toolbar=new Or}get toolbar(){return this._toolbar}}function Zr(e,t){let n=1/0,i=null;const s=/\b\w/g;for(;;){let r=s.exec(e);if(!r)break;let o=xr.StringExt.matchSumOfDeltas(e,t,r.index);if(!o)break;o&&o.score<=n&&(n=o.score,i=o.indices)}return i&&n!==1/0?{score:n,indices:i}:null}const Gr=(e,t,n)=>i=>t?Zr(i,e.toLowerCase()):(n||(i=i.toLocaleLowerCase(),e=e.toLocaleLowerCase()),-1===i.indexOf(e)?null:{indices:[...Array(i.length).keys()].map((e=>e+1))}),Kr=e=>{var t;const[n,r]=(0,i.useState)(null!==(t=e.initialQuery)&&void 0!==t?t:"");return e.forceRefresh&&(0,i.useEffect)((()=>{e.updateFilter((e=>({})))}),[]),(0,i.useEffect)((()=>{void 0!==e.initialQuery&&e.updateFilter(Gr(e.initialQuery,e.useFuzzyFilter,e.caseSensitive),e.initialQuery)}),[]),s().createElement(wr,{className:"jp-FilterBox",inputRef:e.inputRef,type:"text",disabled:e.disabled,rightIcon:"ui-components:search",placeholder:e.placeholder,onChange:t=>{const n=t.target;r(n.value),e.updateFilter(Gr(n.value,e.useFuzzyFilter,e.caseSensitive),n.value)},value:n})},Yr=e=>Lr.create(s().createElement(Kr,{updateFilter:e.updateFilter,useFuzzyFilter:e.useFuzzyFilter,placeholder:e.placeholder,forceRefresh:e.forceRefresh,caseSensitive:e.caseSensitive}));class Jr extends u.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)}attachWidget(e,t){super.attachWidget(e,t);const n=this._toolbars.get(t);n&&(this.parent.isAttached&&jr.MessageLoop.sendMessage(n,u.Widget.Msg.BeforeAttach),this.titles[e].appendChild(n.node),this.parent.isAttached&&jr.MessageLoop.sendMessage(n,u.Widget.Msg.AfterAttach))}detachWidget(e,t){const n=this._toolbars.get(t);n&&(this.parent.isAttached&&jr.MessageLoop.sendMessage(n,u.Widget.Msg.BeforeDetach),this.titles[e].removeChild(n.node),this.parent.isAttached&&jr.MessageLoop.sendMessage(n,u.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)}notifyToolbars(e){this.widgets.forEach((t=>{const n=this._toolbars.get(t);n&&n.processMessage(e)}))}}var Xr,Qr,eo;!function(e){class t extends u.AccordionPanel.Renderer{createCollapseIcon(e){const t=document.createElement("div");return T.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 Jr({renderer:t.renderer||e.defaultRenderer,orientation:t.orientation,alignment:t.alignment,spacing:t.spacing,titleSpace:null!==(n=t.titleSpace)&&void 0!==n?n:29})}}(Xr||(Xr={}));class to extends u.Widget{constructor(e={}){var t;super();const n=this.layout=new u.PanelLayout;this.addClass("jp-SidePanel");const i=this._trans=(e.translator||gt.nullTranslator).load("jupyterlab");e.header&&this.addHeader(e.header);const s=this._content=null!==(t=e.content)&&void 0!==t?t:new u.AccordionPanel({...e,layout:Xr.createLayout(e)});s.node.setAttribute("role","region"),s.node.setAttribute("aria-label",i.__("side panel content")),s.addClass("jp-SidePanel-content"),n.addWidget(s),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 u.Panel;t.addClass("jp-SidePanel-header"),this.layout.insertWidget(0,t)}addToolbar(e){const t=this._toolbar=null!=e?e:new Or;t.addClass("jp-SidePanel-toolbar"),t.node.setAttribute("role","navigation"),t.node.setAttribute("aria-label",this._trans.__("side panel actions")),this.layout.insertWidget(this.layout.widgets.length-1,t)}}class no extends u.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,i=""){if(e.localName===t&&e.classList.add("jp-mod-styled"),"select"===e.localName){const t=e.hasAttribute("multiple");n(e,t)}const s=e.getElementsByTagName(t);for(let e=0;e<s.length;e++){const r=s[e];if(r.classList.add("jp-mod-styled"),i&&r.classList.add(i),"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",eo.onFocus),e.addEventListener("blur",eo.onFocus),e.classList.add("jp-mod-styled"),e.parentElement&&e.parentElement.replaceChild(n,e),n.appendChild(e),t?n.classList.add("multiple"):n.appendChild(k.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}(Qr||(Qr={})),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"))}}(eo||(eo={}));class io extends u.Widget{constructor(){super(),this._button=document.createElement("button"),this._label=document.createElement("label"),this._valueChanged=new h.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)}}let so=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){so={passive:!0}}}))}catch(e){}class ro{constructor(e={}){var t,n,i,s,r,o;this._estimatedWidgetSize=oo.DEFAULT_WIDGET_SIZE,this._stateChanged=new h.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!==(i=null!==(n=null===(t=e.itemsList)||void 0===t?void 0:t.length)&&void 0!==n?n:e.count)&&void 0!==i?i:0,this._overscanCount=null!==(s=e.overscanCount)&&void 0!==s?s: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,i;if(this._itemsList!==e){this._itemsList&&this._itemsList.changed.disconnect(this.onListChanged,this);const s=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:s}),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!==(i=null==s?void 0:s.length)&&void 0!==i?i: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,h.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}return e+(this.widgetCount-this._lastMeasuredIndex-1)*this._estimatedWidgetSize}getOffsetForIndexAndAlignment(e,t="auto",n=.25){const i="smart"===t?Math.min(Math.max(0,n),1):0,s=this._height,r=this._getItemMetadata(e),o=this.getEstimatedTotalSize(),a=Math.max(0,Math.min(o-s,r.offset)),l=Math.max(0,r.offset-s+r.size);switch("smart"===t&&(t=this._scrollOffset>=l-s&&this._scrollOffset<=a+s?"auto":"center"),t){case"start":return a;case"end":return l;case"center":return Math.round(l+(a-l)/2);default:return this._scrollOffset>=l&&this._scrollOffset<=r.offset?this._scrollOffset:this._scrollOffset<l?l+i*s:Math.max(0,a-i*s)}}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,i]=e;return t<=i||this._currentWindow[0]!==n||this._currentWindow[1]!==i?(this._currentWindow=e,e):null}getSpan(e,t){const n=this._getItemMetadata(e),i=n.offset,s=this._getItemMetadata(t);return[i,s.offset-n.offset+s.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,i=n.size;this._widgetSizers[e].size!=i&&(this._widgetSizers[e].size=i,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((()=>({offset:0,size:this._estimatedWidgetSize})))),this.resetAfterIndex(t.newIndex-1);break;case"move":xr.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 i=0;if(this._lastMeasuredIndex>=0){const e=this._widgetSizers[this._lastMeasuredIndex];i=e.offset+e.size}for(let s=this._lastMeasuredIndex+1;s<=e;s++){let e=(null===(t=this._widgetSizers[s])||void 0===t?void 0:t.measured)?this._widgetSizers[s].size:this.estimateWidgetSize(s);this._widgetSizers[s]={offset:i,size:e,measured:null===(n=this._widgetSizers[s])||void 0===n?void 0:n.measured},i+=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 i=t+Math.floor((e-t)/2),s=this._getItemMetadata(i).offset;if(s===n)return i;s<n?t=i+1:s>n&&(e=i-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),i=Math.max(1,this.overscanCount),s=Math.max(1,this.overscanCount);return[Math.max(0,t-i),Math.max(0,Math.min(e-1,n+s)),t,n]}_getStartIndexForOffset(e){return this._findNearestItem(e)}_getStopIndexForStartIndex(e,t){const n=this._height,i=this._getItemMetadata(e),s=t+n;let r=i.offset+i.size,o=e;for(;o<this.widgetCount-1&&r<s;)o++,r+=this._getItemMetadata(o).size;return o}}class oo extends u.Widget{constructor(e){var t;const n=document.createElement("div");n.className="jp-WindowedPanel-outer";const i=n.appendChild(document.createElement("div"));i.className="jp-WindowedPanel-inner";const s=i.appendChild(document.createElement("div"));s.className="jp-WindowedPanel-window",super({node:n}),this._needsUpdate=!1,super.layout=null!==(t=e.layout)&&void 0!==t?t:new ao,this._viewModel=e.model,this._innerElement=i,this._isScrolling=null,this._windowElement=s,this._scrollToItem=null,this._scrollRepaint=null,this._scrollUpdateWasRequested=!1,this._resizeObserver=null,this._viewModel.stateChanged.connect(this.onStateChanged,this)}get isParentHidden(){return this._isParentHidden}set isParentHidden(e){this._isParentHidden=e}get layout(){return super.layout}get viewportNode(){return this._windowElement}get viewModel(){return this._viewModel}handleEvent(e){"scroll"===e.type&&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.node.scrollTo({top:e})}scrollToItem(e,t="auto",n=.25){if(!this.viewModel.windowingActive){const n=this.layout.widgets[e];return(null==n?void 0:n.node.scrollIntoView)&&n.node.scrollIntoView({block:["auto","smart"].includes(t)?"nearest":t}),Promise.resolve()}return 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 p.PromiseDelegate),this._scrollToItem=[e,t],this._resetScrollToItem(),this.scrollTo(this.viewModel.getOffsetForIndexAndAlignment(Math.max(0,Math.min(e,this._viewModel.widgetCount-1)),t,n)),this._isScrolling.promise}onAfterAttach(e){super.onAfterAttach(e),this._viewModel.windowingActive?this._addListeners():this._applyNoWindowingStyles(),this.viewModel.height=this.node.getBoundingClientRect().height}onBeforeDetach(e){this._viewModel.windowingActive&&this._removeListeners()}onScroll(e){const{clientHeight:t,scrollHeight:n,scrollTop:i}=e.currentTarget;if(!this._scrollUpdateWasRequested&&Math.abs(this.viewModel.scrollOffset-i)>1){const e=Math.max(0,Math.min(i,n-t));this.viewModel.scrollOffset=e,this._scrollUpdateWasRequested=!1,this.update()}}onResize(e){this.viewModel.height=e.height>=0?e.height:this.node.getBoundingClientRect().height,super.onResize(e)}onStateChanged(e,t){if("windowingActive"===t.name){if(this.viewModel.windowingActive)return this._addListeners(),void this.onScroll({currentTarget:this.node});this._removeListeners()}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()}_addListeners(){this._resizeObserver||(this._resizeObserver=new ResizeObserver(this._onWidgetResize.bind(this)));for(const e of this.layout.widgets)this._resizeObserver.observe(e.node),e.disposed.connect((()=>{var t;return null===(t=this._resizeObserver)||void 0===t?void 0:t.unobserve(e.node)}));this.node.addEventListener("scroll",this,so),this._windowElement.style.position="absolute"}_applyNoWindowingStyles(){this._windowElement.style.position="relative",this._windowElement.style.top="0px"}_removeListeners(){var e;this.node.removeEventListener("scroll",this),null===(e=this._resizeObserver)||void 0===e||e.disconnect(),this._resizeObserver=null,this._applyNoWindowingStyles()}_update(){var e;if(this.isDisposed||!this.layout)return;const t=this.viewModel.getRangeToRender();if(null!==t){const[n,i]=t,s=[];if(i>=0)for(let e=n;e<=i;e++){const t=this.viewModel.widgetRenderer(e);t.dataset.windowedListIndex=`${e}`,s.push(t)}for(let t=this.layout.widgets.length-1;t>=0;t--)s.includes(this.layout.widgets[t])||(null===(e=this._resizeObserver)||void 0===e||e.unobserve(this.layout.widgets[t].node),this.layout.removeWidget(this.layout.widgets[t]));for(let e=0;e<s.length;e++){const t=s[e];this._resizeObserver&&!this.layout.widgets.includes(t)&&(this._resizeObserver.observe(t.node),t.disposed.connect((()=>{var e;return null===(e=this._resizeObserver)||void 0===e?void 0:e.unobserve(t.node)}))),this.layout.insertWidget(e,t)}if(this.viewModel.windowingActive){if(i>=0){const e=this.viewModel.getEstimatedTotalSize();this._innerElement.style.height=`${e}px`;const[t,s]=this.viewModel.getSpan(n,i);this._windowElement.style.top=`${t}px`,this._windowElement.style.minHeight=`${s}px`}else this._innerElement.style.height="0px",this._windowElement.style.top="0px",this._windowElement.style.minHeight="0px";this._scrollUpdateWasRequested&&(this.node.scrollTop=this.viewModel.scrollOffset,this._scrollUpdateWasRequested=!1)}}let n=-1;for(const e of this.viewportNode.children){const t=parseInt(e.dataset.windowedListIndex,10);if(t<n)throw new Error("Inconsistent dataset index");n=t}}_onWidgetResize(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._scrollToItem&&this.scrollToItem(...this._scrollToItem).catch((e=>{console.log(e)})),this.update())}_resetScrollToItem(){this._resetScrollToItemTimeout&&clearTimeout(this._resetScrollToItemTimeout),this._scrollToItem&&(this._resetScrollToItemTimeout=window.setTimeout((()=>{this._scrollToItem=null,this._isScrolling&&(this._isScrolling.resolve(),this._isScrolling=null)}),50))}}oo.DEFAULT_WIDGET_SIZE=50;class ao extends u.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&&jr.MessageLoop.sendMessage(t,u.Widget.Msg.BeforeAttach),this.parent.viewportNode.insertBefore(t.node,n),this.parent.isAttached&&jr.MessageLoop.sendMessage(t,u.Widget.Msg.AfterAttach)}detachWidget(e,t){this.parent.isAttached&&jr.MessageLoop.sendMessage(t,u.Widget.Msg.BeforeDetach),this.parent.viewportNode.removeChild(t.node),this.parent.isAttached&&jr.MessageLoop.sendMessage(t,u.Widget.Msg.AfterDetach)}moveWidget(e,t,n){let i=this.parent.viewportNode.children[t];e<t?i.insertAdjacentElement("afterend",n.node):i.insertAdjacentElement("beforebegin",n.node)}onUpdateRequest(e){}}var lo=n(98215);const co=le.bindprops({stylesheet:"commandPaletteHeader",className:"jp-icon-hoverShow-content"});var ho;!function(e){class t extends u.CommandPalette.Renderer{renderHeader(e){const t=this.formatHeader(e);return lo.h.li({className:a("lm-CommandPalette-header","jp-icon-hoverShow")},t,lo.h.span(co))}renderItemIcon(e){const t=this.createIconClass(e);return e.item.isToggled?lo.h.div({className:t},B,e.item.iconLabel):lo.h.div({className:t},e.item.icon,e.item.iconLabel)}createIconClass(e){return a(v.styleClass({stylesheet:"commandPaletteItem"}),e.item.iconClass,"lm-CommandPalette-itemIcon")}}e.Renderer=t,e.defaultRenderer=new t}(ho||(ho={}));const uo=A.bindprops({stylesheet:"menuItem"});class po extends u.ContextMenu{constructor(e){super(e),this._isDisposed=!1,this._opened=new h.Signal(this),this.menu=new mo(e)}get isDisposed(){return this._isDisposed}get opened(){return this._opened}dispose(){this._isDisposed||(this._isDisposed=!0,this.menu.dispose(),h.Signal.disconnectSender(this))}open(e){if(this._isDisposed)return!1;const t=super.open(e);return t&&this._opened.emit(),t}}class mo extends u.Menu{constructor(e){e.renderer=e.renderer||mo.defaultRenderer,super(e)}insertItem(e,t){return t.submenu&&mo.overrideDefaultRenderer(t.submenu),super.insertItem(e,t)}}!function(e){e.overrideDefaultRenderer=function t(n){n.renderer===u.Menu.defaultRenderer&&(n.renderer=e.defaultRenderer);const i=n.insertItem.bind(n);n.insertItem=(t,n)=>(n.submenu&&e.overrideDefaultRenderer(n.submenu),i(t,n));for(const e of n._items)e.submenu&&t(e.submenu)};class t extends u.Menu.Renderer{renderIcon(e){const t=this.createIconClass(e);return e.item.isToggled?lo.h.div({className:t},B,e.item.iconLabel):lo.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(v.styleClass({stylesheet:"menuItem"}),e.item.iconClass,t)}renderSubmenu(e){const t="lm-Menu-itemSubmenuIcon";return"submenu"===e.item.type?lo.h.div({className:t},uo):lo.h.div({className:t})}}e.Renderer=t,e.defaultRenderer=new t}(mo||(mo={}));class go extends u.TabBar{constructor(e={}){var t;super({renderer:go.defaultRenderer,...e});const n=(null!==(t=go.translator)&&void 0!==t?t:gt.nullTranslator).load("jupyterlab");S.element({container:this.addButtonNode,title:n.__("New Launcher")})}}go.translator=null,function(e){class t extends u.TabBar.Renderer{renderCloseIcon(e){const t=a("jp-icon-hover lm-TabBar-tabCloseIcon",v.styleClass({elementPosition:"center",height:"16px",width:"16px"}));return(0,lo.hpass)("div",{className:t},R)}}e.Renderer=t,e.defaultRenderer=new t}(go||(go={}));class vo extends u.DockPanel{constructor(e={}){super({renderer:vo.defaultRenderer,...e})}}!function(e){class t extends u.DockPanel.Renderer{createTabBar(){const e=new go;return e.addClass("lm-DockPanel-tabBar"),e}}e.Renderer=t,e.defaultRenderer=new t}(vo||(vo={}));class fo extends u.TabPanel{constructor(e={}){e.renderer=e.renderer||go.defaultRenderer,super(e)}}const wo="jp-HoverBox",yo="-1000";var xo;!function(e){e.setGeometry=function(e){const{anchor:t,host:n,node:i,privilege:s,outOfViewDisplay:r}=e,o=n.getBoundingClientRect();i.classList.contains(wo)||i.classList.add(wo),i.style.visibility&&(i.style.visibility=""),""===i.style.zIndex&&(i.style.zIndex=""),i.style.maxHeight="",i.style.marginTop="";const a=e.style||window.getComputedStyle(i),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"!==s&&("forceBelow"===s||("above"===s?l<p&&l<c:c>=p||c>=l));if(m?p=Math.min(c-d,p):(p=Math.min(l,p),i.style.marginTop="0px"),i.style.maxHeight=`${p}px`,!(p>=u&&(c>=u||l>=u)))return i.style.zIndex=yo,void(i.style.visibility="hidden");e.size?(i.style.width=`${e.size.width}px`,i.style.height=`${e.size.height}px`,i.style.contain="strict"):(i.style.contain="",i.style.width="auto",i.style.height="");const g=e.size?e.size.height:i.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;i.style.top=`${Math.floor(w)}px`;const y=e.offset&&e.offset.horizontal||0;let x=t.left+y;i.style.left=`${Math.ceil(x)}px`;let b=i.getBoundingClientRect();const C=b.right;C>window.innerWidth&&(x-=C-window.innerWidth,i.style.left=`${Math.ceil(x)}px`),x<y-h&&(x=y-h,i.style.left=`${Math.ceil(x)}px`),i.style.zIndex="-1000";const _=b.bottom,S=n.contains(document.elementFromPoint(x,w)),j=n.contains(document.elementFromPoint(C,w)),I=n.contains(document.elementFromPoint(C,_)),M=n.contains(document.elementFromPoint(x,_));i.style.zIndex="";const L=S||j,k=M||I,E=S||M,T=I||j,F=_-w,A=C-x,z=w<o.top,O=_>o.bottom,D=x+h<o.left,B=C>o.right;let H=!1,V=!1,N=!1;if(z)switch((null==r?void 0:r.top)||"hidden-inside"){case"hidden-inside":L||(H=!0);break;case"hidden-outside":k||(H=!0);break;case"stick-inside":o.top>w&&(w=o.top,N=!0);break;case"stick-outside":o.top>_&&(w=o.top-F,N=!0)}if(O)switch((null==r?void 0:r.bottom)||"hidden-outside"){case"hidden-inside":k||(H=!0);break;case"hidden-outside":L||(H=!0);break;case"stick-inside":o.bottom<_&&(w=o.bottom-F,N=!0);break;case"stick-outside":o.bottom<w&&(w=o.bottom,N=!0)}if(D)switch((null==r?void 0:r.left)||"hidden-inside"){case"hidden-inside":E||(H=!0);break;case"hidden-outside":T||(H=!0);break;case"stick-inside":o.left>x+h&&(x=o.left-h,V=!0);break;case"stick-outside":o.left>C&&(x=o.left-h-A,V=!0)}if(B)switch((null==r?void 0:r.right)||"hidden-outside"){case"hidden-inside":T||(H=!0);break;case"hidden-outside":E||(H=!0);break;case"stick-inside":o.right<C&&(x=o.right-A,V=!0);break;case"stick-outside":o.right<x&&(x=o.right,V=!0)}H&&(i.style.zIndex=yo,i.style.visibility="hidden"),V&&(i.style.left=`${Math.ceil(x)}px`),N&&(i.style.top=`${Math.ceil(w)}px`)}}(xo||(xo={}));const bo=new p.Token("@jupyterlab/ui-components:IFormRendererRegistry","A service for settings form renderer registration."),Co=new p.Token("@jupyterlab/ui-components:ILabIconManager","A service to register and request icons.");class _o{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("."),i=e.substring(0,n),s=e.substring(n+1);if(0==i.length||0==s.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)=>{n.r(t),n.d(t,{Cache:()=>m,FreeStyle:()=>y,Rule:()=>f,Selector:()=>g,Style:()=>v,create:()=>x});let i=0;const s=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-",""])s[t+e]=!0;function o(e,t){return t&&"number"==typeof t&&!s[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,i,s){const{style:r,nested:o,isUnique:h}=function(e,t){const n=[],i=[];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([(s=r,s.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace(/^ms-/,"-ms-")),o]):i.push([r,o]))}var s;return{style:l(a(n)),nested:t?i:a(i),isUnique:!!e.$unique}}(t,""!==e);let u=r;if(64===e.charCodeAt(0)){const t={selector:e,styles:[],rules:[],style:s?"":r};n.push(t),r&&s&&t.styles.push({selector:s,style:r,isUnique:h});for(const[e,n]of o)u+=e+d(e,n,t.rules,t.styles,s)}else{const t=s?c(e,s):e;r&&i.push({selector:t,style:r,isUnique:h});for(const[e,s]of o)u+=e+d(e,s,n,i,t)}return u}function h(e,t,n,s,r,o){for(const{selector:n,style:a,isUnique:l}of s){const s=o?c(n,r):n,d=l?`u\0${(++i).toString(36)}`:`s\0${t}\0${a}`,h=new v(a,d);h.add(new g(s,`k\0${t}\0${s}`)),e.add(h)}for(const{selector:i,style:s,rules:a,styles:l}of n){const n=new f(i,s,`r\0${t}\0${i}\0${s}`);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),i=n.changeId;n.merge(e),n.changeId!==i&&(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],i=this._keys.indexOf(n.id);if(1===t)delete this._counters[e.id],delete this._children[e.id],this._keys.splice(i,1),this.sheet.splice(i,1),this.changeId++,this.changes.remove(n,i);else if(n instanceof m&&e instanceof m){const t=n.changeId;n.unmerge(e),n.changeId!==t&&(this.sheet.splice(i,1,n.getStyles()),this.changeId++,this.changes.change(n,i,i))}}}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=[],i=d("&",e,t,n),s=w(i);return h(this,i,t,n,`.${s}`,!0),s}registerKeyframes(e){return this.registerHashRule("@keyframes",e)}registerHashRule(e,t){const n=[],i=[],s=d("",t,n,i),r=w(s),o=new f(`${e} ${r}`,"",`h\0${s}\0${e}`);return h(o,s,n,i,"",!1),this.add(o),r}registerRule(e,t){const n=[],i=[];h(this,d(e,t,n,i),n,i,"",!1)}registerCss(e){return this.registerRule("",e)}getStyles(){return u(this.sheet)}clone(){return new y(this.id,this.changes).merge(this)}}function x(e){return new y(`f${(++i).toString(36)}`,e)}},37634:(e,t,n)=>{var i=n(38005);t.s=i.createRoot,i.hydrateRoot},73062:(e,t,n)=>{var i=n(53861);i.TypeStyle,n(66720);var s=n(51833);s.extend,s.classes,s.media;var r=new i.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)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.convertToStyles=function e(t){var n={};for(var i in t){var s=t[i];if("$nest"===i){var r=s;for(var o in r){var a=r[o];n[o]=e(a)}}else"$debugName"===i?n.$displayName=s:n[i]=s}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)=>{Object.defineProperty(t,"__esModule",{value:!0});var i=n(8843),s=n(62034),r=n(51833),o=function(){return i.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=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var o=s.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 i=t._freeStyle,s=0,r=e;s<r.length;s++){var o=r[s];i.registerRule("@font-face",o)}t._styleUpdated()},this.getStyles=function(){return(t._raw||"")+t._freeStyle.getStyles()},this.keyframes=function(e){var n=s.convertToKeyframes(e),i=t._freeStyle.registerKeyframes(n);return t._styleUpdated(),i},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={},i=0,s=Object.getOwnPropertyNames(e);i<s.length;i++){var r=s[i],o=e[r];o&&(o.$debugName=r,n[r]=t.style(o))}return n};var i=o();this._autoGenerateTag=n,this._freeStyle=i,this._lastFreeStyleChangeId=i.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(s.convertToStyles(r.extend.apply(void 0,arguments)));return this._styleUpdated(),e},e}();t.TypeStyle=a},51833:(e,t)=>{function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i={},s=0,r=e;s<r.length;s++){var o=r[s];if(null!=o&&!1!==o)for(var a in o){var l=o[a];(l||0===l)&&("$nest"===a&&l?i[a]=i.$nest?n(i.$nest,l):l:-1!==a.indexOf("&")||0===a.indexOf("@media")?i[a]=i[a]?n(i[a],l):l:i[a]=l)}}return i}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,s=[],r=1;r<arguments.length;r++)s[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: "+i(e.minWidth)+")"),e.maxWidth&&o.push("(max-width: "+i(e.maxWidth)+")"),e.minHeight&&o.push("(min-height: "+i(e.minHeight)+")"),e.maxHeight&&o.push("(max-height: "+i(e.maxHeight)+")"),e.prefersColorScheme&&o.push("(prefers-color-scheme: "+e.prefersColorScheme+")"),{$nest:(t={},t["@media "+o.join(" and ")]=n.apply(void 0,s),t)}};var i=function(e){return"string"==typeof e?e:e+"px"}},66720:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})}}]);
|