@keadex/mina-react 2.10.2 → 3.0.0

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.
Binary file
Binary file
package/README.md CHANGED
@@ -41,8 +41,8 @@ export function App() {
41
41
  return (
42
42
  <div className="w-full h-screen">
43
43
  <MinaReact
44
- projectRootUrl="https://raw.githubusercontent.com/keadex/keadex/main/examples/mina-react-example/demo_mina_project/Mina%20Demo"
45
- diagramUrl="https://raw.githubusercontent.com/keadex/keadex/main/examples/mina-react-example/demo_mina_project/Mina%20Demo/diagrams/system-context/demo-diagram"
44
+ projectRootUrl="https://raw.githubusercontent.com/keadex/keadex/main/examples/mina-react-example/demo_mina_project/mina-demo"
45
+ diagramUrl="https://raw.githubusercontent.com/keadex/keadex/main/examples/mina-react-example/demo_mina_project/mina-demo/diagrams/system-context/demo-diagram"
46
46
  />
47
47
  </div>
48
48
  )
package/core.js CHANGED
@@ -1 +1 @@
1
- var e,_,t,n,r={196:(e,_,t)=>{var n=t(457);e.exports=t.v(_,e.id,"5747b6050294aa5ea39a",{"./mina_react_bg.js":{__wbg_log_c222819a41e063d3:n.pR9,__wbg_info_3daf2e093e091b66:n.ZrD,__wbg_warn_4ca3906c248c47c4:n.jwJ,__wbg_debug_3cb59063b29f58c1:n.F$t,__wbg_error_524f506f44df1645:n.pWA,__wbindgen_string_get:n.qNE,__wbindgen_bigint_get_as_i64:n.DMD,__wbindgen_memory:n.Py0,__wbindgen_throw:n.Qnr,__wbindgen_debug_string:n.rl,__wbindgen_string_new:n.ycJ,__wbg_new_5e0be73521bc8c17:n.aIY,__wbg_new_78feb108b6472713:n.M2,__wbindgen_number_new:n.QRK,__wbg_new_405e22f390576ce2:n.va5,__wbg_newnoargs_105ed471475aaf50:n.VrZ,__wbg_new_a12002a7f91c75be:n.vVD,__wbindgen_is_string:n.GuA,__wbindgen_is_function:n.PRY,__wbindgen_is_object:n.qvD,__wbg_next_25feadfc0913fea9:n.yqB,__wbg_stringify_f7ed6987935b4a24:n.Y6F,__wbg_buffer_609cc3eee51ed158:n.FHK,__wbg_byteLength_e674b853d9c77e1d:n.x6W,__wbg_byteOffset_fd862df290ef848d:n.cyg,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:n.hI8,__wbg_length_a446193dc22c12f8:n.eIr,__wbg_set_65595bdd868b3009:n.HBq,__wbg_newwithlength_a381634e90c276d4:n.HtP,__wbg_buffer_09165b52af8c5237:n._Ue,__wbg_subarray_aa9065fa9dc5df96:n.TOc,__wbg_done_769e5ede4b31c67b:n.Xb8,__wbg_value_cd1ffa7b1ab794f1:n.LMq,__wbg_next_c3ab0d59847b3b5c:n.tER,__wbg_instanceof_Error_4d54113b22d20306:n.fcg,__wbg_instanceof_Uint8Array_17156bcf118086a9:n.SJf,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:n.gGA,__wbg_set_8fc6bf8a5b1071d1:n.iAh,__wbg_get_b9b93047fe3cf45b:n.RKz,__wbg_set_37837023f3d740e8:n.p8e,__wbg_length_e2d2a49132c1b256:n.Ry,__wbg_push_737cfc8c1432c2c6:n.tZf,__wbg_isArray_a1eab7e0d067391b:n.uod,__wbg_new_c68d7209be747379:n.wd3,__wbg_message_97a2af9b89d693a3:n.oGe,__wbg_isSafeInteger_343e2beeeece1bb0:n.Yb6,__wbg_entries_3265d4158b33e5dc:n.gHg,__wbg_iterator_9a24c88df860dc65:n.eW0,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:n.w6e,__wbindgen_is_undefined:n.vUM,__wbg_call_672a4d21634d4a24:n.wHY,__wbg_static_accessor_SELF_37c5d418e4bf5819:n.fb$,__wbg_static_accessor_GLOBAL_88a902d13a557d07:n.ii7,__wbg_static_accessor_WINDOW_5de37043a91a9c40:n.x0C,__wbg_new_23a2665fac83c611:n.c6u,__wbg_then_44b73946d2fb3e7d:n.GQG,__wbg_then_48b406749878a531:n.xV_,__wbg_resolve_4851785c9c5f573d:n.wJz,__wbg_call_7cccdd69e0791ae2:n.w9h,__wbg_next_6574e1a8a62d1055:n.Dn4,__wbindgen_number_get:n.sWe,__wbg_get_67b2ba62fc30de12:n.dzD,__wbg_instanceof_FileSystemFileHandle_d3d037cf85ee546c:n.KA3,__wbg_createWritable_b4ed240dc879905e:n.kPb,__wbg_getFile_2607bc0123c724e0:n.ycy,__wbg_respond_1f279fa9f8edcb1c:n.dSQ,__wbg_view_fd8a56e8983f448d:n.NgT,__wbg_postMessage_83a8d58d3fcb6c13:n.A2$,__wbg_setcreate_4ca762e23d9f78da:n.N9Q,__wbg_instanceof_FileSystemDirectoryHandle_0906fc139d75557b:n.Cjr,__wbg_removeEntry_9f6bc325e3383e59:n.m_N,__wbg_removeEntry_a424e90dff229b19:n.lkn,__wbg_getFileHandle_5fb877d1ecc74d52:n.Wkh,__wbg_getDirectoryHandle_c48a138373d79b3d:n.kTu,__wbg_entries_19efe296f7d36df9:n.RCF,__wbg_instanceof_Window_def73ea0955fc569:n.vF0,__wbg_setmethod_3c5280fe5d890842:n._hX,__wbg_setsignal_75b21ef3a81de905:n.l0x,__wbg_setcredentials_c3a22f1cd105a2c6:n.uw1,__wbg_setheaders_834c0bdb6a8949ad:n.rk2,__wbg_setbody_5923b78a95eedf29:n.Nhd,__wbg_setmode_5dc300b865044b65:n.BFX,__wbg_enqueue_bb16ba72f537dc9e:n.QHd,__wbg_close_304cc1fef3466669:n.oaw,__wbg_instanceof_File_a4e2256bf71955a9:n.gjJ,__wbg_lastModified_7a9e61b3961224b8:n.gvw,__wbg_newwithstrandinit_06c535e0a867c635:n.heb,__wbg_close_24caca68e93b9c03:n.jeC,__wbg_setrecursive_536113a081d6177a:n.ugc,__wbg_new_018dcc2d6c8c2f6a:n.RR8,__wbg_append_8c7dd8d641a5f01b:n.Tbm,__wbg_get_79e1d7592116244e:n.X_o,__wbg_set_d9a72c1550e3f2b5:n.pdH,__wbg_name_e4a115def9e2bbaa:n.Yeo,__wbg_setcreate_139bad94b2874fb5:n.kF0,__wbg_settype_39ed370d3edd403c:n.a4S,__wbg_byobRequest_77d9adf63337edfb:n.JpR,__wbg_close_5ce03e29be453811:n.sQY,__wbg_setkeepexistingdata_ee7c8cb466e9477f:n.aKt,__wbg_shape_new:n._cl,__wbg_diagramelementspec_new:n.Dr_,__wbg_point_new:n.nA9,__wbg_container_new:n.e57,__wbg_component_unwrap:n.dT0,__wbindgen_jsval_loose_eq:n.U8c,__wbindgen_boolean_get:n.NhE,__wbindgen_as_number:n.qmw,__wbindgen_error_new:n.RjG,__wbg_getwithrefkey_2d7fdfea9645a25b:n.A2U,__wbg_set_2873a5cee2324875:n.v1k,__wbg_String_1b2069caba3b9783:n.JF5,__wbindgen_bigint_from_u64:n.Qg3,__wbg_arrayBuffer_f18c144cd0125f07:n.RGi,__wbg_newwithu8arraysequenceandoptions_068570c487f69127:n.qe7,__wbg_size_3808d41635a9c259:n.$CF,__wbg_text_1f39a8afe3c70a99:n.CFe,__wbg_new_e25e5aab09ff45db:n.RG9,__wbg_abort_775ef1d17fc65868:n.gMQ,__wbg_signal_aaf9ad74119f20a4:n.CF8,__wbg_seek_3f0f8d7591f648d7:n.Zk3,__wbg_write_397d977609afc729:n.Vob,__wbg_has_a5ea9117f258a0ec:n.HSm,__wbindgen_cb_drop:n.LCp,__wbindgen_jsval_eq:n.BGI,__wbg_shape_unwrap:n.D7n,__wbg_container_unwrap:n.xB8,__wbg_queueMicrotask_d3219def82552485:n.k2R,__wbg_queueMicrotask_97d92b4fcc8a61c5:n._mt,__wbg_crypto_ed58b8e10a292839:n.ilI,__wbg_process_5c1d670bc53614b8:n.Evb,__wbg_versions_c71aa1626a93e0a1:n.ooJ,__wbg_node_02999533c4ea02e3:n.OtZ,__wbg_require_79b1e9274cde3c87:n.Ltb,__wbg_msCrypto_0a36e2ec3a343d26:n.HOd,__wbg_randomFillSync_ab2cfe79ebbf2740:n.NNx,__wbg_getRandomValues_bcb4912f16000dc4:n.FGp,__wbg_fetch_4465c2b10f21a927:n.o0R,__wbg_fetch_509096533071c657:n.gRe,__wbg_append_299d5d48292c0495:n.cVx,__wbg_append_b44785ebeb668479:n.d_N,__wbg_append_b2d1fc16de2a0e81:n.WqA,__wbg_new_9fd39a253424609a:n.z09,__wbg_instanceof_Response_f2cc20d9f7dfd644:n.Hzn,__wbg_arrayBuffer_d1b44c4390db422f:n._iy,__wbg_url_ae10c34ca209681d:n.Tp3,__wbg_status_f6360336ca686bf0:n.kK3,__wbg_headers_9cb51cfd2ac780a4:n.Moj,__wbg_minaerror_new:n.EkI,__wbg_localStorage_1406c99c39728187:n.x8V,__wbg_new_8a6f238a6ece86ea:n.$Pc,__wbg_stack_0ed75d68575b0f3c:n.x$X,__wbg_error_7534b8e9a36f1ab4:n.WYM,__wbg_relationship_unwrap:n.KM7,__wbg_component_new:n.WJm,__wbg_boundary_new:n.HCo,__wbg_softwaresystem_new:n.dM0,__wbg_person_new:n.c1W,__wbg_deploymentnode_new:n.ezj,__wbg_relationship_new:n.NpJ,__wbindgen_in:n.zEy,__wbindgen_is_bigint:n.YkQ,__wbg_softwaresystem_unwrap:n.qre,__wbg_person_unwrap:n.Xv$,__wbg_boundary_unwrap:n.Wq,__wbg_deploymentnode_unwrap:n._Zx,__wbg_point_unwrap:n._QJ,__wbg_diagramelementspec_unwrap:n.W3f,__wbindgen_closure_wrapper1536:n.Cn7,__wbindgen_init_externref_table:n.bLn}})},457:(e,_,t)=>{let n;function r(e){n=e}t.d(_,{$CF:()=>Ft,$Pc:()=>j_,A2$:()=>L_,A2U:()=>Ve,BFX:()=>lt,BGI:()=>rn,CF8:()=>Rt,CFe:()=>Et,Cjr:()=>n_,Cn7:()=>Tt,D7n:()=>vt,DMD:()=>$t,Dn4:()=>M_,Dr_:()=>Ee,EkI:()=>y_,Evb:()=>$_,F$t:()=>De,FGp:()=>Qe,FHK:()=>le,GQG:()=>Ht,GuA:()=>tn,HBq:()=>ot,HCo:()=>ue,HOd:()=>h_,HSm:()=>Xe,HtP:()=>q_,Hzn:()=>o_,JD7:()=>j,JF5:()=>ie,JpR:()=>pe,KA3:()=>r_,KM7:()=>V_,LCp:()=>Qt,LMq:()=>Ct,Llp:()=>k,Ltb:()=>et,M2:()=>x_,Moj:()=>Ze,N9Q:()=>bt,NNx:()=>Y_,NgT:()=>Gt,NhE:()=>Pt,Nhd:()=>gt,NpJ:()=>K_,OtZ:()=>W_,Oxg:()=>F,PRY:()=>en,Py0:()=>sn,QHd:()=>Me,QRK:()=>gn,Qg3:()=>Lt,Qnr:()=>wn,RCF:()=>Ce,RG9:()=>A_,RGi:()=>we,RKz:()=>Ke,RR8:()=>v_,RjG:()=>Kt,Ry:()=>d_,SJf:()=>s_,TOc:()=>qt,Tbm:()=>ae,Tp3:()=>Mt,U8c:()=>on,Vob:()=>Bt,VrZ:()=>D_,W3f:()=>He,WJm:()=>xe,WYM:()=>Ne,Wkh:()=>$e,Wq:()=>de,WqA:()=>ge,X_o:()=>Ye,Xb8:()=>Je,Xv$:()=>N_,Y6F:()=>It,Yb6:()=>c_,Yeo:()=>m_,YkQ:()=>Zt,Zk3:()=>nt,ZrD:()=>e_,_Cc:()=>z,_QJ:()=>U_,_Ue:()=>fe,_Zx:()=>qe,_cl:()=>mt,_hX:()=>ft,_iy:()=>be,_mt:()=>Q_,a4S:()=>ht,aIY:()=>z_,aKt:()=>dt,bLn:()=>Xt,c1W:()=>G_,c6u:()=>R_,cVx:()=>se,cyg:()=>he,dM0:()=>zt,dSQ:()=>tt,dT0:()=>je,d_N:()=>ce,dzD:()=>Te,e57:()=>ke,eIr:()=>u_,eW0:()=>b_,ezj:()=>Ie,fb$:()=>St,fcg:()=>t_,gGA:()=>__,gHg:()=>We,gMQ:()=>oe,gRe:()=>Ue,gjJ:()=>i_,gvw:()=>w_,hI8:()=>I_,heb:()=>E_,iAh:()=>st,ii7:()=>kt,ilI:()=>Ae,jeC:()=>Re,jwJ:()=>Nt,k2R:()=>T_,kF0:()=>ct,kK3:()=>Dt,kPb:()=>Se,kTu:()=>Le,l0x:()=>yt,lIU:()=>r,lkn:()=>Z_,m_N:()=>X_,nA9:()=>B_,o0R:()=>Be,oGe:()=>p_,oaw:()=>Fe,ooJ:()=>Wt,p8e:()=>it,pR9:()=>l_,pWA:()=>Ge,pdH:()=>at,qNE:()=>cn,qe7:()=>H_,qmw:()=>Ut,qre:()=>xt,qvD:()=>_n,rk2:()=>ut,rl:()=>Yt,sQY:()=>ze,sWe:()=>an,tER:()=>C_,tZf:()=>P_,ugc:()=>pt,uod:()=>g_,uw1:()=>wt,v1k:()=>rt,vF0:()=>a_,vUM:()=>nn,vVD:()=>O_,va5:()=>F_,w6e:()=>Ot,w9h:()=>ve,wHY:()=>me,wJz:()=>_t,wd3:()=>S_,x$X:()=>jt,x0C:()=>At,x6W:()=>ye,x8V:()=>f_,xB8:()=>Oe,xV_:()=>Jt,ycJ:()=>bn,ycy:()=>Pe,yqB:()=>J_,z09:()=>k_,zEy:()=>Vt}),e=t.hmd(e);let i=0,o=null;function s(){return null!==o&&0!==o.byteLength||(o=new Uint8Array(n.memory.buffer)),o}let a=new("undefined"==typeof TextEncoder?(0,e.require)("util").TextEncoder:TextEncoder)("utf-8");const g="function"==typeof a.encodeInto?function(e,_){return a.encodeInto(e,_)}:function(e,_){const t=a.encode(e);return _.set(t),{read:e.length,written:t.length}};function c(e,_,t){if(void 0===t){const t=a.encode(e),n=_(t.length,1)>>>0;return s().subarray(n,n+t.length).set(t),i=t.length,n}let n=e.length,r=_(n,1)>>>0;const o=s();let c=0;for(;c<n;c++){const _=e.charCodeAt(c);if(_>127)break;o[r+c]=_}if(c!==n){0!==c&&(e=e.slice(c)),r=t(r,n,n=c+3*e.length,1)>>>0;const _=s().subarray(r+c,r+n);c+=g(e,_).written,r=t(r,n,c,1)>>>0}return i=c,r}let b=null;function w(){return(null===b||!0===b.buffer.detached||void 0===b.buffer.detached&&b.buffer!==n.memory.buffer)&&(b=new DataView(n.memory.buffer)),b}let u=new("undefined"==typeof TextDecoder?(0,e.require)("util").TextDecoder:TextDecoder)("utf-8",{ignoreBOM:!0,fatal:!0});function d(e,_){return e>>>=0,u.decode(s().subarray(e,e+_))}function f(e){const _=n.__externref_table_alloc();return n.__wbindgen_export_4.set(_,e),_}function l(e,_){try{return e.apply(this,_)}catch(e){const _=f(e);n.__wbindgen_exn_store(_)}}function p(e){return null==e}u.decode();const y="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>{n.__wbindgen_export_6.get(e.dtor)(e.a,e.b)}));function h(e){const _=typeof e;if("number"==_||"boolean"==_||null==e)return`${e}`;if("string"==_)return`"${e}"`;if("symbol"==_){const _=e.description;return null==_?"Symbol":`Symbol(${_})`}if("function"==_){const _=e.name;return"string"==typeof _&&_.length>0?`Function(${_})`:"Function"}if(Array.isArray(e)){const _=e.length;let t="[";_>0&&(t+=h(e[0]));for(let n=1;n<_;n++)t+=", "+h(e[n]);return t+="]",t}const t=/\[object ([^\]]+)\]/.exec(toString.call(e));let n;if(!(t&&t.length>1))return toString.call(e);if(n=t[1],"Object"==n)try{return"Object("+JSON.stringify(e)+")"}catch(e){return"Object"}return e instanceof Error?`${e.name}: ${e.message}\n${e.stack}`:n}function m(e,_){e>>>=0;const t=w(),r=[];for(let i=e;i<e+4*_;i+=4)r.push(n.__wbindgen_export_4.get(t.getUint32(i,!0)));return n.__externref_drop_slice(e,_),r}function v(e,_){const t=_(4*e.length,4)>>>0;for(let _=0;_<e.length;_++){const n=f(e[_]);w().setUint32(t+4*_,n,!0)}return i=e.length,t}function R(e,_){if(!(e instanceof _))throw new Error(`expected instance of ${_.name}`)}function F(e,_,t,r){return n.open_remote_diagram(e,_,t,r)}function z(e){let _,t;try{const r=c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),o=i,s=n.project_settings_url(r,o);return _=s[0],t=s[1],d(s[0],s[1])}finally{n.__wbindgen_free(_,t,1)}}function x(e){const _=n.__wbindgen_export_4.get(e);return n.__externref_table_dealloc(e),_}function j(e,_){let t,r;try{const a=c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),g=i,b=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),w=i,u=n.diagram_spec_url_from_diagram_url(a,g,b,w);var o=u[0],s=u[1];if(u[3])throw o=0,s=0,x(u[2]);return t=o,r=s,d(o,s)}finally{n.__wbindgen_free(t,r,1)}}function k(e,_){let t,r;try{const a=c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),g=i,b=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),w=i,u=n.diagram_plantuml_url_from_diagram_url(a,g,b,w);var o=u[0],s=u[1];if(u[3])throw o=0,s=0,x(u[2]);return t=o,r=s,d(o,s)}finally{n.__wbindgen_free(t,r,1)}}function O(e,_,t){n.closure124_externref_shim(e,_,t)}const S=["omit","same-origin","include"],A=["same-origin","no-cors","cors","navigate"];"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_aisettings_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_addelementtag_free(e>>>0,1)));const D="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_baseelement_free(e>>>0,1)));class I{static __wrap(e){e>>>=0;const _=Object.create(I.prototype);return _.__wbg_ptr=e,D.register(_,_.__wbg_ptr,_),_}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,D.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_baseelement_free(e,0)}get alias(){const e=n.__wbg_get_baseelement_alias(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set alias(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_tag(this.__wbg_ptr,_,t)}get label(){const e=n.__wbg_get_baseelement_label(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set label(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_bg_color(this.__wbg_ptr,_,t)}get description(){const e=n.__wbg_get_baseelement_description(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set description(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_font_color(this.__wbg_ptr,_,t)}get sprite(){const e=n.__wbg_get_baseelement_sprite(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set sprite(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_border_color(this.__wbg_ptr,_,t)}get tags(){const e=n.__wbg_get_baseelement_tags(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set tags(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_shadowing(this.__wbg_ptr,_,t)}get link(){const e=n.__wbg_get_baseelement_link(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set link(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_shape(this.__wbg_ptr,_,t)}get uuid(){const e=n.__wbg_get_baseelement_uuid(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set uuid(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_sprite(this.__wbg_ptr,_,t)}get notes(){const e=n.__wbg_get_baseelement_notes(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set notes(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_techn(this.__wbg_ptr,_,t)}}const q="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_boundary_free(e>>>0,1)));class E{static __wrap(e){e>>>=0;const _=Object.create(E.prototype);return _.__wbg_ptr=e,q.register(_,_.__wbg_ptr,_),_}static __unwrap(e){return e instanceof E?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,q.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_boundary_free(e,0)}get base_data(){const e=n.__wbg_get_boundary_base_data(this.__wbg_ptr);return I.__wrap(e)}set base_data(e){R(e,I);var _=e.__destroy_into_raw();n.__wbg_set_boundary_base_data(this.__wbg_ptr,_)}get boundary_type(){return n.__wbg_get_boundary_boundary_type(this.__wbg_ptr)}set boundary_type(e){n.__wbg_set_boundary_boundary_type(this.__wbg_ptr,p(e)?0:f(e))}get boundary_custom_type(){const e=n.__wbg_get_boundary_boundary_custom_type(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set boundary_custom_type(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_legend_sprite(this.__wbg_ptr,_,t)}get sub_elements(){const e=n.__wbg_get_boundary_sub_elements(this.__wbg_ptr);var _=m(e[0],e[1]).slice();return n.__wbindgen_free(e[0],4*e[1],4),_}set sub_elements(e){const _=v(e,n.__wbindgen_malloc),t=i;n.__wbg_set_boundary_sub_elements(this.__wbg_ptr,_,t)}}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_c4elements_free(e>>>0,1)));const H="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_component_free(e>>>0,1)));class J{static __wrap(e){e>>>=0;const _=Object.create(J.prototype);return _.__wbg_ptr=e,H.register(_,_.__wbg_ptr,_),_}static __unwrap(e){return e instanceof J?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,H.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_component_free(e,0)}get base_data(){const e=n.__wbg_get_component_base_data(this.__wbg_ptr);return I.__wrap(e)}set base_data(e){R(e,I);var _=e.__destroy_into_raw();n.__wbg_set_component_base_data(this.__wbg_ptr,_)}get technology(){const e=n.__wbg_get_component_technology(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set technology(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_component_technology(this.__wbg_ptr,_,t)}get component_type(){return n.__wbg_get_component_component_type(this.__wbg_ptr)}set component_type(e){n.__wbg_set_component_component_type(this.__wbg_ptr,p(e)?0:f(e))}}const M="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_container_free(e>>>0,1)));class C{static __wrap(e){e>>>=0;const _=Object.create(C.prototype);return _.__wbg_ptr=e,M.register(_,_.__wbg_ptr,_),_}static __unwrap(e){return e instanceof C?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,M.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_container_free(e,0)}get base_data(){const e=n.__wbg_get_container_base_data(this.__wbg_ptr);return I.__wrap(e)}set base_data(e){R(e,I);var _=e.__destroy_into_raw();n.__wbg_set_container_base_data(this.__wbg_ptr,_)}get technology(){const e=n.__wbg_get_container_technology(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set technology(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_container_technology(this.__wbg_ptr,_,t)}get container_type(){return n.__wbg_get_container_container_type(this.__wbg_ptr)}set container_type(e){n.__wbg_set_container_container_type(this.__wbg_ptr,p(e)?0:f(e))}}const W="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_deploymentnode_free(e>>>0,1)));class G{static __wrap(e){e>>>=0;const _=Object.create(G.prototype);return _.__wbg_ptr=e,W.register(_,_.__wbg_ptr,_),_}static __unwrap(e){return e instanceof G?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,W.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_deploymentnode_free(e,0)}get base_data(){const e=n.__wbg_get_boundary_base_data(this.__wbg_ptr);return I.__wrap(e)}set base_data(e){R(e,I);var _=e.__destroy_into_raw();n.__wbg_set_boundary_base_data(this.__wbg_ptr,_)}get deploymeny_node_custom_type(){const e=n.__wbg_get_deploymentnode_deploymeny_node_custom_type(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set deploymeny_node_custom_type(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_legend_sprite(this.__wbg_ptr,_,t)}get deployment_node_type(){return n.__wbg_get_deploymentnode_deployment_node_type(this.__wbg_ptr)}set deployment_node_type(e){n.__wbg_set_deploymentnode_deployment_node_type(this.__wbg_ptr,p(e)?0:f(e))}get sub_elements(){const e=n.__wbg_get_deploymentnode_sub_elements(this.__wbg_ptr);var _=m(e[0],e[1]).slice();return n.__wbindgen_free(e[0],4*e[1],4),_}set sub_elements(e){const _=v(e,n.__wbindgen_malloc),t=i;n.__wbg_set_boundary_sub_elements(this.__wbg_ptr,_,t)}}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_diagram_free(e>>>0,1)));const N="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_diagramelementspec_free(e>>>0,1)));class B{static __wrap(e){e>>>=0;const _=Object.create(B.prototype);return _.__wbg_ptr=e,N.register(_,_.__wbg_ptr,_),_}static __unwrap(e){return e instanceof B?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,N.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_diagramelementspec_free(e,0)}get alias(){const e=n.__wbg_get_diagramelementspec_alias(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set alias(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagramelementspec_alias(this.__wbg_ptr,_,t)}get from(){const e=n.__wbg_get_diagramelementspec_from(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set from(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagramelementspec_from(this.__wbg_ptr,_,t)}get to(){const e=n.__wbg_get_diagramelementspec_to(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set to(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagramelementspec_to(this.__wbg_ptr,_,t)}get shapes(){const e=n.__wbg_get_diagramelementspec_shapes(this.__wbg_ptr);let _;return 0!==e[0]&&(_=m(e[0],e[1]).slice(),n.__wbindgen_free(e[0],4*e[1],4)),_}set shapes(e){var _=p(e)?0:v(e,n.__wbindgen_malloc),t=i;n.__wbg_set_diagramelementspec_shapes(this.__wbg_ptr,_,t)}get element_type(){return n.__wbg_get_diagramelementspec_element_type(this.__wbg_ptr)}set element_type(e){n.__wbg_set_diagramelementspec_element_type(this.__wbg_ptr,p(e)?0:f(e))}get position(){const e=n.__wbg_get_diagramelementspec_position(this.__wbg_ptr);return 0===e?void 0:K.__wrap(e)}set position(e){let _=0;p(e)||(R(e,K),_=e.__destroy_into_raw()),n.__wbg_set_diagramelementspec_position(this.__wbg_ptr,_)}get size(){const e=n.__wbg_get_diagramelementspec_size(this.__wbg_ptr);return 0===e?void 0:te.__wrap(e)}set size(e){let _=0;p(e)||(R(e,te),_=e.__destroy_into_raw()),n.__wbg_set_diagramelementspec_size(this.__wbg_ptr,_)}get inner_specs(){const e=n.__wbg_get_diagramelementspec_inner_specs(this.__wbg_ptr);let _;return 0!==e[0]&&(_=m(e[0],e[1]).slice(),n.__wbindgen_free(e[0],4*e[1],4)),_}set inner_specs(e){var _=p(e)?0:v(e,n.__wbindgen_malloc),t=i;n.__wbg_set_diagramelementspec_inner_specs(this.__wbg_ptr,_,t)}}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_diagramplantuml_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_diagramspec_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_diagramsthemesettings_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_elementdata_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_hookpayload_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_intounderlyingbytesource_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_intounderlyingsink_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_intounderlyingsource_free(e>>>0,1)));const U="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_minaerror_free(e>>>0,1)));class L{static __wrap(e){e>>>=0;const _=Object.create(L.prototype);return _.__wbg_ptr=e,U.register(_,_.__wbg_ptr,_),_}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,U.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_minaerror_free(e,0)}get code(){return n.__wbg_get_minaerror_code(this.__wbg_ptr)}set code(e){n.__wbg_set_minaerror_code(this.__wbg_ptr,e)}get msg(){let e,_;try{const t=n.__wbg_get_minaerror_msg(this.__wbg_ptr);return e=t[0],_=t[1],d(t[0],t[1])}finally{n.__wbindgen_free(e,_,1)}}set msg(e){const _=c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_minaerror_msg(this.__wbg_ptr,_,t)}}const $="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_person_free(e>>>0,1)));class P{static __wrap(e){e>>>=0;const _=Object.create(P.prototype);return _.__wbg_ptr=e,$.register(_,_.__wbg_ptr,_),_}static __unwrap(e){return e instanceof P?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,$.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_person_free(e,0)}get base_data(){const e=n.__wbg_get_person_base_data(this.__wbg_ptr);return I.__wrap(e)}set base_data(e){R(e,I);var _=e.__destroy_into_raw();n.__wbg_set_person_base_data(this.__wbg_ptr,_)}get person_type(){return n.__wbg_get_person_person_type(this.__wbg_ptr)}set person_type(e){n.__wbg_set_person_person_type(this.__wbg_ptr,p(e)?0:f(e))}}const Q="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_point_free(e>>>0,1)));class T{static __wrap(e){e>>>=0;const _=Object.create(T.prototype);return _.__wbg_ptr=e,Q.register(_,_.__wbg_ptr,_),_}static __unwrap(e){return e instanceof T?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Q.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_point_free(e,0)}get x(){return n.__wbg_get_point_x(this.__wbg_ptr)}set x(e){n.__wbg_set_point_x(this.__wbg_ptr,e)}get y(){return n.__wbg_get_point_y(this.__wbg_ptr)}set y(e){n.__wbg_set_point_y(this.__wbg_ptr,e)}}const Y="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_position_free(e>>>0,1)));class K{static __wrap(e){e>>>=0;const _=Object.create(K.prototype);return _.__wbg_ptr=e,Y.register(_,_.__wbg_ptr,_),_}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Y.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_position_free(e,0)}get left(){const e=n.__wbg_get_position_left(this.__wbg_ptr);return 0===e[0]?void 0:e[1]}set left(e){n.__wbg_set_position_left(this.__wbg_ptr,!p(e),p(e)?0:e)}get top(){const e=n.__wbg_get_position_top(this.__wbg_ptr);return 0===e[0]?void 0:e[1]}set top(e){n.__wbg_set_position_top(this.__wbg_ptr,!p(e),p(e)?0:e)}get z_index(){const e=n.__wbg_get_position_z_index(this.__wbg_ptr);return 4294967297===e?void 0:e}set z_index(e){n.__wbg_set_position_z_index(this.__wbg_ptr,p(e)?4294967297:0|e)}get angle(){const e=n.__wbg_get_position_angle(this.__wbg_ptr);return 0===e[0]?void 0:e[1]}set angle(e){n.__wbg_set_position_angle(this.__wbg_ptr,!p(e),p(e)?0:e)}}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_project_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_projectlibrary_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_projectsettings_free(e>>>0,1)));const V="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_relationship_free(e>>>0,1)));class X{static __wrap(e){e>>>=0;const _=Object.create(X.prototype);return _.__wbg_ptr=e,V.register(_,_.__wbg_ptr,_),_}static __unwrap(e){return e instanceof X?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,V.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_relationship_free(e,0)}get base_data(){const e=n.__wbg_get_container_base_data(this.__wbg_ptr);return I.__wrap(e)}set base_data(e){R(e,I);var _=e.__destroy_into_raw();n.__wbg_set_container_base_data(this.__wbg_ptr,_)}get from(){const e=n.__wbg_get_relationship_from(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set from(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_container_technology(this.__wbg_ptr,_,t)}get to(){const e=n.__wbg_get_relationship_to(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set to(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_relationship_to(this.__wbg_ptr,_,t)}get technology(){const e=n.__wbg_get_relationship_technology(this.__wbg_ptr);let _;return 0!==e[0]&&(_=d(e[0],e[1]).slice(),n.__wbindgen_free(e[0],1*e[1],1)),_}set technology(e){var _=p(e)?0:c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_relationship_technology(this.__wbg_ptr,_,t)}get relationship_type(){return n.__wbg_get_relationship_relationship_type(this.__wbg_ptr)}set relationship_type(e){n.__wbg_set_relationship_relationship_type(this.__wbg_ptr,p(e)?0:f(e))}}const Z="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_shape_free(e>>>0,1)));class ee{static __wrap(e){e>>>=0;const _=Object.create(ee.prototype);return _.__wbg_ptr=e,Z.register(_,_.__wbg_ptr,_),_}static __unwrap(e){return e instanceof ee?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Z.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_shape_free(e,0)}get shape_type(){return n.__wbg_get_shape_shape_type(this.__wbg_ptr)}set shape_type(e){n.__wbg_set_shape_shape_type(this.__wbg_ptr,p(e)?0:f(e))}get position(){const e=n.__wbg_get_shape_position(this.__wbg_ptr);return 0===e?void 0:K.__wrap(e)}set position(e){let _=0;p(e)||(R(e,K),_=e.__destroy_into_raw()),n.__wbg_set_shape_position(this.__wbg_ptr,_)}get size(){const e=n.__wbg_get_shape_size(this.__wbg_ptr);return 0===e?void 0:te.__wrap(e)}set size(e){let _=0;p(e)||(R(e,te),_=e.__destroy_into_raw()),n.__wbg_set_shape_size(this.__wbg_ptr,_)}}const _e="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_size_free(e>>>0,1)));class te{static __wrap(e){e>>>=0;const _=Object.create(te.prototype);return _.__wbg_ptr=e,_e.register(_,_.__wbg_ptr,_),_}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,_e.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_size_free(e,0)}get width(){const e=n.__wbg_get_size_width(this.__wbg_ptr);return 0===e[0]?void 0:e[1]}set width(e){n.__wbg_set_size_width(this.__wbg_ptr,!p(e),p(e)?0:e)}get height(){const e=n.__wbg_get_size_height(this.__wbg_ptr);return 0===e[0]?void 0:e[1]}set height(e){n.__wbg_set_size_height(this.__wbg_ptr,!p(e),p(e)?0:e)}get scale_x(){const e=n.__wbg_get_size_scale_x(this.__wbg_ptr);return 0===e[0]?void 0:e[1]}set scale_x(e){n.__wbg_set_size_scale_x(this.__wbg_ptr,!p(e),p(e)?0:e)}get scale_y(){const e=n.__wbg_get_size_scale_y(this.__wbg_ptr);return 0===e[0]?void 0:e[1]}set scale_y(e){n.__wbg_set_size_scale_y(this.__wbg_ptr,!p(e),p(e)?0:e)}}const ne="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_softwaresystem_free(e>>>0,1)));class re{static __wrap(e){e>>>=0;const _=Object.create(re.prototype);return _.__wbg_ptr=e,ne.register(_,_.__wbg_ptr,_),_}static __unwrap(e){return e instanceof re?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,ne.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_softwaresystem_free(e,0)}get base_data(){const e=n.__wbg_get_component_base_data(this.__wbg_ptr);return I.__wrap(e)}set base_data(e){R(e,I);var _=e.__destroy_into_raw();n.__wbg_set_component_base_data(this.__wbg_ptr,_)}get system_type(){return n.__wbg_get_softwaresystem_system_type(this.__wbg_ptr)}set system_type(e){n.__wbg_set_softwaresystem_system_type(this.__wbg_ptr,p(e)?0:f(e))}}function ie(e,_){const t=c(String(_),n.__wbindgen_malloc,n.__wbindgen_realloc),r=i;w().setInt32(e+4,r,!0),w().setInt32(e+0,t,!0)}function oe(e){e.abort()}function se(){return l((function(e,_,t,n,r){e.append(d(_,t),d(n,r))}),arguments)}function ae(){return l((function(e,_,t,n,r){e.append(d(_,t),d(n,r))}),arguments)}function ge(){return l((function(e,_,t,n,r,i){e.append(d(_,t),n,d(r,i))}),arguments)}function ce(){return l((function(e,_,t,n){e.append(d(_,t),n)}),arguments)}function be(){return l((function(e){return e.arrayBuffer()}),arguments)}function we(e){return e.arrayBuffer()}function ue(e){return E.__wrap(e)}function de(e){return E.__unwrap(e)}function fe(e){return e.buffer}function le(e){return e.buffer}function pe(e){const _=e.byobRequest;return p(_)?0:f(_)}function ye(e){return e.byteLength}function he(e){return e.byteOffset}function me(){return l((function(e,_){return e.call(_)}),arguments)}function ve(){return l((function(e,_,t){return e.call(_,t)}),arguments)}function Re(e){return e.close()}function Fe(){return l((function(e){e.close()}),arguments)}function ze(){return l((function(e){e.close()}),arguments)}function xe(e){return J.__wrap(e)}function je(e){return J.__unwrap(e)}function ke(e){return C.__wrap(e)}function Oe(e){return C.__unwrap(e)}function Se(e,_){return e.createWritable(_)}function Ae(e){return e.crypto}function De(e){console.debug(e)}function Ie(e){return G.__wrap(e)}function qe(e){return G.__unwrap(e)}function Ee(e){return B.__wrap(e)}function He(e){return B.__unwrap(e)}function Je(e){return e.done}function Me(){return l((function(e,_){e.enqueue(_)}),arguments)}function Ce(e){return e.entries()}function We(e){return Object.entries(e)}function Ge(e){console.error(e)}function Ne(e,_){let t,r;try{t=e,r=_,console.error(d(e,_))}finally{n.__wbindgen_free(t,r,1)}}function Be(e){return fetch(e)}function Ue(e,_){return e.fetch(_)}function Le(e,_,t,n){return e.getDirectoryHandle(d(_,t),n)}function $e(e,_,t,n){return e.getFileHandle(d(_,t),n)}function Pe(e){return e.getFile()}function Qe(){return l((function(e,_){e.getRandomValues(_)}),arguments)}function Te(){return l((function(e,_){return Reflect.get(e,_)}),arguments)}function Ye(){return l((function(e,_,t,r){const o=_[d(t,r)];var s=p(o)?0:c(o,n.__wbindgen_malloc,n.__wbindgen_realloc),a=i;w().setInt32(e+4,a,!0),w().setInt32(e+0,s,!0)}),arguments)}function Ke(e,_){return e[_>>>0]}function Ve(e,_){return e[_]}function Xe(){return l((function(e,_){return Reflect.has(e,_)}),arguments)}function Ze(e){return e.headers}function e_(e){console.info(e)}function __(e){let _;try{_=e instanceof ArrayBuffer}catch(e){_=!1}return _}function t_(e){let _;try{_=e instanceof Error}catch(e){_=!1}return _}function n_(e){let _;try{_=e instanceof FileSystemDirectoryHandle}catch(e){_=!1}return _}function r_(e){let _;try{_=e instanceof FileSystemFileHandle}catch(e){_=!1}return _}function i_(e){let _;try{_=e instanceof File}catch(e){_=!1}return _}function o_(e){let _;try{_=e instanceof Response}catch(e){_=!1}return _}function s_(e){let _;try{_=e instanceof Uint8Array}catch(e){_=!1}return _}function a_(e){let _;try{_=e instanceof Window}catch(e){_=!1}return _}function g_(e){return Array.isArray(e)}function c_(e){return Number.isSafeInteger(e)}function b_(){return Symbol.iterator}function w_(e){return e.lastModified}function u_(e){return e.length}function d_(e){return e.length}function f_(){return l((function(e){const _=e.localStorage;return p(_)?0:f(_)}),arguments)}function l_(e){console.log(e)}function p_(e){return e.message}function y_(e){return L.__wrap(e)}function h_(e){return e.msCrypto}function m_(e,_){const t=c(_.name,n.__wbindgen_malloc,n.__wbindgen_realloc),r=i;w().setInt32(e+4,r,!0),w().setInt32(e+0,t,!0)}function v_(){return l((function(){return new Headers}),arguments)}function R_(e,_){try{var t={a:e,b:_};const r=new Promise(((e,_)=>{const r=t.a;t.a=0;try{return function(e,_,t,r){n.closure72_externref_shim(e,_,t,r)}(r,t.b,e,_)}finally{t.a=r}}));return r}finally{t.a=t.b=0}}function F_(){return new Object}function z_(){return new Map}function x_(){return new Array}function j_(){return new Error}function k_(){return l((function(){return new FormData}),arguments)}function O_(e){return new Uint8Array(e)}function S_(e,_){return new Error(d(e,_))}function A_(){return l((function(){return new AbortController}),arguments)}function D_(e,_){return new Function(d(e,_))}function I_(e,_,t){return new Uint8Array(e,_>>>0,t>>>0)}function q_(e){return new Uint8Array(e>>>0)}function E_(){return l((function(e,_,t){return new Request(d(e,_),t)}),arguments)}function H_(){return l((function(e,_){return new Blob(e,_)}),arguments)}function J_(e){return e.next}function M_(){return l((function(e){return e.next()}),arguments)}function C_(){return l((function(e){return e.next()}),arguments)}function W_(e){return e.node}function G_(e){return P.__wrap(e)}function N_(e){return P.__unwrap(e)}function B_(e){return T.__wrap(e)}function U_(e){return T.__unwrap(e)}function L_(){return l((function(e,_){e.postMessage(_)}),arguments)}function $_(e){return e.process}function P_(e,_){return e.push(_)}function Q_(e){queueMicrotask(e)}function T_(e){return e.queueMicrotask}function Y_(){return l((function(e,_){e.randomFillSync(_)}),arguments)}function K_(e){return X.__wrap(e)}function V_(e){return X.__unwrap(e)}function X_(e,_,t){return e.removeEntry(d(_,t))}function Z_(e,_,t,n){return e.removeEntry(d(_,t),n)}function et(){return l((function(){return e.require}),arguments)}function _t(e){return Promise.resolve(e)}function tt(){return l((function(e,_){e.respond(_>>>0)}),arguments)}function nt(){return l((function(e,_){return e.seek(_)}),arguments)}function rt(e,_,t){e[_]=t}function it(e,_,t){e[_>>>0]=t}function ot(e,_,t){e.set(_,t>>>0)}function st(e,_,t){return e.set(_,t)}function at(){return l((function(e,_,t,n,r){e[d(_,t)]=d(n,r)}),arguments)}function gt(e,_){e.body=_}function ct(e,_){e.create=0!==_}function bt(e,_){e.create=0!==_}function wt(e,_){e.credentials=S[_]}function ut(e,_){e.headers=_}function dt(e,_){e.keepExistingData=0!==_}function ft(e,_,t){e.method=d(_,t)}function lt(e,_){e.mode=A[_]}function pt(e,_){e.recursive=0!==_}function yt(e,_){e.signal=_}function ht(e,_,t){e.type=d(_,t)}function mt(e){return ee.__wrap(e)}function vt(e){return ee.__unwrap(e)}function Rt(e){return e.signal}function Ft(e){return e.size}function zt(e){return re.__wrap(e)}function xt(e){return re.__unwrap(e)}function jt(e,_){const t=c(_.stack,n.__wbindgen_malloc,n.__wbindgen_realloc),r=i;w().setInt32(e+4,r,!0),w().setInt32(e+0,t,!0)}function kt(){const e="undefined"==typeof global?null:global;return p(e)?0:f(e)}function Ot(){const e="undefined"==typeof globalThis?null:globalThis;return p(e)?0:f(e)}function St(){const e="undefined"==typeof self?null:self;return p(e)?0:f(e)}function At(){const e="undefined"==typeof window?null:window;return p(e)?0:f(e)}function Dt(e){return e.status}function It(){return l((function(e){return JSON.stringify(e)}),arguments)}function qt(e,_,t){return e.subarray(_>>>0,t>>>0)}function Et(e){return e.text()}function Ht(e,_){return e.then(_)}function Jt(e,_,t){return e.then(_,t)}function Mt(e,_){const t=c(_.url,n.__wbindgen_malloc,n.__wbindgen_realloc),r=i;w().setInt32(e+4,r,!0),w().setInt32(e+0,t,!0)}function Ct(e){return e.value}function Wt(e){return e.versions}function Gt(e){const _=e.view;return p(_)?0:f(_)}function Nt(e){console.warn(e)}function Bt(){return l((function(e,_){return e.write(_)}),arguments)}function Ut(e){return+e}function Lt(e){return BigInt.asUintN(64,e)}function $t(e,_){const t="bigint"==typeof _?_:void 0;w().setBigInt64(e+8,p(t)?BigInt(0):t,!0),w().setInt32(e+0,!p(t),!0)}function Pt(e){return"boolean"==typeof e?e?1:0:2}function Qt(e){const _=e.original;return 1==_.cnt--&&(_.a=0,!0)}function Tt(e,_,t){const r=function(e,_,t,r){const i={a:e,b:_,cnt:1,dtor:125},o=(...e)=>{i.cnt++;const _=i.a;i.a=0;try{return r(_,i.b,...e)}finally{0==--i.cnt?(n.__wbindgen_export_6.get(i.dtor)(_,i.b),y.unregister(i)):i.a=_}};return o.original=i,y.register(o,i,i),o}(e,_,0,O);return r}function Yt(e,_){const t=c(h(_),n.__wbindgen_malloc,n.__wbindgen_realloc),r=i;w().setInt32(e+4,r,!0),w().setInt32(e+0,t,!0)}function Kt(e,_){return new Error(d(e,_))}function Vt(e,_){return e in _}function Xt(){const e=n.__wbindgen_export_4,_=e.grow(4);e.set(0,void 0),e.set(_+0,void 0),e.set(_+1,null),e.set(_+2,!0),e.set(_+3,!1)}function Zt(e){return"bigint"==typeof e}function en(e){return"function"==typeof e}function _n(e){return"object"==typeof e&&null!==e}function tn(e){return"string"==typeof e}function nn(e){return void 0===e}function rn(e,_){return e===_}function on(e,_){return e==_}function sn(){return n.memory}function an(e,_){const t="number"==typeof _?_:void 0;w().setFloat64(e+8,p(t)?0:t,!0),w().setInt32(e+0,!p(t),!0)}function gn(e){return e}function cn(e,_){const t="string"==typeof _?_:void 0;var r=p(t)?0:c(t,n.__wbindgen_malloc,n.__wbindgen_realloc),o=i;w().setInt32(e+4,o,!0),w().setInt32(e+0,r,!0)}function bn(e,_){return d(e,_)}function wn(e,_){throw new Error(d(e,_))}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_themessettings_free(e>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((e=>n.__wbg_usersettings_free(e>>>0,1)))},507:(e,_,t)=>{t.a(e,(async(e,n)=>{try{t.d(_,{Ay:()=>g,RC:()=>a,Y$:()=>o,wS:()=>s});var r=t(519),i=e([r]);async function o(e,_){if(_){const t="https://keadex.dev/api/download-gh-raw-file",n={headers:{"Keadex-Gh-Url":e}};return _&&(n.headers["Keadex-Gh-Authorization"]=_),await fetch(t,n)}return await fetch(e)}async function s(e,_,t){let n,i,s;try{n=(0,r._Cc)(e),i=(0,r.Llp)(e,_),s=(0,r.JD7)(e,_)}catch(e){throw console.error(e),new Error("Invalid URL: the provided URL is an invalid Mina project or diagram.")}if(n&&i&&s){let e,_,r;try{const a=await o(n,t),g=await o(i,t),c=await o(s,t);if(a.ok&&g.ok&&c.ok)return e=await a.text(),_=await g.text(),r=await c.text(),{projectSettingsJson:e,plantuml:_,spec:r};throw new Error}catch(e){throw console.error(e),new Error("Diagram or project settings not found. Please verify the URLs provided, or, if linking to a private repository, ensure the GitHub token is configured.")}}}async function a(e,_,t){try{const i=await s(e,_,t);var n;if(i)return{diagram:await(0,r.Oxg)(e,_,i.plantuml,i.spec),diagramsThemeSettings:null==(n=JSON.parse(i.projectSettingsJson).themes_settings)?void 0:n.diagrams_theme_settings}}catch(e){console.error(e)}}r=(i.then?(await i)():i)[0];const g={fetchGhRawFile:o,downloadDiagramData:s,openRemoteProjectDiagram:a};n()}catch(c){n(c)}}))},519:(e,_,t)=>{t.a(e,(async(e,n)=>{try{t.d(_,{JD7:()=>i.JD7,Llp:()=>i.Llp,Oxg:()=>i.Oxg,_Cc:()=>i._Cc});var r=t(196),i=t(457),o=e([r]);r=(o.then?(await o)():o)[0],(0,i.lIU)(r),r.__wbindgen_start(),n()}catch(e){n(e)}}))}},i={};function o(e){var _=i[e];if(void 0!==_)return _.exports;var t=i[e]={id:e,loaded:!1,exports:{}};return r[e](t,t.exports,o),t.loaded=!0,t.exports}e="function"==typeof Symbol?Symbol("webpack queues"):"__webpack_queues__",_="function"==typeof Symbol?Symbol("webpack exports"):"__webpack_exports__",t="function"==typeof Symbol?Symbol("webpack error"):"__webpack_error__",n=e=>{e&&e.d<1&&(e.d=1,e.forEach((e=>e.r--)),e.forEach((e=>e.r--?e.r++:e())))},o.a=(r,i,o)=>{var s;o&&((s=[]).d=-1);var a,g,c,b=new Set,w=r.exports,u=new Promise(((e,_)=>{c=_,g=e}));u[_]=w,u[e]=e=>(s&&e(s),b.forEach(e),u.catch((e=>{}))),r.exports=u,i((r=>{var i;a=(r=>r.map((r=>{if(null!==r&&"object"==typeof r){if(r[e])return r;if(r.then){var i=[];i.d=0,r.then((e=>{o[_]=e,n(i)}),(e=>{o[t]=e,n(i)}));var o={};return o[e]=e=>e(i),o}}var s={};return s[e]=e=>{},s[_]=r,s})))(r);var o=()=>a.map((e=>{if(e[t])throw e[t];return e[_]})),g=new Promise((_=>{(i=()=>_(o)).r=0;var t=e=>e!==s&&!b.has(e)&&(b.add(e),e&&!e.d&&(i.r++,e.push(i)));a.map((_=>_[e](t)))}));return i.r?g:o()}),(e=>(e?c(u[t]=e):g(w),n(s)))),s&&s.d<0&&(s.d=0)},o.d=(e,_)=>{for(var t in _)o.o(_,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:_[t]})},o.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),o.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),o.v=(e,_,t,n)=>Promise.all([import("fs"),import("url")]).then((([{readFile:e},{URL:_}])=>new Promise(((n,r)=>{e(new _(t+".module.wasm",import.meta.url),((e,_)=>{if(e)return r(e);n({arrayBuffer:()=>_})}))})))).then((e=>e.arrayBuffer())).then((e=>WebAssembly.instantiate(e,n))).then((_=>Object.assign(e,_.instance.exports)));var s=o(507),a=(s=await s).Ay,g=s.wS,c=s.Y$,b=s.RC;export{a as default,g as downloadDiagramData,c as fetchGhRawFile,b as openRemoteProjectDiagram};
1
+ var _,e,t,r,n,s={196(_,e,t){var r=t(457);_.exports=t.v(e,_.id,"5329e855d15904c10efa",{"./mina_react_bg.js":{__wbg_new_dca287b076112a51:r._hV,__wbg_new_3eb36ae241fe6f44:r.oF3,__wbg___wbindgen_string_get_72fb696202c56729:r.cKO,__wbg___wbindgen_number_get_8ff4255516ccad3e:r.bDv,__wbg___wbindgen_in_47fa6863be6f2f25:r.cpy,__wbg___wbindgen_throw_be289d5034ed271b:r.rm3,__wbg___wbindgen_rethrow_05525c567f154472:r.wEy,__wbg___wbindgen_jsval_eq_11888390b0186270:r.Z_9,__wbg_Number_04624de7d0e8332d:r.neO,__wbg_Error_8c4e43fe74559d73:r.fa$,__wbg___wbindgen_is_bigint_31b12575b56f32fc:r.tZJ,__wbg___wbindgen_is_object_5ae8e5880f2c1fbd:r.rXI,__wbg___wbindgen_is_string_cd444516edc5b180:r.XP1,__wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25:r.vGI,__wbg___wbindgen_is_function_0095a73b8b156f76:r.Bth,__wbg___wbindgen_is_undefined_9e4d92534c42d778:r.$hZ,__wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811:r.wIB,__wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2:r.a9o,__wbg___wbindgen_debug_string_0bc8482c6e3508ae:r.k0X,__wbg__wbg_cb_unref_d9b87ff7982e3b21:r.W7D,__wbg_stringify_8d1cc6ff383e8bae:r._2w,__wbg_new_361308b2356cecd0:r.LZ_,__wbg_new_no_args_1c7c842f08d00ebb:r.WMd,__wbg_new_dd2b680c8bf6ae29:r.V0o,__wbg_next_418f80d8f5303233:r.A0G,__wbg_byteLength_3417f266f4bf562a:r.a_p,__wbg_byteOffset_f88547ca47c86358:r.c0$,__wbg_length_32ed9a279acd054c:r.XmT,__wbg_prototypesetcall_bdcdcc5842e4d77d:r.esX,__wbg_new_from_slice_a3d2629dc1826784:r.PnO,__wbg_new_with_byte_offset_and_length_aa261d9c9da49eb1:r.YzY,__wbg_buffer_26d0910f3a5bc899:r.Nwu,__wbg_set_cc56eefd2dd91957:r.Zzl,__wbg_done_57b39ecd9addfe81:r.b6G,__wbg_value_0546255b415e96c1:r.NZe,__wbg_next_0a5e0f8af98146aa:r.MzV,__wbg_instanceof_Error_8573fe0b0b480f46:r.CeS,__wbg_instanceof_Uint8Array_9b9075935c74707c:r.l7b,__wbg_instanceof_ArrayBuffer_c367199e2fa2aa04:r.rgd,__wbg_set_1eb0999cf5d27fc8:r.c22,__wbg_get_9b94d73e6221f75c:r.Kk3,__wbg_set_f43e577aea94465b:r.ZEw,__wbg_length_35a7bace40f36eac:r.iNx,__wbg_push_8ffdcb2063340ba5:r.YyO,__wbg_isArray_d314bb98fcf08331:r.ng2,__wbg_new_72b49615380db768:r.Xci,__wbg_message_9ddc4b9a62a7c379:r.CJX,__wbg_isSafeInteger_bfbc7332a9768d2a:r.W_J,__wbg_entries_58c7934c745daac7:r.XZV,__wbg_iterator_6ff6560ca1568e55:r.T70,__wbg_static_accessor_GLOBAL_THIS_e628e89ab3b1c95f:r.Hgc,__wbg_call_389efe28435a9388:r.qe3,__wbg_static_accessor_SELF_a621d3dfbb60d0ce:r.n8y,__wbg_static_accessor_GLOBAL_12837167ad935116:r.St8,__wbg_static_accessor_WINDOW_f8727f0cf888e0bd:r.MLu,__wbg_new_b5d9e2fb389fef91:r.nc3,__wbg_then_b9e7b3b5f1a9e1b5:r.xRo,__wbg_then_0d9fe2c7b1857d32:r.IIh,__wbg_resolve_002c4b7d9d8f6b64:r.kwF,__wbg_call_4708e0c13bdc8e95:r.GSt,__wbg_next_3482f54c49e8af19:r.KMT,__wbg_get_b3ed3ad4be2bc8ac:r.HBd,__wbg_instanceof_Window_ed49b2db8df90359:r.Q8O,__wbg_localStorage_a22d31b9eacc4594:r.hvT,__wbg_fetch_afb6a4b6cacf876d:r.vZh,__wbg_new_64284bd487f9d239:r.rEs,__wbg_append_a992ccc37aa62dc4:r.Q01,__wbg_postMessage_2041f4e90af61318:r.B6M,__wbg_instanceof_File_21240124aa87092d:r.U0y,__wbg_lastModified_a5cfce993c651681:r.OVC,__wbg_get_7402eeed7493cb5a:r.XYU,__wbg_set_9d4519d2fdec4515:r.Ytm,__wbg_set_method_c3e20375f5ae7fac:r.p3I,__wbg_set_signal_f2d3f8599248896d:r.T9E,__wbg_set_credentials_c4a58d2e05ef24fb:r.Qdk,__wbg_set_headers_cfc5f4b2c1f20549:r.Jyf,__wbg_set_body_9a7e00afe3cfe244:r.TB7,__wbg_set_mode_b13642c312648202:r.gqh,__wbg_set_cache_315a3ed773a41543:r.vNk,__wbg_byobRequest_80e594e6da4e1af7:r.tNh,__wbg_close_06dfa0a815b9d71f:r.kfc,__wbg_append_f397817515023c29:r.uN9,__wbg_append_5050a4a2867113b7:r.SrV,__wbg_append_68324d5b44b13a25:r.$Dy,__wbg_new_738c2e238e869a5e:r.Z5i,__wbg_abort_d549b92d3c665de1:r.FMZ,__wbg_new_b949e7f56150a5d1:r.l8_,__wbg_abort_2f0584e03e8e3950:r.tRs,__wbg_signal_d1285ecab4ebc5ad:r.U4M,__wbg_respond_bf6ab10399ca8722:r.aax,__wbg_view_6c32e7184b8606ad:r.wej,__wbg_set_keep_existing_data_ac7fffea75f37b19:r.p2o,__wbg_set_create_1f902c5936adde7d:r.rDs,__wbg_seek_2f754ad448f4e0d7:r.U1n,__wbg_write_eef6ab13f06e9779:r.yf_,__wbg_set_type_148de20768639245:r.oV6,__wbg_instanceof_FileSystemFileHandle_fd8948f4bac4e78a:r.VRI,__wbg_createWritable_6c6623bddc203fe6:r._xs,__wbg_getFile_115354fc950edc88:r.dJ9,__wbg_close_83fb809aca3de7f9:r.K2U,__wbg_set_create_c95ddca018fac9ce:r.vw0,__wbg_name_e8cffaa6f870bdb5:r.S_F,__wbg_new_with_str_and_init_a61cbc6bdef21614:r.C85,__wbg_enqueue_2c63f2044f257c3e:r.Uyb,__wbg_close_a79afee31de55b36:r.XYr,__wbg_queueMicrotask_5bb536982f78a56f:r.mlW,__wbg_queueMicrotask_0aa0a927f78f5d98:r.lBq,__wbg_set_recursive_f5d3416098328110:r.VPg,__wbg_instanceof_FileSystemDirectoryHandle_56a167039d614548:r.KnO,__wbg_removeEntry_d1cc9710704217eb:r.dT3,__wbg_removeEntry_c4efffdd318b51a1:r.zSd,__wbg_getFileHandle_ff4ab917b45affb3:r.Iz5,__wbg_getDirectoryHandle_87ce8ca53cf4d8dc:r.tSL,__wbg_entries_04a4b982351a717f:r.kZ2,__wbg_shape_new:r._cl,__wbg_person_unwrap:r.Xv$,__wbg_String_8f0eb39a4a4c2f66:r.Oyk,__wbg_get_with_ref_key_1dc361bd10053bfe:r.GPN,__wbg_set_3f1d0b984ed272ed:r.NJs,__wbg_getRandomValues_9c5c1b115e142bb8:r.Ctk,__wbg_minaerror_new:r.EkI,__wbg_new_8a6f238a6ece86ea:r.$Pc,__wbg_stack_0ed75d68575b0f3c:r.x$X,__wbg_error_7534b8e9a36f1ab4:r.WYM,__wbg_log_6b5ca2e6124b2808:r.aW0,__wbg_info_148d043840582012:r.fib,__wbg_warn_f7ae1b2e66ccb930:r.Ua6,__wbg_debug_a4099fa12db6cd61:r.DaD,__wbg_error_9a7fe3f932034cde:r.JBS,__wbg_clearTimeout_42d9ccd50822fd3a:r.P6V,__wbg_instanceof_Response_ee1d54d79ae41977:r.RMx,__wbg_arrayBuffer_bb54076166006c39:r.EyN,__wbg_url_c484c26b1fbf5126:r.xkM,__wbg_status_89d7e803db911ee7:r.bWe,__wbg_headers_59a2938db9f80985:r.tCk,__wbg_setTimeout_4ec014681668a581:r.BJ2,__wbg_arrayBuffer_05ce1af23e9064e8:r.rWY,__wbg_new_with_u8_array_sequence_and_options_cc0f8f2c1ef62e68:r.f8A,__wbg_size_e05d31cc6049815f:r.v9h,__wbg_text_6c01d6a72e29d7a7:r.DQW,__wbg_has_d4e53238966c12b6:r.M4v,__wbg_fetch_6bbc32f991730587:r.qO7,__wbg_softwaresystem_new:r.dM0,__wbg_boundary_new:r.HCo,__wbg_person_new:r.c1W,__wbg_component_new:r.WJm,__wbg_deploymentnode_new:r.ezj,__wbg_relationship_new:r.NpJ,__wbg_container_new:r.e57,__wbg_boundary_unwrap:r.Wq,__wbg_shape_unwrap:r.D7n,__wbg_point_unwrap:r._QJ,__wbg_deploymentnode_unwrap:r._Zx,__wbg_diagramelementspec_unwrap:r.W3f,__wbg_relationship_unwrap:r.KM7,__wbg_container_unwrap:r.xB8,__wbg_component_unwrap:r.dT0,__wbg_softwaresystem_unwrap:r.qre,__wbg_diagramelementspec_new:r.Dr_,__wbg_point_new:r.nA9,__wbindgen_init_externref_table:r.bLn,__wbindgen_cast_0000000000000001:r.NRA,__wbindgen_cast_0000000000000002:r.U_B,__wbindgen_cast_0000000000000003:r.b$l,__wbindgen_cast_0000000000000004:r.Ww_,__wbindgen_cast_0000000000000005:r.PUW}})},457(_,e,t){t.d(e,{$Dy:()=>i_,$Pc:()=>xe,$hZ:()=>Y,A0G:()=>Be,B6M:()=>Ne,BJ2:()=>He,Bth:()=>L,C85:()=>Ie,CJX:()=>de,CeS:()=>Q_,Ctk:()=>P_,D7n:()=>ut,DQW:()=>jt,DaD:()=>j_,Dr_:()=>D_,EkI:()=>pe,EyN:()=>b_,FMZ:()=>n_,GPN:()=>V_,GSt:()=>m_,HBd:()=>X_,HCo:()=>c_,Hgc:()=>St,IIh:()=>Ot,Iz5:()=>Z_,JBS:()=>J_,JD7:()=>U,Jyf:()=>gt,K2U:()=>v_,KM7:()=>Ce,KMT:()=>We,Kk3:()=>L_,KnO:()=>_e,LZ_:()=>fe,Llp:()=>B,M4v:()=>Y_,MLu:()=>Ft,MzV:()=>Me,NJs:()=>Qe,NRA:()=>Et,NZe:()=>Mt,NpJ:()=>Pe,Nwu:()=>l_,OVC:()=>ae,Oxg:()=>E,Oyk:()=>T,P6V:()=>h_,PUW:()=>Tt,PnO:()=>ke,Q01:()=>o_,Q8O:()=>se,Qdk:()=>it,RMx:()=>re,S_F:()=>ue,SrV:()=>s_,St8:()=>xt,T70:()=>ge,T9E:()=>lt,TB7:()=>et,U0y:()=>te,U1n:()=>Ge,U4M:()=>ft,U_B:()=>At,Ua6:()=>Bt,Uyb:()=>B_,V0o:()=>Re,VPg:()=>wt,VRI:()=>ee,W3f:()=>M_,W7D:()=>t_,WJm:()=>S_,WMd:()=>je,WYM:()=>A_,W_J:()=>oe,Wq:()=>w_,Ww_:()=>Nt,XP1:()=>V,XYU:()=>C_,XYr:()=>x_,XZV:()=>E_,Xci:()=>ye,XmT:()=>be,Xv$:()=>Ee,Ytm:()=>_t,YyO:()=>qe,YzY:()=>Oe,Z5i:()=>ve,ZEw:()=>ot,Z_9:()=>G,Zzl:()=>rt,_2w:()=>kt,_Cc:()=>A,_QJ:()=>Je,_Zx:()=>I_,_cl:()=>pt,_hV:()=>Fe,_xs:()=>k_,a9o:()=>q,aW0:()=>le,a_p:()=>p_,aax:()=>Ye,b$l:()=>Jt,b6G:()=>W_,bDv:()=>K,bLn:()=>qt,bWe:()=>Rt,c0$:()=>u_,c1W:()=>Ue,c22:()=>Ke,cKO:()=>__,cpy:()=>P,dJ9:()=>$_,dM0:()=>ht,dT0:()=>z_,dT3:()=>Xe,e57:()=>F_,esX:()=>Te,ezj:()=>O_,f8A:()=>De,fa$:()=>J,fib:()=>H_,gqh:()=>ct,hvT:()=>we,iNx:()=>ce,k0X:()=>$,kZ2:()=>U_,kfc:()=>y_,kwF:()=>Ve,l7b:()=>ne,l8_:()=>ze,lBq:()=>Ze,lIU:()=>Vr,mlW:()=>$e,n8y:()=>zt,nA9:()=>Ae,nc3:()=>Se,neO:()=>N,ng2:()=>ie,oF3:()=>me,oV6:()=>dt,p2o:()=>at,p3I:()=>bt,qO7:()=>N_,qe3:()=>f_,qre:()=>yt,rDs:()=>nt,rEs:()=>he,rWY:()=>a_,rXI:()=>X,rgd:()=>K_,rm3:()=>e_,tCk:()=>G_,tNh:()=>d_,tRs:()=>r_,tSL:()=>q_,tZJ:()=>C,uN9:()=>g_,v9h:()=>mt,vGI:()=>Z,vNk:()=>tt,vZh:()=>T_,vw0:()=>st,wEy:()=>Q,wIB:()=>H,wej:()=>Wt,x$X:()=>vt,xB8:()=>R_,xRo:()=>It,xkM:()=>Dt,yf_:()=>Ut,zSd:()=>Le});class r{static __wrap(_){_>>>=0;const e=Object.create(r.prototype);return e.__wbg_ptr=_,Vt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,Vt.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_aisettings_free(_,0)}get api_base_url(){const _=Lr.__wbg_get_aisettings_api_base_url(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get api_key(){const _=Lr.__wbg_get_aisettings_api_key(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get model(){const _=Lr.__wbg_get_aisettings_model(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}set api_base_url(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_aisettings_api_base_url(this.__wbg_ptr,e,t)}set api_key(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_aisettings_api_key(this.__wbg_ptr,e,t)}set model(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_aisettings_model(this.__wbg_ptr,e,t)}}Symbol.dispose&&(r.prototype[Symbol.dispose]=r.prototype.free);class n{__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,Yt.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_addelementtag_free(_,0)}get bg_color(){const _=Lr.__wbg_get_addelementtag_bg_color(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get border_color(){const _=Lr.__wbg_get_addelementtag_border_color(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get border_style(){const _=Lr.__wbg_get_addelementtag_border_style(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get border_thickness(){const _=Lr.__wbg_get_addelementtag_border_thickness(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get font_color(){const _=Lr.__wbg_get_addelementtag_font_color(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get legend_sprite(){const _=Lr.__wbg_get_addelementtag_legend_sprite(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get legend_text(){const _=Lr.__wbg_get_addelementtag_legend_text(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get shadowing(){const _=Lr.__wbg_get_addelementtag_shadowing(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get shape(){const _=Lr.__wbg_get_addelementtag_shape(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get sprite(){const _=Lr.__wbg_get_addelementtag_sprite(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get tag(){const _=Lr.__wbg_get_addelementtag_tag(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get techn(){const _=Lr.__wbg_get_addelementtag_techn(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}set bg_color(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_addelementtag_bg_color(this.__wbg_ptr,e,t)}set border_color(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_addelementtag_border_color(this.__wbg_ptr,e,t)}set border_style(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_addelementtag_border_style(this.__wbg_ptr,e,t)}set border_thickness(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_addelementtag_border_thickness(this.__wbg_ptr,e,t)}set font_color(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_addelementtag_font_color(this.__wbg_ptr,e,t)}set legend_sprite(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_addelementtag_legend_sprite(this.__wbg_ptr,e,t)}set legend_text(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_addelementtag_legend_text(this.__wbg_ptr,e,t)}set shadowing(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_addelementtag_shadowing(this.__wbg_ptr,e,t)}set shape(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_addelementtag_shape(this.__wbg_ptr,e,t)}set sprite(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_addelementtag_sprite(this.__wbg_ptr,e,t)}set tag(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_addelementtag_tag(this.__wbg_ptr,e,t)}set techn(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_addelementtag_techn(this.__wbg_ptr,e,t)}}Symbol.dispose&&(n.prototype[Symbol.dispose]=n.prototype.free);class s{static __wrap(_){_>>>=0;const e=Object.create(s.prototype);return e.__wbg_ptr=_,Gt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,Gt.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_baseelement_free(_,0)}get alias(){const _=Lr.__wbg_get_baseelement_alias(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get description(){const _=Lr.__wbg_get_baseelement_description(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get label(){const _=Lr.__wbg_get_baseelement_label(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get link(){const _=Lr.__wbg_get_baseelement_link(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get notes(){const _=Lr.__wbg_get_baseelement_notes(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get sprite(){const _=Lr.__wbg_get_baseelement_sprite(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get tags(){const _=Lr.__wbg_get_baseelement_tags(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get uuid(){const _=Lr.__wbg_get_baseelement_uuid(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}set alias(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_baseelement_alias(this.__wbg_ptr,e,t)}set description(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_baseelement_description(this.__wbg_ptr,e,t)}set label(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_baseelement_label(this.__wbg_ptr,e,t)}set link(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_baseelement_link(this.__wbg_ptr,e,t)}set notes(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_baseelement_notes(this.__wbg_ptr,e,t)}set sprite(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_baseelement_sprite(this.__wbg_ptr,e,t)}set tags(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_baseelement_tags(this.__wbg_ptr,e,t)}set uuid(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_baseelement_uuid(this.__wbg_ptr,e,t)}}Symbol.dispose&&(s.prototype[Symbol.dispose]=s.prototype.free);class i{static __wrap(_){_>>>=0;const e=Object.create(i.prototype);return e.__wbg_ptr=_,Ht.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof i?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,Ht.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_boundary_free(_,0)}get base_data(){const _=Lr.__wbg_get_boundary_base_data(this.__wbg_ptr);return s.__wrap(_)}get boundary_custom_type(){const _=Lr.__wbg_get_boundary_boundary_custom_type(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get boundary_type(){return Lr.__wbg_get_boundary_boundary_type(this.__wbg_ptr)}get sub_elements(){const _=Lr.__wbg_get_boundary_sub_elements(this.__wbg_ptr);var e=Or(_[0],_[1]).slice();return Lr.__wbindgen_free(_[0],4*_[1],4),e}set base_data(_){Rr(_,s);var e=_.__destroy_into_raw();Lr.__wbg_set_boundary_base_data(this.__wbg_ptr,e)}set boundary_custom_type(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_boundary_boundary_custom_type(this.__wbg_ptr,e,t)}set boundary_type(_){Lr.__wbg_set_boundary_boundary_type(this.__wbg_ptr,Ar(_)?0:Fr(_))}set sub_elements(_){const e=Nr(_,Lr.__wbindgen_malloc),t=Xr;Lr.__wbg_set_boundary_sub_elements(this.__wbg_ptr,e,t)}}Symbol.dispose&&(i.prototype[Symbol.dispose]=i.prototype.free);class o{static __wrap(_){_>>>=0;const e=Object.create(o.prototype);return e.__wbg_ptr=_,Kt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,Kt.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_c4elements_free(_,0)}get boundaries(){const _=Lr.__wbg_get_c4elements_boundaries(this.__wbg_ptr);var e=Or(_[0],_[1]).slice();return Lr.__wbindgen_free(_[0],4*_[1],4),e}get components(){const _=Lr.__wbg_get_c4elements_components(this.__wbg_ptr);var e=Or(_[0],_[1]).slice();return Lr.__wbindgen_free(_[0],4*_[1],4),e}get containers(){const _=Lr.__wbg_get_c4elements_containers(this.__wbg_ptr);var e=Or(_[0],_[1]).slice();return Lr.__wbindgen_free(_[0],4*_[1],4),e}get deployment_nodes(){const _=Lr.__wbg_get_c4elements_deployment_nodes(this.__wbg_ptr);var e=Or(_[0],_[1]).slice();return Lr.__wbindgen_free(_[0],4*_[1],4),e}get persons(){const _=Lr.__wbg_get_c4elements_persons(this.__wbg_ptr);var e=Or(_[0],_[1]).slice();return Lr.__wbindgen_free(_[0],4*_[1],4),e}get relationships(){const _=Lr.__wbg_get_c4elements_relationships(this.__wbg_ptr);var e=Or(_[0],_[1]).slice();return Lr.__wbindgen_free(_[0],4*_[1],4),e}get software_systems(){const _=Lr.__wbg_get_c4elements_software_systems(this.__wbg_ptr);var e=Or(_[0],_[1]).slice();return Lr.__wbindgen_free(_[0],4*_[1],4),e}set boundaries(_){const e=Nr(_,Lr.__wbindgen_malloc),t=Xr;Lr.__wbg_set_c4elements_boundaries(this.__wbg_ptr,e,t)}set components(_){const e=Nr(_,Lr.__wbindgen_malloc),t=Xr;Lr.__wbg_set_c4elements_components(this.__wbg_ptr,e,t)}set containers(_){const e=Nr(_,Lr.__wbindgen_malloc),t=Xr;Lr.__wbg_set_c4elements_containers(this.__wbg_ptr,e,t)}set deployment_nodes(_){const e=Nr(_,Lr.__wbindgen_malloc),t=Xr;Lr.__wbg_set_c4elements_deployment_nodes(this.__wbg_ptr,e,t)}set persons(_){const e=Nr(_,Lr.__wbindgen_malloc),t=Xr;Lr.__wbg_set_c4elements_persons(this.__wbg_ptr,e,t)}set relationships(_){const e=Nr(_,Lr.__wbindgen_malloc),t=Xr;Lr.__wbg_set_c4elements_relationships(this.__wbg_ptr,e,t)}set software_systems(_){const e=Nr(_,Lr.__wbindgen_malloc),t=Xr;Lr.__wbg_set_c4elements_software_systems(this.__wbg_ptr,e,t)}}Symbol.dispose&&(o.prototype[Symbol.dispose]=o.prototype.free);class g{static __wrap(_){_>>>=0;const e=Object.create(g.prototype);return e.__wbg_ptr=_,Qt.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof g?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,Qt.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_component_free(_,0)}get base_data(){const _=Lr.__wbg_get_component_base_data(this.__wbg_ptr);return s.__wrap(_)}get component_type(){return Lr.__wbg_get_component_component_type(this.__wbg_ptr)}get technology(){const _=Lr.__wbg_get_component_technology(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}set base_data(_){Rr(_,s);var e=_.__destroy_into_raw();Lr.__wbg_set_component_base_data(this.__wbg_ptr,e)}set component_type(_){Lr.__wbg_set_component_component_type(this.__wbg_ptr,Ar(_)?0:Fr(_))}set technology(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_component_technology(this.__wbg_ptr,e,t)}}Symbol.dispose&&(g.prototype[Symbol.dispose]=g.prototype.free);class a{static __wrap(_){_>>>=0;const e=Object.create(a.prototype);return e.__wbg_ptr=_,_r.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof a?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,_r.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_container_free(_,0)}get base_data(){const _=Lr.__wbg_get_container_base_data(this.__wbg_ptr);return s.__wrap(_)}get container_type(){return Lr.__wbg_get_container_container_type(this.__wbg_ptr)}get technology(){const _=Lr.__wbg_get_container_technology(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}set base_data(_){Rr(_,s);var e=_.__destroy_into_raw();Lr.__wbg_set_container_base_data(this.__wbg_ptr,e)}set container_type(_){Lr.__wbg_set_container_container_type(this.__wbg_ptr,Ar(_)?0:Fr(_))}set technology(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_container_technology(this.__wbg_ptr,e,t)}}Symbol.dispose&&(a.prototype[Symbol.dispose]=a.prototype.free);class b{static __wrap(_){_>>>=0;const e=Object.create(b.prototype);return e.__wbg_ptr=_,er.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof b?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,er.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_deploymentnode_free(_,0)}get base_data(){const _=Lr.__wbg_get_deploymentnode_base_data(this.__wbg_ptr);return s.__wrap(_)}get deployment_node_type(){return Lr.__wbg_get_deploymentnode_deployment_node_type(this.__wbg_ptr)}get deploymeny_node_custom_type(){const _=Lr.__wbg_get_deploymentnode_deploymeny_node_custom_type(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get sub_elements(){const _=Lr.__wbg_get_deploymentnode_sub_elements(this.__wbg_ptr);var e=Or(_[0],_[1]).slice();return Lr.__wbindgen_free(_[0],4*_[1],4),e}set base_data(_){Rr(_,s);var e=_.__destroy_into_raw();Lr.__wbg_set_deploymentnode_base_data(this.__wbg_ptr,e)}set deployment_node_type(_){Lr.__wbg_set_deploymentnode_deployment_node_type(this.__wbg_ptr,Ar(_)?0:Fr(_))}set deploymeny_node_custom_type(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_addelementtag_legend_sprite(this.__wbg_ptr,e,t)}set sub_elements(_){const e=Nr(_,Lr.__wbindgen_malloc),t=Xr;Lr.__wbg_set_deploymentnode_sub_elements(this.__wbg_ptr,e,t)}}Symbol.dispose&&(b.prototype[Symbol.dispose]=b.prototype.free);class c{__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,tr.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_diagram_free(_,0)}get auto_layout(){return Lr.diagram_auto_layout(this.__wbg_ptr)}set auto_layout(_){Lr.diagram_set_auto_layout(this.__wbg_ptr,_)}get auto_layout_errors(){const _=Lr.__wbg_get_diagram_auto_layout_errors(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Or(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],4*_[1],4)),e}get diagram_name(){const _=Lr.__wbg_get_diagram_diagram_name(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get diagram_plantuml(){const _=Lr.__wbg_get_diagram_diagram_plantuml(this.__wbg_ptr);return 0===_?void 0:l.__wrap(_)}get diagram_spec(){const _=Lr.__wbg_get_diagram_diagram_spec(this.__wbg_ptr);return 0===_?void 0:d.__wrap(_)}get diagram_type(){return Lr.__wbg_get_diagram_diagram_type(this.__wbg_ptr)}get last_modified(){const _=Lr.__wbg_get_diagram_last_modified(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get raw_plantuml(){const _=Lr.__wbg_get_diagram_raw_plantuml(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}set auto_layout_errors(_){var e=Ar(_)?0:Nr(_,Lr.__wbindgen_malloc),t=Xr;Lr.__wbg_set_diagram_auto_layout_errors(this.__wbg_ptr,e,t)}set diagram_name(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagram_diagram_name(this.__wbg_ptr,e,t)}set diagram_plantuml(_){let e=0;Ar(_)||(Rr(_,l),e=_.__destroy_into_raw()),Lr.__wbg_set_diagram_diagram_plantuml(this.__wbg_ptr,e)}set diagram_spec(_){let e=0;Ar(_)||(Rr(_,d),e=_.__destroy_into_raw()),Lr.__wbg_set_diagram_diagram_spec(this.__wbg_ptr,e)}set diagram_type(_){Lr.__wbg_set_diagram_diagram_type(this.__wbg_ptr,Ar(_)?0:Fr(_))}set last_modified(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagram_last_modified(this.__wbg_ptr,e,t)}set raw_plantuml(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagram_raw_plantuml(this.__wbg_ptr,e,t)}}Symbol.dispose&&(c.prototype[Symbol.dispose]=c.prototype.free);class w{static __wrap(_){_>>>=0;const e=Object.create(w.prototype);return e.__wbg_ptr=_,rr.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof w?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,rr.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_diagramelementspec_free(_,0)}get alias(){const _=Lr.__wbg_get_diagramelementspec_alias(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get element_type(){return Lr.__wbg_get_diagramelementspec_element_type(this.__wbg_ptr)}get from(){const _=Lr.__wbg_get_diagramelementspec_from(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get inner_specs(){const _=Lr.__wbg_get_diagramelementspec_inner_specs(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Or(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],4*_[1],4)),e}get position(){const _=Lr.__wbg_get_diagramelementspec_position(this.__wbg_ptr);return 0===_?void 0:z.__wrap(_)}get shapes(){const _=Lr.__wbg_get_diagramelementspec_shapes(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Or(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],4*_[1],4)),e}get size(){const _=Lr.__wbg_get_diagramelementspec_size(this.__wbg_ptr);return 0===_?void 0:I.__wrap(_)}get to(){const _=Lr.__wbg_get_diagramelementspec_to(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}set alias(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramelementspec_alias(this.__wbg_ptr,e,t)}set element_type(_){Lr.__wbg_set_diagramelementspec_element_type(this.__wbg_ptr,Ar(_)?0:Fr(_))}set from(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramelementspec_from(this.__wbg_ptr,e,t)}set inner_specs(_){var e=Ar(_)?0:Nr(_,Lr.__wbindgen_malloc),t=Xr;Lr.__wbg_set_diagramelementspec_inner_specs(this.__wbg_ptr,e,t)}set position(_){let e=0;Ar(_)||(Rr(_,z),e=_.__destroy_into_raw()),Lr.__wbg_set_diagramelementspec_position(this.__wbg_ptr,e)}set shapes(_){var e=Ar(_)?0:Nr(_,Lr.__wbindgen_malloc),t=Xr;Lr.__wbg_set_diagramelementspec_shapes(this.__wbg_ptr,e,t)}set size(_){let e=0;Ar(_)||(Rr(_,I),e=_.__destroy_into_raw()),Lr.__wbg_set_diagramelementspec_size(this.__wbg_ptr,e)}set to(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramelementspec_to(this.__wbg_ptr,e,t)}}Symbol.dispose&&(w.prototype[Symbol.dispose]=w.prototype.free);class l{static __wrap(_){_>>>=0;const e=Object.create(l.prototype);return e.__wbg_ptr=_,nr.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,nr.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_diagramplantuml_free(_,0)}set tags(_){Lr.diagramplantuml_set_tags(this.__wbg_ptr,_)}get tags(){return Lr.diagramplantuml_tags(this.__wbg_ptr)}get aliases(){const _=Lr.__wbg_get_diagramplantuml_aliases(this.__wbg_ptr);var e=Or(_[0],_[1]).slice();return Lr.__wbindgen_free(_[0],4*_[1],4),e}get diagram_id(){const _=Lr.__wbg_get_diagramplantuml_diagram_id(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get elements(){const _=Lr.__wbg_get_diagramplantuml_elements(this.__wbg_ptr);var e=Or(_[0],_[1]).slice();return Lr.__wbindgen_free(_[0],4*_[1],4),e}set aliases(_){const e=Nr(_,Lr.__wbindgen_malloc),t=Xr;Lr.__wbg_set_diagramplantuml_aliases(this.__wbg_ptr,e,t)}set diagram_id(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramplantuml_diagram_id(this.__wbg_ptr,e,t)}set elements(_){const e=Nr(_,Lr.__wbindgen_malloc),t=Xr;Lr.__wbg_set_boundary_sub_elements(this.__wbg_ptr,e,t)}}Symbol.dispose&&(l.prototype[Symbol.dispose]=l.prototype.free);class d{static __wrap(_){_>>>=0;const e=Object.create(d.prototype);return e.__wbg_ptr=_,sr.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,sr.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_diagramspec_free(_,0)}get auto_layout_enabled(){return 0!==Lr.__wbg_get_diagramspec_auto_layout_enabled(this.__wbg_ptr)}get auto_layout_only_straight_arrows(){return 0!==Lr.__wbg_get_diagramspec_auto_layout_only_straight_arrows(this.__wbg_ptr)}get auto_layout_orientation(){return Lr.__wbg_get_diagramspec_auto_layout_orientation(this.__wbg_ptr)}get auto_layout_ranksep(){return Lr.__wbg_get_diagramspec_auto_layout_ranksep(this.__wbg_ptr)}get auto_layout_subgraph_inner_margin(){return Lr.__wbg_get_diagramspec_auto_layout_subgraph_inner_margin(this.__wbg_ptr)}get auto_layout_subgraph_outer_margin(){return Lr.__wbg_get_diagramspec_auto_layout_subgraph_outer_margin(this.__wbg_ptr)}get description(){const _=Lr.__wbg_get_diagramspec_description(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get elements_specs(){const _=Lr.__wbg_get_diagramspec_elements_specs(this.__wbg_ptr);var e=Or(_[0],_[1]).slice();return Lr.__wbindgen_free(_[0],4*_[1],4),e}get grid_enabled(){return 0!==Lr.__wbg_get_diagramspec_grid_enabled(this.__wbg_ptr)}get shapes(){const _=Lr.__wbg_get_diagramspec_shapes(this.__wbg_ptr);var e=Or(_[0],_[1]).slice();return Lr.__wbindgen_free(_[0],4*_[1],4),e}get tags(){const _=Lr.__wbg_get_diagramspec_tags(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Or(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],4*_[1],4)),e}get uuid(){let _,e;try{const t=Lr.__wbg_get_diagramspec_uuid(this.__wbg_ptr);return _=t[0],e=t[1],Wr(t[0],t[1])}finally{Lr.__wbindgen_free(_,e,1)}}set auto_layout_enabled(_){Lr.__wbg_set_diagramspec_auto_layout_enabled(this.__wbg_ptr,_)}set auto_layout_only_straight_arrows(_){Lr.__wbg_set_diagramspec_auto_layout_only_straight_arrows(this.__wbg_ptr,_)}set auto_layout_orientation(_){Lr.__wbg_set_diagramspec_auto_layout_orientation(this.__wbg_ptr,_)}set auto_layout_ranksep(_){Lr.__wbg_set_diagramspec_auto_layout_ranksep(this.__wbg_ptr,_)}set auto_layout_subgraph_inner_margin(_){Lr.__wbg_set_diagramspec_auto_layout_subgraph_inner_margin(this.__wbg_ptr,_)}set auto_layout_subgraph_outer_margin(_){Lr.__wbg_set_diagramspec_auto_layout_subgraph_outer_margin(this.__wbg_ptr,_)}set description(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramspec_description(this.__wbg_ptr,e,t)}set elements_specs(_){const e=Nr(_,Lr.__wbindgen_malloc),t=Xr;Lr.__wbg_set_diagramspec_elements_specs(this.__wbg_ptr,e,t)}set grid_enabled(_){Lr.__wbg_set_diagramspec_grid_enabled(this.__wbg_ptr,_)}set shapes(_){const e=Nr(_,Lr.__wbindgen_malloc),t=Xr;Lr.__wbg_set_diagramspec_shapes(this.__wbg_ptr,e,t)}set tags(_){var e=Ar(_)?0:Nr(_,Lr.__wbindgen_malloc),t=Xr;Lr.__wbg_set_diagramspec_tags(this.__wbg_ptr,e,t)}set uuid(_){const e=Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramspec_uuid(this.__wbg_ptr,e,t)}}Symbol.dispose&&(d.prototype[Symbol.dispose]=d.prototype.free);class p{static __wrap(_){_>>>=0;const e=Object.create(p.prototype);return e.__wbg_ptr=_,ir.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,ir.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_diagramsthemesettings_free(_,0)}get bg_color_boundary(){const _=Lr.__wbg_get_diagramsthemesettings_bg_color_boundary(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get bg_color_component_ext(){const _=Lr.__wbg_get_diagramsthemesettings_bg_color_component_ext(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get bg_color_component(){const _=Lr.__wbg_get_diagramsthemesettings_bg_color_component(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get bg_color_container_ext(){const _=Lr.__wbg_get_diagramsthemesettings_bg_color_container_ext(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get bg_color_container(){const _=Lr.__wbg_get_diagramsthemesettings_bg_color_container(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get bg_color_deployment_node(){const _=Lr.__wbg_get_diagramsthemesettings_bg_color_deployment_node(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get bg_color_diagram(){const _=Lr.__wbg_get_diagramsthemesettings_bg_color_diagram(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get bg_color_person_ext(){const _=Lr.__wbg_get_diagramsthemesettings_bg_color_person_ext(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get bg_color_person(){const _=Lr.__wbg_get_diagramsthemesettings_bg_color_person(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get bg_color_relationship(){const _=Lr.__wbg_get_diagramsthemesettings_bg_color_relationship(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get bg_color_software_system_ext(){const _=Lr.__wbg_get_diagramsthemesettings_bg_color_software_system_ext(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get bg_color_software_system(){const _=Lr.__wbg_get_diagramsthemesettings_bg_color_software_system(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get border_color_boundary(){const _=Lr.__wbg_get_diagramsthemesettings_border_color_boundary(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get border_color_component_ext(){const _=Lr.__wbg_get_diagramsthemesettings_border_color_component_ext(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get border_color_component(){const _=Lr.__wbg_get_diagramsthemesettings_border_color_component(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get border_color_container_ext(){const _=Lr.__wbg_get_diagramsthemesettings_border_color_container_ext(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get border_color_container(){const _=Lr.__wbg_get_diagramsthemesettings_border_color_container(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get border_color_deployment_node(){const _=Lr.__wbg_get_diagramsthemesettings_border_color_deployment_node(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get border_color_person_ext(){const _=Lr.__wbg_get_diagramsthemesettings_border_color_person_ext(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get border_color_person(){const _=Lr.__wbg_get_diagramsthemesettings_border_color_person(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get border_color_software_system_ext(){const _=Lr.__wbg_get_diagramsthemesettings_border_color_software_system_ext(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get border_color_software_system(){const _=Lr.__wbg_get_diagramsthemesettings_border_color_software_system(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get line_color_relationship(){const _=Lr.__wbg_get_diagramsthemesettings_line_color_relationship(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get selected_color_relationship(){const _=Lr.__wbg_get_diagramsthemesettings_selected_color_relationship(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get text_color_boundary(){const _=Lr.__wbg_get_diagramsthemesettings_text_color_boundary(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get text_color_component_ext(){const _=Lr.__wbg_get_diagramsthemesettings_text_color_component_ext(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get text_color_component(){const _=Lr.__wbg_get_diagramsthemesettings_text_color_component(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get text_color_container_ext(){const _=Lr.__wbg_get_diagramsthemesettings_text_color_container_ext(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get text_color_container(){const _=Lr.__wbg_get_diagramsthemesettings_text_color_container(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get text_color_deployment_node(){const _=Lr.__wbg_get_diagramsthemesettings_text_color_deployment_node(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get text_color_legend_title(){const _=Lr.__wbg_get_diagramsthemesettings_text_color_legend_title(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get text_color_person_ext(){const _=Lr.__wbg_get_diagramsthemesettings_text_color_person_ext(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get text_color_person(){const _=Lr.__wbg_get_diagramsthemesettings_text_color_person(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get text_color_relationship(){const _=Lr.__wbg_get_diagramsthemesettings_text_color_relationship(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get text_color_software_system_ext(){const _=Lr.__wbg_get_diagramsthemesettings_text_color_software_system_ext(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get text_color_software_system(){const _=Lr.__wbg_get_diagramsthemesettings_text_color_software_system(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}set bg_color_boundary(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_bg_color_boundary(this.__wbg_ptr,e,t)}set bg_color_component_ext(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_bg_color_component_ext(this.__wbg_ptr,e,t)}set bg_color_component(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_bg_color_component(this.__wbg_ptr,e,t)}set bg_color_container_ext(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_bg_color_container_ext(this.__wbg_ptr,e,t)}set bg_color_container(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_bg_color_container(this.__wbg_ptr,e,t)}set bg_color_deployment_node(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_bg_color_deployment_node(this.__wbg_ptr,e,t)}set bg_color_diagram(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_bg_color_diagram(this.__wbg_ptr,e,t)}set bg_color_person_ext(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_bg_color_person_ext(this.__wbg_ptr,e,t)}set bg_color_person(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_bg_color_person(this.__wbg_ptr,e,t)}set bg_color_relationship(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_bg_color_relationship(this.__wbg_ptr,e,t)}set bg_color_software_system_ext(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_bg_color_software_system_ext(this.__wbg_ptr,e,t)}set bg_color_software_system(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_bg_color_software_system(this.__wbg_ptr,e,t)}set border_color_boundary(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_border_color_boundary(this.__wbg_ptr,e,t)}set border_color_component_ext(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_border_color_component_ext(this.__wbg_ptr,e,t)}set border_color_component(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_border_color_component(this.__wbg_ptr,e,t)}set border_color_container_ext(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_border_color_container_ext(this.__wbg_ptr,e,t)}set border_color_container(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_border_color_container(this.__wbg_ptr,e,t)}set border_color_deployment_node(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_border_color_deployment_node(this.__wbg_ptr,e,t)}set border_color_person_ext(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_border_color_person_ext(this.__wbg_ptr,e,t)}set border_color_person(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_border_color_person(this.__wbg_ptr,e,t)}set border_color_software_system_ext(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_border_color_software_system_ext(this.__wbg_ptr,e,t)}set border_color_software_system(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_border_color_software_system(this.__wbg_ptr,e,t)}set line_color_relationship(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_line_color_relationship(this.__wbg_ptr,e,t)}set selected_color_relationship(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_selected_color_relationship(this.__wbg_ptr,e,t)}set text_color_boundary(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_text_color_boundary(this.__wbg_ptr,e,t)}set text_color_component_ext(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_text_color_component_ext(this.__wbg_ptr,e,t)}set text_color_component(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_text_color_component(this.__wbg_ptr,e,t)}set text_color_container_ext(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_text_color_container_ext(this.__wbg_ptr,e,t)}set text_color_container(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_text_color_container(this.__wbg_ptr,e,t)}set text_color_deployment_node(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_text_color_deployment_node(this.__wbg_ptr,e,t)}set text_color_legend_title(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_text_color_legend_title(this.__wbg_ptr,e,t)}set text_color_person_ext(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_text_color_person_ext(this.__wbg_ptr,e,t)}set text_color_person(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_text_color_person(this.__wbg_ptr,e,t)}set text_color_relationship(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_text_color_relationship(this.__wbg_ptr,e,t)}set text_color_software_system_ext(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_text_color_software_system_ext(this.__wbg_ptr,e,t)}set text_color_software_system(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_text_color_software_system(this.__wbg_ptr,e,t)}}Symbol.dispose&&(p.prototype[Symbol.dispose]=p.prototype.free);class u{__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,or.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_elementdata_free(_,0)}get end(){const _=Lr.__wbg_get_elementdata_end(this.__wbg_ptr);return 0===_?void 0:S.__wrap(_)}get label_position(){const _=Lr.__wbg_get_elementdata_label_position(this.__wbg_ptr);return 0===_?void 0:S.__wrap(_)}get path(){const _=Lr.__wbg_get_elementdata_path(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Or(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],4*_[1],4)),e}get position(){const _=Lr.__wbg_get_elementdata_position(this.__wbg_ptr);return 0===_?void 0:S.__wrap(_)}get size(){const _=Lr.__wbg_get_elementdata_size(this.__wbg_ptr);return 0===_?void 0:S.__wrap(_)}get start(){const _=Lr.__wbg_get_elementdata_start(this.__wbg_ptr);return 0===_?void 0:S.__wrap(_)}get svg_path(){const _=Lr.__wbg_get_elementdata_svg_path(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}set end(_){let e=0;Ar(_)||(Rr(_,S),e=_.__destroy_into_raw()),Lr.__wbg_set_elementdata_end(this.__wbg_ptr,e)}set label_position(_){let e=0;Ar(_)||(Rr(_,S),e=_.__destroy_into_raw()),Lr.__wbg_set_elementdata_label_position(this.__wbg_ptr,e)}set path(_){var e=Ar(_)?0:Nr(_,Lr.__wbindgen_malloc),t=Xr;Lr.__wbg_set_elementdata_path(this.__wbg_ptr,e,t)}set position(_){let e=0;Ar(_)||(Rr(_,S),e=_.__destroy_into_raw()),Lr.__wbg_set_elementdata_position(this.__wbg_ptr,e)}set size(_){let e=0;Ar(_)||(Rr(_,S),e=_.__destroy_into_raw()),Lr.__wbg_set_elementdata_size(this.__wbg_ptr,e)}set start(_){let e=0;Ar(_)||(Rr(_,S),e=_.__destroy_into_raw()),Lr.__wbg_set_elementdata_start(this.__wbg_ptr,e)}set svg_path(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_elementdata_svg_path(this.__wbg_ptr,e,t)}}Symbol.dispose&&(u.prototype[Symbol.dispose]=u.prototype.free);class f{__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,gr.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_hookpayload_free(_,0)}get data(){return Lr.__wbg_get_hookpayload_data(this.__wbg_ptr)}get hook_type(){return Lr.__wbg_get_hookpayload_hook_type(this.__wbg_ptr)}set data(_){Lr.__wbg_set_hookpayload_data(this.__wbg_ptr,Ar(_)?0:Fr(_))}set hook_type(_){Lr.__wbg_set_hookpayload_hook_type(this.__wbg_ptr,_)}}Symbol.dispose&&(f.prototype[Symbol.dispose]=f.prototype.free);class m{__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,ar.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_intounderlyingbytesource_free(_,0)}get autoAllocateChunkSize(){return Lr.intounderlyingbytesource_autoAllocateChunkSize(this.__wbg_ptr)>>>0}cancel(){const _=this.__destroy_into_raw();Lr.intounderlyingbytesource_cancel(_)}pull(_){return Lr.intounderlyingbytesource_pull(this.__wbg_ptr,_)}start(_){Lr.intounderlyingbytesource_start(this.__wbg_ptr,_)}get type(){const _=Lr.intounderlyingbytesource_type(this.__wbg_ptr);return Pt[_]}}Symbol.dispose&&(m.prototype[Symbol.dispose]=m.prototype.free);class h{__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,br.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_intounderlyingsink_free(_,0)}abort(_){const e=this.__destroy_into_raw();return Lr.intounderlyingsink_abort(e,_)}close(){const _=this.__destroy_into_raw();return Lr.intounderlyingsink_close(_)}write(_){return Lr.intounderlyingsink_write(this.__wbg_ptr,_)}}Symbol.dispose&&(h.prototype[Symbol.dispose]=h.prototype.free);class y{__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,cr.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_intounderlyingsource_free(_,0)}cancel(){const _=this.__destroy_into_raw();Lr.intounderlyingsource_cancel(_)}pull(_){return Lr.intounderlyingsource_pull(this.__wbg_ptr,_)}}Symbol.dispose&&(y.prototype[Symbol.dispose]=y.prototype.free);class v{static __wrap(_){_>>>=0;const e=Object.create(v.prototype);return e.__wbg_ptr=_,wr.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,wr.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_minaerror_free(_,0)}get code(){return Lr.__wbg_get_minaerror_code(this.__wbg_ptr)}get msg(){let _,e;try{const t=Lr.__wbg_get_minaerror_msg(this.__wbg_ptr);return _=t[0],e=t[1],Wr(t[0],t[1])}finally{Lr.__wbindgen_free(_,e,1)}}set code(_){Lr.__wbg_set_minaerror_code(this.__wbg_ptr,_)}set msg(_){const e=Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_minaerror_msg(this.__wbg_ptr,e,t)}}Symbol.dispose&&(v.prototype[Symbol.dispose]=v.prototype.free);class x{static __wrap(_){_>>>=0;const e=Object.create(x.prototype);return e.__wbg_ptr=_,lr.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof x?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,lr.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_person_free(_,0)}get base_data(){const _=Lr.__wbg_get_person_base_data(this.__wbg_ptr);return s.__wrap(_)}get person_type(){return Lr.__wbg_get_person_person_type(this.__wbg_ptr)}set base_data(_){Rr(_,s);var e=_.__destroy_into_raw();Lr.__wbg_set_person_base_data(this.__wbg_ptr,e)}set person_type(_){Lr.__wbg_set_person_person_type(this.__wbg_ptr,Ar(_)?0:Fr(_))}}Symbol.dispose&&(x.prototype[Symbol.dispose]=x.prototype.free);class S{static __wrap(_){_>>>=0;const e=Object.create(S.prototype);return e.__wbg_ptr=_,dr.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof S?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,dr.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_point_free(_,0)}get x(){return Lr.__wbg_get_point_x(this.__wbg_ptr)}get y(){return Lr.__wbg_get_point_y(this.__wbg_ptr)}set x(_){Lr.__wbg_set_point_x(this.__wbg_ptr,_)}set y(_){Lr.__wbg_set_point_y(this.__wbg_ptr,_)}}Symbol.dispose&&(S.prototype[Symbol.dispose]=S.prototype.free);class z{static __wrap(_){_>>>=0;const e=Object.create(z.prototype);return e.__wbg_ptr=_,pr.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,pr.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_position_free(_,0)}get angle(){const _=Lr.__wbg_get_position_angle(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}get left(){const _=Lr.__wbg_get_position_left(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}get top(){const _=Lr.__wbg_get_position_top(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}get z_index(){const _=Lr.__wbg_get_position_z_index(this.__wbg_ptr);return 4294967297===_?void 0:_}set angle(_){Lr.__wbg_set_position_angle(this.__wbg_ptr,!Ar(_),Ar(_)?0:_)}set left(_){Lr.__wbg_set_position_left(this.__wbg_ptr,!Ar(_),Ar(_)?0:_)}set top(_){Lr.__wbg_set_position_top(this.__wbg_ptr,!Ar(_),Ar(_)?0:_)}set z_index(_){Lr.__wbg_set_position_z_index(this.__wbg_ptr,Ar(_)?4294967297:0|_)}}Symbol.dispose&&(z.prototype[Symbol.dispose]=z.prototype.free);class F{__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,ur.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_project_free(_,0)}get project_library(){const _=Lr.__wbg_get_project_project_library(this.__wbg_ptr);return R.__wrap(_)}get project_settings(){const _=Lr.__wbg_get_project_project_settings(this.__wbg_ptr);return k.__wrap(_)}set project_library(_){Rr(_,R);var e=_.__destroy_into_raw();Lr.__wbg_set_project_project_library(this.__wbg_ptr,e)}set project_settings(_){Rr(_,k);var e=_.__destroy_into_raw();Lr.__wbg_set_project_project_settings(this.__wbg_ptr,e)}}Symbol.dispose&&(F.prototype[Symbol.dispose]=F.prototype.free);class R{static __wrap(_){_>>>=0;const e=Object.create(R.prototype);return e.__wbg_ptr=_,fr.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,fr.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_projectlibrary_free(_,0)}get elements(){const _=Lr.__wbg_get_projectlibrary_elements(this.__wbg_ptr);return o.__wrap(_)}set elements(_){Rr(_,o);var e=_.__destroy_into_raw();Lr.__wbg_set_projectlibrary_elements(this.__wbg_ptr,e)}}Symbol.dispose&&(R.prototype[Symbol.dispose]=R.prototype.free);class k{static __wrap(_){_>>>=0;const e=Object.create(k.prototype);return e.__wbg_ptr=_,mr.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,mr.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_projectsettings_free(_,0)}get ai_settings(){const _=Lr.__wbg_get_projectsettings_ai_settings(this.__wbg_ptr);return 0===_?void 0:r.__wrap(_)}get autosave_enabled(){return 0!==Lr.__wbg_get_projectsettings_autosave_enabled(this.__wbg_ptr)}get autosave_interval_seconds(){const _=Lr.__wbg_get_projectsettings_autosave_interval_seconds(this.__wbg_ptr);return 16777215===_?void 0:_}get description(){let _,e;try{const t=Lr.__wbg_get_projectsettings_description(this.__wbg_ptr);return _=t[0],e=t[1],Wr(t[0],t[1])}finally{Lr.__wbindgen_free(_,e,1)}}get name(){let _,e;try{const t=Lr.__wbg_get_projectsettings_name(this.__wbg_ptr);return _=t[0],e=t[1],Wr(t[0],t[1])}finally{Lr.__wbindgen_free(_,e,1)}}get root(){let _,e;try{const t=Lr.__wbg_get_projectsettings_root(this.__wbg_ptr);return _=t[0],e=t[1],Wr(t[0],t[1])}finally{Lr.__wbindgen_free(_,e,1)}}get themes_settings(){const _=Lr.__wbg_get_projectsettings_themes_settings(this.__wbg_ptr);return 0===_?void 0:M.__wrap(_)}get version(){let _,e;try{const t=Lr.__wbg_get_projectsettings_version(this.__wbg_ptr);return _=t[0],e=t[1],Wr(t[0],t[1])}finally{Lr.__wbindgen_free(_,e,1)}}set ai_settings(_){let e=0;Ar(_)||(Rr(_,r),e=_.__destroy_into_raw()),Lr.__wbg_set_projectsettings_ai_settings(this.__wbg_ptr,e)}set autosave_enabled(_){Lr.__wbg_set_projectsettings_autosave_enabled(this.__wbg_ptr,_)}set autosave_interval_seconds(_){Lr.__wbg_set_projectsettings_autosave_interval_seconds(this.__wbg_ptr,Ar(_)?16777215:_)}set description(_){const e=Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_projectsettings_description(this.__wbg_ptr,e,t)}set name(_){const e=Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_projectsettings_name(this.__wbg_ptr,e,t)}set root(_){const e=Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_minaerror_msg(this.__wbg_ptr,e,t)}set themes_settings(_){let e=0;Ar(_)||(Rr(_,M),e=_.__destroy_into_raw()),Lr.__wbg_set_projectsettings_themes_settings(this.__wbg_ptr,e)}set version(_){const e=Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_projectsettings_version(this.__wbg_ptr,e,t)}}Symbol.dispose&&(k.prototype[Symbol.dispose]=k.prototype.free);class j{static __wrap(_){_>>>=0;const e=Object.create(j.prototype);return e.__wbg_ptr=_,hr.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof j?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,hr.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_relationship_free(_,0)}get base_data(){const _=Lr.__wbg_get_container_base_data(this.__wbg_ptr);return s.__wrap(_)}get from(){const _=Lr.__wbg_get_relationship_from(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get relationship_type(){return Lr.__wbg_get_relationship_relationship_type(this.__wbg_ptr)}get technology(){const _=Lr.__wbg_get_relationship_technology(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}get to(){const _=Lr.__wbg_get_relationship_to(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}set base_data(_){Rr(_,s);var e=_.__destroy_into_raw();Lr.__wbg_set_container_base_data(this.__wbg_ptr,e)}set from(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_container_technology(this.__wbg_ptr,e,t)}set relationship_type(_){Lr.__wbg_set_relationship_relationship_type(this.__wbg_ptr,Ar(_)?0:Fr(_))}set technology(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_relationship_technology(this.__wbg_ptr,e,t)}set to(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_relationship_to(this.__wbg_ptr,e,t)}}Symbol.dispose&&(j.prototype[Symbol.dispose]=j.prototype.free);class O{static __wrap(_){_>>>=0;const e=Object.create(O.prototype);return e.__wbg_ptr=_,yr.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof O?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,yr.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_shape_free(_,0)}get position(){const _=Lr.__wbg_get_shape_position(this.__wbg_ptr);return 0===_?void 0:z.__wrap(_)}get shape_type(){return Lr.__wbg_get_shape_shape_type(this.__wbg_ptr)}get size(){const _=Lr.__wbg_get_shape_size(this.__wbg_ptr);return 0===_?void 0:I.__wrap(_)}set position(_){let e=0;Ar(_)||(Rr(_,z),e=_.__destroy_into_raw()),Lr.__wbg_set_shape_position(this.__wbg_ptr,e)}set shape_type(_){Lr.__wbg_set_shape_shape_type(this.__wbg_ptr,Ar(_)?0:Fr(_))}set size(_){let e=0;Ar(_)||(Rr(_,I),e=_.__destroy_into_raw()),Lr.__wbg_set_shape_size(this.__wbg_ptr,e)}}Symbol.dispose&&(O.prototype[Symbol.dispose]=O.prototype.free);class I{static __wrap(_){_>>>=0;const e=Object.create(I.prototype);return e.__wbg_ptr=_,vr.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,vr.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_size_free(_,0)}get height(){const _=Lr.__wbg_get_size_height(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}get scale_x(){const _=Lr.__wbg_get_size_scale_x(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}get scale_y(){const _=Lr.__wbg_get_size_scale_y(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}get width(){const _=Lr.__wbg_get_size_width(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}set height(_){Lr.__wbg_set_size_height(this.__wbg_ptr,!Ar(_),Ar(_)?0:_)}set scale_x(_){Lr.__wbg_set_size_scale_x(this.__wbg_ptr,!Ar(_),Ar(_)?0:_)}set scale_y(_){Lr.__wbg_set_size_scale_y(this.__wbg_ptr,!Ar(_),Ar(_)?0:_)}set width(_){Lr.__wbg_set_size_width(this.__wbg_ptr,!Ar(_),Ar(_)?0:_)}}Symbol.dispose&&(I.prototype[Symbol.dispose]=I.prototype.free);class D{static __wrap(_){_>>>=0;const e=Object.create(D.prototype);return e.__wbg_ptr=_,xr.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof D?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,xr.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_softwaresystem_free(_,0)}get base_data(){const _=Lr.__wbg_get_softwaresystem_base_data(this.__wbg_ptr);return s.__wrap(_)}get system_type(){return Lr.__wbg_get_softwaresystem_system_type(this.__wbg_ptr)}set base_data(_){Rr(_,s);var e=_.__destroy_into_raw();Lr.__wbg_set_softwaresystem_base_data(this.__wbg_ptr,e)}set system_type(_){Lr.__wbg_set_softwaresystem_system_type(this.__wbg_ptr,Ar(_)?0:Fr(_))}}Symbol.dispose&&(D.prototype[Symbol.dispose]=D.prototype.free);class M{static __wrap(_){_>>>=0;const e=Object.create(M.prototype);return e.__wbg_ptr=_,Sr.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,Sr.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_themessettings_free(_,0)}get diagrams_theme_settings(){const _=Lr.__wbg_get_themessettings_diagrams_theme_settings(this.__wbg_ptr);return 0===_?void 0:p.__wrap(_)}set diagrams_theme_settings(_){let e=0;Ar(_)||(Rr(_,p),e=_.__destroy_into_raw()),Lr.__wbg_set_themessettings_diagrams_theme_settings(this.__wbg_ptr,e)}}Symbol.dispose&&(M.prototype[Symbol.dispose]=M.prototype.free);class W{__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,zr.unregister(this),_}free(){const _=this.__destroy_into_raw();Lr.__wbg_usersettings_free(_,0)}get git_path(){const _=Lr.__wbg_get_usersettings_git_path(this.__wbg_ptr);let e;return 0!==_[0]&&(e=Wr(_[0],_[1]).slice(),Lr.__wbindgen_free(_[0],1*_[1],1)),e}set git_path(_){var e=Ar(_)?0:Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),t=Xr;Lr.__wbg_set_diagramsthemesettings_bg_color_diagram(this.__wbg_ptr,e,t)}}function B(_,e){let t,r;try{const i=Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),o=Xr,g=Tr(e,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),a=Xr,b=Lr.diagram_plantuml_url_from_diagram_url(i,o,g,a);var n=b[0],s=b[1];if(b[3])throw n=0,s=0,qr(b[2]);return t=n,r=s,Wr(n,s)}finally{Lr.__wbindgen_free(t,r,1)}}function U(_,e){let t,r;try{const i=Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),o=Xr,g=Tr(e,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),a=Xr,b=Lr.diagram_spec_url_from_diagram_url(i,o,g,a);var n=b[0],s=b[1];if(b[3])throw n=0,s=0,qr(b[2]);return t=n,r=s,Wr(n,s)}finally{Lr.__wbindgen_free(t,r,1)}}function E(_,e,t,r){return Lr.open_remote_diagram(_,e,t,r)}function A(_){let e,t;try{const r=Tr(_,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),n=Xr,s=Lr.project_settings_url(r,n);return e=s[0],t=s[1],Wr(s[0],s[1])}finally{Lr.__wbindgen_free(e,t,1)}}function J(_,e){return Error(Wr(_,e))}function N(_){return Number(_)}function T(_,e){const t=Tr(String(e),Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),r=Xr;Mr().setInt32(_+4,r,!0),Mr().setInt32(_+0,t,!0)}function q(_,e){const t="bigint"==typeof e?e:void 0;Mr().setBigInt64(_+8,Ar(t)?BigInt(0):t,!0),Mr().setInt32(_+0,!Ar(t),!0)}function Z(_){const e="boolean"==typeof _?_:void 0;return Ar(e)?16777215:e?1:0}function $(_,e){const t=Tr(jr(e),Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),r=Xr;Mr().setInt32(_+4,r,!0),Mr().setInt32(_+0,t,!0)}function P(_,e){return _ in e}function C(_){return"bigint"==typeof _}function L(_){return"function"==typeof _}function X(_){return"object"==typeof _&&null!==_}function V(_){return"string"==typeof _}function Y(_){return void 0===_}function G(_,e){return _===e}function H(_,e){return _==e}function K(_,e){const t="number"==typeof e?e:void 0;Mr().setFloat64(_+8,Ar(t)?0:t,!0),Mr().setInt32(_+0,!Ar(t),!0)}function Q(_){throw _}function __(_,e){const t="string"==typeof e?e:void 0;var r=Ar(t)?0:Tr(t,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),n=Xr;Mr().setInt32(_+4,n,!0),Mr().setInt32(_+0,r,!0)}function e_(_,e){throw new Error(Wr(_,e))}function t_(_){_._wbg_cb_unref()}function r_(_){_.abort()}function n_(_,e){_.abort(e)}function s_(){return Er((function(_,e,t,r){_.append(Wr(e,t),r)}),arguments)}function i_(){return Er((function(_,e,t,r,n,s){_.append(Wr(e,t),r,Wr(n,s))}),arguments)}function o_(){return Er((function(_,e,t,r,n){_.append(Wr(e,t),Wr(r,n))}),arguments)}function g_(){return Er((function(_,e,t,r,n){_.append(Wr(e,t),Wr(r,n))}),arguments)}function a_(_){return _.arrayBuffer()}function b_(){return Er((function(_){return _.arrayBuffer()}),arguments)}function c_(_){return i.__wrap(_)}function w_(_){return i.__unwrap(_)}function l_(_){return _.buffer}function d_(_){const e=_.byobRequest;return Ar(e)?0:Fr(e)}function p_(_){return _.byteLength}function u_(_){return _.byteOffset}function f_(){return Er((function(_,e){return _.call(e)}),arguments)}function m_(){return Er((function(_,e,t){return _.call(e,t)}),arguments)}function h_(_){return clearTimeout(_)}function y_(){return Er((function(_){_.close()}),arguments)}function v_(_){return _.close()}function x_(){return Er((function(_){_.close()}),arguments)}function S_(_){return g.__wrap(_)}function z_(_){return g.__unwrap(_)}function F_(_){return a.__wrap(_)}function R_(_){return a.__unwrap(_)}function k_(_,e){return _.createWritable(e)}function j_(_){console.debug(_)}function O_(_){return b.__wrap(_)}function I_(_){return b.__unwrap(_)}function D_(_){return w.__wrap(_)}function M_(_){return w.__unwrap(_)}function W_(_){return _.done}function B_(){return Er((function(_,e){_.enqueue(e)}),arguments)}function U_(_){return _.entries()}function E_(_){return Object.entries(_)}function A_(_,e){let t,r;try{t=_,r=e,console.error(Wr(_,e))}finally{Lr.__wbindgen_free(t,r,1)}}function J_(_){console.error(_)}function N_(_){return fetch(_)}function T_(_,e){return _.fetch(e)}function q_(_,e,t,r){return _.getDirectoryHandle(Wr(e,t),r)}function Z_(_,e,t,r){return _.getFileHandle(Wr(e,t),r)}function $_(_){return _.getFile()}function P_(){return Er((function(_,e){globalThis.crypto.getRandomValues(Ir(_,e))}),arguments)}function C_(){return Er((function(_,e,t,r){const n=e[Wr(t,r)];var s=Ar(n)?0:Tr(n,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),i=Xr;Mr().setInt32(_+4,i,!0),Mr().setInt32(_+0,s,!0)}),arguments)}function L_(_,e){return _[e>>>0]}function X_(){return Er((function(_,e){return Reflect.get(_,e)}),arguments)}function V_(_,e){return _[e]}function Y_(){return Er((function(_,e){return Reflect.has(_,e)}),arguments)}function G_(_){return _.headers}function H_(_){console.info(_)}function K_(_){let e;try{e=_ instanceof ArrayBuffer}catch(_){e=!1}return e}function Q_(_){let e;try{e=_ instanceof Error}catch(_){e=!1}return e}function _e(_){let e;try{e=_ instanceof FileSystemDirectoryHandle}catch(_){e=!1}return e}function ee(_){let e;try{e=_ instanceof FileSystemFileHandle}catch(_){e=!1}return e}function te(_){let e;try{e=_ instanceof File}catch(_){e=!1}return e}function re(_){let e;try{e=_ instanceof Response}catch(_){e=!1}return e}function ne(_){let e;try{e=_ instanceof Uint8Array}catch(_){e=!1}return e}function se(_){let e;try{e=_ instanceof Window}catch(_){e=!1}return e}function ie(_){return Array.isArray(_)}function oe(_){return Number.isSafeInteger(_)}function ge(){return Symbol.iterator}function ae(_){return _.lastModified}function be(_){return _.length}function ce(_){return _.length}function we(){return Er((function(_){const e=_.localStorage;return Ar(e)?0:Fr(e)}),arguments)}function le(_){console.log(_)}function de(_){return _.message}function pe(_){return v.__wrap(_)}function ue(_,e){const t=Tr(e.name,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),r=Xr;Mr().setInt32(_+4,r,!0),Mr().setInt32(_+0,t,!0)}function fe(){return new Object}function me(){return new Array}function he(){return Er((function(){return new Headers}),arguments)}function ye(_,e){return new Error(Wr(_,e))}function ve(){return Er((function(){return new FormData}),arguments)}function xe(){return new Error}function Se(_,e){try{var t={a:_,b:e};const r=new Promise(((_,e)=>{const r=t.a;t.a=0;try{return function(_,e,t,r){Lr.wasm_bindgen__convert__closures_____invoke__h33bd8c776c9d6607(_,e,t,r)}(r,t.b,_,e)}finally{t.a=r}}));return r}finally{t.a=t.b=0}}function ze(){return Er((function(){return new AbortController}),arguments)}function Fe(){return new Map}function Re(_){return new Uint8Array(_)}function ke(_,e){return new Uint8Array(Ir(_,e))}function je(_,e){return new Function(Wr(_,e))}function Oe(_,e,t){return new Uint8Array(_,e>>>0,t>>>0)}function Ie(){return Er((function(_,e,t){return new Request(Wr(_,e),t)}),arguments)}function De(){return Er((function(_,e){return new Blob(_,e)}),arguments)}function Me(){return Er((function(_){return _.next()}),arguments)}function We(){return Er((function(_){return _.next()}),arguments)}function Be(_){return _.next}function Ue(_){return x.__wrap(_)}function Ee(_){return x.__unwrap(_)}function Ae(_){return S.__wrap(_)}function Je(_){return S.__unwrap(_)}function Ne(){return Er((function(_,e){_.postMessage(e)}),arguments)}function Te(_,e,t){Uint8Array.prototype.set.call(Ir(_,e),t)}function qe(_,e){return _.push(e)}function Ze(_){return _.queueMicrotask}function $e(_){queueMicrotask(_)}function Pe(_){return j.__wrap(_)}function Ce(_){return j.__unwrap(_)}function Le(_,e,t,r){return _.removeEntry(Wr(e,t),r)}function Xe(_,e,t){return _.removeEntry(Wr(e,t))}function Ve(_){return Promise.resolve(_)}function Ye(){return Er((function(_,e){_.respond(e>>>0)}),arguments)}function Ge(){return Er((function(_,e){return _.seek(e)}),arguments)}function He(_,e){return setTimeout(_,e)}function Ke(_,e,t){return _.set(e,t)}function Qe(_,e,t){_[e]=t}function _t(){return Er((function(_,e,t,r,n){_[Wr(e,t)]=Wr(r,n)}),arguments)}function et(_,e){_.body=e}function tt(_,e){_.cache=Ct[e]}function rt(_,e,t){_.set(Ir(e,t))}function nt(_,e){_.create=0!==e}function st(_,e){_.create=0!==e}function it(_,e){_.credentials=Lt[e]}function ot(_,e,t){_[e>>>0]=t}function gt(_,e){_.headers=e}function at(_,e){_.keepExistingData=0!==e}function bt(_,e,t){_.method=Wr(e,t)}function ct(_,e){_.mode=Xt[e]}function wt(_,e){_.recursive=0!==e}function lt(_,e){_.signal=e}function dt(_,e,t){_.type=Wr(e,t)}function pt(_){return O.__wrap(_)}function ut(_){return O.__unwrap(_)}function ft(_){return _.signal}function mt(_){return _.size}function ht(_){return D.__wrap(_)}function yt(_){return D.__unwrap(_)}function vt(_,e){const t=Tr(e.stack,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),r=Xr;Mr().setInt32(_+4,r,!0),Mr().setInt32(_+0,t,!0)}function xt(){const _="undefined"==typeof global?null:global;return Ar(_)?0:Fr(_)}function St(){const _="undefined"==typeof globalThis?null:globalThis;return Ar(_)?0:Fr(_)}function zt(){const _="undefined"==typeof self?null:self;return Ar(_)?0:Fr(_)}function Ft(){const _="undefined"==typeof window?null:window;return Ar(_)?0:Fr(_)}function Rt(_){return _.status}function kt(){return Er((function(_){return JSON.stringify(_)}),arguments)}function jt(_){return _.text()}function Ot(_,e,t){return _.then(e,t)}function It(_,e){return _.then(e)}function Dt(_,e){const t=Tr(e.url,Lr.__wbindgen_malloc,Lr.__wbindgen_realloc),r=Xr;Mr().setInt32(_+4,r,!0),Mr().setInt32(_+0,t,!0)}function Mt(_){return _.value}function Wt(_){const e=_.view;return Ar(e)?0:Fr(e)}function Bt(_){console.warn(_)}function Ut(){return Er((function(_,e){return _.write(e)}),arguments)}function Et(_,e){return Jr(_,e,Lr.wasm_bindgen__closure__destroy__hbeedb0fccc75a309,$t)}function At(_,e){return Jr(_,e,Lr.wasm_bindgen__closure__destroy__ha2db632fab222612,Zt)}function Jt(_){return _}function Nt(_,e){return Wr(_,e)}function Tt(_){return BigInt.asUintN(64,_)}function qt(){const _=Lr.__wbindgen_externrefs,e=_.grow(4);_.set(0,void 0),_.set(e+0,void 0),_.set(e+1,null),_.set(e+2,!0),_.set(e+3,!1)}function Zt(_,e){Lr.wasm_bindgen__convert__closures_____invoke__h753dea23332c87b4(_,e)}function $t(_,e,t){Lr.wasm_bindgen__convert__closures_____invoke__h410084c9c93c07b1(_,e,t)}Symbol.dispose&&(W.prototype[Symbol.dispose]=W.prototype.free);const Pt=["bytes"],Ct=["default","no-store","reload","no-cache","force-cache","only-if-cached"],Lt=["omit","same-origin","include"],Xt=["same-origin","no-cors","cors","navigate"],Vt="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_aisettings_free(_>>>0,1))),Yt="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_addelementtag_free(_>>>0,1))),Gt="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_baseelement_free(_>>>0,1))),Ht="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_boundary_free(_>>>0,1))),Kt="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_c4elements_free(_>>>0,1))),Qt="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_component_free(_>>>0,1))),_r="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_container_free(_>>>0,1))),er="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_deploymentnode_free(_>>>0,1))),tr="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_diagram_free(_>>>0,1))),rr="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_diagramelementspec_free(_>>>0,1))),nr="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_diagramplantuml_free(_>>>0,1))),sr="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_diagramspec_free(_>>>0,1))),ir="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_diagramsthemesettings_free(_>>>0,1))),or="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_elementdata_free(_>>>0,1))),gr="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_hookpayload_free(_>>>0,1))),ar="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_intounderlyingbytesource_free(_>>>0,1))),br="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_intounderlyingsink_free(_>>>0,1))),cr="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_intounderlyingsource_free(_>>>0,1))),wr="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_minaerror_free(_>>>0,1))),lr="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_person_free(_>>>0,1))),dr="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_point_free(_>>>0,1))),pr="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_position_free(_>>>0,1))),ur="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_project_free(_>>>0,1))),fr="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_projectlibrary_free(_>>>0,1))),mr="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_projectsettings_free(_>>>0,1))),hr="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_relationship_free(_>>>0,1))),yr="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_shape_free(_>>>0,1))),vr="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_size_free(_>>>0,1))),xr="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_softwaresystem_free(_>>>0,1))),Sr="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_themessettings_free(_>>>0,1))),zr="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>Lr.__wbg_usersettings_free(_>>>0,1)));function Fr(_){const e=Lr.__externref_table_alloc();return Lr.__wbindgen_externrefs.set(e,_),e}function Rr(_,e){if(!(_ instanceof e))throw new Error(`expected instance of ${e.name}`)}const kr="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>_.dtor(_.a,_.b)));function jr(_){const e=typeof _;if("number"==e||"boolean"==e||null==_)return`${_}`;if("string"==e)return`"${_}"`;if("symbol"==e){const e=_.description;return null==e?"Symbol":`Symbol(${e})`}if("function"==e){const e=_.name;return"string"==typeof e&&e.length>0?`Function(${e})`:"Function"}if(Array.isArray(_)){const e=_.length;let t="[";e>0&&(t+=jr(_[0]));for(let r=1;r<e;r++)t+=", "+jr(_[r]);return t+="]",t}const t=/\[object ([^\]]+)\]/.exec(toString.call(_));let r;if(!(t&&t.length>1))return toString.call(_);if(r=t[1],"Object"==r)try{return"Object("+JSON.stringify(_)+")"}catch(_){return"Object"}return _ instanceof Error?`${_.name}: ${_.message}\n${_.stack}`:r}function Or(_,e){_>>>=0;const t=Mr(),r=[];for(let n=_;n<_+4*e;n+=4)r.push(Lr.__wbindgen_externrefs.get(t.getUint32(n,!0)));return Lr.__externref_drop_slice(_,e),r}function Ir(_,e){return _>>>=0,Ur().subarray(_/1,_/1+e)}let Dr=null;function Mr(){return(null===Dr||!0===Dr.buffer.detached||void 0===Dr.buffer.detached&&Dr.buffer!==Lr.memory.buffer)&&(Dr=new DataView(Lr.memory.buffer)),Dr}function Wr(_,e){return function(_,e){return Pr+=e,Pr>=$r&&(Zr=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),Zr.decode(),Pr=e),Zr.decode(Ur().subarray(_,_+e))}(_>>>=0,e)}let Br=null;function Ur(){return null!==Br&&0!==Br.byteLength||(Br=new Uint8Array(Lr.memory.buffer)),Br}function Er(_,e){try{return _.apply(this,e)}catch(_){const e=Fr(_);Lr.__wbindgen_exn_store(e)}}function Ar(_){return null==_}function Jr(_,e,t,r){const n={a:_,b:e,cnt:1,dtor:t},s=(..._)=>{n.cnt++;const e=n.a;n.a=0;try{return r(e,n.b,..._)}finally{n.a=e,s._wbg_cb_unref()}};return s._wbg_cb_unref=()=>{0==--n.cnt&&(n.dtor(n.a,n.b),n.a=0,kr.unregister(n))},kr.register(s,n,n),s}function Nr(_,e){const t=e(4*_.length,4)>>>0;for(let e=0;e<_.length;e++){const r=Fr(_[e]);Mr().setUint32(t+4*e,r,!0)}return Xr=_.length,t}function Tr(_,e,t){if(void 0===t){const t=Cr.encode(_),r=e(t.length,1)>>>0;return Ur().subarray(r,r+t.length).set(t),Xr=t.length,r}let r=_.length,n=e(r,1)>>>0;const s=Ur();let i=0;for(;i<r;i++){const e=_.charCodeAt(i);if(e>127)break;s[n+i]=e}if(i!==r){0!==i&&(_=_.slice(i)),n=t(n,r,r=i+3*_.length,1)>>>0;const e=Ur().subarray(n+i,n+r);i+=Cr.encodeInto(_,e).written,n=t(n,r,i,1)>>>0}return Xr=i,n}function qr(_){const e=Lr.__wbindgen_externrefs.get(_);return Lr.__externref_table_dealloc(_),e}let Zr=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});Zr.decode();const $r=2146435072;let Pr=0;const Cr=new TextEncoder;"encodeInto"in Cr||(Cr.encodeInto=function(_,e){const t=Cr.encode(_);return e.set(t),{read:_.length,written:t.length}});let Lr,Xr=0;function Vr(_){Lr=_}},507(_,e,t){t.a(_,(async(_,r)=>{try{t.d(e,{Ay:()=>b,RC:()=>a,Y$:()=>o,wS:()=>g});var n=t(519),s=_([n]),i=s.then?(await s)():s;async function o(_,e){if(e){const t="https://keadex.dev/api/download-gh-raw-file",r={headers:{"Keadex-Gh-Url":_}};return e&&(r.headers["Keadex-Gh-Authorization"]=e),await fetch(t,r)}return await fetch(_)}async function g(_,e,t){let r,s,i;try{r=(0,n._C)(_),s=(0,n.Ll)(_,e),i=(0,n.JD)(_,e)}catch(_){throw console.error(_),new Error("Invalid URL: the provided URL is an invalid Mina project or diagram.")}if(r&&s&&i){let _,e,n;try{const g=await o(r,t),a=await o(s,t),b=await o(i,t);if(g.ok&&a.ok&&b.ok)return _=await g.text(),e=await a.text(),n=await b.text(),{projectSettingsJson:_,plantuml:e,spec:n};throw new Error}catch(_){throw console.error(_),new Error("Diagram or project settings not found. Please verify the URLs provided, or, if linking to a private repository, ensure the GitHub token is configured.")}}}async function a(_,e,t){try{const s=await g(_,e,t);if(s){var r;return{diagram:await(0,n.Ox)(_,e,s.plantuml,s.spec),diagramsThemeSettings:null==(r=JSON.parse(s.projectSettingsJson).themes_settings)?void 0:r.diagrams_theme_settings}}}catch(_){console.error(_)}}n=i[0];const b={fetchGhRawFile:o,downloadDiagramData:g,openRemoteProjectDiagram:a};r()}catch(c){r(c)}}))},519(_,e,t){t.a(_,(async(_,r)=>{try{t.d(e,{JD:()=>s.JD7,Ll:()=>s.Llp,Ox:()=>s.Oxg,_C:()=>s._Cc});var n=t(196),s=t(457),i=_([n]);n=(i.then?(await i)():i)[0],(0,s.lIU)(n),n.__wbindgen_start(),r()}catch(_){r(_)}}))}},i={};function o(_){var e=i[_];if(void 0!==e)return e.exports;var t=i[_]={id:_,exports:{}};return s[_](t,t.exports,o),t.exports}_="function"==typeof Symbol,e=_?Symbol("webpack queues"):"__webpack_queues__",t=_?Symbol("webpack exports"):"__webpack_exports__",r=_?Symbol("webpack error"):"__webpack_error__",n=_=>{_&&_.d<1&&(_.d=1,_.forEach((_=>_.r--)),_.forEach((_=>_.r--?_.r++:_())))},o.a=(_,s,i)=>{var o;i&&((o=[]).d=-1);var g,a,b,c=new Set,w=_.exports,l=new Promise(((_,e)=>{b=e,a=_}));l[t]=w,l[e]=_=>(o&&_(o),c.forEach(_),l.catch((_=>{}))),_.exports=l,s((_=>{var s;g=(_=>_.map((_=>{if(null!==_&&"object"==typeof _){if(_[e])return _;if(_.then){var s=[];s.d=0,_.then((_=>{i[t]=_,n(s)}),(_=>{i[r]=_,n(s)}));var i={};return i[e]=_=>_(s),i}}var o={};return o[e]=_=>{},o[t]=_,o})))(_);var i=()=>g.map((_=>{if(_[r])throw _[r];return _[t]})),a=new Promise((_=>{(s=()=>_(i)).r=0;var t=_=>_!==o&&!c.has(_)&&(c.add(_),_&&!_.d&&(s.r++,_.push(s)));g.map((_=>_[e](t)))}));return s.r?a:i()}),(_=>(_?b(l[r]=_):a(w),n(o)))),o&&o.d<0&&(o.d=0)},o.d=(_,e)=>{for(var t in e)o.o(e,t)&&!o.o(_,t)&&Object.defineProperty(_,t,{enumerable:!0,get:e[t]})},o.o=(_,e)=>Object.prototype.hasOwnProperty.call(_,e),o.v=(_,e,t,r)=>Promise.all([import("fs"),import("url")]).then((([{readFile:_},{URL:e}])=>new Promise(((r,n)=>{_(new e(t+".module.wasm",import.meta.url),((_,e)=>{if(_)return n(_);r({arrayBuffer:()=>e})}))})))).then((_=>_.arrayBuffer())).then((_=>WebAssembly.instantiate(_,r))).then((e=>Object.assign(_,e.instance.exports)));var g=o(507);const a=(g=await g).Ay,b=g.wS,c=g.Y$,w=g.RC;export{a as default,b as downloadDiagramData,c as fetchGhRawFile,w as openRemoteProjectDiagram};