"use strict";(self.webpackChunkgosling_widget=self.webpackChunkgosling_widget||[]).push([[879],{1326:(e,i,o)=>{o.r(i),o.d(i,{default:()=>t});var d=o(6728),s=o(5203),l=o(4147);o(5995);const t={id:`${l.u2}:plugin`,requires:[d.IJupyterWidgetRegistry],activate:(e,i)=>{let o=(0,s.Z)(d);i.registerWidget({name:l.u2,version:l.i8,exports:o})},autoStart:!0}},5203:(e,i,o)=>{o.d(i,{Z:()=>l});var d=o(7073),s=o(4147);function l(e){class i extends e.DOMWidgetModel{defaults(){return{...super.defaults(),_model_name:i.model_name,_model_module:i.model_module,_model_module_version:i.model_module_version,_view_name:o.view_name,_view_module:o.view_module,_view_module_version:o.view_module_version}}static model_name="GoslingModel";static model_module=s.u2;static model_module_version=s.i8;static view_name="GoslingView";static view_module=s.u2;static view_module_version=s.i8}class o extends e.DOMWidgetView{async render(){let e=JSON.parse(this.model.get("_viewconf")),i=await d.embed(this.el,e,{padding:0});console.log(i),this.model.on("msg:custom",(e=>{e=JSON.parse(e),console.log(e);try{let[o,...d]=e;i[o](...d)}catch(e){console.error(e)}}))}}return{GoslingModel:i,GoslingView:o}}},1912:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgd2lkdGg9IjYiIGhlaWdodD0iNiI+PHBhdGggZD0iTTYgNkgwVjQuMmg0LjJWMEg2djZ6IiBvcGFjaXR5PSIuMzAyIi8+PC9zdmc+"},4147:e=>{e.exports=JSON.parse('{"u2":"gosling-widget","i8":"0.0.2"}')}}]);