@marimo-team/frontend 0.23.4-dev0 → 0.23.4-dev5
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.
- package/dist/assets/{CellStatus-BTL_sgUY.js → CellStatus-PIeZtHEl.js} +1 -1
- package/dist/assets/JsonOutput-BVAcY5xS.js +49 -0
- package/dist/assets/{MarimoErrorOutput-BBD405a6.js → MarimoErrorOutput-B9_RO5eX.js} +2 -2
- package/dist/assets/{RenderHTML-BT9obKLc.js → RenderHTML-DR6lqJGS.js} +1 -1
- package/dist/assets/{add-cell-with-ai-qEfAzC8R.js → add-cell-with-ai-DjfY8mF1.js} +9 -9
- package/dist/assets/{add-connection-dialog-HCShSlr3.js → add-connection-dialog-gd2yD9Qo.js} +2 -2
- package/dist/assets/{agent-panel-CoBHxHpJ.js → agent-panel-TetMUXWP.js} +3 -3
- package/dist/assets/{ai-model-dropdown-CYx9ZfdS.js → ai-model-dropdown-By4Ohb0R.js} +3 -3
- package/dist/assets/{app-config-button-DC5UlXZA.js → app-config-button-YS8lpoUa.js} +1 -1
- package/dist/assets/{cell-editor-BMjfXh0J.js → cell-editor-87LAVsOR.js} +11 -11
- package/dist/assets/{cell-link-BA7Demf0.js → cell-link-d38hFEon.js} +1 -1
- package/dist/assets/{cells-CJlo_hG2.js → cells-A-ljPpuj.js} +55 -55
- package/dist/assets/{chat-display-DbztpRD4.js → chat-display-Be0U92hE.js} +1 -1
- package/dist/assets/{chat-panel-H-xFzATI.js → chat-panel-BEz970S3.js} +1 -1
- package/dist/assets/{chat-ui-CFqAy2ck.js → chat-ui-CdW7awFa.js} +1 -1
- package/dist/assets/{column-preview-DzN2QumC.js → column-preview-_5uYiy74.js} +1 -1
- package/dist/assets/{command-DbT_zkRP.js → command-CzIDL1VI.js} +1 -1
- package/dist/assets/{command-palette-DSSR50KF.js → command-palette-DfotChyr.js} +1 -1
- package/dist/assets/{common-CquNY-ok.js → common-DC9LEIym.js} +1 -1
- package/dist/assets/{components-BXKuiPiF.js → components-BDnRtsA5.js} +1 -1
- package/dist/assets/{components-BiBOcq1x.js → components-FepcpFGL.js} +1 -1
- package/dist/assets/{datasource-BKDU-4D5.js → datasource-BCnGIjqn.js} +2 -2
- package/dist/assets/{dependency-graph-panel-ayo-Mm2j.js → dependency-graph-panel-Yk1Ch_Gj.js} +1 -1
- package/dist/assets/{documentation-panel-ph6755dz.js → documentation-panel-BMrGuByB.js} +1 -1
- package/dist/assets/{download-mzsKQgiy.js → download-Iyng0xCz.js} +4 -4
- package/dist/assets/{edit-page-Bxa5DWoE.js → edit-page-yF7xM43H.js} +6 -6
- package/dist/assets/{error-panel-BfG_JeMA.js → error-panel-CHSsnRFF.js} +1 -1
- package/dist/assets/{file-explorer-panel-D7-d0Puf.js → file-explorer-panel-Dlwspu2Y.js} +3 -3
- package/dist/assets/{file-icons-BNrh8MRG.js → file-icons-DTNZv05h.js} +1 -1
- package/dist/assets/{floating-outline-BMB4_phA.js → floating-outline-CSNGDMAm.js} +1 -1
- package/dist/assets/{focus-BX3gXJxx.js → focus-Baz7rlo0.js} +1 -1
- package/dist/assets/form-Dr-_EXr8.js +2 -0
- package/dist/assets/{home-page-B1ELDhn8.js → home-page-QvO22-4u.js} +1 -1
- package/dist/assets/{hooks-b3J1eFE-.js → hooks-CNPv5U-N.js} +1 -1
- package/dist/assets/{html-to-image-Cz8lDF-Y.js → html-to-image-tbPEMBJg.js} +1 -1
- package/dist/assets/index-DH5UUBE4.css +2 -0
- package/dist/assets/{index-BjiE1T38.js → index-z8Uh9i5Z.js} +8 -8
- package/dist/assets/{kiosk-mode-Dxbs5i5g.js → kiosk-mode-cWTXpegb.js} +1 -1
- package/dist/assets/{layout-lxwMDUgI.js → layout-DDh3d8oW.js} +5 -5
- package/dist/assets/{logs-panel-BW6S5AI1.js → logs-panel-Dgkr6V7q.js} +1 -1
- package/dist/assets/loro_wasm_bg-Bu4Ofw1K.js +2 -0
- package/dist/assets/{loro_wasm_bg-DXuHQ2hl.js → loro_wasm_bg-DWJCS9pK.js} +1 -1
- package/dist/assets/{markdown-renderer-CeHY2KoQ.js → markdown-renderer-CFrgiLqu.js} +1 -1
- package/dist/assets/{name-cell-input-B1BCybeo.js → name-cell-input-C5LXTI3T.js} +1 -1
- package/dist/assets/{outline-panel-DgMz83Mx.js → outline-panel-0lyts6z4.js} +1 -1
- package/dist/assets/{packages-panel-CbjavFh2.js → packages-panel-BhI1lbfw.js} +1 -1
- package/dist/assets/{panels-BPzk3EbR.js → panels-CbRenLjk.js} +1 -1
- package/dist/assets/{process-output-CggRIZ6s.js → process-output-BwZ5VxXO.js} +1 -1
- package/dist/assets/{readonly-python-code-Ccd8HM-7.js → readonly-python-code-B0nrQE3U.js} +1 -1
- package/dist/assets/{reveal-component-BamXsTkr.js → reveal-component-CLjsFHmT.js} +1 -1
- package/dist/assets/{run-page-C5cZvltI.js → run-page-C1Wd8dr8.js} +1 -1
- package/dist/assets/{scratchpad-panel-PMFH4Ktp.js → scratchpad-panel-B8kRNql6.js} +1 -1
- package/dist/assets/{session-panel-CUTSr9rt.js → session-panel-BvCIuxgU.js} +1 -1
- package/dist/assets/{slide-form-Bi8ZYBHP.js → slide-form-CXqvfwGg.js} +1 -1
- package/dist/assets/{snippets-panel-CdhDsAII.js → snippets-panel-COBTGJcr.js} +1 -1
- package/dist/assets/{state-C5AUgyZT.js → state-Bsz477is.js} +1 -1
- package/dist/assets/{state-DHlRrwyY.js → state-LyvUXW6A.js} +2 -2
- package/dist/assets/{textarea-BXPC1-kb.js → textarea-Dd0InTQJ.js} +1 -1
- package/dist/assets/{tracing-wSufGcF9.js → tracing-DjZGgWTo.js} +1 -1
- package/dist/assets/{tracing-panel-BO6MMAXa.js → tracing-panel-8eFzEjG0.js} +2 -2
- package/dist/assets/{useAddCell-CqBbGhrY.js → useAddCell-De9xD63_.js} +1 -1
- package/dist/assets/{useCellActionButton-DYwx4pGE.js → useCellActionButton-Bjxun3wK.js} +1 -1
- package/dist/assets/{useDeleteCell-BJlGbsbV.js → useDeleteCell-C2Stbb6Q.js} +1 -1
- package/dist/assets/{useDependencyPanelTab-rkAIQ6zL.js → useDependencyPanelTab-DFZNQ3a8.js} +1 -1
- package/dist/assets/{useNotebookActions-Dga3qEHF.js → useNotebookActions-F5fGMe9N.js} +1 -1
- package/dist/assets/{useRunCells-B531RIUE.js → useRunCells-DU1tawR-.js} +1 -1
- package/dist/assets/{useSplitCell-BnuJW5uo.js → useSplitCell-BZPuhd8z.js} +1 -1
- package/dist/index.html +25 -25
- package/package.json +4 -4
- package/src/components/data-table/data-table.tsx +11 -2
- package/src/components/data-table/filter-by-values-picker.tsx +238 -0
- package/src/components/data-table/filter-pill-editor.tsx +470 -0
- package/src/components/data-table/filter-pills.tsx +177 -41
- package/src/components/ui/checkbox.tsx +8 -4
- package/src/components/ui/combobox.tsx +3 -0
- package/src/css/app/Cell.css +4 -0
- package/src/plugins/impl/DataTablePlugin.tsx +1 -0
- package/src/plugins/impl/data-frames/forms/__tests__/__snapshots__/form.test.tsx.snap +15 -15
- package/src/utils/sets.ts +13 -0
- package/dist/assets/JsonOutput-DXnOS_Hk.js +0 -49
- package/dist/assets/form-CPDlIjdV.js +0 -2
- package/dist/assets/index-BYLYJcAY.css +0 -2
- package/dist/assets/loro_wasm_bg-Ds40eH8K.js +0 -2
|
@@ -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};
|