@marimo-team/frontend 0.14.12-dev0 → 0.14.13-dev10
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/{ConnectedDataExplorerComponent-B9BmPz9a.js → ConnectedDataExplorerComponent-Ck5QwQ0a.js} +1 -1
- package/dist/assets/{ImageComparisonComponent-CNTqLdnf.js → ImageComparisonComponent-DQAEAFOW.js} +1 -1
- package/dist/assets/{VegaLite-DLKRDJvl.js → VegaLite-BOzn_ryg.js} +1 -1
- package/dist/assets/_baseEach-BVz2R7Ry.js +1 -0
- package/dist/assets/_baseMap-DqJoBV0R.js +1 -0
- package/dist/assets/_baseUniq-B2F6cQpe.js +1 -0
- package/dist/assets/{_createAggregator-C_WhAECr.js → _createAggregator-Ct2PFT_i.js} +1 -1
- package/dist/assets/{any-language-editor-DrZjy7mH.js → any-language-editor-dOgraDGZ.js} +1 -1
- package/dist/assets/{architectureDiagram-NQ2NVSRB-DqJfNlvg.js → architectureDiagram-SUXI7LT5-BO2rBGtW.js} +3 -3
- package/dist/assets/{blockDiagram-PHRCVELO-BMyZ52bP.js → blockDiagram-6J76NXCF-CrLniOkM.js} +6 -6
- package/dist/assets/{c4Diagram-6F6E4RAY-DveKwcb7.js → c4Diagram-6F6E4RAY-CFUpKWFc.js} +1 -1
- package/dist/assets/channel-BcScSnDr.js +1 -0
- package/dist/assets/{chunk-353BL4L5-DBdJb07A.js → chunk-353BL4L5-DzyKEFA4.js} +1 -1
- package/dist/assets/{chunk-67H74DCK-DG8iWVJ-.js → chunk-67H74DCK-0N6IqEGA.js} +1 -1
- package/dist/assets/{chunk-AACKK3MU-CDOdA9eC.js → chunk-AACKK3MU-B8_W5RRv.js} +1 -1
- package/dist/assets/{chunk-BFAMUDN2-Cf6198RO.js → chunk-BFAMUDN2-B9UXMKf_.js} +1 -1
- package/dist/assets/{chunk-E2GYISFI-fSvIEcyU.js → chunk-E2GYISFI-CG8sH_Xg.js} +1 -1
- package/dist/assets/{chunk-6OLS64BW-Dmt4rYEQ.js → chunk-OW32GOEJ-CTj-sha1.js} +1 -1
- package/dist/assets/{chunk-SKB7J2MH-B7Z1FsaJ.js → chunk-SKB7J2MH-rB7TBRdw.js} +1 -1
- package/dist/assets/{chunk-QEP2MXWD-D6FP1cQC.js → chunk-SZ463SBG-DqAq6e58.js} +1 -1
- package/dist/assets/{circle-play-CBftacWk.js → circle-play-AgRU-h6v.js} +1 -1
- package/dist/assets/classDiagram-M3E45YP4-B5WAgUkA.js +1 -0
- package/dist/assets/classDiagram-v2-YAWTLIQI-B5WAgUkA.js +1 -0
- package/dist/assets/clone-BXGJwgns.js +1 -0
- package/dist/assets/{compile-mbjlQ5nn.js → compile-ZfECztdZ.js} +8 -8
- package/dist/assets/cytoscape.esm-CzSnbbKZ.js +325 -0
- package/dist/assets/{dagre-FFZHY6LT-DX9cGWLP.js → dagre-JOIXM2OF-DM7s7GTa.js} +1 -1
- package/dist/assets/{data-grid-overlay-editor-C4fyHnn1.js → data-grid-overlay-editor-HnmhejXy.js} +1 -1
- package/dist/assets/{diagram-5UYTHUR4-BgOShMim.js → diagram-5UYTHUR4-BwQkSIWB.js} +1 -1
- package/dist/assets/diagram-VMROVX33-BhjzR-bS.js +24 -0
- package/dist/assets/{diagram-ZTM2IBQH-m55tqkSF.js → diagram-ZTM2IBQH-BVWZsPmq.js} +1 -1
- package/dist/assets/edit-page-BjQUbI6O.js +147 -0
- package/dist/assets/{erDiagram-R3QVA2FD-B8SQvwhp.js → erDiagram-3M52JZNH-DwouQakE.js} +1 -1
- package/dist/assets/{flowDiagram-PKI6S5ZS-BTbZVZp0.js → flowDiagram-KYDEHFYC-CnlYqbNS.js} +1 -1
- package/dist/assets/{ganttDiagram-EK5VF46D-Dkuqvb7b.js → ganttDiagram-EK5VF46D-D_rFrhg7.js} +3 -3
- package/dist/assets/{gitGraphDiagram-GW3U2K7C-BMQ8L_am.js → gitGraphDiagram-GW3U2K7C-BYzUNWbJ.js} +1 -1
- package/dist/assets/{glide-data-editor-BKZWFNVv.js → glide-data-editor-kbqtMmov.js} +11 -11
- package/dist/assets/{graph-CFDemIXQ.js → graph-Bzc_9T7Z.js} +1 -1
- package/dist/assets/{home-page-DUbYTF9g.js → home-page-ftUruW_7.js} +3 -3
- package/dist/assets/index-7YWL4ilz.js +1 -0
- package/dist/assets/{index-MUMVp22V.js → index-BcIYWZ4z.js} +1 -1
- package/dist/assets/index-BsQqaadY.js +1 -0
- package/dist/assets/index-C0wa0jVk.js +1 -0
- package/dist/assets/{index-CH2sakSJ.js → index-C4PrQF97.js} +1 -1
- package/dist/assets/index-CEJstxRo.js +1 -0
- package/dist/assets/{index-B0-K_sX8.js → index-CHkhiQws.js} +1 -1
- package/dist/assets/index-CW5gri1j.js +1 -0
- package/dist/assets/index-CbETz4y4.js +1 -0
- package/dist/assets/index-CtPsBk7s.js +1 -0
- package/dist/assets/{index-ChVO1Vdj.js → index-D3rzOfRt.js} +1 -1
- package/dist/assets/index-DAAlHwlR.js +507 -0
- package/dist/assets/{index-C_e9XjpS.js → index-DGA_VJHf.js} +1 -1
- package/dist/assets/index-DL6l9OWK.js +1 -0
- package/dist/assets/index-DbL69TAJ.js +1 -0
- package/dist/assets/{index-d0CXXxee.js → index-DsiQhNzu.js} +2 -2
- package/dist/assets/{index-CRY746sV.js → index-FXUBhLuE.js} +1 -1
- package/dist/assets/index-S3mjG3Uz.css +1 -0
- package/dist/assets/index-V6glfQmo.js +1 -0
- package/dist/assets/index-qXgG5A9i.js +1 -0
- package/dist/assets/{infoDiagram-RLU2ROGC-DAW5X38W.js → infoDiagram-LHK5PUON-DFdEld5N.js} +1 -1
- package/dist/assets/{journeyDiagram-EWQZEKCU--6lJjuiM.js → journeyDiagram-EWQZEKCU-FyIkYgSs.js} +1 -1
- package/dist/assets/{kanban-definition-ILFWEQ3N-CXNPWHB8.js → kanban-definition-ZSS6B67P-yo2c0q-3.js} +1 -1
- package/dist/assets/{layout-Jgv95YSr.js → layout-QKY6PUj_.js} +1 -1
- package/dist/assets/{linear-DtgEMbrz.js → linear-CK5t2L_A.js} +1 -1
- package/dist/assets/links-D70MXjM5.js +17 -0
- package/dist/assets/loro_wasm_bg-C3hKWL9L.js +2 -0
- package/dist/assets/mermaid-Cut2kLK5.js +207 -0
- package/dist/assets/min-BKYNLFi1.js +1 -0
- package/dist/assets/mindmap-definition-6CBA2TL7-CnmjmyNj.js +95 -0
- package/dist/assets/{number-overlay-editor-C3hemckO.js → number-overlay-editor-B7_yN0N8.js} +1 -1
- package/dist/assets/{pieDiagram-NIOCPIFQ-B-zGF99A.js → pieDiagram-NIOCPIFQ-BdmIGGSk.js} +3 -3
- package/dist/assets/{quadrantDiagram-2OG54O6I-2tF9b_2b.js → quadrantDiagram-2OG54O6I-DB_65PVP.js} +1 -1
- package/dist/assets/{react-plotly-CdJaKwaj.js → react-plotly-1--mWjBH.js} +200 -200
- package/dist/assets/{requirementDiagram-SO3GGRV7-DEa34SeY.js → requirementDiagram-QOLK2EJ7-a7c4o6ST.js} +1 -1
- package/dist/assets/run-page-Do8ldoOh.js +1 -0
- package/dist/assets/sankeyDiagram-4UZDY2LN-CmGjZUZw.js +10 -0
- package/dist/assets/sequenceDiagram-SKLFT4DO-DLSriKsU.js +122 -0
- package/dist/assets/{slides-component-C2uc6kmf.js → slides-component-C74LwRp7.js} +1 -1
- package/dist/assets/{sortBy-Bob7dKSt.js → sortBy-BDh2-FP_.js} +1 -1
- package/dist/assets/{stateDiagram-XX37X6EN-DUi_goR8.js → stateDiagram-MI5ZYTHO-Ckq7mDsU.js} +1 -1
- package/dist/assets/stateDiagram-v2-5AN5P6BG-CvH_Saam.js +1 -0
- package/dist/assets/storage-Cdseu5cy.js +25 -0
- package/dist/assets/{terminal-BkOhnp-S.js → terminal-D3Tkwkgc.js} +1 -1
- package/dist/assets/{time-BXb9z1yv.js → time-Di6BDeju.js} +1 -1
- package/dist/assets/{timeline-definition-RI47OAVP-CTWn3WQu.js → timeline-definition-MYPXXCX6-hkbCGyMO.js} +3 -3
- package/dist/assets/tracing-DZD40337.js +2 -0
- package/dist/assets/{trash-BWRVB_br.js → trash-rBzmhCXp.js} +1 -1
- package/dist/assets/treemap-75Q7IDZK-AiR12CF4.js +126 -0
- package/dist/assets/{vega-component-CX_u3Hhp.js → vega-component-Cbc3kTAU.js} +1 -1
- package/dist/assets/{worker-BYA2ASe8.js → worker-Bma4sWEs.js} +1 -1
- package/dist/assets/{xychartDiagram-H2YORKM3-D0JoLNE8.js → xychartDiagram-H2YORKM3-CSXZBio0.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +9 -19
- package/dist/assets/_baseEach-BjDLzUwG.js +0 -1
- package/dist/assets/_baseMap-CuZ-LBtv.js +0 -1
- package/dist/assets/_baseUniq-DqHaT24V.js +0 -1
- package/dist/assets/channel-LYGgdr1R.js +0 -1
- package/dist/assets/classDiagram-BGRH5UQR-BQbZmSV-.js +0 -1
- package/dist/assets/classDiagram-v2-O24JOBDK-BQbZmSV-.js +0 -1
- package/dist/assets/clone-DD3sG0_1.js +0 -1
- package/dist/assets/cytoscape.esm-UYyVlru8.js +0 -10
- package/dist/assets/diagram-3EMPZRKU-BwXQu6c-.js +0 -24
- package/dist/assets/edit-page-BMW2Fhcz.js +0 -148
- package/dist/assets/index-1az6nvpO.js +0 -1
- package/dist/assets/index-B9WlbtVk.js +0 -1
- package/dist/assets/index-BWEPJWCF.js +0 -1
- package/dist/assets/index-CE3mbf8H.js +0 -1
- package/dist/assets/index-CaHkXpUp.js +0 -1
- package/dist/assets/index-CfvA7bvb.js +0 -1
- package/dist/assets/index-CsdFJkJw.css +0 -1
- package/dist/assets/index-CylrdBnG.js +0 -1
- package/dist/assets/index-D3Er-byj.js +0 -1
- package/dist/assets/index-D_Dmmo5g.js +0 -1
- package/dist/assets/index-Drq4Lpl3.js +0 -1
- package/dist/assets/index-NLK5-sPO.js +0 -1
- package/dist/assets/index-_lj65MZR.js +0 -507
- package/dist/assets/links-Bjf-1I2i.js +0 -17
- package/dist/assets/mermaid-DCMac0Ai.js +0 -152
- package/dist/assets/min-VDyC-auF.js +0 -1
- package/dist/assets/mindmap-definition-CZNETY7S-BEd6cR16.js +0 -95
- package/dist/assets/run-page-Bg1x8WTa.js +0 -1
- package/dist/assets/sankeyDiagram-4UZDY2LN-DUIUN-K8.js +0 -10
- package/dist/assets/sequenceDiagram-ZIKVLSP4-BZGddaB9.js +0 -122
- package/dist/assets/stateDiagram-v2-GD6S3NHB-CdRNmgeb.js +0 -1
- package/dist/assets/storage-CTvz5ejZ.js +0 -25
- package/dist/assets/tracing-Z4QREdu3.js +0 -2
- package/dist/assets/treemap-FKARHQ26-AlpUch0p.js +0 -126
@@ -0,0 +1,2 @@
|
|
1
|
+
let et,F,L,rt,ot,U,T,gs,ls,hs=(async()=>{const cs=""+new URL("loro_wasm_bg-bPYKkGLG.wasm",import.meta.url).href;let t;ot=function(_){t=_};const u=new Array(128).fill(void 0);function l(_){return u[_]}u.push(void 0,null,!0,!1);let w=0,q=null;function E(){return q!==null&&q.byteLength!==0||(q=new Uint8Array(t.memory.buffer)),q}let H=new(typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder)("utf-8");const ws=typeof H.encodeInto=="function"?function(_,e){return H.encodeInto(_,e)}:function(_,e){const r=H.encode(_);return e.set(r),{read:_.length,written:r.length}};function p(_,e,r){if(r===void 0){const b=H.encode(_),h=e(b.length,1)>>>0;return E().subarray(h,h+b.length).set(b),w=b.length,h}let o=_.length,a=e(o,1)>>>0;const d=E();let c=0;for(;c<o;c++){const b=_.charCodeAt(c);if(b>127)break;d[a+c]=b}if(c!==o){c!==0&&(_=_.slice(c)),a=r(a,o,o=c+3*_.length,1)>>>0;const b=E().subarray(a+c,a+o);c+=ws(_,b).written,a=r(a,o,c,1)>>>0}return w=c,a}let R=null;function n(){return(R===null||R.buffer.detached===!0||R.buffer.detached===void 0&&R.buffer!==t.memory.buffer)&&(R=new DataView(t.memory.buffer)),R}let M=u.length;function g(_){M===u.length&&u.push(u.length+1);const e=M;return M=u[e],u[e]=_,e}function m(_,e){try{return _.apply(this,e)}catch(r){t.__wbindgen_export_2(g(r))}}let nt=new(typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder)("utf-8",{ignoreBOM:!0,fatal:!0});function f(_,e){return _>>>=0,nt.decode(E().subarray(_,_+e))}function s(_){const e=l(_);return function(r){r<132||(u[r]=M,M=r)}(_),e}function k(_){return _==null}nt.decode();const it=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>{t.__wbindgen_export_4.get(_.dtor)(_.a,_.b)});function at(_,e,r,o){const a={a:_,b:e,cnt:1,dtor:r},d=(...c)=>{a.cnt++;const b=a.a;a.a=0;try{return o(b,a.b,...c)}finally{--a.cnt===0?(t.__wbindgen_export_4.get(a.dtor)(b,a.b),it.unregister(a)):a.a=b}};return d.original=a,it.register(d,a,a),d}function $(_){const e=typeof _;if(e=="number"||e=="boolean"||_==null)return`${_}`;if(e=="string")return`"${_}"`;if(e=="symbol"){const a=_.description;return a==null?"Symbol":`Symbol(${a})`}if(e=="function"){const a=_.name;return typeof a=="string"&&a.length>0?`Function(${a})`:"Function"}if(Array.isArray(_)){const a=_.length;let d="[";a>0&&(d+=$(_[0]));for(let c=1;c<a;c++)d+=", "+$(_[c]);return d+="]",d}const r=/\[object ([^\]]+)\]/.exec(toString.call(_));let o;if(!(r&&r.length>1))return toString.call(_);if(o=r[1],o=="Object")try{return"Object("+JSON.stringify(_)+")"}catch{return"Object"}return _ instanceof Error?`${_.name}: ${_.message}
|
2
|
+
${_.stack}`:o}function A(_,e){return _>>>=0,E().subarray(_/1,_/1+e)}function D(_,e){const r=e(1*_.length,1)>>>0;return E().set(_,r/1),w=_.length,r}function x(_,e){_>>>=0;const r=n(),o=[];for(let a=_;a<_+4*e;a+=4)o.push(s(r.getUint32(a,!0)));return o}function v(_,e){const r=e(4*_.length,4)>>>0,o=n();for(let a=0;a<_.length;a++)o.setUint32(r+4*a,g(_[a]),!0);return w=_.length,r}let y=128;function I(_){if(y==1)throw new Error("out of js stack");return u[--y]=_,y}function V(_,e){if(!(_ instanceof e))throw new Error(`expected instance of ${e.name}`)}function bs(_,e,r){t.__wbindgen_export_5(_,e,g(r))}function ps(_,e){t.__wbindgen_export_6(_,e)}const st=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>t.__wbg_awarenesswasm_free(_>>>0,1));et=class{__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,st.unregister(this),_}free(){const _=this.__destroy_into_raw();t.__wbg_awarenesswasm_free(_,0)}constructor(_,e){const r=t.awarenesswasm_new(g(_),e);return this.__wbg_ptr=r>>>0,st.register(this,this.__wbg_ptr,this),this}encode(_){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.awarenesswasm_encode(a,this.__wbg_ptr,g(_));var e=n().getInt32(a+0,!0),r=n().getInt32(a+4,!0),o=A(e,r).slice();return t.__wbindgen_export_3(e,1*r,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}encodeAll(){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.awarenesswasm_encodeAll(o,this.__wbg_ptr);var _=n().getInt32(o+0,!0),e=n().getInt32(o+4,!0),r=A(_,e).slice();return t.__wbindgen_export_3(_,1*e,1),r}finally{t.__wbindgen_add_to_stack_pointer(16)}}apply(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16),a=D(_,t.__wbindgen_export_0),d=w;t.awarenesswasm_apply(o,this.__wbg_ptr,a,d);var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}setLocalState(_){t.awarenesswasm_setLocalState(this.__wbg_ptr,g(_))}peer(){return s(t.awarenesswasm_peer(this.__wbg_ptr))}getAllStates(){return s(t.awarenesswasm_getAllStates(this.__wbg_ptr))}getState(_){return s(t.awarenesswasm_getState(this.__wbg_ptr,g(_)))}getTimestamp(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.awarenesswasm_getTimestamp(o,this.__wbg_ptr,g(_));var e=n().getInt32(o+0,!0),r=n().getFloat64(o+8,!0);return e===0?void 0:r}finally{t.__wbindgen_add_to_stack_pointer(16)}}removeOutdated(){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.awarenesswasm_removeOutdated(o,this.__wbg_ptr);var _=n().getInt32(o+0,!0),e=n().getInt32(o+4,!0),r=x(_,e).slice();return t.__wbindgen_export_3(_,4*e,4),r}finally{t.__wbindgen_add_to_stack_pointer(16)}}length(){return t.awarenesswasm_length(this.__wbg_ptr)}isEmpty(){return t.awarenesswasm_isEmpty(this.__wbg_ptr)!==0}peers(){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.awarenesswasm_peers(o,this.__wbg_ptr);var _=n().getInt32(o+0,!0),e=n().getInt32(o+4,!0),r=x(_,e).slice();return t.__wbindgen_export_3(_,4*e,4),r}finally{t.__wbindgen_add_to_stack_pointer(16)}}};const dt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>t.__wbg_changemodifier_free(_>>>0,1));class J{static __wrap(e){e>>>=0;const r=Object.create(J.prototype);return r.__wbg_ptr=e,dt.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,dt.unregister(this),e}free(){const e=this.__destroy_into_raw();t.__wbg_changemodifier_free(e,0)}setMessage(e){const r=p(e,t.__wbindgen_export_0,t.__wbindgen_export_1),o=w,a=t.changemodifier_setMessage(this.__wbg_ptr,r,o);return J.__wrap(a)}setTimestamp(e){const r=t.changemodifier_setTimestamp(this.__wbg_ptr,e);return J.__wrap(r)}}const gt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>t.__wbg_cursor_free(_>>>0,1));F=class{static __wrap(_){_>>>=0;const e=Object.create(F.prototype);return e.__wbg_ptr=_,gt.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,gt.unregister(this),_}free(){const _=this.__destroy_into_raw();t.__wbg_cursor_free(_,0)}containerId(){return s(t.cursor_containerId(this.__wbg_ptr))}pos(){return s(t.cursor_pos(this.__wbg_ptr))}side(){return s(t.cursor_side(this.__wbg_ptr))}encode(){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.cursor_encode(o,this.__wbg_ptr);var _=n().getInt32(o+0,!0),e=n().getInt32(o+4,!0),r=A(_,e).slice();return t.__wbindgen_export_3(_,1*e,1),r}finally{t.__wbindgen_add_to_stack_pointer(16)}}static decode(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16),a=D(_,t.__wbindgen_export_0),d=w;t.cursor_decode(o,a,d);var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return F.__wrap(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}kind(){return s(t.cursor_kind(this.__wbg_ptr))}};const lt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>t.__wbg_ephemeralstorewasm_free(_>>>0,1)),K=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>t.__wbg_lorocounter_free(_>>>0,1));class B{static __wrap(e){e>>>=0;const r=Object.create(B.prototype);return r.__wbg_ptr=e,K.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,K.unregister(this),e}free(){const e=this.__destroy_into_raw();t.__wbg_lorocounter_free(e,0)}constructor(){const e=t.lorocounter_new();return this.__wbg_ptr=e>>>0,K.register(this,this.__wbg_ptr,this),this}kind(){return s(t.lorocounter_kind(this.__wbg_ptr))}get id(){return s(t.lorocounter_id(this.__wbg_ptr))}increment(e){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorocounter_increment(o,this.__wbg_ptr,e);var r=n().getInt32(o+0,!0);if(n().getInt32(o+4,!0))throw s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}decrement(e){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorocounter_decrement(o,this.__wbg_ptr,e);var r=n().getInt32(o+0,!0);if(n().getInt32(o+4,!0))throw s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}get value(){return t.lorocounter_value(this.__wbg_ptr)}subscribe(e){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.lorocounter_subscribe(a,this.__wbg_ptr,g(e));var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);if(n().getInt32(a+8,!0))throw s(o);return s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}parent(){return s(t.lorocounter_parent(this.__wbg_ptr))}isAttached(){return t.lorocounter_isAttached(this.__wbg_ptr)!==0}getAttached(){return s(t.lorocounter_getAttached(this.__wbg_ptr))}getShallowValue(){return t.lorocounter_getShallowValue(this.__wbg_ptr)}}const G=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>t.__wbg_lorodoc_free(_>>>0,1));L=class{static __wrap(_){_>>>=0;const e=Object.create(L.prototype);return e.__wbg_ptr=_,G.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,G.unregister(this),_}free(){const _=this.__destroy_into_raw();t.__wbg_lorodoc_free(_,0)}constructor(){const _=t.lorodoc_new();return this.__wbg_ptr=_>>>0,G.register(this,this.__wbg_ptr,this),this}setDetachedEditing(_){t.lorodoc_setDetachedEditing(this.__wbg_ptr,_)}isDetachedEditingEnabled(){return t.lorodoc_isDetachedEditingEnabled(this.__wbg_ptr)!==0}setRecordTimestamp(_){t.lorodoc_setRecordTimestamp(this.__wbg_ptr,_)}setChangeMergeInterval(_){t.lorodoc_setChangeMergeInterval(this.__wbg_ptr,_)}configTextStyle(_){try{const r=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_configTextStyle(r,this.__wbg_ptr,g(_));var e=n().getInt32(r+0,!0);if(n().getInt32(r+4,!0))throw s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}configDefaultTextStyle(_){try{const r=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_configDefaultTextStyle(r,this.__wbg_ptr,g(_));var e=n().getInt32(r+0,!0);if(n().getInt32(r+4,!0))throw s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}static fromSnapshot(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16),a=D(_,t.__wbindgen_export_0),d=w;t.lorodoc_fromSnapshot(o,a,d);var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return L.__wrap(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}attach(){t.lorodoc_attach(this.__wbg_ptr)}isDetached(){return t.lorodoc_isDetached(this.__wbg_ptr)!==0}detach(){t.lorodoc_detach(this.__wbg_ptr)}fork(){const _=t.lorodoc_fork(this.__wbg_ptr);return L.__wrap(_)}forkAt(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16),a=v(_,t.__wbindgen_export_0),d=w;t.lorodoc_forkAt(o,this.__wbg_ptr,a,d);var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return L.__wrap(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}checkoutToLatest(){try{const e=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_checkoutToLatest(e,this.__wbg_ptr);var _=n().getInt32(e+0,!0);if(n().getInt32(e+4,!0))throw s(_)}finally{t.__wbindgen_add_to_stack_pointer(16)}}travelChangeAncestors(_,e){try{const o=t.__wbindgen_add_to_stack_pointer(-16),a=v(_,t.__wbindgen_export_0),d=w;t.lorodoc_travelChangeAncestors(o,this.__wbg_ptr,a,d,g(e));var r=n().getInt32(o+0,!0);if(n().getInt32(o+4,!0))throw s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}findIdSpansBetween(_,e){try{const a=t.__wbindgen_add_to_stack_pointer(-16),d=v(_,t.__wbindgen_export_0),c=w,b=v(e,t.__wbindgen_export_0),h=w;t.lorodoc_findIdSpansBetween(a,this.__wbg_ptr,d,c,b,h);var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);if(n().getInt32(a+8,!0))throw s(o);return s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}checkout(_){try{const r=t.__wbindgen_add_to_stack_pointer(-16),o=v(_,t.__wbindgen_export_0),a=w;t.lorodoc_checkout(r,this.__wbg_ptr,o,a);var e=n().getInt32(r+0,!0);if(n().getInt32(r+4,!0))throw s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}get peerId(){const _=t.lorodoc_peerId(this.__wbg_ptr);return BigInt.asUintN(64,_)}get peerIdStr(){return s(t.lorodoc_peerIdStr(this.__wbg_ptr))}setPeerId(_){try{const r=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_setPeerId(r,this.__wbg_ptr,g(_));var e=n().getInt32(r+0,!0);if(n().getInt32(r+4,!0))throw s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}commit(_){try{const r=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_commit(r,this.__wbg_ptr,k(_)?0:g(_));var e=n().getInt32(r+0,!0);if(n().getInt32(r+4,!0))throw s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}getPendingTxnLength(){return t.lorodoc_getPendingTxnLength(this.__wbg_ptr)>>>0}getText(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_getText(o,this.__wbg_ptr,I(_));var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return U.__wrap(e)}finally{t.__wbindgen_add_to_stack_pointer(16),u[y++]=void 0}}getMap(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_getMap(o,this.__wbg_ptr,I(_));var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return T.__wrap(e)}finally{t.__wbindgen_add_to_stack_pointer(16),u[y++]=void 0}}getList(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_getList(o,this.__wbg_ptr,I(_));var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return P.__wrap(e)}finally{t.__wbindgen_add_to_stack_pointer(16),u[y++]=void 0}}getMovableList(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_getMovableList(o,this.__wbg_ptr,I(_));var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return j.__wrap(e)}finally{t.__wbindgen_add_to_stack_pointer(16),u[y++]=void 0}}getCounter(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_getCounter(o,this.__wbg_ptr,I(_));var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return B.__wrap(e)}finally{t.__wbindgen_add_to_stack_pointer(16),u[y++]=void 0}}getTree(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_getTree(o,this.__wbg_ptr,I(_));var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return z.__wrap(e)}finally{t.__wbindgen_add_to_stack_pointer(16),u[y++]=void 0}}hasContainer(_){return t.lorodoc_hasContainer(this.__wbg_ptr,g(_))!==0}getContainerById(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_getContainerById(o,this.__wbg_ptr,g(_));var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}setNextCommitMessage(_){const e=p(_,t.__wbindgen_export_0,t.__wbindgen_export_1),r=w;t.lorodoc_setNextCommitMessage(this.__wbg_ptr,e,r)}setNextCommitOrigin(_){const e=p(_,t.__wbindgen_export_0,t.__wbindgen_export_1),r=w;t.lorodoc_setNextCommitOrigin(this.__wbg_ptr,e,r)}setNextCommitTimestamp(_){t.lorodoc_setNextCommitTimestamp(this.__wbg_ptr,_)}setNextCommitOptions(_){try{const r=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_setNextCommitOptions(r,this.__wbg_ptr,g(_));var e=n().getInt32(r+0,!0);if(n().getInt32(r+4,!0))throw s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}clearNextCommitOptions(){t.lorodoc_clearNextCommitOptions(this.__wbg_ptr)}getDeepValueWithID(){return s(t.lorodoc_getDeepValueWithID(this.__wbg_ptr))}getPathToContainer(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_getPathToContainer(o,this.__wbg_ptr,g(_));var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}JSONPath(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16),a=p(_,t.__wbindgen_export_0,t.__wbindgen_export_1),d=w;t.lorodoc_JSONPath(o,this.__wbg_ptr,a,d);var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}version(){const _=t.lorodoc_version(this.__wbg_ptr);return S.__wrap(_)}shallowSinceVV(){const _=t.lorodoc_shallowSinceVV(this.__wbg_ptr);return S.__wrap(_)}isShallow(){return t.lorodoc_isShallow(this.__wbg_ptr)!==0}shallowSinceFrontiers(){return s(t.lorodoc_shallowSinceFrontiers(this.__wbg_ptr))}oplogVersion(){const _=t.lorodoc_oplogVersion(this.__wbg_ptr);return S.__wrap(_)}frontiers(){return s(t.lorodoc_frontiers(this.__wbg_ptr))}oplogFrontiers(){return s(t.lorodoc_oplogFrontiers(this.__wbg_ptr))}cmpWithFrontiers(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16),a=v(_,t.__wbindgen_export_0),d=w;t.lorodoc_cmpWithFrontiers(o,this.__wbg_ptr,a,d);var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return e}finally{t.__wbindgen_add_to_stack_pointer(16)}}cmpFrontiers(_,e){try{const a=t.__wbindgen_add_to_stack_pointer(-16),d=v(_,t.__wbindgen_export_0),c=w,b=v(e,t.__wbindgen_export_0),h=w;t.lorodoc_cmpFrontiers(a,this.__wbg_ptr,d,c,b,h);var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);if(n().getInt32(a+8,!0))throw s(o);return s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}exportSnapshot(){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_exportSnapshot(a,this.__wbg_ptr);var _=n().getInt32(a+0,!0),e=n().getInt32(a+4,!0),r=n().getInt32(a+8,!0);if(n().getInt32(a+12,!0))throw s(r);var o=A(_,e).slice();return t.__wbindgen_export_3(_,1*e,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}exportFrom(_){try{const d=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_exportFrom(d,this.__wbg_ptr,g(_));var e=n().getInt32(d+0,!0),r=n().getInt32(d+4,!0),o=n().getInt32(d+8,!0);if(n().getInt32(d+12,!0))throw s(o);var a=A(e,r).slice();return t.__wbindgen_export_3(e,1*r,1),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}export(_){try{const d=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_export(d,this.__wbg_ptr,g(_));var e=n().getInt32(d+0,!0),r=n().getInt32(d+4,!0),o=n().getInt32(d+8,!0);if(n().getInt32(d+12,!0))throw s(o);var a=A(e,r).slice();return t.__wbindgen_export_3(e,1*r,1),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}exportJsonUpdates(_,e,r){try{const d=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_exportJsonUpdates(d,this.__wbg_ptr,g(_),g(e),k(r)?16777215:r?1:0);var o=n().getInt32(d+0,!0),a=n().getInt32(d+4,!0);if(n().getInt32(d+8,!0))throw s(a);return s(o)}finally{t.__wbindgen_add_to_stack_pointer(16)}}exportJsonInIdSpan(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_exportJsonInIdSpan(o,this.__wbg_ptr,g(_));var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}importJsonUpdates(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_importJsonUpdates(o,this.__wbg_ptr,g(_));var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}import(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16),a=D(_,t.__wbindgen_export_0),d=w;t.lorodoc_import(o,this.__wbg_ptr,a,d);var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}importUpdateBatch(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_importBatch(o,this.__wbg_ptr,g(_));var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}importBatch(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_importBatch(o,this.__wbg_ptr,g(_));var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}getShallowValue(){try{const r=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_getShallowValue(r,this.__wbg_ptr);var _=n().getInt32(r+0,!0),e=n().getInt32(r+4,!0);if(n().getInt32(r+8,!0))throw s(e);return s(_)}finally{t.__wbindgen_add_to_stack_pointer(16)}}toJSON(){try{const r=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_toJSON(r,this.__wbg_ptr);var _=n().getInt32(r+0,!0),e=n().getInt32(r+4,!0);if(n().getInt32(r+8,!0))throw s(e);return s(_)}finally{t.__wbindgen_add_to_stack_pointer(16)}}subscribe(_){return s(t.lorodoc_subscribe(this.__wbg_ptr,g(_)))}subscribeLocalUpdates(_){return s(t.lorodoc_subscribeLocalUpdates(this.__wbg_ptr,g(_)))}debugHistory(){t.lorodoc_debugHistory(this.__wbg_ptr)}changeCount(){return t.lorodoc_changeCount(this.__wbg_ptr)>>>0}opCount(){return t.lorodoc_opCount(this.__wbg_ptr)>>>0}getAllChanges(){return s(t.lorodoc_getAllChanges(this.__wbg_ptr))}getChangeAt(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_getChangeAt(o,this.__wbg_ptr,g(_));var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}getChangeAtLamport(_,e){try{const a=t.__wbindgen_add_to_stack_pointer(-16),d=p(_,t.__wbindgen_export_0,t.__wbindgen_export_1),c=w;t.lorodoc_getChangeAtLamport(a,this.__wbg_ptr,d,c,e);var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);if(n().getInt32(a+8,!0))throw s(o);return s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}getOpsInChange(_){try{const d=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_getOpsInChange(d,this.__wbg_ptr,g(_));var e=n().getInt32(d+0,!0),r=n().getInt32(d+4,!0),o=n().getInt32(d+8,!0);if(n().getInt32(d+12,!0))throw s(o);var a=x(e,r).slice();return t.__wbindgen_export_3(e,4*r,4),a}finally{t.__wbindgen_add_to_stack_pointer(16)}}frontiersToVV(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16),a=v(_,t.__wbindgen_export_0),d=w;t.lorodoc_frontiersToVV(o,this.__wbg_ptr,a,d);var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return S.__wrap(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}vvToFrontiers(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16);V(_,S),t.lorodoc_vvToFrontiers(o,this.__wbg_ptr,_.__wbg_ptr);var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}getByPath(_){const e=p(_,t.__wbindgen_export_0,t.__wbindgen_export_1),r=w;return s(t.lorodoc_getByPath(this.__wbg_ptr,e,r))}getCursorPos(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16);V(_,F),t.lorodoc_getCursorPos(o,this.__wbg_ptr,_.__wbg_ptr);var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}getChangedContainersIn(_,e){try{const c=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_getChangedContainersIn(c,this.__wbg_ptr,g(_),e);var r=n().getInt32(c+0,!0),o=n().getInt32(c+4,!0),a=n().getInt32(c+8,!0);if(n().getInt32(c+12,!0))throw s(a);var d=x(r,o).slice();return t.__wbindgen_export_3(r,4*o,4),d}finally{t.__wbindgen_add_to_stack_pointer(16)}}revertTo(_){try{const r=t.__wbindgen_add_to_stack_pointer(-16),o=v(_,t.__wbindgen_export_0),a=w;t.lorodoc_revertTo(r,this.__wbg_ptr,o,a);var e=n().getInt32(r+0,!0);if(n().getInt32(r+4,!0))throw s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}applyDiff(_){try{const r=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_applyDiff(r,this.__wbg_ptr,g(_));var e=n().getInt32(r+0,!0);if(n().getInt32(r+4,!0))throw s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}diff(_,e,r){try{const d=t.__wbindgen_add_to_stack_pointer(-16),c=v(_,t.__wbindgen_export_0),b=w,h=v(e,t.__wbindgen_export_0),C=w;t.lorodoc_diff(d,this.__wbg_ptr,c,b,h,C,k(r)?16777215:r?1:0);var o=n().getInt32(d+0,!0),a=n().getInt32(d+4,!0);if(n().getInt32(d+8,!0))throw s(a);return s(o)}finally{t.__wbindgen_add_to_stack_pointer(16)}}getUncommittedOpsAsJson(){try{const r=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_getUncommittedOpsAsJson(r,this.__wbg_ptr);var _=n().getInt32(r+0,!0),e=n().getInt32(r+4,!0);if(n().getInt32(r+8,!0))throw s(e);return s(_)}finally{t.__wbindgen_add_to_stack_pointer(16)}}subscribeFirstCommitFromPeer(_){return s(t.lorodoc_subscribeFirstCommitFromPeer(this.__wbg_ptr,g(_)))}subscribePreCommit(_){return s(t.lorodoc_subscribePreCommit(this.__wbg_ptr,g(_)))}deleteRootContainer(_){try{const r=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_deleteRootContainer(r,this.__wbg_ptr,g(_));var e=n().getInt32(r+0,!0);if(n().getInt32(r+4,!0))throw s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}setHideEmptyRootContainers(_){try{const r=t.__wbindgen_add_to_stack_pointer(-16);t.lorodoc_setHideEmptyRootContainers(r,this.__wbg_ptr,_);var e=n().getInt32(r+0,!0);if(n().getInt32(r+4,!0))throw s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}};const Y=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>t.__wbg_lorolist_free(_>>>0,1));class P{static __wrap(e){e>>>=0;const r=Object.create(P.prototype);return r.__wbg_ptr=e,Y.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Y.unregister(this),e}free(){const e=this.__destroy_into_raw();t.__wbg_lorolist_free(e,0)}constructor(){const e=t.lorolist_new();return this.__wbg_ptr=e>>>0,Y.register(this,this.__wbg_ptr,this),this}kind(){return s(t.lorolist_kind(this.__wbg_ptr))}insert(e,r){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.lorolist_insert(a,this.__wbg_ptr,e,g(r));var o=n().getInt32(a+0,!0);if(n().getInt32(a+4,!0))throw s(o)}finally{t.__wbindgen_add_to_stack_pointer(16)}}delete(e,r){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.lorolist_delete(a,this.__wbg_ptr,e,r);var o=n().getInt32(a+0,!0);if(n().getInt32(a+4,!0))throw s(o)}finally{t.__wbindgen_add_to_stack_pointer(16)}}get(e){return s(t.lorolist_get(this.__wbg_ptr,e))}get id(){return s(t.lorolist_id(this.__wbg_ptr))}toArray(){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.lorolist_toArray(a,this.__wbg_ptr);var e=n().getInt32(a+0,!0),r=n().getInt32(a+4,!0),o=x(e,r).slice();return t.__wbindgen_export_3(e,4*r,4),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}toJSON(){return s(t.lorolist_toJSON(this.__wbg_ptr))}insertContainer(e,r){try{const d=t.__wbindgen_add_to_stack_pointer(-16);t.lorolist_insertContainer(d,this.__wbg_ptr,e,g(r));var o=n().getInt32(d+0,!0),a=n().getInt32(d+4,!0);if(n().getInt32(d+8,!0))throw s(a);return s(o)}finally{t.__wbindgen_add_to_stack_pointer(16)}}pushContainer(e){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.lorolist_pushContainer(a,this.__wbg_ptr,g(e));var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);if(n().getInt32(a+8,!0))throw s(o);return s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}subscribe(e){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.lorolist_subscribe(a,this.__wbg_ptr,g(e));var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);if(n().getInt32(a+8,!0))throw s(o);return s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}get length(){return t.lorolist_length(this.__wbg_ptr)>>>0}parent(){return s(t.lorolist_parent(this.__wbg_ptr))}isAttached(){return t.lorolist_isAttached(this.__wbg_ptr)!==0}getAttached(){return s(t.lorolist_getAttached(this.__wbg_ptr))}getCursor(e,r){const o=t.lorolist_getCursor(this.__wbg_ptr,e,g(r));return o===0?void 0:F.__wrap(o)}push(e){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorolist_push(o,this.__wbg_ptr,g(e));var r=n().getInt32(o+0,!0);if(n().getInt32(o+4,!0))throw s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}pop(){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorolist_pop(o,this.__wbg_ptr);var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}clear(){try{const r=t.__wbindgen_add_to_stack_pointer(-16);t.lorolist_clear(r,this.__wbg_ptr);var e=n().getInt32(r+0,!0);if(n().getInt32(r+4,!0))throw s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}getIdAt(e){return s(t.lorolist_getIdAt(this.__wbg_ptr,e))}isDeleted(){return t.lorolist_isDeleted(this.__wbg_ptr)!==0}getShallowValue(){return s(t.lorolist_getShallowValue(this.__wbg_ptr))}}const Q=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>t.__wbg_loromap_free(_>>>0,1));T=class{static __wrap(_){_>>>=0;const e=Object.create(T.prototype);return e.__wbg_ptr=_,Q.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,Q.unregister(this),_}free(){const _=this.__destroy_into_raw();t.__wbg_loromap_free(_,0)}constructor(){const _=t.loromap_new();return this.__wbg_ptr=_>>>0,Q.register(this,this.__wbg_ptr,this),this}kind(){return s(t.loromap_kind(this.__wbg_ptr))}set(_,e){try{const o=t.__wbindgen_add_to_stack_pointer(-16),a=p(_,t.__wbindgen_export_0,t.__wbindgen_export_1),d=w;t.loromap_set(o,this.__wbg_ptr,a,d,g(e));var r=n().getInt32(o+0,!0);if(n().getInt32(o+4,!0))throw s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}delete(_){try{const r=t.__wbindgen_add_to_stack_pointer(-16),o=p(_,t.__wbindgen_export_0,t.__wbindgen_export_1),a=w;t.loromap_delete(r,this.__wbg_ptr,o,a);var e=n().getInt32(r+0,!0);if(n().getInt32(r+4,!0))throw s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}get(_){const e=p(_,t.__wbindgen_export_0,t.__wbindgen_export_1),r=w;return s(t.loromap_get(this.__wbg_ptr,e,r))}getOrCreateContainer(_,e){try{const a=t.__wbindgen_add_to_stack_pointer(-16),d=p(_,t.__wbindgen_export_0,t.__wbindgen_export_1),c=w;t.loromap_getOrCreateContainer(a,this.__wbg_ptr,d,c,g(e));var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);if(n().getInt32(a+8,!0))throw s(o);return s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}keys(){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.loromap_keys(o,this.__wbg_ptr);var _=n().getInt32(o+0,!0),e=n().getInt32(o+4,!0),r=x(_,e).slice();return t.__wbindgen_export_3(_,4*e,4),r}finally{t.__wbindgen_add_to_stack_pointer(16)}}values(){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.loromap_values(o,this.__wbg_ptr);var _=n().getInt32(o+0,!0),e=n().getInt32(o+4,!0),r=x(_,e).slice();return t.__wbindgen_export_3(_,4*e,4),r}finally{t.__wbindgen_add_to_stack_pointer(16)}}entries(){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.loromap_entries(o,this.__wbg_ptr);var _=n().getInt32(o+0,!0),e=n().getInt32(o+4,!0),r=x(_,e).slice();return t.__wbindgen_export_3(_,4*e,4),r}finally{t.__wbindgen_add_to_stack_pointer(16)}}get id(){return s(t.loromap_id(this.__wbg_ptr))}toJSON(){return s(t.loromap_toJSON(this.__wbg_ptr))}setContainer(_,e){try{const a=t.__wbindgen_add_to_stack_pointer(-16),d=p(_,t.__wbindgen_export_0,t.__wbindgen_export_1),c=w;t.loromap_setContainer(a,this.__wbg_ptr,d,c,g(e));var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);if(n().getInt32(a+8,!0))throw s(o);return s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}subscribe(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.loromap_subscribe(o,this.__wbg_ptr,g(_));var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}get size(){return t.loromap_size(this.__wbg_ptr)>>>0}parent(){return s(t.loromap_parent(this.__wbg_ptr))}isAttached(){return t.loromap_isAttached(this.__wbg_ptr)!==0}getAttached(){return s(t.loromap_getAttached(this.__wbg_ptr))}clear(){try{const e=t.__wbindgen_add_to_stack_pointer(-16);t.loromap_clear(e,this.__wbg_ptr);var _=n().getInt32(e+0,!0);if(n().getInt32(e+4,!0))throw s(_)}finally{t.__wbindgen_add_to_stack_pointer(16)}}getLastEditor(_){const e=p(_,t.__wbindgen_export_0,t.__wbindgen_export_1),r=w;return s(t.loromap_getLastEditor(this.__wbg_ptr,e,r))}isDeleted(){return t.loromap_isDeleted(this.__wbg_ptr)!==0}getShallowValue(){return s(t.loromap_getShallowValue(this.__wbg_ptr))}};const Z=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>t.__wbg_loromovablelist_free(_>>>0,1));class j{static __wrap(e){e>>>=0;const r=Object.create(j.prototype);return r.__wbg_ptr=e,Z.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Z.unregister(this),e}free(){const e=this.__destroy_into_raw();t.__wbg_loromovablelist_free(e,0)}constructor(){const e=t.loromovablelist_new();return this.__wbg_ptr=e>>>0,Z.register(this,this.__wbg_ptr,this),this}kind(){return s(t.loromovablelist_kind(this.__wbg_ptr))}insert(e,r){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.loromovablelist_insert(a,this.__wbg_ptr,e,g(r));var o=n().getInt32(a+0,!0);if(n().getInt32(a+4,!0))throw s(o)}finally{t.__wbindgen_add_to_stack_pointer(16)}}delete(e,r){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.loromovablelist_delete(a,this.__wbg_ptr,e,r);var o=n().getInt32(a+0,!0);if(n().getInt32(a+4,!0))throw s(o)}finally{t.__wbindgen_add_to_stack_pointer(16)}}get(e){return s(t.loromovablelist_get(this.__wbg_ptr,e))}get id(){return s(t.loromovablelist_id(this.__wbg_ptr))}toArray(){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.loromovablelist_toArray(a,this.__wbg_ptr);var e=n().getInt32(a+0,!0),r=n().getInt32(a+4,!0),o=x(e,r).slice();return t.__wbindgen_export_3(e,4*r,4),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}toJSON(){return s(t.loromovablelist_toJSON(this.__wbg_ptr))}insertContainer(e,r){try{const d=t.__wbindgen_add_to_stack_pointer(-16);t.loromovablelist_insertContainer(d,this.__wbg_ptr,e,g(r));var o=n().getInt32(d+0,!0),a=n().getInt32(d+4,!0);if(n().getInt32(d+8,!0))throw s(a);return s(o)}finally{t.__wbindgen_add_to_stack_pointer(16)}}pushContainer(e){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.loromovablelist_pushContainer(a,this.__wbg_ptr,g(e));var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);if(n().getInt32(a+8,!0))throw s(o);return s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}subscribe(e){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.loromovablelist_subscribe(a,this.__wbg_ptr,g(e));var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);if(n().getInt32(a+8,!0))throw s(o);return s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}get length(){return t.loromovablelist_length(this.__wbg_ptr)>>>0}parent(){return s(t.loromovablelist_parent(this.__wbg_ptr))}isAttached(){return t.loromovablelist_isAttached(this.__wbg_ptr)!==0}getAttached(){return s(t.loromovablelist_getAttached(this.__wbg_ptr))}getCursor(e,r){const o=t.loromovablelist_getCursor(this.__wbg_ptr,e,g(r));return o===0?void 0:F.__wrap(o)}move(e,r){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.loromovablelist_move(a,this.__wbg_ptr,e,r);var o=n().getInt32(a+0,!0);if(n().getInt32(a+4,!0))throw s(o)}finally{t.__wbindgen_add_to_stack_pointer(16)}}set(e,r){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.loromovablelist_set(a,this.__wbg_ptr,e,g(r));var o=n().getInt32(a+0,!0);if(n().getInt32(a+4,!0))throw s(o)}finally{t.__wbindgen_add_to_stack_pointer(16)}}setContainer(e,r){try{const d=t.__wbindgen_add_to_stack_pointer(-16);t.loromovablelist_setContainer(d,this.__wbg_ptr,e,g(r));var o=n().getInt32(d+0,!0),a=n().getInt32(d+4,!0);if(n().getInt32(d+8,!0))throw s(a);return s(o)}finally{t.__wbindgen_add_to_stack_pointer(16)}}push(e){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.loromovablelist_push(o,this.__wbg_ptr,g(e));var r=n().getInt32(o+0,!0);if(n().getInt32(o+4,!0))throw s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}pop(){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.loromovablelist_pop(o,this.__wbg_ptr);var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}clear(){try{const r=t.__wbindgen_add_to_stack_pointer(-16);t.loromovablelist_clear(r,this.__wbg_ptr);var e=n().getInt32(r+0,!0);if(n().getInt32(r+4,!0))throw s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}getCreatorAt(e){return s(t.loromovablelist_getCreatorAt(this.__wbg_ptr,e))}getLastMoverAt(e){return s(t.loromovablelist_getLastMoverAt(this.__wbg_ptr,e))}getLastEditorAt(e){return s(t.loromovablelist_getLastEditorAt(this.__wbg_ptr,e))}isDeleted(){return t.loromovablelist_isDeleted(this.__wbg_ptr)!==0}getShallowValue(){return s(t.loromovablelist_getShallowValue(this.__wbg_ptr))}}const X=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>t.__wbg_lorotext_free(_>>>0,1));U=class{static __wrap(_){_>>>=0;const e=Object.create(U.prototype);return e.__wbg_ptr=_,X.register(e,e.__wbg_ptr,e),e}__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,X.unregister(this),_}free(){const _=this.__destroy_into_raw();t.__wbg_lorotext_free(_,0)}constructor(){const _=t.lorotext_new();return this.__wbg_ptr=_>>>0,X.register(this,this.__wbg_ptr,this),this}kind(){return s(t.lorotext_kind(this.__wbg_ptr))}iter(_){try{const r=t.__wbindgen_add_to_stack_pointer(-16);t.lorotext_iter(r,this.__wbg_ptr,g(_));var e=n().getInt32(r+0,!0);if(n().getInt32(r+4,!0))throw s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}update(_,e){try{const o=t.__wbindgen_add_to_stack_pointer(-16),a=p(_,t.__wbindgen_export_0,t.__wbindgen_export_1),d=w;t.lorotext_update(o,this.__wbg_ptr,a,d,g(e));var r=n().getInt32(o+0,!0);if(n().getInt32(o+4,!0))throw s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}updateByLine(_,e){try{const o=t.__wbindgen_add_to_stack_pointer(-16),a=p(_,t.__wbindgen_export_0,t.__wbindgen_export_1),d=w;t.lorotext_updateByLine(o,this.__wbg_ptr,a,d,g(e));var r=n().getInt32(o+0,!0);if(n().getInt32(o+4,!0))throw s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}insert(_,e){try{const o=t.__wbindgen_add_to_stack_pointer(-16),a=p(e,t.__wbindgen_export_0,t.__wbindgen_export_1),d=w;t.lorotext_insert(o,this.__wbg_ptr,_,a,d);var r=n().getInt32(o+0,!0);if(n().getInt32(o+4,!0))throw s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}slice(_,e){let r,o;try{const N=t.__wbindgen_add_to_stack_pointer(-16);t.lorotext_slice(N,this.__wbg_ptr,_,e);var a=n().getInt32(N+0,!0),d=n().getInt32(N+4,!0),c=n().getInt32(N+8,!0),b=n().getInt32(N+12,!0),h=a,C=d;if(b)throw h=0,C=0,s(c);return r=h,o=C,f(h,C)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export_3(r,o,1)}}charAt(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorotext_charAt(o,this.__wbg_ptr,_);var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return String.fromCodePoint(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}splice(_,e,r){let o,a;try{const W=t.__wbindgen_add_to_stack_pointer(-16),us=p(r,t.__wbindgen_export_0,t.__wbindgen_export_1),fs=w;t.lorotext_splice(W,this.__wbg_ptr,_,e,us,fs);var d=n().getInt32(W+0,!0),c=n().getInt32(W+4,!0),b=n().getInt32(W+8,!0),h=n().getInt32(W+12,!0),C=d,N=c;if(h)throw C=0,N=0,s(b);return o=C,a=N,f(C,N)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export_3(o,a,1)}}insertUtf8(_,e){try{const o=t.__wbindgen_add_to_stack_pointer(-16),a=p(e,t.__wbindgen_export_0,t.__wbindgen_export_1),d=w;t.lorotext_insertUtf8(o,this.__wbg_ptr,_,a,d);var r=n().getInt32(o+0,!0);if(n().getInt32(o+4,!0))throw s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}delete(_,e){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorotext_delete(o,this.__wbg_ptr,_,e);var r=n().getInt32(o+0,!0);if(n().getInt32(o+4,!0))throw s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}deleteUtf8(_,e){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorotext_deleteUtf8(o,this.__wbg_ptr,_,e);var r=n().getInt32(o+0,!0);if(n().getInt32(o+4,!0))throw s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}mark(_,e,r){try{const a=t.__wbindgen_add_to_stack_pointer(-16),d=p(e,t.__wbindgen_export_0,t.__wbindgen_export_1),c=w;t.lorotext_mark(a,this.__wbg_ptr,g(_),d,c,g(r));var o=n().getInt32(a+0,!0);if(n().getInt32(a+4,!0))throw s(o)}finally{t.__wbindgen_add_to_stack_pointer(16)}}unmark(_,e){try{const o=t.__wbindgen_add_to_stack_pointer(-16),a=p(e,t.__wbindgen_export_0,t.__wbindgen_export_1),d=w;t.lorotext_unmark(o,this.__wbg_ptr,g(_),a,d);var r=n().getInt32(o+0,!0);if(n().getInt32(o+4,!0))throw s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}toString(){let _,e;try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.lorotext_toString(a,this.__wbg_ptr);var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);return _=r,e=o,f(r,o)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export_3(_,e,1)}}toDelta(){return s(t.lorotext_toDelta(this.__wbg_ptr))}get id(){return s(t.lorotext_id(this.__wbg_ptr))}get length(){return t.lorotext_length(this.__wbg_ptr)>>>0}subscribe(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorotext_subscribe(o,this.__wbg_ptr,g(_));var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}applyDelta(_){try{const r=t.__wbindgen_add_to_stack_pointer(-16);t.lorotext_applyDelta(r,this.__wbg_ptr,g(_));var e=n().getInt32(r+0,!0);if(n().getInt32(r+4,!0))throw s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}parent(){return s(t.lorotext_parent(this.__wbg_ptr))}isAttached(){return t.lorotext_isAttached(this.__wbg_ptr)!==0}getAttached(){return s(t.lorotext_getAttached(this.__wbg_ptr))}getCursor(_,e){const r=t.lorotext_getCursor(this.__wbg_ptr,_,g(e));return r===0?void 0:F.__wrap(r)}push(_){try{const r=t.__wbindgen_add_to_stack_pointer(-16),o=p(_,t.__wbindgen_export_0,t.__wbindgen_export_1),a=w;t.lorotext_push(r,this.__wbg_ptr,o,a);var e=n().getInt32(r+0,!0);if(n().getInt32(r+4,!0))throw s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}getEditorOf(_){return s(t.lorotext_getEditorOf(this.__wbg_ptr,_))}isDeleted(){return t.lorotext_isDeleted(this.__wbg_ptr)!==0}getShallowValue(){let _,e;try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.lorotext_getShallowValue(a,this.__wbg_ptr);var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);return _=r,e=o,f(r,o)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export_3(_,e,1)}}toJSON(){return s(t.lorotext_toJSON(this.__wbg_ptr))}};const tt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>t.__wbg_lorotree_free(_>>>0,1));class z{static __wrap(e){e>>>=0;const r=Object.create(z.prototype);return r.__wbg_ptr=e,tt.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,tt.unregister(this),e}free(){const e=this.__destroy_into_raw();t.__wbg_lorotree_free(e,0)}constructor(){const e=t.lorotree_new();return this.__wbg_ptr=e>>>0,tt.register(this,this.__wbg_ptr,this),this}kind(){return s(t.lorotree_kind(this.__wbg_ptr))}createNode(e,r){try{const d=t.__wbindgen_add_to_stack_pointer(-16);t.lorotree_createNode(d,this.__wbg_ptr,I(e),k(r)?4294967297:r>>>0);var o=n().getInt32(d+0,!0),a=n().getInt32(d+4,!0);if(n().getInt32(d+8,!0))throw s(a);return O.__wrap(o)}finally{t.__wbindgen_add_to_stack_pointer(16),u[y++]=void 0}}move(e,r,o){try{const d=t.__wbindgen_add_to_stack_pointer(-16);t.lorotree_move(d,this.__wbg_ptr,I(e),I(r),k(o)?4294967297:o>>>0);var a=n().getInt32(d+0,!0);if(n().getInt32(d+4,!0))throw s(a)}finally{t.__wbindgen_add_to_stack_pointer(16),u[y++]=void 0,u[y++]=void 0}}delete(e){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorotree_delete(o,this.__wbg_ptr,I(e));var r=n().getInt32(o+0,!0);if(n().getInt32(o+4,!0))throw s(r)}finally{t.__wbindgen_add_to_stack_pointer(16),u[y++]=void 0}}getNodeByID(e){try{const r=t.lorotree_getNodeByID(this.__wbg_ptr,I(e));return r===0?void 0:O.__wrap(r)}finally{u[y++]=void 0}}get id(){return s(t.lorotree_id(this.__wbg_ptr))}has(e){try{return t.lorotree_has(this.__wbg_ptr,I(e))!==0}finally{u[y++]=void 0}}isNodeDeleted(e){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.lorotree_isNodeDeleted(a,this.__wbg_ptr,I(e));var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);if(n().getInt32(a+8,!0))throw s(o);return r!==0}finally{t.__wbindgen_add_to_stack_pointer(16),u[y++]=void 0}}toArray(){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorotree_toArray(o,this.__wbg_ptr);var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}getNodes(e){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.lorotree_getNodes(a,this.__wbg_ptr,g(e));var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);if(n().getInt32(a+8,!0))throw s(o);return s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}toJSON(){return s(t.lorotree_toJSON(this.__wbg_ptr))}nodes(){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.lorotree_nodes(a,this.__wbg_ptr);var e=n().getInt32(a+0,!0),r=n().getInt32(a+4,!0),o=x(e,r).slice();return t.__wbindgen_export_3(e,4*r,4),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}roots(){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.lorotree_roots(a,this.__wbg_ptr);var e=n().getInt32(a+0,!0),r=n().getInt32(a+4,!0),o=x(e,r).slice();return t.__wbindgen_export_3(e,4*r,4),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}subscribe(e){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.lorotree_subscribe(a,this.__wbg_ptr,g(e));var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);if(n().getInt32(a+8,!0))throw s(o);return s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}parent(){return s(t.lorotree_parent(this.__wbg_ptr))}isAttached(){return t.lorotree_isAttached(this.__wbg_ptr)!==0}getAttached(){return s(t.lorotree_getAttached(this.__wbg_ptr))}enableFractionalIndex(e){t.lorotree_enableFractionalIndex(this.__wbg_ptr,e)}disableFractionalIndex(){t.lorotree_disableFractionalIndex(this.__wbg_ptr)}isFractionalIndexEnabled(){return t.lorotree_isFractionalIndexEnabled(this.__wbg_ptr)!==0}isDeleted(){return t.lorotree_isDeleted(this.__wbg_ptr)!==0}getShallowValue(){return s(t.lorotree_getShallowValue(this.__wbg_ptr))}}const ct=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>t.__wbg_lorotreenode_free(_>>>0,1));class O{static __wrap(e){e>>>=0;const r=Object.create(O.prototype);return r.__wbg_ptr=e,ct.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,ct.unregister(this),e}free(){const e=this.__destroy_into_raw();t.__wbg_lorotreenode_free(e,0)}__getClassname(){let e,r;try{const d=t.__wbindgen_add_to_stack_pointer(-16);t.lorotreenode___getClassname(d,this.__wbg_ptr);var o=n().getInt32(d+0,!0),a=n().getInt32(d+4,!0);return e=o,r=a,f(o,a)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export_3(e,r,1)}}get id(){return s(t.lorotreenode_id(this.__wbg_ptr))}createNode(e){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.lorotreenode_createNode(a,this.__wbg_ptr,k(e)?4294967297:e>>>0);var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);if(n().getInt32(a+8,!0))throw s(o);return O.__wrap(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}move(e,r){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.lorotreenode_move(a,this.__wbg_ptr,I(e),k(r)?4294967297:r>>>0);var o=n().getInt32(a+0,!0);if(n().getInt32(a+4,!0))throw s(o)}finally{t.__wbindgen_add_to_stack_pointer(16),u[y++]=void 0}}moveAfter(e){try{const o=t.__wbindgen_add_to_stack_pointer(-16);V(e,O),t.lorotreenode_moveAfter(o,this.__wbg_ptr,e.__wbg_ptr);var r=n().getInt32(o+0,!0);if(n().getInt32(o+4,!0))throw s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}moveBefore(e){try{const o=t.__wbindgen_add_to_stack_pointer(-16);V(e,O),t.lorotreenode_moveBefore(o,this.__wbg_ptr,e.__wbg_ptr);var r=n().getInt32(o+0,!0);if(n().getInt32(o+4,!0))throw s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}index(){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorotreenode_index(o,this.__wbg_ptr);var e=n().getFloat64(o+0,!0),r=n().getInt32(o+8,!0);if(n().getInt32(o+12,!0))throw s(r);return e===4294967297?void 0:e}finally{t.__wbindgen_add_to_stack_pointer(16)}}fractionalIndex(){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorotreenode_fractionalIndex(o,this.__wbg_ptr);var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}get data(){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorotreenode_data(o,this.__wbg_ptr);var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return T.__wrap(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}toJSON(){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorotreenode_toJSON(o,this.__wbg_ptr);var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}parent(){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorotreenode_parent(o,this.__wbg_ptr);var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return e===0?void 0:O.__wrap(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}}children(){return s(t.lorotreenode_children(this.__wbg_ptr))}isDeleted(){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.lorotreenode_isDeleted(o,this.__wbg_ptr);var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return e!==0}finally{t.__wbindgen_add_to_stack_pointer(16)}}getLastMoveId(){return s(t.lorotreenode_getLastMoveId(this.__wbg_ptr))}creationId(){return s(t.lorotreenode_creationId(this.__wbg_ptr))}creator(){return s(t.lorotreenode_creator(this.__wbg_ptr))}}const wt=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>t.__wbg_undomanager_free(_>>>0,1)),_t=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>t.__wbg_versionvector_free(_>>>0,1));class S{static __wrap(e){e>>>=0;const r=Object.create(S.prototype);return r.__wbg_ptr=e,_t.register(r,r.__wbg_ptr,r),r}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,_t.unregister(this),e}free(){const e=this.__destroy_into_raw();t.__wbg_versionvector_free(e,0)}constructor(e){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.versionvector_new(a,g(e));var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);if(n().getInt32(a+8,!0))throw s(o);return this.__wbg_ptr=r>>>0,_t.register(this,this.__wbg_ptr,this),this}finally{t.__wbindgen_add_to_stack_pointer(16)}}static parseJSON(e){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.versionvector_parseJSON(a,g(e));var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);if(n().getInt32(a+8,!0))throw s(o);return S.__wrap(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}toJSON(){return s(t.versionvector_toJSON(this.__wbg_ptr))}encode(){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.versionvector_encode(a,this.__wbg_ptr);var e=n().getInt32(a+0,!0),r=n().getInt32(a+4,!0),o=A(e,r).slice();return t.__wbindgen_export_3(e,1*r,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}static decode(e){try{const a=t.__wbindgen_add_to_stack_pointer(-16),d=D(e,t.__wbindgen_export_0),c=w;t.versionvector_decode(a,d,c);var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);if(n().getInt32(a+8,!0))throw s(o);return S.__wrap(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}get(e){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.versionvector_get(a,this.__wbg_ptr,g(e));var r=n().getFloat64(a+0,!0),o=n().getInt32(a+8,!0);if(n().getInt32(a+12,!0))throw s(o);return r===4294967297?void 0:r}finally{t.__wbindgen_add_to_stack_pointer(16)}}compare(e){V(e,S);const r=t.versionvector_compare(this.__wbg_ptr,e.__wbg_ptr);return r===4294967297?void 0:r}setEnd(e){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.versionvector_setEnd(o,this.__wbg_ptr,g(e));var r=n().getInt32(o+0,!0);if(n().getInt32(o+4,!0))throw s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}setLast(e){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.versionvector_setLast(o,this.__wbg_ptr,g(e));var r=n().getInt32(o+0,!0);if(n().getInt32(o+4,!0))throw s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}remove(e){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.versionvector_remove(o,this.__wbg_ptr,g(e));var r=n().getInt32(o+0,!0);if(n().getInt32(o+4,!0))throw s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}}length(){return t.versionvector_length(this.__wbg_ptr)>>>0}}function bt(_,e){const r=p(String(l(e)),t.__wbindgen_export_0,t.__wbindgen_export_1),o=w;n().setInt32(_+4,o,!0),n().setInt32(_+0,r,!0)}function pt(){return m(function(_,e,r){return g(Reflect.apply(l(_),l(e),l(r)))},arguments)}function ut(_){return g(l(_).buffer)}function ft(){return m(function(_,e){return g(l(_).call(l(e)))},arguments)}function ht(){return m(function(_,e,r){return g(l(_).call(l(e),l(r)))},arguments)}function mt(){return m(function(_,e,r,o,a){return g(l(_).call(l(e),l(r),l(o),l(a)))},arguments)}function yt(){return m(function(_,e,r,o){return g(l(_).call(l(e),l(r),l(o)))},arguments)}function It(_){return g(J.__wrap(_))}function vt(_){return g(l(_).crypto)}function kt(_){return g(F.__wrap(_))}function xt(_){return l(_).done}function St(_){return g(l(_).entries())}function Ct(_){return g(Object.entries(l(_)))}function At(_,e){let r,o;try{r=_,o=e,console.error(f(_,e))}finally{t.__wbindgen_export_3(r,o,1)}}function Ot(_,e){console.error(f(_,e))}function Ft(_){return g(Array.from(l(_)))}function Nt(){return m(function(_,e){l(_).getRandomValues(l(e))},arguments)}function Dt(_,e){return g(l(_)[e>>>0])}function Lt(){return m(function(_,e){return g(Reflect.get(l(_),l(e)))},arguments)}function Tt(_,e){return l(_)[e>>>0]}function Et(_,e){return g(l(_)[l(e)])}function Rt(){return m(function(){return g(globalThis.globalThis)},arguments)}function Vt(){return m(function(){return g(global.global)},arguments)}function Jt(_){let e;try{e=l(_)instanceof ArrayBuffer}catch{e=!1}return e}function Ut(_){let e;try{e=l(_)instanceof Map}catch{e=!1}return e}function Mt(_){let e;try{e=l(_)instanceof Object}catch{e=!1}return e}function Bt(_){let e;try{e=l(_)instanceof Uint8Array}catch{e=!1}return e}function Pt(_){return Array.isArray(l(_))}function jt(_){return Number.isSafeInteger(l(_))}function zt(){return g(Symbol.iterator)}function Wt(_){return l(_).length}function qt(_){return l(_).length}function Ht(_,e,r,o,a,d,c,b){let h,C;try{h=_,C=e,console.log(f(_,e),f(r,o),f(a,d),f(c,b))}finally{t.__wbindgen_export_3(h,C,1)}}function $t(_,e){console.log(f(_,e))}function Kt(_,e){let r,o;try{r=_,o=e,console.log(f(_,e))}finally{t.__wbindgen_export_3(r,o,1)}}function Gt(_){return g(B.__wrap(_))}function Yt(_){return g(P.__wrap(_))}function Qt(_){return g(T.__wrap(_))}function Zt(_){return g(j.__wrap(_))}function Xt(_){return g(U.__wrap(_))}function t_(_){return g(z.__wrap(_))}function __(_){return g(O.__wrap(_))}function e_(_,e){performance.mark(f(_,e))}function r_(){return m(function(_,e,r,o){let a,d,c,b;try{a=_,d=e,c=r,b=o,performance.measure(f(_,e),f(r,o))}finally{t.__wbindgen_export_3(a,d,1),t.__wbindgen_export_3(c,b,1)}},arguments)}function o_(_){return g(l(_).msCrypto)}function n_(){return g(new Map)}function i_(_){return g(new Uint8Array(l(_)))}function a_(){return g(new Object)}function s_(){return g(new Error)}function d_(){return g(new Array)}function g_(_,e){return g(new Function(f(_,e)))}function l_(_,e,r){return g(new Uint8Array(l(_),e>>>0,r>>>0))}function c_(_){return g(new Uint8Array(_>>>0))}function w_(_){return g(new Array(_>>>0))}function b_(_){return g(l(_).next)}function p_(){return m(function(_){return g(l(_).next())},arguments)}function u_(_){return g(l(_).node)}function f_(){return Date.now()}function h_(){return m(function(_){return g(Reflect.ownKeys(l(_)))},arguments)}function m_(_){return g(l(_).process)}function y_(_,e){return l(_).push(l(e))}function I_(){return m(function(_,e){l(_).randomFillSync(s(e))},arguments)}function v_(){return m(function(){return g(module.require)},arguments)}function k_(_){return g(Promise.resolve(l(_)))}function x_(){return m(function(){return g(self.self)},arguments)}function S_(){return m(function(_,e,r){return Reflect.set(l(_),l(e),l(r))},arguments)}function C_(_,e,r){return g(l(_).set(l(e),l(r)))}function A_(_,e,r){l(_)[s(e)]=s(r)}function O_(_,e,r){l(_).set(l(e),r>>>0)}function F_(_,e,r){l(_)[e>>>0]=s(r)}function N_(_,e,r){l(_)[e>>>0]=r}function D_(_,e){const r=p(l(e).stack,t.__wbindgen_export_0,t.__wbindgen_export_1),o=w;n().setInt32(_+4,o,!0),n().setInt32(_+0,r,!0)}function L_(_,e,r){return g(l(_).subarray(e>>>0,r>>>0))}function T_(_,e){return g(l(_).then(l(e)))}function E_(_){return g(l(_).value)}function R_(_){return g(l(_).versions)}function V_(_){return g(S.__wrap(_))}function J_(){return m(function(){return g(window.window)},arguments)}function U_(_){return+l(_)}function M_(_){return g(_)}function B_(_){return g(BigInt.asUintN(64,_))}function P_(_,e){const r=l(e),o=typeof r=="bigint"?r:void 0;n().setBigInt64(_+8,k(o)?BigInt(0):o,!0),n().setInt32(_+0,!k(o),!0)}function j_(_){const e=l(_);return typeof e=="boolean"?e?1:0:2}function z_(_){const e=s(_).original;return e.cnt--==1?(e.a=0,!0):!1}function W_(_,e,r){return g(at(_,e,8,bs))}function q_(_,e,r){return g(at(_,e,10,ps))}function H_(_,e){const r=p($(l(e)),t.__wbindgen_export_0,t.__wbindgen_export_1),o=w;n().setInt32(_+4,o,!0),n().setInt32(_+0,r,!0)}function $_(_,e){return g(new Error(f(_,e)))}function K_(_,e){return l(_)in l(e)}function G_(_){return Array.isArray(l(_))}function Y_(_){return typeof l(_)=="bigint"}function Q_(_){return!l(_)}function Z_(_){return typeof l(_)=="function"}function X_(_){return l(_)===null}function te(_){const e=l(_);return typeof e=="object"&&e!==null}function _e(_){return typeof l(_)=="string"}function ee(_){return l(_)===void 0}function re(_,e){return l(_)===l(e)}function oe(_,e){return l(_)==l(e)}function ne(){return g(t.memory)}function ie(_,e){const r=l(e),o=typeof r=="number"?r:void 0;n().setFloat64(_+8,k(o)?0:o,!0),n().setInt32(_+0,!k(o),!0)}function ae(_){return g(_)}function se(_){return g(l(_))}function de(_){s(_)}function ge(_){throw s(_)}function le(_,e){const r=l(e),o=typeof r=="string"?r:void 0;var a=k(o)?0:p(o,t.__wbindgen_export_0,t.__wbindgen_export_1),d=w;n().setInt32(_+4,d,!0),n().setInt32(_+0,a,!0)}function ce(_,e){return g(f(_,e))}function we(_,e){throw new Error(f(_,e))}function be(_){return g(typeof l(_))}gs=Object.freeze(Object.defineProperty({__proto__:null,AwarenessWasm:et,ChangeModifier:J,Cursor:F,EphemeralStoreWasm:class{__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,lt.unregister(this),_}free(){const _=this.__destroy_into_raw();t.__wbg_ephemeralstorewasm_free(_,0)}constructor(_){const e=t.ephemeralstorewasm_new(_);return this.__wbg_ptr=e>>>0,lt.register(this,this.__wbg_ptr,this),this}set(_,e){const r=p(_,t.__wbindgen_export_0,t.__wbindgen_export_1),o=w;t.ephemeralstorewasm_set(this.__wbg_ptr,r,o,g(e))}delete(_){const e=p(_,t.__wbindgen_export_0,t.__wbindgen_export_1),r=w;t.ephemeralstorewasm_delete(this.__wbg_ptr,e,r)}get(_){const e=p(_,t.__wbindgen_export_0,t.__wbindgen_export_1),r=w;return s(t.ephemeralstorewasm_get(this.__wbg_ptr,e,r))}getAllStates(){return s(t.ephemeralstorewasm_getAllStates(this.__wbg_ptr))}subscribeLocalUpdates(_){return s(t.ephemeralstorewasm_subscribeLocalUpdates(this.__wbg_ptr,g(_)))}subscribe(_){return s(t.ephemeralstorewasm_subscribe(this.__wbg_ptr,g(_)))}encode(_){try{const a=t.__wbindgen_add_to_stack_pointer(-16),d=p(_,t.__wbindgen_export_0,t.__wbindgen_export_1),c=w;t.ephemeralstorewasm_encode(a,this.__wbg_ptr,d,c);var e=n().getInt32(a+0,!0),r=n().getInt32(a+4,!0),o=A(e,r).slice();return t.__wbindgen_export_3(e,1*r,1),o}finally{t.__wbindgen_add_to_stack_pointer(16)}}encodeAll(){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.ephemeralstorewasm_encodeAll(o,this.__wbg_ptr);var _=n().getInt32(o+0,!0),e=n().getInt32(o+4,!0),r=A(_,e).slice();return t.__wbindgen_export_3(_,1*e,1),r}finally{t.__wbindgen_add_to_stack_pointer(16)}}apply(_){const e=D(_,t.__wbindgen_export_0),r=w;t.ephemeralstorewasm_apply(this.__wbg_ptr,e,r)}removeOutdated(){t.ephemeralstorewasm_removeOutdated(this.__wbg_ptr)}isEmpty(){return t.ephemeralstorewasm_isEmpty(this.__wbg_ptr)!==0}keys(){try{const o=t.__wbindgen_add_to_stack_pointer(-16);t.ephemeralstorewasm_keys(o,this.__wbg_ptr);var _=n().getInt32(o+0,!0),e=n().getInt32(o+4,!0),r=x(_,e).slice();return t.__wbindgen_export_3(_,4*e,4),r}finally{t.__wbindgen_add_to_stack_pointer(16)}}},LORO_VERSION:function(){let _,e;try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.LORO_VERSION(a);var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);return _=r,e=o,f(r,o)}finally{t.__wbindgen_add_to_stack_pointer(16),t.__wbindgen_export_3(_,e,1)}},LoroCounter:B,LoroDoc:L,LoroList:P,LoroMap:T,LoroMovableList:j,LoroText:U,LoroTree:z,LoroTreeNode:O,UndoManager:class{__destroy_into_raw(){const _=this.__wbg_ptr;return this.__wbg_ptr=0,wt.unregister(this),_}free(){const _=this.__destroy_into_raw();t.__wbg_undomanager_free(_,0)}constructor(_,e){V(_,L);const r=t.undomanager_new(_.__wbg_ptr,g(e));return this.__wbg_ptr=r>>>0,wt.register(this,this.__wbg_ptr,this),this}undo(){try{const r=t.__wbindgen_add_to_stack_pointer(-16);t.undomanager_undo(r,this.__wbg_ptr);var _=n().getInt32(r+0,!0),e=n().getInt32(r+4,!0);if(n().getInt32(r+8,!0))throw s(e);return _!==0}finally{t.__wbindgen_add_to_stack_pointer(16)}}redo(){try{const r=t.__wbindgen_add_to_stack_pointer(-16);t.undomanager_redo(r,this.__wbg_ptr);var _=n().getInt32(r+0,!0),e=n().getInt32(r+4,!0);if(n().getInt32(r+8,!0))throw s(e);return _!==0}finally{t.__wbindgen_add_to_stack_pointer(16)}}groupStart(){try{const e=t.__wbindgen_add_to_stack_pointer(-16);t.undomanager_groupStart(e,this.__wbg_ptr);var _=n().getInt32(e+0,!0);if(n().getInt32(e+4,!0))throw s(_)}finally{t.__wbindgen_add_to_stack_pointer(16)}}groupEnd(){t.undomanager_groupEnd(this.__wbg_ptr)}canUndo(){return t.undomanager_canUndo(this.__wbg_ptr)!==0}canRedo(){return t.undomanager_canRedo(this.__wbg_ptr)!==0}setMaxUndoSteps(_){t.undomanager_setMaxUndoSteps(this.__wbg_ptr,_)}setMergeInterval(_){t.undomanager_setMergeInterval(this.__wbg_ptr,_)}addExcludeOriginPrefix(_){const e=p(_,t.__wbindgen_export_0,t.__wbindgen_export_1),r=w;t.undomanager_addExcludeOriginPrefix(this.__wbg_ptr,e,r)}setOnPush(_){t.undomanager_setOnPush(this.__wbg_ptr,g(_))}setOnPop(_){t.undomanager_setOnPop(this.__wbg_ptr,g(_))}clear(){t.undomanager_clear(this.__wbg_ptr)}},VersionVector:S,__wbg_String_8f0eb39a4a4c2f66:bt,__wbg_apply_9bb7fe8fff013a3f:pt,__wbg_buffer_ef9774282e5dab94:ut,__wbg_call_0ad083564791763a:ft,__wbg_call_a34b6b4765f27be0:ht,__wbg_call_d00953b926be4879:mt,__wbg_call_efe5a4db7065d1a2:yt,__wbg_changemodifier_new:It,__wbg_crypto_ed58b8e10a292839:vt,__wbg_cursor_new:kt,__wbg_done_f4c254830a095eaf:xt,__wbg_entries_4dce6361e3ba6fbc:St,__wbg_entries_83beb641792ccb9c:Ct,__wbg_error_7534b8e9a36f1ab4:At,__wbg_error_9912f7d6d7835a4b:Ot,__wbg_from_3aa0fcaa8eef0104:Ft,__wbg_getRandomValues_bcb4912f16000dc4:Nt,__wbg_get_0c3cc364764a0b98:Dt,__wbg_get_b996a12be035ef4f:Lt,__wbg_getindex_a471648b3037c750:Tt,__wbg_getwithrefkey_1dc361bd10053bfe:Et,__wbg_globalThis_6b4d52a0b6aaeaea:Rt,__wbg_global_49324ce12193de77:Vt,__wbg_instanceof_ArrayBuffer_ff40e55b5978e215:Jt,__wbg_instanceof_Map_0f3f3653f757ced1:Ut,__wbg_instanceof_Object_9108547bac1f91b1:Mt,__wbg_instanceof_Uint8Array_db97368f94b1373f:Bt,__wbg_isArray_8738f1062fa88586:Pt,__wbg_isSafeInteger_a1b3e0811faecf2f:jt,__wbg_iterator_c0c688f37fa815e6:zt,__wbg_length_12246a78d2f65d3a:Wt,__wbg_length_c24da17096edfe57:qt,__wbg_log_0cc1b7768397bcfe:Ht,__wbg_log_0fd6c49475c7bece:$t,__wbg_log_cb9e190acc5753fb:Kt,__wbg_lorocounter_new:Gt,__wbg_lorolist_new:Yt,__wbg_loromap_new:Qt,__wbg_loromovablelist_new:Zt,__wbg_lorotext_new:Xt,__wbg_lorotree_new:t_,__wbg_lorotreenode_new:__,__wbg_mark_7438147ce31e9d4b:e_,__wbg_measure_fb7825c11612c823:r_,__wbg_msCrypto_0a36e2ec3a343d26:o_,__wbg_new_518e2184725aa711:n_,__wbg_new_59845962d1127937:i_,__wbg_new_67abf4a77618ee3e:a_,__wbg_new_8a6f238a6ece86ea:s_,__wbg_new_e2d07398d7689006:d_,__wbg_newnoargs_a136448eeb7d48ac:g_,__wbg_newwithbyteoffsetandlength_84908302a4c137cf:l_,__wbg_newwithlength_4c216eaaf23f2f9a:c_,__wbg_newwithlength_88b49de1eb24d63e:w_,__wbg_next_928df8c15fc0c9b0:b_,__wbg_next_9dc0926f351c7090:p_,__wbg_node_02999533c4ea02e3:u_,__wbg_now_439b66158bc4f246:f_,__wbg_ownKeys_b16312a839a4152c:h_,__wbg_process_5c1d670bc53614b8:m_,__wbg_push_e7d7247e69dad3ee:y_,__wbg_randomFillSync_ab2cfe79ebbf2740:I_,__wbg_require_79b1e9274cde3c87:v_,__wbg_resolve_267ff08e7e1d2ce4:k_,__wbg_self_cca3ca60d61220f4:x_,__wbg_set_1b50d2de855a9d50:S_,__wbg_set_393f510a6b7e9da5:C_,__wbg_set_3f1d0b984ed272ed:A_,__wbg_set_5deee49b10b2b780:O_,__wbg_set_93ba9407b5476ec6:F_,__wbg_set_wasm:ot,__wbg_setindex_e0b7b31bfc87ba3f:N_,__wbg_stack_0ed75d68575b0f3c:D_,__wbg_subarray_2dc34705c0dc7cdb:L_,__wbg_then_84907e7a6730461e:T_,__wbg_value_51f8a88d4a1805fb:E_,__wbg_versions_c71aa1626a93e0a1:R_,__wbg_versionvector_new:V_,__wbg_window_2aba046d3fc4ad7c:J_,__wbindgen_as_number:U_,__wbindgen_bigint_from_i64:M_,__wbindgen_bigint_from_u64:B_,__wbindgen_bigint_get_as_i64:P_,__wbindgen_boolean_get:j_,__wbindgen_cb_drop:z_,__wbindgen_closure_wrapper563:W_,__wbindgen_closure_wrapper566:q_,__wbindgen_debug_string:H_,__wbindgen_error_new:$_,__wbindgen_in:K_,__wbindgen_is_array:G_,__wbindgen_is_bigint:Y_,__wbindgen_is_falsy:Q_,__wbindgen_is_function:Z_,__wbindgen_is_null:X_,__wbindgen_is_object:te,__wbindgen_is_string:_e,__wbindgen_is_undefined:ee,__wbindgen_jsval_eq:re,__wbindgen_jsval_loose_eq:oe,__wbindgen_memory:ne,__wbindgen_number_get:ie,__wbindgen_number_new:ae,__wbindgen_object_clone_ref:se,__wbindgen_object_drop_ref:de,__wbindgen_rethrow:ge,__wbindgen_string_get:le,__wbindgen_string_new:ce,__wbindgen_throw:we,__wbindgen_typeof:be,decodeFrontiers:function(_){try{const o=t.__wbindgen_add_to_stack_pointer(-16),a=D(_,t.__wbindgen_export_0),d=w;t.decodeFrontiers(o,a,d);var e=n().getInt32(o+0,!0),r=n().getInt32(o+4,!0);if(n().getInt32(o+8,!0))throw s(r);return s(e)}finally{t.__wbindgen_add_to_stack_pointer(16)}},decodeImportBlobMeta:function(_,e){try{const a=t.__wbindgen_add_to_stack_pointer(-16),d=D(_,t.__wbindgen_export_0),c=w;t.decodeImportBlobMeta(a,d,c,e);var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);if(n().getInt32(a+8,!0))throw s(o);return s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}},encodeFrontiers:function(_){try{const d=t.__wbindgen_add_to_stack_pointer(-16),c=v(_,t.__wbindgen_export_0),b=w;t.encodeFrontiers(d,c,b);var e=n().getInt32(d+0,!0),r=n().getInt32(d+4,!0),o=n().getInt32(d+8,!0);if(n().getInt32(d+12,!0))throw s(o);var a=A(e,r).slice();return t.__wbindgen_export_3(e,1*r,1),a}finally{t.__wbindgen_add_to_stack_pointer(16)}},redactJsonUpdates:function(_,e){try{const a=t.__wbindgen_add_to_stack_pointer(-16);t.redactJsonUpdates(a,g(_),g(e));var r=n().getInt32(a+0,!0),o=n().getInt32(a+4,!0);if(n().getInt32(a+8,!0))throw s(o);return s(r)}finally{t.__wbindgen_add_to_stack_pointer(16)}},run:function(){t.run()},setDebug:function(){t.setDebug()}},Symbol.toStringTag,{value:"Module"})),URL=globalThis.URL;let i,pe,ue,fe,he,me,ye,Ie,ve,ke,xe,Se,Ce,Ae,Oe,Fe,Ne,De,Le,Te,Ee,Re,Ve,Je,Ue,Me,Be,Pe,je,ze,We,qe,He,$e,Ke,Ge,Ye,Qe,Ze,Xe,tr,_r,er,rr,or,nr,ir,ar,sr,dr,gr,lr,cr,wr,br,pr,ur,fr,hr,mr,yr,Ir,vr,kr,xr,Sr,Cr,Ar,Or,Fr,Nr,Dr,Lr,Tr,Er,Rr,Vr,Jr,Ur,Mr,Br,Pr,jr,zr,Wr,qr,Hr,$r,Kr,Gr,Yr,Qr,Zr,Xr,to,_o,eo,ro,oo,no,io,ao,so,go,lo,co,wo,bo,po,uo,fo,ho,mo,yo,Io,vo,ko,xo,So,Co,Ao,Oo,Fo,No,Do,Lo,To,Eo,Ro,Vo,Jo,Uo,Mo,Bo,Po,jo,zo,Wo,qo,Ho,$o,Ko,Go,Yo,Qo,Zo,Xo,tn,_n,en,rn,on,nn,an,sn,dn,gn,ln,cn,wn,bn,pn,un,fn,hn,mn,yn,In,vn,kn,xn,Sn,Cn,An,On,Fn,Nn,Dn,Ln,Tn,En,Rn,Vn,Jn,Un,Mn,Bn,Pn,jn,zn,Wn,qn,Hn,$n,Kn,Gn,Yn,Qn,Zn,Xn,ti,_i,ei,ri,oi,ni,ii,ai,si,di,gi,li,ci,wi,bi,pi,ui,fi,hi,mi,yi,Ii,vi,ki,xi,Si,Ci,Ai,Oi,Fi,Ni,Di,Li,Ti,Ei,Ri,Vi,Ji,Ui,Mi,Bi,Pi,ji,zi,Wi,qi,Hi,$i,Ki,Gi,Yi,Qi,Zi,Xi,ta,_a,ea,ra,oa,na,ia,aa,sa,da,ga,la,ca,wa,ba,pa,ua,fa,ha,ma,ya,Ia,va,ka,xa,Sa,Ca,Aa,Oa,Fa,Na,Da,La,Ta,Ea,Ra,Va,Ja,Ua,Ma,Ba,Pa,ja,za,Wa,qa,Ha,$a,Ka,Ga,Ya,Qa,Za,Xa,ts,_s,es,rs,os,ns,is,as,ss,ds;i=await(async(_={},e)=>{let r;if(e.startsWith("data:")){const o=e.replace(/^data:.*?base64,/,"");let a;if(typeof Buffer=="function"&&typeof Buffer.from=="function")a=Buffer.from(o,"base64");else{if(typeof atob!="function")throw new Error("Cannot decode base64-encoded data URL");{const d=atob(o);a=new Uint8Array(d.length);for(let c=0;c<d.length;c++)a[c]=d.charCodeAt(c)}}r=await WebAssembly.instantiate(a,_)}else{const o=await fetch(e),a=o.headers.get("Content-Type")||"";if("instantiateStreaming"in WebAssembly&&a.startsWith("application/wasm"))r=await WebAssembly.instantiateStreaming(o,_);else{const d=await o.arrayBuffer();r=await WebAssembly.instantiate(d,_)}}return r.instance.exports})({"./loro_wasm_bg.js":{__wbindgen_object_drop_ref:de,__wbg_lorocounter_new:Gt,__wbg_cursor_new:kt,__wbg_lorotext_new:Xt,__wbg_loromovablelist_new:Zt,__wbg_lorotreenode_new:__,__wbg_lorotree_new:t_,__wbg_lorolist_new:Yt,__wbg_loromap_new:Qt,__wbg_versionvector_new:V_,__wbg_changemodifier_new:It,__wbindgen_is_function:Z_,__wbindgen_string_new:ce,__wbindgen_boolean_get:j_,__wbindgen_error_new:$_,__wbindgen_object_clone_ref:se,__wbindgen_string_get:le,__wbindgen_is_undefined:ee,__wbindgen_in:K_,__wbindgen_is_bigint:Y_,__wbindgen_number_get:ie,__wbindgen_bigint_from_i64:M_,__wbindgen_jsval_eq:re,__wbindgen_is_object:te,__wbindgen_bigint_from_u64:B_,__wbindgen_cb_drop:z_,__wbindgen_as_number:U_,__wbindgen_is_string:_e,__wbindgen_is_null:X_,__wbindgen_number_new:ae,__wbindgen_is_array:G_,__wbindgen_typeof:be,__wbg_error_9912f7d6d7835a4b:Ot,__wbg_log_0fd6c49475c7bece:$t,__wbindgen_is_falsy:Q_,__wbg_log_cb9e190acc5753fb:Kt,__wbg_log_0cc1b7768397bcfe:Ht,__wbg_mark_7438147ce31e9d4b:e_,__wbg_measure_fb7825c11612c823:r_,__wbg_new_8a6f238a6ece86ea:s_,__wbg_stack_0ed75d68575b0f3c:D_,__wbg_error_7534b8e9a36f1ab4:At,__wbindgen_jsval_loose_eq:oe,__wbg_String_8f0eb39a4a4c2f66:bt,__wbg_getwithrefkey_1dc361bd10053bfe:Et,__wbg_set_3f1d0b984ed272ed:A_,__wbg_now_439b66158bc4f246:f_,__wbg_crypto_ed58b8e10a292839:vt,__wbg_process_5c1d670bc53614b8:m_,__wbg_versions_c71aa1626a93e0a1:R_,__wbg_node_02999533c4ea02e3:u_,__wbg_require_79b1e9274cde3c87:v_,__wbg_msCrypto_0a36e2ec3a343d26:o_,__wbg_randomFillSync_ab2cfe79ebbf2740:I_,__wbg_getRandomValues_bcb4912f16000dc4:Nt,__wbg_self_cca3ca60d61220f4:x_,__wbg_window_2aba046d3fc4ad7c:J_,__wbg_globalThis_6b4d52a0b6aaeaea:Rt,__wbg_global_49324ce12193de77:Vt,__wbg_newnoargs_a136448eeb7d48ac:g_,__wbg_call_0ad083564791763a:ft,__wbg_get_0c3cc364764a0b98:Dt,__wbg_length_12246a78d2f65d3a:Wt,__wbg_new_e2d07398d7689006:d_,__wbg_new_518e2184725aa711:n_,__wbg_next_928df8c15fc0c9b0:b_,__wbg_next_9dc0926f351c7090:p_,__wbg_done_f4c254830a095eaf:xt,__wbg_value_51f8a88d4a1805fb:E_,__wbg_iterator_c0c688f37fa815e6:zt,__wbg_get_b996a12be035ef4f:Lt,__wbg_new_67abf4a77618ee3e:a_,__wbg_newwithlength_88b49de1eb24d63e:w_,__wbg_set_93ba9407b5476ec6:F_,__wbg_from_3aa0fcaa8eef0104:Ft,__wbg_isArray_8738f1062fa88586:Pt,__wbg_push_e7d7247e69dad3ee:y_,__wbg_instanceof_ArrayBuffer_ff40e55b5978e215:Jt,__wbg_call_a34b6b4765f27be0:ht,__wbg_call_efe5a4db7065d1a2:yt,__wbg_call_d00953b926be4879:mt,__wbg_instanceof_Map_0f3f3653f757ced1:Ut,__wbg_set_393f510a6b7e9da5:C_,__wbg_entries_4dce6361e3ba6fbc:St,__wbg_isSafeInteger_a1b3e0811faecf2f:jt,__wbg_instanceof_Object_9108547bac1f91b1:Mt,__wbg_entries_83beb641792ccb9c:Ct,__wbg_apply_9bb7fe8fff013a3f:pt,__wbg_ownKeys_b16312a839a4152c:h_,__wbg_set_1b50d2de855a9d50:S_,__wbg_buffer_ef9774282e5dab94:ut,__wbg_resolve_267ff08e7e1d2ce4:k_,__wbg_then_84907e7a6730461e:T_,__wbg_newwithbyteoffsetandlength_84908302a4c137cf:l_,__wbg_new_59845962d1127937:i_,__wbg_set_5deee49b10b2b780:O_,__wbg_length_c24da17096edfe57:qt,__wbg_instanceof_Uint8Array_db97368f94b1373f:Bt,__wbg_newwithlength_4c216eaaf23f2f9a:c_,__wbg_subarray_2dc34705c0dc7cdb:L_,__wbg_getindex_a471648b3037c750:Tt,__wbg_setindex_e0b7b31bfc87ba3f:N_,__wbindgen_bigint_get_as_i64:P_,__wbindgen_debug_string:H_,__wbindgen_throw:we,__wbindgen_rethrow:ge,__wbindgen_memory:ne,__wbindgen_closure_wrapper563:W_,__wbindgen_closure_wrapper566:q_}},cs),pe=i.memory,ue=i.__wbg_lorocounter_free,fe=i.lorocounter_new,he=i.lorocounter_kind,me=i.lorocounter_id,ye=i.lorocounter_increment,Ie=i.lorocounter_decrement,ve=i.lorocounter_value,ke=i.lorocounter_subscribe,xe=i.lorocounter_parent,Se=i.lorocounter_isAttached,Ce=i.lorocounter_getAttached,Ae=i.lorocounter_getShallowValue,Oe=i.__wbg_awarenesswasm_free,Fe=i.awarenesswasm_new,Ne=i.awarenesswasm_encode,De=i.awarenesswasm_encodeAll,Le=i.awarenesswasm_apply,Te=i.awarenesswasm_setLocalState,Ee=i.awarenesswasm_peer,Re=i.awarenesswasm_getAllStates,Ve=i.awarenesswasm_getState,Je=i.awarenesswasm_getTimestamp,Ue=i.awarenesswasm_removeOutdated,Me=i.awarenesswasm_length,Be=i.awarenesswasm_isEmpty,Pe=i.awarenesswasm_peers,je=i.__wbg_ephemeralstorewasm_free,ze=i.ephemeralstorewasm_new,We=i.ephemeralstorewasm_set,qe=i.ephemeralstorewasm_delete,He=i.ephemeralstorewasm_get,$e=i.ephemeralstorewasm_getAllStates,Ke=i.ephemeralstorewasm_subscribeLocalUpdates,Ge=i.ephemeralstorewasm_subscribe,Ye=i.ephemeralstorewasm_encode,Qe=i.ephemeralstorewasm_encodeAll,Ze=i.ephemeralstorewasm_apply,Xe=i.ephemeralstorewasm_removeOutdated,tr=i.ephemeralstorewasm_isEmpty,_r=i.ephemeralstorewasm_keys,er=i.LORO_VERSION,rr=i.run,or=i.encodeFrontiers,nr=i.decodeFrontiers,ir=i.setDebug,ar=i.__wbg_lorodoc_free,sr=i.lorodoc_new,dr=i.lorodoc_setDetachedEditing,gr=i.lorodoc_isDetachedEditingEnabled,lr=i.lorodoc_setRecordTimestamp,cr=i.lorodoc_setChangeMergeInterval,wr=i.lorodoc_configTextStyle,br=i.lorodoc_configDefaultTextStyle,pr=i.lorodoc_fromSnapshot,ur=i.lorodoc_attach,fr=i.lorodoc_isDetached,hr=i.lorodoc_detach,mr=i.lorodoc_fork,yr=i.lorodoc_forkAt,Ir=i.lorodoc_checkoutToLatest,vr=i.lorodoc_travelChangeAncestors,kr=i.lorodoc_findIdSpansBetween,xr=i.lorodoc_checkout,Sr=i.lorodoc_peerId,Cr=i.lorodoc_peerIdStr,Ar=i.lorodoc_setPeerId,Or=i.lorodoc_commit,Fr=i.lorodoc_getPendingTxnLength,Nr=i.lorodoc_getText,Dr=i.lorodoc_getMap,Lr=i.lorodoc_getList,Tr=i.lorodoc_getMovableList,Er=i.lorodoc_getCounter,Rr=i.lorodoc_getTree,Vr=i.lorodoc_hasContainer,Jr=i.lorodoc_getContainerById,Ur=i.lorodoc_setNextCommitMessage,Mr=i.lorodoc_setNextCommitOrigin,Br=i.lorodoc_setNextCommitTimestamp,Pr=i.lorodoc_setNextCommitOptions,jr=i.lorodoc_clearNextCommitOptions,zr=i.lorodoc_getDeepValueWithID,Wr=i.lorodoc_getPathToContainer,qr=i.lorodoc_JSONPath,Hr=i.lorodoc_version,$r=i.lorodoc_shallowSinceVV,Kr=i.lorodoc_isShallow,Gr=i.lorodoc_shallowSinceFrontiers,Yr=i.lorodoc_oplogVersion,Qr=i.lorodoc_frontiers,Zr=i.lorodoc_oplogFrontiers,Xr=i.lorodoc_cmpWithFrontiers,to=i.lorodoc_cmpFrontiers,_o=i.lorodoc_exportSnapshot,eo=i.lorodoc_exportFrom,ro=i.lorodoc_export,oo=i.lorodoc_exportJsonUpdates,no=i.lorodoc_exportJsonInIdSpan,io=i.lorodoc_importJsonUpdates,ao=i.lorodoc_import,so=i.lorodoc_importBatch,go=i.lorodoc_getShallowValue,lo=i.lorodoc_toJSON,co=i.lorodoc_subscribe,wo=i.lorodoc_subscribeLocalUpdates,bo=i.lorodoc_debugHistory,po=i.lorodoc_changeCount,uo=i.lorodoc_opCount,fo=i.lorodoc_getAllChanges,ho=i.lorodoc_getChangeAt,mo=i.lorodoc_getChangeAtLamport,yo=i.lorodoc_getOpsInChange,Io=i.lorodoc_frontiersToVV,vo=i.lorodoc_vvToFrontiers,ko=i.lorodoc_getByPath,xo=i.lorodoc_getCursorPos,So=i.lorodoc_getChangedContainersIn,Co=i.lorodoc_revertTo,Ao=i.lorodoc_applyDiff,Oo=i.lorodoc_diff,Fo=i.lorodoc_getUncommittedOpsAsJson,No=i.lorodoc_subscribeFirstCommitFromPeer,Do=i.lorodoc_subscribePreCommit,Lo=i.lorodoc_deleteRootContainer,To=i.lorodoc_setHideEmptyRootContainers,Eo=i.__wbg_lorotext_free,Ro=i.lorotext_new,Vo=i.lorotext_kind,Jo=i.lorotext_iter,Uo=i.lorotext_update,Mo=i.lorotext_updateByLine,Bo=i.lorotext_insert,Po=i.lorotext_slice,jo=i.lorotext_charAt,zo=i.lorotext_splice,Wo=i.lorotext_insertUtf8,qo=i.lorotext_delete,Ho=i.lorotext_deleteUtf8,$o=i.lorotext_mark,Ko=i.lorotext_unmark,Go=i.lorotext_toString,Yo=i.lorotext_toDelta,Qo=i.lorotext_id,Zo=i.lorotext_length,Xo=i.lorotext_subscribe,tn=i.lorotext_applyDelta,_n=i.lorotext_parent,en=i.lorotext_isAttached,rn=i.lorotext_getAttached,on=i.lorotext_getCursor,nn=i.lorotext_push,an=i.lorotext_getEditorOf,sn=i.lorotext_isDeleted,dn=i.lorotext_getShallowValue,gn=i.lorotext_toJSON,ln=i.__wbg_loromap_free,cn=i.loromap_new,wn=i.loromap_kind,bn=i.loromap_set,pn=i.loromap_delete,un=i.loromap_get,fn=i.loromap_getOrCreateContainer,hn=i.loromap_keys,mn=i.loromap_values,yn=i.loromap_entries,In=i.loromap_id,vn=i.loromap_toJSON,kn=i.loromap_setContainer,xn=i.loromap_subscribe,Sn=i.loromap_size,Cn=i.loromap_parent,An=i.loromap_isAttached,On=i.loromap_getAttached,Fn=i.loromap_clear,Nn=i.loromap_getLastEditor,Dn=i.loromap_isDeleted,Ln=i.loromap_getShallowValue,Tn=i.__wbg_lorolist_free,En=i.lorolist_new,Rn=i.lorolist_kind,Vn=i.lorolist_insert,Jn=i.lorolist_delete,Un=i.lorolist_get,Mn=i.lorolist_id,Bn=i.lorolist_toArray,Pn=i.lorolist_toJSON,jn=i.lorolist_insertContainer,zn=i.lorolist_pushContainer,Wn=i.lorolist_subscribe,qn=i.lorolist_length,Hn=i.lorolist_parent,$n=i.lorolist_isAttached,Kn=i.lorolist_getAttached,Gn=i.lorolist_getCursor,Yn=i.lorolist_push,Qn=i.lorolist_pop,Zn=i.lorolist_clear,Xn=i.lorolist_getIdAt,ti=i.lorolist_isDeleted,_i=i.lorolist_getShallowValue,ei=i.loromovablelist_new,ri=i.loromovablelist_kind,oi=i.loromovablelist_insert,ni=i.loromovablelist_delete,ii=i.loromovablelist_get,ai=i.loromovablelist_id,si=i.loromovablelist_toArray,di=i.loromovablelist_toJSON,gi=i.loromovablelist_insertContainer,li=i.loromovablelist_pushContainer,ci=i.loromovablelist_subscribe,wi=i.loromovablelist_length,bi=i.loromovablelist_parent,pi=i.loromovablelist_isAttached,ui=i.loromovablelist_getAttached,fi=i.loromovablelist_getCursor,hi=i.loromovablelist_move,mi=i.loromovablelist_set,yi=i.loromovablelist_setContainer,Ii=i.loromovablelist_push,vi=i.loromovablelist_pop,ki=i.loromovablelist_clear,xi=i.loromovablelist_getCreatorAt,Si=i.loromovablelist_getLastMoverAt,Ci=i.loromovablelist_getLastEditorAt,Ai=i.loromovablelist_isDeleted,Oi=i.loromovablelist_getShallowValue,Fi=i.__wbg_lorotree_free,Ni=i.lorotreenode___getClassname,Di=i.__wbg_lorotreenode_free,Li=i.lorotreenode_id,Ti=i.lorotreenode_createNode,Ei=i.lorotreenode_move,Ri=i.lorotreenode_moveAfter,Vi=i.lorotreenode_moveBefore,Ji=i.lorotreenode_index,Ui=i.lorotreenode_fractionalIndex,Mi=i.lorotreenode_data,Bi=i.lorotreenode_toJSON,Pi=i.lorotreenode_parent,ji=i.lorotreenode_children,zi=i.lorotreenode_isDeleted,Wi=i.lorotreenode_getLastMoveId,qi=i.lorotreenode_creationId,Hi=i.lorotreenode_creator,$i=i.lorotree_new,Ki=i.lorotree_kind,Gi=i.lorotree_createNode,Yi=i.lorotree_move,Qi=i.lorotree_delete,Zi=i.lorotree_getNodeByID,Xi=i.lorotree_id,ta=i.lorotree_has,_a=i.lorotree_isNodeDeleted,ea=i.lorotree_toArray,ra=i.lorotree_getNodes,oa=i.lorotree_toJSON,na=i.lorotree_nodes,ia=i.lorotree_roots,aa=i.lorotree_subscribe,sa=i.lorotree_parent,da=i.lorotree_isAttached,ga=i.lorotree_getAttached,la=i.lorotree_enableFractionalIndex,ca=i.lorotree_disableFractionalIndex,wa=i.lorotree_isFractionalIndexEnabled,ba=i.lorotree_isDeleted,pa=i.lorotree_getShallowValue,ua=i.__wbg_cursor_free,fa=i.cursor_containerId,ha=i.cursor_pos,ma=i.cursor_side,ya=i.cursor_encode,Ia=i.cursor_decode,va=i.cursor_kind,ka=i.__wbg_undomanager_free,xa=i.undomanager_new,Sa=i.undomanager_undo,Ca=i.undomanager_redo,Aa=i.undomanager_groupStart,Oa=i.undomanager_groupEnd,Fa=i.undomanager_canUndo,Na=i.undomanager_canRedo,Da=i.undomanager_setMaxUndoSteps,La=i.undomanager_setMergeInterval,Ta=i.undomanager_addExcludeOriginPrefix,Ea=i.undomanager_setOnPush,Ra=i.undomanager_setOnPop,Va=i.undomanager_clear,Ja=i.__wbg_versionvector_free,Ua=i.versionvector_new,Ma=i.versionvector_parseJSON,Ba=i.versionvector_toJSON,Pa=i.versionvector_encode,ja=i.versionvector_decode,za=i.versionvector_get,Wa=i.versionvector_compare,qa=i.versionvector_setEnd,Ha=i.versionvector_setLast,$a=i.versionvector_remove,Ka=i.versionvector_length,Ga=i.decodeImportBlobMeta,Ya=i.__wbg_changemodifier_free,Qa=i.changemodifier_setMessage,Za=i.changemodifier_setTimestamp,Xa=i.redactJsonUpdates,ts=i.lorodoc_importUpdateBatch,_s=i.__wbg_loromovablelist_free,es=i.__wbindgen_export_0,rs=i.__wbindgen_export_1,os=i.__wbindgen_export_2,ns=i.__wbindgen_export_3,is=i.__wbindgen_export_4,as=i.__wbindgen_add_to_stack_pointer,ss=i.__wbindgen_export_5,ds=i.__wbindgen_export_6,rt=i.__wbindgen_start,ls=Object.freeze(Object.defineProperty({__proto__:null,LORO_VERSION:er,__wbg_awarenesswasm_free:Oe,__wbg_changemodifier_free:Ya,__wbg_cursor_free:ua,__wbg_ephemeralstorewasm_free:je,__wbg_lorocounter_free:ue,__wbg_lorodoc_free:ar,__wbg_lorolist_free:Tn,__wbg_loromap_free:ln,__wbg_loromovablelist_free:_s,__wbg_lorotext_free:Eo,__wbg_lorotree_free:Fi,__wbg_lorotreenode_free:Di,__wbg_undomanager_free:ka,__wbg_versionvector_free:Ja,__wbindgen_add_to_stack_pointer:as,__wbindgen_export_0:es,__wbindgen_export_1:rs,__wbindgen_export_2:os,__wbindgen_export_3:ns,__wbindgen_export_4:is,__wbindgen_export_5:ss,__wbindgen_export_6:ds,__wbindgen_start:rt,awarenesswasm_apply:Le,awarenesswasm_encode:Ne,awarenesswasm_encodeAll:De,awarenesswasm_getAllStates:Re,awarenesswasm_getState:Ve,awarenesswasm_getTimestamp:Je,awarenesswasm_isEmpty:Be,awarenesswasm_length:Me,awarenesswasm_new:Fe,awarenesswasm_peer:Ee,awarenesswasm_peers:Pe,awarenesswasm_removeOutdated:Ue,awarenesswasm_setLocalState:Te,changemodifier_setMessage:Qa,changemodifier_setTimestamp:Za,cursor_containerId:fa,cursor_decode:Ia,cursor_encode:ya,cursor_kind:va,cursor_pos:ha,cursor_side:ma,decodeFrontiers:nr,decodeImportBlobMeta:Ga,encodeFrontiers:or,ephemeralstorewasm_apply:Ze,ephemeralstorewasm_delete:qe,ephemeralstorewasm_encode:Ye,ephemeralstorewasm_encodeAll:Qe,ephemeralstorewasm_get:He,ephemeralstorewasm_getAllStates:$e,ephemeralstorewasm_isEmpty:tr,ephemeralstorewasm_keys:_r,ephemeralstorewasm_new:ze,ephemeralstorewasm_removeOutdated:Xe,ephemeralstorewasm_set:We,ephemeralstorewasm_subscribe:Ge,ephemeralstorewasm_subscribeLocalUpdates:Ke,lorocounter_decrement:Ie,lorocounter_getAttached:Ce,lorocounter_getShallowValue:Ae,lorocounter_id:me,lorocounter_increment:ye,lorocounter_isAttached:Se,lorocounter_kind:he,lorocounter_new:fe,lorocounter_parent:xe,lorocounter_subscribe:ke,lorocounter_value:ve,lorodoc_JSONPath:qr,lorodoc_applyDiff:Ao,lorodoc_attach:ur,lorodoc_changeCount:po,lorodoc_checkout:xr,lorodoc_checkoutToLatest:Ir,lorodoc_clearNextCommitOptions:jr,lorodoc_cmpFrontiers:to,lorodoc_cmpWithFrontiers:Xr,lorodoc_commit:Or,lorodoc_configDefaultTextStyle:br,lorodoc_configTextStyle:wr,lorodoc_debugHistory:bo,lorodoc_deleteRootContainer:Lo,lorodoc_detach:hr,lorodoc_diff:Oo,lorodoc_export:ro,lorodoc_exportFrom:eo,lorodoc_exportJsonInIdSpan:no,lorodoc_exportJsonUpdates:oo,lorodoc_exportSnapshot:_o,lorodoc_findIdSpansBetween:kr,lorodoc_fork:mr,lorodoc_forkAt:yr,lorodoc_fromSnapshot:pr,lorodoc_frontiers:Qr,lorodoc_frontiersToVV:Io,lorodoc_getAllChanges:fo,lorodoc_getByPath:ko,lorodoc_getChangeAt:ho,lorodoc_getChangeAtLamport:mo,lorodoc_getChangedContainersIn:So,lorodoc_getContainerById:Jr,lorodoc_getCounter:Er,lorodoc_getCursorPos:xo,lorodoc_getDeepValueWithID:zr,lorodoc_getList:Lr,lorodoc_getMap:Dr,lorodoc_getMovableList:Tr,lorodoc_getOpsInChange:yo,lorodoc_getPathToContainer:Wr,lorodoc_getPendingTxnLength:Fr,lorodoc_getShallowValue:go,lorodoc_getText:Nr,lorodoc_getTree:Rr,lorodoc_getUncommittedOpsAsJson:Fo,lorodoc_hasContainer:Vr,lorodoc_import:ao,lorodoc_importBatch:so,lorodoc_importJsonUpdates:io,lorodoc_importUpdateBatch:ts,lorodoc_isDetached:fr,lorodoc_isDetachedEditingEnabled:gr,lorodoc_isShallow:Kr,lorodoc_new:sr,lorodoc_opCount:uo,lorodoc_oplogFrontiers:Zr,lorodoc_oplogVersion:Yr,lorodoc_peerId:Sr,lorodoc_peerIdStr:Cr,lorodoc_revertTo:Co,lorodoc_setChangeMergeInterval:cr,lorodoc_setDetachedEditing:dr,lorodoc_setHideEmptyRootContainers:To,lorodoc_setNextCommitMessage:Ur,lorodoc_setNextCommitOptions:Pr,lorodoc_setNextCommitOrigin:Mr,lorodoc_setNextCommitTimestamp:Br,lorodoc_setPeerId:Ar,lorodoc_setRecordTimestamp:lr,lorodoc_shallowSinceFrontiers:Gr,lorodoc_shallowSinceVV:$r,lorodoc_subscribe:co,lorodoc_subscribeFirstCommitFromPeer:No,lorodoc_subscribeLocalUpdates:wo,lorodoc_subscribePreCommit:Do,lorodoc_toJSON:lo,lorodoc_travelChangeAncestors:vr,lorodoc_version:Hr,lorodoc_vvToFrontiers:vo,lorolist_clear:Zn,lorolist_delete:Jn,lorolist_get:Un,lorolist_getAttached:Kn,lorolist_getCursor:Gn,lorolist_getIdAt:Xn,lorolist_getShallowValue:_i,lorolist_id:Mn,lorolist_insert:Vn,lorolist_insertContainer:jn,lorolist_isAttached:$n,lorolist_isDeleted:ti,lorolist_kind:Rn,lorolist_length:qn,lorolist_new:En,lorolist_parent:Hn,lorolist_pop:Qn,lorolist_push:Yn,lorolist_pushContainer:zn,lorolist_subscribe:Wn,lorolist_toArray:Bn,lorolist_toJSON:Pn,loromap_clear:Fn,loromap_delete:pn,loromap_entries:yn,loromap_get:un,loromap_getAttached:On,loromap_getLastEditor:Nn,loromap_getOrCreateContainer:fn,loromap_getShallowValue:Ln,loromap_id:In,loromap_isAttached:An,loromap_isDeleted:Dn,loromap_keys:hn,loromap_kind:wn,loromap_new:cn,loromap_parent:Cn,loromap_set:bn,loromap_setContainer:kn,loromap_size:Sn,loromap_subscribe:xn,loromap_toJSON:vn,loromap_values:mn,loromovablelist_clear:ki,loromovablelist_delete:ni,loromovablelist_get:ii,loromovablelist_getAttached:ui,loromovablelist_getCreatorAt:xi,loromovablelist_getCursor:fi,loromovablelist_getLastEditorAt:Ci,loromovablelist_getLastMoverAt:Si,loromovablelist_getShallowValue:Oi,loromovablelist_id:ai,loromovablelist_insert:oi,loromovablelist_insertContainer:gi,loromovablelist_isAttached:pi,loromovablelist_isDeleted:Ai,loromovablelist_kind:ri,loromovablelist_length:wi,loromovablelist_move:hi,loromovablelist_new:ei,loromovablelist_parent:bi,loromovablelist_pop:vi,loromovablelist_push:Ii,loromovablelist_pushContainer:li,loromovablelist_set:mi,loromovablelist_setContainer:yi,loromovablelist_subscribe:ci,loromovablelist_toArray:si,loromovablelist_toJSON:di,lorotext_applyDelta:tn,lorotext_charAt:jo,lorotext_delete:qo,lorotext_deleteUtf8:Ho,lorotext_getAttached:rn,lorotext_getCursor:on,lorotext_getEditorOf:an,lorotext_getShallowValue:dn,lorotext_id:Qo,lorotext_insert:Bo,lorotext_insertUtf8:Wo,lorotext_isAttached:en,lorotext_isDeleted:sn,lorotext_iter:Jo,lorotext_kind:Vo,lorotext_length:Zo,lorotext_mark:$o,lorotext_new:Ro,lorotext_parent:_n,lorotext_push:nn,lorotext_slice:Po,lorotext_splice:zo,lorotext_subscribe:Xo,lorotext_toDelta:Yo,lorotext_toJSON:gn,lorotext_toString:Go,lorotext_unmark:Ko,lorotext_update:Uo,lorotext_updateByLine:Mo,lorotree_createNode:Gi,lorotree_delete:Qi,lorotree_disableFractionalIndex:ca,lorotree_enableFractionalIndex:la,lorotree_getAttached:ga,lorotree_getNodeByID:Zi,lorotree_getNodes:ra,lorotree_getShallowValue:pa,lorotree_has:ta,lorotree_id:Xi,lorotree_isAttached:da,lorotree_isDeleted:ba,lorotree_isFractionalIndexEnabled:wa,lorotree_isNodeDeleted:_a,lorotree_kind:Ki,lorotree_move:Yi,lorotree_new:$i,lorotree_nodes:na,lorotree_parent:sa,lorotree_roots:ia,lorotree_subscribe:aa,lorotree_toArray:ea,lorotree_toJSON:oa,lorotreenode___getClassname:Ni,lorotreenode_children:ji,lorotreenode_createNode:Ti,lorotreenode_creationId:qi,lorotreenode_creator:Hi,lorotreenode_data:Mi,lorotreenode_fractionalIndex:Ui,lorotreenode_getLastMoveId:Wi,lorotreenode_id:Li,lorotreenode_index:Ji,lorotreenode_isDeleted:zi,lorotreenode_move:Ei,lorotreenode_moveAfter:Ri,lorotreenode_moveBefore:Vi,lorotreenode_parent:Pi,lorotreenode_toJSON:Bi,memory:pe,redactJsonUpdates:Xa,run:rr,setDebug:ir,undomanager_addExcludeOriginPrefix:Ta,undomanager_canRedo:Na,undomanager_canUndo:Fa,undomanager_clear:Va,undomanager_groupEnd:Oa,undomanager_groupStart:Aa,undomanager_new:xa,undomanager_redo:Ca,undomanager_setMaxUndoSteps:Da,undomanager_setMergeInterval:La,undomanager_setOnPop:Ra,undomanager_setOnPush:Ea,undomanager_undo:Sa,versionvector_compare:Wa,versionvector_decode:ja,versionvector_encode:Pa,versionvector_get:za,versionvector_length:Ka,versionvector_new:Ua,versionvector_parseJSON:Ma,versionvector_remove:$a,versionvector_setEnd:qa,versionvector_setLast:Ha,versionvector_toJSON:Ba},Symbol.toStringTag,{value:"Module"}))})();export{et as A,F as C,L,rt as _,hs as __tla,ot as a,U as b,T as c,gs as i,ls as w};
|