UNPKG

@keadex/mina-react

Version:

React library to render C4 Model diagrams created with Keadex Mina.

1 lines 50.6 kB
var _,e,t,n,r={196:(_,e,t)=>{var n=t(457);_.exports=t.v(e,_.id,"a527290d042c82f3ecdb",{"./mina_react_bg.js":{__wbg_debug_3cb59063b29f58c1:n.F$t,__wbg_error_524f506f44df1645:n.pWA,__wbg_info_3daf2e093e091b66:n.ZrD,__wbg_log_c222819a41e063d3:n.pR9,__wbg_warn_4ca3906c248c47c4:n.jwJ,__wbindgen_string_new:n.ycJ,__wbindgen_string_get:n.qNE,__wbindgen_bigint_get_as_i64:n.DMD,__wbindgen_debug_string:n.rl,__wbindgen_throw:n.Qnr,__wbindgen_memory:n.Py0,__wbg_get_b9b93047fe3cf45b:n.RKz,__wbg_length_e2d2a49132c1b256:n.Ry,__wbg_new_78feb108b6472713:n.M2,__wbindgen_number_new:n.QRK,__wbindgen_is_function:n.PRY,__wbg_newnoargs_105ed471475aaf50:n.VrZ,__wbg_new_5e0be73521bc8c17:n.aIY,__wbindgen_is_object:n.qvD,__wbg_next_25feadfc0913fea9:n.yqB,__wbg_next_6574e1a8a62d1055:n.Dn4,__wbg_done_769e5ede4b31c67b:n.Xb8,__wbg_value_cd1ffa7b1ab794f1:n.LMq,__wbg_iterator_9a24c88df860dc65:n.eW0,__wbg_get_67b2ba62fc30de12:n.dzD,__wbg_call_672a4d21634d4a24:n.wHY,__wbg_new_405e22f390576ce2:n.va5,__wbindgen_is_string:n.GuA,__wbindgen_number_get:n.sWe,__wbg_stringify_f7ed6987935b4a24:n.Y6F,__wbindgen_is_undefined:n.vUM,__wbg_set_37837023f3d740e8:n.p8e,__wbg_isArray_a1eab7e0d067391b:n.uod,__wbg_push_737cfc8c1432c2c6:n.tZf,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:n.gGA,__wbg_instanceof_Error_4d54113b22d20306:n.fcg,__wbg_new_c68d7209be747379:n.wd3,__wbg_message_97a2af9b89d693a3:n.oGe,__wbg_call_7cccdd69e0791ae2:n.w9h,__wbg_set_8fc6bf8a5b1071d1:n.iAh,__wbg_next_c3ab0d59847b3b5c:n.tER,__wbg_isSafeInteger_343e2beeeece1bb0:n.Yb6,__wbg_entries_3265d4158b33e5dc:n.gHg,__wbg_new_23a2665fac83c611:n.c6u,__wbg_resolve_4851785c9c5f573d:n.wJz,__wbg_then_44b73946d2fb3e7d:n.GQG,__wbg_then_48b406749878a531:n.xV_,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:n.w6e,__wbg_static_accessor_SELF_37c5d418e4bf5819:n.fb$,__wbg_static_accessor_WINDOW_5de37043a91a9c40:n.x0C,__wbg_static_accessor_GLOBAL_88a902d13a557d07:n.ii7,__wbg_buffer_609cc3eee51ed158:n.FHK,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:n.hI8,__wbg_new_a12002a7f91c75be:n.vVD,__wbg_set_65595bdd868b3009:n.HBq,__wbg_length_a446193dc22c12f8:n.eIr,__wbg_instanceof_Uint8Array_17156bcf118086a9:n.SJf,__wbg_newwithlength_a381634e90c276d4:n.HtP,__wbg_buffer_09165b52af8c5237:n._Ue,__wbg_subarray_aa9065fa9dc5df96:n.TOc,__wbg_byteLength_e674b853d9c77e1d:n.x6W,__wbg_byteOffset_fd862df290ef848d:n.cyg,__wbg_setkeepexistingdata_ee7c8cb466e9477f:n.aKt,__wbg_signal_aaf9ad74119f20a4:n.CF8,__wbg_new_e25e5aab09ff45db:n.RG9,__wbg_abort_775ef1d17fc65868:n.gMQ,__wbg_setcreate_4ca762e23d9f78da:n.N9Q,__wbg_setbody_5923b78a95eedf29:n.Nhd,__wbg_setcredentials_c3a22f1cd105a2c6:n.uw1,__wbg_setheaders_834c0bdb6a8949ad:n.rk2,__wbg_setmethod_3c5280fe5d890842:n._hX,__wbg_setmode_5dc300b865044b65:n.BFX,__wbg_setsignal_75b21ef3a81de905:n.l0x,__wbg_settype_39ed370d3edd403c:n.a4S,__wbg_setrecursive_536113a081d6177a:n.ugc,__wbg_instanceof_FileSystemFileHandle_d3d037cf85ee546c:n.KA3,__wbg_createWritable_b4ed240dc879905e:n.kPb,__wbg_getFile_2607bc0123c724e0:n.ycy,__wbg_byobRequest_77d9adf63337edfb:n.JpR,__wbg_close_5ce03e29be453811:n.sQY,__wbg_view_fd8a56e8983f448d:n.NgT,__wbg_respond_1f279fa9f8edcb1c:n.dSQ,__wbg_close_24caca68e93b9c03:n.jeC,__wbg_setcreate_139bad94b2874fb5:n.kF0,__wbg_close_304cc1fef3466669:n.oaw,__wbg_enqueue_bb16ba72f537dc9e:n.QHd,__wbg_instanceof_FileSystemDirectoryHandle_0906fc139d75557b:n.Cjr,__wbg_entries_19efe296f7d36df9:n.RCF,__wbg_getDirectoryHandle_c48a138373d79b3d:n.kTu,__wbg_getFileHandle_5fb877d1ecc74d52:n.Wkh,__wbg_removeEntry_9f6bc325e3383e59:n.m_N,__wbg_removeEntry_a424e90dff229b19:n.lkn,__wbg_name_e4a115def9e2bbaa:n.Yeo,__wbg_new_018dcc2d6c8c2f6a:n.RR8,__wbg_append_8c7dd8d641a5f01b:n.Tbm,__wbg_newwithstrandinit_06c535e0a867c635:n.heb,__wbg_seek_3f0f8d7591f648d7:n.Zk3,__wbg_write_3e4e8c264c8bf357:n.aR4,__wbg_new_9fd39a253424609a:n.z09,__wbg_append_b44785ebeb668479:n.d_N,__wbg_append_b2d1fc16de2a0e81:n.WqA,__wbg_append_299d5d48292c0495:n.cVx,__wbg_has_a5ea9117f258a0ec:n.HSm,__wbg_fetch_509096533071c657:n.gRe,__wbg_fetch_4465c2b10f21a927:n.o0R,__wbg_size_3808d41635a9c259:n.$CF,__wbg_newwithu8arraysequenceandoptions_068570c487f69127:n.qe7,__wbg_arrayBuffer_f18c144cd0125f07:n.RGi,__wbg_text_1f39a8afe3c70a99:n.CFe,__wbindgen_cb_drop:n.LCp,__wbg_queueMicrotask_97d92b4fcc8a61c5:n._mt,__wbg_queueMicrotask_d3219def82552485:n.k2R,__wbindgen_jsval_loose_eq:n.U8c,__wbindgen_boolean_get:n.NhE,__wbindgen_as_number:n.qmw,__wbg_String_1b2069caba3b9783:n.JF5,__wbindgen_error_new:n.RjG,__wbindgen_bigint_from_u64:n.Qg3,__wbg_getwithrefkey_2d7fdfea9645a25b:n.A2U,__wbg_set_2873a5cee2324875:n.v1k,__wbg_new_8a6f238a6ece86ea:n.$Pc,__wbg_stack_0ed75d68575b0f3c:n.x$X,__wbg_error_7534b8e9a36f1ab4:n.WYM,__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_softwaresystem_unwrap:n.qre,__wbg_point_new:n.nA9,__wbg_boundary_new:n.HCo,__wbg_person_new:n.c1W,__wbg_diagram_new:n.YLb,__wbg_component_new:n.WJm,__wbg_minaerror_new:n.EkI,__wbg_relationship_new:n.NpJ,__wbg_deploymentnode_new:n.ezj,__wbg_shape_new:n._cl,__wbg_container_new:n.e57,__wbg_diagramelementspec_new:n.Dr_,__wbg_softwaresystem_new:n.dM0,__wbg_diagramelementspec_unwrap:n.W3f,__wbg_point_unwrap:n._QJ,__wbg_container_unwrap:n.xB8,__wbg_relationship_unwrap:n.KM7,__wbg_component_unwrap:n.dT0,__wbg_deploymentnode_unwrap:n._Zx,__wbg_person_unwrap:n.Xv$,__wbg_shape_unwrap:n.D7n,__wbg_boundary_unwrap:n.Wq,__wbg_instanceof_File_a4e2256bf71955a9:n.gjJ,__wbg_lastModified_7a9e61b3961224b8:n.gvw,__wbg_instanceof_Response_f2cc20d9f7dfd644:n.Hzn,__wbg_url_ae10c34ca209681d:n.Tp3,__wbg_status_f6360336ca686bf0:n.kK3,__wbg_headers_9cb51cfd2ac780a4:n.Moj,__wbg_arrayBuffer_d1b44c4390db422f:n._iy,__wbindgen_is_bigint:n.YkQ,__wbindgen_jsval_eq:n.BGI,__wbindgen_in:n.zEy,__wbindgen_closure_wrapper1864:n.kIB,__wbindgen_init_externref_table:n.bLn}})},457:(_,e,t)=>{let n;function r(_){n=_}t.d(e,{$CF:()=>xt,$Pc:()=>Ie,A2U:()=>ne,BFX:()=>yt,BGI:()=>sn,CF8:()=>zt,CFe:()=>Jt,Cjr:()=>ge,D7n:()=>Ft,DMD:()=>$t,Dn4:()=>Ce,Dr_:()=>C_,EkI:()=>Re,Evb:()=>Te,F$t:()=>M_,FGp:()=>_e,FHK:()=>R_,GQG:()=>Mt,GuA:()=>rn,HBq:()=>gt,HCo:()=>m_,HOd:()=>Fe,HSm:()=>re,HtP:()=>Me,Hzn:()=>we,JD7:()=>j,JF5:()=>b_,JpR:()=>F_,KA3:()=>ce,KM7:()=>_t,LCp:()=>Pt,LMq:()=>Wt,Llp:()=>k,Ltb:()=>nt,M2:()=>De,Moj:()=>ie,N9Q:()=>ut,NNx:()=>Ve,NgT:()=>Lt,NhE:()=>Tt,Nhd:()=>bt,NpJ:()=>Xe,OtZ:()=>Ne,Oxg:()=>z,PRY:()=>tn,Py0:()=>gn,QHd:()=>U_,QRK:()=>bn,Qg3:()=>Yt,Qnr:()=>dn,RCF:()=>Q_,RG9:()=>Ee,RGi:()=>y_,RKz:()=>te,RR8:()=>xe,RjG:()=>Vt,Ry:()=>me,SJf:()=>ue,TOc:()=>Ht,Tbm:()=>d_,Tp3:()=>Gt,U8c:()=>on,VrZ:()=>He,W3f:()=>L_,WJm:()=>S_,WYM:()=>T_,Wkh:()=>V_,Wq:()=>h_,WqA:()=>l_,Xb8:()=>N_,Xv$:()=>Qe,Y6F:()=>Et,YLb:()=>W_,Yb6:()=>le,Yeo:()=>ze,YkQ:()=>en,Zk3:()=>at,ZrD:()=>ae,_Cc:()=>F,_QJ:()=>$e,_Ue:()=>v_,_Zx:()=>G_,_cl:()=>Rt,_hX:()=>ft,_iy:()=>f_,_mt:()=>Ke,a4S:()=>vt,aIY:()=>Oe,aKt:()=>pt,aR4:()=>Ut,bLn:()=>_n,c1W:()=>Ue,c6u:()=>ke,cVx:()=>u_,cyg:()=>x_,dM0:()=>kt,dSQ:()=>it,dT0:()=>q_,d_N:()=>p_,dzD:()=>ee,e57:()=>A_,eIr:()=>ye,eW0:()=>pe,ezj:()=>B_,fb$:()=>St,fcg:()=>oe,gGA:()=>se,gHg:()=>Y_,gMQ:()=>w_,gRe:()=>K_,gjJ:()=>be,gvw:()=>fe,hI8:()=>Je,heb:()=>Be,iAh:()=>ct,ii7:()=>Dt,ilI:()=>J_,jeC:()=>O_,jwJ:()=>Nt,k2R:()=>Ze,kF0:()=>wt,kIB:()=>Kt,kK3:()=>At,kPb:()=>H_,kTu:()=>Z_,l0x:()=>ht,lIU:()=>r,lkn:()=>tt,m_N:()=>et,nA9:()=>Ye,o0R:()=>P_,oGe:()=>ve,oaw:()=>D_,ooJ:()=>Ct,p8e:()=>ot,pR9:()=>he,pWA:()=>$_,qNE:()=>wn,qe7:()=>Ge,qmw:()=>Qt,qre:()=>jt,qvD:()=>nn,rk2:()=>lt,rl:()=>Zt,sQY:()=>I_,sWe:()=>cn,tER:()=>Le,tZf:()=>Pe,ugc:()=>mt,uod:()=>de,uw1:()=>dt,v1k:()=>st,vUM:()=>an,vVD:()=>qe,va5:()=>je,w6e:()=>It,w9h:()=>j_,wHY:()=>k_,wJz:()=>rt,wd3:()=>Ae,x$X:()=>Ot,x0C:()=>qt,x6W:()=>z_,xB8:()=>E_,xV_:()=>Bt,ycJ:()=>un,ycy:()=>X_,yqB:()=>We,z09:()=>Se,zEy:()=>Xt}),_=t.hmd(_);let i=0,a=null;function s(){return null!==a&&0!==a.byteLength||(a=new Uint8Array(n.memory.buffer)),a}let o=new("undefined"==typeof TextEncoder?(0,_.require)("util").TextEncoder:TextEncoder)("utf-8");const g="function"==typeof o.encodeInto?function(_,e){return o.encodeInto(_,e)}:function(_,e){const t=o.encode(_);return e.set(t),{read:_.length,written:t.length}};function c(_,e,t){if(void 0===t){const t=o.encode(_),n=e(t.length,1)>>>0;return s().subarray(n,n+t.length).set(t),i=t.length,n}let n=_.length,r=e(n,1)>>>0;const a=s();let c=0;for(;c<n;c++){const e=_.charCodeAt(c);if(e>127)break;a[r+c]=e}if(c!==n){0!==c&&(_=_.slice(c)),r=t(r,n,n=c+3*_.length,1)>>>0;const e=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,_.require)("util").TextDecoder:TextDecoder)("utf-8",{ignoreBOM:!0,fatal:!0});function d(_,e){return _>>>=0,u.decode(s().subarray(_,_+e))}function l(_){const e=n.__externref_table_alloc();return n.__wbindgen_export_4.set(e,_),e}function p(_,e){try{return _.apply(this,e)}catch(_){const e=l(_);n.__wbindgen_exn_store(e)}}function f(_){return null==_}u.decode();const y="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>{n.__wbindgen_export_6.get(_.dtor)(_.a,_.b)}));function m(_){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+=m(_[0]));for(let n=1;n<e;n++)t+=", "+m(_[n]);return t+="]",t}const t=/\[object ([^\]]+)\]/.exec(toString.call(_));let n;if(!(t&&t.length>1))return toString.call(_);if(n=t[1],"Object"==n)try{return"Object("+JSON.stringify(_)+")"}catch(_){return"Object"}return _ instanceof Error?`${_.name}: ${_.message}\n${_.stack}`:n}function h(_,e){_>>>=0;const t=w(),r=[];for(let i=_;i<_+4*e;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=e(4*_.length,4)>>>0;for(let e=0;e<_.length;e++){const n=l(_[e]);w().setUint32(t+4*e,n,!0)}return i=_.length,t}function R(_,e){if(!(_ instanceof e))throw new Error(`expected instance of ${e.name}`)}function F(_){let e,t;try{const r=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),a=i,s=n.project_settings_url(r,a);return e=s[0],t=s[1],d(s[0],s[1])}finally{n.__wbindgen_free(e,t,1)}}function z(_,e,t,r){const a=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),s=i,o=c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),g=i,b=c(t,n.__wbindgen_malloc,n.__wbindgen_realloc),w=i,u=c(r,n.__wbindgen_malloc,n.__wbindgen_realloc),d=i;return n.open_remote_diagram(a,s,o,g,b,w,u,d)}function x(_){const e=n.__wbindgen_export_4.get(_);return n.__externref_table_dealloc(_),e}function k(_,e){let t,r;try{const o=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),g=i,b=c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),w=i,u=n.diagram_plantuml_url_from_diagram_url(o,g,b,w);var a=u[0],s=u[1];if(u[3])throw a=0,s=0,x(u[2]);return t=a,r=s,d(a,s)}finally{n.__wbindgen_free(t,r,1)}}function j(_,e){let t,r;try{const o=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),g=i,b=c(e,n.__wbindgen_malloc,n.__wbindgen_realloc),w=i,u=n.diagram_spec_url_from_diagram_url(o,g,b,w);var a=u[0],s=u[1];if(u[3])throw a=0,s=0,x(u[2]);return t=a,r=s,d(a,s)}finally{n.__wbindgen_free(t,r,1)}}function O(_,e,t){n.closure263_externref_shim(_,e,t)}const D=["omit","same-origin","include"],I=["same-origin","no-cors","cors","navigate"];"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_aisettings_free(_>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_addelementtag_free(_>>>0,1)));const S="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_baseelement_free(_>>>0,1)));class q{static __wrap(_){_>>>=0;const e=Object.create(q.prototype);return e.__wbg_ptr=_,S.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,S.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_baseelement_free(_,0)}get alias(){const _=n.__wbg_get_baseelement_alias(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set alias(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_baseelement_alias(this.__wbg_ptr,e,t)}get label(){const _=n.__wbg_get_baseelement_label(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set label(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_baseelement_label(this.__wbg_ptr,e,t)}get description(){const _=n.__wbg_get_baseelement_description(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set description(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_baseelement_description(this.__wbg_ptr,e,t)}get sprite(){const _=n.__wbg_get_baseelement_sprite(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set sprite(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_baseelement_sprite(this.__wbg_ptr,e,t)}get tags(){const _=n.__wbg_get_baseelement_tags(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set tags(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_baseelement_tags(this.__wbg_ptr,e,t)}get link(){const _=n.__wbg_get_baseelement_link(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set link(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_baseelement_link(this.__wbg_ptr,e,t)}get uuid(){const _=n.__wbg_get_baseelement_uuid(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set uuid(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_baseelement_uuid(this.__wbg_ptr,e,t)}get notes(){const _=n.__wbg_get_baseelement_notes(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set notes(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_baseelement_notes(this.__wbg_ptr,e,t)}}const A="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_boundary_free(_>>>0,1)));class E{static __wrap(_){_>>>=0;const e=Object.create(E.prototype);return e.__wbg_ptr=_,A.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof E?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,A.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_boundary_free(_,0)}get base_data(){const _=n.__wbg_get_boundary_base_data(this.__wbg_ptr);return q.__wrap(_)}set base_data(_){R(_,q);var e=_.__destroy_into_raw();n.__wbg_set_boundary_base_data(this.__wbg_ptr,e)}get boundary_type(){return n.__wbg_get_boundary_boundary_type(this.__wbg_ptr)}set boundary_type(_){n.__wbg_set_boundary_boundary_type(this.__wbg_ptr,f(_)?0:l(_))}get boundary_custom_type(){const _=n.__wbg_get_boundary_boundary_custom_type(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set boundary_custom_type(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_boundary_boundary_custom_type(this.__wbg_ptr,e,t)}get sub_elements(){const _=n.__wbg_get_boundary_sub_elements(this.__wbg_ptr);var e=h(_[0],_[1]).slice();return n.__wbindgen_free(_[0],4*_[1],4),e}set sub_elements(_){const e=v(_,n.__wbindgen_malloc),t=i;n.__wbg_set_boundary_sub_elements(this.__wbg_ptr,e,t)}}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_c4elements_free(_>>>0,1)));const H="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_component_free(_>>>0,1)));class J{static __wrap(_){_>>>=0;const e=Object.create(J.prototype);return e.__wbg_ptr=_,H.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,H.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_component_free(_,0)}get base_data(){const _=n.__wbg_get_component_base_data(this.__wbg_ptr);return q.__wrap(_)}set base_data(_){R(_,q);var e=_.__destroy_into_raw();n.__wbg_set_component_base_data(this.__wbg_ptr,e)}get technology(){const _=n.__wbg_get_component_technology(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set technology(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_component_technology(this.__wbg_ptr,e,t)}get component_type(){return n.__wbg_get_component_component_type(this.__wbg_ptr)}set component_type(_){n.__wbg_set_component_component_type(this.__wbg_ptr,f(_)?0:l(_))}}const M="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_container_free(_>>>0,1)));class B{static __wrap(_){_>>>=0;const e=Object.create(B.prototype);return e.__wbg_ptr=_,M.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,M.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_container_free(_,0)}get base_data(){const _=n.__wbg_get_component_base_data(this.__wbg_ptr);return q.__wrap(_)}set base_data(_){R(_,q);var e=_.__destroy_into_raw();n.__wbg_set_component_base_data(this.__wbg_ptr,e)}get technology(){const _=n.__wbg_get_container_technology(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set technology(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_component_technology(this.__wbg_ptr,e,t)}get container_type(){return n.__wbg_get_container_container_type(this.__wbg_ptr)}set container_type(_){n.__wbg_set_container_container_type(this.__wbg_ptr,f(_)?0:l(_))}}const G="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_deploymentnode_free(_>>>0,1)));class W{static __wrap(_){_>>>=0;const e=Object.create(W.prototype);return e.__wbg_ptr=_,G.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,G.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_deploymentnode_free(_,0)}get base_data(){const _=n.__wbg_get_deploymentnode_base_data(this.__wbg_ptr);return q.__wrap(_)}set base_data(_){R(_,q);var e=_.__destroy_into_raw();n.__wbg_set_deploymentnode_base_data(this.__wbg_ptr,e)}get deploymeny_node_custom_type(){const _=n.__wbg_get_deploymentnode_deploymeny_node_custom_type(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set deploymeny_node_custom_type(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_addelementtag_legend_sprite(this.__wbg_ptr,e,t)}get deployment_node_type(){return n.__wbg_get_deploymentnode_deployment_node_type(this.__wbg_ptr)}set deployment_node_type(_){n.__wbg_set_deploymentnode_deployment_node_type(this.__wbg_ptr,f(_)?0:l(_))}get sub_elements(){const _=n.__wbg_get_deploymentnode_sub_elements(this.__wbg_ptr);var e=h(_[0],_[1]).slice();return n.__wbindgen_free(_[0],4*_[1],4),e}set sub_elements(_){const e=v(_,n.__wbindgen_malloc),t=i;n.__wbg_set_deploymentnode_sub_elements(this.__wbg_ptr,e,t)}}const C="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_diagram_free(_>>>0,1)));class L{static __wrap(_){_>>>=0;const e=Object.create(L.prototype);return e.__wbg_ptr=_,C.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,C.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_diagram_free(_,0)}get diagram_name(){const _=n.__wbg_get_diagram_diagram_name(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set diagram_name(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagram_diagram_name(this.__wbg_ptr,e,t)}get diagram_type(){return n.__wbg_get_diagram_diagram_type(this.__wbg_ptr)}set diagram_type(_){n.__wbg_set_diagram_diagram_type(this.__wbg_ptr,f(_)?0:l(_))}get diagram_spec(){const _=n.__wbg_get_diagram_diagram_spec(this.__wbg_ptr);return 0===_?void 0:T.__wrap(_)}set diagram_spec(_){let e=0;f(_)||(R(_,T),e=_.__destroy_into_raw()),n.__wbg_set_diagram_diagram_spec(this.__wbg_ptr,e)}get diagram_plantuml(){const _=n.__wbg_get_diagram_diagram_plantuml(this.__wbg_ptr);return 0===_?void 0:Y.__wrap(_)}set diagram_plantuml(_){let e=0;f(_)||(R(_,Y),e=_.__destroy_into_raw()),n.__wbg_set_diagram_diagram_plantuml(this.__wbg_ptr,e)}get raw_plantuml(){const _=n.__wbg_get_diagram_raw_plantuml(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set raw_plantuml(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagram_raw_plantuml(this.__wbg_ptr,e,t)}get last_modified(){const _=n.__wbg_get_diagram_last_modified(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set last_modified(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagram_last_modified(this.__wbg_ptr,e,t)}get auto_layout_errors(){const _=n.__wbg_get_diagram_auto_layout_errors(this.__wbg_ptr);let e;return 0!==_[0]&&(e=h(_[0],_[1]).slice(),n.__wbindgen_free(_[0],4*_[1],4)),e}set auto_layout_errors(_){var e=f(_)?0:v(_,n.__wbindgen_malloc),t=i;n.__wbg_set_diagram_auto_layout_errors(this.__wbg_ptr,e,t)}get auto_layout(){return n.diagram_auto_layout(this.__wbg_ptr)}set auto_layout(_){n.diagram_set_auto_layout(this.__wbg_ptr,_)}}const N="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_diagramelementspec_free(_>>>0,1)));class U{static __wrap(_){_>>>=0;const e=Object.create(U.prototype);return e.__wbg_ptr=_,N.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof U?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,N.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_diagramelementspec_free(_,0)}get alias(){const _=n.__wbg_get_diagramelementspec_alias(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set alias(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagramelementspec_alias(this.__wbg_ptr,e,t)}get from(){const _=n.__wbg_get_diagramelementspec_from(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set from(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagramelementspec_from(this.__wbg_ptr,e,t)}get to(){const _=n.__wbg_get_diagramelementspec_to(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set to(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagramelementspec_to(this.__wbg_ptr,e,t)}get shapes(){const _=n.__wbg_get_diagramelementspec_shapes(this.__wbg_ptr);let e;return 0!==_[0]&&(e=h(_[0],_[1]).slice(),n.__wbindgen_free(_[0],4*_[1],4)),e}set shapes(_){var e=f(_)?0:v(_,n.__wbindgen_malloc),t=i;n.__wbg_set_diagramelementspec_shapes(this.__wbg_ptr,e,t)}get element_type(){return n.__wbg_get_diagramelementspec_element_type(this.__wbg_ptr)}set element_type(_){n.__wbg_set_diagramelementspec_element_type(this.__wbg_ptr,f(_)?0:l(_))}get position(){const _=n.__wbg_get_diagramelementspec_position(this.__wbg_ptr);return 0===_?void 0:t_.__wrap(_)}set position(_){let e=0;f(_)||(R(_,t_),e=_.__destroy_into_raw()),n.__wbg_set_diagramelementspec_position(this.__wbg_ptr,e)}get size(){const _=n.__wbg_get_diagramelementspec_size(this.__wbg_ptr);return 0===_?void 0:o_.__wrap(_)}set size(_){let e=0;f(_)||(R(_,o_),e=_.__destroy_into_raw()),n.__wbg_set_diagramelementspec_size(this.__wbg_ptr,e)}get inner_specs(){const _=n.__wbg_get_diagramelementspec_inner_specs(this.__wbg_ptr);let e;return 0!==_[0]&&(e=h(_[0],_[1]).slice(),n.__wbindgen_free(_[0],4*_[1],4)),e}set inner_specs(_){var e=f(_)?0:v(_,n.__wbindgen_malloc),t=i;n.__wbg_set_diagramelementspec_inner_specs(this.__wbg_ptr,e,t)}}const Q="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_diagramplantuml_free(_>>>0,1)));class Y{static __wrap(_){_>>>=0;const e=Object.create(Y.prototype);return e.__wbg_ptr=_,Q.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,Q.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_diagramplantuml_free(_,0)}get diagram_id(){const _=n.__wbg_get_diagramplantuml_diagram_id(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set diagram_id(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagramplantuml_diagram_id(this.__wbg_ptr,e,t)}get elements(){const _=n.__wbg_get_diagramplantuml_elements(this.__wbg_ptr);var e=h(_[0],_[1]).slice();return n.__wbindgen_free(_[0],4*_[1],4),e}set elements(_){const e=v(_,n.__wbindgen_malloc),t=i;n.__wbg_set_diagramplantuml_elements(this.__wbg_ptr,e,t)}get aliases(){const _=n.__wbg_get_diagramplantuml_aliases(this.__wbg_ptr);var e=h(_[0],_[1]).slice();return n.__wbindgen_free(_[0],4*_[1],4),e}set aliases(_){const e=v(_,n.__wbindgen_malloc),t=i;n.__wbg_set_diagramplantuml_aliases(this.__wbg_ptr,e,t)}get tags(){return n.diagramplantuml_tags(this.__wbg_ptr)}set tags(_){n.diagramplantuml_set_tags(this.__wbg_ptr,_)}}const $="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_diagramspec_free(_>>>0,1)));class T{static __wrap(_){_>>>=0;const e=Object.create(T.prototype);return e.__wbg_ptr=_,$.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,$.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_diagramspec_free(_,0)}get uuid(){let _,e;try{const t=n.__wbg_get_diagramspec_uuid(this.__wbg_ptr);return _=t[0],e=t[1],d(t[0],t[1])}finally{n.__wbindgen_free(_,e,1)}}set uuid(_){const e=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagramspec_uuid(this.__wbg_ptr,e,t)}get description(){const _=n.__wbg_get_diagramspec_description(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set description(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_diagramspec_description(this.__wbg_ptr,e,t)}get tags(){const _=n.__wbg_get_diagramspec_tags(this.__wbg_ptr);let e;return 0!==_[0]&&(e=h(_[0],_[1]).slice(),n.__wbindgen_free(_[0],4*_[1],4)),e}set tags(_){var e=f(_)?0:v(_,n.__wbindgen_malloc),t=i;n.__wbg_set_diagramspec_tags(this.__wbg_ptr,e,t)}get elements_specs(){const _=n.__wbg_get_diagramspec_elements_specs(this.__wbg_ptr);var e=h(_[0],_[1]).slice();return n.__wbindgen_free(_[0],4*_[1],4),e}set elements_specs(_){const e=v(_,n.__wbindgen_malloc),t=i;n.__wbg_set_diagramspec_elements_specs(this.__wbg_ptr,e,t)}get shapes(){const _=n.__wbg_get_diagramspec_shapes(this.__wbg_ptr);var e=h(_[0],_[1]).slice();return n.__wbindgen_free(_[0],4*_[1],4),e}set shapes(_){const e=v(_,n.__wbindgen_malloc),t=i;n.__wbg_set_diagramspec_shapes(this.__wbg_ptr,e,t)}get auto_layout_enabled(){return 0!==n.__wbg_get_diagramspec_auto_layout_enabled(this.__wbg_ptr)}set auto_layout_enabled(_){n.__wbg_set_diagramspec_auto_layout_enabled(this.__wbg_ptr,_)}get auto_layout_orientation(){return n.__wbg_get_diagramspec_auto_layout_orientation(this.__wbg_ptr)}set auto_layout_orientation(_){n.__wbg_set_diagramspec_auto_layout_orientation(this.__wbg_ptr,_)}get auto_layout_only_straight_arrows(){return 0!==n.__wbg_get_diagramspec_auto_layout_only_straight_arrows(this.__wbg_ptr)}set auto_layout_only_straight_arrows(_){n.__wbg_set_diagramspec_auto_layout_only_straight_arrows(this.__wbg_ptr,_)}get auto_layout_ranksep(){return n.__wbg_get_diagramspec_auto_layout_ranksep(this.__wbg_ptr)}set auto_layout_ranksep(_){n.__wbg_set_diagramspec_auto_layout_ranksep(this.__wbg_ptr,_)}get auto_layout_subgraph_inner_margin(){return n.__wbg_get_diagramspec_auto_layout_subgraph_inner_margin(this.__wbg_ptr)}set auto_layout_subgraph_inner_margin(_){n.__wbg_set_diagramspec_auto_layout_subgraph_inner_margin(this.__wbg_ptr,_)}get auto_layout_subgraph_outer_margin(){return n.__wbg_get_diagramspec_auto_layout_subgraph_outer_margin(this.__wbg_ptr)}set auto_layout_subgraph_outer_margin(_){n.__wbg_set_diagramspec_auto_layout_subgraph_outer_margin(this.__wbg_ptr,_)}get grid_enabled(){return 0!==n.__wbg_get_diagramspec_grid_enabled(this.__wbg_ptr)}set grid_enabled(_){n.__wbg_set_diagramspec_grid_enabled(this.__wbg_ptr,_)}}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_diagramsthemesettings_free(_>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_elementdata_free(_>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_hookpayload_free(_>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_intounderlyingbytesource_free(_>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_intounderlyingsink_free(_>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_intounderlyingsource_free(_>>>0,1)));const P="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_minaerror_free(_>>>0,1)));class K{static __wrap(_){_>>>=0;const e=Object.create(K.prototype);return e.__wbg_ptr=_,P.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,P.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_minaerror_free(_,0)}get code(){return n.__wbg_get_minaerror_code(this.__wbg_ptr)}set code(_){n.__wbg_set_minaerror_code(this.__wbg_ptr,_)}get msg(){let _,e;try{const t=n.__wbg_get_minaerror_msg(this.__wbg_ptr);return _=t[0],e=t[1],d(t[0],t[1])}finally{n.__wbindgen_free(_,e,1)}}set msg(_){const e=c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_minaerror_msg(this.__wbg_ptr,e,t)}}const Z="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_person_free(_>>>0,1)));class V{static __wrap(_){_>>>=0;const e=Object.create(V.prototype);return e.__wbg_ptr=_,Z.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof V?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,Z.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_person_free(_,0)}get base_data(){const _=n.__wbg_get_person_base_data(this.__wbg_ptr);return q.__wrap(_)}set base_data(_){R(_,q);var e=_.__destroy_into_raw();n.__wbg_set_person_base_data(this.__wbg_ptr,e)}get person_type(){return n.__wbg_get_person_person_type(this.__wbg_ptr)}set person_type(_){n.__wbg_set_person_person_type(this.__wbg_ptr,f(_)?0:l(_))}}const X="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_point_free(_>>>0,1)));class __{static __wrap(_){_>>>=0;const e=Object.create(__.prototype);return e.__wbg_ptr=_,X.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof __?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,X.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_point_free(_,0)}get x(){return n.__wbg_get_point_x(this.__wbg_ptr)}set x(_){n.__wbg_set_point_x(this.__wbg_ptr,_)}get y(){return n.__wbg_get_point_y(this.__wbg_ptr)}set y(_){n.__wbg_set_point_y(this.__wbg_ptr,_)}}const e_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_position_free(_>>>0,1)));class t_{static __wrap(_){_>>>=0;const e=Object.create(t_.prototype);return e.__wbg_ptr=_,e_.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,e_.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_position_free(_,0)}get left(){const _=n.__wbg_get_position_left(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}set left(_){n.__wbg_set_position_left(this.__wbg_ptr,!f(_),f(_)?0:_)}get top(){const _=n.__wbg_get_position_top(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}set top(_){n.__wbg_set_position_top(this.__wbg_ptr,!f(_),f(_)?0:_)}get z_index(){const _=n.__wbg_get_position_z_index(this.__wbg_ptr);return 4294967297===_?void 0:_}set z_index(_){n.__wbg_set_position_z_index(this.__wbg_ptr,f(_)?4294967297:0|_)}get angle(){const _=n.__wbg_get_position_angle(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}set angle(_){n.__wbg_set_position_angle(this.__wbg_ptr,!f(_),f(_)?0:_)}}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_project_free(_>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_projectlibrary_free(_>>>0,1))),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_projectsettings_free(_>>>0,1)));const n_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_relationship_free(_>>>0,1)));class r_{static __wrap(_){_>>>=0;const e=Object.create(r_.prototype);return e.__wbg_ptr=_,n_.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof r_?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,n_.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_relationship_free(_,0)}get base_data(){const _=n.__wbg_get_component_base_data(this.__wbg_ptr);return q.__wrap(_)}set base_data(_){R(_,q);var e=_.__destroy_into_raw();n.__wbg_set_component_base_data(this.__wbg_ptr,e)}get from(){const _=n.__wbg_get_relationship_from(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set from(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_component_technology(this.__wbg_ptr,e,t)}get to(){const _=n.__wbg_get_relationship_to(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set to(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_relationship_to(this.__wbg_ptr,e,t)}get technology(){const _=n.__wbg_get_relationship_technology(this.__wbg_ptr);let e;return 0!==_[0]&&(e=d(_[0],_[1]).slice(),n.__wbindgen_free(_[0],1*_[1],1)),e}set technology(_){var e=f(_)?0:c(_,n.__wbindgen_malloc,n.__wbindgen_realloc),t=i;n.__wbg_set_relationship_technology(this.__wbg_ptr,e,t)}get relationship_type(){return n.__wbg_get_relationship_relationship_type(this.__wbg_ptr)}set relationship_type(_){n.__wbg_set_relationship_relationship_type(this.__wbg_ptr,f(_)?0:l(_))}}const i_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_shape_free(_>>>0,1)));class a_{static __wrap(_){_>>>=0;const e=Object.create(a_.prototype);return e.__wbg_ptr=_,i_.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,i_.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_shape_free(_,0)}get shape_type(){return n.__wbg_get_shape_shape_type(this.__wbg_ptr)}set shape_type(_){n.__wbg_set_shape_shape_type(this.__wbg_ptr,f(_)?0:l(_))}get position(){const _=n.__wbg_get_shape_position(this.__wbg_ptr);return 0===_?void 0:t_.__wrap(_)}set position(_){let e=0;f(_)||(R(_,t_),e=_.__destroy_into_raw()),n.__wbg_set_shape_position(this.__wbg_ptr,e)}get size(){const _=n.__wbg_get_shape_size(this.__wbg_ptr);return 0===_?void 0:o_.__wrap(_)}set size(_){let e=0;f(_)||(R(_,o_),e=_.__destroy_into_raw()),n.__wbg_set_shape_size(this.__wbg_ptr,e)}}const s_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_size_free(_>>>0,1)));class o_{static __wrap(_){_>>>=0;const e=Object.create(o_.prototype);return e.__wbg_ptr=_,s_.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,s_.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_size_free(_,0)}get width(){const _=n.__wbg_get_size_width(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}set width(_){n.__wbg_set_size_width(this.__wbg_ptr,!f(_),f(_)?0:_)}get height(){const _=n.__wbg_get_size_height(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}set height(_){n.__wbg_set_size_height(this.__wbg_ptr,!f(_),f(_)?0:_)}get scale_x(){const _=n.__wbg_get_size_scale_x(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}set scale_x(_){n.__wbg_set_size_scale_x(this.__wbg_ptr,!f(_),f(_)?0:_)}get scale_y(){const _=n.__wbg_get_size_scale_y(this.__wbg_ptr);return 0===_[0]?void 0:_[1]}set scale_y(_){n.__wbg_set_size_scale_y(this.__wbg_ptr,!f(_),f(_)?0:_)}}const g_="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((_=>n.__wbg_softwaresystem_free(_>>>0,1)));class c_{static __wrap(_){_>>>=0;const e=Object.create(c_.prototype);return e.__wbg_ptr=_,g_.register(e,e.__wbg_ptr,e),e}static __unwrap(_){return _ instanceof c_?_.__destroy_into_raw():0}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,g_.unregister(this),_}free(){const _=this.__destroy_into_raw();n.__wbg_softwaresystem_free(_,0)}get base_data(){const _=n.__wbg_get_softwaresystem_base_data(this.__wbg_ptr);return q.__wrap(_)}set base_data(_){R(_,q);var e=_.__destroy_into_raw();n.__wbg_set_softwaresystem_base_data(this.__wbg_ptr,e)}get system_type(){return n.__wbg_get_softwaresystem_system_type(this.__wbg_ptr)}set system_type(_){n.__wbg_set_softwaresystem_system_type(this.__wbg_ptr,f(_)?0:l(_))}}function b_(_,e){const t=c(String(e),n.__wbindgen_malloc,n.__wbindgen_realloc),r=i;w().setInt32(_+4,r,!0),w().setInt32(_+0,t,!0)}function w_(_){_.abort()}function u_(){return p((function(_,e,t,n,r){_.append(d(e,t),d(n,r))}),arguments)}function d_(){return p((function(_,e,t,n,r){_.append(d(e,t),d(n,r))}),arguments)}function l_(){return p((function(_,e,t,n,r,i){_.append(d(e,t),n,d(r,i))}),arguments)}function p_(){return p((function(_,e,t,n){_.append(d(e,t),n)}),arguments)}function f_(){return p((function(_){return _.arrayBuffer()}),arguments)}function y_(_){return _.arrayBuffer()}function m_(_){return E.__wrap(_)}function h_(_){return E.__unwrap(_)}function v_(_){return _.buffer}function R_(_){return _.buffer}function F_(_){const e=_.byobRequest;return f(e)?0:l(e)}function z_(_){return _.byteLength}function x_(_){return _.byteOffset}function k_(){return p((function(_,e){return _.call(e)}),arguments)}function j_(){return p((function(_,e,t){return _.call(e,t)}),arguments)}function O_(_){return _.close()}function D_(){return p((function(_){_.close()}),arguments)}function I_(){return p((function(_){_.close()}),arguments)}function S_(_){return J.__wrap(_)}function q_(_){return J.__unwrap(_)}function A_(_){return B.__wrap(_)}function E_(_){return B.__unwrap(_)}function H_(_,e){return _.createWritable(e)}function J_(_){return _.crypto}function M_(_){console.debug(_)}function B_(_){return W.__wrap(_)}function G_(_){return W.__unwrap(_)}function W_(_){return L.__wrap(_)}function C_(_){return U.__wrap(_)}function L_(_){return U.__unwrap(_)}function N_(_){return _.done}function U_(){return p((function(_,e){_.enqueue(e)}),arguments)}function Q_(_){return _.entries()}function Y_(_){return Object.entries(_)}function $_(_){console.error(_)}function T_(_,e){let t,r;try{t=_,r=e,console.error(d(_,e))}finally{n.__wbindgen_free(t,r,1)}}function P_(_){return fetch(_)}function K_(_,e){return _.fetch(e)}function Z_(_,e,t,n){return _.getDirectoryHandle(d(e,t),n)}function V_(_,e,t,n){return _.getFileHandle(d(e,t),n)}function X_(_){return _.getFile()}function _e(){return p((function(_,e){_.getRandomValues(e)}),arguments)}function ee(){return p((function(_,e){return Reflect.get(_,e)}),arguments)}function te(_,e){return _[e>>>0]}function ne(_,e){return _[e]}function re(){return p((function(_,e){return Reflect.has(_,e)}),arguments)}function ie(_){return _.headers}function ae(_){console.info(_)}function se(_){let e;try{e=_ instanceof ArrayBuffer}catch(_){e=!1}return e}function oe(_){let e;try{e=_ instanceof Error}catch(_){e=!1}return e}function ge(_){let e;try{e=_ instanceof FileSystemDirectoryHandle}catch(_){e=!1}return e}function ce(_){let e;try{e=_ instanceof FileSystemFileHandle}catch(_){e=!1}return e}function be(_){let e;try{e=_ instanceof File}catch(_){e=!1}return e}function we(_){let e;try{e=_ instanceof Response}catch(_){e=!1}return e}function ue(_){let e;try{e=_ instanceof Uint8Array}catch(_){e=!1}return e}function de(_){return Array.isArray(_)}function le(_){return Number.isSafeInteger(_)}function pe(){return Symbol.iterator}function fe(_){return _.lastModified}function ye(_){return _.length}function me(_){return _.length}function he(_){console.log(_)}function ve(_){return _.message}function Re(_){return K.__wrap(_)}function Fe(_){return _.msCrypto}function ze(_,e){const t=c(e.name,n.__wbindgen_malloc,n.__wbindgen_realloc),r=i;w().setInt32(_+4,r,!0),w().setInt32(_+0,t,!0)}function xe(){return p((function(){return new Headers}),arguments)}function ke(_,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){n.closure73_externref_shim(_,e,t,r)}(r,t.b,_,e)}finally{t.a=r}}));return r}finally{t.a=t.b=0}}function je(){return new Object}function Oe(){return new Map}function De(){return new Array}function Ie(){return new Error}function Se(){return p((function(){return new FormData}),arguments)}function qe(_){return new Uint8Array(_)}function Ae(_,e){return new Error(d(_,e))}function Ee(){return p((function(){return new AbortController}),arguments)}function He(_,e){return new Function(d(_,e))}function Je(_,e,t){return new Uint8Array(_,e>>>0,t>>>0)}function Me(_){return new Uint8Array(_>>>0)}function Be(){return p((function(_,e,t){return new Request(d(_,e),t)}),arguments)}function Ge(){return p((function(_,e){return new Blob(_,e)}),arguments)}function We(_){return _.next}function Ce(){return p((function(_){return _.next()}),arguments)}function Le(){return p((function(_){return _.next()}),arguments)}function Ne(_){return _.node}function Ue(_){return V.__wrap(_)}function Qe(_){return V.__unwrap(_)}function Ye(_){return __.__wrap(_)}function $e(_){return __.__unwrap(_)}function Te(_){return _.process}function Pe(_,e){return _.push(e)}function Ke(_){queueMicrotask(_)}function Ze(_){return _.queueMicrotask}function Ve(){return p((function(_,e){_.randomFillSync(e)}),arguments)}function Xe(_){return r_.__wrap(_)}function _t(_){return r_.__unwrap(_)}function et(_,e,t){return _.removeEntry(d(e,t))}function tt(_,e,t,n){return _.removeEntry(d(e,t),n)}function nt(){return p((function(){return _.require}),arguments)}function rt(_){return Promise.resolve(_)}function it(){return p((function(_,e){_.respond(e>>>0)}),arguments)}function at(){return p((function(_,e){return _.seek(e)}),arguments)}function st(_,e,t){_[e]=t}function ot(_,e,t){_[e>>>0]=t}function gt(_,e,t){_.set(e,t>>>0)}function ct(_,e,t){return _.set(e,t)}function bt(_,e){_.body=e}function wt(_,e){_.create=0!==e}function ut(_,e){_.create=0!==e}function dt(_,e){_.credentials=D[e]}function lt(_,e){_.headers=e}function pt(_,e){_.keepExistingData=0!==e}function ft(_,e,t){_.method=d(e,t)}function yt(_,e){_.mode=I[e]}function mt(_,e){_.recursive=0!==e}function ht(_,e){_.signal=e}function vt(_,e,t){_.type=d(e,t)}function Rt(_){return a_.__wrap(_)}function Ft(_){return a_.__unwrap(_)}function zt(_){return _.signal}function xt(_){return _.size}function kt(_){return c_.__wrap(_)}function jt(_){return c_.__unwrap(_)}function Ot(_,e){const t=c(e.stack,n.__wbindgen_malloc,n.__wbindgen_realloc),r=i;w().setInt32(_+4,r,!0),w().setInt32(_+0,t,!0)}function Dt(){const _="undefined"==typeof global?null:global;return f(_)?0:l(_)}function It(){const _="undefined"==typeof globalThis?null:globalThis;return f(_)?0:l(_)}function St(){const _="undefined"==typeof self?null:self;return f(_)?0:l(_)}function qt(){const _="undefined"==typeof window?null:window;return f(_)?0:l(_)}function At(_){return _.status}function Et(){return p((function(_){return JSON.stringify(_)}),arguments)}function Ht(_,e,t){return _.subarray(e>>>0,t>>>0)}function Jt(_){return _.text()}function Mt(_,e){return _.then(e)}function Bt(_,e,t){return _.then(e,t)}function Gt(_,e){const t=c(e.url,n.__wbindgen_malloc,n.__wbindgen_realloc),r=i;w().setInt32(_+4,r,!0),w().setInt32(_+0,t,!0)}function Wt(_){return _.value}function Ct(_){return _.versions}function Lt(_){const e=_.view;return f(e)?0:l(e)}function Nt(_){console.warn(_)}function Ut(){return p((function(_,e,t){var n,r;return _.write((n=e,r=t,n>>>=0,s().subarray(n/1,n/1+r)))}),arguments)}function Qt(_){return+_}function Yt(_){return BigInt.asUintN(64,_)}function $t(_,e){const t="bigint"==typeof e?e:void 0;w().setBigInt64(_+8,f(t)?BigInt(0):t,!0),w().setInt32(_+0,!f(t),!0)}function Tt(_){return"boolean"==typeof _?_?1:0:2}function Pt(_){const e=_.original;return 1==e.cnt--&&(e.a=0,!0)}function Kt(_,e,t){const r=function(_,e,t,r){const i={a:_,b:e,cnt:1,dtor:264},a=(..._)=>{i.cnt++;const e=i.a;i.a=0;try{return r(e,i.b,..._)}finally{0==--i.cnt?(n.__wbindgen_export_6.get(i.dtor)(e,i.b),y.unregister(i)):i.a=e}};return a.original=i,y.register(a,i,i),a}(_,e,0,O);return r}function Zt(_,e){const t=c(m(e),n.__wbindgen_malloc,n.__wbindgen_realloc),r=i;w().setInt32(_+4,r,!0),w().setInt32(_+0,t,!0)}function Vt(_,e){return new Error(d(_,e))}function Xt(_,e){return _ in e}function _n(){const _=n.__wbindgen_export_4,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 en(_){return"bigint"==typeof _}function tn(_){return"function"==typeof _}function nn(_){return"object"==typeof _&&null!==_}function rn(_){return"string"==typeof _}function an(_){return void 0===_}function sn(_,e){return _===e}function on(_,e){return _==e}function gn(){return n.memory}function cn(_,e){const t="number"==typeof e?e:void 0;w().setFloat64(_+8,f(t)?0:t,!0),w().setInt32(_+0,!f(t),!0)}function bn(_){return _}function wn(_,e){const t="string"==typeof e?e:void 0;var r=f(t)?0:c(t,n.__wbindgen_malloc,n.__wbindgen_realloc),a=i;w().setInt32(_+4,a,!0),w().setInt32(_+0,r,!0)}function un(_,e){return d(_,e)}function dn(_,e){throw new Error(d(_,e))}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry((_=>n.__wbg_themessettings_free(_>>>0,1)))},507:(_,e,t)=>{t.a(_,(async(_,n)=>{try{t.d(e,{Ay:()=>g,Oc:()=>o,Y$:()=>a,wS:()=>s});var r=t(519),i=_([r]);async function a(_,e){if(e){const t="https://keadex.dev/api/download-gh-raw-file",n={headers:{"Keadex-Gh-Url":_}};return e&&(n.headers["Keadex-Gh-Authorization"]=e),await fetch(t,n)}return await fetch(_)}async function s(_,e,t){let n,i,s;try{n=(0,r._Cc)(_),i=(0,r.Llp)(_,e),s=(0,r.JD7)(_,e)}catch(_){throw console.error(_),new Error("Invalid URL: the provided URL is an invalid Mina project or diagram.")}if(n&&i&&s){let _,e,r;try{const o=await a(n,t),g=await a(i,t),c=await a(s,t);if(o.ok&&g.ok&&c.ok)return _=await o.text(),e=await g.text(),r=await c.text(),{projectSettingsJson:_,plantuml:e,spec:r};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 o(_,e,t){try{const n=await s(_,e,t);if(n)return await(0,r.Oxg)(_,e,n.plantuml,n.spec)}catch(_){console.error(_)}}r=(i.then?(await i)():i)[0];const g={fetchGhRawFile:a,downloadDiagramData:s,openRemoteDiagram:o};n()}catch(c){n(c)}}))},519:(_,e,t)=>{t.a(_,(async(_,n)=>{try{t.d(e,{JD7:()=>i.JD7,Llp:()=>i.Llp,Oxg:()=>i.Oxg,_Cc:()=>i._Cc});var r=t(196),i=t(457),a=_([r]);r=(a.then?(await a)():a)[0],(0,i.lIU)(r),r.__wbindgen_start(),n()}catch(_){n(_)}}))}},i={};function a(_){var e=i[_];if(void 0!==e)return e.exports;var t=i[_]={id:_,loaded:!1,exports:{}};return r[_](t,t.exports,a),t.loaded=!0,t.exports}_="function"==typeof Symbol?Symbol("webpack queues"):"__webpack_queues__",e="function"==typeof Symbol?Symbol("webpack exports"):"__webpack_exports__",t="function"==typeof Symbol?Symbol("webpack error"):"__webpack_error__",n=_=>{_&&_.d<1&&(_.d=1,_.forEach((_=>_.r--)),_.forEach((_=>_.r--?_.r++:_())))},a.a=(r,i,a)=>{var s;a&&((s=[]).d=-1);var o,g,c,b=new Set,w=r.exports,u=new Promise(((_,e)=>{c=e,g=_}));u[e]=w,u[_]=_=>(s&&_(s),b.forEach(_),u.catch((_=>{}))),r.exports=u,i((r=>{var i;o=(r=>r.map((r=>{if(null!==r&&"object"==typeof r){if(r[_])return r;if(r.then){var i=[];i.d=0,r.then((_=>{a[e]=_,n(i)}),(_=>{a[t]=_,n(i)}));var a={};return a[_]=_=>_(i),a}}var s={};return s[_]=_=>{},s[e]=r,s})))(r);var a=()=>o.map((_=>{if(_[t])throw _[t];return _[e]})),g=new Promise((e=>{(i=()=>e(a)).r=0;var t=_=>_!==s&&!b.has(_)&&(b.add(_),_&&!_.d&&(i.r++,_.push(i)));o.map((e=>e[_](t)))}));return i.r?g:a()}),(_=>(_?c(u[t]=_):g(w),n(s)))),s&&s.d<0&&(s.d=0)},a.d=(_,e)=>{for(var t in e)a.o(e,t)&&!a.o(_,t)&&Object.defineProperty(_,t,{enumerable:!0,get:e[t]})},a.hmd=_=>((_=Object.create(_)).children||(_.children=[]),Object.defineProperty(_,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.