"use strict";(self.webpackChunk_deathbeds_ipydrawio_notebook=self.webpackChunk_deathbeds_ipydrawio_notebook||[]).push([[568],{568:(e,o,t)=>{t.r(o),t.d(o,{ALL_FORMATS:()=>n.t6,CMD_NS:()=>a.sr,CommandIds:()=>a.OF,IPYNB_DIO:()=>n.ET,IPYNB_PLAIN:()=>n.lN,NS:()=>a.NS,PACKAGE:()=>a.iR,PLUGIN_ID:()=>a.Uu,drawioIpynbIcon:()=>n.j5});var a=t(306),n=t(656)},656:(e,o,t)=>{t.d(o,{ET:()=>p,j5:()=>i,lN:()=>s,t6:()=>r});var a=t(123),n=t(507);const i=new(t(502).LabIcon)({name:"drawio:ipynb",svgstr:n.DRAWIO_ICON_SVG.replace(n.DRAWIO_ICON_CLASS_RE,"jp-icon-contrast3")}),s={ext:".ipynb",factoryName:`${n.JSON_FACTORY} (Notebook)`,key:"ipynb",format:"json",icon:i,label:"Notebook",mimetype:"application/x-ipynb+json",name:"dionotebook",pattern:"\\.*\\.ipynb$",contentType:"notebook",modelName:"notebook",isJson:!0,isEditable:!0,isExport:!0,isDefault:!1,isTransformed:!1,wantsModel:e=>"notebook"===e.type,save:e=>e,fromXML:(e,o)=>{const t=e.metadata.get(n.IPYDRAWIO_METADATA);e.metadata.set(n.IPYDRAWIO_METADATA,Object.assign(Object.assign({},t||{}),{xml:o}))},toXML:e=>{const o=e.metadata.get(n.IPYDRAWIO_METADATA);return(null==o?void 0:o.xml)?`${o.xml}`:""},exporter:async(e,o,t)=>{const i=e.adapter.toXML(),s=new a.NotebookModel;return s.metadata.set(n.IPYDRAWIO_METADATA,{xml:i}),s.toJSON()}},p=Object.assign(Object.assign({},s),{factoryName:`${n.JSON_FACTORY} (Diagram Notebook)`,key:"xmlipynb",ext:".dio.ipynb",name:"xmlipynb",isDefault:!0,pattern:".*\\.dio\\.ipynb$"}),r=[p,s]},306:(e,o,t)=>{t.d(o,{sr:()=>p,OF:()=>r,NS:()=>i,iR:()=>n,Uu:()=>s});const a=JSON.parse('{"name":"@deathbeds/ipydrawio-notebook","version":"1.3.1","homepage":"https://ipydrawio.rtfd.io","bugs":{"url":"https://github.com/deathbeds/ipydrawio/issues"},"main":"lib/index.js","files":["{lib,schema,style,src}/**/*.{ts,tsx,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,css}"],"dependencies":{"@deathbeds/ipydrawio":"^1.3.1","@jupyterlab/application":"^3.1.0","@jupyterlab/notebook":"^3.1.0"},"devDependencies":{"@jupyterlab/builder":"^3.6.1"},"jupyterlab":{"extension":"lib/plugin.js","outputDir":"../../py_packages/ipydrawio/_/ipydrawio-notebook","sharedPackages":{"@deathbeds/ipydrawio":{"bundled":false,"singleton":true}},"discovery":{"server":{"base":{"name":"ipydrawio"},"managers":["pip","conda"]}}}}'),n=t.t(a,2),i=n.name,s=`${i}:plugin`,p="ipydrawio-notebook";var r;!function(e){e.open=`${p}:open`}(r||(r={}))}}]);