@marimo-team/frontend 0.23.4-dev1 → 0.23.4-dev7

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.
@@ -0,0 +1,2 @@
1
+ import{r as Ai}from"./chunk-LvLJmgfZ.js";let se,ae,ie,le,ge,ce,de,we,be,ue,pe,he,fe,me,ve,ye,xe,Se,Ce,Ae,Oe,Ie,Ne,Fe,De,Le,ke,Ee,Re,Te,Je,Ve,Ue,Pe,Be,Me,ze,je,We,He,qe,$e,Ke,Ge,Qe,Xe,Ye,Ze,et,tt,rt,_t,ot,nt,st,at,it,lt,gt,ct,dt,wt,bt,ut,pt,ht,ft,mt,vt,yt,xt,St,Ct,At,Ot,It,Nt,Ft,Dt,Lt,kt,Et,Rt,Tt,Jt,Vt,Ut,Pt,Bt,Mt,zt,jt,Wt,Ht,qt,$t,Kt,Gt,Qt,Xt,Yt,Zt,er,tr,rr,_r,or,nr,sr,ar,ir,lr,gr,cr,dr,wr,br,ur,pr,hr,fr,mr,vr,yr,xr,Sr,Cr,Ar,Or,Ir,Nr,Fr,Dr,Lr,kr,Er,Rr,Tr,Jr,Vr,Ur,Pr,Br,Mr,zr,jr,Wr,Hr,qr,$r,Kr,Gr,Qr,Xr,Yr,Zr,e_,t_,r_,__,o_,n_,s_,a_,i_,l_,g_,c_,d_,w_,b_,u_,p_,h_,f_,m_,v_,y_,x_,S_,C_,A_,O_,I_,N_,F_,D_,L_,k_,E_,R_,T_,D,J_,V_,U_,P_,B_,M_,z_,j_,W_,H_,q_,$_,K_,G_,Oi,Q_,X_,Y_,Z_,Ii,eo,to,ro,_o,oo,no,so,ao,io,lo,go,co,wo,bo,uo,po,ho,fo,mo,vo,yo,xo,So,Co,Ao,Oo,Io,No,Fo,Do,Lo,ko,G,Eo,Ro,To,Jo,Vo,Uo,Q,Po,Bo,Mo,zo,jo,Wo,Ho,qo,$o,Ko,Go,Qo,Xo,Yo,Zo,en,tn,rn,_n,on,nn,sn,an,ln,gn,cn,dn,wn,bn,un,pn,hn,fn,mn,vn,yn,xn,Sn,Cn,An,x,On,In,Nn,Fn,Dn,Ln,kn,En,Rn,Tn,Jn,Vn,Un,I,Pn,Bn,Mn,zn,jn,Wn,Hn,qn,$n,Kn,Gn,Qn,Xn,Yn,Zn,es,ts,rs,_s,os,ns,ss,as,is,ls,gs,cs,ds,ws,bs,us,ps,Wi=(async()=>{let fs,ms,r;fs=""+new URL("loro_wasm_bg-WKwciKJa.wasm",import.meta.url).href,ms=async(_={},e)=>{let t;if(e.startsWith("data:")){let o=e.replace(/^data:.*?base64,/,""),s;if(typeof Buffer=="function"&&typeof Buffer.from=="function")s=Buffer.from(o,"base64");else if(typeof atob=="function"){let a=atob(o);s=new Uint8Array(a.length);for(let l=0;l<a.length;l++)s[l]=a.charCodeAt(l)}else throw Error("Cannot decode base64-encoded data URL");t=await WebAssembly.instantiate(s,_)}else{let o=await fetch(e),s=o.headers.get("Content-Type")||"";if("instantiateStreaming"in WebAssembly&&s.startsWith("application/wasm"))t=await WebAssembly.instantiateStreaming(o,_);else{let a=await o.arrayBuffer();t=await WebAssembly.instantiate(a,_)}}return t.instance.exports},Ii=Ai({AwarenessWasm:()=>Yo,ChangeModifier:()=>te,Cursor:()=>x,EphemeralStoreWasm:()=>F_,LORO_VERSION:()=>Ui,LoroCounter:()=>J,LoroDoc:()=>G,LoroList:()=>P,LoroMap:()=>I,LoroMovableList:()=>z,LoroText:()=>D,LoroTree:()=>H,LoroTreeNode:()=>F,UndoManager:()=>K_,VersionVector:()=>y,__wbg_String_8f0eb39a4a4c2f66:()=>Ss,__wbg_apply_36be6a55257c99bf:()=>Cs,__wbg_apply_eb9e9b97497f91e4:()=>As,__wbg_buffer_609cc3eee51ed158:()=>Os,__wbg_call_672a4d21634d4a24:()=>Is,__wbg_call_7cccdd69e0791ae2:()=>Ns,__wbg_call_833bed5770ea2041:()=>Fs,__wbg_call_b8adc8b1d0a0d8eb:()=>Ds,__wbg_changemodifier_new:()=>Ls,__wbg_crypto_574e78ad8b13b65f:()=>ks,__wbg_cursor_new:()=>Es,__wbg_done_769e5ede4b31c67b:()=>Rs,__wbg_entries_3265d4158b33e5dc:()=>Ts,__wbg_entries_c8a90a7ed73e84ce:()=>Js,__wbg_error_1cb1bf0bb7e0da2b:()=>Vs,__wbg_error_7534b8e9a36f1ab4:()=>Us,__wbg_from_2a5d3e218e67aa85:()=>Ps,__wbg_getOwnPropertySymbols_97eebed6fe6e08be:()=>Bs,__wbg_getRandomValues_b8f5dbd5f3995a9e:()=>Ms,__wbg_get_67b2ba62fc30de12:()=>zs,__wbg_get_b9b93047fe3cf45b:()=>js,__wbg_getindex_5b00c274b05714aa:()=>Ws,__wbg_getwithrefkey_1dc361bd10053bfe:()=>Hs,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:()=>qs,__wbg_instanceof_Map_f3469ce2244d2430:()=>$s,__wbg_instanceof_Object_7f2dcef8f78644a4:()=>Ks,__wbg_instanceof_Uint8Array_17156bcf118086a9:()=>Gs,__wbg_isArray_a1eab7e0d067391b:()=>Qs,__wbg_isSafeInteger_343e2beeeece1bb0:()=>Xs,__wbg_iterator_9a24c88df860dc65:()=>Ys,__wbg_length_a446193dc22c12f8:()=>Zs,__wbg_length_e2d2a49132c1b256:()=>ea,__wbg_log_0671e6aa34e04626:()=>ta,__wbg_log_0cc1b7768397bcfe:()=>ra,__wbg_log_cb9e190acc5753fb:()=>_a,__wbg_lorocounter_new:()=>oa,__wbg_lorolist_new:()=>na,__wbg_loromap_new:()=>sa,__wbg_loromovablelist_new:()=>aa,__wbg_lorotext_new:()=>ia,__wbg_lorotree_new:()=>la,__wbg_lorotreenode_new:()=>ga,__wbg_mark_7438147ce31e9d4b:()=>ca,__wbg_measure_fb7825c11612c823:()=>da,__wbg_msCrypto_a61aeb35a24c1329:()=>wa,__wbg_new_405e22f390576ce2:()=>ba,__wbg_new_5e0be73521bc8c17:()=>ua,__wbg_new_78feb108b6472713:()=>pa,__wbg_new_8a6f238a6ece86ea:()=>ha,__wbg_new_a12002a7f91c75be:()=>fa,__wbg_newnoargs_105ed471475aaf50:()=>ma,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:()=>va,__wbg_newwithlength_a381634e90c276d4:()=>ya,__wbg_newwithlength_c4c419ef0bc8a1f8:()=>xa,__wbg_next_25feadfc0913fea9:()=>Sa,__wbg_next_6574e1a8a62d1055:()=>Ca,__wbg_node_905d3e251edff8a2:()=>Aa,__wbg_now_c8bdc8efc8c495eb:()=>Oa,__wbg_ownKeys_3930041068756f1f:()=>Ia,__wbg_process_dc0fbacc7c1c06f7:()=>Na,__wbg_push_737cfc8c1432c2c6:()=>Fa,__wbg_randomFillSync_ac0988aba3254290:()=>Da,__wbg_require_60cc747a6bc5215a:()=>La,__wbg_resolve_4851785c9c5f573d:()=>ka,__wbg_set_37837023f3d740e8:()=>Ea,__wbg_set_3f1d0b984ed272ed:()=>Ra,__wbg_set_65595bdd868b3009:()=>Ta,__wbg_set_8fc6bf8a5b1071d1:()=>Ja,__wbg_set_bb8cecf6a62b9f46:()=>Va,__wbg_set_wasm:()=>nn,__wbg_setindex_dcd71eabf405bde1:()=>Ua,__wbg_stack_0ed75d68575b0f3c:()=>Pa,__wbg_static_accessor_GLOBAL_88a902d13a557d07:()=>Ba,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:()=>Ma,__wbg_static_accessor_SELF_37c5d418e4bf5819:()=>za,__wbg_static_accessor_WINDOW_5de37043a91a9c40:()=>ja,__wbg_subarray_aa9065fa9dc5df96:()=>Wa,__wbg_then_44b73946d2fb3e7d:()=>Ha,__wbg_value_cd1ffa7b1ab794f1:()=>qa,__wbg_versions_c01dfd4722a88165:()=>$a,__wbg_versionvector_new:()=>Ka,__wbg_warn_90235b184e422485:()=>Ga,__wbindgen_as_number:()=>Qa,__wbindgen_bigint_from_i64:()=>Xa,__wbindgen_bigint_from_u64:()=>Ya,__wbindgen_bigint_get_as_i64:()=>Za,__wbindgen_boolean_get:()=>ei,__wbindgen_cb_drop:()=>ti,__wbindgen_closure_wrapper718:()=>ri,__wbindgen_closure_wrapper721:()=>_i,__wbindgen_debug_string:()=>oi,__wbindgen_error_new:()=>ni,__wbindgen_in:()=>si,__wbindgen_init_externref_table:()=>Q,__wbindgen_is_array:()=>ai,__wbindgen_is_bigint:()=>ii,__wbindgen_is_falsy:()=>li,__wbindgen_is_function:()=>gi,__wbindgen_is_null:()=>ci,__wbindgen_is_object:()=>di,__wbindgen_is_string:()=>wi,__wbindgen_is_undefined:()=>bi,__wbindgen_jsval_eq:()=>ui,__wbindgen_jsval_loose_eq:()=>pi,__wbindgen_memory:()=>hi,__wbindgen_number_get:()=>fi,__wbindgen_number_new:()=>mi,__wbindgen_rethrow:()=>vi,__wbindgen_string_get:()=>yi,__wbindgen_string_new:()=>xi,__wbindgen_throw:()=>Si,__wbindgen_typeof:()=>Ci,callPendingEvents:()=>so,decodeFrontiers:()=>Ti,decodeImportBlobMeta:()=>Pi,encodeFrontiers:()=>Bi,redactJsonUpdates:()=>Vi,run:()=>Mi,setDebug:()=>Ji},1),nn=function(_){r=_};var i=0,E=null;function C(){return(E===null||E.byteLength===0)&&(E=new Uint8Array(r.memory.buffer)),E}var R=new(typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder)("utf-8"),Ri=typeof R.encodeInto=="function"?function(_,e){return R.encodeInto(_,e)}:function(_,e){let t=R.encode(_);return e.set(t),{read:_.length,written:t.length}};function c(_,e,t){if(t===void 0){let g=R.encode(_),p=e(g.length,1)>>>0;return C().subarray(p,p+g.length).set(g),i=g.length,p}let o=_.length,s=e(o,1)>>>0,a=C(),l=0;for(;l<o;l++){let g=_.charCodeAt(l);if(g>127)break;a[s+l]=g}if(l!==o){l!==0&&(_=_.slice(l)),s=t(s,o,o=l+_.length*3,1)>>>0;let g=C().subarray(s+l,s+o),p=Ri(_,g);l+=p.written,s=t(s,o,l,1)>>>0}return i=l,s}var A=null;function b(){return(A===null||A.buffer.detached===!0||A.buffer.detached===void 0&&A.buffer!==r.memory.buffer)&&(A=new DataView(r.memory.buffer)),A}function S(_){let e=r.__externref_table_alloc();return r.__wbindgen_export_4.set(e,_),e}function u(_,e){try{return _.apply(this,e)}catch(t){let o=S(t);r.__wbindgen_exn_store(o)}}var vs=new(typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder)("utf-8",{ignoreBOM:!0,fatal:!0});vs.decode();function d(_,e){return _>>>=0,vs.decode(C().subarray(_,_+e))}function w(_){return _==null}var ys=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>{r.__wbindgen_export_6.get(_.dtor)(_.a,_.b)});function xs(_,e,t,o){let s={a:_,b:e,cnt:1,dtor:t},a=(...l)=>{s.cnt++;let g=s.a;s.a=0;try{return o(g,s.b,...l)}finally{--s.cnt===0?(r.__wbindgen_export_6.get(s.dtor)(g,s.b),ys.unregister(s)):s.a=g}};return a.original=s,ys.register(a,s,s),a}function Y(_){let e=typeof _;if(e=="number"||e=="boolean"||_==null)return`${_}`;if(e=="string")return`"${_}"`;if(e=="symbol"){let s=_.description;return s==null?"Symbol":`Symbol(${s})`}if(e=="function"){let s=_.name;return typeof s=="string"&&s.length>0?`Function(${s})`:"Function"}if(Array.isArray(_)){let s=_.length,a="[";s>0&&(a+=Y(_[0]));for(let l=1;l<s;l++)a+=", "+Y(_[l]);return a+="]",a}let t=/\[object ([^\]]+)\]/.exec(toString.call(_)),o;if(t&&t.length>1)o=t[1];else return toString.call(_);if(o=="Object")try{return"Object("+JSON.stringify(_)+")"}catch{return"Object"}return _ instanceof Error?`${_.name}: ${_.message}
2
+ ${_.stack}`:o}function n(_){let e=r.__wbindgen_export_4.get(_);return r.__externref_table_dealloc(_),e}function O(_,e){if(!(_ instanceof e))throw Error(`expected instance of ${e.name}`)}function m(_,e){let t=e(_.length*1,1)>>>0;return C().set(_,t/1),i=_.length,t}function v(_,e){return _>>>=0,C().subarray(_/1,_/1+e)}function f(_,e){_>>>=0;let t=b(),o=[];for(let s=_;s<_+4*e;s+=4)o.push(r.__wbindgen_export_4.get(t.getUint32(s,!0)));return r.__externref_drop_slice(_,e),o}so=function(){r.callPendingEvents()};function Ti(_){let e=m(_,r.__wbindgen_malloc),t=i,o=r.decodeFrontiers(e,t);if(o[2])throw n(o[1]);return n(o[0])}function Ji(){r.setDebug()}function Vi(_,e){let t=r.redactJsonUpdates(_,e);if(t[2])throw n(t[1]);return n(t[0])}function Ui(){let _,e;try{let t=r.LORO_VERSION();return _=t[0],e=t[1],d(t[0],t[1])}finally{r.__wbindgen_free(_,e,1)}}function Pi(_,e){let t=m(_,r.__wbindgen_malloc),o=i,s=r.decodeImportBlobMeta(t,o,e);if(s[2])throw n(s[1]);return n(s[0])}function h(_,e){let t=e(_.length*4,4)>>>0;for(let o=0;o<_.length;o++){let s=S(_[o]);b().setUint32(t+4*o,s,!0)}return i=_.length,t}function Bi(_){let e=h(_,r.__wbindgen_malloc),t=i,o=r.encodeFrontiers(e,t);if(o[3])throw n(o[2]);var s=v(o[0],o[1]).slice();return r.__wbindgen_free(o[0],o[1]*1,1),s}function Mi(){r.run()}function zi(_,e,t){r.closure9_externref_shim(_,e,t)}function ji(_,e){r._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h423c5eefcad13156(_,e)}let Z,ee,te,re,_e,T,J,V,U,P,B,M,z,j,W,H,oe,F,ne,q,y;Z=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_awarenesswasm_free(_>>>0,1)),Yo=class{__destroy_into_raw(){let _=this.__wbg_ptr;return this.__wbg_ptr=0,Z.unregister(this),_}free(){let _=this.__destroy_into_raw();r.__wbg_awarenesswasm_free(_,0)}getAllStates(){let _=r.awarenesswasm_getAllStates(this.__wbg_ptr);if(_[2])throw n(_[1]);return n(_[0])}getTimestamp(_){let e=r.awarenesswasm_getTimestamp(this.__wbg_ptr,_);if(e[3])throw n(e[2]);return e[0]===0?void 0:e[1]}setLocalState(_){r.awarenesswasm_setLocalState(this.__wbg_ptr,_)}removeOutdated(){let _=r.awarenesswasm_removeOutdated(this.__wbg_ptr);var e=f(_[0],_[1]).slice();return r.__wbindgen_free(_[0],_[1]*4,4),e}constructor(_,e){let t=r.awarenesswasm_new(_,e);if(t[2])throw n(t[1]);return this.__wbg_ptr=t[0]>>>0,Z.register(this,this.__wbg_ptr,this),this}peer(){return r.awarenesswasm_peer(this.__wbg_ptr)}apply(_){let e=m(_,r.__wbindgen_malloc),t=i,o=r.awarenesswasm_apply(this.__wbg_ptr,e,t);if(o[2])throw n(o[1]);return n(o[0])}peers(){let _=r.awarenesswasm_peers(this.__wbg_ptr);var e=f(_[0],_[1]).slice();return r.__wbindgen_free(_[0],_[1]*4,4),e}encode(_){let e=r.awarenesswasm_encode(this.__wbg_ptr,_);if(e[3])throw n(e[2]);var t=v(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*1,1),t}length(){return r.awarenesswasm_length(this.__wbg_ptr)}isEmpty(){return r.awarenesswasm_isEmpty(this.__wbg_ptr)!==0}getState(_){let e=r.awarenesswasm_getState(this.__wbg_ptr,_);if(e[2])throw n(e[1]);return n(e[0])}encodeAll(){let _=r.awarenesswasm_encodeAll(this.__wbg_ptr);var e=v(_[0],_[1]).slice();return r.__wbindgen_free(_[0],_[1]*1,1),e}},ee=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_changemodifier_free(_>>>0,1)),te=class X{static __wrap(e){e>>>=0;let t=Object.create(X.prototype);return t.__wbg_ptr=e,ee.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,ee.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_changemodifier_free(e,0)}setMessage(e){let t=c(e,r.__wbindgen_malloc,r.__wbindgen_realloc),o=i,s=r.changemodifier_setMessage(this.__wbg_ptr,t,o);return X.__wrap(s)}setTimestamp(e){let t=r.changemodifier_setTimestamp(this.__wbg_ptr,e);return X.__wrap(t)}},re=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_cursor_free(_>>>0,1)),x=class hs{static __wrap(e){e>>>=0;let t=Object.create(hs.prototype);return t.__wbg_ptr=e,re.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,re.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_cursor_free(e,0)}containerId(){return r.cursor_containerId(this.__wbg_ptr)}pos(){let e=r.cursor_pos(this.__wbg_ptr);if(e[2])throw n(e[1]);return n(e[0])}kind(){return r.cursor_kind(this.__wbg_ptr)}side(){return r.cursor_side(this.__wbg_ptr)}static decode(e){let t=m(e,r.__wbindgen_malloc),o=i,s=r.cursor_decode(t,o);if(s[2])throw n(s[1]);return hs.__wrap(s[0])}encode(){let e=r.cursor_encode(this.__wbg_ptr);var t=v(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*1,1),t}},_e=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_ephemeralstorewasm_free(_>>>0,1)),F_=class{__destroy_into_raw(){let _=this.__wbg_ptr;return this.__wbg_ptr=0,_e.unregister(this),_}free(){let _=this.__destroy_into_raw();r.__wbg_ephemeralstorewasm_free(_,0)}getAllStates(){let _=r.ephemeralstorewasm_getAllStates(this.__wbg_ptr);if(_[2])throw n(_[1]);return n(_[0])}removeOutdated(){r.ephemeralstorewasm_removeOutdated(this.__wbg_ptr)}subscribeLocalUpdates(_){return r.ephemeralstorewasm_subscribeLocalUpdates(this.__wbg_ptr,_)}get(_){let e=c(_,r.__wbindgen_malloc,r.__wbindgen_realloc),t=i;return r.ephemeralstorewasm_get(this.__wbg_ptr,e,t)}constructor(_){return this.__wbg_ptr=r.ephemeralstorewasm_new(_)>>>0,_e.register(this,this.__wbg_ptr,this),this}set(_,e){let t=c(_,r.__wbindgen_malloc,r.__wbindgen_realloc),o=i;r.ephemeralstorewasm_set(this.__wbg_ptr,t,o,e)}keys(){let _=r.ephemeralstorewasm_keys(this.__wbg_ptr);var e=f(_[0],_[1]).slice();return r.__wbindgen_free(_[0],_[1]*4,4),e}apply(_){let e=m(_,r.__wbindgen_malloc),t=i,o=r.ephemeralstorewasm_apply(this.__wbg_ptr,e,t);if(o[1])throw n(o[0])}delete(_){let e=c(_,r.__wbindgen_malloc,r.__wbindgen_realloc),t=i;r.ephemeralstorewasm_delete(this.__wbg_ptr,e,t)}encode(_){let e=c(_,r.__wbindgen_malloc,r.__wbindgen_realloc),t=i,o=r.ephemeralstorewasm_encode(this.__wbg_ptr,e,t);var s=v(o[0],o[1]).slice();return r.__wbindgen_free(o[0],o[1]*1,1),s}isEmpty(){return r.ephemeralstorewasm_isEmpty(this.__wbg_ptr)!==0}encodeAll(){let _=r.ephemeralstorewasm_encodeAll(this.__wbg_ptr);var e=v(_[0],_[1]).slice();return r.__wbindgen_free(_[0],_[1]*1,1),e}subscribe(_){return r.ephemeralstorewasm_subscribe(this.__wbg_ptr,_)}},T=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorocounter_free(_>>>0,1)),J=class Ni{static __wrap(e){e>>>=0;let t=Object.create(Ni.prototype);return t.__wbg_ptr=e,T.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,T.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorocounter_free(e,0)}isAttached(){return r.lorocounter_isAttached(this.__wbg_ptr)!==0}getAttached(){return r.lorocounter_getAttached(this.__wbg_ptr)}getShallowValue(){let e=r.lorocounter_getShallowValue(this.__wbg_ptr);if(e[2])throw n(e[1]);return e[0]}get id(){return r.lorocounter_id(this.__wbg_ptr)}constructor(){return this.__wbg_ptr=r.lorocounter_new()>>>0,T.register(this,this.__wbg_ptr,this),this}kind(){return r.lorocounter_kind(this.__wbg_ptr)}parent(){return r.lorocounter_parent(this.__wbg_ptr)}toJSON(){let e=r.lorocounter_toJSON(this.__wbg_ptr);if(e[2])throw n(e[1]);return e[0]}decrement(e){let t=r.lorocounter_decrement(this.__wbg_ptr,e);if(t[1])throw n(t[0])}get value(){let e=r.lorocounter_value(this.__wbg_ptr);if(e[2])throw n(e[1]);return e[0]}increment(e){let t=r.lorocounter_increment(this.__wbg_ptr,e);if(t[1])throw n(t[0])}subscribe(e){let t=r.lorocounter_subscribe(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return n(t[0])}},V=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorodoc_free(_>>>0,1)),G=class L{static __wrap(e){e>>>=0;let t=Object.create(L.prototype);return t.__wbg_ptr=e,V.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,V.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorodoc_free(e,0)}applyDiff(e){let t=r.lorodoc_applyDiff(this.__wbg_ptr,e);if(t[1])throw n(t[0])}isShallow(){return r.lorodoc_isShallow(this.__wbg_ptr)!==0}changeCount(){return r.lorodoc_changeCount(this.__wbg_ptr)>>>0}getByPath(e){let t=c(e,r.__wbindgen_malloc,r.__wbindgen_realloc),o=i;return r.lorodoc_getByPath(this.__wbg_ptr,t,o)}getCounter(e){let t=r.lorodoc_getCounter(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return J.__wrap(t[0])}isDetached(){return r.lorodoc_isDetached(this.__wbg_ptr)!==0}get peerIdStr(){return r.lorodoc_peerIdStr(this.__wbg_ptr)}setPeerId(e){let t=r.lorodoc_setPeerId(this.__wbg_ptr,e);if(t[1])throw n(t[0])}getCursorPos(e){O(e,x);let t=r.lorodoc_getCursorPos(this.__wbg_ptr,e.__wbg_ptr);if(t[2])throw n(t[1]);return n(t[0])}hasContainer(e){return r.lorodoc_hasContainer(this.__wbg_ptr,e)!==0}importBatch(e){let t=r.lorodoc_importBatch(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return n(t[0])}cmpFrontiers(e,t){let o=h(e,r.__wbindgen_malloc),s=i,a=h(t,r.__wbindgen_malloc),l=i,g=r.lorodoc_cmpFrontiers(this.__wbg_ptr,o,s,a,l);if(g[2])throw n(g[1]);return n(g[0])}debugHistory(){r.lorodoc_debugHistory(this.__wbg_ptr)}static fromSnapshot(e){let t=m(e,r.__wbindgen_malloc),o=i,s=r.lorodoc_fromSnapshot(t,o);if(s[2])throw n(s[1]);return L.__wrap(s[0])}getChangeAt(e){let t=r.lorodoc_getChangeAt(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return n(t[0])}oplogVersion(){let e=r.lorodoc_oplogVersion(this.__wbg_ptr);return y.__wrap(e)}getMovableList(e){let t=r.lorodoc_getMovableList(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return z.__wrap(t[0])}frontiersToVV(e){let t=h(e,r.__wbindgen_malloc),o=i,s=r.lorodoc_frontiersToVV(this.__wbg_ptr,t,o);if(s[2])throw n(s[1]);return y.__wrap(s[0])}getAllChanges(){return r.lorodoc_getAllChanges(this.__wbg_ptr)}oplogFrontiers(){let e=r.lorodoc_oplogFrontiers(this.__wbg_ptr);if(e[2])throw n(e[1]);return n(e[0])}vvToFrontiers(e){O(e,y);let t=r.lorodoc_vvToFrontiers(this.__wbg_ptr,e.__wbg_ptr);if(t[2])throw n(t[1]);return n(t[0])}shallowSinceVV(){let e=r.lorodoc_shallowSinceVV(this.__wbg_ptr);return y.__wrap(e)}configTextStyle(e){let t=r.lorodoc_configTextStyle(this.__wbg_ptr,e);if(t[1])throw n(t[0])}getOpsInChange(e){let t=r.lorodoc_getOpsInChange(this.__wbg_ptr,e);if(t[3])throw n(t[2]);var o=f(t[0],t[1]).slice();return r.__wbindgen_free(t[0],t[1]*4,4),o}getShallowValue(){let e=r.lorodoc_getShallowValue(this.__wbg_ptr);if(e[2])throw n(e[1]);return n(e[0])}checkoutToLatest(){let e=r.lorodoc_checkoutToLatest(this.__wbg_ptr);if(e[1])throw n(e[0])}cmpWithFrontiers(e){let t=h(e,r.__wbindgen_malloc),o=i,s=r.lorodoc_cmpWithFrontiers(this.__wbg_ptr,t,o);if(s[2])throw n(s[1]);return s[0]}exportJsonInIdSpan(e){let t=r.lorodoc_exportJsonInIdSpan(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return n(t[0])}subscribeJsonpath(e,t){let o=c(e,r.__wbindgen_malloc,r.__wbindgen_realloc),s=i,a=r.lorodoc_subscribeJsonpath(this.__wbg_ptr,o,s,t);if(a[2])throw n(a[1]);return n(a[0])}deleteRootContainer(e){let t=r.lorodoc_deleteRootContainer(this.__wbg_ptr,e);if(t[1])throw n(t[0])}exportJsonUpdates(e,t,o){let s=r.lorodoc_exportJsonUpdates(this.__wbg_ptr,e,t,w(o)?16777215:o?1:0);if(s[2])throw n(s[1]);return n(s[0])}getContainerById(e){let t=r.lorodoc_getContainerById(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return n(t[0])}getPendingTxnLength(){return r.lorodoc_getPendingTxnLength(this.__wbg_ptr)>>>0}importJsonUpdates(e){let t=r.lorodoc_importJsonUpdates(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return n(t[0])}importUpdateBatch(e){let t=r.lorodoc_importUpdateBatch(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return n(t[0])}setDetachedEditing(e){r.lorodoc_setDetachedEditing(this.__wbg_ptr,e)}setRecordTimestamp(e){r.lorodoc_setRecordTimestamp(this.__wbg_ptr,e)}subscribePreCommit(e){return r.lorodoc_subscribePreCommit(this.__wbg_ptr,e)}findIdSpansBetween(e,t){let o=h(e,r.__wbindgen_malloc),s=i,a=h(t,r.__wbindgen_malloc),l=i,g=r.lorodoc_findIdSpansBetween(this.__wbg_ptr,o,s,a,l);if(g[2])throw n(g[1]);return n(g[0])}getChangeAtLamport(e,t){let o=c(e,r.__wbindgen_malloc,r.__wbindgen_realloc),s=i,a=r.lorodoc_getChangeAtLamport(this.__wbg_ptr,o,s,t);if(a[2])throw n(a[1]);return n(a[0])}getPathToContainer(e){let t=r.lorodoc_getPathToContainer(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return n(t[0])}getChangedContainersIn(e,t){let o=r.lorodoc_getChangedContainersIn(this.__wbg_ptr,e,t);if(o[3])throw n(o[2]);var s=f(o[0],o[1]).slice();return r.__wbindgen_free(o[0],o[1]*4,4),s}getDeepValueWithID(){return r.lorodoc_getDeepValueWithID(this.__wbg_ptr)}setNextCommitOrigin(e){let t=c(e,r.__wbindgen_malloc,r.__wbindgen_realloc),o=i;r.lorodoc_setNextCommitOrigin(this.__wbg_ptr,t,o)}getUncommittedOpsAsJson(){let e=r.lorodoc_getUncommittedOpsAsJson(this.__wbg_ptr);if(e[2])throw n(e[1]);return n(e[0])}setNextCommitMessage(e){let t=c(e,r.__wbindgen_malloc,r.__wbindgen_realloc),o=i;r.lorodoc_setNextCommitMessage(this.__wbg_ptr,t,o)}setNextCommitOptions(e){let t=r.lorodoc_setNextCommitOptions(this.__wbg_ptr,e);if(t[1])throw n(t[0])}shallowSinceFrontiers(){let e=r.lorodoc_shallowSinceFrontiers(this.__wbg_ptr);if(e[2])throw n(e[1]);return n(e[0])}subscribeLocalUpdates(e){return r.lorodoc_subscribeLocalUpdates(this.__wbg_ptr,e)}travelChangeAncestors(e,t){let o=h(e,r.__wbindgen_malloc),s=i,a=r.lorodoc_travelChangeAncestors(this.__wbg_ptr,o,s,t);if(a[1])throw n(a[0])}clearNextCommitOptions(){r.lorodoc_clearNextCommitOptions(this.__wbg_ptr)}configDefaultTextStyle(e){let t=r.lorodoc_configDefaultTextStyle(this.__wbg_ptr,e);if(t[1])throw n(t[0])}setChangeMergeInterval(e){r.lorodoc_setChangeMergeInterval(this.__wbg_ptr,e)}setNextCommitTimestamp(e){r.lorodoc_setNextCommitTimestamp(this.__wbg_ptr,e)}setHideEmptyRootContainers(e){let t=r.lorodoc_setHideEmptyRootContainers(this.__wbg_ptr,e);if(t[1])throw n(t[0])}isDetachedEditingEnabled(){return r.lorodoc_isDetachedEditingEnabled(this.__wbg_ptr)!==0}subscribeFirstCommitFromPeer(e){return r.lorodoc_subscribeFirstCommitFromPeer(this.__wbg_ptr,e)}constructor(){return this.__wbg_ptr=r.lorodoc_new()>>>0,V.register(this,this.__wbg_ptr,this),this}diff(e,t,o){let s=h(e,r.__wbindgen_malloc),a=i,l=h(t,r.__wbindgen_malloc),g=i,p=r.lorodoc_diff(this.__wbg_ptr,s,a,l,g,w(o)?16777215:o?1:0);if(p[2])throw n(p[1]);return n(p[0])}fork(){let e=r.lorodoc_fork(this.__wbg_ptr);return L.__wrap(e)}attach(){r.lorodoc_attach(this.__wbg_ptr)}commit(e){let t=r.lorodoc_commit(this.__wbg_ptr,w(e)?0:S(e));if(t[1])throw n(t[0])}detach(){r.lorodoc_detach(this.__wbg_ptr)}export(e){let t=r.lorodoc_export(this.__wbg_ptr,e);if(t[3])throw n(t[2]);var o=v(t[0],t[1]).slice();return r.__wbindgen_free(t[0],t[1]*1,1),o}import(e){let t=m(e,r.__wbindgen_malloc),o=i,s=r.lorodoc_import(this.__wbg_ptr,t,o);if(s[2])throw n(s[1]);return n(s[0])}forkAt(e){let t=h(e,r.__wbindgen_malloc),o=i,s=r.lorodoc_forkAt(this.__wbg_ptr,t,o);if(s[2])throw n(s[1]);return L.__wrap(s[0])}getMap(e){let t=r.lorodoc_getMap(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return I.__wrap(t[0])}opCount(){return r.lorodoc_opCount(this.__wbg_ptr)>>>0}get peerId(){let e=r.lorodoc_peerId(this.__wbg_ptr);return BigInt.asUintN(64,e)}toJSON(){let e=r.lorodoc_toJSON(this.__wbg_ptr);if(e[2])throw n(e[1]);return n(e[0])}version(){let e=r.lorodoc_version(this.__wbg_ptr);return y.__wrap(e)}checkout(e){let t=h(e,r.__wbindgen_malloc),o=i,s=r.lorodoc_checkout(this.__wbg_ptr,t,o);if(s[1])throw n(s[0])}getList(e){let t=r.lorodoc_getList(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return P.__wrap(t[0])}getText(e){let t=r.lorodoc_getText(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return D.__wrap(t[0])}getTree(e){let t=r.lorodoc_getTree(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return H.__wrap(t[0])}frontiers(){let e=r.lorodoc_frontiers(this.__wbg_ptr);if(e[2])throw n(e[1]);return n(e[0])}JSONPath(e){let t=c(e,r.__wbindgen_malloc,r.__wbindgen_realloc),o=i,s=r.lorodoc_JSONPath(this.__wbg_ptr,t,o);if(s[2])throw n(s[1]);return n(s[0])}revertTo(e){let t=h(e,r.__wbindgen_malloc),o=i,s=r.lorodoc_revertTo(this.__wbg_ptr,t,o);if(s[1])throw n(s[0])}subscribe(e){return r.lorodoc_subscribe(this.__wbg_ptr,e)}},U=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorolist_free(_>>>0,1)),P=class Fi{static __wrap(e){e>>>=0;let t=Object.create(Fi.prototype);return t.__wbg_ptr=e,U.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,U.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorolist_free(e,0)}isAttached(){return r.lorolist_isAttached(this.__wbg_ptr)!==0}getAttached(){return r.lorolist_getAttached(this.__wbg_ptr)}pushContainer(e){let t=r.lorolist_pushContainer(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return n(t[0])}insertContainer(e,t){let o=r.lorolist_insertContainer(this.__wbg_ptr,e,t);if(o[2])throw n(o[1]);return n(o[0])}getShallowValue(){return r.lorolist_getShallowValue(this.__wbg_ptr)}get id(){return r.lorolist_id(this.__wbg_ptr)}get(e){return r.lorolist_get(this.__wbg_ptr,e)}constructor(){return this.__wbg_ptr=r.lorolist_new()>>>0,U.register(this,this.__wbg_ptr,this),this}pop(){let e=r.lorolist_pop(this.__wbg_ptr);if(e[2])throw n(e[1]);return n(e[0])}kind(){return r.lorolist_kind(this.__wbg_ptr)}push(e){let t=r.lorolist_push(this.__wbg_ptr,e);if(t[1])throw n(t[0])}clear(){let e=r.lorolist_clear(this.__wbg_ptr);if(e[1])throw n(e[0])}delete(e,t){let o=r.lorolist_delete(this.__wbg_ptr,e,t);if(o[1])throw n(o[0])}insert(e,t){let o=r.lorolist_insert(this.__wbg_ptr,e,t);if(o[1])throw n(o[0])}get length(){return r.lorolist_length(this.__wbg_ptr)>>>0}parent(){return r.lorolist_parent(this.__wbg_ptr)}getIdAt(e){let t=r.lorolist_getIdAt(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return n(t[0])}toJSON(){return r.lorolist_toJSON(this.__wbg_ptr)}toArray(){let e=r.lorolist_toArray(this.__wbg_ptr);var t=f(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}getCursor(e,t){let o=r.lorolist_getCursor(this.__wbg_ptr,e,t);return o===0?void 0:x.__wrap(o)}isDeleted(){return r.lorolist_isDeleted(this.__wbg_ptr)!==0}subscribe(e){let t=r.lorolist_subscribe(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return n(t[0])}},B=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_loromap_free(_>>>0,1)),I=class Di{static __wrap(e){e>>>=0;let t=Object.create(Di.prototype);return t.__wbg_ptr=e,B.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,B.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_loromap_free(e,0)}isAttached(){return r.loromap_isAttached(this.__wbg_ptr)!==0}getAttached(){return r.loromap_getAttached(this.__wbg_ptr)}getLastEditor(e){let t=c(e,r.__wbindgen_malloc,r.__wbindgen_realloc),o=i;return r.loromap_getLastEditor(this.__wbg_ptr,t,o)}setContainer(e,t){let o=c(e,r.__wbindgen_malloc,r.__wbindgen_realloc),s=i,a=r.loromap_setContainer(this.__wbg_ptr,o,s,t);if(a[2])throw n(a[1]);return n(a[0])}getShallowValue(){return r.loromap_getShallowValue(this.__wbg_ptr)}getOrCreateContainer(e,t){let o=c(e,r.__wbindgen_malloc,r.__wbindgen_realloc),s=i,a=r.loromap_getOrCreateContainer(this.__wbg_ptr,o,s,t);if(a[2])throw n(a[1]);return n(a[0])}get id(){return r.loromap_id(this.__wbg_ptr)}get(e){let t=c(e,r.__wbindgen_malloc,r.__wbindgen_realloc),o=i;return r.loromap_get(this.__wbg_ptr,t,o)}constructor(){return this.__wbg_ptr=r.loromap_new()>>>0,B.register(this,this.__wbg_ptr,this),this}keys(){let e=r.loromap_keys(this.__wbg_ptr);var t=f(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}kind(){return r.loromap_kind(this.__wbg_ptr)}get size(){return r.loromap_size(this.__wbg_ptr)>>>0}clear(){let e=r.loromap_clear(this.__wbg_ptr);if(e[1])throw n(e[0])}delete(e){let t=c(e,r.__wbindgen_malloc,r.__wbindgen_realloc),o=i,s=r.loromap_delete(this.__wbg_ptr,t,o);if(s[1])throw n(s[0])}set(e,t){let o=c(e,r.__wbindgen_malloc,r.__wbindgen_realloc),s=i,a=r.loromap_set(this.__wbg_ptr,o,s,t);if(a[1])throw n(a[0])}parent(){return r.loromap_parent(this.__wbg_ptr)}values(){let e=r.loromap_values(this.__wbg_ptr);var t=f(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}entries(){let e=r.loromap_entries(this.__wbg_ptr);var t=f(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}toJSON(){return r.loromap_toJSON(this.__wbg_ptr)}isDeleted(){return r.loromap_isDeleted(this.__wbg_ptr)!==0}subscribe(e){let t=r.loromap_subscribe(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return n(t[0])}},M=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_loromovablelist_free(_>>>0,1)),z=class Li{static __wrap(e){e>>>=0;let t=Object.create(Li.prototype);return t.__wbg_ptr=e,M.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,M.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_loromovablelist_free(e,0)}isAttached(){return r.loromovablelist_isAttached(this.__wbg_ptr)!==0}getCreatorAt(e){return r.loromovablelist_getCreatorAt(this.__wbg_ptr,e)}getAttached(){return r.loromovablelist_getAttached(this.__wbg_ptr)}setContainer(e,t){let o=r.loromovablelist_setContainer(this.__wbg_ptr,e,t);if(o[2])throw n(o[1]);return n(o[0])}getLastMoverAt(e){return r.loromovablelist_getLastMoverAt(this.__wbg_ptr,e)}pushContainer(e){let t=r.loromovablelist_pushContainer(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return n(t[0])}getLastEditorAt(e){return r.loromovablelist_getLastEditorAt(this.__wbg_ptr,e)}insertContainer(e,t){let o=r.loromovablelist_insertContainer(this.__wbg_ptr,e,t);if(o[2])throw n(o[1]);return n(o[0])}getShallowValue(){return r.loromovablelist_getShallowValue(this.__wbg_ptr)}get id(){return r.loromovablelist_id(this.__wbg_ptr)}get(e){return r.loromovablelist_get(this.__wbg_ptr,e)}move(e,t){let o=r.loromovablelist_move(this.__wbg_ptr,e,t);if(o[1])throw n(o[0])}constructor(){return this.__wbg_ptr=r.loromovablelist_new()>>>0,M.register(this,this.__wbg_ptr,this),this}pop(){let e=r.loromovablelist_pop(this.__wbg_ptr);if(e[2])throw n(e[1]);return n(e[0])}set(e,t){let o=r.loromovablelist_set(this.__wbg_ptr,e,t);if(o[1])throw n(o[0])}kind(){return r.loromovablelist_kind(this.__wbg_ptr)}push(e){let t=r.loromovablelist_push(this.__wbg_ptr,e);if(t[1])throw n(t[0])}clear(){let e=r.loromovablelist_clear(this.__wbg_ptr);if(e[1])throw n(e[0])}delete(e,t){let o=r.loromovablelist_delete(this.__wbg_ptr,e,t);if(o[1])throw n(o[0])}insert(e,t){let o=r.loromovablelist_insert(this.__wbg_ptr,e,t);if(o[1])throw n(o[0])}get length(){return r.loromovablelist_length(this.__wbg_ptr)>>>0}parent(){return r.loromovablelist_parent(this.__wbg_ptr)}toJSON(){return r.loromovablelist_toJSON(this.__wbg_ptr)}toArray(){let e=r.loromovablelist_toArray(this.__wbg_ptr);var t=f(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}getCursor(e,t){let o=r.loromovablelist_getCursor(this.__wbg_ptr,e,t);return o===0?void 0:x.__wrap(o)}isDeleted(){return r.loromovablelist_isDeleted(this.__wbg_ptr)!==0}subscribe(e){let t=r.loromovablelist_subscribe(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return n(t[0])}},j=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorotext_free(_>>>0,1)),D=class ki{static __wrap(e){e>>>=0;let t=Object.create(ki.prototype);return t.__wbg_ptr=e,j.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,j.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorotext_free(e,0)}applyDelta(e){let t=r.lorotext_applyDelta(this.__wbg_ptr,e);if(t[1])throw n(t[0])}convertPos(e,t,o){let s=c(t,r.__wbindgen_malloc,r.__wbindgen_realloc),a=i,l=c(o,r.__wbindgen_malloc,r.__wbindgen_realloc),g=i;return r.lorotext_convertPos(this.__wbg_ptr,e,s,a,l,g)}deleteUtf8(e,t){let o=r.lorotext_deleteUtf8(this.__wbg_ptr,e,t);if(o[1])throw n(o[0])}getEditorOf(e){return r.lorotext_getEditorOf(this.__wbg_ptr,e)}insertUtf8(e,t){let o=c(t,r.__wbindgen_malloc,r.__wbindgen_realloc),s=i,a=r.lorotext_insertUtf8(this.__wbg_ptr,e,o,s);if(a[1])throw n(a[0])}isAttached(){return r.lorotext_isAttached(this.__wbg_ptr)!==0}sliceDelta(e,t){let o=r.lorotext_sliceDelta(this.__wbg_ptr,e,t);if(o[2])throw n(o[1]);return n(o[0])}getAttached(){return r.lorotext_getAttached(this.__wbg_ptr)}updateByLine(e,t){let o=c(e,r.__wbindgen_malloc,r.__wbindgen_realloc),s=i,a=r.lorotext_updateByLine(this.__wbg_ptr,o,s,t);if(a[1])throw n(a[0])}sliceDeltaUtf8(e,t){let o=r.lorotext_sliceDeltaUtf8(this.__wbg_ptr,e,t);if(o[2])throw n(o[1]);return n(o[0])}getShallowValue(){let e,t;try{let o=r.lorotext_getShallowValue(this.__wbg_ptr);return e=o[0],t=o[1],d(o[0],o[1])}finally{r.__wbindgen_free(e,t,1)}}get id(){return r.lorotext_id(this.__wbg_ptr)}constructor(){return this.__wbg_ptr=r.lorotext_new()>>>0,j.register(this,this.__wbg_ptr,this),this}iter(e){let t=r.lorotext_iter(this.__wbg_ptr,e);if(t[1])throw n(t[0])}kind(){return r.lorotext_kind(this.__wbg_ptr)}mark(e,t,o){let s=c(t,r.__wbindgen_malloc,r.__wbindgen_realloc),a=i,l=r.lorotext_mark(this.__wbg_ptr,e,s,a,o);if(l[1])throw n(l[0])}push(e){let t=c(e,r.__wbindgen_malloc,r.__wbindgen_realloc),o=i,s=r.lorotext_push(this.__wbg_ptr,t,o);if(s[1])throw n(s[0])}slice(e,t){let o,s;try{let g=r.lorotext_slice(this.__wbg_ptr,e,t);var a=g[0],l=g[1];if(g[3])throw a=0,l=0,n(g[2]);return o=a,s=l,d(a,l)}finally{r.__wbindgen_free(o,s,1)}}delete(e,t){let o=r.lorotext_delete(this.__wbg_ptr,e,t);if(o[1])throw n(o[0])}insert(e,t){let o=c(t,r.__wbindgen_malloc,r.__wbindgen_realloc),s=i,a=r.lorotext_insert(this.__wbg_ptr,e,o,s);if(a[1])throw n(a[0])}get length(){return r.lorotext_length(this.__wbg_ptr)>>>0}parent(){return r.lorotext_parent(this.__wbg_ptr)}splice(e,t,o){let s,a;try{let p=c(o,r.__wbindgen_malloc,r.__wbindgen_realloc),$=i,K=r.lorotext_splice(this.__wbg_ptr,e,t,p,$);var l=K[0],g=K[1];if(K[3])throw l=0,g=0,n(K[2]);return s=l,a=g,d(l,g)}finally{r.__wbindgen_free(s,a,1)}}unmark(e,t){let o=c(t,r.__wbindgen_malloc,r.__wbindgen_realloc),s=i,a=r.lorotext_unmark(this.__wbg_ptr,e,o,s);if(a[1])throw n(a[0])}update(e,t){let o=c(e,r.__wbindgen_malloc,r.__wbindgen_realloc),s=i,a=r.lorotext_update(this.__wbg_ptr,o,s,t);if(a[1])throw n(a[0])}charAt(e){let t=r.lorotext_charAt(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return String.fromCodePoint(t[0])}toJSON(){return r.lorotext_toJSON(this.__wbg_ptr)}toDelta(){let e=r.lorotext_toDelta(this.__wbg_ptr);if(e[2])throw n(e[1]);return n(e[0])}getCursor(e,t){let o=r.lorotext_getCursor(this.__wbg_ptr,e,t);return o===0?void 0:x.__wrap(o)}isDeleted(){return r.lorotext_isDeleted(this.__wbg_ptr)!==0}subscribe(e){let t=r.lorotext_subscribe(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return n(t[0])}toString(){let e,t;try{let o=r.lorotext_toString(this.__wbg_ptr);return e=o[0],t=o[1],d(o[0],o[1])}finally{r.__wbindgen_free(e,t,1)}}},W=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorotree_free(_>>>0,1)),H=class Ei{static __wrap(e){e>>>=0;let t=Object.create(Ei.prototype);return t.__wbg_ptr=e,W.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,W.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorotree_free(e,0)}createNode(e,t){let o=r.lorotree_createNode(this.__wbg_ptr,e,w(t)?4294967297:t>>>0);if(o[2])throw n(o[1]);return F.__wrap(o[0])}isAttached(){return r.lorotree_isAttached(this.__wbg_ptr)!==0}getAttached(){return r.lorotree_getAttached(this.__wbg_ptr)}getNodeByID(e){let t=r.lorotree_getNodeByID(this.__wbg_ptr,e);return t===0?void 0:F.__wrap(t)}isNodeDeleted(e){let t=r.lorotree_isNodeDeleted(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return t[0]!==0}getShallowValue(){return r.lorotree_getShallowValue(this.__wbg_ptr)}enableFractionalIndex(e){r.lorotree_enableFractionalIndex(this.__wbg_ptr,e)}disableFractionalIndex(){r.lorotree_disableFractionalIndex(this.__wbg_ptr)}isFractionalIndexEnabled(){return r.lorotree_isFractionalIndexEnabled(this.__wbg_ptr)!==0}get id(){return r.lorotree_id(this.__wbg_ptr)}move(e,t,o){let s=r.lorotree_move(this.__wbg_ptr,e,t,w(o)?4294967297:o>>>0);if(s[1])throw n(s[0])}constructor(){return this.__wbg_ptr=r.lorotree_new()>>>0,W.register(this,this.__wbg_ptr,this),this}kind(){return r.lorotree_kind(this.__wbg_ptr)}nodes(){let e=r.lorotree_nodes(this.__wbg_ptr);var t=f(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}roots(){let e=r.lorotree_roots(this.__wbg_ptr);var t=f(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}delete(e){let t=r.lorotree_delete(this.__wbg_ptr,e);if(t[1])throw n(t[0])}parent(){return r.lorotree_parent(this.__wbg_ptr)}toJSON(){return r.lorotree_toJSON(this.__wbg_ptr)}has(e){return r.lorotree_has(this.__wbg_ptr,e)!==0}toArray(){let e=r.lorotree_toArray(this.__wbg_ptr);if(e[2])throw n(e[1]);return n(e[0])}getNodes(e){let t=r.lorotree_getNodes(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return n(t[0])}isDeleted(){return r.lorotree_isDeleted(this.__wbg_ptr)!==0}subscribe(e){let t=r.lorotree_subscribe(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return n(t[0])}},oe=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorotreenode_free(_>>>0,1)),F=class N{static __wrap(e){e>>>=0;let t=Object.create(N.prototype);return t.__wbg_ptr=e,oe.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,oe.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorotreenode_free(e,0)}creationId(){let e=r.lorotreenode_creationId(this.__wbg_ptr);if(e[2])throw n(e[1]);return n(e[0])}isDeleted(){let e=r.lorotreenode_isDeleted(this.__wbg_ptr);if(e[2])throw n(e[1]);return e[0]!==0}moveBefore(e){O(e,N);let t=r.lorotreenode_moveBefore(this.__wbg_ptr,e.__wbg_ptr);if(t[1])throw n(t[0])}createNode(e){let t=r.lorotreenode_createNode(this.__wbg_ptr,w(e)?4294967297:e>>>0);if(t[2])throw n(t[1]);return N.__wrap(t[0])}getLastMoveId(){let e=r.lorotreenode_getLastMoveId(this.__wbg_ptr);if(e[2])throw n(e[1]);return n(e[0])}toJSON(){let e=r.lorotreenode_toJSON(this.__wbg_ptr);if(e[2])throw n(e[1]);return n(e[0])}fractionalIndex(){let e=r.lorotreenode_fractionalIndex(this.__wbg_ptr);if(e[2])throw n(e[1]);return n(e[0])}__getClassname(){let e,t;try{let o=r.lorotreenode___getClassname(this.__wbg_ptr);return e=o[0],t=o[1],d(o[0],o[1])}finally{r.__wbindgen_free(e,t,1)}}get id(){return r.lorotreenode_id(this.__wbg_ptr)}move(e,t){let o=r.lorotreenode_move(this.__wbg_ptr,e,w(t)?4294967297:t>>>0);if(o[1])throw n(o[0])}get data(){let e=r.lorotreenode_data(this.__wbg_ptr);if(e[2])throw n(e[1]);return I.__wrap(e[0])}index(){let e=r.lorotreenode_index(this.__wbg_ptr);if(e[2])throw n(e[1]);return e[0]===4294967297?void 0:e[0]}parent(){let e=r.lorotreenode_parent(this.__wbg_ptr);if(e[2])throw n(e[1]);return e[0]===0?void 0:N.__wrap(e[0])}creator(){return r.lorotreenode_creator(this.__wbg_ptr)}children(){return r.lorotreenode_children(this.__wbg_ptr)}moveAfter(e){O(e,N);let t=r.lorotreenode_moveAfter(this.__wbg_ptr,e.__wbg_ptr);if(t[1])throw n(t[0])}},ne=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_undomanager_free(_>>>0,1)),K_=class{__destroy_into_raw(){let _=this.__wbg_ptr;return this.__wbg_ptr=0,ne.unregister(this),_}free(){let _=this.__destroy_into_raw();r.__wbg_undomanager_free(_,0)}groupStart(){let _=r.undomanager_groupStart(this.__wbg_ptr);if(_[1])throw n(_[0])}topRedoValue(){return r.undomanager_topRedoValue(this.__wbg_ptr)}topUndoValue(){return r.undomanager_topUndoValue(this.__wbg_ptr)}setMaxUndoSteps(_){r.undomanager_setMaxUndoSteps(this.__wbg_ptr,_)}setMergeInterval(_){r.undomanager_setMergeInterval(this.__wbg_ptr,_)}addExcludeOriginPrefix(_){let e=c(_,r.__wbindgen_malloc,r.__wbindgen_realloc),t=i;r.undomanager_addExcludeOriginPrefix(this.__wbg_ptr,e,t)}constructor(_,e){return O(_,G),this.__wbg_ptr=r.undomanager_new(_.__wbg_ptr,e)>>>0,ne.register(this,this.__wbg_ptr,this),this}peer(){return r.undomanager_peer(this.__wbg_ptr)}redo(){let _=r.undomanager_redo(this.__wbg_ptr);if(_[2])throw n(_[1]);return _[0]!==0}undo(){let _=r.undomanager_undo(this.__wbg_ptr);if(_[2])throw n(_[1]);return _[0]!==0}clear(){r.undomanager_clear(this.__wbg_ptr)}canRedo(){return r.undomanager_canRedo(this.__wbg_ptr)!==0}canUndo(){return r.undomanager_canUndo(this.__wbg_ptr)!==0}groupEnd(){r.undomanager_groupEnd(this.__wbg_ptr)}setOnPop(_){r.undomanager_setOnPop(this.__wbg_ptr,_)}setOnPush(_){r.undomanager_setOnPush(this.__wbg_ptr,_)}},q=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_versionvector_free(_>>>0,1)),y=class k{static __wrap(e){e>>>=0;let t=Object.create(k.prototype);return t.__wbg_ptr=e,q.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,q.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_versionvector_free(e,0)}get(e){let t=r.versionvector_get(this.__wbg_ptr,e);if(t[2])throw n(t[1]);return t[0]===4294967297?void 0:t[0]}constructor(e){let t=r.versionvector_new(e);if(t[2])throw n(t[1]);return this.__wbg_ptr=t[0]>>>0,q.register(this,this.__wbg_ptr,this),this}static decode(e){let t=m(e,r.__wbindgen_malloc),o=i,s=r.versionvector_decode(t,o);if(s[2])throw n(s[1]);return k.__wrap(s[0])}encode(){let e=r.versionvector_encode(this.__wbg_ptr);var t=v(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*1,1),t}length(){return r.versionvector_length(this.__wbg_ptr)>>>0}remove(e){let t=r.versionvector_remove(this.__wbg_ptr,e);if(t[1])throw n(t[0])}setEnd(e){let t=r.versionvector_setEnd(this.__wbg_ptr,e);if(t[1])throw n(t[0])}compare(e){O(e,k);let t=r.versionvector_compare(this.__wbg_ptr,e.__wbg_ptr);return t===4294967297?void 0:t}setLast(e){let t=r.versionvector_setLast(this.__wbg_ptr,e);if(t[1])throw n(t[0])}toJSON(){return r.versionvector_toJSON(this.__wbg_ptr)}static parseJSON(e){let t=r.versionvector_parseJSON(e);if(t[2])throw n(t[1]);return k.__wrap(t[0])}};function Ss(_,e){let t=c(String(e),r.__wbindgen_malloc,r.__wbindgen_realloc),o=i;b().setInt32(_+4,o,!0),b().setInt32(_+0,t,!0)}function Cs(){return u(function(_,e,t){return _.apply(e,t)},arguments)}function As(){return u(function(_,e,t){return Reflect.apply(_,e,t)},arguments)}function Os(_){return _.buffer}function Is(){return u(function(_,e){return _.call(e)},arguments)}function Ns(){return u(function(_,e,t){return _.call(e,t)},arguments)}function Fs(){return u(function(_,e,t,o){return _.call(e,t,o)},arguments)}function Ds(){return u(function(_,e,t,o,s){return _.call(e,t,o,s)},arguments)}function Ls(_){return te.__wrap(_)}function ks(_){return _.crypto}function Es(_){return x.__wrap(_)}function Rs(_){return _.done}function Ts(_){return Object.entries(_)}function Js(_){return _.entries()}function Vs(_,e){console.error(d(_,e))}function Us(_,e){let t,o;try{t=_,o=e,console.error(d(_,e))}finally{r.__wbindgen_free(t,o,1)}}function Ps(_){return Array.from(_)}function Bs(_){return Object.getOwnPropertySymbols(_)}function Ms(){return u(function(_,e){_.getRandomValues(e)},arguments)}function zs(){return u(function(_,e){return Reflect.get(_,e)},arguments)}function js(_,e){return _[e>>>0]}function Ws(_,e){return _[e>>>0]}function Hs(_,e){return _[e]}function qs(_){let e;try{e=_ instanceof ArrayBuffer}catch{e=!1}return e}function $s(_){let e;try{e=_ instanceof Map}catch{e=!1}return e}function Ks(_){let e;try{e=_ instanceof Object}catch{e=!1}return e}function Gs(_){let e;try{e=_ instanceof Uint8Array}catch{e=!1}return e}function Qs(_){return Array.isArray(_)}function Xs(_){return Number.isSafeInteger(_)}function Ys(){return Symbol.iterator}function Zs(_){return _.length}function ea(_){return _.length}function ta(_,e){console.log(d(_,e))}function ra(_,e,t,o,s,a,l,g){let p,$;try{p=_,$=e,console.log(d(_,e),d(t,o),d(s,a),d(l,g))}finally{r.__wbindgen_free(p,$,1)}}function _a(_,e){let t,o;try{t=_,o=e,console.log(d(_,e))}finally{r.__wbindgen_free(t,o,1)}}function oa(_){return J.__wrap(_)}function na(_){return P.__wrap(_)}function sa(_){return I.__wrap(_)}function aa(_){return z.__wrap(_)}function ia(_){return D.__wrap(_)}function la(_){return H.__wrap(_)}function ga(_){return F.__wrap(_)}function ca(_,e){performance.mark(d(_,e))}function da(){return u(function(_,e,t,o){let s,a,l,g;try{s=_,a=e,l=t,g=o,performance.measure(d(_,e),d(t,o))}finally{r.__wbindgen_free(s,a,1),r.__wbindgen_free(l,g,1)}},arguments)}function wa(_){return _.msCrypto}function ba(){return{}}function ua(){return new Map}function pa(){return[]}function ha(){return Error()}function fa(_){return new Uint8Array(_)}function ma(_,e){return Function(d(_,e))}function va(_,e,t){return new Uint8Array(_,e>>>0,t>>>0)}function ya(_){return new Uint8Array(_>>>0)}function xa(_){return Array(_>>>0)}function Sa(_){return _.next}function Ca(){return u(function(_){return _.next()},arguments)}function Aa(_){return _.node}function Oa(){return Date.now()}function Ia(){return u(function(_){return Reflect.ownKeys(_)},arguments)}function Na(_){return _.process}function Fa(_,e){return _.push(e)}function Da(){return u(function(_,e){_.randomFillSync(e)},arguments)}function La(){return u(function(){return module.require},arguments)}function ka(_){return Promise.resolve(_)}function Ea(_,e,t){_[e>>>0]=t}function Ra(_,e,t){_[e]=t}function Ta(_,e,t){_.set(e,t>>>0)}function Ja(_,e,t){return _.set(e,t)}function Va(){return u(function(_,e,t){return Reflect.set(_,e,t)},arguments)}function Ua(_,e,t){_[e>>>0]=t}function Pa(_,e){let t=e.stack,o=c(t,r.__wbindgen_malloc,r.__wbindgen_realloc),s=i;b().setInt32(_+4,s,!0),b().setInt32(_+0,o,!0)}function Ba(){let _=typeof global>"u"?null:global;return w(_)?0:S(_)}function Ma(){let _=typeof globalThis>"u"?null:globalThis;return w(_)?0:S(_)}function za(){let _=typeof self>"u"?null:self;return w(_)?0:S(_)}function ja(){let _=typeof window>"u"?null:window;return w(_)?0:S(_)}function Wa(_,e,t){return _.subarray(e>>>0,t>>>0)}function Ha(_,e){return _.then(e)}function qa(_){return _.value}function $a(_){return _.versions}function Ka(_){return y.__wrap(_)}function Ga(_,e){console.warn(d(_,e))}function Qa(_){return+_}function Xa(_){return _}function Ya(_){return BigInt.asUintN(64,_)}function Za(_,e){let t=e,o=typeof t=="bigint"?t:void 0;b().setBigInt64(_+8,w(o)?BigInt(0):o,!0),b().setInt32(_+0,!w(o),!0)}function ei(_){let e=_;return typeof e=="boolean"?e?1:0:2}function ti(_){let e=_.original;return e.cnt--==1?(e.a=0,!0):!1}function ri(_,e,t){return xs(_,e,10,zi)}function _i(_,e,t){return xs(_,e,10,ji)}function oi(_,e){let t=c(Y(e),r.__wbindgen_malloc,r.__wbindgen_realloc),o=i;b().setInt32(_+4,o,!0),b().setInt32(_+0,t,!0)}function ni(_,e){return Error(d(_,e))}function si(_,e){return _ in e}Q=function(){let _=r.__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 ai(_){return Array.isArray(_)}function ii(_){return typeof _=="bigint"}function li(_){return!_}function gi(_){return typeof _=="function"}function ci(_){return _===null}function di(_){let e=_;return typeof e=="object"&&!!e}function wi(_){return typeof _=="string"}function bi(_){return _===void 0}function ui(_,e){return _===e}function pi(_,e){return _==e}function hi(){return r.memory}function fi(_,e){let t=e,o=typeof t=="number"?t:void 0;b().setFloat64(_+8,w(o)?0:o,!0),b().setInt32(_+0,!w(o),!0)}function mi(_){return _}function vi(_){throw _}function yi(_,e){let t=e,o=typeof t=="string"?t:void 0;var s=w(o)?0:c(o,r.__wbindgen_malloc,r.__wbindgen_realloc),a=i;b().setInt32(_+4,a,!0),b().setInt32(_+0,s,!0)}function xi(_,e){return d(_,e)}function Si(_,e){throw Error(d(_,e))}function Ci(_){return typeof _}Oi=Ai({LORO_VERSION:()=>Nn,__externref_drop_slice:()=>Mo,__externref_table_alloc:()=>un,__externref_table_dealloc:()=>lo,__wbg_awarenesswasm_free:()=>d_,__wbg_changemodifier_free:()=>Ko,__wbg_cursor_free:()=>xn,__wbg_ephemeralstorewasm_free:()=>A_,__wbg_lorocounter_free:()=>Fo,__wbg_lorodoc_free:()=>Tn,__wbg_lorolist_free:()=>k_,__wbg_loromap_free:()=>W_,__wbg_loromovablelist_free:()=>tn,__wbg_lorotext_free:()=>To,__wbg_lorotree_free:()=>ro,__wbg_lorotreenode_free:()=>Q_,__wbg_undomanager_free:()=>s_,__wbg_versionvector_free:()=>Mn,__wbindgen_exn_store:()=>ns,__wbindgen_export_4:()=>m_,__wbindgen_export_6:()=>Zn,__wbindgen_free:()=>dr,__wbindgen_malloc:()=>Ce,__wbindgen_realloc:()=>$n,__wbindgen_start:()=>fr,_dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h423c5eefcad13156:()=>Je,awarenesswasm_apply:()=>De,awarenesswasm_encode:()=>zt,awarenesswasm_encodeAll:()=>So,awarenesswasm_getAllStates:()=>de,awarenesswasm_getState:()=>ho,awarenesswasm_getTimestamp:()=>Dt,awarenesswasm_isEmpty:()=>Jt,awarenesswasm_length:()=>Kt,awarenesswasm_new:()=>ze,awarenesswasm_peer:()=>st,awarenesswasm_peers:()=>Ct,awarenesswasm_removeOutdated:()=>sr,awarenesswasm_setLocalState:()=>cs,callPendingEvents:()=>fe,changemodifier_setMessage:()=>Dr,changemodifier_setTimestamp:()=>et,closure9_externref_shim:()=>Cr,cursor_containerId:()=>Jr,cursor_decode:()=>Ke,cursor_encode:()=>ft,cursor_kind:()=>ln,cursor_pos:()=>dt,cursor_side:()=>Kr,decodeFrontiers:()=>zr,decodeImportBlobMeta:()=>e_,encodeFrontiers:()=>er,ephemeralstorewasm_apply:()=>se,ephemeralstorewasm_delete:()=>j_,ephemeralstorewasm_encode:()=>Rn,ephemeralstorewasm_encodeAll:()=>$o,ephemeralstorewasm_get:()=>yn,ephemeralstorewasm_getAllStates:()=>po,ephemeralstorewasm_isEmpty:()=>f_,ephemeralstorewasm_keys:()=>en,ephemeralstorewasm_new:()=>In,ephemeralstorewasm_removeOutdated:()=>L_,ephemeralstorewasm_set:()=>Ro,ephemeralstorewasm_subscribe:()=>Bn,ephemeralstorewasm_subscribeLocalUpdates:()=>V_,lorocounter_decrement:()=>an,lorocounter_getAttached:()=>Bo,lorocounter_getShallowValue:()=>io,lorocounter_id:()=>to,lorocounter_increment:()=>c_,lorocounter_isAttached:()=>qn,lorocounter_kind:()=>gs,lorocounter_new:()=>C_,lorocounter_parent:()=>os,lorocounter_subscribe:()=>hr,lorocounter_toJSON:()=>Fe,lorocounter_value:()=>Yn,lorodoc_JSONPath:()=>Sr,lorodoc_applyDiff:()=>Me,lorodoc_attach:()=>Te,lorodoc_changeCount:()=>$t,lorodoc_checkout:()=>No,lorodoc_checkoutToLatest:()=>he,lorodoc_clearNextCommitOptions:()=>xo,lorodoc_cmpFrontiers:()=>Tt,lorodoc_cmpWithFrontiers:()=>Mt,lorodoc_commit:()=>Zt,lorodoc_configDefaultTextStyle:()=>$e,lorodoc_configTextStyle:()=>ct,lorodoc_debugHistory:()=>Ft,lorodoc_deleteRootContainer:()=>cr,lorodoc_detach:()=>ps,lorodoc_diff:()=>Se,lorodoc_export:()=>Tr,lorodoc_exportJsonInIdSpan:()=>nt,lorodoc_exportJsonUpdates:()=>Fr,lorodoc_findIdSpansBetween:()=>Mr,lorodoc_fork:()=>Ze,lorodoc_forkAt:()=>St,lorodoc_fromSnapshot:()=>bn,lorodoc_frontiers:()=>ht,lorodoc_frontiersToVV:()=>Zr,lorodoc_getAllChanges:()=>$r,lorodoc_getByPath:()=>n_,lorodoc_getChangeAt:()=>nr,lorodoc_getChangeAtLamport:()=>ce,lorodoc_getChangedContainersIn:()=>B_,lorodoc_getContainerById:()=>Ln,lorodoc_getCounter:()=>Wo,lorodoc_getCursorPos:()=>fn,lorodoc_getDeepValueWithID:()=>wo,lorodoc_getList:()=>u_,lorodoc_getMap:()=>Xo,lorodoc_getMovableList:()=>An,lorodoc_getOpsInChange:()=>N_,lorodoc_getPathToContainer:()=>ko,lorodoc_getPendingTxnLength:()=>Un,lorodoc_getShallowValue:()=>T_,lorodoc_getText:()=>$_,lorodoc_getTree:()=>on,lorodoc_getUncommittedOpsAsJson:()=>Uo,lorodoc_hasContainer:()=>no,lorodoc_import:()=>Z_,lorodoc_importBatch:()=>l_,lorodoc_importJsonUpdates:()=>Wn,lorodoc_importUpdateBatch:()=>is,lorodoc_isDetached:()=>x_,lorodoc_isDetachedEditingEnabled:()=>rs,lorodoc_isShallow:()=>ur,lorodoc_new:()=>Ie,lorodoc_opCount:()=>Qn,lorodoc_oplogFrontiers:()=>yr,lorodoc_oplogVersion:()=>Pe,lorodoc_peerId:()=>Ee,lorodoc_peerIdStr:()=>Ht,lorodoc_revertTo:()=>Oo,lorodoc_setChangeMergeInterval:()=>ue,lorodoc_setDetachedEditing:()=>vo,lorodoc_setHideEmptyRootContainers:()=>Et,lorodoc_setNextCommitMessage:()=>Pt,lorodoc_setNextCommitOptions:()=>Xt,lorodoc_setNextCommitOrigin:()=>He,lorodoc_setNextCommitTimestamp:()=>lt,lorodoc_setPeerId:()=>It,lorodoc_setRecordTimestamp:()=>lr,lorodoc_shallowSinceFrontiers:()=>bs,lorodoc_shallowSinceVV:()=>ye,lorodoc_subscribe:()=>Er,lorodoc_subscribeFirstCommitFromPeer:()=>_t,lorodoc_subscribeJsonpath:()=>Ir,lorodoc_subscribeLocalUpdates:()=>Pr,lorodoc_subscribePreCommit:()=>Xe,lorodoc_toJSON:()=>yt,lorodoc_travelChangeAncestors:()=>dn,lorodoc_version:()=>ut,lorodoc_vvToFrontiers:()=>Xr,lorolist_clear:()=>Hr,lorolist_delete:()=>__,lorolist_get:()=>_r,lorolist_getAttached:()=>le,lorolist_getCursor:()=>z_,lorolist_getIdAt:()=>En,lorolist_getShallowValue:()=>qo,lorolist_id:()=>vn,lorolist_insert:()=>uo,lorolist_insertContainer:()=>h_,lorolist_isAttached:()=>Zo,lorolist_isDeleted:()=>On,lorolist_kind:()=>D_,lorolist_length:()=>Eo,lorolist_new:()=>Pn,lorolist_parent:()=>J_,lorolist_pop:()=>G_,lorolist_push:()=>sn,lorolist_pushContainer:()=>Po,lorolist_subscribe:()=>ao,lorolist_toArray:()=>eo,lorolist_toJSON:()=>g_,loromap_clear:()=>Hn,loromap_delete:()=>ls,loromap_entries:()=>S_,loromap_get:()=>_s,loromap_getAttached:()=>pr,loromap_getLastEditor:()=>Ne,loromap_getOrCreateContainer:()=>Xn,loromap_getShallowValue:()=>xr,loromap_id:()=>Be,loromap_isAttached:()=>Re,loromap_isDeleted:()=>qt,loromap_keys:()=>Io,loromap_kind:()=>pe,loromap_new:()=>yo,loromap_parent:()=>Rt,loromap_set:()=>Bt,loromap_setContainer:()=>Yt,loromap_size:()=>qe,loromap_subscribe:()=>gt,loromap_toJSON:()=>Nt,loromap_values:()=>gr,loromovablelist_clear:()=>us,loromovablelist_delete:()=>xe,loromovablelist_get:()=>Rr,loromovablelist_getAttached:()=>ot,loromovablelist_getCreatorAt:()=>Nr,loromovablelist_getCursor:()=>Br,loromovablelist_getLastEditorAt:()=>Ye,loromovablelist_getLastMoverAt:()=>xt,loromovablelist_getShallowValue:()=>wn,loromovablelist_id:()=>pt,loromovablelist_insert:()=>Yr,loromovablelist_insertContainer:()=>qr,loromovablelist_isAttached:()=>o_,loromovablelist_isDeleted:()=>or,loromovablelist_kind:()=>ge,loromovablelist_length:()=>P_,loromovablelist_move:()=>Dn,loromovablelist_new:()=>jo,loromovablelist_parent:()=>hn,loromovablelist_pop:()=>co,loromovablelist_push:()=>b_,loromovablelist_pushContainer:()=>Qo,loromovablelist_set:()=>Cn,loromovablelist_setContainer:()=>I_,loromovablelist_subscribe:()=>Lo,loromovablelist_toArray:()=>Vn,loromovablelist_toJSON:()=>R_,lorotext_applyDelta:()=>q_,lorotext_charAt:()=>_n,lorotext_convertPos:()=>Vo,lorotext_delete:()=>oo,lorotext_deleteUtf8:()=>Y_,lorotext_getAttached:()=>i_,lorotext_getCursor:()=>jn,lorotext_getEditorOf:()=>as,lorotext_getShallowValue:()=>y_,lorotext_id:()=>ts,lorotext_insert:()=>br,lorotext_insertUtf8:()=>Oe,lorotext_isAttached:()=>Gn,lorotext_isDeleted:()=>vr,lorotext_iter:()=>Ue,lorotext_kind:()=>ke,lorotext_length:()=>Wt,lorotext_mark:()=>Ao,lorotext_new:()=>be,lorotext_parent:()=>mo,lorotext_push:()=>kt,lorotext_slice:()=>Ut,lorotext_sliceDelta:()=>Qt,lorotext_sliceDeltaUtf8:()=>We,lorotext_splice:()=>it,lorotext_subscribe:()=>Ot,lorotext_toDelta:()=>ir,lorotext_toJSON:()=>ws,lorotext_toString:()=>ve,lorotext_unmark:()=>kr,lorotext_update:()=>rt,lorotext_updateByLine:()=>Or,lorotree_createNode:()=>Ur,lorotree_delete:()=>Qe,lorotree_disableFractionalIndex:()=>vt,lorotree_enableFractionalIndex:()=>cn,lorotree_getAttached:()=>bt,lorotree_getNodeByID:()=>Qr,lorotree_getNodes:()=>Wr,lorotree_getShallowValue:()=>r_,lorotree_has:()=>rr,lorotree_id:()=>ie,lorotree_isAttached:()=>U_,lorotree_isDeleted:()=>Fn,lorotree_isFractionalIndexEnabled:()=>zo,lorotree_isNodeDeleted:()=>pn,lorotree_kind:()=>go,lorotree_move:()=>w_,lorotree_new:()=>Go,lorotree_nodes:()=>Sn,lorotree_parent:()=>O_,lorotree_roots:()=>Do,lorotree_subscribe:()=>Jn,lorotree_toArray:()=>E_,lorotree_toJSON:()=>H_,lorotreenode___getClassname:()=>rn,lorotreenode_children:()=>Jo,lorotreenode_createNode:()=>_o,lorotreenode_creationId:()=>X_,lorotreenode_creator:()=>a_,lorotreenode_data:()=>zn,lorotreenode_fractionalIndex:()=>ss,lorotreenode_getLastMoveId:()=>v_,lorotreenode_id:()=>es,lorotreenode_index:()=>wr,lorotreenode_isDeleted:()=>Ae,lorotreenode_move:()=>Kn,lorotreenode_moveAfter:()=>mr,lorotreenode_moveBefore:()=>Ve,lorotreenode_parent:()=>Le,lorotreenode_toJSON:()=>jt,memory:()=>Co,redactJsonUpdates:()=>we,run:()=>fo,setDebug:()=>Lt,undomanager_addExcludeOriginPrefix:()=>Vt,undomanager_canRedo:()=>Gt,undomanager_canUndo:()=>je,undomanager_clear:()=>at,undomanager_groupEnd:()=>At,undomanager_groupStart:()=>ar,undomanager_new:()=>ds,undomanager_peer:()=>me,undomanager_redo:()=>Lr,undomanager_setMaxUndoSteps:()=>tt,undomanager_setMergeInterval:()=>Ar,undomanager_setOnPop:()=>Vr,undomanager_setOnPush:()=>Ge,undomanager_topRedoValue:()=>mt,undomanager_topUndoValue:()=>gn,undomanager_undo:()=>wt,versionvector_compare:()=>Gr,versionvector_decode:()=>jr,versionvector_encode:()=>t_,versionvector_get:()=>tr,versionvector_length:()=>ae,versionvector_new:()=>M_,versionvector_parseJSON:()=>kn,versionvector_remove:()=>Ho,versionvector_setEnd:()=>mn,versionvector_setLast:()=>bo,versionvector_toJSON:()=>p_},1),URL=globalThis.URL,{memory:Co,LORO_VERSION:Nn,__wbg_awarenesswasm_free:d_,__wbg_changemodifier_free:Ko,__wbg_cursor_free:xn,__wbg_ephemeralstorewasm_free:A_,__wbg_lorocounter_free:Fo,__wbg_lorodoc_free:Tn,__wbg_lorolist_free:k_,__wbg_loromap_free:W_,__wbg_lorotext_free:To,__wbg_lorotree_free:ro,__wbg_lorotreenode_free:Q_,__wbg_undomanager_free:s_,__wbg_versionvector_free:Mn,awarenesswasm_apply:De,awarenesswasm_encode:zt,awarenesswasm_encodeAll:So,awarenesswasm_getAllStates:de,awarenesswasm_getState:ho,awarenesswasm_getTimestamp:Dt,awarenesswasm_isEmpty:Jt,awarenesswasm_length:Kt,awarenesswasm_new:ze,awarenesswasm_peer:st,awarenesswasm_peers:Ct,awarenesswasm_removeOutdated:sr,awarenesswasm_setLocalState:cs,callPendingEvents:fe,changemodifier_setMessage:Dr,changemodifier_setTimestamp:et,cursor_containerId:Jr,cursor_decode:Ke,cursor_encode:ft,cursor_kind:ln,cursor_pos:dt,cursor_side:Kr,decodeFrontiers:zr,decodeImportBlobMeta:e_,encodeFrontiers:er,ephemeralstorewasm_apply:se,ephemeralstorewasm_delete:j_,ephemeralstorewasm_encode:Rn,ephemeralstorewasm_encodeAll:$o,ephemeralstorewasm_get:yn,ephemeralstorewasm_getAllStates:po,ephemeralstorewasm_isEmpty:f_,ephemeralstorewasm_keys:en,ephemeralstorewasm_new:In,ephemeralstorewasm_removeOutdated:L_,ephemeralstorewasm_set:Ro,ephemeralstorewasm_subscribe:Bn,ephemeralstorewasm_subscribeLocalUpdates:V_,lorocounter_decrement:an,lorocounter_getAttached:Bo,lorocounter_getShallowValue:io,lorocounter_id:to,lorocounter_increment:c_,lorocounter_isAttached:qn,lorocounter_kind:gs,lorocounter_new:C_,lorocounter_parent:os,lorocounter_subscribe:hr,lorodoc_JSONPath:Sr,lorodoc_applyDiff:Me,lorodoc_attach:Te,lorodoc_changeCount:$t,lorodoc_checkout:No,lorodoc_checkoutToLatest:he,lorodoc_clearNextCommitOptions:xo,lorodoc_cmpFrontiers:Tt,lorodoc_cmpWithFrontiers:Mt,lorodoc_commit:Zt,lorodoc_configDefaultTextStyle:$e,lorodoc_configTextStyle:ct,lorodoc_debugHistory:Ft,lorodoc_deleteRootContainer:cr,lorodoc_detach:ps,lorodoc_diff:Se,lorodoc_export:Tr,lorodoc_exportJsonInIdSpan:nt,lorodoc_exportJsonUpdates:Fr,lorodoc_findIdSpansBetween:Mr,lorodoc_fork:Ze,lorodoc_forkAt:St,lorodoc_fromSnapshot:bn,lorodoc_frontiers:ht,lorodoc_frontiersToVV:Zr,lorodoc_getAllChanges:$r,lorodoc_getByPath:n_,lorodoc_getChangeAt:nr,lorodoc_getChangeAtLamport:ce,lorodoc_getChangedContainersIn:B_,lorodoc_getContainerById:Ln,lorodoc_getCounter:Wo,lorodoc_getCursorPos:fn,lorodoc_getDeepValueWithID:wo,lorodoc_getList:u_,lorodoc_getMap:Xo,lorodoc_getMovableList:An,lorodoc_getOpsInChange:N_,lorodoc_getPathToContainer:ko,lorodoc_getPendingTxnLength:Un,lorodoc_getShallowValue:T_,lorodoc_getText:$_,lorodoc_getTree:on,lorodoc_getUncommittedOpsAsJson:Uo,lorodoc_hasContainer:no,lorodoc_import:Z_,lorodoc_importBatch:l_,lorodoc_importJsonUpdates:Wn,lorodoc_isDetached:x_,lorodoc_isDetachedEditingEnabled:rs,lorodoc_isShallow:ur,lorodoc_new:Ie,lorodoc_opCount:Qn,lorodoc_oplogFrontiers:yr,lorodoc_oplogVersion:Pe,lorodoc_peerId:Ee,lorodoc_peerIdStr:Ht,lorodoc_revertTo:Oo,lorodoc_setChangeMergeInterval:ue,lorodoc_setDetachedEditing:vo,lorodoc_setHideEmptyRootContainers:Et,lorodoc_setNextCommitMessage:Pt,lorodoc_setNextCommitOptions:Xt,lorodoc_setNextCommitOrigin:He,lorodoc_setNextCommitTimestamp:lt,lorodoc_setPeerId:It,lorodoc_setRecordTimestamp:lr,lorodoc_shallowSinceFrontiers:bs,lorodoc_shallowSinceVV:ye,lorodoc_subscribe:Er,lorodoc_subscribeFirstCommitFromPeer:_t,lorodoc_subscribeJsonpath:Ir,lorodoc_subscribeLocalUpdates:Pr,lorodoc_subscribePreCommit:Xe,lorodoc_toJSON:yt,lorodoc_travelChangeAncestors:dn,lorodoc_version:ut,lorodoc_vvToFrontiers:Xr,lorolist_clear:Hr,lorolist_delete:__,lorolist_get:_r,lorolist_getAttached:le,lorolist_getCursor:z_,lorolist_getIdAt:En,lorolist_getShallowValue:qo,lorolist_id:vn,lorolist_insert:uo,lorolist_insertContainer:h_,lorolist_isAttached:Zo,lorolist_isDeleted:On,lorolist_kind:D_,lorolist_length:Eo,lorolist_new:Pn,lorolist_parent:J_,lorolist_pop:G_,lorolist_push:sn,lorolist_pushContainer:Po,lorolist_subscribe:ao,lorolist_toArray:eo,lorolist_toJSON:g_,loromap_clear:Hn,loromap_delete:ls,loromap_entries:S_,loromap_get:_s,loromap_getAttached:pr,loromap_getLastEditor:Ne,loromap_getOrCreateContainer:Xn,loromap_getShallowValue:xr,loromap_id:Be,loromap_isAttached:Re,loromap_isDeleted:qt,loromap_keys:Io,loromap_kind:pe,loromap_new:yo,loromap_parent:Rt,loromap_set:Bt,loromap_setContainer:Yt,loromap_size:qe,loromap_subscribe:gt,loromap_toJSON:Nt,loromap_values:gr,loromovablelist_clear:us,loromovablelist_delete:xe,loromovablelist_get:Rr,loromovablelist_getAttached:ot,loromovablelist_getCreatorAt:Nr,loromovablelist_getCursor:Br,loromovablelist_getLastEditorAt:Ye,loromovablelist_getLastMoverAt:xt,loromovablelist_getShallowValue:wn,loromovablelist_id:pt,loromovablelist_insert:Yr,loromovablelist_insertContainer:qr,loromovablelist_isAttached:o_,loromovablelist_isDeleted:or,loromovablelist_kind:ge,loromovablelist_length:P_,loromovablelist_move:Dn,loromovablelist_new:jo,loromovablelist_parent:hn,loromovablelist_pop:co,loromovablelist_push:b_,loromovablelist_pushContainer:Qo,loromovablelist_set:Cn,loromovablelist_setContainer:I_,loromovablelist_subscribe:Lo,loromovablelist_toArray:Vn,loromovablelist_toJSON:R_,lorotext_applyDelta:q_,lorotext_charAt:_n,lorotext_convertPos:Vo,lorotext_delete:oo,lorotext_deleteUtf8:Y_,lorotext_getAttached:i_,lorotext_getCursor:jn,lorotext_getEditorOf:as,lorotext_getShallowValue:y_,lorotext_id:ts,lorotext_insert:br,lorotext_insertUtf8:Oe,lorotext_isAttached:Gn,lorotext_isDeleted:vr,lorotext_iter:Ue,lorotext_kind:ke,lorotext_length:Wt,lorotext_mark:Ao,lorotext_new:be,lorotext_parent:mo,lorotext_push:kt,lorotext_slice:Ut,lorotext_sliceDelta:Qt,lorotext_sliceDeltaUtf8:We,lorotext_splice:it,lorotext_subscribe:Ot,lorotext_toDelta:ir,lorotext_toJSON:ws,lorotext_toString:ve,lorotext_unmark:kr,lorotext_update:rt,lorotext_updateByLine:Or,lorotree_createNode:Ur,lorotree_delete:Qe,lorotree_disableFractionalIndex:vt,lorotree_enableFractionalIndex:cn,lorotree_getAttached:bt,lorotree_getNodeByID:Qr,lorotree_getNodes:Wr,lorotree_getShallowValue:r_,lorotree_has:rr,lorotree_id:ie,lorotree_isAttached:U_,lorotree_isDeleted:Fn,lorotree_isFractionalIndexEnabled:zo,lorotree_isNodeDeleted:pn,lorotree_kind:go,lorotree_move:w_,lorotree_new:Go,lorotree_nodes:Sn,lorotree_parent:O_,lorotree_roots:Do,lorotree_subscribe:Jn,lorotree_toArray:E_,lorotree_toJSON:H_,lorotreenode___getClassname:rn,lorotreenode_children:Jo,lorotreenode_createNode:_o,lorotreenode_creationId:X_,lorotreenode_creator:a_,lorotreenode_data:zn,lorotreenode_fractionalIndex:ss,lorotreenode_getLastMoveId:v_,lorotreenode_id:es,lorotreenode_index:wr,lorotreenode_isDeleted:Ae,lorotreenode_move:Kn,lorotreenode_moveAfter:mr,lorotreenode_moveBefore:Ve,lorotreenode_parent:Le,lorotreenode_toJSON:jt,redactJsonUpdates:we,run:fo,setDebug:Lt,undomanager_addExcludeOriginPrefix:Vt,undomanager_canRedo:Gt,undomanager_canUndo:je,undomanager_clear:at,undomanager_groupEnd:At,undomanager_groupStart:ar,undomanager_new:ds,undomanager_peer:me,undomanager_redo:Lr,undomanager_setMaxUndoSteps:tt,undomanager_setMergeInterval:Ar,undomanager_setOnPop:Vr,undomanager_setOnPush:Ge,undomanager_topRedoValue:mt,undomanager_topUndoValue:gn,undomanager_undo:wt,versionvector_compare:Gr,versionvector_decode:jr,versionvector_encode:t_,versionvector_get:tr,versionvector_length:ae,versionvector_new:M_,versionvector_parseJSON:kn,versionvector_remove:Ho,versionvector_setEnd:mn,versionvector_setLast:bo,versionvector_toJSON:p_,lorodoc_importUpdateBatch:is,__wbg_loromovablelist_free:tn,lorocounter_value:Yn,lorocounter_toJSON:Fe,__wbindgen_malloc:Ce,__wbindgen_realloc:$n,__wbindgen_exn_store:ns,__externref_table_alloc:un,__wbindgen_export_4:m_,__wbindgen_free:dr,__wbindgen_export_6:Zn,__externref_table_dealloc:lo,__externref_drop_slice:Mo,closure9_externref_shim:Cr,_dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h423c5eefcad13156:Je,__wbindgen_start:fr}=await ms({"./loro_wasm_bg.js":{__wbg_lorotree_new:la,__wbg_lorocounter_new:oa,__wbg_lorotext_new:ia,__wbg_lorotreenode_new:ga,__wbg_cursor_new:Es,__wbg_loromap_new:sa,__wbg_loromovablelist_new:aa,__wbg_lorolist_new:na,__wbg_changemodifier_new:Ls,__wbg_versionvector_new:Ka,__wbindgen_is_function:gi,__wbindgen_number_get:fi,__wbindgen_string_get:yi,__wbindgen_string_new:xi,__wbindgen_boolean_get:ei,__wbindgen_error_new:ni,__wbg_error_1cb1bf0bb7e0da2b:Vs,__wbindgen_cb_drop:ti,__wbindgen_is_undefined:bi,__wbindgen_in:si,__wbindgen_is_bigint:ii,__wbindgen_bigint_from_i64:Xa,__wbindgen_jsval_eq:ui,__wbindgen_is_object:di,__wbindgen_bigint_from_u64:Ya,__wbindgen_as_number:Qa,__wbindgen_number_new:mi,__wbindgen_is_string:wi,__wbindgen_is_null:ci,__wbindgen_is_falsy:li,__wbindgen_typeof:Ci,__wbg_warn_90235b184e422485:Ga,__wbg_log_0671e6aa34e04626:ta,__wbindgen_is_array:ai,__wbg_log_cb9e190acc5753fb:_a,__wbg_log_0cc1b7768397bcfe:ra,__wbg_mark_7438147ce31e9d4b:ca,__wbg_measure_fb7825c11612c823:da,__wbg_new_8a6f238a6ece86ea:ha,__wbg_stack_0ed75d68575b0f3c:Pa,__wbg_error_7534b8e9a36f1ab4:Us,__wbindgen_jsval_loose_eq:pi,__wbg_getwithrefkey_1dc361bd10053bfe:Hs,__wbg_set_3f1d0b984ed272ed:Ra,__wbg_String_8f0eb39a4a4c2f66:Ss,__wbg_now_c8bdc8efc8c495eb:Oa,__wbg_crypto_574e78ad8b13b65f:ks,__wbg_process_dc0fbacc7c1c06f7:Na,__wbg_versions_c01dfd4722a88165:$a,__wbg_node_905d3e251edff8a2:Aa,__wbg_require_60cc747a6bc5215a:La,__wbg_msCrypto_a61aeb35a24c1329:wa,__wbg_randomFillSync_ac0988aba3254290:Da,__wbg_getRandomValues_b8f5dbd5f3995a9e:Ms,__wbg_new_5e0be73521bc8c17:ua,__wbg_new_78feb108b6472713:pa,__wbg_new_405e22f390576ce2:ba,__wbg_newnoargs_105ed471475aaf50:ma,__wbg_new_a12002a7f91c75be:fa,__wbg_buffer_609cc3eee51ed158:Os,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:va,__wbg_length_a446193dc22c12f8:Zs,__wbg_newwithlength_a381634e90c276d4:ya,__wbg_set_65595bdd868b3009:Ta,__wbg_subarray_aa9065fa9dc5df96:Wa,__wbg_getindex_5b00c274b05714aa:Ws,__wbg_setindex_dcd71eabf405bde1:Ua,__wbg_done_769e5ede4b31c67b:Rs,__wbg_value_cd1ffa7b1ab794f1:qa,__wbg_instanceof_Map_f3469ce2244d2430:$s,__wbg_instanceof_Object_7f2dcef8f78644a4:Ks,__wbg_instanceof_Uint8Array_17156bcf118086a9:Gs,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:qs,__wbg_set_8fc6bf8a5b1071d1:Ja,__wbg_entries_c8a90a7ed73e84ce:Js,__wbg_newwithlength_c4c419ef0bc8a1f8:xa,__wbg_get_b9b93047fe3cf45b:js,__wbg_set_37837023f3d740e8:Ea,__wbg_from_2a5d3e218e67aa85:Ps,__wbg_length_e2d2a49132c1b256:ea,__wbg_push_737cfc8c1432c2c6:Fa,__wbg_isArray_a1eab7e0d067391b:Qs,__wbg_isSafeInteger_343e2beeeece1bb0:Xs,__wbg_getOwnPropertySymbols_97eebed6fe6e08be:Bs,__wbg_entries_3265d4158b33e5dc:Ts,__wbg_iterator_9a24c88df860dc65:Ys,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:Ma,__wbg_call_672a4d21634d4a24:Is,__wbg_static_accessor_SELF_37c5d418e4bf5819:za,__wbg_static_accessor_GLOBAL_88a902d13a557d07:Ba,__wbg_static_accessor_WINDOW_5de37043a91a9c40:ja,__wbg_then_44b73946d2fb3e7d:Ha,__wbg_resolve_4851785c9c5f573d:ka,__wbg_get_67b2ba62fc30de12:zs,__wbg_set_bb8cecf6a62b9f46:Va,__wbg_apply_eb9e9b97497f91e4:As,__wbg_ownKeys_3930041068756f1f:Ia,__wbg_apply_36be6a55257c99bf:Cs,__wbg_call_7cccdd69e0791ae2:Ns,__wbg_call_833bed5770ea2041:Fs,__wbg_call_b8adc8b1d0a0d8eb:Ds,__wbg_next_25feadfc0913fea9:Sa,__wbg_next_6574e1a8a62d1055:Ca,__wbindgen_bigint_get_as_i64:Za,__wbindgen_memory:hi,__wbindgen_throw:Si,__wbindgen_rethrow:vi,__wbindgen_debug_string:oi,__wbindgen_closure_wrapper718:ri,__wbindgen_closure_wrapper721:_i,__wbindgen_init_externref_table:Q}},fs)})();export{se as $,ae as $a,ie as $i,le as $n,ge as $r,ce as $t,de as A,we as Aa,be as Ai,ue as An,pe as Ar,he as At,fe as B,me as Ba,ve as Bi,ye as Bn,xe as Br,Se as Bt,Ce as C,Ae as Ca,Oe as Ci,Ie as Cn,Ne as Cr,Fe as Ct,De as D,Le as Da,ke as Di,Ee as Dn,Re as Dr,Te as Dt,Je as E,Ve as Ea,Ue as Ei,Pe as En,Be as Er,Me as Et,ze as F,je as Fa,We as Fi,He as Fn,qe as Fr,$e as Ft,Ke as G,Ge as Ga,Qe as Gi,Xe as Gn,Ye as Gr,Ze as Gt,et as H,tt as Ha,rt as Hi,_t as Hn,ot as Hr,nt as Ht,st as I,at as Ia,it as Ii,lt as In,gt as Ir,ct as It,dt as J,wt as Ja,bt as Ji,ut as Jn,pt as Jr,ht as Jt,ft as K,mt as Ka,vt as Ki,yt as Kn,xt as Kr,St as Kt,Ct as L,At as La,Ot as Li,It as Ln,Nt as Lr,Ft as Lt,Dt as M,Lt as Ma,kt as Mi,Et as Mn,Rt as Mr,Tt as Mt,Jt as N,Vt as Na,Ut as Ni,Pt as Nn,Bt as Nr,Mt as Nt,zt as O,jt as Oa,Wt as Oi,Ht as On,qt as Or,$t as Ot,Kt as P,Gt as Pa,Qt as Pi,Xt as Pn,Yt as Pr,Zt as Pt,er as Q,tr as Qa,rr as Qi,_r as Qn,or as Qr,nr as Qt,sr as R,ar as Ra,ir as Ri,lr as Rn,gr as Rr,cr as Rt,dr as S,wr as Sa,br as Si,ur as Sn,pr as Sr,hr as St,fr as T,mr as Ta,vr as Ti,yr as Tn,xr as Tr,Sr as Tt,Cr as U,Ar as Ua,Or as Ui,Ir as Un,Nr as Ur,Fr as Ut,Dr as V,Lr as Va,kr as Vi,Er as Vn,Rr as Vr,Tr as Vt,Jr as W,Vr as Wa,Ur as Wi,Pr as Wn,Br as Wr,Mr as Wt,zr as X,jr as Xa,Wr as Xi,Hr as Xn,qr as Xr,$r as Xt,Kr as Y,Gr as Ya,Qr as Yi,Xr as Yn,Yr,Zr as Yt,e_ as Z,t_ as Za,r_ as Zi,__ as Zn,o_ as Zr,n_ as Zt,s_ as _,Wi as __tla,a_ as _a,i_ as _i,l_ as _n,g_ as _r,c_ as _t,d_ as a,w_ as aa,b_ as ai,u_ as an,p_ as ao,h_ as ar,f_ as at,m_ as b,v_ as ba,y_ as bi,x_ as bn,S_ as br,C_ as bt,A_ as c,O_ as ca,I_ as ci,N_ as cn,F_ as co,D_ as cr,L_ as ct,k_ as d,E_ as da,R_ as di,T_ as dn,D as do,J_ as dr,V_ as dt,U_ as ea,P_ as ei,B_ as en,M_ as eo,z_ as er,j_ as et,W_ as f,H_ as fa,q_ as fi,$_ as fn,K_ as fo,G_ as fr,Oi as ft,Q_ as g,X_ as ga,Y_ as gi,Z_ as gn,Ii as go,eo as gr,to as gt,ro as h,_o as ha,oo as hi,no as hn,so as ho,ao as hr,io as ht,lo as i,go as ia,co as ii,wo as in,bo as io,uo as ir,po as it,ho as j,fo as ja,mo as ji,vo as jn,yo as jr,xo as jt,So as k,Co as ka,Ao as ki,Oo as kn,Io as kr,No as kt,Fo as l,Do as la,Lo as li,ko as ln,G as lo,Eo as lr,Ro as lt,To as m,Jo as ma,Vo as mi,Uo as mn,Q as mo,Po as mr,Bo as mt,Mo as n,zo as na,jo as ni,Wo as nn,Ho as no,qo as nr,$o as nt,Ko as o,Go as oa,Qo as oi,Xo as on,Yo as oo,Zo as or,en as ot,tn as p,rn as pa,_n as pi,on as pn,nn as po,sn as pr,an as pt,ln as q,gn as qa,cn as qi,dn as qn,wn as qr,bn as qt,un as r,pn as ra,hn as ri,fn as rn,mn as ro,vn as rr,yn as rt,xn as s,Sn as sa,Cn as si,An as sn,x as so,On as sr,In as st,Nn as t,Fn as ta,Dn as ti,Ln as tn,kn as to,En as tr,Rn as tt,Tn as u,Jn as ua,Vn as ui,Un as un,I as uo,Pn as ur,Bn as ut,Mn as v,zn as va,jn as vi,Wn as vn,Hn as vr,qn as vt,$n as w,Kn as wa,Gn as wi,Qn as wn,Xn as wr,Yn as wt,Zn as x,es as xa,ts as xi,rs as xn,_s as xr,os as xt,ns as y,ss as ya,as as yi,is as yn,ls as yr,gs as yt,cs as z,ds as za,ws as zi,bs as zn,us as zr,ps as zt};
@@ -1 +1 @@
1
- import{$ as a,$a as s,$i as o,$n as e,$r as r,$t as t,A as l,Aa as _,Ai as n,An as i,Ar as d,At as c,B as m,Ba as g,Bi as p,Bn as u,Br as b,Bt as w,C as h,Ca as v,Ci as x,Cn as f,Cr as C,Ct as S,D as A,Da as O,Di as y,Dn as I,Dr as N,Dt as D,E as J,Ea as k,Ei as V,En as E,Er as L,Et as P,F as T,Fa as F,Fi as U,Fn as M,Fr as B,Ft as R,G as W,Ga as H,Gi as z,Gn as j,Gr as q,Gt as G,H as K,Ha as Q,Hi as X,Hn as Y,Hr as Z,Ht as $,I as aa,Ia as sa,Ii as oa,In as ea,Ir as ra,It as ta,J as la,Ja as _a,Ji as na,Jn as ia,Jr as da,Jt as ca,K as ma,Ka as ga,Ki as pa,Kn as ua,Kr as ba,Kt as wa,L as ha,La as va,Li as xa,Ln as fa,Lr as Ca,Lt as Sa,M as Aa,Ma as Oa,Mi as ya,Mn as Ia,Mr as Na,Mt as Da,N as Ja,Na as ka,Ni as Va,Nn as Ea,Nr as La,Nt as Pa,O as Ta,Oa as Fa,Oi as Ua,On as Ma,Or as Ba,Ot as Ra,P as Wa,Pa as Ha,Pi as za,Pn as ja,Pr as qa,Pt as Ga,Q as Ka,Qa,Qi as Xa,Qn as Ya,Qr as Za,Qt as $a,R as as,Ra as ss,Ri as os,Rn as es,Rr as rs,Rt as ts,S as ls,Sa as _s,Si as ns,Sn as is,Sr as ds,St as cs,T as ms,Ta as gs,Ti as ps,Tn as us,Tr as bs,Tt as ws,U as hs,Ua as vs,Ui as xs,Un as fs,Ur as Cs,Ut as Ss,V as As,Va as Os,Vi as ys,Vn as Is,Vr as Ns,Vt as Ds,W as Js,Wa as ks,Wi as Vs,Wn as Es,Wr as Ls,Wt as Ps,X as Ts,Xa as Fs,Xi as Us,Xn as Ms,Xr as Bs,Xt as Rs,Y as Ws,Ya as Hs,Yi as zs,Yn as js,Yr as qs,Yt as Gs,Z as Ks,Za as Qs,Zi as Xs,Zn as Ys,Zr as Zs,Zt as $s,_ as ao,_a as so,_i as oo,_n as eo,_r as ro,_t as to,a as lo,aa as _o,ai as no,an as io,ao as co,ar as mo,at as go,b as po,ba as uo,bi as bo,bn as wo,br as ho,bt as vo,c as xo,ca as fo,ci as Co,cn as So,cr as Ao,ct as Oo,d as yo,da as Io,di as No,dn as Do,dr as Jo,dt as ko,ea as Vo,ei as Eo,en as Lo,eo as Po,er as To,et as Fo,f as Uo,fa as Mo,fi as Bo,fn as Ro,fr as Wo,g as Ho,ga as zo,gi as jo,gn as qo,gr as Go,gt as Ko,h as Qo,ha as Xo,hi as Yo,hn as Zo,hr as $o,ht as ae,i as se,ia as oe,ii as ee,in as re,io as te,ir as le,it as _e,j as ne,ja as ie,ji as de,jn as ce,jr as me,jt as ge,k as pe,ka as ue,ki as be,kn as we,kr as he,kt as ve,l as xe,la as fe,li as Ce,ln as Se,lr as Ae,lt as Oe,m as ye,ma as Ie,mi as Ne,mn as De,mr as Je,mt as ke,n as Ve,na as Ee,ni as Le,nn as Pe,no as Te,nr as Fe,nt as Ue,o as Me,oa as Be,oi as Re,on as We,or as He,ot as ze,p as je,pa as qe,pi as Ge,pn as Ke,pr as Qe,pt as Xe,q as Ye,qa as Ze,qi as $e,qn as ar,qr as sr,qt as or,r as er,ra as rr,ri as tr,rn as lr,ro as _r,rr as nr,rt as ir,s as dr,sa as cr,si as mr,sn as gr,sr as pr,st as ur,t as br,ta as wr,ti as hr,tn as vr,to as xr,tr as fr,tt as Cr,u as Sr,ua as Ar,ui as Or,un as yr,ur as Ir,ut as Nr,v as Dr,va as Jr,vi as kr,vn as Vr,vr as Er,vt as Lr,w as Pr,wa as Tr,wi as Fr,wn as Ur,wr as Mr,wt as Br,x as Rr,xa as Wr,xi as Hr,xn as zr,xr as jr,xt as qr,y as Gr,ya as Kr,yi as Qr,yn as Xr,yr as Yr,yt as Zr,z as $r,za as at,zi as st,zn as ot,zr as et,zt as rt,__tla as tt}from"./loro_wasm_bg-Ds40eH8K.js";let lt=Promise.all([(()=>{try{return tt}catch{}})()]).then(async()=>{});export{br as LORO_VERSION,Ve as __externref_drop_slice,er as __externref_table_alloc,se as __externref_table_dealloc,lt as __tla,lo as __wbg_awarenesswasm_free,Me as __wbg_changemodifier_free,dr as __wbg_cursor_free,xo as __wbg_ephemeralstorewasm_free,xe as __wbg_lorocounter_free,Sr as __wbg_lorodoc_free,yo as __wbg_lorolist_free,Uo as __wbg_loromap_free,je as __wbg_loromovablelist_free,ye as __wbg_lorotext_free,Qo as __wbg_lorotree_free,Ho as __wbg_lorotreenode_free,ao as __wbg_undomanager_free,Dr as __wbg_versionvector_free,Gr as __wbindgen_exn_store,po as __wbindgen_export_4,Rr as __wbindgen_export_6,ls as __wbindgen_free,h as __wbindgen_malloc,Pr as __wbindgen_realloc,ms as __wbindgen_start,J as _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h423c5eefcad13156,A as awarenesswasm_apply,Ta as awarenesswasm_encode,pe as awarenesswasm_encodeAll,l as awarenesswasm_getAllStates,ne as awarenesswasm_getState,Aa as awarenesswasm_getTimestamp,Ja as awarenesswasm_isEmpty,Wa as awarenesswasm_length,T as awarenesswasm_new,aa as awarenesswasm_peer,ha as awarenesswasm_peers,as as awarenesswasm_removeOutdated,$r as awarenesswasm_setLocalState,m as callPendingEvents,As as changemodifier_setMessage,K as changemodifier_setTimestamp,hs as closure9_externref_shim,Js as cursor_containerId,W as cursor_decode,ma as cursor_encode,Ye as cursor_kind,la as cursor_pos,Ws as cursor_side,Ts as decodeFrontiers,Ks as decodeImportBlobMeta,Ka as encodeFrontiers,a as ephemeralstorewasm_apply,Fo as ephemeralstorewasm_delete,Cr as ephemeralstorewasm_encode,Ue as ephemeralstorewasm_encodeAll,ir as ephemeralstorewasm_get,_e as ephemeralstorewasm_getAllStates,go as ephemeralstorewasm_isEmpty,ze as ephemeralstorewasm_keys,ur as ephemeralstorewasm_new,Oo as ephemeralstorewasm_removeOutdated,Oe as ephemeralstorewasm_set,Nr as ephemeralstorewasm_subscribe,ko as ephemeralstorewasm_subscribeLocalUpdates,Xe as lorocounter_decrement,ke as lorocounter_getAttached,ae as lorocounter_getShallowValue,Ko as lorocounter_id,to as lorocounter_increment,Lr as lorocounter_isAttached,Zr as lorocounter_kind,vo as lorocounter_new,qr as lorocounter_parent,cs as lorocounter_subscribe,S as lorocounter_toJSON,Br as lorocounter_value,ws as lorodoc_JSONPath,P as lorodoc_applyDiff,D as lorodoc_attach,Ra as lorodoc_changeCount,ve as lorodoc_checkout,c as lorodoc_checkoutToLatest,ge as lorodoc_clearNextCommitOptions,Da as lorodoc_cmpFrontiers,Pa as lorodoc_cmpWithFrontiers,Ga as lorodoc_commit,R as lorodoc_configDefaultTextStyle,ta as lorodoc_configTextStyle,Sa as lorodoc_debugHistory,ts as lorodoc_deleteRootContainer,rt as lorodoc_detach,w as lorodoc_diff,Ds as lorodoc_export,$ as lorodoc_exportJsonInIdSpan,Ss as lorodoc_exportJsonUpdates,Ps as lorodoc_findIdSpansBetween,G as lorodoc_fork,wa as lorodoc_forkAt,or as lorodoc_fromSnapshot,ca as lorodoc_frontiers,Gs as lorodoc_frontiersToVV,Rs as lorodoc_getAllChanges,$s as lorodoc_getByPath,$a as lorodoc_getChangeAt,t as lorodoc_getChangeAtLamport,Lo as lorodoc_getChangedContainersIn,vr as lorodoc_getContainerById,Pe as lorodoc_getCounter,lr as lorodoc_getCursorPos,re as lorodoc_getDeepValueWithID,io as lorodoc_getList,We as lorodoc_getMap,gr as lorodoc_getMovableList,So as lorodoc_getOpsInChange,Se as lorodoc_getPathToContainer,yr as lorodoc_getPendingTxnLength,Do as lorodoc_getShallowValue,Ro as lorodoc_getText,Ke as lorodoc_getTree,De as lorodoc_getUncommittedOpsAsJson,Zo as lorodoc_hasContainer,qo as lorodoc_import,eo as lorodoc_importBatch,Vr as lorodoc_importJsonUpdates,Xr as lorodoc_importUpdateBatch,wo as lorodoc_isDetached,zr as lorodoc_isDetachedEditingEnabled,is as lorodoc_isShallow,f as lorodoc_new,Ur as lorodoc_opCount,us as lorodoc_oplogFrontiers,E as lorodoc_oplogVersion,I as lorodoc_peerId,Ma as lorodoc_peerIdStr,we as lorodoc_revertTo,i as lorodoc_setChangeMergeInterval,ce as lorodoc_setDetachedEditing,Ia as lorodoc_setHideEmptyRootContainers,Ea as lorodoc_setNextCommitMessage,ja as lorodoc_setNextCommitOptions,M as lorodoc_setNextCommitOrigin,ea as lorodoc_setNextCommitTimestamp,fa as lorodoc_setPeerId,es as lorodoc_setRecordTimestamp,ot as lorodoc_shallowSinceFrontiers,u as lorodoc_shallowSinceVV,Is as lorodoc_subscribe,Y as lorodoc_subscribeFirstCommitFromPeer,fs as lorodoc_subscribeJsonpath,Es as lorodoc_subscribeLocalUpdates,j as lorodoc_subscribePreCommit,ua as lorodoc_toJSON,ar as lorodoc_travelChangeAncestors,ia as lorodoc_version,js as lorodoc_vvToFrontiers,Ms as lorolist_clear,Ys as lorolist_delete,Ya as lorolist_get,e as lorolist_getAttached,To as lorolist_getCursor,fr as lorolist_getIdAt,Fe as lorolist_getShallowValue,nr as lorolist_id,le as lorolist_insert,mo as lorolist_insertContainer,He as lorolist_isAttached,pr as lorolist_isDeleted,Ao as lorolist_kind,Ae as lorolist_length,Ir as lorolist_new,Jo as lorolist_parent,Wo as lorolist_pop,Qe as lorolist_push,Je as lorolist_pushContainer,$o as lorolist_subscribe,Go as lorolist_toArray,ro as lorolist_toJSON,Er as loromap_clear,Yr as loromap_delete,ho as loromap_entries,jr as loromap_get,ds as loromap_getAttached,C as loromap_getLastEditor,Mr as loromap_getOrCreateContainer,bs as loromap_getShallowValue,L as loromap_id,N as loromap_isAttached,Ba as loromap_isDeleted,he as loromap_keys,d as loromap_kind,me as loromap_new,Na as loromap_parent,La as loromap_set,qa as loromap_setContainer,B as loromap_size,ra as loromap_subscribe,Ca as loromap_toJSON,rs as loromap_values,et as loromovablelist_clear,b as loromovablelist_delete,Ns as loromovablelist_get,Z as loromovablelist_getAttached,Cs as loromovablelist_getCreatorAt,Ls as loromovablelist_getCursor,q as loromovablelist_getLastEditorAt,ba as loromovablelist_getLastMoverAt,sr as loromovablelist_getShallowValue,da as loromovablelist_id,qs as loromovablelist_insert,Bs as loromovablelist_insertContainer,Zs as loromovablelist_isAttached,Za as loromovablelist_isDeleted,r as loromovablelist_kind,Eo as loromovablelist_length,hr as loromovablelist_move,Le as loromovablelist_new,tr as loromovablelist_parent,ee as loromovablelist_pop,no as loromovablelist_push,Re as loromovablelist_pushContainer,mr as loromovablelist_set,Co as loromovablelist_setContainer,Ce as loromovablelist_subscribe,Or as loromovablelist_toArray,No as loromovablelist_toJSON,Bo as lorotext_applyDelta,Ge as lorotext_charAt,Ne as lorotext_convertPos,Yo as lorotext_delete,jo as lorotext_deleteUtf8,oo as lorotext_getAttached,kr as lorotext_getCursor,Qr as lorotext_getEditorOf,bo as lorotext_getShallowValue,Hr as lorotext_id,ns as lorotext_insert,x as lorotext_insertUtf8,Fr as lorotext_isAttached,ps as lorotext_isDeleted,V as lorotext_iter,y as lorotext_kind,Ua as lorotext_length,be as lorotext_mark,n as lorotext_new,de as lorotext_parent,ya as lorotext_push,Va as lorotext_slice,za as lorotext_sliceDelta,U as lorotext_sliceDeltaUtf8,oa as lorotext_splice,xa as lorotext_subscribe,os as lorotext_toDelta,st as lorotext_toJSON,p as lorotext_toString,ys as lorotext_unmark,X as lorotext_update,xs as lorotext_updateByLine,Vs as lorotree_createNode,z as lorotree_delete,pa as lorotree_disableFractionalIndex,$e as lorotree_enableFractionalIndex,na as lorotree_getAttached,zs as lorotree_getNodeByID,Us as lorotree_getNodes,Xs as lorotree_getShallowValue,Xa as lorotree_has,o as lorotree_id,Vo as lorotree_isAttached,wr as lorotree_isDeleted,Ee as lorotree_isFractionalIndexEnabled,rr as lorotree_isNodeDeleted,oe as lorotree_kind,_o as lorotree_move,Be as lorotree_new,cr as lorotree_nodes,fo as lorotree_parent,fe as lorotree_roots,Ar as lorotree_subscribe,Io as lorotree_toArray,Mo as lorotree_toJSON,qe as lorotreenode___getClassname,Ie as lorotreenode_children,Xo as lorotreenode_createNode,zo as lorotreenode_creationId,so as lorotreenode_creator,Jr as lorotreenode_data,Kr as lorotreenode_fractionalIndex,uo as lorotreenode_getLastMoveId,Wr as lorotreenode_id,_s as lorotreenode_index,v as lorotreenode_isDeleted,Tr as lorotreenode_move,gs as lorotreenode_moveAfter,k as lorotreenode_moveBefore,O as lorotreenode_parent,Fa as lorotreenode_toJSON,ue as memory,_ as redactJsonUpdates,ie as run,Oa as setDebug,ka as undomanager_addExcludeOriginPrefix,Ha as undomanager_canRedo,F as undomanager_canUndo,sa as undomanager_clear,va as undomanager_groupEnd,ss as undomanager_groupStart,at as undomanager_new,g as undomanager_peer,Os as undomanager_redo,Q as undomanager_setMaxUndoSteps,vs as undomanager_setMergeInterval,ks as undomanager_setOnPop,H as undomanager_setOnPush,ga as undomanager_topRedoValue,Ze as undomanager_topUndoValue,_a as undomanager_undo,Hs as versionvector_compare,Fs as versionvector_decode,Qs as versionvector_encode,Qa as versionvector_get,s as versionvector_length,Po as versionvector_new,xr as versionvector_parseJSON,Te as versionvector_remove,_r as versionvector_setEnd,te as versionvector_setLast,co as versionvector_toJSON};
1
+ import{$ as a,$a as s,$i as o,$n as e,$r as r,$t as t,A as l,Aa as _,Ai as n,An as i,Ar as d,At as c,B as m,Ba as g,Bi as p,Bn as u,Br as b,Bt as w,C as h,Ca as v,Ci as x,Cn as f,Cr as C,Ct as S,D as A,Da as O,Di as y,Dn as I,Dr as N,Dt as D,E as J,Ea as k,Ei as V,En as E,Er as L,Et as P,F as T,Fa as F,Fi as U,Fn as M,Fr as B,Ft as R,G as W,Ga as H,Gi as z,Gn as j,Gr as q,Gt as G,H as K,Ha as Q,Hi as X,Hn as Y,Hr as Z,Ht as $,I as aa,Ia as sa,Ii as oa,In as ea,Ir as ra,It as ta,J as la,Ja as _a,Ji as na,Jn as ia,Jr as da,Jt as ca,K as ma,Ka as ga,Ki as pa,Kn as ua,Kr as ba,Kt as wa,L as ha,La as va,Li as xa,Ln as fa,Lr as Ca,Lt as Sa,M as Aa,Ma as Oa,Mi as ya,Mn as Ia,Mr as Na,Mt as Da,N as Ja,Na as ka,Ni as Va,Nn as Ea,Nr as La,Nt as Pa,O as Ta,Oa as Fa,Oi as Ua,On as Ma,Or as Ba,Ot as Ra,P as Wa,Pa as Ha,Pi as za,Pn as ja,Pr as qa,Pt as Ga,Q as Ka,Qa,Qi as Xa,Qn as Ya,Qr as Za,Qt as $a,R as as,Ra as ss,Ri as os,Rn as es,Rr as rs,Rt as ts,S as ls,Sa as _s,Si as ns,Sn as is,Sr as ds,St as cs,T as ms,Ta as gs,Ti as ps,Tn as us,Tr as bs,Tt as ws,U as hs,Ua as vs,Ui as xs,Un as fs,Ur as Cs,Ut as Ss,V as As,Va as Os,Vi as ys,Vn as Is,Vr as Ns,Vt as Ds,W as Js,Wa as ks,Wi as Vs,Wn as Es,Wr as Ls,Wt as Ps,X as Ts,Xa as Fs,Xi as Us,Xn as Ms,Xr as Bs,Xt as Rs,Y as Ws,Ya as Hs,Yi as zs,Yn as js,Yr as qs,Yt as Gs,Z as Ks,Za as Qs,Zi as Xs,Zn as Ys,Zr as Zs,Zt as $s,_ as ao,_a as so,_i as oo,_n as eo,_r as ro,_t as to,a as lo,aa as _o,ai as no,an as io,ao as co,ar as mo,at as go,b as po,ba as uo,bi as bo,bn as wo,br as ho,bt as vo,c as xo,ca as fo,ci as Co,cn as So,cr as Ao,ct as Oo,d as yo,da as Io,di as No,dn as Do,dr as Jo,dt as ko,ea as Vo,ei as Eo,en as Lo,eo as Po,er as To,et as Fo,f as Uo,fa as Mo,fi as Bo,fn as Ro,fr as Wo,g as Ho,ga as zo,gi as jo,gn as qo,gr as Go,gt as Ko,h as Qo,ha as Xo,hi as Yo,hn as Zo,hr as $o,ht as ae,i as se,ia as oe,ii as ee,in as re,io as te,ir as le,it as _e,j as ne,ja as ie,ji as de,jn as ce,jr as me,jt as ge,k as pe,ka as ue,ki as be,kn as we,kr as he,kt as ve,l as xe,la as fe,li as Ce,ln as Se,lr as Ae,lt as Oe,m as ye,ma as Ie,mi as Ne,mn as De,mr as Je,mt as ke,n as Ve,na as Ee,ni as Le,nn as Pe,no as Te,nr as Fe,nt as Ue,o as Me,oa as Be,oi as Re,on as We,or as He,ot as ze,p as je,pa as qe,pi as Ge,pn as Ke,pr as Qe,pt as Xe,q as Ye,qa as Ze,qi as $e,qn as ar,qr as sr,qt as or,r as er,ra as rr,ri as tr,rn as lr,ro as _r,rr as nr,rt as ir,s as dr,sa as cr,si as mr,sn as gr,sr as pr,st as ur,t as br,ta as wr,ti as hr,tn as vr,to as xr,tr as fr,tt as Cr,u as Sr,ua as Ar,ui as Or,un as yr,ur as Ir,ut as Nr,v as Dr,va as Jr,vi as kr,vn as Vr,vr as Er,vt as Lr,w as Pr,wa as Tr,wi as Fr,wn as Ur,wr as Mr,wt as Br,x as Rr,xa as Wr,xi as Hr,xn as zr,xr as jr,xt as qr,y as Gr,ya as Kr,yi as Qr,yn as Xr,yr as Yr,yt as Zr,z as $r,za as at,zi as st,zn as ot,zr as et,zt as rt,__tla as tt}from"./loro_wasm_bg-Bu4Ofw1K.js";let lt=Promise.all([(()=>{try{return tt}catch{}})()]).then(async()=>{});export{br as LORO_VERSION,Ve as __externref_drop_slice,er as __externref_table_alloc,se as __externref_table_dealloc,lt as __tla,lo as __wbg_awarenesswasm_free,Me as __wbg_changemodifier_free,dr as __wbg_cursor_free,xo as __wbg_ephemeralstorewasm_free,xe as __wbg_lorocounter_free,Sr as __wbg_lorodoc_free,yo as __wbg_lorolist_free,Uo as __wbg_loromap_free,je as __wbg_loromovablelist_free,ye as __wbg_lorotext_free,Qo as __wbg_lorotree_free,Ho as __wbg_lorotreenode_free,ao as __wbg_undomanager_free,Dr as __wbg_versionvector_free,Gr as __wbindgen_exn_store,po as __wbindgen_export_4,Rr as __wbindgen_export_6,ls as __wbindgen_free,h as __wbindgen_malloc,Pr as __wbindgen_realloc,ms as __wbindgen_start,J as _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h423c5eefcad13156,A as awarenesswasm_apply,Ta as awarenesswasm_encode,pe as awarenesswasm_encodeAll,l as awarenesswasm_getAllStates,ne as awarenesswasm_getState,Aa as awarenesswasm_getTimestamp,Ja as awarenesswasm_isEmpty,Wa as awarenesswasm_length,T as awarenesswasm_new,aa as awarenesswasm_peer,ha as awarenesswasm_peers,as as awarenesswasm_removeOutdated,$r as awarenesswasm_setLocalState,m as callPendingEvents,As as changemodifier_setMessage,K as changemodifier_setTimestamp,hs as closure9_externref_shim,Js as cursor_containerId,W as cursor_decode,ma as cursor_encode,Ye as cursor_kind,la as cursor_pos,Ws as cursor_side,Ts as decodeFrontiers,Ks as decodeImportBlobMeta,Ka as encodeFrontiers,a as ephemeralstorewasm_apply,Fo as ephemeralstorewasm_delete,Cr as ephemeralstorewasm_encode,Ue as ephemeralstorewasm_encodeAll,ir as ephemeralstorewasm_get,_e as ephemeralstorewasm_getAllStates,go as ephemeralstorewasm_isEmpty,ze as ephemeralstorewasm_keys,ur as ephemeralstorewasm_new,Oo as ephemeralstorewasm_removeOutdated,Oe as ephemeralstorewasm_set,Nr as ephemeralstorewasm_subscribe,ko as ephemeralstorewasm_subscribeLocalUpdates,Xe as lorocounter_decrement,ke as lorocounter_getAttached,ae as lorocounter_getShallowValue,Ko as lorocounter_id,to as lorocounter_increment,Lr as lorocounter_isAttached,Zr as lorocounter_kind,vo as lorocounter_new,qr as lorocounter_parent,cs as lorocounter_subscribe,S as lorocounter_toJSON,Br as lorocounter_value,ws as lorodoc_JSONPath,P as lorodoc_applyDiff,D as lorodoc_attach,Ra as lorodoc_changeCount,ve as lorodoc_checkout,c as lorodoc_checkoutToLatest,ge as lorodoc_clearNextCommitOptions,Da as lorodoc_cmpFrontiers,Pa as lorodoc_cmpWithFrontiers,Ga as lorodoc_commit,R as lorodoc_configDefaultTextStyle,ta as lorodoc_configTextStyle,Sa as lorodoc_debugHistory,ts as lorodoc_deleteRootContainer,rt as lorodoc_detach,w as lorodoc_diff,Ds as lorodoc_export,$ as lorodoc_exportJsonInIdSpan,Ss as lorodoc_exportJsonUpdates,Ps as lorodoc_findIdSpansBetween,G as lorodoc_fork,wa as lorodoc_forkAt,or as lorodoc_fromSnapshot,ca as lorodoc_frontiers,Gs as lorodoc_frontiersToVV,Rs as lorodoc_getAllChanges,$s as lorodoc_getByPath,$a as lorodoc_getChangeAt,t as lorodoc_getChangeAtLamport,Lo as lorodoc_getChangedContainersIn,vr as lorodoc_getContainerById,Pe as lorodoc_getCounter,lr as lorodoc_getCursorPos,re as lorodoc_getDeepValueWithID,io as lorodoc_getList,We as lorodoc_getMap,gr as lorodoc_getMovableList,So as lorodoc_getOpsInChange,Se as lorodoc_getPathToContainer,yr as lorodoc_getPendingTxnLength,Do as lorodoc_getShallowValue,Ro as lorodoc_getText,Ke as lorodoc_getTree,De as lorodoc_getUncommittedOpsAsJson,Zo as lorodoc_hasContainer,qo as lorodoc_import,eo as lorodoc_importBatch,Vr as lorodoc_importJsonUpdates,Xr as lorodoc_importUpdateBatch,wo as lorodoc_isDetached,zr as lorodoc_isDetachedEditingEnabled,is as lorodoc_isShallow,f as lorodoc_new,Ur as lorodoc_opCount,us as lorodoc_oplogFrontiers,E as lorodoc_oplogVersion,I as lorodoc_peerId,Ma as lorodoc_peerIdStr,we as lorodoc_revertTo,i as lorodoc_setChangeMergeInterval,ce as lorodoc_setDetachedEditing,Ia as lorodoc_setHideEmptyRootContainers,Ea as lorodoc_setNextCommitMessage,ja as lorodoc_setNextCommitOptions,M as lorodoc_setNextCommitOrigin,ea as lorodoc_setNextCommitTimestamp,fa as lorodoc_setPeerId,es as lorodoc_setRecordTimestamp,ot as lorodoc_shallowSinceFrontiers,u as lorodoc_shallowSinceVV,Is as lorodoc_subscribe,Y as lorodoc_subscribeFirstCommitFromPeer,fs as lorodoc_subscribeJsonpath,Es as lorodoc_subscribeLocalUpdates,j as lorodoc_subscribePreCommit,ua as lorodoc_toJSON,ar as lorodoc_travelChangeAncestors,ia as lorodoc_version,js as lorodoc_vvToFrontiers,Ms as lorolist_clear,Ys as lorolist_delete,Ya as lorolist_get,e as lorolist_getAttached,To as lorolist_getCursor,fr as lorolist_getIdAt,Fe as lorolist_getShallowValue,nr as lorolist_id,le as lorolist_insert,mo as lorolist_insertContainer,He as lorolist_isAttached,pr as lorolist_isDeleted,Ao as lorolist_kind,Ae as lorolist_length,Ir as lorolist_new,Jo as lorolist_parent,Wo as lorolist_pop,Qe as lorolist_push,Je as lorolist_pushContainer,$o as lorolist_subscribe,Go as lorolist_toArray,ro as lorolist_toJSON,Er as loromap_clear,Yr as loromap_delete,ho as loromap_entries,jr as loromap_get,ds as loromap_getAttached,C as loromap_getLastEditor,Mr as loromap_getOrCreateContainer,bs as loromap_getShallowValue,L as loromap_id,N as loromap_isAttached,Ba as loromap_isDeleted,he as loromap_keys,d as loromap_kind,me as loromap_new,Na as loromap_parent,La as loromap_set,qa as loromap_setContainer,B as loromap_size,ra as loromap_subscribe,Ca as loromap_toJSON,rs as loromap_values,et as loromovablelist_clear,b as loromovablelist_delete,Ns as loromovablelist_get,Z as loromovablelist_getAttached,Cs as loromovablelist_getCreatorAt,Ls as loromovablelist_getCursor,q as loromovablelist_getLastEditorAt,ba as loromovablelist_getLastMoverAt,sr as loromovablelist_getShallowValue,da as loromovablelist_id,qs as loromovablelist_insert,Bs as loromovablelist_insertContainer,Zs as loromovablelist_isAttached,Za as loromovablelist_isDeleted,r as loromovablelist_kind,Eo as loromovablelist_length,hr as loromovablelist_move,Le as loromovablelist_new,tr as loromovablelist_parent,ee as loromovablelist_pop,no as loromovablelist_push,Re as loromovablelist_pushContainer,mr as loromovablelist_set,Co as loromovablelist_setContainer,Ce as loromovablelist_subscribe,Or as loromovablelist_toArray,No as loromovablelist_toJSON,Bo as lorotext_applyDelta,Ge as lorotext_charAt,Ne as lorotext_convertPos,Yo as lorotext_delete,jo as lorotext_deleteUtf8,oo as lorotext_getAttached,kr as lorotext_getCursor,Qr as lorotext_getEditorOf,bo as lorotext_getShallowValue,Hr as lorotext_id,ns as lorotext_insert,x as lorotext_insertUtf8,Fr as lorotext_isAttached,ps as lorotext_isDeleted,V as lorotext_iter,y as lorotext_kind,Ua as lorotext_length,be as lorotext_mark,n as lorotext_new,de as lorotext_parent,ya as lorotext_push,Va as lorotext_slice,za as lorotext_sliceDelta,U as lorotext_sliceDeltaUtf8,oa as lorotext_splice,xa as lorotext_subscribe,os as lorotext_toDelta,st as lorotext_toJSON,p as lorotext_toString,ys as lorotext_unmark,X as lorotext_update,xs as lorotext_updateByLine,Vs as lorotree_createNode,z as lorotree_delete,pa as lorotree_disableFractionalIndex,$e as lorotree_enableFractionalIndex,na as lorotree_getAttached,zs as lorotree_getNodeByID,Us as lorotree_getNodes,Xs as lorotree_getShallowValue,Xa as lorotree_has,o as lorotree_id,Vo as lorotree_isAttached,wr as lorotree_isDeleted,Ee as lorotree_isFractionalIndexEnabled,rr as lorotree_isNodeDeleted,oe as lorotree_kind,_o as lorotree_move,Be as lorotree_new,cr as lorotree_nodes,fo as lorotree_parent,fe as lorotree_roots,Ar as lorotree_subscribe,Io as lorotree_toArray,Mo as lorotree_toJSON,qe as lorotreenode___getClassname,Ie as lorotreenode_children,Xo as lorotreenode_createNode,zo as lorotreenode_creationId,so as lorotreenode_creator,Jr as lorotreenode_data,Kr as lorotreenode_fractionalIndex,uo as lorotreenode_getLastMoveId,Wr as lorotreenode_id,_s as lorotreenode_index,v as lorotreenode_isDeleted,Tr as lorotreenode_move,gs as lorotreenode_moveAfter,k as lorotreenode_moveBefore,O as lorotreenode_parent,Fa as lorotreenode_toJSON,ue as memory,_ as redactJsonUpdates,ie as run,Oa as setDebug,ka as undomanager_addExcludeOriginPrefix,Ha as undomanager_canRedo,F as undomanager_canUndo,sa as undomanager_clear,va as undomanager_groupEnd,ss as undomanager_groupStart,at as undomanager_new,g as undomanager_peer,Os as undomanager_redo,Q as undomanager_setMaxUndoSteps,vs as undomanager_setMergeInterval,ks as undomanager_setOnPop,H as undomanager_setOnPush,ga as undomanager_topRedoValue,Ze as undomanager_topUndoValue,_a as undomanager_undo,Hs as versionvector_compare,Fs as versionvector_decode,Qs as versionvector_encode,Qa as versionvector_get,s as versionvector_length,Po as versionvector_new,xr as versionvector_parseJSON,Te as versionvector_remove,_r as versionvector_setEnd,te as versionvector_setLast,co as versionvector_toJSON};
@@ -1 +1 @@
1
- import{s as ae}from"./chunk-LvLJmgfZ.js";import{d as ye,l as be,n as V,p as oe,u as Ne}from"./useEvent-D91BmmQi.js";import{t as we}from"./react-Bj1aDYRI.js";import{Di as ke,E as ze,F as Ce,Nn as Se,Oi as n,yi as Oe,__tla as Ae}from"./cells-A-ljPpuj.js";import"./react-dom-CSu739Rf.js";import{t as se}from"./compiler-runtime-B3qBwwSJ.js";import{v as ie}from"./useEventListener-BR0C1MaI.js";import{y as Ie}from"./utils-DIGrmLDO.js";import{t as Ee}from"./constants-DMpttj8Q.js";import{t as le}from"./cn-DCUzRj2J.js";import{t as Le}from"./jsx-runtime-BqBOg78p.js";import"./fullscreen-BDxedMYP.js";import"./popover-UExmgBsf.js";import{n as Me,__tla as Pe}from"./JsonOutput-BVAcY5xS.js";import"./download-Iyng0xCz.js";import{t as z}from"./tooltip-Gcwqb_SK.js";import{t as C}from"./button-D9nb17Rw.js";import"./dist-BrR4M-k3.js";import"./cjs-BRGiG41H.js";import"./main-B0OX4z33.js";import"./useNonce-DfoVjkkH.js";import{r as De}from"./requests-DIwGYs0l.js";import{t as me}from"./createLucideIcon-D5guW7EU.js";import{d as Re,__tla as He}from"./layout-DDh3d8oW.js";import{n as Ve,t as qe,__tla as Te}from"./LazyAnyLanguageCodeMirror-0gZO1asr.js";import{__tla as Fe}from"./markdown-renderer-CFrgiLqu.js";import{u as Ge}from"./toDate-B5A0DFEz.js";import{t as Ue,__tla as Be}from"./cell-editor-C6vZfKyj.js";import{t as Je}from"./spinner-Bhir8k53.js";import{t as Ke}from"./play-C7DcCsoO.js";import"./dist-Ds4ite_2.js";import"./dist-CEysMnMQ.js";import"./dist-DGxytjtv.js";import"./dist-DZ2qbK2N.js";import"./dist-CRPTyqAT.js";import"./session-nmTRerwF.js";import{r as Qe}from"./useTheme-DEcgJENn.js";import"./purify.es-DC4RGS9t.js";import"./dates-DhByPWH5.js";import"./utils-Bq5kLQ87.js";import"./vega-loader.browser-DXARUlxo.js";import"./defaultLocale-JieDVWC_.js";import"./defaultLocale-BLne0bXb.js";import{__tla as We}from"./chunk-5FQGJX7Z-B4RvNAGm.js";import"./html-to-image-tbPEMBJg.js";import{o as Xe}from"./focus-Baz7rlo0.js";import{n as Ye,r as Ze,t as ne}from"./react-resizable-panels.browser.esm-Bcm5njwd.js";import{a as $e}from"./renderShortcut-CkNNAheg.js";import"./esm-G1JMtvxe.js";import"./name-cell-input-C5LXTI3T.js";import{n as et,r as tt}from"./panel-context-B3J07LRC.js";import{__tla as rt}from"./loro_wasm_bg-Ds40eH8K.js";import"./ws-CtTwmdal.js";import"./Inputs-BdyX096j.js";import"./dist-DS5RCKZO.js";import"./dist-9g-_Ln9y.js";import"./dist-DBBYmRY4.js";import"./dist-DggusHaA.js";import"./dist-DmZscTVZ.js";import"./dist-CsEqrZxx.js";import"./dist-OWcDq-O3.js";import"./dist-ooLAQ9IK.js";import"./dist-HW7R98td.js";import"./esm-CbD72kxC.js";import{t as at}from"./kiosk-mode-cWTXpegb.js";let ce,ot=Promise.all([(()=>{try{return Ae}catch{}})(),(()=>{try{return Pe}catch{}})(),(()=>{try{return He}catch{}})(),(()=>{try{return Te}catch{}})(),(()=>{try{return Fe}catch{}})(),(()=>{try{return Be}catch{}})(),(()=>{try{return We}catch{}})(),(()=>{try{return rt}catch{}})()]).then(async()=>{var de=me("eraser",[["path",{d:"M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21",key:"g5wo59"}],["path",{d:"m5.082 11.09 8.828 8.828",key:"1wx5vj"}]]),he=me("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]),pe=se(),q=ae(we(),1),ue=15;const T=Oe("marimo:scratchpadHistory:v1",[],Se),fe=oe(!1),xe=oe(null,(e,s,i)=>{if(i=i.trim(),!i)return;let m=e(T);s(T,[i,...m.filter(c=>c!==i)].slice(0,ue))});var t=ae(Le(),1),_e={hide_code:!1,disabled:!1};const ve=()=>{var re;let e=(0,pe.c)(60),s=Ce(),[i]=Ie(),{theme:m}=Qe(),c=(0,q.useRef)(null),F=Xe(),{createNewCell:G,updateCellCode:d}=ze(),{sendRunScratchpad:h}=De(),S=et(),U=tt(),l=s.cellRuntime[n],B=l==null?void 0:l.output,O=l==null?void 0:l.status,J=l==null?void 0:l.consoleOutputs,r=((re=s.cellData.__scratch__)==null?void 0:re.code)??"",K=ye(xe),[o,p]=be(fe),u=Ne(T),A;e[0]!==K||e[1]!==r||e[2]!==h?(A=()=>{h({code:r}),K(r)},e[0]=K,e[1]=r,e[2]=h,e[3]=A):A=e[3];let f=V(A),I;e[4]!==r||e[5]!==G||e[6]!==F?(I=()=>{r.trim()&&G({code:r,before:!1,cellId:F??"__end__"})},e[4]=r,e[5]=G,e[6]=F,e[7]=I):I=e[7];let Q=V(I),E;e[8]!==h||e[9]!==d?(E=()=>{d({cellId:n,code:"",formattingChange:!1}),h({code:""});let a=c.current;a&&a.dispatch({changes:{from:0,to:a.state.doc.length,insert:""}})},e[8]=h,e[9]=d,e[10]=E):E=e[10];let W=V(E),L;e[11]!==p||e[12]!==d?(L=a=>{p(!1),d({cellId:n,code:a,formattingChange:!1});let k=c.current;k&&k.dispatch({changes:{from:0,to:k.state.doc.length,insert:a}})},e[11]=p,e[12]=d,e[13]=L):L=e[13];let X=V(L),[Y,ge]=(0,q.useState)(),M;e[14]!==X||e[15]!==u||e[16]!==o||e[17]!==m?(M=()=>o?(0,t.jsx)("div",{className:"absolute inset-0 z-100 bg-background p-3 border-none overflow-auto",children:(0,t.jsx)("div",{className:"overflow-auto flex flex-col gap-3",children:u.map((a,k)=>(0,t.jsx)("div",{className:"border rounded-md hover:shadow-sm cursor-pointer hover:border-input overflow-hidden",onClick:()=>X(a),children:(0,t.jsx)(q.Suspense,{children:(0,t.jsx)(qe,{language:"python",theme:m,basicSetup:{highlightActiveLine:!1,highlightActiveLineGutter:!1},value:a.trim(),editable:!1,readOnly:!0})})},k))})}):null,e[14]=X,e[15]=u,e[16]=o,e[17]=m,e[18]=M):M=e[18];let Z=M,P;e[19]!==W||e[20]!==Q||e[21]!==f||e[22]!==u.length||e[23]!==o||e[24]!==p||e[25]!==O?(P=()=>(0,t.jsxs)("div",{className:"flex items-center shrink-0 border-b",children:[(0,t.jsx)(z,{content:$e("cell.run"),children:(0,t.jsx)(C,{"data-testid":"scratchpad-run-button",onClick:f,disabled:o,variant:"text",size:"xs",children:(0,t.jsx)(Ke,{color:"var(--grass-11)",size:16})})}),(0,t.jsx)(z,{content:"Clear code and outputs",children:(0,t.jsx)(C,{disabled:o,size:"xs",variant:"text",onClick:W,children:(0,t.jsx)(de,{size:16})})}),(0,t.jsx)(at,{children:(0,t.jsx)(z,{content:"Insert code",children:(0,t.jsx)(C,{disabled:o,size:"xs",variant:"text",onClick:Q,children:(0,t.jsx)(Ve,{size:16})})})}),(O==="running"||O==="queued")&&(0,t.jsx)(Je,{className:"inline",size:"small"}),(0,t.jsx)("div",{className:"flex-1"}),(0,t.jsx)(z,{content:"Toggle history",children:(0,t.jsx)(C,{size:"xs",variant:"text",className:le(o&&"bg-(--sky-3) rounded-none"),onClick:()=>p(!o),disabled:u.length===0,children:(0,t.jsx)(he,{size:16})})}),(0,t.jsx)(z,{content:(0,t.jsx)("span",{className:"block max-w-prose",children:"Use this scratchpad to experiment with code without restrictions on variable names. Variables defined here aren't saved to notebook memory, and the code is not saved in the notebook file."}),children:(0,t.jsx)(C,{size:"xs",variant:"text",children:(0,t.jsx)(Ge,{size:16})})})]}),e[19]=W,e[20]=Q,e[21]=f,e[22]=u.length,e[23]=o,e[24]=p,e[25]=O,e[26]=P):P=e[26];let $=P,je=S==="vertical",D;e[27]===Symbol.for("react.memo_cache_sentinel")?(D=ke.create(n),e[27]=D):D=e[27];let x;e[28]===$?x=e[29]:(x=$(),e[28]=$,e[29]=x);let R;e[30]===Symbol.for("react.memo_cache_sentinel")?(R=a=>{c.current=a},e[30]=R):R=e[30];let _;e[31]!==r||e[32]!==f||e[33]!==Y||e[34]!==m||e[35]!==i?(_=(0,t.jsx)("div",{className:"flex-1 overflow-auto",children:(0,t.jsx)(Ue,{theme:m,showPlaceholder:!1,id:n,code:r,config:_e,status:"idle",serializedEditorState:null,runCell:f,userConfig:i,editorViewRef:c,setEditorView:R,hidden:!1,showHiddenCode:ie.NOOP,languageAdapter:Y,setLanguageAdapter:ge})}),e[31]=r,e[32]=f,e[33]=Y,e[34]=m,e[35]=i,e[36]=_):_=e[36];let v;e[37]===Z?v=e[38]:(v=Z(),e[37]=Z,e[38]=v);let g;e[39]!==v||e[40]!==x||e[41]!==_?(g=(0,t.jsx)(ne,{defaultSize:40,minSize:20,maxSize:70,children:(0,t.jsxs)("div",{className:"h-full flex flex-col overflow-hidden relative",children:[x,_,v]})}),e[39]=v,e[40]=x,e[41]=_,e[42]=g):g=e[42];let ee=je?"h-1":"w-1",j;e[43]===ee?j=e[44]:(j=le("bg-border hover:bg-primary/50 transition-colors",ee),e[43]=ee,e[44]=j);let y;e[45]===j?y=e[46]:(y=(0,t.jsx)(Ze,{className:j}),e[45]=j,e[46]=y);let b;e[47]===B?b=e[48]:(b=(0,t.jsx)("div",{className:"flex-1 overflow-auto",children:(0,t.jsx)(Me,{allowExpand:!1,output:B,className:Ee.outputArea,cellId:n,stale:!1,loading:!1})}),e[47]=B,e[48]=b);let N;e[49]===J?N=e[50]:(N=(0,t.jsx)("div",{className:"overflow-auto shrink-0 max-h-[50%]",children:(0,t.jsx)(Re,{consoleOutputs:J,className:"overflow-auto",stale:!1,cellName:"_",onSubmitDebugger:ie.NOOP,cellId:n,debuggerActive:!1})}),e[49]=J,e[50]=N);let w;e[51]!==b||e[52]!==N?(w=(0,t.jsx)(ne,{defaultSize:60,minSize:20,children:(0,t.jsxs)("div",{className:"h-full flex flex-col divide-y overflow-hidden",children:[b,N]})}),e[51]=b,e[52]=N,e[53]=w):w=e[53];let H;return e[54]!==S||e[55]!==U||e[56]!==g||e[57]!==y||e[58]!==w?(H=(0,t.jsx)("div",{className:"flex flex-col h-full overflow-hidden",id:D,children:(0,t.jsxs)(Ye,{direction:S,className:"h-full",children:[g,y,w]},U)}),e[54]=S,e[55]=U,e[56]=g,e[57]=y,e[58]=w,e[59]=H):H=e[59],H};let te;te=se(),ce=()=>{let e=(0,te.c)(1),s;return e[0]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(ve,{}),e[0]=s):s=e[0],s}});export{ot as __tla,ce as default};
1
+ import{s as ae}from"./chunk-LvLJmgfZ.js";import{d as ye,l as be,n as V,p as oe,u as Ne}from"./useEvent-D91BmmQi.js";import{t as we}from"./react-Bj1aDYRI.js";import{Di as ke,E as ze,F as Ce,Nn as Se,Oi as n,yi as Oe,__tla as Ae}from"./cells-A-ljPpuj.js";import"./react-dom-CSu739Rf.js";import{t as se}from"./compiler-runtime-B3qBwwSJ.js";import{v as ie}from"./useEventListener-BR0C1MaI.js";import{y as Ie}from"./utils-DIGrmLDO.js";import{t as Ee}from"./constants-DMpttj8Q.js";import{t as le}from"./cn-DCUzRj2J.js";import{t as Le}from"./jsx-runtime-BqBOg78p.js";import"./fullscreen-BDxedMYP.js";import"./popover-UExmgBsf.js";import{n as Me,__tla as Pe}from"./JsonOutput-BVAcY5xS.js";import"./download-Iyng0xCz.js";import{t as z}from"./tooltip-Gcwqb_SK.js";import{t as C}from"./button-D9nb17Rw.js";import"./dist-BrR4M-k3.js";import"./cjs-BRGiG41H.js";import"./main-B0OX4z33.js";import"./useNonce-DfoVjkkH.js";import{r as De}from"./requests-DIwGYs0l.js";import{t as me}from"./createLucideIcon-D5guW7EU.js";import{d as Re,__tla as He}from"./layout-DDh3d8oW.js";import{n as Ve,t as qe,__tla as Te}from"./LazyAnyLanguageCodeMirror-0gZO1asr.js";import{__tla as Fe}from"./markdown-renderer-CFrgiLqu.js";import{u as Ge}from"./toDate-B5A0DFEz.js";import{t as Ue,__tla as Be}from"./cell-editor-87LAVsOR.js";import{t as Je}from"./spinner-Bhir8k53.js";import{t as Ke}from"./play-C7DcCsoO.js";import"./dist-Ds4ite_2.js";import"./dist-CEysMnMQ.js";import"./dist-DGxytjtv.js";import"./dist-DZ2qbK2N.js";import"./dist-CRPTyqAT.js";import"./session-nmTRerwF.js";import{r as Qe}from"./useTheme-DEcgJENn.js";import"./purify.es-DC4RGS9t.js";import"./dates-DhByPWH5.js";import"./utils-Bq5kLQ87.js";import"./vega-loader.browser-DXARUlxo.js";import"./defaultLocale-JieDVWC_.js";import"./defaultLocale-BLne0bXb.js";import{__tla as We}from"./chunk-5FQGJX7Z-B4RvNAGm.js";import"./html-to-image-tbPEMBJg.js";import{o as Xe}from"./focus-Baz7rlo0.js";import{n as Ye,r as Ze,t as ne}from"./react-resizable-panels.browser.esm-Bcm5njwd.js";import{a as $e}from"./renderShortcut-CkNNAheg.js";import"./esm-G1JMtvxe.js";import"./name-cell-input-C5LXTI3T.js";import{n as et,r as tt}from"./panel-context-B3J07LRC.js";import{__tla as rt}from"./loro_wasm_bg-Bu4Ofw1K.js";import"./ws-CtTwmdal.js";import"./Inputs-BdyX096j.js";import"./dist-DS5RCKZO.js";import"./dist-9g-_Ln9y.js";import"./dist-DBBYmRY4.js";import"./dist-DggusHaA.js";import"./dist-DmZscTVZ.js";import"./dist-CsEqrZxx.js";import"./dist-OWcDq-O3.js";import"./dist-ooLAQ9IK.js";import"./dist-HW7R98td.js";import"./esm-CbD72kxC.js";import{t as at}from"./kiosk-mode-cWTXpegb.js";let ce,ot=Promise.all([(()=>{try{return Ae}catch{}})(),(()=>{try{return Pe}catch{}})(),(()=>{try{return He}catch{}})(),(()=>{try{return Te}catch{}})(),(()=>{try{return Fe}catch{}})(),(()=>{try{return Be}catch{}})(),(()=>{try{return We}catch{}})(),(()=>{try{return rt}catch{}})()]).then(async()=>{var de=me("eraser",[["path",{d:"M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21",key:"g5wo59"}],["path",{d:"m5.082 11.09 8.828 8.828",key:"1wx5vj"}]]),he=me("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]),pe=se(),q=ae(we(),1),ue=15;const T=Oe("marimo:scratchpadHistory:v1",[],Se),fe=oe(!1),xe=oe(null,(e,s,i)=>{if(i=i.trim(),!i)return;let m=e(T);s(T,[i,...m.filter(c=>c!==i)].slice(0,ue))});var t=ae(Le(),1),_e={hide_code:!1,disabled:!1};const ve=()=>{var re;let e=(0,pe.c)(60),s=Ce(),[i]=Ie(),{theme:m}=Qe(),c=(0,q.useRef)(null),F=Xe(),{createNewCell:G,updateCellCode:d}=ze(),{sendRunScratchpad:h}=De(),S=et(),U=tt(),l=s.cellRuntime[n],B=l==null?void 0:l.output,O=l==null?void 0:l.status,J=l==null?void 0:l.consoleOutputs,r=((re=s.cellData.__scratch__)==null?void 0:re.code)??"",K=ye(xe),[o,p]=be(fe),u=Ne(T),A;e[0]!==K||e[1]!==r||e[2]!==h?(A=()=>{h({code:r}),K(r)},e[0]=K,e[1]=r,e[2]=h,e[3]=A):A=e[3];let f=V(A),I;e[4]!==r||e[5]!==G||e[6]!==F?(I=()=>{r.trim()&&G({code:r,before:!1,cellId:F??"__end__"})},e[4]=r,e[5]=G,e[6]=F,e[7]=I):I=e[7];let Q=V(I),E;e[8]!==h||e[9]!==d?(E=()=>{d({cellId:n,code:"",formattingChange:!1}),h({code:""});let a=c.current;a&&a.dispatch({changes:{from:0,to:a.state.doc.length,insert:""}})},e[8]=h,e[9]=d,e[10]=E):E=e[10];let W=V(E),L;e[11]!==p||e[12]!==d?(L=a=>{p(!1),d({cellId:n,code:a,formattingChange:!1});let k=c.current;k&&k.dispatch({changes:{from:0,to:k.state.doc.length,insert:a}})},e[11]=p,e[12]=d,e[13]=L):L=e[13];let X=V(L),[Y,ge]=(0,q.useState)(),M;e[14]!==X||e[15]!==u||e[16]!==o||e[17]!==m?(M=()=>o?(0,t.jsx)("div",{className:"absolute inset-0 z-100 bg-background p-3 border-none overflow-auto",children:(0,t.jsx)("div",{className:"overflow-auto flex flex-col gap-3",children:u.map((a,k)=>(0,t.jsx)("div",{className:"border rounded-md hover:shadow-sm cursor-pointer hover:border-input overflow-hidden",onClick:()=>X(a),children:(0,t.jsx)(q.Suspense,{children:(0,t.jsx)(qe,{language:"python",theme:m,basicSetup:{highlightActiveLine:!1,highlightActiveLineGutter:!1},value:a.trim(),editable:!1,readOnly:!0})})},k))})}):null,e[14]=X,e[15]=u,e[16]=o,e[17]=m,e[18]=M):M=e[18];let Z=M,P;e[19]!==W||e[20]!==Q||e[21]!==f||e[22]!==u.length||e[23]!==o||e[24]!==p||e[25]!==O?(P=()=>(0,t.jsxs)("div",{className:"flex items-center shrink-0 border-b",children:[(0,t.jsx)(z,{content:$e("cell.run"),children:(0,t.jsx)(C,{"data-testid":"scratchpad-run-button",onClick:f,disabled:o,variant:"text",size:"xs",children:(0,t.jsx)(Ke,{color:"var(--grass-11)",size:16})})}),(0,t.jsx)(z,{content:"Clear code and outputs",children:(0,t.jsx)(C,{disabled:o,size:"xs",variant:"text",onClick:W,children:(0,t.jsx)(de,{size:16})})}),(0,t.jsx)(at,{children:(0,t.jsx)(z,{content:"Insert code",children:(0,t.jsx)(C,{disabled:o,size:"xs",variant:"text",onClick:Q,children:(0,t.jsx)(Ve,{size:16})})})}),(O==="running"||O==="queued")&&(0,t.jsx)(Je,{className:"inline",size:"small"}),(0,t.jsx)("div",{className:"flex-1"}),(0,t.jsx)(z,{content:"Toggle history",children:(0,t.jsx)(C,{size:"xs",variant:"text",className:le(o&&"bg-(--sky-3) rounded-none"),onClick:()=>p(!o),disabled:u.length===0,children:(0,t.jsx)(he,{size:16})})}),(0,t.jsx)(z,{content:(0,t.jsx)("span",{className:"block max-w-prose",children:"Use this scratchpad to experiment with code without restrictions on variable names. Variables defined here aren't saved to notebook memory, and the code is not saved in the notebook file."}),children:(0,t.jsx)(C,{size:"xs",variant:"text",children:(0,t.jsx)(Ge,{size:16})})})]}),e[19]=W,e[20]=Q,e[21]=f,e[22]=u.length,e[23]=o,e[24]=p,e[25]=O,e[26]=P):P=e[26];let $=P,je=S==="vertical",D;e[27]===Symbol.for("react.memo_cache_sentinel")?(D=ke.create(n),e[27]=D):D=e[27];let x;e[28]===$?x=e[29]:(x=$(),e[28]=$,e[29]=x);let R;e[30]===Symbol.for("react.memo_cache_sentinel")?(R=a=>{c.current=a},e[30]=R):R=e[30];let _;e[31]!==r||e[32]!==f||e[33]!==Y||e[34]!==m||e[35]!==i?(_=(0,t.jsx)("div",{className:"flex-1 overflow-auto",children:(0,t.jsx)(Ue,{theme:m,showPlaceholder:!1,id:n,code:r,config:_e,status:"idle",serializedEditorState:null,runCell:f,userConfig:i,editorViewRef:c,setEditorView:R,hidden:!1,showHiddenCode:ie.NOOP,languageAdapter:Y,setLanguageAdapter:ge})}),e[31]=r,e[32]=f,e[33]=Y,e[34]=m,e[35]=i,e[36]=_):_=e[36];let v;e[37]===Z?v=e[38]:(v=Z(),e[37]=Z,e[38]=v);let g;e[39]!==v||e[40]!==x||e[41]!==_?(g=(0,t.jsx)(ne,{defaultSize:40,minSize:20,maxSize:70,children:(0,t.jsxs)("div",{className:"h-full flex flex-col overflow-hidden relative",children:[x,_,v]})}),e[39]=v,e[40]=x,e[41]=_,e[42]=g):g=e[42];let ee=je?"h-1":"w-1",j;e[43]===ee?j=e[44]:(j=le("bg-border hover:bg-primary/50 transition-colors",ee),e[43]=ee,e[44]=j);let y;e[45]===j?y=e[46]:(y=(0,t.jsx)(Ze,{className:j}),e[45]=j,e[46]=y);let b;e[47]===B?b=e[48]:(b=(0,t.jsx)("div",{className:"flex-1 overflow-auto",children:(0,t.jsx)(Me,{allowExpand:!1,output:B,className:Ee.outputArea,cellId:n,stale:!1,loading:!1})}),e[47]=B,e[48]=b);let N;e[49]===J?N=e[50]:(N=(0,t.jsx)("div",{className:"overflow-auto shrink-0 max-h-[50%]",children:(0,t.jsx)(Re,{consoleOutputs:J,className:"overflow-auto",stale:!1,cellName:"_",onSubmitDebugger:ie.NOOP,cellId:n,debuggerActive:!1})}),e[49]=J,e[50]=N);let w;e[51]!==b||e[52]!==N?(w=(0,t.jsx)(ne,{defaultSize:60,minSize:20,children:(0,t.jsxs)("div",{className:"h-full flex flex-col divide-y overflow-hidden",children:[b,N]})}),e[51]=b,e[52]=N,e[53]=w):w=e[53];let H;return e[54]!==S||e[55]!==U||e[56]!==g||e[57]!==y||e[58]!==w?(H=(0,t.jsx)("div",{className:"flex flex-col h-full overflow-hidden",id:D,children:(0,t.jsxs)(Ye,{direction:S,className:"h-full",children:[g,y,w]},U)}),e[54]=S,e[55]=U,e[56]=g,e[57]=y,e[58]=w,e[59]=H):H=e[59],H};let te;te=se(),ce=()=>{let e=(0,te.c)(1),s;return e[0]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(ve,{}),e[0]=s):s=e[0],s}});export{ot as __tla,ce as default};
package/dist/index.html CHANGED
@@ -66,7 +66,7 @@
66
66
  <marimo-server-token data-token="{{ server_token }}" hidden></marimo-server-token>
67
67
  <!-- /TODO -->
68
68
  <title>{{ title }}</title>
69
- <script type="module" crossorigin src="./assets/index-BFivsT-R.js"></script>
69
+ <script type="module" crossorigin src="./assets/index-z8Uh9i5Z.js"></script>
70
70
  <link rel="modulepreload" crossorigin href="./assets/preload-helper-D2MJg03u.js">
71
71
  <link rel="modulepreload" crossorigin href="./assets/chunk-LvLJmgfZ.js">
72
72
  <link rel="modulepreload" crossorigin href="./assets/react-Bj1aDYRI.js">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marimo-team/frontend",
3
- "version": "0.23.4-dev1",
3
+ "version": "0.23.4-dev7",
4
4
  "main": "dist/main.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -209,7 +209,7 @@
209
209
  "@types/react": "^19.2.10",
210
210
  "@types/react-dom": "^19.2.3",
211
211
  "@types/timestring": "^6.0.5",
212
- "@vitejs/plugin-react": "^5.1.4",
212
+ "@vitejs/plugin-react": "^5.2.0",
213
213
  "babel-plugin-react-compiler": "19.1.0-rc.3",
214
214
  "blob-polyfill": "^7.0.20220408",
215
215
  "cross-env": "^7.0.3",
@@ -226,11 +226,11 @@
226
226
  "storybook": "^10.2.12",
227
227
  "stylelint": "^16.26.1",
228
228
  "stylelint-config-standard": "^36.0.1",
229
- "tailwindcss": "^4.2.0",
229
+ "tailwindcss": "^4.2.2",
230
230
  "vega-typings": "^2.1.0",
231
231
  "vite": "npm:rolldown-vite@7.3.1",
232
232
  "vite-plugin-top-level-await": "^1.6.0",
233
- "vite-plugin-wasm": "^3.5.0",
233
+ "vite-plugin-wasm": "^3.6.0",
234
234
  "vitest": "^3.2.4"
235
235
  }
236
236
  }
@@ -1,2 +0,0 @@
1
- import{r as Oi}from"./chunk-LvLJmgfZ.js";let ae,ie,le,ge,ce,de,we,be,ue,pe,he,fe,me,ve,ye,xe,Se,Ce,Ae,Oe,Ie,Ne,Fe,De,Le,ke,Ee,Re,Te,Je,Ve,Ue,Pe,Be,Me,ze,je,We,He,qe,$e,Ke,Ge,Qe,Xe,Ye,Ze,et,tt,rt,_t,ot,nt,st,at,it,lt,gt,ct,dt,wt,bt,ut,pt,ht,ft,mt,vt,yt,xt,St,Ct,At,Ot,It,Nt,Ft,Dt,Lt,kt,Et,Rt,Tt,Jt,Vt,Ut,Pt,Bt,Mt,zt,jt,Wt,Ht,qt,$t,Kt,Gt,Qt,Xt,Yt,Zt,er,tr,rr,_r,or,nr,sr,ar,ir,lr,gr,cr,dr,wr,br,ur,pr,hr,fr,mr,vr,yr,xr,Sr,Cr,Ar,Or,Ir,Nr,Fr,Dr,Lr,kr,Er,Rr,Tr,Jr,Vr,Ur,Pr,Br,Mr,zr,jr,Wr,Hr,qr,$r,Kr,Gr,Qr,Xr,Yr,Zr,e_,t_,r_,__,o_,n_,s_,a_,i_,l_,g_,c_,d_,w_,b_,u_,p_,h_,f_,m_,v_,y_,x_,S_,C_,A_,O_,I_,N_,F_,D_,L_,k_,E_,R_,T_,J_,L,V_,U_,P_,B_,M_,z_,j_,W_,H_,q_,$_,K_,G_,Q_,Ii,X_,Y_,Z_,eo,Ni,to,ro,_o,oo,no,so,ao,io,lo,go,co,wo,bo,uo,po,ho,fo,mo,vo,yo,xo,So,Co,Ao,Oo,Io,No,Fo,Do,Lo,ko,Eo,Q,Ro,To,Jo,Vo,Uo,Po,X,Bo,Mo,zo,jo,Wo,Ho,qo,$o,Ko,Go,Qo,Xo,Yo,Zo,en,tn,rn,_n,on,nn,sn,an,ln,gn,cn,dn,wn,bn,un,pn,hn,fn,mn,vn,yn,xn,Sn,Cn,An,On,S,In,Nn,Fn,Dn,Ln,kn,En,Rn,Tn,Jn,Vn,Un,Pn,N,Bn,Mn,zn,jn,Wn,Hn,qn,$n,Kn,Gn,Qn,Xn,Yn,Zn,es,ts,rs,_s,os,ns,ss,as,is,ls,gs,cs,ds,ws,bs,us,ps,hs,Hi=(async()=>{let ms,vs,r;ms=""+new URL("loro_wasm_bg-WKwciKJa.wasm",import.meta.url).href,vs=async(_={},e)=>{let t;if(e.startsWith("data:")){let n=e.replace(/^data:.*?base64,/,""),a;if(typeof Buffer=="function"&&typeof Buffer.from=="function")a=Buffer.from(n,"base64");else if(typeof atob=="function"){let i=atob(n);a=new Uint8Array(i.length);for(let g=0;g<i.length;g++)a[g]=i.charCodeAt(g)}else throw Error("Cannot decode base64-encoded data URL");t=await WebAssembly.instantiate(a,_)}else{let n=await fetch(e),a=n.headers.get("Content-Type")||"";if("instantiateStreaming"in WebAssembly&&a.startsWith("application/wasm"))t=await WebAssembly.instantiateStreaming(n,_);else{let i=await n.arrayBuffer();t=await WebAssembly.instantiate(i,_)}}return t.instance.exports},Ni=Oi({AwarenessWasm:()=>Zo,ChangeModifier:()=>re,Cursor:()=>S,EphemeralStoreWasm:()=>D_,LORO_VERSION:()=>Pi,LoroCounter:()=>V,LoroDoc:()=>Q,LoroList:()=>B,LoroMap:()=>N,LoroMovableList:()=>j,LoroText:()=>L,LoroTree:()=>q,LoroTreeNode:()=>D,UndoManager:()=>G_,VersionVector:()=>x,__wbg_String_8f0eb39a4a4c2f66:()=>Cs,__wbg_apply_36be6a55257c99bf:()=>As,__wbg_apply_eb9e9b97497f91e4:()=>Os,__wbg_buffer_609cc3eee51ed158:()=>Is,__wbg_call_672a4d21634d4a24:()=>Ns,__wbg_call_7cccdd69e0791ae2:()=>Fs,__wbg_call_833bed5770ea2041:()=>Ds,__wbg_call_b8adc8b1d0a0d8eb:()=>Ls,__wbg_changemodifier_new:()=>ks,__wbg_crypto_574e78ad8b13b65f:()=>Es,__wbg_cursor_new:()=>Rs,__wbg_done_769e5ede4b31c67b:()=>Ts,__wbg_entries_3265d4158b33e5dc:()=>Js,__wbg_entries_c8a90a7ed73e84ce:()=>Vs,__wbg_error_1cb1bf0bb7e0da2b:()=>Us,__wbg_error_7534b8e9a36f1ab4:()=>Ps,__wbg_from_2a5d3e218e67aa85:()=>Bs,__wbg_getOwnPropertySymbols_97eebed6fe6e08be:()=>Ms,__wbg_getRandomValues_b8f5dbd5f3995a9e:()=>zs,__wbg_get_67b2ba62fc30de12:()=>js,__wbg_get_b9b93047fe3cf45b:()=>Ws,__wbg_getindex_5b00c274b05714aa:()=>Hs,__wbg_getwithrefkey_1dc361bd10053bfe:()=>qs,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:()=>$s,__wbg_instanceof_Map_f3469ce2244d2430:()=>Ks,__wbg_instanceof_Object_7f2dcef8f78644a4:()=>Gs,__wbg_instanceof_Uint8Array_17156bcf118086a9:()=>Qs,__wbg_isArray_a1eab7e0d067391b:()=>Xs,__wbg_isSafeInteger_343e2beeeece1bb0:()=>Ys,__wbg_iterator_9a24c88df860dc65:()=>Zs,__wbg_length_a446193dc22c12f8:()=>ea,__wbg_length_e2d2a49132c1b256:()=>ta,__wbg_log_0671e6aa34e04626:()=>ra,__wbg_log_0cc1b7768397bcfe:()=>_a,__wbg_log_cb9e190acc5753fb:()=>oa,__wbg_lorocounter_new:()=>na,__wbg_lorolist_new:()=>sa,__wbg_loromap_new:()=>aa,__wbg_loromovablelist_new:()=>ia,__wbg_lorotext_new:()=>la,__wbg_lorotree_new:()=>ga,__wbg_lorotreenode_new:()=>ca,__wbg_mark_7438147ce31e9d4b:()=>da,__wbg_measure_fb7825c11612c823:()=>wa,__wbg_msCrypto_a61aeb35a24c1329:()=>ba,__wbg_new_405e22f390576ce2:()=>ua,__wbg_new_5e0be73521bc8c17:()=>pa,__wbg_new_78feb108b6472713:()=>ha,__wbg_new_8a6f238a6ece86ea:()=>fa,__wbg_new_a12002a7f91c75be:()=>ma,__wbg_newnoargs_105ed471475aaf50:()=>va,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:()=>ya,__wbg_newwithlength_a381634e90c276d4:()=>xa,__wbg_newwithlength_c4c419ef0bc8a1f8:()=>Sa,__wbg_next_25feadfc0913fea9:()=>Ca,__wbg_next_6574e1a8a62d1055:()=>Aa,__wbg_node_905d3e251edff8a2:()=>Oa,__wbg_now_c8bdc8efc8c495eb:()=>Ia,__wbg_ownKeys_3930041068756f1f:()=>Na,__wbg_process_dc0fbacc7c1c06f7:()=>Fa,__wbg_push_737cfc8c1432c2c6:()=>Da,__wbg_randomFillSync_ac0988aba3254290:()=>La,__wbg_require_60cc747a6bc5215a:()=>ka,__wbg_resolve_4851785c9c5f573d:()=>Ea,__wbg_set_37837023f3d740e8:()=>Ra,__wbg_set_3f1d0b984ed272ed:()=>Ta,__wbg_set_65595bdd868b3009:()=>Ja,__wbg_set_8fc6bf8a5b1071d1:()=>Va,__wbg_set_bb8cecf6a62b9f46:()=>Ua,__wbg_set_wasm:()=>sn,__wbg_setindex_dcd71eabf405bde1:()=>Pa,__wbg_stack_0ed75d68575b0f3c:()=>Ba,__wbg_static_accessor_GLOBAL_88a902d13a557d07:()=>Ma,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:()=>za,__wbg_static_accessor_SELF_37c5d418e4bf5819:()=>ja,__wbg_static_accessor_WINDOW_5de37043a91a9c40:()=>Wa,__wbg_subarray_aa9065fa9dc5df96:()=>Ha,__wbg_then_44b73946d2fb3e7d:()=>qa,__wbg_value_cd1ffa7b1ab794f1:()=>$a,__wbg_versions_c01dfd4722a88165:()=>Ka,__wbg_versionvector_new:()=>Ga,__wbg_warn_90235b184e422485:()=>Qa,__wbindgen_as_number:()=>Xa,__wbindgen_bigint_from_i64:()=>Ya,__wbindgen_bigint_from_u64:()=>Za,__wbindgen_bigint_get_as_i64:()=>ei,__wbindgen_boolean_get:()=>ti,__wbindgen_cb_drop:()=>ri,__wbindgen_closure_wrapper718:()=>_i,__wbindgen_closure_wrapper721:()=>oi,__wbindgen_debug_string:()=>ni,__wbindgen_error_new:()=>si,__wbindgen_in:()=>ai,__wbindgen_init_externref_table:()=>X,__wbindgen_is_array:()=>ii,__wbindgen_is_bigint:()=>li,__wbindgen_is_falsy:()=>gi,__wbindgen_is_function:()=>ci,__wbindgen_is_null:()=>di,__wbindgen_is_object:()=>wi,__wbindgen_is_string:()=>bi,__wbindgen_is_undefined:()=>ui,__wbindgen_jsval_eq:()=>pi,__wbindgen_jsval_loose_eq:()=>hi,__wbindgen_memory:()=>fi,__wbindgen_number_get:()=>mi,__wbindgen_number_new:()=>vi,__wbindgen_rethrow:()=>yi,__wbindgen_string_get:()=>xi,__wbindgen_string_new:()=>Si,__wbindgen_throw:()=>Ci,__wbindgen_typeof:()=>Ai,callPendingEvents:()=>ao,decodeFrontiers:()=>Ji,decodeImportBlobMeta:()=>Bi,encodeFrontiers:()=>Mi,redactJsonUpdates:()=>Ui,run:()=>zi,setDebug:()=>Vi},1),sn=function(_){r=_};var l=0,R=null;function A(){return(R===null||R.byteLength===0)&&(R=new Uint8Array(r.memory.buffer)),R}var T=new(typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder)("utf-8"),Ti=typeof T.encodeInto=="function"?function(_,e){return T.encodeInto(_,e)}:function(_,e){let t=T.encode(_);return e.set(t),{read:_.length,written:t.length}};function d(_,e,t){if(t===void 0){let c=T.encode(_),h=e(c.length,1)>>>0;return A().subarray(h,h+c.length).set(c),l=c.length,h}let n=_.length,a=e(n,1)>>>0,i=A(),g=0;for(;g<n;g++){let c=_.charCodeAt(g);if(c>127)break;i[a+g]=c}if(g!==n){g!==0&&(_=_.slice(g)),a=t(a,n,n=g+_.length*3,1)>>>0;let c=A().subarray(a+g,a+n),h=Ti(_,c);g+=h.written,a=t(a,n,g,1)>>>0}return l=g,a}var O=null;function u(){return(O===null||O.buffer.detached===!0||O.buffer.detached===void 0&&O.buffer!==r.memory.buffer)&&(O=new DataView(r.memory.buffer)),O}function C(_){let e=r.__externref_table_alloc();return r.__wbindgen_export_4.set(e,_),e}function p(_,e){try{return _.apply(this,e)}catch(t){let n=C(t);r.__wbindgen_exn_store(n)}}var ys=new(typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder)("utf-8",{ignoreBOM:!0,fatal:!0});ys.decode();function w(_,e){return _>>>=0,ys.decode(A().subarray(_,_+e))}function b(_){return _==null}var xs=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>{r.__wbindgen_export_6.get(_.dtor)(_.a,_.b)});function Ss(_,e,t,n){let a={a:_,b:e,cnt:1,dtor:t},i=(...g)=>{a.cnt++;let c=a.a;a.a=0;try{return n(c,a.b,...g)}finally{--a.cnt===0?(r.__wbindgen_export_6.get(a.dtor)(c,a.b),xs.unregister(a)):a.a=c}};return i.original=a,xs.register(i,a,a),i}function Z(_){let e=typeof _;if(e=="number"||e=="boolean"||_==null)return`${_}`;if(e=="string")return`"${_}"`;if(e=="symbol"){let a=_.description;return a==null?"Symbol":`Symbol(${a})`}if(e=="function"){let a=_.name;return typeof a=="string"&&a.length>0?`Function(${a})`:"Function"}if(Array.isArray(_)){let a=_.length,i="[";a>0&&(i+=Z(_[0]));for(let g=1;g<a;g++)i+=", "+Z(_[g]);return i+="]",i}let t=/\[object ([^\]]+)\]/.exec(toString.call(_)),n;if(t&&t.length>1)n=t[1];else return toString.call(_);if(n=="Object")try{return"Object("+JSON.stringify(_)+")"}catch{return"Object"}return _ instanceof Error?`${_.name}: ${_.message}
2
- ${_.stack}`:n}function s(_){let e=r.__wbindgen_export_4.get(_);return r.__externref_table_dealloc(_),e}function I(_,e){if(!(_ instanceof e))throw Error(`expected instance of ${e.name}`)}function v(_,e){let t=e(_.length*1,1)>>>0;return A().set(_,t/1),l=_.length,t}function y(_,e){return _>>>=0,A().subarray(_/1,_/1+e)}function m(_,e){_>>>=0;let t=u(),n=[];for(let a=_;a<_+4*e;a+=4)n.push(r.__wbindgen_export_4.get(t.getUint32(a,!0)));return r.__externref_drop_slice(_,e),n}ao=function(){r.callPendingEvents()};function Ji(_){let e=v(_,r.__wbindgen_malloc),t=l,n=r.decodeFrontiers(e,t);if(n[2])throw s(n[1]);return s(n[0])}function Vi(){r.setDebug()}function Ui(_,e){let t=r.redactJsonUpdates(_,e);if(t[2])throw s(t[1]);return s(t[0])}function Pi(){let _,e;try{let t=r.LORO_VERSION();return _=t[0],e=t[1],w(t[0],t[1])}finally{r.__wbindgen_free(_,e,1)}}function Bi(_,e){let t=v(_,r.__wbindgen_malloc),n=l,a=r.decodeImportBlobMeta(t,n,e);if(a[2])throw s(a[1]);return s(a[0])}function f(_,e){let t=e(_.length*4,4)>>>0;for(let n=0;n<_.length;n++){let a=C(_[n]);u().setUint32(t+4*n,a,!0)}return l=_.length,t}function Mi(_){let e=f(_,r.__wbindgen_malloc),t=l,n=r.encodeFrontiers(e,t);if(n[3])throw s(n[2]);var a=y(n[0],n[1]).slice();return r.__wbindgen_free(n[0],n[1]*1,1),a}function zi(){r.run()}function ji(_,e,t){r.closure9_externref_shim(_,e,t)}function Wi(_,e){r._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h423c5eefcad13156(_,e)}let ee,te,re,_e,oe,J,V,U,P,B,M,z,j,W,H,q,ne,D,se,$,x;ee=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_awarenesswasm_free(_>>>0,1)),Zo=class{__destroy_into_raw(){let _=this.__wbg_ptr;return this.__wbg_ptr=0,ee.unregister(this),_}free(){let _=this.__destroy_into_raw();r.__wbg_awarenesswasm_free(_,0)}getAllStates(){let _=r.awarenesswasm_getAllStates(this.__wbg_ptr);if(_[2])throw s(_[1]);return s(_[0])}getTimestamp(_){let e=r.awarenesswasm_getTimestamp(this.__wbg_ptr,_);if(e[3])throw s(e[2]);return e[0]===0?void 0:e[1]}setLocalState(_){r.awarenesswasm_setLocalState(this.__wbg_ptr,_)}removeOutdated(){let _=r.awarenesswasm_removeOutdated(this.__wbg_ptr);var e=m(_[0],_[1]).slice();return r.__wbindgen_free(_[0],_[1]*4,4),e}constructor(_,e){let t=r.awarenesswasm_new(_,e);if(t[2])throw s(t[1]);return this.__wbg_ptr=t[0]>>>0,ee.register(this,this.__wbg_ptr,this),this}peer(){return r.awarenesswasm_peer(this.__wbg_ptr)}apply(_){let e=v(_,r.__wbindgen_malloc),t=l,n=r.awarenesswasm_apply(this.__wbg_ptr,e,t);if(n[2])throw s(n[1]);return s(n[0])}peers(){let _=r.awarenesswasm_peers(this.__wbg_ptr);var e=m(_[0],_[1]).slice();return r.__wbindgen_free(_[0],_[1]*4,4),e}encode(_){let e=r.awarenesswasm_encode(this.__wbg_ptr,_);if(e[3])throw s(e[2]);var t=y(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*1,1),t}length(){return r.awarenesswasm_length(this.__wbg_ptr)}isEmpty(){return r.awarenesswasm_isEmpty(this.__wbg_ptr)!==0}getState(_){let e=r.awarenesswasm_getState(this.__wbg_ptr,_);if(e[2])throw s(e[1]);return s(e[0])}encodeAll(){let _=r.awarenesswasm_encodeAll(this.__wbg_ptr);var e=y(_[0],_[1]).slice();return r.__wbindgen_free(_[0],_[1]*1,1),e}},te=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_changemodifier_free(_>>>0,1)),re=class Y{static __wrap(e){e>>>=0;let t=Object.create(Y.prototype);return t.__wbg_ptr=e,te.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,te.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_changemodifier_free(e,0)}setMessage(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l,a=r.changemodifier_setMessage(this.__wbg_ptr,t,n);return Y.__wrap(a)}setTimestamp(e){let t=r.changemodifier_setTimestamp(this.__wbg_ptr,e);return Y.__wrap(t)}},_e=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_cursor_free(_>>>0,1)),S=class fs{static __wrap(e){e>>>=0;let t=Object.create(fs.prototype);return t.__wbg_ptr=e,_e.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,_e.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_cursor_free(e,0)}containerId(){return r.cursor_containerId(this.__wbg_ptr)}pos(){let e=r.cursor_pos(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}kind(){return r.cursor_kind(this.__wbg_ptr)}side(){return r.cursor_side(this.__wbg_ptr)}static decode(e){let t=v(e,r.__wbindgen_malloc),n=l,a=r.cursor_decode(t,n);if(a[2])throw s(a[1]);return fs.__wrap(a[0])}encode(){let e=r.cursor_encode(this.__wbg_ptr);var t=y(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*1,1),t}},oe=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_ephemeralstorewasm_free(_>>>0,1)),D_=class{__destroy_into_raw(){let _=this.__wbg_ptr;return this.__wbg_ptr=0,oe.unregister(this),_}free(){let _=this.__destroy_into_raw();r.__wbg_ephemeralstorewasm_free(_,0)}getAllStates(){let _=r.ephemeralstorewasm_getAllStates(this.__wbg_ptr);if(_[2])throw s(_[1]);return s(_[0])}removeOutdated(){r.ephemeralstorewasm_removeOutdated(this.__wbg_ptr)}subscribeLocalUpdates(_){return r.ephemeralstorewasm_subscribeLocalUpdates(this.__wbg_ptr,_)}get(_){let e=d(_,r.__wbindgen_malloc,r.__wbindgen_realloc),t=l;return r.ephemeralstorewasm_get(this.__wbg_ptr,e,t)}constructor(_){return this.__wbg_ptr=r.ephemeralstorewasm_new(_)>>>0,oe.register(this,this.__wbg_ptr,this),this}set(_,e){let t=d(_,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;r.ephemeralstorewasm_set(this.__wbg_ptr,t,n,e)}keys(){let _=r.ephemeralstorewasm_keys(this.__wbg_ptr);var e=m(_[0],_[1]).slice();return r.__wbindgen_free(_[0],_[1]*4,4),e}apply(_){let e=v(_,r.__wbindgen_malloc),t=l,n=r.ephemeralstorewasm_apply(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}delete(_){let e=d(_,r.__wbindgen_malloc,r.__wbindgen_realloc),t=l;r.ephemeralstorewasm_delete(this.__wbg_ptr,e,t)}encode(_){let e=d(_,r.__wbindgen_malloc,r.__wbindgen_realloc),t=l,n=r.ephemeralstorewasm_encode(this.__wbg_ptr,e,t);var a=y(n[0],n[1]).slice();return r.__wbindgen_free(n[0],n[1]*1,1),a}isEmpty(){return r.ephemeralstorewasm_isEmpty(this.__wbg_ptr)!==0}encodeAll(){let _=r.ephemeralstorewasm_encodeAll(this.__wbg_ptr);var e=y(_[0],_[1]).slice();return r.__wbindgen_free(_[0],_[1]*1,1),e}subscribe(_){return r.ephemeralstorewasm_subscribe(this.__wbg_ptr,_)}},J=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorocounter_free(_>>>0,1)),V=class Fi{static __wrap(e){e>>>=0;let t=Object.create(Fi.prototype);return t.__wbg_ptr=e,J.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,J.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorocounter_free(e,0)}isAttached(){return r.lorocounter_isAttached(this.__wbg_ptr)!==0}getAttached(){return r.lorocounter_getAttached(this.__wbg_ptr)}getShallowValue(){let e=r.lorocounter_getShallowValue(this.__wbg_ptr);if(e[2])throw s(e[1]);return e[0]}get id(){return r.lorocounter_id(this.__wbg_ptr)}constructor(){return this.__wbg_ptr=r.lorocounter_new()>>>0,J.register(this,this.__wbg_ptr,this),this}kind(){return r.lorocounter_kind(this.__wbg_ptr)}parent(){return r.lorocounter_parent(this.__wbg_ptr)}toJSON(){let e=r.lorocounter_toJSON(this.__wbg_ptr);if(e[2])throw s(e[1]);return e[0]}decrement(e){let t=r.lorocounter_decrement(this.__wbg_ptr,e);if(t[1])throw s(t[0])}get value(){let e=r.lorocounter_value(this.__wbg_ptr);if(e[2])throw s(e[1]);return e[0]}increment(e){let t=r.lorocounter_increment(this.__wbg_ptr,e);if(t[1])throw s(t[0])}subscribe(e){let t=r.lorocounter_subscribe(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}},U=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorodoc_free(_>>>0,1)),Q=class k{static __wrap(e){e>>>=0;let t=Object.create(k.prototype);return t.__wbg_ptr=e,U.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,U.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorodoc_free(e,0)}applyDiff(e){let t=r.lorodoc_applyDiff(this.__wbg_ptr,e);if(t[1])throw s(t[0])}isShallow(){return r.lorodoc_isShallow(this.__wbg_ptr)!==0}changeCount(){return r.lorodoc_changeCount(this.__wbg_ptr)>>>0}getByPath(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;return r.lorodoc_getByPath(this.__wbg_ptr,t,n)}getCounter(e){let t=r.lorodoc_getCounter(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return V.__wrap(t[0])}isDetached(){return r.lorodoc_isDetached(this.__wbg_ptr)!==0}get peerIdStr(){return r.lorodoc_peerIdStr(this.__wbg_ptr)}setPeerId(e){let t=r.lorodoc_setPeerId(this.__wbg_ptr,e);if(t[1])throw s(t[0])}getCursorPos(e){I(e,S);let t=r.lorodoc_getCursorPos(this.__wbg_ptr,e.__wbg_ptr);if(t[2])throw s(t[1]);return s(t[0])}hasContainer(e){return r.lorodoc_hasContainer(this.__wbg_ptr,e)!==0}importBatch(e){let t=r.lorodoc_importBatch(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}cmpFrontiers(e,t){let n=f(e,r.__wbindgen_malloc),a=l,i=f(t,r.__wbindgen_malloc),g=l,c=r.lorodoc_cmpFrontiers(this.__wbg_ptr,n,a,i,g);if(c[2])throw s(c[1]);return s(c[0])}debugHistory(){r.lorodoc_debugHistory(this.__wbg_ptr)}static fromSnapshot(e){let t=v(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_fromSnapshot(t,n);if(a[2])throw s(a[1]);return k.__wrap(a[0])}getChangeAt(e){let t=r.lorodoc_getChangeAt(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}oplogVersion(){let e=r.lorodoc_oplogVersion(this.__wbg_ptr);return x.__wrap(e)}getMovableList(e){let t=r.lorodoc_getMovableList(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return j.__wrap(t[0])}frontiersToVV(e){let t=f(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_frontiersToVV(this.__wbg_ptr,t,n);if(a[2])throw s(a[1]);return x.__wrap(a[0])}getAllChanges(){return r.lorodoc_getAllChanges(this.__wbg_ptr)}oplogFrontiers(){let e=r.lorodoc_oplogFrontiers(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}vvToFrontiers(e){I(e,x);let t=r.lorodoc_vvToFrontiers(this.__wbg_ptr,e.__wbg_ptr);if(t[2])throw s(t[1]);return s(t[0])}shallowSinceVV(){let e=r.lorodoc_shallowSinceVV(this.__wbg_ptr);return x.__wrap(e)}configTextStyle(e){let t=r.lorodoc_configTextStyle(this.__wbg_ptr,e);if(t[1])throw s(t[0])}getOpsInChange(e){let t=r.lorodoc_getOpsInChange(this.__wbg_ptr,e);if(t[3])throw s(t[2]);var n=m(t[0],t[1]).slice();return r.__wbindgen_free(t[0],t[1]*4,4),n}getShallowValue(){let e=r.lorodoc_getShallowValue(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}checkoutToLatest(){let e=r.lorodoc_checkoutToLatest(this.__wbg_ptr);if(e[1])throw s(e[0])}cmpWithFrontiers(e){let t=f(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_cmpWithFrontiers(this.__wbg_ptr,t,n);if(a[2])throw s(a[1]);return a[0]}exportJsonInIdSpan(e){let t=r.lorodoc_exportJsonInIdSpan(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}subscribeJsonpath(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorodoc_subscribeJsonpath(this.__wbg_ptr,n,a,t);if(i[2])throw s(i[1]);return s(i[0])}deleteRootContainer(e){let t=r.lorodoc_deleteRootContainer(this.__wbg_ptr,e);if(t[1])throw s(t[0])}exportJsonUpdates(e,t,n){let a=r.lorodoc_exportJsonUpdates(this.__wbg_ptr,e,t,b(n)?16777215:n?1:0);if(a[2])throw s(a[1]);return s(a[0])}getContainerById(e){let t=r.lorodoc_getContainerById(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}getPendingTxnLength(){return r.lorodoc_getPendingTxnLength(this.__wbg_ptr)>>>0}importJsonUpdates(e){let t=r.lorodoc_importJsonUpdates(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}importUpdateBatch(e){let t=r.lorodoc_importUpdateBatch(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}setDetachedEditing(e){r.lorodoc_setDetachedEditing(this.__wbg_ptr,e)}setRecordTimestamp(e){r.lorodoc_setRecordTimestamp(this.__wbg_ptr,e)}subscribePreCommit(e){return r.lorodoc_subscribePreCommit(this.__wbg_ptr,e)}findIdSpansBetween(e,t){let n=f(e,r.__wbindgen_malloc),a=l,i=f(t,r.__wbindgen_malloc),g=l,c=r.lorodoc_findIdSpansBetween(this.__wbg_ptr,n,a,i,g);if(c[2])throw s(c[1]);return s(c[0])}getChangeAtLamport(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorodoc_getChangeAtLamport(this.__wbg_ptr,n,a,t);if(i[2])throw s(i[1]);return s(i[0])}getPathToContainer(e){let t=r.lorodoc_getPathToContainer(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}getChangedContainersIn(e,t){let n=r.lorodoc_getChangedContainersIn(this.__wbg_ptr,e,t);if(n[3])throw s(n[2]);var a=m(n[0],n[1]).slice();return r.__wbindgen_free(n[0],n[1]*4,4),a}getDeepValueWithID(){return r.lorodoc_getDeepValueWithID(this.__wbg_ptr)}setNextCommitOrigin(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;r.lorodoc_setNextCommitOrigin(this.__wbg_ptr,t,n)}getUncommittedOpsAsJson(){let e=r.lorodoc_getUncommittedOpsAsJson(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}setNextCommitMessage(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;r.lorodoc_setNextCommitMessage(this.__wbg_ptr,t,n)}setNextCommitOptions(e){let t=r.lorodoc_setNextCommitOptions(this.__wbg_ptr,e);if(t[1])throw s(t[0])}shallowSinceFrontiers(){let e=r.lorodoc_shallowSinceFrontiers(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}subscribeLocalUpdates(e){return r.lorodoc_subscribeLocalUpdates(this.__wbg_ptr,e)}travelChangeAncestors(e,t){let n=f(e,r.__wbindgen_malloc),a=l,i=r.lorodoc_travelChangeAncestors(this.__wbg_ptr,n,a,t);if(i[1])throw s(i[0])}clearNextCommitOptions(){r.lorodoc_clearNextCommitOptions(this.__wbg_ptr)}configDefaultTextStyle(e){let t=r.lorodoc_configDefaultTextStyle(this.__wbg_ptr,e);if(t[1])throw s(t[0])}setChangeMergeInterval(e){r.lorodoc_setChangeMergeInterval(this.__wbg_ptr,e)}setNextCommitTimestamp(e){r.lorodoc_setNextCommitTimestamp(this.__wbg_ptr,e)}setHideEmptyRootContainers(e){let t=r.lorodoc_setHideEmptyRootContainers(this.__wbg_ptr,e);if(t[1])throw s(t[0])}isDetachedEditingEnabled(){return r.lorodoc_isDetachedEditingEnabled(this.__wbg_ptr)!==0}subscribeFirstCommitFromPeer(e){return r.lorodoc_subscribeFirstCommitFromPeer(this.__wbg_ptr,e)}constructor(){return this.__wbg_ptr=r.lorodoc_new()>>>0,U.register(this,this.__wbg_ptr,this),this}diff(e,t,n){let a=f(e,r.__wbindgen_malloc),i=l,g=f(t,r.__wbindgen_malloc),c=l,h=r.lorodoc_diff(this.__wbg_ptr,a,i,g,c,b(n)?16777215:n?1:0);if(h[2])throw s(h[1]);return s(h[0])}fork(){let e=r.lorodoc_fork(this.__wbg_ptr);return k.__wrap(e)}attach(){r.lorodoc_attach(this.__wbg_ptr)}commit(e){let t=r.lorodoc_commit(this.__wbg_ptr,b(e)?0:C(e));if(t[1])throw s(t[0])}detach(){r.lorodoc_detach(this.__wbg_ptr)}export(e){let t=r.lorodoc_export(this.__wbg_ptr,e);if(t[3])throw s(t[2]);var n=y(t[0],t[1]).slice();return r.__wbindgen_free(t[0],t[1]*1,1),n}import(e){let t=v(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_import(this.__wbg_ptr,t,n);if(a[2])throw s(a[1]);return s(a[0])}forkAt(e){let t=f(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_forkAt(this.__wbg_ptr,t,n);if(a[2])throw s(a[1]);return k.__wrap(a[0])}getMap(e){let t=r.lorodoc_getMap(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return N.__wrap(t[0])}opCount(){return r.lorodoc_opCount(this.__wbg_ptr)>>>0}get peerId(){let e=r.lorodoc_peerId(this.__wbg_ptr);return BigInt.asUintN(64,e)}toJSON(){let e=r.lorodoc_toJSON(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}version(){let e=r.lorodoc_version(this.__wbg_ptr);return x.__wrap(e)}checkout(e){let t=f(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_checkout(this.__wbg_ptr,t,n);if(a[1])throw s(a[0])}getList(e){let t=r.lorodoc_getList(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return B.__wrap(t[0])}getText(e){let t=r.lorodoc_getText(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return L.__wrap(t[0])}getTree(e){let t=r.lorodoc_getTree(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return q.__wrap(t[0])}frontiers(){let e=r.lorodoc_frontiers(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}JSONPath(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l,a=r.lorodoc_JSONPath(this.__wbg_ptr,t,n);if(a[2])throw s(a[1]);return s(a[0])}revertTo(e){let t=f(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_revertTo(this.__wbg_ptr,t,n);if(a[1])throw s(a[0])}subscribe(e){return r.lorodoc_subscribe(this.__wbg_ptr,e)}},P=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorolist_free(_>>>0,1)),B=class Di{static __wrap(e){e>>>=0;let t=Object.create(Di.prototype);return t.__wbg_ptr=e,P.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,P.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorolist_free(e,0)}isAttached(){return r.lorolist_isAttached(this.__wbg_ptr)!==0}getAttached(){return r.lorolist_getAttached(this.__wbg_ptr)}pushContainer(e){let t=r.lorolist_pushContainer(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}insertContainer(e,t){let n=r.lorolist_insertContainer(this.__wbg_ptr,e,t);if(n[2])throw s(n[1]);return s(n[0])}getShallowValue(){return r.lorolist_getShallowValue(this.__wbg_ptr)}get id(){return r.lorolist_id(this.__wbg_ptr)}get(e){return r.lorolist_get(this.__wbg_ptr,e)}constructor(){return this.__wbg_ptr=r.lorolist_new()>>>0,P.register(this,this.__wbg_ptr,this),this}pop(){let e=r.lorolist_pop(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}kind(){return r.lorolist_kind(this.__wbg_ptr)}push(e){let t=r.lorolist_push(this.__wbg_ptr,e);if(t[1])throw s(t[0])}clear(){let e=r.lorolist_clear(this.__wbg_ptr);if(e[1])throw s(e[0])}delete(e,t){let n=r.lorolist_delete(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}insert(e,t){let n=r.lorolist_insert(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}get length(){return r.lorolist_length(this.__wbg_ptr)>>>0}parent(){return r.lorolist_parent(this.__wbg_ptr)}getIdAt(e){let t=r.lorolist_getIdAt(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}toJSON(){return r.lorolist_toJSON(this.__wbg_ptr)}toArray(){let e=r.lorolist_toArray(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}getCursor(e,t){let n=r.lorolist_getCursor(this.__wbg_ptr,e,t);return n===0?void 0:S.__wrap(n)}isDeleted(){return r.lorolist_isDeleted(this.__wbg_ptr)!==0}subscribe(e){let t=r.lorolist_subscribe(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}},M=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_loromap_free(_>>>0,1)),N=class Li{static __wrap(e){e>>>=0;let t=Object.create(Li.prototype);return t.__wbg_ptr=e,M.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,M.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_loromap_free(e,0)}isAttached(){return r.loromap_isAttached(this.__wbg_ptr)!==0}getAttached(){return r.loromap_getAttached(this.__wbg_ptr)}getLastEditor(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;return r.loromap_getLastEditor(this.__wbg_ptr,t,n)}setContainer(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.loromap_setContainer(this.__wbg_ptr,n,a,t);if(i[2])throw s(i[1]);return s(i[0])}getShallowValue(){return r.loromap_getShallowValue(this.__wbg_ptr)}getOrCreateContainer(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.loromap_getOrCreateContainer(this.__wbg_ptr,n,a,t);if(i[2])throw s(i[1]);return s(i[0])}get id(){return r.loromap_id(this.__wbg_ptr)}get(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;return r.loromap_get(this.__wbg_ptr,t,n)}constructor(){return this.__wbg_ptr=r.loromap_new()>>>0,M.register(this,this.__wbg_ptr,this),this}keys(){let e=r.loromap_keys(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}kind(){return r.loromap_kind(this.__wbg_ptr)}get size(){return r.loromap_size(this.__wbg_ptr)>>>0}clear(){let e=r.loromap_clear(this.__wbg_ptr);if(e[1])throw s(e[0])}delete(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l,a=r.loromap_delete(this.__wbg_ptr,t,n);if(a[1])throw s(a[0])}set(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.loromap_set(this.__wbg_ptr,n,a,t);if(i[1])throw s(i[0])}parent(){return r.loromap_parent(this.__wbg_ptr)}values(){let e=r.loromap_values(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}entries(){let e=r.loromap_entries(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}toJSON(){return r.loromap_toJSON(this.__wbg_ptr)}isDeleted(){return r.loromap_isDeleted(this.__wbg_ptr)!==0}subscribe(e){let t=r.loromap_subscribe(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}},z=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_loromovablelist_free(_>>>0,1)),j=class ki{static __wrap(e){e>>>=0;let t=Object.create(ki.prototype);return t.__wbg_ptr=e,z.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,z.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_loromovablelist_free(e,0)}isAttached(){return r.loromovablelist_isAttached(this.__wbg_ptr)!==0}getCreatorAt(e){return r.loromovablelist_getCreatorAt(this.__wbg_ptr,e)}getAttached(){return r.loromovablelist_getAttached(this.__wbg_ptr)}setContainer(e,t){let n=r.loromovablelist_setContainer(this.__wbg_ptr,e,t);if(n[2])throw s(n[1]);return s(n[0])}getLastMoverAt(e){return r.loromovablelist_getLastMoverAt(this.__wbg_ptr,e)}pushContainer(e){let t=r.loromovablelist_pushContainer(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}getLastEditorAt(e){return r.loromovablelist_getLastEditorAt(this.__wbg_ptr,e)}insertContainer(e,t){let n=r.loromovablelist_insertContainer(this.__wbg_ptr,e,t);if(n[2])throw s(n[1]);return s(n[0])}getShallowValue(){return r.loromovablelist_getShallowValue(this.__wbg_ptr)}get id(){return r.loromovablelist_id(this.__wbg_ptr)}get(e){return r.loromovablelist_get(this.__wbg_ptr,e)}move(e,t){let n=r.loromovablelist_move(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}constructor(){return this.__wbg_ptr=r.loromovablelist_new()>>>0,z.register(this,this.__wbg_ptr,this),this}pop(){let e=r.loromovablelist_pop(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}set(e,t){let n=r.loromovablelist_set(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}kind(){return r.loromovablelist_kind(this.__wbg_ptr)}push(e){let t=r.loromovablelist_push(this.__wbg_ptr,e);if(t[1])throw s(t[0])}clear(){let e=r.loromovablelist_clear(this.__wbg_ptr);if(e[1])throw s(e[0])}delete(e,t){let n=r.loromovablelist_delete(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}insert(e,t){let n=r.loromovablelist_insert(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}get length(){return r.loromovablelist_length(this.__wbg_ptr)>>>0}parent(){return r.loromovablelist_parent(this.__wbg_ptr)}toJSON(){return r.loromovablelist_toJSON(this.__wbg_ptr)}toArray(){let e=r.loromovablelist_toArray(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}getCursor(e,t){let n=r.loromovablelist_getCursor(this.__wbg_ptr,e,t);return n===0?void 0:S.__wrap(n)}isDeleted(){return r.loromovablelist_isDeleted(this.__wbg_ptr)!==0}subscribe(e){let t=r.loromovablelist_subscribe(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}},W=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorotext_free(_>>>0,1)),L=class Ei{static __wrap(e){e>>>=0;let t=Object.create(Ei.prototype);return t.__wbg_ptr=e,W.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,W.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorotext_free(e,0)}applyDelta(e){let t=r.lorotext_applyDelta(this.__wbg_ptr,e);if(t[1])throw s(t[0])}convertPos(e,t,n){let a=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l,g=d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=l;return r.lorotext_convertPos(this.__wbg_ptr,e,a,i,g,c)}deleteUtf8(e,t){let n=r.lorotext_deleteUtf8(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}getEditorOf(e){return r.lorotext_getEditorOf(this.__wbg_ptr,e)}insertUtf8(e,t){let n=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorotext_insertUtf8(this.__wbg_ptr,e,n,a);if(i[1])throw s(i[0])}isAttached(){return r.lorotext_isAttached(this.__wbg_ptr)!==0}sliceDelta(e,t){let n=r.lorotext_sliceDelta(this.__wbg_ptr,e,t);if(n[2])throw s(n[1]);return s(n[0])}getAttached(){return r.lorotext_getAttached(this.__wbg_ptr)}updateByLine(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorotext_updateByLine(this.__wbg_ptr,n,a,t);if(i[1])throw s(i[0])}sliceDeltaUtf8(e,t){let n=r.lorotext_sliceDeltaUtf8(this.__wbg_ptr,e,t);if(n[2])throw s(n[1]);return s(n[0])}getShallowValue(){let e,t;try{let n=r.lorotext_getShallowValue(this.__wbg_ptr);return e=n[0],t=n[1],w(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}get id(){return r.lorotext_id(this.__wbg_ptr)}constructor(){return this.__wbg_ptr=r.lorotext_new()>>>0,W.register(this,this.__wbg_ptr,this),this}iter(e){let t=r.lorotext_iter(this.__wbg_ptr,e);if(t[1])throw s(t[0])}kind(){return r.lorotext_kind(this.__wbg_ptr)}mark(e,t,n){let a=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l,g=r.lorotext_mark(this.__wbg_ptr,e,a,i,n);if(g[1])throw s(g[0])}push(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l,a=r.lorotext_push(this.__wbg_ptr,t,n);if(a[1])throw s(a[0])}slice(e,t){let n,a;try{let c=r.lorotext_slice(this.__wbg_ptr,e,t);var i=c[0],g=c[1];if(c[3])throw i=0,g=0,s(c[2]);return n=i,a=g,w(i,g)}finally{r.__wbindgen_free(n,a,1)}}delete(e,t){let n=r.lorotext_delete(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}insert(e,t){let n=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorotext_insert(this.__wbg_ptr,e,n,a);if(i[1])throw s(i[0])}get length(){return r.lorotext_length(this.__wbg_ptr)>>>0}parent(){return r.lorotext_parent(this.__wbg_ptr)}splice(e,t,n){let a,i;try{let h=d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),K=l,G=r.lorotext_splice(this.__wbg_ptr,e,t,h,K);var g=G[0],c=G[1];if(G[3])throw g=0,c=0,s(G[2]);return a=g,i=c,w(g,c)}finally{r.__wbindgen_free(a,i,1)}}unmark(e,t){let n=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorotext_unmark(this.__wbg_ptr,e,n,a);if(i[1])throw s(i[0])}update(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorotext_update(this.__wbg_ptr,n,a,t);if(i[1])throw s(i[0])}charAt(e){let t=r.lorotext_charAt(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return String.fromCodePoint(t[0])}toJSON(){return r.lorotext_toJSON(this.__wbg_ptr)}toDelta(){let e=r.lorotext_toDelta(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}getCursor(e,t){let n=r.lorotext_getCursor(this.__wbg_ptr,e,t);return n===0?void 0:S.__wrap(n)}isDeleted(){return r.lorotext_isDeleted(this.__wbg_ptr)!==0}subscribe(e){let t=r.lorotext_subscribe(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}toString(){let e,t;try{let n=r.lorotext_toString(this.__wbg_ptr);return e=n[0],t=n[1],w(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}},H=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorotree_free(_>>>0,1)),q=class Ri{static __wrap(e){e>>>=0;let t=Object.create(Ri.prototype);return t.__wbg_ptr=e,H.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,H.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorotree_free(e,0)}createNode(e,t){let n=r.lorotree_createNode(this.__wbg_ptr,e,b(t)?4294967297:t>>>0);if(n[2])throw s(n[1]);return D.__wrap(n[0])}isAttached(){return r.lorotree_isAttached(this.__wbg_ptr)!==0}getAttached(){return r.lorotree_getAttached(this.__wbg_ptr)}getNodeByID(e){let t=r.lorotree_getNodeByID(this.__wbg_ptr,e);return t===0?void 0:D.__wrap(t)}isNodeDeleted(e){let t=r.lorotree_isNodeDeleted(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return t[0]!==0}getShallowValue(){return r.lorotree_getShallowValue(this.__wbg_ptr)}enableFractionalIndex(e){r.lorotree_enableFractionalIndex(this.__wbg_ptr,e)}disableFractionalIndex(){r.lorotree_disableFractionalIndex(this.__wbg_ptr)}isFractionalIndexEnabled(){return r.lorotree_isFractionalIndexEnabled(this.__wbg_ptr)!==0}get id(){return r.lorotree_id(this.__wbg_ptr)}move(e,t,n){let a=r.lorotree_move(this.__wbg_ptr,e,t,b(n)?4294967297:n>>>0);if(a[1])throw s(a[0])}constructor(){return this.__wbg_ptr=r.lorotree_new()>>>0,H.register(this,this.__wbg_ptr,this),this}kind(){return r.lorotree_kind(this.__wbg_ptr)}nodes(){let e=r.lorotree_nodes(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}roots(){let e=r.lorotree_roots(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}delete(e){let t=r.lorotree_delete(this.__wbg_ptr,e);if(t[1])throw s(t[0])}parent(){return r.lorotree_parent(this.__wbg_ptr)}toJSON(){return r.lorotree_toJSON(this.__wbg_ptr)}has(e){return r.lorotree_has(this.__wbg_ptr,e)!==0}toArray(){let e=r.lorotree_toArray(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}getNodes(e){let t=r.lorotree_getNodes(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}isDeleted(){return r.lorotree_isDeleted(this.__wbg_ptr)!==0}subscribe(e){let t=r.lorotree_subscribe(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}},ne=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorotreenode_free(_>>>0,1)),D=class F{static __wrap(e){e>>>=0;let t=Object.create(F.prototype);return t.__wbg_ptr=e,ne.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,ne.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorotreenode_free(e,0)}creationId(){let e=r.lorotreenode_creationId(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}isDeleted(){let e=r.lorotreenode_isDeleted(this.__wbg_ptr);if(e[2])throw s(e[1]);return e[0]!==0}moveBefore(e){I(e,F);let t=r.lorotreenode_moveBefore(this.__wbg_ptr,e.__wbg_ptr);if(t[1])throw s(t[0])}createNode(e){let t=r.lorotreenode_createNode(this.__wbg_ptr,b(e)?4294967297:e>>>0);if(t[2])throw s(t[1]);return F.__wrap(t[0])}getLastMoveId(){let e=r.lorotreenode_getLastMoveId(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}toJSON(){let e=r.lorotreenode_toJSON(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}fractionalIndex(){let e=r.lorotreenode_fractionalIndex(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}__getClassname(){let e,t;try{let n=r.lorotreenode___getClassname(this.__wbg_ptr);return e=n[0],t=n[1],w(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}get id(){return r.lorotreenode_id(this.__wbg_ptr)}move(e,t){let n=r.lorotreenode_move(this.__wbg_ptr,e,b(t)?4294967297:t>>>0);if(n[1])throw s(n[0])}get data(){let e=r.lorotreenode_data(this.__wbg_ptr);if(e[2])throw s(e[1]);return N.__wrap(e[0])}index(){let e=r.lorotreenode_index(this.__wbg_ptr);if(e[2])throw s(e[1]);return e[0]===4294967297?void 0:e[0]}parent(){let e=r.lorotreenode_parent(this.__wbg_ptr);if(e[2])throw s(e[1]);return e[0]===0?void 0:F.__wrap(e[0])}creator(){return r.lorotreenode_creator(this.__wbg_ptr)}children(){return r.lorotreenode_children(this.__wbg_ptr)}moveAfter(e){I(e,F);let t=r.lorotreenode_moveAfter(this.__wbg_ptr,e.__wbg_ptr);if(t[1])throw s(t[0])}},se=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_undomanager_free(_>>>0,1)),G_=class{__destroy_into_raw(){let _=this.__wbg_ptr;return this.__wbg_ptr=0,se.unregister(this),_}free(){let _=this.__destroy_into_raw();r.__wbg_undomanager_free(_,0)}groupStart(){let _=r.undomanager_groupStart(this.__wbg_ptr);if(_[1])throw s(_[0])}topRedoValue(){return r.undomanager_topRedoValue(this.__wbg_ptr)}topUndoValue(){return r.undomanager_topUndoValue(this.__wbg_ptr)}setMaxUndoSteps(_){r.undomanager_setMaxUndoSteps(this.__wbg_ptr,_)}setMergeInterval(_){r.undomanager_setMergeInterval(this.__wbg_ptr,_)}addExcludeOriginPrefix(_){let e=d(_,r.__wbindgen_malloc,r.__wbindgen_realloc),t=l;r.undomanager_addExcludeOriginPrefix(this.__wbg_ptr,e,t)}constructor(_,e){return I(_,Q),this.__wbg_ptr=r.undomanager_new(_.__wbg_ptr,e)>>>0,se.register(this,this.__wbg_ptr,this),this}peer(){return r.undomanager_peer(this.__wbg_ptr)}redo(){let _=r.undomanager_redo(this.__wbg_ptr);if(_[2])throw s(_[1]);return _[0]!==0}undo(){let _=r.undomanager_undo(this.__wbg_ptr);if(_[2])throw s(_[1]);return _[0]!==0}clear(){r.undomanager_clear(this.__wbg_ptr)}canRedo(){return r.undomanager_canRedo(this.__wbg_ptr)!==0}canUndo(){return r.undomanager_canUndo(this.__wbg_ptr)!==0}groupEnd(){r.undomanager_groupEnd(this.__wbg_ptr)}setOnPop(_){r.undomanager_setOnPop(this.__wbg_ptr,_)}setOnPush(_){r.undomanager_setOnPush(this.__wbg_ptr,_)}},$=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_versionvector_free(_>>>0,1)),x=class E{static __wrap(e){e>>>=0;let t=Object.create(E.prototype);return t.__wbg_ptr=e,$.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,$.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_versionvector_free(e,0)}get(e){let t=r.versionvector_get(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return t[0]===4294967297?void 0:t[0]}constructor(e){let t=r.versionvector_new(e);if(t[2])throw s(t[1]);return this.__wbg_ptr=t[0]>>>0,$.register(this,this.__wbg_ptr,this),this}static decode(e){let t=v(e,r.__wbindgen_malloc),n=l,a=r.versionvector_decode(t,n);if(a[2])throw s(a[1]);return E.__wrap(a[0])}encode(){let e=r.versionvector_encode(this.__wbg_ptr);var t=y(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*1,1),t}length(){return r.versionvector_length(this.__wbg_ptr)>>>0}remove(e){let t=r.versionvector_remove(this.__wbg_ptr,e);if(t[1])throw s(t[0])}setEnd(e){let t=r.versionvector_setEnd(this.__wbg_ptr,e);if(t[1])throw s(t[0])}compare(e){I(e,E);let t=r.versionvector_compare(this.__wbg_ptr,e.__wbg_ptr);return t===4294967297?void 0:t}setLast(e){let t=r.versionvector_setLast(this.__wbg_ptr,e);if(t[1])throw s(t[0])}toJSON(){return r.versionvector_toJSON(this.__wbg_ptr)}static parseJSON(e){let t=r.versionvector_parseJSON(e);if(t[2])throw s(t[1]);return E.__wrap(t[0])}};function Cs(_,e){let t=d(String(e),r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;u().setInt32(_+4,n,!0),u().setInt32(_+0,t,!0)}function As(){return p(function(_,e,t){return _.apply(e,t)},arguments)}function Os(){return p(function(_,e,t){return Reflect.apply(_,e,t)},arguments)}function Is(_){return _.buffer}function Ns(){return p(function(_,e){return _.call(e)},arguments)}function Fs(){return p(function(_,e,t){return _.call(e,t)},arguments)}function Ds(){return p(function(_,e,t,n){return _.call(e,t,n)},arguments)}function Ls(){return p(function(_,e,t,n,a){return _.call(e,t,n,a)},arguments)}function ks(_){return re.__wrap(_)}function Es(_){return _.crypto}function Rs(_){return S.__wrap(_)}function Ts(_){return _.done}function Js(_){return Object.entries(_)}function Vs(_){return _.entries()}function Us(_,e){console.error(w(_,e))}function Ps(_,e){let t,n;try{t=_,n=e,console.error(w(_,e))}finally{r.__wbindgen_free(t,n,1)}}function Bs(_){return Array.from(_)}function Ms(_){return Object.getOwnPropertySymbols(_)}function zs(){return p(function(_,e){_.getRandomValues(e)},arguments)}function js(){return p(function(_,e){return Reflect.get(_,e)},arguments)}function Ws(_,e){return _[e>>>0]}function Hs(_,e){return _[e>>>0]}function qs(_,e){return _[e]}function $s(_){let e;try{e=_ instanceof ArrayBuffer}catch{e=!1}return e}function Ks(_){let e;try{e=_ instanceof Map}catch{e=!1}return e}function Gs(_){let e;try{e=_ instanceof Object}catch{e=!1}return e}function Qs(_){let e;try{e=_ instanceof Uint8Array}catch{e=!1}return e}function Xs(_){return Array.isArray(_)}function Ys(_){return Number.isSafeInteger(_)}function Zs(){return Symbol.iterator}function ea(_){return _.length}function ta(_){return _.length}function ra(_,e){console.log(w(_,e))}function _a(_,e,t,n,a,i,g,c){let h,K;try{h=_,K=e,console.log(w(_,e),w(t,n),w(a,i),w(g,c))}finally{r.__wbindgen_free(h,K,1)}}function oa(_,e){let t,n;try{t=_,n=e,console.log(w(_,e))}finally{r.__wbindgen_free(t,n,1)}}function na(_){return V.__wrap(_)}function sa(_){return B.__wrap(_)}function aa(_){return N.__wrap(_)}function ia(_){return j.__wrap(_)}function la(_){return L.__wrap(_)}function ga(_){return q.__wrap(_)}function ca(_){return D.__wrap(_)}function da(_,e){performance.mark(w(_,e))}function wa(){return p(function(_,e,t,n){let a,i,g,c;try{a=_,i=e,g=t,c=n,performance.measure(w(_,e),w(t,n))}finally{r.__wbindgen_free(a,i,1),r.__wbindgen_free(g,c,1)}},arguments)}function ba(_){return _.msCrypto}function ua(){return{}}function pa(){return new Map}function ha(){return[]}function fa(){return Error()}function ma(_){return new Uint8Array(_)}function va(_,e){return Function(w(_,e))}function ya(_,e,t){return new Uint8Array(_,e>>>0,t>>>0)}function xa(_){return new Uint8Array(_>>>0)}function Sa(_){return Array(_>>>0)}function Ca(_){return _.next}function Aa(){return p(function(_){return _.next()},arguments)}function Oa(_){return _.node}function Ia(){return Date.now()}function Na(){return p(function(_){return Reflect.ownKeys(_)},arguments)}function Fa(_){return _.process}function Da(_,e){return _.push(e)}function La(){return p(function(_,e){_.randomFillSync(e)},arguments)}function ka(){return p(function(){return module.require},arguments)}function Ea(_){return Promise.resolve(_)}function Ra(_,e,t){_[e>>>0]=t}function Ta(_,e,t){_[e]=t}function Ja(_,e,t){_.set(e,t>>>0)}function Va(_,e,t){return _.set(e,t)}function Ua(){return p(function(_,e,t){return Reflect.set(_,e,t)},arguments)}function Pa(_,e,t){_[e>>>0]=t}function Ba(_,e){let t=e.stack,n=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l;u().setInt32(_+4,a,!0),u().setInt32(_+0,n,!0)}function Ma(){let _=typeof global>"u"?null:global;return b(_)?0:C(_)}function za(){let _=typeof globalThis>"u"?null:globalThis;return b(_)?0:C(_)}function ja(){let _=typeof self>"u"?null:self;return b(_)?0:C(_)}function Wa(){let _=typeof window>"u"?null:window;return b(_)?0:C(_)}function Ha(_,e,t){return _.subarray(e>>>0,t>>>0)}function qa(_,e){return _.then(e)}function $a(_){return _.value}function Ka(_){return _.versions}function Ga(_){return x.__wrap(_)}function Qa(_,e){console.warn(w(_,e))}function Xa(_){return+_}function Ya(_){return _}function Za(_){return BigInt.asUintN(64,_)}function ei(_,e){let t=e,n=typeof t=="bigint"?t:void 0;u().setBigInt64(_+8,b(n)?BigInt(0):n,!0),u().setInt32(_+0,!b(n),!0)}function ti(_){let e=_;return typeof e=="boolean"?e?1:0:2}function ri(_){let e=_.original;return e.cnt--==1?(e.a=0,!0):!1}function _i(_,e,t){return Ss(_,e,10,ji)}function oi(_,e,t){return Ss(_,e,10,Wi)}function ni(_,e){let t=d(Z(e),r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;u().setInt32(_+4,n,!0),u().setInt32(_+0,t,!0)}function si(_,e){return Error(w(_,e))}function ai(_,e){return _ in e}X=function(){let _=r.__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 ii(_){return Array.isArray(_)}function li(_){return typeof _=="bigint"}function gi(_){return!_}function ci(_){return typeof _=="function"}function di(_){return _===null}function wi(_){let e=_;return typeof e=="object"&&!!e}function bi(_){return typeof _=="string"}function ui(_){return _===void 0}function pi(_,e){return _===e}function hi(_,e){return _==e}function fi(){return r.memory}function mi(_,e){let t=e,n=typeof t=="number"?t:void 0;u().setFloat64(_+8,b(n)?0:n,!0),u().setInt32(_+0,!b(n),!0)}function vi(_){return _}function yi(_){throw _}function xi(_,e){let t=e,n=typeof t=="string"?t:void 0;var a=b(n)?0:d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l;u().setInt32(_+4,i,!0),u().setInt32(_+0,a,!0)}function Si(_,e){return w(_,e)}function Ci(_,e){throw Error(w(_,e))}function Ai(_){return typeof _}Ii=Oi({LORO_VERSION:()=>Fn,__externref_drop_slice:()=>zo,__externref_table_alloc:()=>pn,__externref_table_dealloc:()=>go,__wbg_awarenesswasm_free:()=>w_,__wbg_changemodifier_free:()=>Go,__wbg_cursor_free:()=>Sn,__wbg_ephemeralstorewasm_free:()=>O_,__wbg_lorocounter_free:()=>Do,__wbg_lorodoc_free:()=>Jn,__wbg_lorolist_free:()=>E_,__wbg_loromap_free:()=>H_,__wbg_loromovablelist_free:()=>rn,__wbg_lorotext_free:()=>Jo,__wbg_lorotree_free:()=>_o,__wbg_lorotreenode_free:()=>X_,__wbg_undomanager_free:()=>a_,__wbg_versionvector_free:()=>zn,__wbindgen_exn_store:()=>ss,__wbindgen_export_4:()=>v_,__wbindgen_export_6:()=>es,__wbindgen_free:()=>wr,__wbindgen_malloc:()=>Ae,__wbindgen_realloc:()=>Kn,__wbindgen_start:()=>mr,_dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h423c5eefcad13156:()=>Ve,awarenesswasm_apply:()=>Le,awarenesswasm_encode:()=>jt,awarenesswasm_encodeAll:()=>Co,awarenesswasm_getAllStates:()=>we,awarenesswasm_getState:()=>fo,awarenesswasm_getTimestamp:()=>Lt,awarenesswasm_isEmpty:()=>Vt,awarenesswasm_length:()=>Gt,awarenesswasm_new:()=>je,awarenesswasm_peer:()=>at,awarenesswasm_peers:()=>At,awarenesswasm_removeOutdated:()=>ar,awarenesswasm_setLocalState:()=>ds,callPendingEvents:()=>me,changemodifier_setMessage:()=>Lr,changemodifier_setTimestamp:()=>tt,closure9_externref_shim:()=>Ar,cursor_containerId:()=>Vr,cursor_decode:()=>Ge,cursor_encode:()=>mt,cursor_kind:()=>gn,cursor_pos:()=>wt,cursor_side:()=>Gr,decodeFrontiers:()=>jr,decodeImportBlobMeta:()=>t_,encodeFrontiers:()=>tr,ephemeralstorewasm_apply:()=>ae,ephemeralstorewasm_delete:()=>W_,ephemeralstorewasm_encode:()=>Tn,ephemeralstorewasm_encodeAll:()=>Ko,ephemeralstorewasm_get:()=>xn,ephemeralstorewasm_getAllStates:()=>ho,ephemeralstorewasm_isEmpty:()=>m_,ephemeralstorewasm_keys:()=>tn,ephemeralstorewasm_new:()=>Nn,ephemeralstorewasm_removeOutdated:()=>k_,ephemeralstorewasm_set:()=>To,ephemeralstorewasm_subscribe:()=>Mn,ephemeralstorewasm_subscribeLocalUpdates:()=>U_,lorocounter_decrement:()=>ln,lorocounter_getAttached:()=>Mo,lorocounter_getShallowValue:()=>lo,lorocounter_id:()=>ro,lorocounter_increment:()=>d_,lorocounter_isAttached:()=>$n,lorocounter_kind:()=>cs,lorocounter_new:()=>A_,lorocounter_parent:()=>ns,lorocounter_subscribe:()=>fr,lorocounter_toJSON:()=>De,lorocounter_value:()=>Zn,lorodoc_JSONPath:()=>Cr,lorodoc_applyDiff:()=>ze,lorodoc_attach:()=>Je,lorodoc_changeCount:()=>Kt,lorodoc_checkout:()=>Fo,lorodoc_checkoutToLatest:()=>fe,lorodoc_clearNextCommitOptions:()=>So,lorodoc_cmpFrontiers:()=>Jt,lorodoc_cmpWithFrontiers:()=>zt,lorodoc_commit:()=>er,lorodoc_configDefaultTextStyle:()=>Ke,lorodoc_configTextStyle:()=>dt,lorodoc_debugHistory:()=>Dt,lorodoc_deleteRootContainer:()=>dr,lorodoc_detach:()=>hs,lorodoc_diff:()=>Ce,lorodoc_export:()=>Jr,lorodoc_exportJsonInIdSpan:()=>st,lorodoc_exportJsonUpdates:()=>Dr,lorodoc_findIdSpansBetween:()=>zr,lorodoc_fork:()=>et,lorodoc_forkAt:()=>Ct,lorodoc_fromSnapshot:()=>un,lorodoc_frontiers:()=>ft,lorodoc_frontiersToVV:()=>e_,lorodoc_getAllChanges:()=>Kr,lorodoc_getByPath:()=>s_,lorodoc_getChangeAt:()=>sr,lorodoc_getChangeAtLamport:()=>de,lorodoc_getChangedContainersIn:()=>M_,lorodoc_getContainerById:()=>kn,lorodoc_getCounter:()=>Ho,lorodoc_getCursorPos:()=>mn,lorodoc_getDeepValueWithID:()=>bo,lorodoc_getList:()=>p_,lorodoc_getMap:()=>Yo,lorodoc_getMovableList:()=>On,lorodoc_getOpsInChange:()=>F_,lorodoc_getPathToContainer:()=>Eo,lorodoc_getPendingTxnLength:()=>Pn,lorodoc_getShallowValue:()=>J_,lorodoc_getText:()=>K_,lorodoc_getTree:()=>nn,lorodoc_getUncommittedOpsAsJson:()=>Po,lorodoc_hasContainer:()=>so,lorodoc_import:()=>eo,lorodoc_importBatch:()=>g_,lorodoc_importJsonUpdates:()=>Hn,lorodoc_importUpdateBatch:()=>ls,lorodoc_isDetached:()=>S_,lorodoc_isDetachedEditingEnabled:()=>_s,lorodoc_isShallow:()=>pr,lorodoc_new:()=>Ne,lorodoc_opCount:()=>Xn,lorodoc_oplogFrontiers:()=>xr,lorodoc_oplogVersion:()=>Be,lorodoc_peerId:()=>Re,lorodoc_peerIdStr:()=>qt,lorodoc_revertTo:()=>Io,lorodoc_setChangeMergeInterval:()=>pe,lorodoc_setDetachedEditing:()=>yo,lorodoc_setHideEmptyRootContainers:()=>Rt,lorodoc_setNextCommitMessage:()=>Bt,lorodoc_setNextCommitOptions:()=>Yt,lorodoc_setNextCommitOrigin:()=>qe,lorodoc_setNextCommitTimestamp:()=>gt,lorodoc_setPeerId:()=>Nt,lorodoc_setRecordTimestamp:()=>gr,lorodoc_shallowSinceFrontiers:()=>us,lorodoc_shallowSinceVV:()=>xe,lorodoc_subscribe:()=>Rr,lorodoc_subscribeFirstCommitFromPeer:()=>ot,lorodoc_subscribeJsonpath:()=>Nr,lorodoc_subscribeLocalUpdates:()=>Br,lorodoc_subscribePreCommit:()=>Ye,lorodoc_toJSON:()=>xt,lorodoc_travelChangeAncestors:()=>wn,lorodoc_version:()=>pt,lorodoc_vvToFrontiers:()=>Yr,lorolist_clear:()=>qr,lorolist_delete:()=>o_,lorolist_get:()=>or,lorolist_getAttached:()=>ge,lorolist_getCursor:()=>j_,lorolist_getIdAt:()=>Rn,lorolist_getShallowValue:()=>$o,lorolist_id:()=>yn,lorolist_insert:()=>po,lorolist_insertContainer:()=>f_,lorolist_isAttached:()=>en,lorolist_isDeleted:()=>In,lorolist_kind:()=>L_,lorolist_length:()=>Ro,lorolist_new:()=>Bn,lorolist_parent:()=>V_,lorolist_pop:()=>Q_,lorolist_push:()=>an,lorolist_pushContainer:()=>Bo,lorolist_subscribe:()=>io,lorolist_toArray:()=>to,lorolist_toJSON:()=>c_,loromap_clear:()=>qn,loromap_delete:()=>gs,loromap_entries:()=>C_,loromap_get:()=>os,loromap_getAttached:()=>hr,loromap_getLastEditor:()=>Fe,loromap_getOrCreateContainer:()=>Yn,loromap_getShallowValue:()=>Sr,loromap_id:()=>Me,loromap_isAttached:()=>Te,loromap_isDeleted:()=>$t,loromap_keys:()=>No,loromap_kind:()=>he,loromap_new:()=>xo,loromap_parent:()=>Tt,loromap_set:()=>Mt,loromap_setContainer:()=>Zt,loromap_size:()=>$e,loromap_subscribe:()=>ct,loromap_toJSON:()=>Ft,loromap_values:()=>cr,loromovablelist_clear:()=>ps,loromovablelist_delete:()=>Se,loromovablelist_get:()=>Tr,loromovablelist_getAttached:()=>nt,loromovablelist_getCreatorAt:()=>Fr,loromovablelist_getCursor:()=>Mr,loromovablelist_getLastEditorAt:()=>Ze,loromovablelist_getLastMoverAt:()=>St,loromovablelist_getShallowValue:()=>bn,loromovablelist_id:()=>ht,loromovablelist_insert:()=>Zr,loromovablelist_insertContainer:()=>$r,loromovablelist_isAttached:()=>n_,loromovablelist_isDeleted:()=>nr,loromovablelist_kind:()=>ce,loromovablelist_length:()=>B_,loromovablelist_move:()=>Ln,loromovablelist_new:()=>Wo,loromovablelist_parent:()=>fn,loromovablelist_pop:()=>wo,loromovablelist_push:()=>u_,loromovablelist_pushContainer:()=>Xo,loromovablelist_set:()=>An,loromovablelist_setContainer:()=>N_,loromovablelist_subscribe:()=>ko,loromovablelist_toArray:()=>Un,loromovablelist_toJSON:()=>T_,lorotext_applyDelta:()=>$_,lorotext_charAt:()=>on,lorotext_convertPos:()=>Uo,lorotext_delete:()=>no,lorotext_deleteUtf8:()=>Z_,lorotext_getAttached:()=>l_,lorotext_getCursor:()=>Wn,lorotext_getEditorOf:()=>is,lorotext_getShallowValue:()=>x_,lorotext_id:()=>rs,lorotext_insert:()=>ur,lorotext_insertUtf8:()=>Ie,lorotext_isAttached:()=>Qn,lorotext_isDeleted:()=>yr,lorotext_iter:()=>Pe,lorotext_kind:()=>Ee,lorotext_length:()=>Ht,lorotext_mark:()=>Oo,lorotext_new:()=>ue,lorotext_parent:()=>vo,lorotext_push:()=>Et,lorotext_slice:()=>Pt,lorotext_sliceDelta:()=>Xt,lorotext_sliceDeltaUtf8:()=>He,lorotext_splice:()=>lt,lorotext_subscribe:()=>It,lorotext_toDelta:()=>lr,lorotext_toJSON:()=>bs,lorotext_toString:()=>ye,lorotext_unmark:()=>Er,lorotext_update:()=>_t,lorotext_updateByLine:()=>Ir,lorotree_createNode:()=>Pr,lorotree_delete:()=>Xe,lorotree_disableFractionalIndex:()=>yt,lorotree_enableFractionalIndex:()=>dn,lorotree_getAttached:()=>ut,lorotree_getNodeByID:()=>Xr,lorotree_getNodes:()=>Hr,lorotree_getShallowValue:()=>__,lorotree_has:()=>_r,lorotree_id:()=>le,lorotree_isAttached:()=>P_,lorotree_isDeleted:()=>Dn,lorotree_isFractionalIndexEnabled:()=>jo,lorotree_isNodeDeleted:()=>hn,lorotree_kind:()=>co,lorotree_move:()=>b_,lorotree_new:()=>Qo,lorotree_nodes:()=>Cn,lorotree_parent:()=>I_,lorotree_roots:()=>Lo,lorotree_subscribe:()=>Vn,lorotree_toArray:()=>R_,lorotree_toJSON:()=>q_,lorotreenode___getClassname:()=>_n,lorotreenode_children:()=>Vo,lorotreenode_createNode:()=>oo,lorotreenode_creationId:()=>Y_,lorotreenode_creator:()=>i_,lorotreenode_data:()=>jn,lorotreenode_fractionalIndex:()=>as,lorotreenode_getLastMoveId:()=>y_,lorotreenode_id:()=>ts,lorotreenode_index:()=>br,lorotreenode_isDeleted:()=>Oe,lorotreenode_move:()=>Gn,lorotreenode_moveAfter:()=>vr,lorotreenode_moveBefore:()=>Ue,lorotreenode_parent:()=>ke,lorotreenode_toJSON:()=>Wt,memory:()=>Ao,redactJsonUpdates:()=>be,run:()=>mo,setDebug:()=>kt,undomanager_addExcludeOriginPrefix:()=>Ut,undomanager_canRedo:()=>Qt,undomanager_canUndo:()=>We,undomanager_clear:()=>it,undomanager_groupEnd:()=>Ot,undomanager_groupStart:()=>ir,undomanager_new:()=>ws,undomanager_peer:()=>ve,undomanager_redo:()=>kr,undomanager_setMaxUndoSteps:()=>rt,undomanager_setMergeInterval:()=>Or,undomanager_setOnPop:()=>Ur,undomanager_setOnPush:()=>Qe,undomanager_topRedoValue:()=>vt,undomanager_topUndoValue:()=>cn,undomanager_undo:()=>bt,versionvector_compare:()=>Qr,versionvector_decode:()=>Wr,versionvector_encode:()=>r_,versionvector_get:()=>rr,versionvector_length:()=>ie,versionvector_new:()=>z_,versionvector_parseJSON:()=>En,versionvector_remove:()=>qo,versionvector_setEnd:()=>vn,versionvector_setLast:()=>uo,versionvector_toJSON:()=>h_},1),URL=globalThis.URL;var o=await vs({"./loro_wasm_bg.js":{__wbg_lorotree_new:ga,__wbg_lorocounter_new:na,__wbg_lorotext_new:la,__wbg_lorotreenode_new:ca,__wbg_cursor_new:Rs,__wbg_loromap_new:aa,__wbg_loromovablelist_new:ia,__wbg_lorolist_new:sa,__wbg_changemodifier_new:ks,__wbg_versionvector_new:Ga,__wbindgen_is_function:ci,__wbindgen_number_get:mi,__wbindgen_string_get:xi,__wbindgen_string_new:Si,__wbindgen_boolean_get:ti,__wbindgen_error_new:si,__wbg_error_1cb1bf0bb7e0da2b:Us,__wbindgen_cb_drop:ri,__wbindgen_is_undefined:ui,__wbindgen_in:ai,__wbindgen_is_bigint:li,__wbindgen_bigint_from_i64:Ya,__wbindgen_jsval_eq:pi,__wbindgen_is_object:wi,__wbindgen_bigint_from_u64:Za,__wbindgen_as_number:Xa,__wbindgen_number_new:vi,__wbindgen_is_string:bi,__wbindgen_is_null:di,__wbindgen_is_falsy:gi,__wbindgen_typeof:Ai,__wbg_warn_90235b184e422485:Qa,__wbg_log_0671e6aa34e04626:ra,__wbindgen_is_array:ii,__wbg_log_cb9e190acc5753fb:oa,__wbg_log_0cc1b7768397bcfe:_a,__wbg_mark_7438147ce31e9d4b:da,__wbg_measure_fb7825c11612c823:wa,__wbg_new_8a6f238a6ece86ea:fa,__wbg_stack_0ed75d68575b0f3c:Ba,__wbg_error_7534b8e9a36f1ab4:Ps,__wbindgen_jsval_loose_eq:hi,__wbg_getwithrefkey_1dc361bd10053bfe:qs,__wbg_set_3f1d0b984ed272ed:Ta,__wbg_String_8f0eb39a4a4c2f66:Cs,__wbg_now_c8bdc8efc8c495eb:Ia,__wbg_crypto_574e78ad8b13b65f:Es,__wbg_process_dc0fbacc7c1c06f7:Fa,__wbg_versions_c01dfd4722a88165:Ka,__wbg_node_905d3e251edff8a2:Oa,__wbg_require_60cc747a6bc5215a:ka,__wbg_msCrypto_a61aeb35a24c1329:ba,__wbg_randomFillSync_ac0988aba3254290:La,__wbg_getRandomValues_b8f5dbd5f3995a9e:zs,__wbg_new_5e0be73521bc8c17:pa,__wbg_new_78feb108b6472713:ha,__wbg_new_405e22f390576ce2:ua,__wbg_newnoargs_105ed471475aaf50:va,__wbg_new_a12002a7f91c75be:ma,__wbg_buffer_609cc3eee51ed158:Is,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:ya,__wbg_length_a446193dc22c12f8:ea,__wbg_newwithlength_a381634e90c276d4:xa,__wbg_set_65595bdd868b3009:Ja,__wbg_subarray_aa9065fa9dc5df96:Ha,__wbg_getindex_5b00c274b05714aa:Hs,__wbg_setindex_dcd71eabf405bde1:Pa,__wbg_done_769e5ede4b31c67b:Ts,__wbg_value_cd1ffa7b1ab794f1:$a,__wbg_instanceof_Map_f3469ce2244d2430:Ks,__wbg_instanceof_Object_7f2dcef8f78644a4:Gs,__wbg_instanceof_Uint8Array_17156bcf118086a9:Qs,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:$s,__wbg_set_8fc6bf8a5b1071d1:Va,__wbg_entries_c8a90a7ed73e84ce:Vs,__wbg_newwithlength_c4c419ef0bc8a1f8:Sa,__wbg_get_b9b93047fe3cf45b:Ws,__wbg_set_37837023f3d740e8:Ra,__wbg_from_2a5d3e218e67aa85:Bs,__wbg_length_e2d2a49132c1b256:ta,__wbg_push_737cfc8c1432c2c6:Da,__wbg_isArray_a1eab7e0d067391b:Xs,__wbg_isSafeInteger_343e2beeeece1bb0:Ys,__wbg_getOwnPropertySymbols_97eebed6fe6e08be:Ms,__wbg_entries_3265d4158b33e5dc:Js,__wbg_iterator_9a24c88df860dc65:Zs,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:za,__wbg_call_672a4d21634d4a24:Ns,__wbg_static_accessor_SELF_37c5d418e4bf5819:ja,__wbg_static_accessor_GLOBAL_88a902d13a557d07:Ma,__wbg_static_accessor_WINDOW_5de37043a91a9c40:Wa,__wbg_then_44b73946d2fb3e7d:qa,__wbg_resolve_4851785c9c5f573d:Ea,__wbg_get_67b2ba62fc30de12:js,__wbg_set_bb8cecf6a62b9f46:Ua,__wbg_apply_eb9e9b97497f91e4:Os,__wbg_ownKeys_3930041068756f1f:Na,__wbg_apply_36be6a55257c99bf:As,__wbg_call_7cccdd69e0791ae2:Fs,__wbg_call_833bed5770ea2041:Ds,__wbg_call_b8adc8b1d0a0d8eb:Ls,__wbg_next_25feadfc0913fea9:Ca,__wbg_next_6574e1a8a62d1055:Aa,__wbindgen_bigint_get_as_i64:ei,__wbindgen_memory:fi,__wbindgen_throw:Ci,__wbindgen_rethrow:yi,__wbindgen_debug_string:ni,__wbindgen_closure_wrapper718:_i,__wbindgen_closure_wrapper721:oi,__wbindgen_init_externref_table:X}},ms);Ao=o.memory,Fn=o.LORO_VERSION,w_=o.__wbg_awarenesswasm_free,Go=o.__wbg_changemodifier_free,Sn=o.__wbg_cursor_free,O_=o.__wbg_ephemeralstorewasm_free,Do=o.__wbg_lorocounter_free,Jn=o.__wbg_lorodoc_free,E_=o.__wbg_lorolist_free,H_=o.__wbg_loromap_free,Jo=o.__wbg_lorotext_free,_o=o.__wbg_lorotree_free,X_=o.__wbg_lorotreenode_free,a_=o.__wbg_undomanager_free,zn=o.__wbg_versionvector_free,Le=o.awarenesswasm_apply,jt=o.awarenesswasm_encode,Co=o.awarenesswasm_encodeAll,we=o.awarenesswasm_getAllStates,fo=o.awarenesswasm_getState,Lt=o.awarenesswasm_getTimestamp,Vt=o.awarenesswasm_isEmpty,Gt=o.awarenesswasm_length,je=o.awarenesswasm_new,at=o.awarenesswasm_peer,At=o.awarenesswasm_peers,ar=o.awarenesswasm_removeOutdated,ds=o.awarenesswasm_setLocalState,me=o.callPendingEvents,Lr=o.changemodifier_setMessage,tt=o.changemodifier_setTimestamp,Vr=o.cursor_containerId,Ge=o.cursor_decode,mt=o.cursor_encode,gn=o.cursor_kind,wt=o.cursor_pos,Gr=o.cursor_side,jr=o.decodeFrontiers,t_=o.decodeImportBlobMeta,tr=o.encodeFrontiers,ae=o.ephemeralstorewasm_apply,W_=o.ephemeralstorewasm_delete,Tn=o.ephemeralstorewasm_encode,Ko=o.ephemeralstorewasm_encodeAll,xn=o.ephemeralstorewasm_get,ho=o.ephemeralstorewasm_getAllStates,m_=o.ephemeralstorewasm_isEmpty,tn=o.ephemeralstorewasm_keys,Nn=o.ephemeralstorewasm_new,k_=o.ephemeralstorewasm_removeOutdated,To=o.ephemeralstorewasm_set,Mn=o.ephemeralstorewasm_subscribe,U_=o.ephemeralstorewasm_subscribeLocalUpdates,ln=o.lorocounter_decrement,Mo=o.lorocounter_getAttached,lo=o.lorocounter_getShallowValue,ro=o.lorocounter_id,d_=o.lorocounter_increment,$n=o.lorocounter_isAttached,cs=o.lorocounter_kind,A_=o.lorocounter_new,ns=o.lorocounter_parent,fr=o.lorocounter_subscribe,Cr=o.lorodoc_JSONPath,ze=o.lorodoc_applyDiff,Je=o.lorodoc_attach,Kt=o.lorodoc_changeCount,Fo=o.lorodoc_checkout,fe=o.lorodoc_checkoutToLatest,So=o.lorodoc_clearNextCommitOptions,Jt=o.lorodoc_cmpFrontiers,zt=o.lorodoc_cmpWithFrontiers,er=o.lorodoc_commit,Ke=o.lorodoc_configDefaultTextStyle,dt=o.lorodoc_configTextStyle,Dt=o.lorodoc_debugHistory,dr=o.lorodoc_deleteRootContainer,hs=o.lorodoc_detach,Ce=o.lorodoc_diff,Jr=o.lorodoc_export,st=o.lorodoc_exportJsonInIdSpan,Dr=o.lorodoc_exportJsonUpdates,zr=o.lorodoc_findIdSpansBetween,et=o.lorodoc_fork,Ct=o.lorodoc_forkAt,un=o.lorodoc_fromSnapshot,ft=o.lorodoc_frontiers,e_=o.lorodoc_frontiersToVV,Kr=o.lorodoc_getAllChanges,s_=o.lorodoc_getByPath,sr=o.lorodoc_getChangeAt,de=o.lorodoc_getChangeAtLamport,M_=o.lorodoc_getChangedContainersIn,kn=o.lorodoc_getContainerById,Ho=o.lorodoc_getCounter,mn=o.lorodoc_getCursorPos,bo=o.lorodoc_getDeepValueWithID,p_=o.lorodoc_getList,Yo=o.lorodoc_getMap,On=o.lorodoc_getMovableList,F_=o.lorodoc_getOpsInChange,Eo=o.lorodoc_getPathToContainer,Pn=o.lorodoc_getPendingTxnLength,J_=o.lorodoc_getShallowValue,K_=o.lorodoc_getText,nn=o.lorodoc_getTree,Po=o.lorodoc_getUncommittedOpsAsJson,so=o.lorodoc_hasContainer,eo=o.lorodoc_import,g_=o.lorodoc_importBatch,Hn=o.lorodoc_importJsonUpdates,S_=o.lorodoc_isDetached,_s=o.lorodoc_isDetachedEditingEnabled,pr=o.lorodoc_isShallow,Ne=o.lorodoc_new,Xn=o.lorodoc_opCount,xr=o.lorodoc_oplogFrontiers,Be=o.lorodoc_oplogVersion,Re=o.lorodoc_peerId,qt=o.lorodoc_peerIdStr,Io=o.lorodoc_revertTo,pe=o.lorodoc_setChangeMergeInterval,yo=o.lorodoc_setDetachedEditing,Rt=o.lorodoc_setHideEmptyRootContainers,Bt=o.lorodoc_setNextCommitMessage,Yt=o.lorodoc_setNextCommitOptions,qe=o.lorodoc_setNextCommitOrigin,gt=o.lorodoc_setNextCommitTimestamp,Nt=o.lorodoc_setPeerId,gr=o.lorodoc_setRecordTimestamp,us=o.lorodoc_shallowSinceFrontiers,xe=o.lorodoc_shallowSinceVV,Rr=o.lorodoc_subscribe,ot=o.lorodoc_subscribeFirstCommitFromPeer,Nr=o.lorodoc_subscribeJsonpath,Br=o.lorodoc_subscribeLocalUpdates,Ye=o.lorodoc_subscribePreCommit,xt=o.lorodoc_toJSON,wn=o.lorodoc_travelChangeAncestors,pt=o.lorodoc_version,Yr=o.lorodoc_vvToFrontiers,qr=o.lorolist_clear,o_=o.lorolist_delete,or=o.lorolist_get,ge=o.lorolist_getAttached,j_=o.lorolist_getCursor,Rn=o.lorolist_getIdAt,$o=o.lorolist_getShallowValue,yn=o.lorolist_id,po=o.lorolist_insert,f_=o.lorolist_insertContainer,en=o.lorolist_isAttached,In=o.lorolist_isDeleted,L_=o.lorolist_kind,Ro=o.lorolist_length,Bn=o.lorolist_new,V_=o.lorolist_parent,Q_=o.lorolist_pop,an=o.lorolist_push,Bo=o.lorolist_pushContainer,io=o.lorolist_subscribe,to=o.lorolist_toArray,c_=o.lorolist_toJSON,qn=o.loromap_clear,gs=o.loromap_delete,C_=o.loromap_entries,os=o.loromap_get,hr=o.loromap_getAttached,Fe=o.loromap_getLastEditor,Yn=o.loromap_getOrCreateContainer,Sr=o.loromap_getShallowValue,Me=o.loromap_id,Te=o.loromap_isAttached,$t=o.loromap_isDeleted,No=o.loromap_keys,he=o.loromap_kind,xo=o.loromap_new,Tt=o.loromap_parent,Mt=o.loromap_set,Zt=o.loromap_setContainer,$e=o.loromap_size,ct=o.loromap_subscribe,Ft=o.loromap_toJSON,cr=o.loromap_values,ps=o.loromovablelist_clear,Se=o.loromovablelist_delete,Tr=o.loromovablelist_get,nt=o.loromovablelist_getAttached,Fr=o.loromovablelist_getCreatorAt,Mr=o.loromovablelist_getCursor,Ze=o.loromovablelist_getLastEditorAt,St=o.loromovablelist_getLastMoverAt,bn=o.loromovablelist_getShallowValue,ht=o.loromovablelist_id,Zr=o.loromovablelist_insert,$r=o.loromovablelist_insertContainer,n_=o.loromovablelist_isAttached,nr=o.loromovablelist_isDeleted,ce=o.loromovablelist_kind,B_=o.loromovablelist_length,Ln=o.loromovablelist_move,Wo=o.loromovablelist_new,fn=o.loromovablelist_parent,wo=o.loromovablelist_pop,u_=o.loromovablelist_push,Xo=o.loromovablelist_pushContainer,An=o.loromovablelist_set,N_=o.loromovablelist_setContainer,ko=o.loromovablelist_subscribe,Un=o.loromovablelist_toArray,T_=o.loromovablelist_toJSON,$_=o.lorotext_applyDelta,on=o.lorotext_charAt,Uo=o.lorotext_convertPos,no=o.lorotext_delete,Z_=o.lorotext_deleteUtf8,l_=o.lorotext_getAttached,Wn=o.lorotext_getCursor,is=o.lorotext_getEditorOf,x_=o.lorotext_getShallowValue,rs=o.lorotext_id,ur=o.lorotext_insert,Ie=o.lorotext_insertUtf8,Qn=o.lorotext_isAttached,yr=o.lorotext_isDeleted,Pe=o.lorotext_iter,Ee=o.lorotext_kind,Ht=o.lorotext_length,Oo=o.lorotext_mark,ue=o.lorotext_new,vo=o.lorotext_parent,Et=o.lorotext_push,Pt=o.lorotext_slice,Xt=o.lorotext_sliceDelta,He=o.lorotext_sliceDeltaUtf8,lt=o.lorotext_splice,It=o.lorotext_subscribe,lr=o.lorotext_toDelta,bs=o.lorotext_toJSON,ye=o.lorotext_toString,Er=o.lorotext_unmark,_t=o.lorotext_update,Ir=o.lorotext_updateByLine,Pr=o.lorotree_createNode,Xe=o.lorotree_delete,yt=o.lorotree_disableFractionalIndex,dn=o.lorotree_enableFractionalIndex,ut=o.lorotree_getAttached,Xr=o.lorotree_getNodeByID,Hr=o.lorotree_getNodes,__=o.lorotree_getShallowValue,_r=o.lorotree_has,le=o.lorotree_id,P_=o.lorotree_isAttached,Dn=o.lorotree_isDeleted,jo=o.lorotree_isFractionalIndexEnabled,hn=o.lorotree_isNodeDeleted,co=o.lorotree_kind,b_=o.lorotree_move,Qo=o.lorotree_new,Cn=o.lorotree_nodes,I_=o.lorotree_parent,Lo=o.lorotree_roots,Vn=o.lorotree_subscribe,R_=o.lorotree_toArray,q_=o.lorotree_toJSON,_n=o.lorotreenode___getClassname,Vo=o.lorotreenode_children,oo=o.lorotreenode_createNode,Y_=o.lorotreenode_creationId,i_=o.lorotreenode_creator,jn=o.lorotreenode_data,as=o.lorotreenode_fractionalIndex,y_=o.lorotreenode_getLastMoveId,ts=o.lorotreenode_id,br=o.lorotreenode_index,Oe=o.lorotreenode_isDeleted,Gn=o.lorotreenode_move,vr=o.lorotreenode_moveAfter,Ue=o.lorotreenode_moveBefore,ke=o.lorotreenode_parent,Wt=o.lorotreenode_toJSON,be=o.redactJsonUpdates,mo=o.run,kt=o.setDebug,Ut=o.undomanager_addExcludeOriginPrefix,Qt=o.undomanager_canRedo,We=o.undomanager_canUndo,it=o.undomanager_clear,Ot=o.undomanager_groupEnd,ir=o.undomanager_groupStart,ws=o.undomanager_new,ve=o.undomanager_peer,kr=o.undomanager_redo,rt=o.undomanager_setMaxUndoSteps,Or=o.undomanager_setMergeInterval,Ur=o.undomanager_setOnPop,Qe=o.undomanager_setOnPush,vt=o.undomanager_topRedoValue,cn=o.undomanager_topUndoValue,bt=o.undomanager_undo,Qr=o.versionvector_compare,Wr=o.versionvector_decode,r_=o.versionvector_encode,rr=o.versionvector_get,ie=o.versionvector_length,z_=o.versionvector_new,En=o.versionvector_parseJSON,qo=o.versionvector_remove,vn=o.versionvector_setEnd,uo=o.versionvector_setLast,h_=o.versionvector_toJSON,ls=o.lorodoc_importUpdateBatch,rn=o.__wbg_loromovablelist_free,Zn=o.lorocounter_value,De=o.lorocounter_toJSON,Ae=o.__wbindgen_malloc,Kn=o.__wbindgen_realloc,ss=o.__wbindgen_exn_store,pn=o.__externref_table_alloc,v_=o.__wbindgen_export_4,wr=o.__wbindgen_free,es=o.__wbindgen_export_6,go=o.__externref_table_dealloc,zo=o.__externref_drop_slice,Ar=o.closure9_externref_shim,Ve=o._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h423c5eefcad13156,mr=o.__wbindgen_start})();export{ae as $,ie as $a,le as $i,ge as $n,ce as $r,de as $t,we as A,be as Aa,ue as Ai,pe as An,he as Ar,fe as At,me as B,ve as Ba,ye as Bi,xe as Bn,Se as Br,Ce as Bt,Ae as C,Oe as Ca,Ie as Ci,Ne as Cn,Fe as Cr,De as Ct,Le as D,ke as Da,Ee as Di,Re as Dn,Te as Dr,Je as Dt,Ve as E,Ue as Ea,Pe as Ei,Be as En,Me as Er,ze as Et,je as F,We as Fa,He as Fi,qe as Fn,$e as Fr,Ke as Ft,Ge as G,Qe as Ga,Xe as Gi,Ye as Gn,Ze as Gr,et as Gt,tt as H,rt as Ha,_t as Hi,ot as Hn,nt as Hr,st as Ht,at as I,it as Ia,lt as Ii,gt as In,ct as Ir,dt as It,wt as J,bt as Ja,ut as Ji,pt as Jn,ht as Jr,ft as Jt,mt as K,vt as Ka,yt as Ki,xt as Kn,St as Kr,Ct as Kt,At as L,Ot as La,It as Li,Nt as Ln,Ft as Lr,Dt as Lt,Lt as M,kt as Ma,Et as Mi,Rt as Mn,Tt as Mr,Jt as Mt,Vt as N,Ut as Na,Pt as Ni,Bt as Nn,Mt as Nr,zt as Nt,jt as O,Wt as Oa,Ht as Oi,qt as On,$t as Or,Kt as Ot,Gt as P,Qt as Pa,Xt as Pi,Yt as Pn,Zt as Pr,er as Pt,tr as Q,rr as Qa,_r as Qi,or as Qn,nr as Qr,sr as Qt,ar as R,ir as Ra,lr as Ri,gr as Rn,cr as Rr,dr as Rt,wr as S,br as Sa,ur as Si,pr as Sn,hr as Sr,fr as St,mr as T,vr as Ta,yr as Ti,xr as Tn,Sr as Tr,Cr as Tt,Ar as U,Or as Ua,Ir as Ui,Nr as Un,Fr as Ur,Dr as Ut,Lr as V,kr as Va,Er as Vi,Rr as Vn,Tr as Vr,Jr as Vt,Vr as W,Ur as Wa,Pr as Wi,Br as Wn,Mr as Wr,zr as Wt,jr as X,Wr as Xa,Hr as Xi,qr as Xn,$r as Xr,Kr as Xt,Gr as Y,Qr as Ya,Xr as Yi,Yr as Yn,Zr as Yr,e_ as Yt,t_ as Z,r_ as Za,__ as Zi,o_ as Zn,n_ as Zr,s_ as Zt,a_ as _,Hi as __tla,i_ as _a,l_ as _i,g_ as _n,c_ as _r,d_ as _t,w_ as a,b_ as aa,u_ as ai,p_ as an,h_ as ao,f_ as ar,m_ as at,v_ as b,y_ as ba,x_ as bi,S_ as bn,C_ as br,A_ as bt,O_ as c,I_ as ca,N_ as ci,F_ as cn,D_ as co,L_ as cr,k_ as ct,E_ as d,R_ as da,T_ as di,J_ as dn,L as do,V_ as dr,U_ as dt,P_ as ea,B_ as ei,M_ as en,z_ as eo,j_ as er,W_ as et,H_ as f,q_ as fa,$_ as fi,K_ as fn,G_ as fo,Q_ as fr,Ii as ft,X_ as g,Y_ as ga,Z_ as gi,eo as gn,Ni as go,to as gr,ro as gt,_o as h,oo as ha,no as hi,so as hn,ao as ho,io as hr,lo as ht,go as i,co as ia,wo as ii,bo as in,uo as io,po as ir,ho as it,fo as j,mo as ja,vo as ji,yo as jn,xo as jr,So as jt,Co as k,Ao as ka,Oo as ki,Io as kn,No as kr,Fo as kt,Do as l,Lo as la,ko as li,Eo as ln,Q as lo,Ro as lr,To as lt,Jo as m,Vo as ma,Uo as mi,Po as mn,X as mo,Bo as mr,Mo as mt,zo as n,jo as na,Wo as ni,Ho as nn,qo as no,$o as nr,Ko as nt,Go as o,Qo as oa,Xo as oi,Yo as on,Zo as oo,en as or,tn as ot,rn as p,_n as pa,on as pi,nn as pn,sn as po,an as pr,ln as pt,gn as q,cn as qa,dn as qi,wn as qn,bn as qr,un as qt,pn as r,hn as ra,fn as ri,mn as rn,vn as ro,yn as rr,xn as rt,Sn as s,Cn as sa,An as si,On as sn,S as so,In as sr,Nn as st,Fn as t,Dn as ta,Ln as ti,kn as tn,En as to,Rn as tr,Tn as tt,Jn as u,Vn as ua,Un as ui,Pn as un,N as uo,Bn as ur,Mn as ut,zn as v,jn as va,Wn as vi,Hn as vn,qn as vr,$n as vt,Kn as w,Gn as wa,Qn as wi,Xn as wn,Yn as wr,Zn as wt,es as x,ts as xa,rs as xi,_s as xn,os as xr,ns as xt,ss as y,as as ya,is as yi,ls as yn,gs as yr,cs as yt,ds as z,ws as za,bs as zi,us as zn,ps as zr,hs as zt};